Imported GNU Classpath 0.90
[official-gcc.git] / libjava / classpath / ChangeLog
blobf9b56b96f0df6d70ccc4129999d9417b16e6a9b4
1 2006-03-06  Mark Wielaard  <mark@klomp.org>
3         * configure.ac: Set version to 0.90.
4         * NEWS: Fix typos.
6 2006-03-06  Mark Wielaard  <mark@klomp.org>
8         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
9         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
10         (isnan): Define explicitly isnan if it is not a macro.
12 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
14         * javax/swing/text/GapContent.java:
15         (insertString): Throw exception when argument is below
16         zero.
18 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
20         * javax/swing/text/PlainDocument.java:
21         (insertUpdate): Extended if-expression, added
22         code to generate another Element when newly inserted characters
23         and old ones will be on the same line.
25 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
27         * javax/swing/text/DefaultCaret.java:
28         (mouseDragged): Do selection when shift is pressed.
29         (mouseClicked): Implemented.
31 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
33         * javax/swing/text/PlainDocument.java: Fix copyright header,
34         added author tags.
35         (insertUpdate): Do not copy the whole document any more, added some
36         more variables to prevent needless method calls.
38 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
40         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
41         is required on Darwin.
42         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
43         (AM_CFLAGS): Likewise.
45 2006-03-06  Mark Wielaard  <mark@klomp.org>
47         * NEWS: Add updates for 0.90 release.
49 2006-03-04  Mark Wielaard  <mark@klomp.org>
51         * configure.ac (VERSION): Set to 0.90-pre.
53 2006-03-04  Tom Tromey  <tromey@redhat.com>
55         * javax/swing/SpringLayout.java (Constraints): New constructor.
56         * javax/swing/Spring.java (width): New method.
57         (height): Likewise.
58         (scale): Likewise.
60 2006-03-04  Mark Wielaard  <mark@klomp.org>
62         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
63         existing connection from pool before returning.
65 2006-03-04  Mark Wielaard  <mark@klomp.org>
67         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
68         exceptions thrown by handlers while cleaning up and rethrow original
69         exception.
71 2006-03-04  Tom Tromey  <tromey@redhat.com>
73         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
74         method.
75         (findConstructor): Likewise.
76         (instantiateClass): Likewise.
78 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
80         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
81         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
82         lease value and not always the default one.
83         (LeaseRecord): Remember the array of objects, marked as dirty.
84         java/rmi/dgc/Lease.java: Boilerplate fix.
86 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
88         * java/util/jar/Attributes.java (putValue): Made it public and updated
89         method documentation.
91 2006-03-04  Mark Wielaard  <mark@klomp.org>
93         * java/awt/Container.java (remove(int)): Always call removeNotify()
94         on removed Component.
96 2006-03-04  Mark Wielaard  <mark@klomp.org>
98         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
99         * javax/swing/JEditorPane.java (setText): Check for empty String
100         with equals(), not equality (==).
102 2006-03-04  Mark Wielaard  <mark@klomp.org>
104         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
105         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
107 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
109         * javax/swing/text/GapContent.java
110         (getArray): Mark as final.
112 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
114         * javax/swing/text/StyleConstants.java
115         (CharacterConstants.Background): Marked final,
116         (CharacterConstants.BidiLevel): Likewise,
117         (CharacterConstants.Bold): Likewise,
118         (CharacterConstants.ComponentAttribute): Likewise,
119         (CharacterConstants.Family): Likewise,
120         (CharacterConstants.Size): Likewise,
121         (CharacterConstants.Foreground): Likewise,
122         (CharacterConstants.IconAttribute): Likewise,
123         (CharacterConstants.Italic): Likewise,
124         (CharacterConstants.StrikeThrough): Likewise,
125         (CharacterConstants.Subscript): Likewise,
126         (CharacterConstants.Superscript): Likewise,
127         (CharacterConstants.Underline): Likewise,
128         (ColorConstants.Foreground): Likewise,
129         (ColorConstants.Background): Likewise,
130         (FontConstants.Bold): Likewise,
131         (FontConstants.Family): Likewise,
132         (FontConstants.Italic): Likewise,
133         (FontConstants.Size): Likewise,
134         (ParagraphConstants.Alignment): Likewise,
135         (ParagraphConstants.FirstLineIndent): Likewise,
136         (ParagraphConstants.LeftIndent): Likewise,
137         (ParagraphConstants.LineSpacing): Likewise,
138         (ParagraphConstants.Orientation): Likewise,
139         (ParagraphConstants.RightIndent): Likewise,
140         (ParagraphConstants.SpaceAbove): Likewise,
141         (ParagraphConstants.SpaceBelow): Likewise,
142         (ParagraphConstants.TabSet): Likewise.  
144 2006-03-03  Tom Tromey  <tromey@redhat.com>
146         * javax/net/ssl/SSLException.java: Added missing @since.
147         Wrote javadoc.
149 2006-03-03  Tom Tromey  <tromey@redhat.com>
151         * javax/net/ssl/SSLException.java (SSLException): New constructors.
152         (serialVersionUID): New field.
154 2006-03-03  Tom Tromey  <tromey@redhat.com>
156         * java/security/spec/InvalidKeySpecException.java
157         (InvalidKeySpecException): New constructors.
158         * java/security/cert/CertificateParsingException.java
159         (CertificateParsingException): New constructors.
160         * java/security/cert/CertificateEncodingException.java
161         (CertificateEncodingException): New constructors.
162         * java/security/cert/CertificateException.java (CertificateException):
163         New constructors.
164         * java/security/cert/CRLException.java (CRLException): New
165         constructors.
167 2006-03-03  Tom Tromey  <tromey@redhat.com>
169         * java/security/SignatureException.java (SignatureException): New
170         constructors.
171         * java/security/ProviderException.java (ProviderException): New
172         constructors.
173         * java/security/NoSuchAlgorithmException.java
174         (NoSuchAlgorithmException): New constructors.
175         * java/security/KeyStoreException.java (KeyStoreException): New
176         constructors.
177         * java/security/KeyManagementException.java (KeyManagementException):
178         New constructors.
179         * java/security/InvalidKeyException.java (InvalidKeyException): New
180         constructors.
181         * java/security/KeyException.java (KeyException): New constructors.
182         * java/security/InvalidAlgorithmParameterException.java
183         (InvalidAlgorithmParameterException): New constructors.
184         * java/security/DigestException.java (DigestException): New
185         constructors.
186         * java/security/GeneralSecurityException.java
187         (GeneralSecurityException): New constructors.
189 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
191         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
192         warnings,
193         * javax/swing/event/DocumentEvent.java: Likewise,
194         * javax/swing/event/EventListenerList.java: Likewise,
195         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
196         * javax/swing/event/MenuKeyEvent.java: Likewise,
197         * javax/swing/event/TableColumnModelEvent.java: Likewise,
198         * javax/swing/event/TreeExpansionEvent.java: Likewise,
199         * javax/swing/event/TreeModelEvent.java: Likewise,
200         * javax/swing/event/TreeSelectionEvent.java: Likewise,
201         * javax/swing/event/UndoableEditEvent.java: Likewise.
203 2006-03-03  Tom Tromey  <tromey@redhat.com>
205         * java/awt/Insets.java (set): New method.
206         (equals): Added @since.
208 2006-03-03  David Daney  <ddaney@avtrex.com>
210         * gnu/java/net/protocol/http/HTTPURLConnection.java
211         (getRequestProperties): Rewrote.
212         (addRequestProperty): Rewrote.
213         (getHeaderFields): Rewrote.
214         (getHeaderField): Rewrote.
215         (getHeaderFieldKey): Rewrote.
216         (getHeaderField): Removed useless cast.
217         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
218         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
219         interface.
220         (notifyHeaderHandlers): Use new Headers interface.
222 2006-03-03  Tom Tromey  <tromey@redhat.com>
224         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
225         * javax/naming/spi/ResolveResult.java,
226         javax/naming/event/NamingExceptionEvent.java,
227         javax/naming/event/NamingEvent.java,
228         javax/naming/directory/SearchResult.java,
229         javax/naming/directory/SearchControls.java,
230         javax/naming/directory/SchemaViolationException.java,
231         javax/naming/directory/NoSuchAttributeException.java,
232         javax/naming/directory/ModificationItem.java,
233         javax/naming/directory/InvalidSearchFilterException.java,
234         javax/naming/directory/InvalidSearchControlsException.java,
235         javax/naming/directory/InvalidAttributesException.java,
236         javax/naming/directory/InvalidAttributeIdentifierException.java,
237         javax/naming/directory/AttributeModificationException.java,
238         javax/naming/directory/AttributeInUseException.java,
239         javax/naming/TimeLimitExceededException.java,
240         javax/naming/SizeLimitExceededException.java,
241         javax/naming/PartialResultException.java,
242         javax/naming/Reference.java,
243         javax/naming/ServiceUnavailableException.java,
244         javax/naming/OperationNotSupportedException.java,
245         javax/naming/NotContextException.java,
246         javax/naming/NoPermissionException.java,
247         javax/naming/NoInitialContextException.java,
248         javax/naming/NameNotFoundException.java,
249         javax/naming/NameAlreadyBoundException.java,
250         javax/naming/NameClassPair.java,
251         javax/naming/MalformedLinkException.java,
252         javax/naming/LinkLoopException.java,
253         javax/naming/LinkException.java,
254         javax/naming/LimitExceededException.java,
255         javax/naming/InvalidNameException.java,
256         javax/naming/InterruptedNamingException.java,
257         javax/naming/InsufficientResourcesException.java,
258         javax/naming/ContextNotEmptyException.java,
259         javax/naming/ConfigurationException.java,
260         javax/naming/CannotProceedException.java,
261         javax/naming/CommunicationException.java,
262         javax/naming/Binding.java,
263         javax/naming/AuthenticationNotSupportedException.java,
264         javax/naming/AuthenticationException.java: Added serialVersionUID.
266 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
268         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
270 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
272         * javax/swing/event/TableModelListener.java: Updated API docs.
274 2006-03-03  Mark Wielaard  <mark@klomp.org>
276         * java/awt/Component.java (addNotify): Expand documentation.
278 2006-03-03  Mark Wielaard  <mark@klomp.org>
280         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
281         Always call setParentAndBounds().
282         (setComponentBounds): Always call setBounds().
283         (setBounds): Call setVisible().
284         (setVisible): If no pixels are showing then don't make it visible.
285         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
286         to call setParentAndBounds() anymore.
288 2006-03-03  Roman Kennke  <kennke@aicas.com>
290         * javax/swing/JInternalFrame.java
291         (JInternalFrame): Set frame invisible.
292         (show): Reformatted.
293         * javax/swing/plaf/basic/BasicInternalFrameUI.java
294         (installDefaults): Do not set invisible here.
296 2006-03-03  Roman Kennke  <kennke@aicas.com>
298         * java/awt/Toolkit.java
299         (getScreenInsets): Return (0,0,0,0) here.
301 2006-03-03  Roman Kennke  <kennke@aicas.com>
303         * javax/swing/text/FlowView.java
304         (FlowStrategy.layoutRow): Added check for rowCount == 0.
305         (FlowStrategy.getLogicalView): Made method protected.
307 2006-03-03  Chris Burdess  <dog@gnu.org>
309         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
310           gnu/xml/validation/relaxng/AttributePattern.java,
311           gnu/xml/validation/relaxng/ChoiceNameClass.java,
312           gnu/xml/validation/relaxng/ChoicePattern.java,
313           gnu/xml/validation/relaxng/DataPattern.java,
314           gnu/xml/validation/relaxng/Define.java,
315           gnu/xml/validation/relaxng/ElementPattern.java,
316           gnu/xml/validation/relaxng/EmptyPattern.java,
317           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
318           gnu/xml/validation/relaxng/Grammar.java,
319           gnu/xml/validation/relaxng/GrammarException.java,
320           gnu/xml/validation/relaxng/GrammarValidator.java,
321           gnu/xml/validation/relaxng/GroupPattern.java,
322           gnu/xml/validation/relaxng/InterleavePattern.java,
323           gnu/xml/validation/relaxng/ListPattern.java,
324           gnu/xml/validation/relaxng/NSNameNameClass.java,
325           gnu/xml/validation/relaxng/NameClass.java,
326           gnu/xml/validation/relaxng/NameNameClass.java,
327           gnu/xml/validation/relaxng/NotAllowedPattern.java,
328           gnu/xml/validation/relaxng/OneOrMorePattern.java,
329           gnu/xml/validation/relaxng/Param.java,
330           gnu/xml/validation/relaxng/Pattern.java,
331           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
332           gnu/xml/validation/relaxng/RefPattern.java,
333           gnu/xml/validation/relaxng/TextPattern.java,
334           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
335           builder and data model.
336         * gnu/xml/validation/xmlschema/AnyAttribute.java,
337           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
338           gnu/xml/validation/xmlschema/AttributeUse.java,
339           gnu/xml/validation/xmlschema/ComplexType.java,
340           gnu/xml/validation/xmlschema/ElementDeclaration.java,
341           gnu/xml/validation/xmlschema/Particle.java,
342           gnu/xml/validation/xmlschema/ValidationException.java,
343           gnu/xml/validation/xmlschema/XMLSchema.java,
344           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
345           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
346           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
347           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
348           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
349           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
350           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
351           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
352           W3C XML Schema builder and schema components.
353         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
354           XML Schema namespace URIs.
356 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
358         * NEWS: Add entry for --enable-collections.
359         * configure.ac: Add --enable-collections option.
360         * lib/Makefile.am (collections.jar): New target.
361         (glibj_DATA): Add $(COLLECTIONS).
362         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
363         configure substitution.
364         (classpath): Read from command line.
365         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
367 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
369         * javax/swing/SpringLayout.java: Fixed API doc warnings.
371 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
373         * javax/swing/event/ListSelectionEvent.java
374         (toString): Implemented,
375         plus updated API docs all over.
377 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
379         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
380         API doc warnings,
381         * javax/swing/event/ListSelectionListener.java: Updated API docs.
383 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
385         * gnu/java/rmi/dgc/DGCImpl.java,
386         java/rmi/dgc/DGC.java,
387         java/rmi/dgc/Lease.java: Formatted and commented.
389 2006-03-03  Roman Kennke  <kennke@aicas.com>
391         * NEWS: Added comment about text highlighting and copy+paste
392         in Swing.
394 2006-03-03  Roman Kennke  <kennke@aicas.com>
396         * javax/swing/JTabbedPane.java
397         (remove(int)): Call super.remove(int) instead of remove(Component).
398         Avoids a stack overflow.
400 2006-03-03  Roman Kennke  <kennke@aicas.com>
402         * javax/swing/JTable.java
403         (distributeSpillResizing): Avoid ArithmeticException by checking
404         divisor.
406 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
408         * javax/swing/text/package.html: Added package description.
410 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
412         * javax/swing/CellRendererPane.java: Minor API doc fix,
413         * javax/swing/ComboBoxModel.java: Updated API docs.
415 2006-03-03  Chris Burdess  <dog@gnu.org>
417         Fixes PR 26503
418         * gnu/xml/stream/EntityReferenceImpl.java,
419           gnu/xml/stream/FilteredEventReader.java,
420           gnu/xml/stream/SAXParser.java,
421           gnu/xml/stream/XIncludeFilter.java,
422           gnu/xml/stream/XMLEventAllocatorImpl.java,
423           gnu/xml/stream/XMLEventFactoryImpl.java,
424           gnu/xml/stream/XMLEventImpl.java,
425           gnu/xml/stream/XMLEventReaderImpl.java,
426           gnu/xml/stream/XMLEventWriterImpl.java,
427           gnu/xml/stream/XMLInputFactoryImpl.java,
428           gnu/xml/stream/XMLOutputFactoryImpl.java,
429           gnu/xml/stream/XMLParser.java,
430           javax/xml/stream/EventFilter.java,
431           javax/xml/stream/Location.java,
432           javax/xml/stream/StreamFilter.java,
433           javax/xml/stream/XMLEventFactory.java,
434           javax/xml/stream/XMLEventReader.java,
435           javax/xml/stream/XMLEventWriter.java,
436           javax/xml/stream/XMLInputFactory.java,
437           javax/xml/stream/XMLOutputFactory.java,
438           javax/xml/stream/XMLReporter.java,
439           javax/xml/stream/XMLResolver.java,
440           javax/xml/stream/XMLStreamConstants.java,
441           javax/xml/stream/XMLStreamReader.java,
442           javax/xml/stream/events/EntityDeclaration.java,
443           javax/xml/stream/events/EntityReference.java,
444           javax/xml/stream/events/XMLEvent.java,
445           javax/xml/stream/util/EventReaderDelegate.java,
446           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
447           StAX API as specified in JWSDP 2.0.
448         * gnu/xml/stream/EndEntityImpl.java,
449           gnu/xml/stream/LocationImpl.java,
450           gnu/xml/stream/StartEntityImpl.java,
451           gnu/xml/stream/XMLStreamReaderImpl.java,
452           javax/xml/stream/XMLFilter.java,
453           javax/xml/stream/XMLIterator.java,
454           javax/xml/stream/events/EndEntity.java,
455           javax/xml/stream/events/StartEntity.java: Removed legacy files.
457 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
459         * javax/swing/CellEditor.java: API doc updates,
460         * javax/swing/DefaultCellEditor.java: Likewise.
462 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
464         * javax/swing/AbstractListModel.java:
465         (AbstractListModel): Added API docs,
466         (fireContentsChanged): Minor API doc correction,
467         (fireIntervalAdded): Likewise,
468         (fireIntervalRemoved): Likewise.
470 2006-03-03  Roman Kennke  <kennke@aicas.com>
472         * NEWS: Added paragraph about Swing improvements.
474 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
476         * javax/swing/AbstractAction.java: Updated API docs all over,
477         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
478         (stopCellEditing): Minor API doc correction,
479         * javax/swing/UnsupportedLookAndFeelException.java
480         (UnsupportedLookAndFeelException): Changed argument name, updated API
481         docs.
483 2006-03-03  Roman Kennke  <kennke@aicas.com>
485         * javax/swing/plaf/metal/MetalUtils.java
486         (fillMetalPattern): Added switch to not use Graphics2D methods,
487         even if they are available.
489 2006-03-03  Roman Kennke  <kennke@aicas.com>
491         * javax/swing/plaf/basic/BasicHTML.java
492         (isHTMLString): Check for string beeing null.
493         * javax/swing/plaf/basic/BasicInternalFrameUI.java
494         (BasicInternalFrameListener.internalFrameActivated): Implemented.
495         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
496         (InternalFrameLayout): Don't touch the glass pane here.
497         (installUI): Fix handling of glass pane.
498         * javax/swing/plaf/basic/BasicLabelUI.java
499         (vr): New field.
500         (ir): New field.
501         (tr): New field.
502         (BasicLabelUI): Initialize new fields.
503         (getPreferredSize): Avoid creating new Rectangles by using
504         SwingUtilities method.
505         (paint): Avoid creating new Rectangles by reusing
506         new fields. Added some preliminary handling of HTML inside the
507         label.
508         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
509         (uninstallComponents): Clear HTML renderer.
510         (propertyChange): Check for HTML text and install renderer if
511         appropriate.
512         * javax/swing/plaf/basic/BasicListUI.java
513         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
514         method.
515         * javax/swing/plaf/basic/BasicTextUI.java
516         (RootView.getStartOffset): Implemented.
517         (RootView.getEndOffset): Implemented.
518         (RootView.getDocument): Implemented.
520 2006-03-03  Roman Kennke  <kennke@aicas.com>
522         * javax/swing/text/DefaultStyledDocument.java
523         (ElementBuffer.inserUpdate): Added check for zero-length
524         element.
525         * javax/swing/text/DefaultStyledDocument.java
526         (setIndex): Improved exception message.
527         * javax/swing/text/TableView.java
528         Made class abstract.
529         (TableRow.replace): Probably extend columnRequirements
530         arrays.
531         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
532         of super.layoutMajorAxis.
533         (columnRequirements): Made field package private.
534         (TableView): Do not load any child views here.
535         (layoutColumns): Implemented this method.
536         (updateColumnRequirements): New helper method.
537         * javax/swing/text/Utilities.java
538         (getBreakLocation): Also take offset into account when
539         finding end location.
540         * javax/swing/text/html/HTMLDocument.java
541         (HTMLReader.parseStack): New field.
542         (HTMLReader.blockOpen): Properly handle p-implied tags.
543         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
544         (HTMLReader.addContent): Insert p-implied when adding content to
545         a block element.
546         * javax/swing/text/html/HTMLEditorKit.java
547         (HTMLFactory.create): Create HTMLTableView for <table> tags and
548         ParagraphView for TD tags. Print out warning for tags that don't have
549         matching view yet and create NullView for them.
550         (read): Only set document base when document != null.
551         * javax/swing/text/html/HTMLTableView.java:
552         New class
554 2006-03-03  Roman Kennke  <kennke@aicas.com>
556         * javax/swing/plaf/basic/BasicHTML.java
557         (HTMLRootView): New inner class.
558         (createHTMLView): Embed view inside a HTMLRootView.
560 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
562         * gnu/java/net/protocol/jar/Connection.java: 
563         (connect): Throw FileNotFoundException.
564         (getInputStream): Remove duplicated code.
566 2006-03-03  Roman Kennke  <kennke@aicas.com>
568         * javax/swing/RepaintManager.java
569         (commitBuffer): Added null check for clip.
571 2006-03-02  Lillian Angel <langel@redhat.com>
573         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
574         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
575         to use GtkWidget instead of GTKMenu.
577 2006-03-02  Lillian Angel <langel@redhat.com>
579         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
580         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
581         use the submenu to get the list of children. This now works
582         in the same way as addItem.
584 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
586         * java/lang/StringBuilder.java:
587         (codePointAt): New method.
588         (codePointBefore): Likewise.
589         (codePointCount): Likewise.
590         (trimToSize): Likewise.
592 2006-03-02  Tom Tromey  <tromey@redhat.com>
594         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
596 2006-03-02  Tom Tromey  <tromey@redhat.com>
598         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
599         (getProviderInstance): 
601 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
603         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
604         Fix regression caused by move to VM variant.
605         PR classpath/22926.
606         
607 2006-03-01  Tom Tromey  <tromey@redhat.com>
609         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
610         * vm/reference/java/net/VMInetAddress.java: Organized imports.
611         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
612         imports for javadoc.
613         (getProxyClass): Javadoc fixes.
614         (getProxyData): Likewise.
615         (generateProxyClass): Likewise.
616         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
617         (setOut): Likewise.
618         (setErr): Likewise.
619         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
620         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
621         fix.
622         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
623         javadoc.
624         (getModifiers): Likewise.
625         (getDeclaredClasses): Javadoc fix.
626         (getDeclaredFields): Likewise.
627         (getDeclaredMethods): Likewise.
628         (getDeclaredConstructors): Likewise.
629         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
630         Javadoc fix.
632 2006-03-01  Tom Tromey  <tromey@redhat.com>
634         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
635         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
636         (getVersion): Javadoc fix.
637         (get): Likewise.
638         * gnu/java/net/protocol/http/Headers.java: Organized imports.
639         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
641 2006-03-01  David Daney  <ddaney@avtrex.com>
643         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
644         as relative if it contains a colon but no protocol handler can be
645         found.
647 2006-03-01  Roman Kennke  <kennke@aicas.com>
649         * javax/swing/text/AbstractDocument.java
650         (LeafElement.LeafElement): Handle delta with respect to content
651         length not document length.
652         * javax/swing/text/CompositeView.java
653         (getViewIndex): Handle bias correctly.
654         * javax/swing/text/DefaultCaret.java
655         (paint): Align caret position to document bounds to avoid trouble
656         when removing large portions of content.
657         * javax/swing/text/DefaultStyledDocument.java
658         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
659         (ElementBuffer.createFracture): Copy old childs attribute. The
660         ElementSpec usually doesn't carry attribute information.
661         Use pos instead of offset.
662         (ElementBuffer.insertFracture): Use pos instead of offset.
663         (createDefaultRootElement): Don't use create* and instead directly
664         instantiate the elements.
665         (handleInsertAfterNewline): Compare the paragraphs startOffset
666         rather than previous paragraphs endOffset.
667         * javax/swing/text/JTextComponent.java
668         (getScrollableTracksViewportWidth): Remove unnecessary cast to
669         JViewport.
670         (getScrollableTracksViewportHeight): Remove unnecessary cast to
671         JViewport.
672         * javax/swing/text/PlainView.java
673         (damageLineRange): Avoid creating new Rectangle by using
674         SwingUtilities.
675         * javax/swing/text/View.java
676         (forwardUpdate): Correct the use of bias.
677         (modelToView): Avoid new Rectangles by using SwingUtilities.
678         (dump): Made (temprorarily) protected for use in BasicTextUI.
679         (dump(int)): Dump out the element of the view.
681 2006-03-01  Lillian Angel  <langel@redhat.com>
683         * NEWS: javax.imageio.plugins.bmp implementation.
685 2006-03-01  Lillian Angel  <langel@redhat.com>
687         * javax/imageio/ImageWriteParam.java: 
688         Added documentation for fields.
689         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
690         New class implemented.
692 2006-03-01  Tom Tromey  <tromey@redhat.com>
694         * NEWS: Mention java.util.prefs update.
696 2006-03-01  Tom Tromey  <tromey@redhat.com>
698         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
699         * java/nio/charset/UnmappableCharacterException.java:
700         (serialVersionUID): New field.
701         * java/nio/charset/MalformedInputException.java:
702         (serialVersionUID): New field.
703         * java/nio/charset/CoderMalfunctionError.java:
704         (serialVersionUID): New field.
705         * java/nio/charset/CharacterCodingException.java:
706         (serialVersionUID): New field.
707         * java/nio/channels/UnsupportedAddressTypeException.java:
708         (serialVersionUID): New field.
709         * java/nio/channels/UnresolvedAddressException.java:
710         (serialVersionUID): New field.
711         * java/nio/channels/OverlappingFileLockException.java:
712         (serialVersionUID): New field.
713         * java/nio/channels/NotYetConnectedException.java:
714         (serialVersionUID): New field.
715         * java/nio/channels/NotYetBoundException.java
716         (serialVersionUID): New field.
717         * java/nio/channels/NonWritableChannelException.java
718         (serialVersionUID): New field.
719         * java/nio/channels/NonReadableChannelException.java
720         (serialVersionUID): New field.
721         * java/nio/channels/NoConnectionPendingException.java
722         (serialVersionUID): New field.
723         * java/nio/channels/IllegalSelectorException.java
724         (serialVersionUID): New field.
725         * java/nio/channels/IllegalBlockingModeException.java
726         (serialVersionUID): New field.
727         * java/nio/channels/FileLockInterruptionException.java
728         (serialVersionUID): New field.
729         * java/nio/channels/ConnectionPendingException.java
730         (serialVersionUID): New field.
731         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
732         New field.
733         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
734         New field.
735         * java/nio/channels/ClosedByInterruptException.java
736         (serialVersionUID): New field.
737         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
738         New field.
739         * java/nio/channels/AsynchronousCloseException.java
740         (serialVersionUID): New field.
741         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
742         New field.
743         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
744         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
745         * java/nio/BufferUnderflowException.java (serialVersionUID): New
746         field.
747         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
748         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
749         Javadoc fix.  Added import.
750         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
751         (validOps): Likewise.
752         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
753         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
754         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
755         * java/nio/channels/Channels.java: Added import.
756         * java/nio/channels/FileChannel.java (lock): Typo fix.
757         (tryLock): Likewise.
759 2006-03-01  Tom Tromey  <tromey@redhat.com>
761         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
762         FileBasedFactory.
763         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
764         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
765         (clear): Likewise.
766         (putSpi): Likewise.
767         (newNode): Likewise.
768         (node): Likewise.
769         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
770         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
771         field.
772         (systemRoot): Use it.
773         (userPreferences): New field.
774         (userRoot): Use it.
776 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
778         * java/util/ResourceBundle.java
779         (tryBundle): Catch and ignore all Exceptions.
781 2006-02-28  Roman Kennke  <kennke@aicas.com>
783         * javax/swing/plaf/basic/BasicScrollBarUI.java
784         (getPreferredSize): Fixed add a fixed space between the buttons
785         instead of something related to min/max.
786         (installComponents): Create and install buttons here.
787         (installDefaults): Don't create buttons here.
788         * javax/swing/plaf/metal/MetalScrollBarUI.java
789         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
790         (getPreferredSize): New method.
792 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
794         * examples/gnu/classpath/examples/swing/Demo.java
795         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
796         connected 'Spinner' action to SpinnerDemo, 
797         (mkCheckbox): Removed,
798         (mkRadio): Likewise,
799         (mkSpinner): Likewise,
800         (mkToggle): Likewise,
801         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
802         connected 'Spinner' action to SpinnerDemo.
804 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
806         * javax/print/ServiceUIFactory.java: Added documentation to class.
808 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
810         PR classpath/26434
811         * javax/swing/DefaultListSelectionModel.java:
812         (addSelectionInterval): Return early if either of the arguments is -1.
813         (removeSelectionInterval): Likewise.
814         (setSelectionInterval): Likewise.
816 2006-02-28  Lillian Angel  <langel@redhat.com>
818         * javax/swing/text/DefaultFormatter.java
819         (stringToValue): Added NPE check.
821 2006-02-28  Roman Kennke  <kennke@aicas.com>
823         PR classpath/25675
824         * javax/swing/JList.java
825         (getPreferredScrollableViewportSize): Restored specified behaviour.
826         * javax/swing/plaf/metal/MetalFileChooserUI.java
827         (createList): Set filelist panel's preferredSize, so that it doesn't
828         get size into infinity for big lists.
830 2006-02-28  Lillian Angel  <langel@redhat.com>
832         * javax/swing/ViewportLayout.java
833         (layoutContainer): Should not extend container to be 
834         minimum size. Mauve test shows that the preferred size
835         and the size of the viewport can be set smaller than
836         the minimum.
838 2006-02-28  Lillian Angel  <langel@redhat.com>
840         PR classpath/25675
841         * javax/swing/JList.java
842         (getPreferredScrollableViewportSize): Added a check to determine
843         if orientation is VERTICAL_WRAP. If it is, we should only 
844         show 3 columns. 
846 2006-02-28  Lillian Angel  <langel@redhat.com>
848         PR classpath/26003
849         * javax/swing/ViewportLayout.java:
850         Patch submitted by Audrius Meskauskas
851         (addLayoutComponent): Added documentation.
852         (removeLayoutComponent): Likewise.
853         (preferredLayoutSize): Likewise.
854         (minimumLayoutSize): Likewise.
855         (layoutContainer): Fixed code, so view is set
856         to the right position when inside a scrollpane. 
858 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
860         * java/math/BigInteger.java:
861         Committed patch by Rafael: 
862         developer.classpath.org/pipermail/classpath-patches/
863         2006-February/000473.html
864         (signum): Return early 0 if words == null and ival == 0.
865         (readObject): Handle special case of magnitude.length or signum being
866         0.
867         (writeObject): If signum is zero return a zero-sized byte[].
869 2006-02-28  Lillian Angel  <langel@redhat.com>
871         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
872         (create): Initially set the directory to the current working directory.
873         (setDirectory): Removed else-if. No need for this check.
875 2006-02-28  Tom Tromey  <tromey@redhat.com>
877         * .project: Run java builder before header generation.
879 2006-02-28  Tom Tromey  <tromey@redhat.com>
881         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
882         Javadoc fix.
883         * gnu/java/util/prefs/EventDispatcher.java: New file.
884         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
885         (NodeWriter): Specify UTF-8.
886         (writeHeader): Emit DOCTYPE.
887         * java/util/prefs/Preferences.java (getFactory): Add cause to
888         exception.
889         (exportNode): Documented.
890         (exportSubtree): Likewise.
891         (importPreferences): Likewise.
892         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
893         (writeObject): Likewise.
894         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
895         (writeObject): Likewise.
896         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
897         (nodeListeners): New field.
898         (preferenceListeners): Likewise.
899         (addNodeChangeListener): Implemented.
900         (addPreferenceChangeListener): Likewise.
901         (removeNodeChangeListener): Likewise.
902         (removePreferenceChangeListener): Likewise.
903         (fire): New methods.
904         (put): Fire event.
905         (remove): Likewise.
906         (purge): Likewise.  Fixed synchronization.
907         (removeNode): Fixed synchronization.
908         (getNode): Fire event.
909         (flushNode): Fixed synchronization.
911 2006-02-28  Roman Kennke  <kennke@aicas.com>
913         * javax/swing/text/BranchElement.java
914         (startOffset): New field.
915         (endOffset): New field.
916         (BranchElement): Initialize new fields.
917         (getEndOffset): Rewritten to possibly return cached values
918         if element has no children.
919         (getStartOffset): Rewritten to possibly return cached values
920         if element has no children.
921         * javax/swing/text/LeafElement.java
922         (startDelta): New field.
923         (endDelta): New field.
924         (LeafElement): Handle possible delta of start/endOffset when
925         these parameters lie outside the document range.
926         (getStartOffset): Handle possible startDelta.
927         (getEndOffset): Handle possible startDelta.
929 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
931         * NEWS: Added line about Unicode 4.0.0 support.
933 2006-02-28  Roman Kennke  <kennke@aicas.com>
935         * javax/swing/SwingUtilities.java
936         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
938 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
940         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
942 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
944         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
945         Amended class documentation.
946         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
947         STRING.
948         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
949         a BIT STRING construct.
950         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
951         documentation.
952         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
953         STRING.
954         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
955         a BIT STRING construct.
956         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
957         (engineVerify): Added logging.
959 2006-02-28  Roman Kennke  <kennke@aicas.com>
961         * java/awt/Component.java
962         (dispatchEventImpl): Let the Toolkit dispatch global events.
963         * java/awt/Container.java
964         (dispatchEventImpl): Let the LightweightDispatcher handle events
965         first.
966         * java/awt/EventQueue.java
967         (dispatchEvent): Don't do the global event dispatching here. This
968         is moved to the Component.
969         (globalDispatchEvent): Moved this method to Toolkit.
970         * java/awt/LightweightDispatcher.java
971         (instances): New field.
972         (getInstance): New method. Delivers an instance of
973         LightweightDispatcher.
974         (LightweightDispatcher): Made default constructor private.
975         (dispatchEvent): New method. Replaces the eventDispatched method.
976         This now returns true when the event was actually dispatched.
977         (eventDispatched): Replaced by dispatchEvent.
978         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
979         received the last MOUSE_RELEASED.
980         * java/awt/Toolkit.java
981         (Toolkit): Don't register LightweightDispatcher as global event
982         handler.
983         (globalDispatchEvent): Moved here from EventQueue.
985 2006-02-27  David Daney  <ddaney@avtrex.com>
987         PR classpath/25851
988         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
989         up.
990         (getRequestProperties): Rewrote.
992 2006-02-27  David Daney  <ddaney@avtrex.com>
994         PR classpath/26312
995         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
996         up.
997         (ChunkedInputStream): Extend InputStream.
998         (in): New field.
999         (headers): Moved to top of class.
1000         (constructor): Save referenct to in.
1001         (read(byte[])): Removed method.
1002         (read(byte[], int, int)): Made synchronized and throw IOException
1003         on error parsing chunk header.
1004         (available): New method.
1005         (close): New method.
1007 2006-02-27  David Daney  <ddaney@avtrex.com>
1009         * gnu/java/net/protocol/http/HTTPURLConnection.java
1010         (imports): Cleaned up.
1011         (GetHTTPPropertiesAction): Removed, and moved contents to ...
1012         (constructor): ... Here, using SystemProperties instead of System.
1013         
1014 2006-02-27  Lillian Angel  <langel@redhat.com>
1016         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1017         (setDirectory): GtkFileChooser requires an absolute directory
1018         name. Added a check to make the directory passed to nativeSetDirectory
1019         is absolute.
1021 2006-02-27  Roman Kennke  <kennke@aicas.com>
1023         * javax/swing/SwingUtilities.java
1024         (computeIntersection): Changed to store result in rect, instead of
1025         creating new Rectangle instances. Fixed API docs accordingly.
1026         (computeUnion): Changed to store result in rect, instead of
1027         creating new Rectangle instances. Fixed API docs accordingly.
1029 2006-02-27  Roman Kennke  <kennke@aicas.com>
1031         * javax/swing/JViewport.java
1032         (static_init): Changed default scrollmode to BLIT.
1033         (paintSimple): Added some clipping to avoid painting problems.
1034         (paintBlit): Added some clipping to avoid painting problems.
1036 2006-02-27  Roman Kennke  <kennke@aicas.com>
1038         * javax/swing/JComponent.java
1039         (rectCache): Made field static to save memory.
1040         (getVisibleRect): Don't use rectCache and create new Rectangle
1041         instance instead.
1042         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
1043         (repaint(long,int,int,int,int)): Directly call
1044         RepaintManager.addDirtyRegion(). The visibleRect check is now
1045         performed in the RepaintManager.
1047 2006-02-27  Roman Kennke  <kennke@aicas.com>
1049         * javax/swing/RepaintManager.java
1050         (currentRepaintManagers): Made field private.
1051         (rectCache): New field.
1052         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
1053         component. Changed Rectangle handling to avoid unnecessary new
1054         Rectangle instances.
1055         (getOffscreenBuffer): Create buffer with size of the root window.
1056         Respect the maximum buffer size here.
1057         (commitBuffer): Align the regions so that they are inside the buffer
1058         image and inside the clip. This avoids problems with a bug in GTKImage.
1059         Fixed Rectangle handling to avoid creation of new Rectangle instances.
1061 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1063         * native/fdlibm/e_acos.c,
1064         * native/fdlibm/e_asin.c,
1065         * native/fdlibm/e_atan2.c,
1066         * native/fdlibm/e_cosh.c,
1067         * native/fdlibm/e_exp.c,
1068         * native/fdlibm/e_fmod.c,
1069         * native/fdlibm/e_hypot.c,
1070         * native/fdlibm/e_log.c,
1071         * native/fdlibm/e_log10.c,
1072         * native/fdlibm/e_rem_pio2.c,
1073         * native/fdlibm/e_remainder.c,
1074         * native/fdlibm/e_sinh.c,
1075         * native/fdlibm/e_sqrt.c,
1076         * native/fdlibm/k_cos.c,
1077         * native/fdlibm/k_sin.c,
1078         * native/fdlibm/k_tan.c,
1079         * native/fdlibm/s_atan.c,
1080         * native/fdlibm/s_cbrt.c,
1081         * native/fdlibm/s_ceil.c,
1082         * native/fdlibm/s_copysign.c,
1083         * native/fdlibm/s_cos.c,
1084         * native/fdlibm/s_expm1.c,
1085         * native/fdlibm/s_fabs.c,
1086         * native/fdlibm/s_finite.c,
1087         * native/fdlibm/s_floor.c,
1088         * native/fdlibm/s_log1p.c,
1089         * native/fdlibm/s_rint.c,
1090         * native/fdlibm/s_scalbn.c,
1091         * native/fdlibm/s_sin.c,
1092         * native/fdlibm/s_tan.c,
1093         * native/fdlibm/s_tanh.c:
1094         Fixed to call our macros rather than __HI and __LO.
1095         * native/fdlibm/fdlibm.h:
1096         Reintroduced previous extraction code.
1097         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
1098         (GET_HIGH_WORD(i,d)): Readded.
1099         (GET_LOW_WORD(i,d)): Readded.
1100         (INSERT_WORDS(d,ix0,ix1)): Readded.
1101         (SET_HIGH_WORD(d,i)): Readded.
1102         (SET_LOW_WORD(d,i)): Readded.
1103         * native/jni/gtk-peer/gthread-jni.c:
1104         Use Glib macros to convert integers/pointers portably.
1105         
1106 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
1108         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
1109         as the fallback SPI.
1110         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
1111         ones referencing GNU-CRYPTO classes.
1112         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
1113         (engineValidate): Use GNU-CRYPTO class.
1114         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
1115         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
1116         * gnu/java/security/provider/DSAKeyFactory: Likewise.
1117         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
1118         * gnu/java/security/provider/DSAParameters: Likewise.
1119         * gnu/java/security/provider/DSASignature: Likewise.
1120         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
1121         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
1122         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
1123         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
1124         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
1125         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
1126         * gnu/java/security/provider/MD2withRSA: Likewise.
1127         * gnu/java/security/provider/MD4withRSA: Likewise.
1128         * gnu/java/security/provider/MD5: Likewise.
1129         * gnu/java/security/provider/MD5withRSA: Likewise.
1130         * gnu/java/security/provider/RSA: Likewise.
1131         * gnu/java/security/provider/RSAKeyFactory: Likewise.
1132         * gnu/java/security/provider/SHA: Likewise.
1133         * gnu/java/security/provider/SHA1PRNG: Likewise.
1134         * gnu/java/security/provider/SHA1withRSA: Likewise.
1135         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
1137 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
1139         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
1140         (engineGeneratePublic): Added logging.
1141         (engineGeneratePrivate): Likewise.
1142         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
1143         (encodePublicKey): Added logging.
1144         Clarified in method documentation that params is optional, but is
1145         always NULL if present.
1146         (decodePublicKey): Added logging.
1147         Handle optional NULL element.
1149 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
1151         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
1153 2006-02-25  Chris Burdess  <dog@gnu.org>
1155         * gnu/java/net/CRLFInputStream.java,
1156           gnu/java/net/LineInputStream.java: Streams that use mark
1157           capabilities on the underlying stream do not expose mark
1158           functionality themselves.
1159         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
1160           off > 0.
1162 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1164         * gnu/regexp/REMatch.java(matchFlags): New int field used as
1165         option flags passed to match methods.
1166         (MF_FIND_ALL): New flag.
1167         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
1168         do not try other possibilties once a match is found.
1169         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
1170         so that all possibilities can be found.
1171         (match): Rewritten using new methods matchMinimum and _match.
1172         (_match): New method which performs a depth-first recursive search.
1173         (matchMinimum): New method.
1174         (initVisited), (visitedContains), (addVisited): New methods for
1175         manipulating an array of icharacter positions which _match has
1176         already visited.
1178 2006-02-24  David Daney  <ddaney@avtrex.com>
1180         PR classpath/26082
1181         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
1182         type Pool.
1183         (Pool): New inner class.
1184         (timeLastUsed): New field.
1185         (setPool): Changed parameter type to Pool.
1186         (release): Moved pool management logic to new class Pool.
1187         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
1188         Removed.
1189         (maxConnections) : Removed.
1190         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
1191         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
1193 2006-02-24  Lillian Angel  <langel@redhat.com>
1195         * java/awt/Container.java:
1196         Added new field. True if Container has been cleared and
1197         heavyweights need to be repainted.
1198         (paint): Fixed comment. Fixed to use backCleared and 
1199         reset backCleared.
1200         (update): Set backCleared to true after the background
1201         of the container has been cleared.
1203 2006-02-24  Lillian Angel  <langel@redhat.com>
1205         * java/awt/TextField.java
1206         (addNotify): Added call to super.
1208 2006-02-24  Lillian Angel  <langel@redhat.com>
1210         * java/awt/Component.java
1211         (reshape): Reverted last patch. Should have check here.
1212         (addNotify): Added check. If parent is lightweight, then
1213         initialize listener on the parent.
1214         (HeavyweightInLightweightListener): New class.
1216 2006-02-24  Roman Kennke  <kennke@aicas.com>
1218         * javax/swing/plaf/basic/BasicComboPopup.java
1219         (show): Register the popup with the autocloser after it has been
1220         opened completely, by putting the registration on the eventqueue.
1222 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1224         * gnu/java/security/prng/BasePRNG.java:
1225         (clone()): Added cast of buffer to byte[].
1226         * gnu/javax/crypto/mac/TMMH16.java:
1227         (clone()): Fixed casting of cloned arrays.
1228         * native/fdlibm/fdlibm.h:
1229         Added missing defines from old fdlibm.h needed by Darwin.
1230         (GET_FLOAT_WORD(i,d)): Re-added.
1231         (SET_FLOAT_WORD(d,i)): Re-added.
1232         
1233 2006-02-24  Roman Kennke  <kennke@aicas.com>
1235         * java/awt/Container.java:
1236         (dispatcher): Removed field.
1237         (dispatchEventImpl): Removed lightweight dispatching.
1238         (addNotifyContainerChildren): Removed LightweightDispatcher
1239         handling.
1240         (LightweightDispatcher): Removed class.
1241         * java/awt/LightweightDispatcher.java: New class.
1242         * java/awt/Toolkit.java
1243         (Toolkit): Install LightweightDispatcher in global listener
1244         array.
1246 2006-02-24  Chris Burdess  <dog@gnu.org>
1248         Fixes PR 26324
1249         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
1250           off > 0.
1252 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1254         * NEWS: Mentions the VMMath runtime changes.
1255         * doc/vmintegration.texinfo: Updated to include
1256         VMMath.
1258 2006-02-24  Roman Kennke  <kennke@aicas.com>
1260         * javax/swing/plaf/basic/BasicLookAndFeel.java
1261         (PopupHelper.autoClosePopups): New field.
1262         (PopupHelper.mousePressed): Also autoclose any registered popups.
1263         (PopupHelper.registerForAutoClose): New method.
1264         (PopupHelper.autoClosePopups): New method.
1265         (popupHelper): Changed type of field to PopupHelper.
1266         (registerForAutoClose): New method.
1267         * javax/swing/plaf/basic/BasicComboPopup.java
1268         (show): Register this popup for autoclosing.
1270 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
1272         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
1273         * gnu/java/security/prng/MDGenerator.java (clone): New method.
1274         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
1276 2006-02-24  Roman Kennke  <kennke@aicas.com>
1278         Reported by Ingo Proetel <proetel@aicas.com>
1279         * java/util/logging/LogManager.java
1280         (addLogger): Search the parent loggers for log level
1281         configuration and inherit that.
1282         (readConfiguration): Provide minimal default configuration
1283         if no configuration can be found otherwise.
1285 2006-02-23  Roman Kennke  <kennke@aicas.com>
1287         * javax/swing/JRootPane.java
1288         (isOptimizedDrawingEnabled): Implemented to return true
1289         when the glassPane is not visible.
1291 2006-02-23  Roman Kennke  <kennke@aicas.com>
1293         * javax/swing/plaf/basic/BasicLookAndFeel.java
1294         (PopupHelper): New inner class.
1295         (popupHelper): New field.
1296         (initialize): New method.
1297         (uninitialize): New method.
1298         * javax/swing/plaf/basic/BasicPopupMenuUI.java
1299         (mouseInputListener): Removed field.
1300         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
1301         handling of GlassPane.
1302         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
1303         handling of GlassPane.
1304         (MouseInputHandler): Removed class.
1306 2006-02-23  Roman Kennke  <kennke@aicas.com>
1308         * java/awt/AWTEvent.java
1309         (eventIdToMask): New utility method.
1310         * java/awt/EventQueue.java
1311         (dispatchEvent): Also globally dispatch events via the toolkit.
1312         (globalDispatchEvent): New method.
1313         * java/awt/Toolkit.java
1314         (awtEventListeners): New field.
1315         (Toolkit()): Initialize new field.
1316         (createComponent): Create GLightweightPeer here.
1317         (addAWTEventListener): Implemented and documented.
1318         (removeAWTEventListener): Implemented and documented.
1319         (getAWTEventListeners): Implemented and documented both method
1320         variants.
1321         * java/awt/event/AWTEventListenerProxy.java
1322         (eventDispatched): Don't filter events here.
1324 2006-02-23  Chris Burdess  <dog@gnu.org>
1326         Fixes PR 26410
1327         * gnu/xml/dom/DomDocumentBuilderFactory.java,
1328           gnu/xml/dom/JAXPFactory.java,
1329           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
1330           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
1331           implement DocumentBuilderFactory.get/setFeature methods.
1333 2006-02-23  Lillian Angel  <langel@redhat.com>
1335         * gnu/java/awt/peer/GLightweightPeer.java
1336         (repaint): Scott's proposed fix. Send repaint to the
1337         component's parent.
1338         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1339         (setBounds): Removed next_parent, not needed. Removed
1340         lightweightChild, we always need to compensate for the
1341         menu bar's height.
1342         * java/awt/Component.java
1343         (setBounds): Removed check. Caused lots of problems, because some
1344         components were not being invalidated. Components should be
1345         invalidated when they are resized or moved, and in some cases,
1346         when a parent is resized/moved, the components do not know
1347         about it and do not adjust.
1348         * java/awt/Graphics.java
1349         (hitClip): Scott's proposed fix. Added check to handle a 
1350         null clip.
1352 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
1354         * javax/print/attribute/standard/MediaSize.java: 
1355         (media): Field renamed to mediaName for serialization.
1356         (MediaSize): Adapted to new fieldname.
1357         (getMediaSizeName): Likewise.
1358         * javax/print/attribute/HashAttributeSet.java: 
1359         (interfaceName): Field renamed to myInterface for serialization.
1360         (HashAttributeSet): Adapted to the new fieldname.
1361         (add): Likewise.
1362         (addAll): Likewise.
1363         (addInternal): Likewise.
1364         (attributeMap): Made transient.
1365         (readObject): New serialization method.
1366         (writeObject): Likewise.
1367         * javax/print/attribute/AttributeSetUtilities.java: 
1368         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
1369         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
1370         (SynchronizedAttributeSet.addAll): Likewise.
1371         (SynchronizedAttributeSet.clear): Likewise.
1372         (SynchronizedAttributeSet.containsKey): Likewise.
1373         (SynchronizedAttributeSet.containsValue): Likewise.     
1374         (SynchronizedAttributeSet.equals): Likewise.
1375         (SynchronizedAttributeSet.get): Likewise.
1376         (SynchronizedAttributeSet.hashCode): Likewise.  
1377         (SynchronizedAttributeSet.isEmpty): Likewise.
1378         (SynchronizedAttributeSet.remove): Likewise.    
1379         (SynchronizedAttributeSet.size): Likewise.      
1380         (SynchronizedAttributeSet.toArray): Likewise.   
1381         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
1382         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
1383         (UnmodifiableAttributeSet.addAll): Likewise.
1384         (UnmodifiableAttributeSet.clear): Likewise.
1385         (UnmodifiableAttributeSet.containsKey): Likewise.
1386         (UnmodifiableAttributeSet.containsValue): Likewise.     
1387         (UnmodifiableAttributeSet.equals): Likewise.
1388         (UnmodifiableAttributeSet.get): Likewise.
1389         (UnmodifiableAttributeSet.hashCode): Likewise.  
1390         (UnmodifiableAttributeSet.isEmpty): Likewise.
1391         (UnmodifiableAttributeSet.remove): Likewise.    
1392         (UnmodifiableAttributeSet.size): Likewise.      
1393         (UnmodifiableAttributeSet.toArray): Likewise.   
1394         * javax/print/attribute/standard/MediaPrintableArea.java: 
1395         (width): Field renamed to w for serialization.
1396         (height): Field renamed to h for serialization. 
1397         (MediaPrintableArea): Adapted to the new fieldnames.    
1398         (MediaPrintableArea): Likewise.
1399         (equals): Likewise.
1400         (hashCode): Likewise.
1401         (getHeight): Likewise.
1402         (getWidth): Likewise.
1404 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1406         * include/java_lang_VMMath.h:
1407         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
1408         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
1409         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
1410         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
1411         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
1412         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
1413         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
1414         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
1415         * java/lang/Math.java:
1416         (cbrt(double)): Implemented.
1417         (cosh(double)): Implemented.
1418         (expm1(double)): Implemented.
1419         (hypot(double,double)): Implemented.
1420         (log10(double)): Implemented.
1421         (log1p(double)): Implemented.
1422         (signum(double)): Implemented.
1423         (signum(float)): Implemented.
1424         (sinh(double)): Implemented.
1425         (tanh(double)): Implemented.
1426         * native/fdlibm/Makefile.am:
1427         Added new files from fdlibm 5.3.
1428         * native/fdlibm/e_acos.c,
1429         * native/fdlibm/e_asin.c,
1430         * native/fdlibm/e_atan2.c,
1431         * native/fdlibm/e_exp.c,
1432         * native/fdlibm/e_fmod.c,       
1433         * native/fdlibm/e_log.c,
1434         * native/fdlibm/e_rem_pio2.c,
1435         * native/fdlibm/e_remainder.c,
1436         * native/fdlibm/e_scalb.c,
1437         * native/fdlibm/e_sqrt.c,
1438         * native/fdlibm/k_cos.c,
1439         * native/fdlibm/k_rem_pio2.c,
1440         * native/fdlibm/k_sin.c,
1441         * native/fdlibm/k_tan.c,
1442         * native/fdlibm/s_atan.c,
1443         * native/fdlibm/s_ceil.c,
1444         * native/fdlibm/s_copysign.c,
1445         * native/fdlibm/s_cos.c,
1446         * native/fdlibm/s_fabs.c,
1447         * native/fdlibm/s_finite.c,
1448         * native/fdlibm/s_floor.c,
1449         * native/fdlibm/s_rint.c,
1450         * native/fdlibm/s_scalbn.c,
1451         * native/fdlibm/s_sin.c,
1452         * native/fdlibm/s_tan.c,
1453         * native/fdlibm/w_acos.c,
1454         * native/fdlibm/w_asin.c,
1455         * native/fdlibm/w_atan2.c,
1456         * native/fdlibm/w_acos.c,
1457         * native/fdlibm/w_exp.c,
1458         * native/fdlibm/w_fmod.c,
1459         * native/fdlibm/w_log.c,
1460         * native/fdlibm/w_pow.c,
1461         * native/fdlibm/w_remainder.c,
1462         * native/fdlibm/w_sqrt.c:
1463         Updated to fdlibm 5.3.
1464         * native/fdlibm/e_cosh.c,
1465         * native/fdlibm/e_hypot.c,
1466         * native/fdlibm/e_log10.c,
1467         * native/fdlibm/e_sinh.c,
1468         * native/fdlibm/s_cbrt.c,
1469         * native/fdlibm/s_expm1.c,
1470         * native/fdlibm/s_log1p.c,
1471         * native/fdlibm/s_tanh.c,
1472         * native/fdlibm/w_cosh.c,
1473         * native/fdlibm/w_hypot.c,
1474         * native/fdlibm/w_log10.c,
1475         * native/fdlibm/w_sinh.c:
1476         Imported from fdlibm 5.3.
1477         * native/fdlibm/fdlibm.h:
1478         Imported from fdlibm 5.3 with Classpath additions.
1479         * native/fdlibm/namespace.h:
1480         Updated from new math_symbols file.
1481         * native/jni/java-lang/java_lang_VMMath.c:
1482         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
1483         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
1484         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
1485         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
1486         Implemented.
1487         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
1488         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
1489         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
1490         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
1491         * scripts/math_symbols:
1492         Added tanh, expm1, log10 and log1p.
1493         * vm/reference/java/lang/VMMath.java:
1494         (cbrt(double)): Implemented.
1495         (cosh(double)): Implemented.
1496         (expm1(double)): Implemented.
1497         (hypot(double,double)): Implemented.
1498         (log10(double)): Implemented.
1499         (log1p(double)): Implemented.
1500         (sinh(double)): Implemented.
1501         (tanh(double)): Implemented.
1502         
1503 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
1505         * javax/print/DocFlavor.java: Added documentation all over.
1506         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
1507         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
1508         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
1509         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
1510         (URL.TEXT_HTML_HOST): Likewise.
1511         (URL.TEXT_PLAIN_HOST): Likewise.
1512         (hostEncoding): Initialize with host default charset encoding.
1513         (mediaSubtype): Made transient.
1514         (mediaType): Likewise.
1515         (params): Made transient. Changed type to TreeMap.
1516         (className): Removed, changed to myClassName.
1517         (myClassName): New field as defined in serialized form.
1518         (DocFlavor): Adapted to new variable types, names.
1519         (parseMimeType): Reimplemented.
1520         (getParameter): Search with lowercase name.
1521         (getRepresentationClassName): Adapted to changed variable name.
1522         (hashCode): Likewise.
1523         (toString): Reimplemented.
1524         (readObject): New method for serialization.
1525         (writeObject): Likewise.
1527 2006-02-23  Roman Kennke  <kennke@aicas.com>
1529         * javax/swing/RepaintManager.java
1530         (commitBuffer): Clip the repaint area with the current clip.
1532 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
1534         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
1535         (DEFAULT_PRIME_SIZE): Made public.
1536         (DEFAULT_EXPONENT_SIZE): Likewise.
1537         (setup): Handle DHParameterSpec as well.
1538         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
1539         defaultFormat instead of Raw.
1540         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
1541         (checkIsConstructed): Removed.
1542         (checkIsBigInteger): Likewise.
1543         (decodePublicKey): Use DerUtil.
1544         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
1545         (checkIsConstructed): Removed.
1546         (checkIsBigInteger): Likewise.
1547         (decodePrivateKey): Use DerUtil.
1548         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
1549         KeyAgreement.DH.
1550         Added mappings for AlgorithmParameters.DH and
1551         AlgorithmParameterGenerator.DH.
1552         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
1553         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
1554         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
1555         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
1556         Return result.
1557         (engineGeneratePublic): Likewise.
1558         * gnu/java/security/util/DerUtil.java: New file.
1559         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
1560         Include only valid RSA PKCS1 (v1.5) signature names.
1561         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
1562         (RSAPKCS1V1_5SignatureX509Codec): Removed.
1563         (checkIsConstructed): Likewise.
1564         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
1565         (checkIsConstructed): Removed.
1566         (checkIsBigInteger): Likewise.
1567         (decodeSignature): Use DerUtil.
1568         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
1569         (checkIsConstructed): Removed.
1570         (checkIsBigInteger): Likewise.
1571         (decodePublicKey): Use DerUtil.
1572         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
1573         (checkIsConstructed): Removed.
1574         (checkIsBigInteger): Likewise.
1575         (decodePrivateKey): Use DerUtil.
1576         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
1577         (checkIsConstructed): Removed.
1578         (checkIsBigInteger): Likewise.
1579         (decodePublicKey): Use DerUtil.
1580         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
1581         (checkIsConstructed): Removed.
1582         (checkIsBigInteger): Likewise.
1583         (decodePrivateKey): Use DerUtil.
1584         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
1585         (DEFAULT_MODULUS_LENGTH): Made it public.
1586         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
1587         defaultFormat instead of Raw.
1588         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
1589         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
1590         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
1591         Return result.
1592         (engineGeneratePublic): Likewise.
1593         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
1595 2006-02-22  Mark Wielaard  <mark@klomp.org>
1597         * java/awt/Checkbox.java (setState): Check that state actually changed
1598         before calling peer.
1599         (dispatchEventImpl): Set new state if ItemEvent.
1600         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
1601         (create): Set currentState.
1602         (setState): Make synchronized, check and set currentState before
1603         calling gtkToggleButtonSetActive.
1604         (postItemEvent): Make synchronized, check and set currentState before
1605         posting ItemEvent.
1606         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1607         (postItemEventID): Method now takes boolean.
1608         (item_toggled_cb): Likewise.
1610 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
1612         * javax/swing/text/DefaultHighlighter.java:
1613         (changeHighlight): Added code to minimize the damaged area.
1615 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
1617         * javax/swing/text/PlainView.java:
1618         (getPreferredSpan): Added missing 'break'.
1619         statement which corrects an unwanted fall through.
1620         (updateDamage): Update maxLineLength correctly when text is
1621         removed, call preferenceChanged accordingly.
1622         (viewToModel): Restrict line number to be within 0 and the
1623         number of elements-1.
1625 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
1627         * javax/swing/text/Utilities.java:
1628         (getPositionAbove): Prefer first value by changing comparison
1629         from < to <=.
1630         (getPositionBelow): Dito.
1632 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
1634         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
1635         behavior when magic caret position is null.
1637 2006-02-22  Roman Kennke  <kennke@aicas.com>
1639         * javax/swing/JTextField.java
1640         (isValidateRoot): New method.
1642 2006-02-22  Roman Kennke  <kennke@aicas.com>
1644         * javax/swing/JEditorPane.java
1645         (getPreferredSize): Rewritten to behave like the reference impl.
1646         (getScrollableTracksViewportWidth): Likewise.
1647         (getScrollableTracksViewportHeight): Likewise.
1649 2006-02-22  Roman Kennke  <kennke@aicas.com>
1651         * javax/swing/RepaintManager.java
1652         (addInvalidComponent): Also consider the component itself.
1654 2006-02-22  Mark Wielaard  <mark@klomp.org>
1656         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
1657         qualify AbstractDocument.AttributeContext.
1658         (blockOpen): Likewise.
1660 2006-02-21  Mark Wielaard  <mark@klomp.org>
1662         * java/awt/Component.java (translateEvent): Translate
1663         AdjustmentEvents to 1.0 Events.
1664         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
1665         Call setValue() before processing event.
1666         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
1667         whether we are currently changing and being called back from the
1668         Scrollbar component.
1669         (setBarValues): New native method.
1670         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
1671         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
1672         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
1673         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
1674         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
1676 2006-02-21  Roman Kennke  <kennke@aicas.com>
1678         * javax/swing/text/View.java
1679         (setParent): Set child parent to null when disconnecting
1680         the view from the View hierarchy.
1682 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
1684         * javax/print/StreamPrintService.java: Added and enhanced documentation.
1686 2006-02-21  Roman Kennke  <kennke@aicas.com>
1688         * javax/swing/text/WrappedPlainView.java
1689         (calculateBreakPosition): Changed to use the view's allocation instead
1690         of the container's preferredSize.
1692 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
1694         * java/awt/CardLayout.java:
1695         (first): Updated api documentation.
1696         (last): Likewise.
1697         (next): Likewise.
1698         (previous): Likewise.
1699         (show): Clarified api docs. Return if name is null. Throw
1700         IllegalArgumentException if layout of container is not this.
1701         (gotoComponent): Updated api documentation. Throw
1702         IllegalArgumentException if layout of container is not this.
1704 2006-02-21  Roman Kennke  <kennke@aicas.com>
1706         * javax/swing/text/NavigationFilter.java
1707         (getNextVisualPositionFrom): New method.
1709 2006-02-21  Roman Kennke  <kennke@aicas.com>
1711         * javax/swing/plaf/basic/BasicTextUI.java
1712         (RootView.setView): Call setParent() on the view with this as
1713         argument instead of null.
1714         (setView): Don't set root view's parent here.
1716 2006-02-21  Roman Kennke  <kennke@aicas.com>
1718         * javax/swing/text/AbstractDocument.java
1719         (AbstractElement.getAttribute): Use getResolveParent() to fetch
1720         the resolving parent.
1721         (AbstractElement.getResolveParent): Fixed to handle possible null
1722         parent.
1723         * javax/swing/text/BoxView.java
1724         (childReqs): New field.
1725         (paint): Added debugging code (commented out).
1726         (getPreferredSpan): Rewritten to use new update* methods.
1727         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
1728         for the minor axis and preferredSpan for the major axis.
1729         (getMinimumSpan): Rewritten to use new update* methods.
1730         (baselineRequirements): Rewritten to avoid creation of 
1731         unnecessary SizeRequirements objects.
1732         (baselineLayout): Rewritten to use new update* methods.
1733         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
1734         unnecessary SizeRequirements objects.
1735         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
1736         unnecessary SizeRequirements objects.
1737         (layout): Some robustness fixes for the layout. Turned AssertionErrors
1738         into warnings.
1739         (layoutMajorAxis): Rewritten to use new update* methods.
1740         (layoutMinorAxis): Rewritten to use new update* methods.
1741         (getChildRequirements): Replaced by the update* methods.
1742         (getAlignment): Use update* methods.
1743         (updateChildRequirements): New methods. Updates the child requirements
1744         if necessary.
1745         (updateRequirements): New methods. Updates the BoxView requirements
1746         if necessary.
1747         * javax/swing/text/DefaultStyledDocument.java
1748         (ElementBuffer.insert): Added warning for illegal replacement operation.
1749         * javax/swing/text/FlowView.java
1750         (layoutRow): When offset doesn't change, return -1.
1751         (LogicalView): Now subclasses BoxView.
1752         (loadChildren): Let the CompositeView.setParent() load the children
1753         of the logicalView.
1754         (calculateMinorRequirements): New overridden method.
1755         * javax/swing/text/GlyphView.java
1756         (DefaultGlyphPainter.paint): Fixed typo.
1757         (startOffset): Made field private.
1758         (endOffset): Made field private.
1759         (paint): Call getStartOffset() and getEndOffset() instead of the
1760         element methods.
1761         (isStrikeThrough): Fixed typo.
1762         (breakView): Use Utilities.getBreakLocation() to determine best
1763         break location.
1764         (changedUpdate): Call preferencedChange on this instead of parent.
1765         (removeUpdate): Call preferencedChange on this instead of parent.
1766         * javax/swing/text/ParagraphView.java
1767         (Row.getAlignment): For Y_AXIS, call super.
1768         (getAlignment): Likewise.
1769         * javax/swing/text/Utilities.java
1770         (getBreakLocation): Set Segment object directly on the BreakIterator.
1771         * javax/swing/text/html/HTML.java
1772         (Attribute): Made class non-serializable and final as specified.
1773         (Attribute(String)): Made constructor private.
1774         (Attribute.compareTo): Removed.
1775         (Attribute.equals): Removed.
1776         (Attribute.hashCode): Removed.
1777         (Tag): Made class non-comparable and non-serializable as specified.
1778         (Tag.compareTo): Removed.
1779         (Tag.equals): Removed.
1780         (Tag.hashCode): Removed.
1781         * javax/swing/text/html/HTMLDocument.java
1782         (HTMLReader.blockOpen): Add tag as name attribute to element.
1783         * javax/swing/text/html/HTMLEditorKit.java
1784         (HTMLFactory.create): Create NullView for <head> tags, removed unused
1785         fallback.
1786         * javax/swing/text/html/InlineView.java
1787         (setPropertiesFromAttributes): Call super.
1788         * javax/swing/text/html/NullView.java: New class.
1790 2006-02-21  Roman Kennke  <kennke@aicas.com>
1792         PR classpath/26368
1793         * javax/swing/text/GapContent.java
1794         (GapContentPosition): Made class private.
1795         (InsertUndo): Made class private.
1796         (UndoRemove): Made class private.
1797         (WeakPositionComparator): New inner class.
1798         (positions): Made field private.
1799         (createPosition): Clear up GC'ed positions before creating
1800         a new one. Store position as WeakReference.
1801         (getPositionsInRange): Changed to handle WeakReference
1802         positions.
1803         (setPositionsInRange): Changed to handle WeakReference
1804         positions.
1805         (adjustPositionsInRange): Changed to handle WeakReference
1806         positions.
1807         (dumpPositions): Handle WeakReference positions.
1808         (clearPositionReferences): New method.
1810 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
1812         * javax/swing/plaf/basic/BasicTextUI.java:
1813         (paint): Remove unneccessary part of the if-expression.
1814         (damageRange): Added case where the range spans multiple lines.
1815         * javax/swing/text/DefaultCaret.java:
1816         (clearHighlight): New method.
1817         (handleHighlight): Removed unneccessary part of the if-expression.
1818         (setDot): Use clearHighlight method.
1819         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
1820         of Vector.
1821         (paint): Prevented calling size() on every loop iteration, fixed
1822         calculation of allocation area bounds.
1823         (getHighlights): Implemented.
1824         (removeHighlight): Mark damaged area in textcomponent.
1825         (addHighlight): Mark damaged area in textcomponent.
1826         (changeHighlight): Mark damaged area in textcomponent.
1827         (DefaultHighlighter.HighlightEntry): Made it a real
1828         Highlighter.Highlight implementation.
1829         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
1830         calculations.
1832 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
1834         * java/util/zip/ZipConstants.java
1835         (LOCSIG): Change type to long.
1836         (EXTSIG): Likewise.
1837         (CENSIG): Likewise.
1838         (ENDSIG): Likewise.
1839         * java/util/zip/ZipOutputStream.java
1840         (writeLeInt(long)): New method.
1842 2006-02-21  Michael Koch  <konqueror@gmx.de>
1844         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
1846 2006-02-20  Mark Wielaard  <mark@klomp.org>
1848         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1849         (begin_drawing_operation): Output stacktrace and return on bad cairo
1850         status.
1851         (end_drawing_operation): Likewise. And reset cairo_t.
1853 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
1855         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
1856         in backward selection action.
1858 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
1860         * java/lang/reflect/Proxy.java:
1861         (ProxyData.getProxyData): Skipped overriding of core methods.
1862         (ProxyData.isCoreObjectMethod): New method.
1864 2006-02-20  Mark Wielaard  <mark@klomp.org>
1866         * gnu/java/nio/charset/Provider.java (Provider): Package private.
1868 2006-02-20  Roman Kennke  <kennke@aicas.com>
1870         * javax/swing/text/html/Option.java: New class.
1872 2006-02-20  Lillian Angel  <langel@redhat.com>
1874         * java/swt/Window.java
1875         (show): Calling show() on the owned windows caused problems.
1876         Changed back to get the peer and call setVisible.
1878 2006-02-20  Roman Kennke  <kennke@aicas.com>
1880         * javax/swing/plaf/basic/BasicTextUI.java
1881         (damageRange): Implemented this method.
1883 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
1885         * javax/swing/text/GapContent.java:
1886         (shiftGapEndUp): Corrected new mark value.
1887         * javax/swing/text/AbstractDocument.java:
1888         (remove): Changed order of operations.
1890 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
1892         * javax/swing/text/GapContent.java:
1893         (shiftGapEndUp): Reverted.
1894         * javax/swing/text/AbstractDocument.java:
1895         (remove): Reverted.
1897 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
1899         * javax/swing/text/GapContent.java:
1900         (shiftGapEndUp): Corrected new mark value.
1901         * javax/swing/text/AbstractDocument.java:
1902         (remove): Changed order of operations.
1904 2006-02-20  Mark Wielaard  <mark@klomp.org>
1906         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
1907         parent field.
1908         (insert): Likewise.
1909         (addNotify): Add the item after addNotifying it.
1910         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
1911         there is a peer. Use getParent() and setParent() to manipulate parent
1912         field.
1913         (add(Menu)): Use getParent() and setParent() to manipulate parent
1914         field. Call addNotify() and addMenu() when there is a peer.
1915         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
1916         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
1917         when there is a peer.
1918         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
1919         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
1920         (setFont): Call setFont(Font).
1921         (setFont(Font)): Document. Only set font when not null.
1922         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
1923         protected.
1924         (connectSignals): Likewise.
1925         (GtkMenuItemPeer): Document. Don't try to add item. Always call
1926         connectSignals().
1927         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
1928         protected.
1929         (postMenuActionEvent): Document.
1930         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
1931         protected.
1932         (addItem): Document. Made private.
1933         (addTearOff): Made private.
1934         (connectSignals): New protected overridden method.
1935         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
1936         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
1937         (create): Document.
1938         (addMenu): Made private, take GtkMenuPeer as argument and document.
1939         (GtkMenuBarPeer): Document.
1940         (nativeSetHelpMenu): Removed.
1941         (addHelpMenu): Implement.
1942         (delMenu): Document.
1943         (addMenu): Implement.
1944         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
1945         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
1946         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1947         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
1948         Removed.
1950 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1952         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
1953         Expect that proxy interfaces may have different class loaders.
1954         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
1955         * java/rmi/registry/Registry.java,
1956         * java/rmi/server/UnicastRemoteObject.java: 
1957         Documented about proxy stubs.
1958         * gnu/java/rmi/server/CombinedClassLoader.java,
1959         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
1960         * NEWS: Added entry.
1962 2006-02-19  Mark Wielaard  <mark@klomp.org>
1964         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
1965         Parent and Bounds of our children if either or parent is showing, or
1966         we are a Window and are showing ourselves now.
1968 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1970         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
1971         New method.
1972         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
1973         Another stub name fix.
1975 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1977         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
1978         Call convertStubName. (convertStubName): New method.
1979         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
1980         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
1981         (convertStubName): New method.
1982         (getMethodHashCode): 
1983         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
1984         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
1986 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1988         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
1990 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1992         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
1994 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1996         * javax/swing/JViewport.java (paintBackingStore): If the component has
1997         not been scrolled, only repaint the buffer part, indicated by
1998         the parameter graphics clip. 
1999      
2000 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
2002         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
2003         internal format.
2004         (writePrivateKey): Likewise.
2005         (writeKey): New method.
2006         (getKeyType): Likewise.
2007         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
2008         internal format.
2009         (readPrivateKey): Likewise.
2010         (getKeyPairCodec): New method.
2011         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
2012         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
2013         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
2014         (RSA_PSS_ENCODING): Likewise..
2015         (RSA_PKCS1_V1_5_ENCODING): Likewise.
2016         (RSA_PSS_SIG): Redefined using other constants.
2017         (RSA_PKCS1_V1_5_SIG): Likewise.
2018         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
2019         * gnu/java/security/util/FormatUtil.java: New file.
2020         * gnu/java/security/sig/SignatureFactory.java (names): New field.
2021         (getInstance): Let RSASignatureFactory handle RSA signature names.
2022         (getNames): Handle new RSA signature (with format) names.
2023         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
2024         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
2025         for null md.
2026         (name): Include hash algorithm name.
2027         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
2028         * gnu/java/security/sig/rsa/RSAPSSSignature.java
2029         (RSAPSSSignature): Call constructor with IMessageDigest.
2030         (RSAPSSSignature(ImessageDigest,int)): New constructor.
2031         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
2032         file.
2033         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
2034         Likewise.
2035         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
2036         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
2037         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
2038         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
2039         hash algorithm name to exception.
2040         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
2041         * gnu/java/security/key/KeyPairCodecFactory.java
2042         (names): New class field.
2043         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
2044         (getInstance(String,String)): New method.
2045         (getInstance(String,int)): New method.
2046         (getInstance(byte[])): Removed.
2047         (getInstance(Key)): Handle new formats.
2048         (getNames): Likewise.
2049         (getEncodingName(int)): Moved to FormatUtil.
2050         (getEncodingShortName(int)): Likewise.
2051         (getRawCodec(String)): New method.
2052         (getX509Codec(String)): Likewise.
2053         (getPKCS8Codec(String)): Likewise.
2054         (getRawCodec(Key)): Likewise.
2055         (getX509Codec(Key)): Likewise.
2056         (getPKCS8Codec(Key)): Likewise.
2057         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
2058         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
2059         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
2060         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
2061         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
2062         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
2063         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
2064         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
2065         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
2067 2006-02-18  Mark Wielaard  <mark@klomp.org>
2069         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
2070         DragSource.
2071         (NoDragGestureRecognizer): New static class.
2072         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
2073         Toolkit doesn't support drag and drop.
2075 2006-02-18  Mark Wielaard  <mark@klomp.org>
2077         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
2078         (AbstractAction(String)): Just call putValue() for NAME.
2079         (putValue): Nothing to do is old and new value are both null.
2081 2006-02-18  Mark Wielaard  <mark@klomp.org>
2083         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
2084         through getContentPane().
2085         (preferredLayoutSize): Likewise.
2087 2006-02-18  Mark Wielaard  <mark@klomp.org>
2089         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
2090         actually set before painting.
2092 2006-02-18  Mark Wielaard  <mark@klomp.org>
2094         * javax/swing/text/html/HTMLDocument.java (addContent):
2095         Fully qualify AbstractDocument.AttributeContext and
2096         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
2098 2006-02-18  Mark Wielaard  <mark@klomp.org>
2100         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
2101         (getRepresentationClassFromMime): Add exception cause to
2102         IllegalArgumentException.
2104 2006-02-17  Lillian Angel  <langel@redhat.com>
2106         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
2107         Removed unneeded import.
2108         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
2109         Removed unneeded imports.
2110         * java/awt/BorderLayout.java:
2111         Fixed comment, this is not yet handled in the JDK 1.5.
2112         * java/awt/Container.java:
2113         Removed unneeded import.
2115 2006-02-17  Lillian Angel  <langel@redhat.com>
2117         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2118         (setBounds): Removed check. Coordinates should always be changed
2119         to incorporate the parent's coordinates.
2120         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2121         (setMenuBar): Added checks. Don't validate component if it has 
2122         not been validated yet, it will be validated later. Only validate
2123         if it has already been validated, in that case it needs to be
2124         revalidated.
2125         * java/awt/Window.java
2126         (show): Added check. If the window is visible, then bring it to the
2127         front. Otherwise, iterate through all its children windows and show them.
2128         No need to do both.
2130 2006-02-17  Roman Kennke  <kennke@aicas.com>
2132         * javax/swing/text/html/ParagraphView.java: New file.
2134 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2136         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
2137         is included. (moveToCellBeingEdited): Adjusted to start editing at the
2138         same location where was the initial text.
2139         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
2141 2006-02-17  Chris Burdess  <dog@gnu.org>
2143         Fixes PRs 26319, 26320, 26321, 26322, 26325
2144         * gnu/xml/stream/SAXParser.java: On error, reset parser before
2145           rethrowing exception.
2146         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
2147           1.1-style prefix unbinding in 1.0 document" error for xmlns
2148           prefixes, not xmlns attributes. Fix a problem with empty namespace
2149           stack at the end of a document. Permit parameter entity references
2150           in element and attribute-list definition name area. Corrected
2151           normalisation of whitespace character entity references in CDATA
2152           attribute values. Fixed number of characters read following a
2153           reset when detecting end of character data with characters after a
2154           Unicode surrogate pair.
2156 2006-02-17  Roman Kennke  <kennke@aicas.com>
2158         * javax/swing/text/html/HTMLEditorKit.java
2159         (HTMLFactory.create): Create InlineView for content tags.
2160         * javax/swing/text/html/HTMLDocument.java
2161         (HTMLReader.flush): Call create() on first flush and insert
2162         on subsequent flushes.
2164 2006-02-17  Roman Kennke  <kennke@aicas.com>
2166         * javax/swing/text/AbstractDocument.java
2167         (BranchElement.getStartOffset): Implemented workaround for wrong
2168         NPE.
2169         (BranchElement.getEndOffset): Implemented workaround for wrong
2170         NPE.
2171         (ElementBuffer.split): Use createBranchElement() instead of
2172         new BranchElement().
2173         (ElementBuffer.insertFracture): Use createBranchElement() instead of
2174         new BranchElement().
2175         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
2176         instead of new BranchElement().
2177         (createDefaultRoot): Use createBranchElement() and createLeafElement
2178         instead of the constructors.
2179         (create): Rewritten.
2181 2006-02-17  Keith Seitz  <keiths@redhat.com>
2183         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
2184         (SIZE): New constant.
2185         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
2186         (executeIDsizes): Use SIZE constant.
2187         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
2188         (SIZE): New constant.
2190 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2192         * javax/swing/JTable.java (IconCellRenderer): Set the component
2193         text to empty string. (createDefaultRenderers): Register
2194         IconCellRenderer also for ImageIcon. 
2195         (getCellEditor(int, int), getCellRenderer(int, int)):
2196         Use model index for data model and column index for column model.
2197         (getColumnClass): Convert to model index before requesting class
2198         from model. 
2200 2006-02-17  Roman Kennke  <kennke@aicas.com>
2202         * javax/swing/text/html/HTMLDocument.java
2203         (createDefaultRoot): Implemented.
2204         (createLeafElement): Implemented.
2205         (createBranchElement): Implemented.
2206         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
2207         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
2208         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
2209         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
2210         (HTMLReader.blockOpen): Add name attribute with the current tag.
2211         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
2213 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2215         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
2216         Rewritten.
2217         * javax/swing/table/JTableHeader.java: Documenting related methods.
2219 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
2221         Fixes PR 25752
2222         * gnu/java/net/protocol/ftp/FTPURLConnection.java
2223         (connect): Changed to use SystemProperties.
2224         (getInputStream): Try changeWorkingDirectory to figure out if
2225         url is a directory, if not use retrieve.
2226         (getOutputStream): Don't worry about directories, simply always
2227         try to do a store.
2229 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
2231         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
2232         (ActiveModeDTP): Mark accept thread as daemon.
2234 2006-02-17  Michael Koch  <konqueror@gmx.de>
2236         * tools/.cvsignore: Ignore tools.zip.
2238 2006-02-16  Keith Seitz  <keiths@redhat.com>
2240         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
2241         Set the ID's reference.
2242         (<clinit>): Remove comments for field, method, and frame ID types,
2243         which will not be handled by VMIdManager.
2245 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2247         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
2248         Use model index, not the column number.
2249         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
2250         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
2251         movement by painting draggingHeaderRect.
2252         * NEWS: Added entry about JTable columns. 
2254 2006-02-16  Keith Seitz  <keiths@redhat.com>
2256         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
2257         default size of eight bytes.
2258         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
2259         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
2260         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
2261         (executeIDsizes): Use new static methods.
2262         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
2263         method.
2264         
2265 2006-02-16  David Daney  <ddaney@avtrex.com>
2267         PR classpath/26312
2268         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
2269         return value with 0xff.
2271 2006-02-16  Keith Seitz  <keiths@redhat.com>
2273         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
2274         (matches): Use Iterator instead of ListIterator.
2276 2006-02-16  Keith Seitz  <keiths@redhat.com>
2278         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
2279         processor thread for easier debugging.
2280         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
2281         main thread.
2283 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2285         * javax/swing/JTable.java 
2286         (TableColumnPropertyChangeHandler.propertyChange): Return without
2287         action if table header resizing column in not null. (doLayout):
2288         Only repaint the header if it is not null.      
2289         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
2290         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
2291         Rewritten. (MouseInputHandler.endResizing): New method.
2293 2006-02-16  Roman Kennke  <kennke@aicas.com>
2295         * javax/swing/text/html/InlineView.java: New file.
2297 2006-02-16  Roman Kennke  <kennke@aicas.com>
2299         * javax/swing/JTabbedPane.java
2300         (AccessibleJTable.getAccessibleChild): Implemented to return
2301         the Page instance for the specified index.
2302         (Page): Changed to implement Accessible and extend
2303         AccessibleContext.
2304         (Page.getAccessibleContext): New method.
2305         (Page.getAccessibleRole): New method.
2306         (Page.getAccessibleStateSet): New method.
2307         (Page.getAccessibleIndexInParent): New method.
2308         (Page.getAccessibleChildrenCount): New method.
2309         (Page.getAccessibleChild): New methdod.
2310         (Page.getLocale): New method.
2312 2006-02-16  Roman Kennke  <kennke@aicas.com>
2314         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2315         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
2316         tabCount gets greater than tabRuns.length.
2317         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
2318         when tabCount gets greater than tabRuns.length.
2319         (paintTabArea): Don't set tabCount == runCount.
2321 2006-02-16  Roman Kennke  <kennke@aicas.com>
2323         * javax/swing/plaf/basic/BasicTextUI.java
2324         (installUI): Moved installation of PropertyChangeListener
2325         to installListeners(). Call modelChanged() after everything is
2326         is installed.
2327         (installListeners): Install PropertyChangeListener here.
2328         (uninstallUI): Moved uninstallation of PropertyChangeListener
2329         to uninstallListeners.
2330         (uninstallListeners): Uninstall PropertyChangeListener here.
2332 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2334         * javax/swing/JTable.java (doLayout): 
2335         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
2336         on exit.
2337         javax/swing/plaf/basic/BasicTableHeaderUI.java 
2338         (MouseInputHandler.mouseDragged): Do not repaint the header.
2340 2006-02-16  Roman Kennke  <kennke@aicas.com>
2342         * javax/swing/JViewport.java
2343         (static_initializer): Set default scrollMode to backingstore.
2345 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2347         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
2348         returned by getCellRect. To not translate the component.
2350 2006-02-16  Roman Kennke  <kennke@aicas.com>
2352         * javax/swing/JComponent.java
2353         (rectCache): Made field non-static to avoid nasty interferences.
2354         (computeVisibleRect): Avoid creation of new Rectangles and double
2355         calculations on ints by using Swing.computeIntersection() instead
2356         of Rectangle2D.intersect().
2357         (repaint): Interect the dirty region with the visible rectangle
2358         of this component to avoid unnecessary painting.
2360 2006-02-16  Gary Benson  <gbenson@redhat.com>
2362         * java/lang/Thread.java (stop): Add a missing access check.
2364 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
2366         * javax/swing/text/JTextComponent.java:
2367         (replaceSelection): Added code to update the magic caret position.
2368         * javax/swing/text/DefaultEditorKit.java: Added code to update
2369         the magic caret position of the text component in all relevant
2370         movement actions, make use of the magic caret position in up
2371         and down movements and selections, simplified some actions
2372         (code-wise).
2374 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
2376         * gnu/java/lang/CharData.java: Regenerated from 
2377         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
2378         and scripts/unicode-muncher.pl.
2379         * java/lang/Character.java: 
2380         (PrivateUseCharacters): New private static class.
2381         (UnassignedCharacters): Likewise.
2382         (blocks): Changed from char[] to char[][] to reflect the changes in 
2383         gnu/java/lang/CharData.  There is now one char[] per Unicode code
2384         plane.
2385         (data): Likewise.
2386         (numValue): Likewise.
2387         (upper): Likewise.
2388         (lower): Likewise.
2389         (direction): Likewise.
2390         (readChar): Replaced this method with new method readCodePoint.
2391         (readCodePoint): New method.
2392         (isLowerCase(char)): Redirected to new isLowerCase(int).
2393         (isLowerCase(int)): New method.
2394         (isUpperCase(char)): Redirected to new isUpperCase(int).
2395         (isUpperCase(int)): New method.
2396         (isTitleCase(char)): Redirected to new isTitleCase(int).
2397         (isTitleCase(int)): New method.
2398         (isDigit(char)): Redirected to new isDigit(int).
2399         (isDigit(int)): New method.
2400         (isDefined(char)): Redirected to new isDefined(int).
2401         (isDefined(int)): New method.
2402         (isLetter(char)): Redirected to new isLetter(int).
2403         (isLetter(int)): New method.
2404         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
2405         (isLetterOrDigit(int)): New method.
2406         (isJavaIdentifierStart(char)): Redirected to new 
2407         isJavaIdentifierStart(int).
2408         (isJavaIdentifierStart(int)): New method.
2409         (isJavaIdentifierPart(char)): Redirected to new 
2410         isJavaIdentifierPart(int).
2411         (isJavaIdentifierPart(int)): New method.
2412         (isUnicodeIdentifierStart(char)): Redirected to new
2413         isUnicodeIdentifierStart(int).
2414         (isUnicodeIdentifierStart(int)): New method.
2415         (isUnicodeIdentifierPart(char)): Redirected to new 
2416         isUnicodeIdentifierPart(int).
2417         (isUnicodeIdentifierPart(int)): New method.
2418         (isIdentifierIgnorable(char)): Redirected to new
2419         isIdentifierIgnorable(int).
2420         (isIdentifierIgnorable(int)): New method.
2421         (toLowerCase(char)): Changed access to lower to correspond with new
2422         char[][] type of lower.
2423         (toLowerCase(int)) New method.
2424         (toUpperCase(char)): Changed access to upper to correspond with new
2425         char[][] type of upper.
2426         (toUpperCase(int)): New method.
2427         (toTitleCase(int)): New method.
2428         (digit(char, int)): Replaced call to readChar with call to 
2429         readCodePoint and changed access to numValue to reflect new char[][]
2430         type of numValue. 
2431         (digit(int, int)): New method.
2432         (getNumericValue(char)): Changed access to numValue to reflect new
2433         char[][] type of numValue.
2434         (getNumericValue(int)): New method.
2435         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
2436         (isSpaceChar(int)): New method.
2437         (isWhitespace(char)): Redirected to new isWhitespace(int).
2438         (isWhitespace(int)): New method.
2439         (isISOControl(char)): Redirected to new isISOControl(int).
2440         (isISOControl(int)): New method.
2441         (getType(char)): Redirected to new getType(int).
2442         (getType(int)): New method.
2443         (getDirectionality(char)): Redirected to new getDirectionality(int).
2444         (getDirectionality(int)): New method.
2445         (isMirrored(char)): Changed call to readChar to readCodePoint.
2446         (isMirrored(int)): New method.
2447         * java/lang/String.java:
2448         (upperCaseExpansion): Changed access to Character.direction to reflect
2449         new char[][] type of direction.
2450         (offsetByCodePoints): New method.
2451         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
2452         4.0.0 which introduced supplementary character assignments.  
2454 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2456         * javax/swing/JTable.java,
2457         javax/swing/plaf/basic/BasicTableHeaderUI.java,
2458         javax/swing/table/DefaultTableModel.java: Documented.
2460 2006-02-15  Lillian Angel  <langel@redhat.com>
2462         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2463         Removed duplicate methods.
2465 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2467         * javax/swing/JTable.java (distributeSpillResizing): New method.
2468         (doLayout): Use distributeSpillResizing when resizing.
2469         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
2470         Rewritten. (installListeners): Add mouse motion listener. 
2471         (uninstallListeners): Remove mouse motion listener. 
2473 2006-02-15  Lillian Angel  <langel@redhat.com>
2475         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2476         (setVisible): Removed method.
2477         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2478         (setLocation): New method.
2479         (setLocationUnlocked): New method.
2480         (show): Changed to use setLocation instead of setBounds.
2481         * java/awt/Component.java
2482         (show): Should call peer.show(), not peer.setVisible(), so the
2483         location of the component is correctly set.
2484         (preferredSize): Added curly braces so else statements are
2485         properly associated with if's.
2486         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2487         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
2488         New function.
2489         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
2490         LocationUnlocked): New function.
2491         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
2492         Added declarations for Java_gnu_java_awt_peer_gtk_
2493         GtkWindowPeer_nativeSetLocation and 
2494         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
2495         _nativeSetLocationUnlocked.
2497 2006-02-15  Mark Wielaard  <mark@klomp.org>
2499         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2500         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
2501         Downcast gtk_plug_new result when used.
2503 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
2505         * java/io/ObjectOutputStream.java (writeClassDescriptor):
2506         Call assignNewHandle() after writing Proxy class.
2508 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
2510         Fixes bug #14144
2511         * java/io/ObjectInputStream.java (readClassDescriptor):
2512         Class doesn't have to be abstract for first_nonserial.
2514 2006-02-15  Roman Kennke  <kennke@aicas.com>
2516         * javax/swing/JInternalFrame.java
2517         (setClosed): Call dispose to actually make the frame invisible
2518         and unselected.
2520 2006-02-15  Roman Kennke  <kennke@aicas.com>
2522         * javax/swing/JInternalFrame.java
2523         (dispose): Call setVisible(false) instead of hide.
2524         (doDefaultCloseOperation): Likewise.
2526 2006-02-15  Roman Kennke  <kennke@aicas.com>
2528         * javax/swing/JComponent.java
2529         (paintChildren): Also check for the visibility of a child component
2530         to avoid artifacts.
2531         (repaint): Simply add this component to the RepaintManager rather than
2532         trying to do useless optimization here.
2534 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
2536         * javax/swing/JSpinner.java
2537         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
2538         PropertyChangeListener,
2539         (DefaultEditor.getSpinner): Updated API docs,
2540         (DefaultEditor.dismiss): Likewise,
2541         (DefaultEditor.getTextField): Likewise,
2542         (DefaultEditor.layoutContainer): Likewise,
2543         (DefaultEditor.minimumLayoutSize): Likewise,
2544         (DefaultEditor.preferredLayoutSize): Likewise,
2545         (DefaultEditor.propertyChange): Implemented,
2546         (DefaultEditor.stateChanged): Implemented,
2547         (DefaultEditor.removeLayoutComponent): Updated API docs,
2548         (DefaultEditor.addLayoutComponent): Likewise,
2549         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
2550         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
2551         (NumberEditor.getFormat): Implemented,
2552         (NumberEditor.getModel): Updated API docs,
2553         (NumberEditorFormatter): New static inner class,
2554         (ListEditor.getModel): Updated API docs,
2555         (DateEditor.dateFormat): Removed,
2556         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
2557         (DateEditor.DateEditor(JSpinner, String)): Likewise,
2558         (DateEditor.init): Removed,
2559         (DateEditor.getFormat): Reimplemented,
2560         (DateEditorFormatter): New static inner class,
2561         (ModelListener): New inner class,
2562         (model): Updated API docs,
2563         (editor): Likewise,
2564         (listener): Removed,
2565         (JSpinner()): Updated API docs,
2566         (JSpinner(SpinnerModel)): Set up ModelListener,
2567         (setEditor): Fire property change,
2568         (getModel): Updated API docs,
2569         (setModel): Removed check for null editor,
2570         (setValue): Updated API docs,
2571         (getUIClassID): Updated API docs,
2572         (createEditor): Handle SpinnerListModel case,
2573         * javax/swing/plaf/basic/BasicSpinnerUI.java
2574         (createUI): Updated API docs,
2575         (createPropertyChangeListener): Added FIXME,
2576         (installDefaults): Set text field border to null,
2577         (DefaultLayoutManager): Updated API docs,
2578         (DefaultLayoutManager.layoutContainer): Modified layout,
2579         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
2580         (DefaultLayoutManager.preferredLayoutSize): Likewise,
2581         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
2582         (DefaultLayoutManager.addLayoutComponent): Likewise,
2583         (DefaultLayoutManager.minSize): Renamed prefSize,
2584         (DefaultLayoutManager.setBounds): Reformatted,
2585         (DefaultLayoutManager.editor): Added API docs,
2586         (DefaultLayoutManager.next): Likewise,
2587         (DefaultLayoutManager.previous): Likewise,
2588         * javax/swing/plaf/metal/MetalLookAndFeel.java
2589         (initComponentDefaults): Added entry for 'Spinner.border',
2590         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
2592 2006-02-15  Chris Burdess  <dog@gnu.org>
2594         * gnu/xml/validation/datatype/BooleanType.java,
2595           gnu/xml/validation/datatype/ByteType.java,
2596           gnu/xml/validation/datatype/DateTimeType.java,
2597           gnu/xml/validation/datatype/DateType.java,
2598           gnu/xml/validation/datatype/DecimalType.java,
2599           gnu/xml/validation/datatype/DoubleType.java,
2600           gnu/xml/validation/datatype/DurationType.java,
2601           gnu/xml/validation/datatype/FloatType.java,
2602           gnu/xml/validation/datatype/GDayType.java,
2603           gnu/xml/validation/datatype/GMonthDayType.java,
2604           gnu/xml/validation/datatype/GMonthType.java,
2605           gnu/xml/validation/datatype/GYearMonthType.java,
2606           gnu/xml/validation/datatype/GYearType.java,
2607           gnu/xml/validation/datatype/IntType.java,
2608           gnu/xml/validation/datatype/IntegerType.java,
2609           gnu/xml/validation/datatype/LongType.java,
2610           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
2611           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
2612           gnu/xml/validation/datatype/MinExclusiveFacet.java,
2613           gnu/xml/validation/datatype/MinInclusiveFacet.java,
2614           gnu/xml/validation/datatype/NegativeIntegerType.java,
2615           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
2616           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
2617           gnu/xml/validation/datatype/PositiveIntegerType.java,
2618           gnu/xml/validation/datatype/ShortType.java,
2619           gnu/xml/validation/datatype/SimpleType.java,
2620           gnu/xml/validation/datatype/TimeType.java,
2621           gnu/xml/validation/datatype/TypeBuilder.java,
2622           gnu/xml/validation/datatype/UnsignedByteType.java,
2623           gnu/xml/validation/datatype/UnsignedIntType.java,
2624           gnu/xml/validation/datatype/UnsignedLongType.java,
2625           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
2626           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
2627           minInclusive facets use the value space of the base type, and
2628           implement.
2630 2006-02-15  Mark Wielaard  <mark@klomp.org>
2632         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2633         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
2634         gtk_plug_new() returns a GtkWindow.
2636 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
2638         * javax/swing/SpinnerNumberModel.java
2639         (getNextValue): Check for null maximum,
2640         (getPreviousValue): Check for null minimum.
2642 2006-02-15  Roman Kennke  <kennke@aicas.com>
2644         * javax/swing/plaf/basic/BasicTableUI.java
2645         (paint): Paint vertical and horizontal lines one pixel shifted
2646         left/top.
2648 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
2650         * java/util/zip/ZipFile.java
2651         (checkZipFile): Inlined readLeInt and rewritten for robustness.
2652         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
2653         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
2654         (readEntries): Rewritten to use PartialInputStream.
2655         (locBuf, checkLocalHeader): Removed.
2656         (getInputStream): Rewritten to use new PartialInputStream.
2657         (PartialInputStream): Rewritten to do buffering.
2659 2006-02-15  Michael Koch  <konqueror@gmx.de>
2661         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
2662         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
2663         Make sure the embedded window gets no decorations.
2664         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2665         (window_get_frame_extents): Return early of the window has no
2666         decorations.
2668 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2670         * examples/gnu/classpath/examples/swing/TableDemo.java
2671         (TModel, createContent): Explain which value appears in the header.
2672         * javax/swing/JTable.java (setColumnModel): Only set the
2673         column header value if the getHeaderValue() returns null.
2675 2006-02-14  Mark Wielaard  <mark@klomp.org>
2677         Fixes bug #23931
2678         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
2679         (getErrorImage): New static method.
2680         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
2681         (bufferedImageOrError): Renamed to ...
2682         (imageOrError): Renamed from bufferedImageOrError, takes Image.
2683         Returns GtkImage.getErrorImage() when argument null.
2684         (createImage(String)): Always use imageOrError.
2685         (createImage(URL)): Likewise.
2686         (createImage(ImageProducer)): Likewise.
2687         (createImage(byte[],int,int)): Likewise.
2689 2006-02-14  Roman Kennke  <kennke@aicas.com>
2691         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
2692         unneeded imports.
2693         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2694         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
2695         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
2696         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
2697         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
2699 2006-02-14  Roman Kennke  <kennke@aicas.com>
2701         * javax/swing/text/AsyncBoxView.java
2702         (ChildState.locator): Removed wrong field.
2703         (ChildState): Removed initialization of removed field.
2704         (locator): Changed access modifier to be protected as specified.
2706 2006-02-14  Roman Kennke  <kennke@aicas.com>
2708         * javax/swing/ToolTipManager.java: Removed unneeded imports.
2709         * javax/swing/Timer.java: Some small reindention.
2710         (task): Made package private to avoid synthetic accessor method.
2712 2006-02-14  Roman Kennke  <kennke@aicas.com>
2714         * javax/swing/SwingUtilities.java
2715         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
2716         no icon.
2718 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2720         * examples/gnu/classpath/examples/swing/TableDemo.java:
2721         Making the columns variable width.
2722         * javax/swing/JTable.java (distributeSpill, doLayout):
2723           Call getPreferredSize and not getSize().
2725 2006-02-14  Roman Kennke  <kennke@aicas.com>
2727         * javax/swing/DefaultCellEditor.java
2728         (DefaultCellEditor): API doc fixlet.
2730 2006-02-14  Roman Kennke  <kennke@aicas.com>
2732         * javax/swing/JViewport.java
2733         (isPaintRoot): New field.
2734         (repaint): Only call super here. Also added a comment regarding
2735         the diversion from the JDK.
2736         (paintBlit): Implemented real blitting.
2737         (paintImmediately2): New method. Overrides the same package private
2738         method in JComponent.
2740 2006-02-14  Roman Kennke  <kennke@aicas.com>
2742         * javax/swing/plaf/basic/BasicTableUI.java
2743         (paint): Check for boundary cases when determining the painting
2744         area.
2746 2006-02-14  Mark Wielaard  <mark@klomp.org>
2748         * java/awt/Menu.java (add): Always set parent of item to this. Call
2749         addNotify() on item when we have a MenuPeer already.
2750         (insert): Always adjust parent for item. Call addNotify() on item if
2751         we already have a peer.
2752         (remove(int)): Always clear item parent. Call removeNotify() on item
2753         if we had a peer.
2755 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2757         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
2758         row == getRowCount().
2760 2006-02-14  Lillian Angel  <langel@redhat.com>
2761         
2762         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2763         (setVisible): New method to override super. Need to set the
2764         native bounds of the component, so it appears at the
2765         correct location.
2767 2006-02-14  Mark Wielaard  <mark@klomp.org>
2769         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
2770         (remove): If menu component is the current MenuBar remove it,
2771         otherwise call super.remove().
2772         * java/awt/MenuBar.java (frame): Remove field.
2773         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
2775 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2777         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
2778         to NameServicePersistent.
2779         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
2780         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
2782 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2784         * NEWS: Updated tool status.
2785         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
2786         (constructor, bind, rebind): Rewritten.  
2787         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
2788         * tools/gnu/classpath/tools/giop/README: Updated.
2789         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
2790         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
2791         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
2792         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
2793         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
2794         New files.
2796 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
2798         * javax/swing/JComponent.java
2799         (getListeners): Check for PropertyChangeListener.class and delegate to 
2800         getPropertyChangeListeners() for that case.
2802 2006-02-13  Roman Kennke  <kennke@aicas.com>
2804         * javax/swing/plaf/basic/BasicTableUI.java
2805         (paint): Determine the cells that need painting based on the
2806         current clip. Use getCellRect() for calculating the cell
2807         bounds.
2809 2006-02-13  Roman Kennke  <kennke@aicas.com>
2811         * javax/swing/JTable.java
2812         (rectCache): New field.
2813         (getCellRect): Returns cached Rectangle instance.
2815 2006-02-13  Roman Kennke  <kennke@aicas.com>
2817         * javax/swing/JLayeredPane.java
2818         (removeAll): New method. Avoid potential memory leak.
2819         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
2820         calculation.
2822 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
2824         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
2825         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
2827 2006-02-13  Tom Tromey  <tromey@redhat.com>
2829         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
2830         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
2832 2006-02-13  Roman Kennke  <kennke@aicas.com>
2834         * javax/swing/RepaintManager.java
2835         (offscreenBuffers): New field.
2836         (doubleBuffer): Removed field.
2837         (repaintUnderway): New field.
2838         (commitRequests): New field.
2839         (RepaintManager): Initialize new fields.
2840         (paintDirtyRegions): Handle repaintUnderway flag. Commit
2841         buffers when done.
2842         (getOffscreenBuffer): Returns the offscreen buffer for the
2843         corresponding root component.
2844         (commitBuffer): New method.
2845         (commitRemainingBuffers): New method.
2846         * javax/swing/JComponent.java
2847         (paint): Call paintDoubleBuffered with the current clip.
2848         (paintImmediately2): Don't paint on screen here.
2849         (paintDoubleBuffered): Rewritten for real double buffering.
2850         (paintSimple): Draw to screen in this method.
2852 2006-02-13  Roman Kennke  <kennke@aicas.com>
2854         * javax/swing/JRootPane.java
2855         (JRootPane): Set opaque property to true.
2857 2006-02-13  Tom Tromey  <tromey@redhat.com>
2859         * .classpath: Updated for external/relaxngDatatype.
2861 2006-02-13  Chris Burdess  <dog@gnu.org>
2863         * gnu/xml/stream/UnicodeReader.java,
2864           gnu/xml/validation/datatype/Annotation.java,
2865           gnu/xml/validation/datatype/AnySimpleType.java,
2866           gnu/xml/validation/datatype/AnyType.java,
2867           gnu/xml/validation/datatype/AnyURIType.java,
2868           gnu/xml/validation/datatype/AtomicSimpleType.java,
2869           gnu/xml/validation/datatype/Base64BinaryType.java,
2870           gnu/xml/validation/datatype/BooleanType.java,
2871           gnu/xml/validation/datatype/ByteType.java,
2872           gnu/xml/validation/datatype/DateTimeType.java,
2873           gnu/xml/validation/datatype/DateType.java,
2874           gnu/xml/validation/datatype/DecimalType.java,
2875           gnu/xml/validation/datatype/DoubleType.java,
2876           gnu/xml/validation/datatype/DurationType.java,
2877           gnu/xml/validation/datatype/EntitiesType.java,
2878           gnu/xml/validation/datatype/EntityType.java,
2879           gnu/xml/validation/datatype/EnumerationFacet.java,
2880           gnu/xml/validation/datatype/Facet.java,
2881           gnu/xml/validation/datatype/FloatType.java,
2882           gnu/xml/validation/datatype/FractionDigitsFacet.java,
2883           gnu/xml/validation/datatype/GDayType.java,
2884           gnu/xml/validation/datatype/GMonthDayType.java,
2885           gnu/xml/validation/datatype/GMonthType.java,
2886           gnu/xml/validation/datatype/GYearMonthType.java,
2887           gnu/xml/validation/datatype/GYearType.java,
2888           gnu/xml/validation/datatype/HexBinaryType.java,
2889           gnu/xml/validation/datatype/IDRefType.java,
2890           gnu/xml/validation/datatype/IDRefsType.java,
2891           gnu/xml/validation/datatype/IDType.java,
2892           gnu/xml/validation/datatype/IntType.java,
2893           gnu/xml/validation/datatype/IntegerType.java,
2894           gnu/xml/validation/datatype/LanguageType.java,
2895           gnu/xml/validation/datatype/LengthFacet.java,
2896           gnu/xml/validation/datatype/ListSimpleType.java,
2897           gnu/xml/validation/datatype/LongType.java,
2898           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
2899           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
2900           gnu/xml/validation/datatype/MaxLengthFacet.java,
2901           gnu/xml/validation/datatype/MinExclusiveFacet.java,
2902           gnu/xml/validation/datatype/MinInclusiveFacet.java,
2903           gnu/xml/validation/datatype/MinLengthFacet.java,
2904           gnu/xml/validation/datatype/NCNameType.java,
2905           gnu/xml/validation/datatype/NMTokenType.java,
2906           gnu/xml/validation/datatype/NMTokensType.java,
2907           gnu/xml/validation/datatype/NameType.java,
2908           gnu/xml/validation/datatype/NegativeIntegerType.java,
2909           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
2910           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
2911           gnu/xml/validation/datatype/NormalizedStringType.java,
2912           gnu/xml/validation/datatype/NotationType.java,
2913           gnu/xml/validation/datatype/PatternFacet.java,
2914           gnu/xml/validation/datatype/PositiveIntegerType.java,
2915           gnu/xml/validation/datatype/QNameType.java,
2916           gnu/xml/validation/datatype/ShortType.java,
2917           gnu/xml/validation/datatype/SimpleType.java,
2918           gnu/xml/validation/datatype/StringType.java,
2919           gnu/xml/validation/datatype/TimeType.java,
2920           gnu/xml/validation/datatype/TokenType.java,
2921           gnu/xml/validation/datatype/TotalDigitsFacet.java,
2922           gnu/xml/validation/datatype/Type.java,
2923           gnu/xml/validation/datatype/TypeBuilder.java,
2924           gnu/xml/validation/datatype/TypeLibrary.java,
2925           gnu/xml/validation/datatype/TypeLibraryFactory.java,
2926           gnu/xml/validation/datatype/UnionSimpleType.java,
2927           gnu/xml/validation/datatype/UnsignedByteType.java,
2928           gnu/xml/validation/datatype/UnsignedIntType.java,
2929           gnu/xml/validation/datatype/UnsignedLongType.java,
2930           gnu/xml/validation/datatype/UnsignedShortType.java,
2931           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
2932           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
2933           RELAX NG datatype library implementation for XML Schema Datatypes.
2935 2006-02-13  Chris Burdess  <dog@gnu.org>
2937         * LICENCE,
2938           NEWS,
2939           configure.ac,
2940           doc/README.jaxp,
2941           external/Makefile.am,
2942           external/relaxngDatatype/.cvsignore,
2943           external/relaxngDatatype/Makefile.am,
2944           external/relaxngDatatype/README.txt,
2945           external/relaxngDatatype/copying.txt,
2946           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
2947           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
2948           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
2949           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
2950           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
2951           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
2952           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
2953           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
2954           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
2955           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
2956           lib/Makefile.am,
2957           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
2958           datatypes library API.
2960 2006-02-13  Mark Wielaard  <mark@klomp.org>
2962         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
2963         final.
2964         (gtkWidgetModifyFont(Font)): New protected helper method.
2965         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
2966         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
2967         protected and document.
2968         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
2969         Likewise.
2970         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
2971         Likewise.
2972         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
2973         Likewise.
2974         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
2975         (setFont): Removed method. Done in GtkMenuComponent.
2976         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
2977         abstract and protected.
2978         (setFont): Made private, add implementation.
2979         (setFont(Font)): Implemented.
2980         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
2981         Made protected and document.
2982         (create): Made protected.
2983         (setFont): Removed method. Done in GtkMenuComponent.
2984         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2985         (gtkWidgetModifyFont): Made protected and document.
2986         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
2987         Removed, similar to GtkGenericPeer super class implementation.
2988         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
2989         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2990         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
2991         Removed.
2993 2006-02-13  Mark Wielaard  <mark@klomp.org>
2995         * java/lang/Math.java (static): Explicitly call
2996         System.loadLibrary("javalang").
2998 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
3000         * javax/print/StreamPrintServiceFactory.java: New file.
3002 2006-02-13  Tom Tromey  <tromey@redhat.com>
3004         * tools/.cvsignore: Added Makefile.
3006 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
3008         * java/awt/print/PrinterGraphics.java: Reformatted.
3009         * java/awt/print/Paper.java: Likewise.
3010         * java/awt/print/PageFormat.java: Likewise.
3011         * java/awt/print/Pageable.java: Likewise.
3013 2006-02-13  Lillian Angel  <langel@redhat.com>
3015         * java/awt/BorderLayout.java
3016         (layoutContainer): Rewrote part of this function to 
3017         properly set the bounds of the components.
3018         (setBounds): Removed method, not needed.
3020 2006-02-13  Roman Kennke  <kennke@aicas.com>
3022         * javax/swing/text/DefaultStyledDocument.java
3023         (ElementBuffer.clone): Fixed replace call.
3024         (clone): Removed method.
3026 2006-02-13  Roman Kennke  <kennke@aicas.com>
3028         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
3030 2006-02-13  Roman Kennke  <kennke@aicas.com>
3032         * java/rmi/server/UnicastRemoteObject.java
3033         (exportObject(Remote)): Forward method call to export(Remote,int).
3035 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3037         * include/Makefile.am:
3038         Swapped Math.h for VMMath.h
3039         * include/java_lang_Math.h:
3040         Removed.
3041         * include/java_lang_VMMath.h:
3042         New autogenerated header for the new class.
3043         * java/lang/Math.java:
3044         (sin(double)): Changed to link to VMMath.
3045         (cos(double)): Changed to link to VMMath.
3046         (tan(double)): Changed to link to VMMath.
3047         (asin(double)): Changed to link to VMMath.
3048         (acos(double)): Changed to link to VMMath.
3049         (atan(double)): Changed to link to VMMath.
3050         (atan2(double)): Changed to link to VMMath.
3051         (exp(double)): Changed to link to VMMath.
3052         (log(double)): Changed to link to VMMath.
3053         (sqrt(double)): Changed to link to VMMath.
3054         (pow(double,double)): Changed to link to VMMath.
3055         (IEEEremainder(double,double)): Changed to link to VMMath.
3056         (ceil(double)): Changed to link to VMMath.
3057         (floor(double)): Changed to link to VMMath.
3058         (rint(double)): Changed to link to VMMath.
3059         * native/jni/java-lang/Makefile.am:
3060         Replaced java_lang_Math.c with java_lang_VMMath.c
3061         * native/jni/java-lang/java_lang_Math.c:
3062         Removed.
3063         * native/jni/java-lang/java_lang_VMMath.c:
3064         Renamed from java_lang_Math.c.
3065         * vm/reference/java/lang/VMMath.java:
3066         New class.
3067         (sin(double)): New native method.
3068         (cos(double)): New native method.
3069         (tan(double)): New native method.
3070         (asin(double)): New native method.
3071         (acos(double)): New native method.
3072         (atan(double)): New native method.
3073         (atan2(double)): New native method.
3074         (exp(double)): New native method.
3075         (log(double)): New native method.
3076         (sqrt(double)): New native method.
3077         (pow(double,double)): New native method.
3078         (IEEEremainder(double,double)): New native method.
3079         (ceil(double)): New native method.
3080         (floor(double)): New native method.
3081         (rint(double)): New native method.
3082         
3083 2006-02-13  Lillian Angel  <langel@redhat.com>
3085         * java/awt/Component.java
3086         (repaint): No need to call isShowing, it is done in the other repaint call.
3087         (repaint): Likewise.
3088         (repaint): Likewise.
3090 2006-02-13  Lillian Angel  <langel@redhat.com>
3092         * java/awt/Component.java
3093         (repaint): Reverted last change.
3094         (repaint): Likewise.
3095         (repaint): Likewise.
3097 2006-02-13  Lillian Angel  <langel@redhat.com>
3099         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
3100         (handleEvent): Made more efficent by handling paint event and
3101         setting the clip for the graphics.
3102         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3103         (handleEvent): Likewise.
3104         * java/awt/Component.java
3105         (repaint): No need to call isShowing, it is done in the other repaint call.
3106         (repaint): Likewise.
3107         (repaint): Likewise.
3109 2006-02-13  Roman Kennke  <kennke@aicas.com>
3111         * javax/swing/text/AbstractDocument.java
3112         (setParent): Added API docs. Call setParent(null) on children before
3113         disconnecting this view from the View hierarchy.
3115 2006-02-13  Roman Kennke  <kennke@aicas.com>
3117         * javax/swing/text/AbstractDocument.java
3118         (readUnlock): Don't attempt to unlock when the current threads also
3119         holds a write lock.
3121 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
3123         * javax/swing/plaf/metal/MetalBorders.java
3124         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
3125         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
3126         insets argument,
3127         (Flush3DBorder.borderInsets): New field,
3128         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
3129         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
3130         null insets argument, and populate result from borderInsets,
3131         (PaletteBorder.borderInsets): New field,
3132         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
3133         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
3134         null insets argument, and populate result from borderInsets,
3135         (InternalFrameBorder.borderInsets): New field,
3136         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
3137         directly,
3138         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
3139         for null insets argument, and populate result from borderInsets,
3140         (MenuItemBorder.borderInsets): Initialise to correct value.
3142 2006-02-13  Roman Kennke  <kennke@aicas.com>
3144         * javax/swing/text/AsyncBoxView.java: New file.
3146 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3148         Fixes bug #26166
3149         * gnu/regexp/RE.java(initialize): Parsing of character class expression
3150         was moved to a new method parseCharClass.
3151         (parseCharClass): New method originally in initialize. Added parsing
3152         of nested character classes.
3153         (ParseCharClassResult): New inner class used as a return value of
3154         parseCharClass.
3155         (getCharExpression),(getNamedProperty): Made static.
3156         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
3157         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
3158         nested character classes.
3159         (RETokenOneOf): New constructor accepting the Vector addition.
3160         (getMinimumLength), (getMaximumLength): Returns 1 if the token
3161         stands for only one character.
3162         (match): Added the processing of the Vector addition.
3163         (matchN), (matchP): Do not check next token if addition is used.
3165 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
3167         * AUTHORS: add self.
3169 2006-02-12  Tom Tromey  <tromey@redhat.com>
3171         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
3172         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
3173         (securityContext): Likewise.
3174         (log): Likewise.
3176 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
3178         Fixes PR 26218.
3180         * gnu/java/net/protocol/file/Connection.java (unquote):
3181         Convert Unicode characters outside basic plane to UTF-8,
3182         rather than throwing an exception.
3184 2006-02-12  Tom Tromey  <tromey@redhat.com>
3186         * javax/sound/sampled/LineEvent.java (readObject): New method.
3187         (writeObject): Likewise.
3188         (serialVersionUID): New field.
3190 2006-02-12  Mark Wielaard  <mark@klomp.org>
3192         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
3193         Silently ignores null listener.
3194         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
3195         (getPropertyChangeListeners): Returns empty PropertyChangeListener
3196         array for null propertyName.
3198 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
3200         * java/rmi/MarshalledObject.java: Added api docs to the class.
3201         * java/rmi/Remote.java: Added interface api docs.
3202         * java/rmi/package.html: Added package description.
3203         * java/rmi/AccessException.java: Minor api doc fixes.
3204         * java/rmi/NoSuchObjectException.java: Likewise.
3205         * java/rmi/AlreadyBoundException.java: Likewise.
3206         * java/rmi/RemoteException.java: Likewise.
3207         * java/rmi/NotBoundException.java: Likewise.
3208         * java/rmi/RMISecurityException.java: Likewise.
3209         * java/rmi/StubNotFoundException.java: Likewise.        
3211 2006-02-12  Mark Wielaard  <mark@klomp.org>
3213         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
3214         q() to get EventQueue.
3215         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
3216         (enableQueue): Remove static method.
3217         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
3218         Don't call GtkGenericPeer.enableQueue().
3220 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
3222         * java/rmi/MarshalledObject.java: Reformatted.
3223         * java/rmi/Naming.java: Likewise.       
3225 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
3227         * java/io/InputStream.java
3228         (read(byte[],int,int)): Changed argument validation to prevent
3229         integer overflow. Remove redundant check.
3231 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
3233         Fixes PR 26220
3234         * java/io/InputStreamReader.java
3235         (InputStreamReader(InputStream)): Use SystemProperties.
3236         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
3237         Throw NullPointerException if in is null.
3238         Added maxBytesPerChar initialisation.
3239         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
3240         Throw NullPointerException if in is null.
3242 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
3244         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
3245         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
3246         (GnuDHPublicKey): New constructor.
3247         (getEncoded): Removed.
3248         (valueOf): Added support for ASN.1 encoding.
3249         (getEncoded(int)): Likewise.
3250         (equals): New method.
3251         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
3252         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
3253         (GnuDHPrivateKey(5)): New constructor.
3254         (getEncoded): Removed.
3255         (valueOf): Added support for ASN.1 encoding.
3256         (getEncoded(int)): Likewise.
3257         (equals): New method.
3258         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
3259         (PREFERRED_ENCODING_FORMAT): New constant.
3260         (DEFAULT_ENCODING_FORMAT): Likewise.
3261         (preferredFormat): New field.
3262         (setup): Handle preferred encoding format identifier.
3263         (generate): Call constructors with format identifier.
3264         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
3265         (GnuDHKey): Added an int argument.
3266         (getEncoded): New method.
3267         (getFormat): New implementation.
3268         (getEncoded(int)): New abstract method.
3269         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
3270         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
3271         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
3272         key-pair generator and key-factory.
3273         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
3274         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
3275         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
3276         * gnu/java/security/jce/sig/EncodedKeyFactory.java
3277         (invokeConstructor): New method.
3278         (getConcreteClass): Likewise.
3279         (getConcreteCtor): Likewise.
3280         (invokeValueOf): Likewise.
3281         (getValueOfMethod): Likewise.
3282         (engineGeneratePublic): Add support for DH keys.
3283         (engineGeneratePrivate): Likewise.
3284         (decodeDHPublicKey(DHPublicKeySpec)): New method.
3285         (decodeDHPublicKey(byte[])): Likewise.
3286         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
3287         (decodeDHPrivateKey(byte[])): Likewise.
3289 2006-02-11  Mark Wielaard  <mark@klomp.org>
3291         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
3292         Removed field.
3293         (repaint): Immediately post to queue when tm <= 0, otherwise call
3294         RepaintTimerTask.schedule().
3295         (RepaintTimerTask): Make static.
3296         (RepaintTimerTask.repaintTimer): New static final field.
3297         (RepaintTimerTask.awtComponent): New field.
3298         (schedule): New static method.
3300 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3302         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
3303         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
3304         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
3305         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
3306         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
3307         Rewritten.
3308         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
3310 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
3312         * gnu/java/security/jce/sig/EncodedKeyFactory.java
3313         (engineGeneratePublic): Added support for raw key-specifications.
3314         (engineGeneratePrivate): Likewise.
3315         (decodeDSSPublicKey): New method.
3316         (decodeRSAPublicKey): Likewise.
3317         (decodeDSSPrivateKey): Likewise.
3318         (decodeRSAPrivateKey): Likewise.
3319         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
3320         (encodePrivateKey): Throw InvalidParameterException.
3321         (decodePublicKey): Likewise.
3322         (decodePrivateKey): Likewise.
3323         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
3324         (encodePublicKey): Likewise.
3325         (encodePrivateKey): Likewise.
3326         (decodePublicKey): Likewise.
3327         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
3328         (encodePrivateKey): Likewise.
3329         (decodePublicKey): Likewise.
3330         (decodePrivateKey): Likewise.
3331         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
3332         (encodePublicKey): Likewise.
3333         (encodePrivateKey): Likewise.
3334         (decodePublicKey): Likewise.
3336 2006-02-10  Roman Kennke  <kennke@aicas.com>
3338         * javax/swing/text/StyleContext.java
3339         (registerStaticAttributeKey): New static method.
3341 2006-02-10  Roman Kennke  <kennke@aicas.com>
3343         * javax/swing/text/DefaultStyledDocument.java
3344         (ElementBuffer.clone): New method.
3346 2006-02-10  Roman Kennke  <kennke@aicas.com>
3348         * javax/swing/text/ParagraphView.java
3349         (findOffsetToCharactersInString): New method.
3350         (getClosestPositionTo): New method.
3351         (getPartialSize): New method.
3352         (getTabBase): New method.
3353         (adjustRow): New method.
3354         (breakView): New method.
3355         (getBreakWeight): New method.
3357 2006-02-10  Roman Kennke  <kennke@aicas.com>
3359         * javax/swing/text/GapContent.java
3360         (updateUndoPositions): New method.
3361         * javax/swing/text/StringContent.java
3362         (updateUndoPositions): New method.
3364 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
3366         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
3367         Made it public.
3368         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
3369         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
3370         Added support for encoded key specifications.
3371         (engineGeneratePrivate): Likewise.
3372         (engineGetKeySpec): Likewise.
3373         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
3375 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
3377         * javax/swing/text/Utilities.java:
3378         (getTabbedTextOffset): Fixed usage of variable p0.
3379         (getPositionAbove): Rewritten.
3380         (getPositionBelow): Rewritten.
3382 2006-02-09  Roman Kennke  <kennke@aicas.com>
3384         * javax/swing/text/BoxView.java
3385         (getAxis): Added @since tag.
3386         (setAxis): Added @since tag.
3387         (layoutChanged): Added @since tag.
3388         (isLayoutValid): Added @since tag.
3389         (paint): Don't call setSize here. This is done in RootView already.
3390         (getMaximumSpan): Reimplemented to return the requirements'
3391         maximum size. Added API docs.
3392         (getMinimumSpan): New method.
3393         (layout): Fixed layout order.
3394         (modelToView): Call layout instead of setSize here.
3395         (getResizeWeight): New method.
3396         (getChildAllocation): New method.
3397         (forwardUpdate): New method.
3398         (viewToModel): New method.
3399         (flipEastEndWestEnds): New method.
3400         * javax/swing/text/CompositeView.java
3401         (modelToView): Made this method more robust by returning a default
3402         location if it's not possible to calculate one via the children.
3403         This default location returns the left or right edge of this
3404         view.
3405         (createDefaultLocation): New helper method.
3406         * javax/swing/text/IconView.java
3407         (modelToView): Don't throw BadLocationException. This should
3408         really only be thrown if the position is outside the document
3409         model, not if it's outside the view's boundary.
3411 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3413         * tools/Makefile.am: Handle rmi and giop folders separately.
3415 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
3417         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
3418         * javax/swing/SpinnerNumberModel.java: Likewise.
3420 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
3422         * javax/swing/SpinnerDateModel.java: Removed tabs,
3423         * javax/swing/SpinnerNumberModel.java: Likewise.
3425 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
3427         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
3428         * doc/unicode/UnicodeData-4.0.0.txt: New file.
3430 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
3432         Fixes bug #26081
3433         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
3434         (isRedirect): Removed, moved to Response.java.
3435         (connect): If error condition redirect responseSink to errorSink.
3436         (getInputStream): If error condition throw IOException, for the error
3437         codes 404 and 410 throw a FileNotFoundException.        
3438         * gnu/java/net/protocol/http/Response.java (isError): New method.
3439         (isRedirect): New method, moved from HTTPURLConnection.java.
3441 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3443         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
3444         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
3445         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
3446         Better diagnostic.
3447         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
3448         Rewritten.
3449         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
3450         AbstractMethodGenerator.
3451         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
3452         tools/gnu/classpath/tools/rmi/RMIC.java,
3453         tools/gnu/classpath/tools/rmi/RMIC.txt,
3454         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
3455         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
3456         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
3457         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
3458         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
3459         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
3460         New files.
3461         * NEWS: Corrected entry about the tools.
3463 2006-02-09  Lillian Angel  <langel@redhat.com>
3465         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3466         (handleEvent): Added more to check to prevent assertion errors.
3467         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
3468         (handleEvent): Likewise.
3469         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3470         (handleEvent): Likewise.
3472 2006-02-09  Mark Wielaard  <mark@klomp.org>
3474         * javax/swing/JTable.java (tableChanged): Interpret null event as
3475         "everything changed".
3477 2006-02-09  Roman Kennke  <kennke@aicas.com>
3479         * javax/swing/text/DefaultCaret.java
3480         (DocumentHandler.removeUpdate): When update policy is
3481         'on eventqueue', and the update doesn't come from the
3482         event queue, check if the current dot location is still
3483         valid.
3484         (moveDot): Make sure the new dot location is valid.
3485         (setDot): Set the mark the same as the dot.
3487 2006-02-09  Roman Kennke  <kennke@aicas.com>
3489         * javax/swing/text/AbstractDocument.java
3490         (remove): Perform all operations within a write lock and in the
3491         correct order.
3493 2006-02-09  Mark Wielaard  <mark@klomp.org>
3495         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
3496         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
3497         creater than min, adjusting page_size if necessary.
3498         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
3500 2006-02-09  Lillian Angel  <langel@redhat.com>
3502         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
3503         (handleEvent): Added code to handle PaintEvent.UPDATE.
3504         Sun does not call update(Graphics g) on Panels.
3505         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3506         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
3507         Sun does not call update(Graphics g) on Panels.
3509 2006-02-09  Roman Kennke  <kennke@aicas.com>
3511         * javax/swing/text/BoxView.java
3512         (myAxis): Made field private.
3513         (xLayoutValid): Replaced by layoutValid array.
3514         (yLayoutValid): Replaced by layoutValid array.
3515         (layoutValid): New field.
3516         (spansX): Replaced by spans array.
3517         (spansY): Replaced by spans array.
3518         (spans): New field.
3519         (offsetsX): Replaced by offsets array.
3520         (offsetsY): Replaced by offsets array.
3521         (offsets): New field.
3522         (requirements): New field.
3523         (BoxView): Initialize new fields.
3524         (layoutChanged): Rewritten to use the layoutValid array.
3525         (isLayoutValid): Rewritten to use the layoutValid array.
3526         (replace): Use the new arrays.
3527         (getPreferredSpan): Rewritten to call calculateXXXRequirements
3528         instead of baselineRequirements.
3529         (baselineRequirements): Rewritten to calculate baseline requirements.
3530         (baselineLayout): Rewritten to calculate baseline layout.
3531         (childAllocation): Use new arrays.
3532         (layout): Rewritten. Only update the layout if necessary.
3533         (layoutMajorAxis): Directly set layoutValid.
3534         (layoutMinorAxis): Directly set layoutValid. Use cached size
3535         requirements.
3536         (getWidth): Use new span array.
3537         (getHeight): Likewise.
3538         (setSize): Rewritten to simply call layout().
3539         (validateLayout): Removed unneeded method.
3540         (getSpan): Use new arrays.
3541         (getOffset): Use new arrays.
3542         (getAlignment): Use cached requirements if possible.
3543         (preferenceChanged): Use new arrays.
3544         * javax/swing/text/FlowView.java
3545         (FlowStrategy.insertUpdate): Do nothing here.
3546         (FlowStrategy.removeUpdate): Do nothing here.
3547         (FlowStrategy.changedUpdate): Do nothing here.
3548         (FlowStrategy.layoutRow): Rewritten.
3549         (FlowStrategy.createView): Rewritten.
3550         (FlowStrategy.adjustRow): New method.
3551         (LogicalView.getViewIndex): Fixed condition for finding child
3552         view.
3553         (layoutDirty): New field indicating the state of the layout.
3554         (FlowView): Initialize new field.
3555         (loadChildren): Set parent on logical view so that preferenceChanges
3556         get propagated upwards.
3557         (layout): Rewritten to match the specs.
3558         (insertUpdate): Set layout to dirty.
3559         (removeUpdate): Set layout to dirty.
3560         (changedUpdate): Set layout to dirty.
3561         * javax/swing/text/GlyphView.java
3562         (getBreakWeight): Rewritten to use the Utilities class. Commented
3563         out though because that is broken.
3564         (insertUpdate): Call preferenceChanged on this object instead of
3565         parent.
3566         * javax/swing/text/ParagraphView.java
3567         (Row.loadChildren): Overridden to be a noop to prevent initial
3568         creation of child views. This is carried out by the flow layout.
3569         * javax/swing/text/View.java
3570         (getPreferredSpan): Added API docs.
3571         (getResizeWeight): Added API docs.
3572         (getMaximumSpan): Added API docs. Rewritten to only have one exit
3573         point.
3574         (getMinimumSpan): Added API docs. Rewritten to return 0 when
3575         resizable instead of Integer.MAX_VALUE.
3576         (getAlignment): Added API docs.
3577         (replace): Added API docs.
3578         (forwardUpdate): Rewritten to only notify child views that need to
3579         be notified.
3581 2006-02-09  Roman Kennke  <kennke@aicas.com>
3583         * javax/swing/plaf/basic/BasicTextUI.java
3584         (RootView.paint): Call setSize() before painting the view.
3586 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3588         Fixes bug #26112
3589         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
3590         flag which enables backslash escape in a replacement.
3591         (getReplacement): New public static method. 
3592         (substituteImpl),(substituteAllImpl): Use getReplacement.
3593         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
3594         * java/util/regex/Matcher.java(appendReplacement)
3595         Use RE#getReplacement.
3596         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
3598 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
3600         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
3601         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
3602         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
3603         (PREFERRED_ENCODING_FORMAT): New constant.
3604         (DEFAULT_ENCODING_FORMAT): Likewise.
3605         (preferredFormat): New field.
3606         (setup): Add support for preferred encoding format.
3607         (generate): Call key constructors with explicit format identifier.
3608         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
3609         Call constructor with 3 arguments..
3610         (GnuRSAPublicKey(3)): New constructor.
3611         (valueOf): Added support for ASN.1 format.
3612         (getEncoded): Likewise.
3613         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
3614         Call constructor with 5 arguments.
3615         (GnuRSAPrivateKey(5)): New constructor.
3616         (GnuRSAPrivateKey(9)): New constructor.
3617         (valueOf): Added support for ASN.1 format.
3618         (getEncoded): Likewise.
3619         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
3620         (GnuRSAKey): Modified constructor.
3621         (getFormat): Return preferred format identifier.
3622         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
3623         (decodePrivateKey): Fixed documentation.
3624         Check Version field.
3625         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
3626         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
3627         format.
3628         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
3629         * gnu/java/security/jce/sig/EncodedKeyFactory.java
3630         (engineGeneratePublic): Added support for RSA.
3631         (engineGeneratePrivate): Likewise.
3633 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
3635         * java/net/URLConnection.java:
3636         (setAllowUserInteraction): Throw IllegalStateException if connected.
3637         (getRequestProperty): Document return value if key is null.
3638         * gnu/java/net/protocol/http/HTTPURLConnection.java:
3639         (getRequestProperty): Return null if key is null.
3640         (getRequestProperties): Throw IllegalStateException if connected.
3641         (setRequestProperty): Call super method for exception tests.
3642         (addRequestProperty): Likewise.
3644 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
3646         * gnu/java/net/protocol/http/Request.java:
3647         (Request): Remove initialization of removed field.
3648         (requestBodyNegotiationThreshold): Removed now unused field.
3649         (setRequestBodyNegotiationThreshold): Remove now unused method.
3650         (dispatch): Do not use 'Expect 100-continue' header if content-length
3651         is over a treshold. If user specified 'Expect 100-continue' still
3652         initialize the expectingContinue variable.
3654 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
3656         * javax/swing/SpinnerNumberModel.java
3657         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
3658         maximum and minimum to take null values,
3659         (setValue): Only fire ChangeEvent if new value is different to old 
3660         value,
3661         (setMinimum): Fixed test for updating value,
3662         (setMaximum): Likewise,
3663         (setStepSize): Likewise.
3665 2006-02-08  Tom Tromey  <tromey@redhat.com>
3667         * tools/.cvsignore: Added Makefile.in.
3669 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3671         * java/rmi/server/RemoteRef.java,
3672         java/rmi/server/RemoteStub.java: Commented.
3674 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
3676         * javax/swing/SpinnerDateModel.java
3677         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
3678         checks,
3679         (getPreviousValue): Check result against start, not end,
3680         (setValue): Check that value actually changes before firing 
3681         ChangeEvent.
3683 2006-02-08  Lillian Angel  <langel@redhat.com>
3685         * java/awt/Choice.java
3686         (select): Fixed up code, added some checks to prevent errors.
3687         (dispatchEventImpl): Removed. This function is not needed. It 
3688         causes several assertion errors.
3690 2006-02-08  Roman Kennke  <kennke@aicas.com>
3692         * javax/swing/text/PlainView.java
3693         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
3694         drawing unnecessary characters.
3696 2006-02-08  Lillian Angel  <langel@redhat.com>
3698         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3699         (handleEvent): Fixed check to determine if height or
3700         width is less than 1.
3702 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3704         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
3706 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3708         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
3709         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
3710         Documenting the code generator.
3711         * gnu/CORBA/IOR.java (toStringFormatted, 
3712         CodeSet_component.toStringFormatted): New methods.
3713         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
3714         * tools/gnu/classpath/tools/giop/README: Rewritten.
3715         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
3716         (printHelpAndExit): Removed.
3717         *tools/gnu/classpath/tools/giop/IorParser.java,
3718         tools/gnu/classpath/tools/giop/IorParser.txt,
3719         tools/gnu/classpath/tools/giop/NameService.java,
3720         tools/gnu/classpath/tools/giop/NamingService.txt,
3721         tools/gnu/classpath/tools/HelpPrinter.java: New files.
3722         NEWS: Added note about GIOP tools.
3724 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3726         * .classpath: New source patch (tools).
3727         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
3728         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
3729         * tools/gnu/classpath/tools/Makefile.am,
3730         tools/gnu/classpath/tools/giop/GRMIC.java
3731         tools/gnu/classpath/tools/giop/GRMIC.txt,
3732         tools/gnu/classpath/tools/giop/README,
3733         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
3734         tools/gnu/classpath/tools/giop/grmic/Generator.java,
3735         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
3736         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
3737         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
3738         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
3739         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
3740         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
3741         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
3742         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
3743         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
3744         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
3746 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
3748         * java/awt/BasicStroke.java: Updated API docs all over,
3749         * java/awt/doc-files/capjoin.png: New file.
3751 2006-02-07  Lillian Angel  <langel@redhat.com>
3753         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3754         (handleEvent): Added check. Should not paint or update the 
3755         component if it's width and height are both 0.  
3757 2006-02-07  Roman Kennke  <kennke@aicas.com>
3759         * javax/swing/text/AbstractDocument.java
3760         (insertString): Enclose locking/unlocking in try-finally block
3761         and also keep locked while notifying the listeners.
3763 2006-02-07  Roman Kennke  <kennke@aicas.com>
3765         * javax/swing/text/GlyphView.java
3766         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
3767         element boundary).
3768         (getStartOffset): Return element boundary if startOffset < 0.
3769         (getEndOffset): Return element boundary if endOffset < 0.
3770         (createFragment): Set startOffset and endOffset fields of fragment
3771         if one of p0 or p1 is not at the element boundary.
3773 2006-02-07  Roman Kennke  <kennke@aicas.com>
3775         * javax/swing/CellRendererPane.java
3776         (paintComponent): Enclosed painting in try finally to properly
3777         clean up even when throwing an exception.
3779 2006-02-07  Roman Kennke  <kennke@aicas.com>
3781         * javax/swing/UIManager.java
3782         (listeners): Made this an instance of
3783         java.beans.PropertyChangeSupport instead of the obsoleted
3784         SwingPropertyChangeSupport.
3786 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
3788         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
3789         of actions "delete-next" and "delete-previous", added new TextAction
3790         implementations for "selection-begin", "selection-begin-line",
3791         "selection-end" and "selection-end-line".
3793 2006-02-07  Roman Kennke  <kennke@aicas.com>
3795         * javax/swing/plaf/basic/BasicTextUI.java
3796         (paint): Acquire read lock on the document before calling
3797         paintSafely.
3798         (paintSafely): Added comment about what this method does.
3799         (paintBackground): Implemented to actually paint the background.
3800         (update): Overridden to _not_ paint the background. This is done
3801         in paintBackground in this UI.
3803 2006-02-07  Roman Kennke  <kennke@aicas.com>
3805         * javax/swing/text/View.java
3806         (forwardUpdate): Don't notify newly added child views as specified.
3808 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
3810         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
3812 2006-02-07  Roman Kennke  <kennke@aicas.com>
3814         * javax/swing/text/DefaultStyledDocument.java
3815         (ElementBuffer.insert): Only register change when the element
3816         actually changed.
3818 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
3820         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
3821         method.
3822         (getEncodingShortName): Likewise.
3823         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
3824         (PKCS8_FORMAT): Likewise.
3825         (ASN1_FORMAT): Likewise.
3826         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
3827         constructor with 5 arguments.
3828         (DSSPublicKey(5)): New constructor.
3829         (valueOf): Handle ASN.1 encoding.
3830         (getEncoded): Likewise.
3831         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
3832         constructor with 5 arguments.
3833         (DSSPrivateKey(5)): New constructor.
3834         (valueOf): Handle ASN.1 encoding.
3835         (getEncoded): Likewise.
3836         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
3837         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
3838         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
3839         (PREFERRED_ENCODING_FORMAT): New constant.
3840         (DEFAULT_ENCODING_FORMAT): Likewise.
3841         (preferredFormat): New field.
3842         (setup): Handle preferred format ID.
3843         (generate): Use new ctors with 5 arguments.
3844         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
3845         ID as an additional argument.
3846         (defaultFormat): new field.
3847         (getFormat): Returns the preferred format as a short string.
3848         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
3849         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
3850         Likewise
3851         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
3852         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
3853         encoding format.
3854         (initialize(int,boolean,SecureRandom)): Likewise.
3855         * gnu/java/security/der/DERWriter.java (writeBitString): Use
3856         writeLength() instead of write().
3857         return buf.length + 1 instead of buf.length.
3859 2006-02-07  Roman Kennke  <kennke@aicas.com>
3861         * javax/swing/plaf/basic/BasicTextUI.java
3862         (RootView.preferenceChange): Changed view parameter to view so
3863         that it doesn't hide a field of that class.
3864         (RootView.getViewCount): Rewritten to clean up ECJ warning.
3865         (RootView.modelToView): Removed unnecessary cast from View to View.
3866         (PropertyChangeHandler): Made inner class private.
3867         (updateHandler): Made field private.
3868         (getVisibleEditorRect): Removed unneeded local variable that
3869         shadowed a field with the same name and purpose.
3871 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
3873         * javax/swing/text/JTextComponent.java:
3874         (getSelectedText): Calculate offset and use that as
3875         second argument.
3877 2006-02-07  Roman Kennke  <kennke@aicas.com>
3879         * javax/swing/JTextPane.java
3880         (setCharacterAttributes): Replace input attributes when
3881         replace==true.
3883 2006-02-07  Roman Kennke  <kennke@aicas.com>
3885         * java/awt/Component.java
3886         (firePropertyChange(String,byte,byte)): Made method public.
3887         (firePropertyChange(String,char,char)): Made method public.
3888         (firePropertyChange(String,short,short)): Made method public.
3889         (firePropertyChange(String,long,long)): Made method public.
3890         (firePropertyChange(String,float,float)): Made method public.
3891         (firePropertyChange(String,double,double)): Made method public.
3893 2006-02-06  Tom Tromey  <tromey@redhat.com>
3895         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
3896         2006.
3897         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
3899 2006-02-06  Anthony Green  <green@redhat.com>
3901         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
3903 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
3905         * .settings/org.eclipse.jdt.core.prefs:
3906         Force a line split on extends and implements.
3907         Force a white-space after unary operators.
3908         Don't force a new-line after @params.
3909         Add new-line at end-of-file.
3910         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
3912 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
3914         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
3915         Registry constant.
3916         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
3917         Likewise.
3918         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
3919         Likewise.
3920         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
3921         Likewise.
3922         * gnu/java/security/provider/EncodedKeyFactory.java
3923         (ID_DSA): Redefined in terms of Registry constant.
3924         (ID_DSA): Redefined in terms of Registry constant.
3925         (ID_DH): Redefined in terms of Registry constant.
3926         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
3927         (PKCS8_ENCODING): Likewise.
3928         (ASN1_ENCODING): Likewise.
3929         (RAW_ENCODING_SHORT_NAME): Likewise.
3930         (X509_ENCODING_SORT_NAME): Likewise.
3931         (PKCS8_ENCODING_SHORT_NAME): Likewise.
3932         (ASN1_ENCODING_SHORT_NAME): Likewise.
3933         (X509_ENCODING_ID): Likewise.
3934         (PKCS8_ENCODING_ID): Likewise.
3935         (ASN1_ENCODING_ID): Likewise.
3936         (DSA_OID_STRING): Likewise.
3937         (RSA_OID_STRING): Likewise.
3938         (DH_OID_STRING): Likewise.
3940 2006-02-06  Roman Kennke  <kennke@aicas.com>
3942         * javax/swing/text/GlyphView.java:
3943         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
3944         Only fill background if there is a background set on the view.
3945         Call Utilities.drawTabbedText with the baseline height, rather than
3946         the upper left corner of the view rectangle.
3947         (getBackground): Return null if no background is set.
3948         * javax/swing/text/GlyphView.java:
3949         (setPropertiesFromAttributes): Use null for background when no
3950         background is set. StyleConstants.getBackground() doesn't work
3951         for this, because it returns Color.BLACK in that case.
3953 2006-02-06  Roman Kennke  <kennke@aicas.com>
3955         * java/awt/Container.java
3956         (changeSupport): Removed duplicate (from Component) field.
3957         (addPropertyChangeListener): Call super.
3959 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3961         * java/util/regex/Matcher.java(matches):
3962         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
3964 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3966         Fixes bug #25812
3967         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
3968         * gnu/regexp/CharIndexedCharArray.java
3969         (lookBehind),(length): Implemented.
3970         * gnu/regexp/CharIndexedInputStream.java: Likewise.
3971         * gnu/regexp/CharIndexedString.java: Likewise.
3972         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
3973         * gnu/regexp/REToken.java(getMaximumLength): New method.
3974         * gnu/regexp/RE.java(internal constructor RE): Added new argument
3975         maxLength.
3976         (initialize): Parse (?<=X), (?<!X), (?>X).
3977         (getMaximumLength): Implemented.
3978         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
3979         * gnu/regexp/RETokenChar.java: Likewise.
3980         * gnu/regexp/RETokenEnd.java: Likewise.
3981         * gnu/regexp/RETokenEndSub.java: Likewise.
3982         * gnu/regexp/RETokenLookAhead.java: Likewise.
3983         * gnu/regexp/RETokenNamedProperty.java: Likewise.
3984         * gnu/regexp/RETokenOneOf.java: Likewise.
3985         * gnu/regexp/RETokenPOSIX.java: Likewise.
3986         * gnu/regexp/RETokenRange.java: Likewise.
3987         * gnu/regexp/RETokenRepeated.java: Likewise.
3988         * gnu/regexp/RETokenStart.java: Likewise.
3989         * gnu/regexp/RETokenWordBoundary.java: Likewise.
3990         * gnu/regexp/RETokenIndependent.java: New file.
3991         * gnu/regexp/RETokenLookBehind.java: New file.
3993 2006-02-06  Roman Kennke  <kennke@aicas.com>
3995         * java/awt/Component.java
3996         (firePropertyChange(String,byte,byte)): New method.
3997         (firePropertyChange(String,char,char)): New method.
3998         (firePropertyChange(String,short,short)): New method.
3999         (firePropertyChange(String,long,long)): New method.
4000         (firePropertyChange(String,float,float)): New method.
4001         (firePropertyChange(String,double,double)): New method.
4003 2006-02-06  Roman Kennke  <kennke@aicas.com>
4005         * javax/swing/JComponent.java
4006         (AccessibleJComponent.changeSupport): Changed to be a
4007         java.beans.PropertyChangeSupport rather than
4008         SwingPropertyChangeSupport.
4009         (AccessibleJComponent.AccesibleJComponent()): Change initialization
4010         of above field.
4011         (changeSupport): Removed unneeded field.
4012         (removePropertyChangeListener): Removed unneeded methods.
4013         (addPropertyChangeListener): Removed unneeded methods.
4014         (getPropertyChangeListeners): Removed unneeded methods.
4015         (firePropertyChange(String,boolean,boolean)): Changed to simply
4016         call super. Added specnote.
4017         (firePropertyChange(String,char,char)): Changed to simply
4018         call super. Added specnote.
4019         (firePropertyChange(String,int,int)): Changed to simply
4020         call super. Added specnote.
4021         (firePropertyChange(String,byte,byte)): Removed.
4022         (firePropertyChange(String,Object,Object)): Removed.
4023         (firePropertyChange(String,double,double)): Removed.
4024         (firePropertyChange(String,float,float)): Removed.
4025         (firePropertyChange(String,long,long)): Removed.
4026         (firePropertyChange(String,short,short)): Removed.
4028 2006-02-06  Roman Kennke  <kennke@aicas.com>
4030         * javax/swing/event/SwingPropertyChangeSupport.java
4031         (listeners): Removed field.
4032         (propertyListeners): Removed field.
4033         (source): Removed field.
4034         (SwingPropertyChangeSupport()): Removed initialization of removed
4035         fields.
4036         (addPropertyChangeListener): Removed methods.
4037         (removePropertyChangeListener): Removed methods.
4038         (getPropertyChangeListeners): Removed methods.
4039         (firePropertyChange): Removed methods.
4040         (hasListeners): Removed methods.
4042 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
4044         Fixes PR 25313
4045         * java/net/InetAddress.java
4046         (readResolve): Implemented.
4048 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
4050         Fixes PR 26121
4051         * java/io/ObjectInputStream.java
4052         (readNextBlock()): Handle TC_RESET.
4054 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
4055         
4056         * javax/print/attribute/standard/Compression.java,
4057         * javax/print/attribute/standard/Finishings.java, 
4058         * javax/print/attribute/standard/JobMediaSheets.java,
4059         * javax/print/attribute/standard/JobSheets.java,
4060         * javax/print/attribute/standard/JobState.java,
4061         * javax/print/attribute/standard/JobStateReason.java,
4062         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4063         * javax/print/attribute/standard/PrintQuality.java,
4064         * javax/print/attribute/standard/Media.java,
4065         * javax/print/attribute/standard/MultipleDocumentHandling.java,
4066         * javax/print/attribute/standard/PrinterStateReason.java,
4067         * javax/print/attribute/standard/PDLOverrideSupported.java: 
4068         (getName): Make method final.
4069         (getCategory): Likewise.
4070         * javax/print/attribute/standard/MediaSize.java: 
4071         (getName): Make method final.
4072         (getCategory): Likewise.
4073         (ISO): Added private default constructor.
4074         (NA): Likewise.
4075         (JIS): Likewise.
4076         (Other): Likewise.
4077         (Engineering): Likewise.
4079 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
4080         
4081         * native/jni/java-net/javanet.c (_javanet_connect):
4082         Throw ConnectException instead of IOException if connection failed.
4083         * native/jni/java-net/javanet.h:
4084         Add a define for java.net.ConnectException
4086 2006-02-05  Mark Wielaard  <mark@klomp.org>
4088         Fixes bug #26101
4089         reported by Egon Willighagen <egon.willighagen@gmail.com>
4090         * javax/swing/DefaultListCellRenderer.java
4091         (getListCellRendererComponent): Turn null value into empty string.
4093 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4095         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
4096         a Unicode block if the name starts with "In".
4097         (UnicodeBlockHandler): New inner class.
4099 2006-02-04  Roman Kennke  <kennke@aicas.com>
4101         * java/awt/Container.java
4102         (getComponentZOrder): New method.
4103         (setComponentZOrder): New method.
4104         * javax/swing/JLayeredPane.java
4105         (setPosition): Reimplemented to use setComponentZOrder().
4106         (getIndexOf): Reimplemented to use getComponentZOrder().
4107         (addImpl): Pass layerContraint to super call. Important for possibly
4108         installed layout managers.
4109         (swapComponents): Remove unneeded method.
4111 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
4113         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
4114         DSAKeyPairGenerator.
4115         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
4116         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
4117         message.
4118         Surround call to adaptee in a try/catch.
4119         (initialize((DSAParams,SecureRandom)): New method.
4120         (initialize(int,boolean,SecureRandom)): New method.
4121         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
4122         KeyPairGenerator rather than KeyPairGeneratorSpi.
4123         (KeyPairGeneratorAdapter): Call super with algorithm name.
4125 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
4127         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
4128         (getDefaultPRNG): New method.
4129         (parseO): Use method above.
4130         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
4131         (getDefaultPRNG): New method.
4132         (createO): Use method above.
4133         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
4134         (nextByte): Use above field.
4135         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
4136         * gnu/java/security/sig/rsa/RSA.java: New class field.
4137         (newR): Use above field
4138         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
4139         (encode): Use field.above.
4140         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
4141         (getDefaultPRNG): new method.
4142         (nextRandomBytes): Use above method.
4143         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
4144         * gnu/java/security/sig/BaseSignature.java: Likewise.
4145         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
4146         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
4147         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
4148         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
4149         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
4150         (getDefaultPRNG): new method.
4151         (nextRandomBytes): Use above method.
4152         (STRICT_DEFAULTS): new class field.
4153         (USE_DEFAULTS): more documentation to clarify behavior.
4154         (setup): amended to handle new attribute.
4155         * gnu/java/security/util/PRNG.java: New file.
4157 2006-02-03  Lillian Angel  <langel@redhat.com>
4159         * javax/swing/plaf/basic/BasicColorChooserUI.java:
4160         chooser field should be protected, not package-private. 
4162 2006-02-03  Lillian Angel  <langel@redhat.com>
4163         
4164         * javax/swing/text/DefaultStyledDocument.java
4165         (changeUpdate): Cleaned up code.
4166         (split): Likewise.
4167         (insertUpdate): Set offset to be equal to pos after
4168         insertContentTag call.
4169         (insertContentTag): If paragraph has no children, should use
4170         replace instead of Edit.
4171         (insertFracture): Moved around code to prevent any exception. Also,
4172         left side of tree should not be recreated if it has already been 
4173         edited. In that case, we should only be creating a new right branch
4174         when fracturing.
4175         (getEditForParagraphAndIndex): No need to check index. We should
4176         use the same edit for each paragraph.
4178 2006-02-03  Mark Wielaard  <mark@klomp.org>
4180         * javax/swing/event/SwingPropertyChangeSupport.java
4181         (propertyListeners): Change type to HashMap.
4182         (SwingPropertyChangeSupport): Allocate HashMap.
4184 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
4186         * java/security/KeyPairGenerator.java (getInstance): Test for
4187         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
4189 2006-02-02  Roman Kennke  <kennke@aicas.com>
4191         * javax/swing/RepaintManager.java
4192         Made fields private.
4193         (RepaintWorker.run): Enclosed work stuff in try finally block in
4194         order to clean up correctly if invalidation or painting fails,
4195         otherwise we would get no more RepaintWorkers onto the EventQueue.
4196         Also, now the RepaintWorker is marked 'dead' only after it has
4197         finished its work, avoid more than one RepaintWorker on the queue.
4198         (ComponentComparator.compareTo): Compare dirty rectangle sizes
4199         instead of hierarchy depths.
4200         (workDirtyComponents): Removed unused field.
4201         (repaintOrder): Removed unused field.
4202         (workRepaintOrder): Removed unused field.
4203         (workInvalidComponents): Removed unused field.
4204         (RepaintManager()): Removed initialization of removed fields.
4205         (addInvalidComponent): Fine tuned synchronization.
4206         (removeInvalidComponent): Fine tune synchronization.
4207         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
4208         synchronization. Don't manager repaintOrder here.
4209         (insertRepaintOrder): Removed method.
4210         (markCompletelyClean): Fine tuned synchronization.
4211         (validateInvalidComponents): Dont use a working copy of the
4212         invalidComponents list, instead fine tuned synchronization on this
4213         list. Also, don't search validateRoot, this is already done in
4214         addInvalidComponent().
4215         (paintDirtyRegions): Compute repaint order here, based on size of
4216         damaged regions. Fine tuned synchronization. Avoid use of working
4217         copies of dirtyComponent.
4219 2006-02-02  Lillian Angel  <langel@redhat.com>
4221         * javax/swing/text/DefaultStyledDocument.java
4222         (insertUpdate): JoinNextDirection should push the 
4223         'next' paragraph on the stack.
4225 2006-02-02  Lillian Angel  <langel@redhat.com>
4227         * javax/swing/text/DefaultStyledDocument.java
4228         (insertUpdate): Rewrote code for Originate. This prevents
4229         leaves being created multiple times. If it is on the last 
4230         ElementSpec, the leaves need to be created right then; 
4231         otherwise, only a branch is created.
4232         (insertContentTag): Rewrote to add new leaf directly if
4233         this is a branch with no children. Otherwise, it
4234         recreates the remainder of the tree as before.
4236 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4238         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
4239         for making a list of REMatch instances.
4240         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
4241         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
4242         (match): Rewritten using REMatchList.
4243         (matchRest): Rewritten using REMatchList.
4245 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4247         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
4248         (friendsMove):  Call repaint() only after endOfGame is assigned.
4250 2006-02-02  Mark Wielaard  <mark@klomp.org>
4252         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
4253         * java/util/AbstractCollection.java (toString): Only use Iterator,
4254         check whether collection contains itself.
4256 2006-02-01  Casey Marshall  <csm@gnu.org>
4258         Partial fix for PR classpath/25143.
4259         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
4260         (<init>): fill in `algName,' derive `algOid' from `algName.'
4261         (getOid): new method.
4262         (encode): embed NULL value for parameters if `params' is `null.'
4264 2006-02-01  Casey Marshall  <csm@gnu.org>
4266         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
4267         <monoman@gmail.com>.    
4268         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
4269         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
4271 2006-02-01  Casey Marshall  <csm@gnu.org>
4273         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
4274         * gnu/java/security/der/DERValue.java
4275         (getLength, getEncoded, getEncodedLength): throw an exception,
4276         don't initialize `encoded' to a bogus value.
4277         (toString): return a more helpful string.
4279         Partial fix for PR classpath/25144.
4280         * gnu/java/security/der/DERWriter.java (write): if the value is
4281         the pseudo-value used for CONSTRUCTED, write the encoded value
4282         directly.
4283         
4284 2006-02-01  Tom Tromey  <tromey@redhat.com>
4286         * java/security/Security.java (loadProviders): Use system class
4287         loader.
4289 2006-02-01  Mark Wielaard  <mark@klomp.org>
4291         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
4292         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
4293         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
4294         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
4295         (UnicodeCategoriesHandler): New private static class.
4296         
4297 2006-02-01  Lillian Angel  <langel@redhat.com>
4299         * javax/swing/text/DefaultStyledDocument.java:
4300         Removed unneeded fields.
4301         (insertUpdate): Removed field initialization.
4302         (insertContentTag): Rewrote part of function. Still
4303         not complete.
4305 2006-02-01  Lillian Angel  <langel@redhat.com>
4307         * javax/swing/text/DefaultStyledDocument.java
4308         (insertParagraph): Cleaned up code.
4309         (insertFirstContentTag): Fixed call to recreateLeaves.
4310         (insertContentTag): Added check to code to determine where
4311         content should be inserted with respect to next element.
4312         (createFracture): Removed check, recreateLeaves is called in 
4313         other places when needed.
4314         (recreateLeaves): Added new parameter for paragraph instead
4315         of checking the stack. Removed editing for newBranch, replaced
4316         with a replace call.
4318 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
4320         * doc/unicode/Blocks-4.0.0.txt: New file.
4321         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
4322         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
4323         * scripts/unicode-blocks.pl: Copied this over from the generics branch
4324         but replaced some 1.5-only features (such as enum).
4326 2006-01-31  Roman Kennke  <kennke@aicas.com>
4328         * javax/swing/text/PasswordView.java
4329         (drawSelectedText): Use drawEchoCharacter() method to draw echo
4330         character.
4331         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
4332         character.
4334 2006-01-31  Roman Kennke  <kennke@aicas.com>
4336         * javax/swing/JTextField.java
4337         (getPreferredSize): Also include textfield's insets in width
4338         calculation.
4340 2006-01-31  Roman Kennke  <kennke@aicas.com>
4342         * javax/swing/plaf/basic/BasicTextUI.java
4343         (getPreferredSize): Include the textcomponent's insets in
4344         preferredSize.
4346 2006-01-31  Roman Kennke  <kennke@aicas.com>
4348         * javax/swing/table/DefaultTableCellRenderer.java
4349         (getTableCellRendererComponent): Moved setting of the value into
4350         setValue(). Removed (bogus) special handling of JTextField values.
4351         (setValue): Made ?: statement more clear by rewriting it
4352         with if .. else.
4354 2006-01-31  Roman Kennke  <kennke@aicas.com>
4356         * javax/swing/JLayeredPane.java
4357         (insertIndexForLayer): Fixed algorithm to correctly determine
4358         inser index for positions >= 0.
4359         (addImpl): Fixed API docs for the index parameter.
4361 2006-01-31  Mark Wielaard  <mark@klomp.org>
4363         * java/net/URI.java (getURIGroup): Check for null to see whether
4364         group actually exists.
4366 2006-01-31  Lillian Angel  <langel@redhat.com>
4368         * javax/swing/text/DefaultStyledDocument.java
4369         (changeUpdate): Fixed calls to split to incorporate 
4370         new parameter.
4371         (insertParagraph): Likewise. Uses 0 as editIndex
4372         because inserting into a new paragraph.
4373         (insertContentTag): Fixed check to use 
4374         recreateLeaves. Added a FIXME comment.
4375         (split): Added a new parameter for edits.
4377 2006-01-31  Roman Kennke  <kennke@aicas.com>
4379         * javax/swing/plaf/basic/BasicRootPaneUI.java
4380         (installDefaults): Don't install a background color here.
4382 2006-01-31  Lillian Angel  <langel@redhat.com>
4384         * javax/swing/text/DefaultStyledDocument.java
4385         (insert): Removed comment.
4386         (insertUpdate): Added comment.
4387         (recreateLeaves): Removed call to push newBranch onto the
4388         stack. This does not need to be done here.
4390 2006-01-31  Chris Burdess  <dog@gnu.org>
4392         * gnu/xml/stream/SAXParser.java,
4393           gnu/xml/stream/UnicodeReader.java,
4394           gnu/xml/stream/XIncludeFilter.java,
4395           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
4396           only resolved the system ID not the stream. Make some utility methods
4397           public and static for use by other private XML APIs.
4398         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
4399           called without throwing IllegalStateException.
4400         * java/util/logging/SimpleFormatter.java: Write thrown exception if
4401           provided.
4403 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4405         Fixes bug #22873
4406         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
4407         for an invalid index and return null for a skipped group.
4409 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4411         Fixes bug #26002
4412         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
4413         (NamedProperty): New inner class.
4414         (getNamedProperty): New method.
4415         (getRETokenNamedProperty): New Method.
4416         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
4417         * gnu/regexp/RETokenNamedProperty.java: New file.
4419 2006-01-31  Roman Kennke  <kennke@aicas.com>
4421         * javax/swing/plaf/PlainView.java
4422         (paint): Call drawLine with baseline coordinates.
4423         (drawLine): Documented and indented this method.
4424         (drawUnselecetedText): Documented and indented this method.
4425         * javax/swing/plaf/text/Utilites.java
4426         (drawTabbedText): The coordinates denote the baseline of the text
4427         not the upper left corner.
4429 2006-01-31  Roman Kennke  <kennke@aicas.com>
4431         * javax/swing/plaf/basic/BasicTextUI.java
4432         (createKeymap): Don't store KeyBindings[] as focusInputMap in
4433         UIManager. Added FIXME regarding the implementation of this method.
4435 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
4437         * examples/gnu/classpath/examples/swing/ButtonDemo.java
4438         (ButtonDemo): Move content initialisation to new method,
4439         (initFrameContent): New method,
4440         (main): Call initFrameContent(),
4441         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
4442         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
4443         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
4444         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
4445         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
4447 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
4449         * examples/gnu/classpath/examples/swing/Demo.java
4450         (Demo): Set frame size,
4451         (mkButtonBar): Removed stacked sub-panels.
4453 2006-01-30  Lillian Angel  <langel@redhat.com>
4455         * javax/swing/text/DefaultStyledDocument.java:
4456         Added new fields.
4457         (insert): Initialized fields. Removed call to addEdit, 
4458         and created ElementEdit instead.
4459         (insertUpdate): Added check for fracturing. If the
4460         fracturing was not successful, we should push the
4461         last element back on the stack.
4462         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
4463         Also, changed replace calls to use Edit.
4464         (insertFirstContentTag): Removed unneeded check and fixed call
4465         to recreateLeaves.
4466         (insertContent): Fixed check to use new fields. Added code in
4467         to check if leaves overlap.
4468         (createFracture): Fixed call to recreateLeaves.
4469         (recreateLeaves): Fixed code and cleaned it up a bit.
4470         (insertFracture): Set fracNotCreated field.
4471         (addEdit): Removed, this method is not needed.
4473 2006-01-30  Roman Kennke  <kennke@aicas.com>
4475         * javax/swing/JRootPane.java
4476         (RootLayout.prefSize): Removed caching for preferredSize.
4477         (RootLayout.invalidateLayout): Likewise.
4478         (RootLayout.preferredLayoutSize): Likewise.     
4480 2006-01-30  Roman Kennke  <kennke@aicas.com>
4482         PR classpath/26035
4483         * javax/swing/JFrame.java
4484         (frameInit): Handle the defaultLookAndFeelDecorated flag.
4485         * javax/swing/plaf/metal/MetalRootPaneUI.java
4486         (MetalFrameBorder): New inner class, provides the border for
4487         top level containers with L&F decorations.
4488         (MetalTitlePane): New inner class, provides the title pane for
4489         top level containers with L&F decorations.
4490         (MetalRootLayout): New inner class. Used to layout the root pane
4491         when L&F window decorations are enabled.
4492         (installUI): New method. Handles window decorations.
4493         (uninstallUI): New method. Handles window decorations.
4494         (propertyChange): Handles window decorations.
4495         (installWindowDecorations): New method. Handles window
4496         decorations.
4497         (uninstallWindowDecorations): New method. Handles window
4498         decorations.
4499         * javax/swing/plaf/metal/MetalLookAndFeel.java
4500         (getSupportsWindowDecorations): Overridden to return true.
4502 2006-01-30  Mark Wielaard  <mark@klomp.org>
4504         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
4505         IllegalArgumentException when orientation is illegal.
4506         (JProgressBar(int, int, int)): Likewise and throw exception.
4507         (setOrientation): Likewise.
4509 2006-01-30  Roman Kennke  <kennke@aicas.com>
4511         * javax/swing/ViewportLayout.java
4512         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
4514 2006-01-30  Mark Wielaard  <mark@klomp.org>
4516         * javax/swing/JProgressBar.java (orientation): Always set by
4517         constructor.
4518         (JProgressBar(int)): Document default on 'illegal' value.
4519         (JProgressBar(int, int, int)): Likewise and set orientation to
4520         HORIZONTAL when 'illegal'.
4521         (setOrientation): Likewise.
4523 2006-01-30  Roman Kennke  <kennke@aicas.com>
4525         * javax/swing/plaf/basic/BasicListUI.java
4526         (ListDataHandler.contentsChanged): Update the
4527         updateLayoutStateNeeded flag.
4528         (ListDataHandler.intervalAdded): Update the
4529         updateLayoutStateNeeded flag.
4530         (ListDataHandler.intervalRemoved): Update the
4531         updateLayoutStateNeeded flag.
4532         (PropertyChangeHandler.propertyChange): Correctly update the
4533         listeners on new list model.
4534         (maybeUpdateLayoutState): Don't consider the validation state
4535         of the list.
4537 2006-01-30  Mark Wielaard  <mark@klomp.org>
4539         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
4540         sortKeys is null.
4542 2006-01-30  Roman Kennke  <kennke@aicas.com>
4544         * javax/swing/JLayeredPane.java
4545         (insertIndexForLayer): Fixed algorithm to correctly insert
4546         components within different layers and -1 position.
4548 2006-01-30  Mark Wielaard  <mark@klomp.org>
4550         * doc/api/Makefile.am (create_html): Add -validhtml.
4552 2006-01-30  Roman Kennke  <kennke@aicas.com>
4554         * javax/swing/JLayeredPane.java
4555         (insertIndexForLayer): Fixed algorithm to correctly insert
4556         components within same layer and -1 position.
4558 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4560         Fixes bug #24876
4561         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
4562         New execution flag.
4563         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
4564         implicit RETokenEnd at the end of the regexp chain.
4565         Do not select the longest match, but select the first match.
4566         (match): Do not take care of REMatch.empty.
4567         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
4568         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
4569         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
4570         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
4571         Do not take care of REMatch.empty. Set and check REMatch.empty
4572         when trying to match the single token.
4574 2006-01-30  Mark Wielaard  <mark@klomp.org>
4576         * java/awt/Cursor.java (toString): Include name and type.
4578 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
4580         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
4581         the ipad buffer.
4582         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
4584 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4585         
4586         PR 26027
4587         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
4588         Consider the validation state of the list. 
4590 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
4592         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
4593         INSTANCE added.
4594         * java/beans/XMLDecoder.java:
4595         (setExceptionListener): Use shared DefaultExceptionListener
4596         instance.
4597         * java/beans/Encoder.java:
4598         (setExceptionListener): Use shared DefaultExceptionListener
4599         instance.
4601 2006-01-29  Roman Kennke  <kennke@aicas.com>
4603         * javax/swing/ScrollPaneLayout.java
4604         (minimumLayoutSize): Rewritten to match JDKs behaviour.
4606 2006-01-29  Mark Wielaard  <mark@klomp.org>
4608         * java/net/SocketPermission.java (setActions): Trim and lower case
4609         action.
4611 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
4613         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
4614         incorrectly failing primality test for some known primes. Fixed.
4615         (passFermatLittleTheorem): Removed.
4616         (passMillerRabin): Removed.
4617         (isProbablePrime): Cache primes that pass the primality tests.
4618         Use BigInteger.isProbablePrime(int) for primality tests.
4619         (debugBI): New static debugging method.
4621 2006-01-28  Roman Kennke  <kennke@aicas.com>
4623         * javax/swing/plaf/basic/BasicListUI.java
4624         (updateLayoutState): Removed unneeded special case for VERTICAL.
4626 2006-01-28  Roman Kennke  <kennke@aicas.com>
4628         * javax/swing/plaf/basic/BasicListUI.java
4629         (getCellBounds): Determine correct list width when having a
4630         layoutOrientation of VERTICAL.
4631         (maybeUpdateLayoutState): Don't consider the validation state of
4632         the list.
4634 2006-01-28  Mark Wielaard  <mark@klomp.org>
4636         Reported by Dimitri Fontaine <dimitri@dalibo.com>
4637         * java/awt/print/NoPrinterJob.java: New (fake) class.
4638         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
4640 2006-01-28  Mark Wielaard  <mark@klomp.org>
4642         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
4644 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4646         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
4647         (addChildren): New method.
4649 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
4651         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
4652         constructor for cloning purposes.
4653         (clone): New implementation that ensures cloning.
4654         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
4655         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
4656           "GNU".
4658 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4660         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
4661         Call updateCurrentVisiblePath.
4663 2006-01-27  Roman Kennke  <kennke@aicas.com>
4665         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
4667 2006-01-27  Roman Kennke  <kennke@aicas.com>
4669         * examples/gnu/classpath/examples/swing/ButtonDemo.java
4670         (createContent): Only create new content if we don't have one
4671         already.
4672         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
4673         (createContent): Only create new content if we don't have one
4674         already.
4675         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
4676         (createContent): Only create new content if we don't have one
4677         already.
4678         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
4679         (createContent): Only create new content if we don't have one
4680         already.
4681         * examples/gnu/classpath/examples/swing/SliderDemo.java
4682         (createContent): Only create new content if we don't have one
4683         already.
4684         * examples/gnu/classpath/examples/swing/TableDemo.java
4685         (createContent): Only create new content if we don't have one
4686         already.
4687         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
4688         (createContent): Only create new content if we don't have one
4689         already.
4691 2006-01-27  Lillian Angel  <langel@redhat.com>
4693         * javax/swing/text/DefaultStyledDocument.java
4694         (insertFirstContentTag): Removed check, not needed. This
4695         still needs to be fixed for some cases. Added call to
4696         recreateLeaves.
4697         (createFracture): Added call to recreateLeaves.
4698         (recreateLeaves): New method used to recreate all the
4699         leaves after the initial insertion. This still needs 
4700         more work.
4701         (handleInsertAfterNewline): Removed else, not needed.
4703 2006-01-27  Roman Kennke  <kennke@aicas.com>
4705         * javax/swing/JLayeredPane.java
4706         (inserIndexForLayer): Fixed direction of search.
4708 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4710         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
4711         node into nodeStates.
4713 2006-01-27  Roman Kennke  <kennke@aicas.com>
4715         * javax/swing/JLayeredPane.java
4716         (FRAME_CONTENT_LAYER): Made field final.
4717         (componentToLayer): Made field private.
4718         (rectCache): Removed field.
4719         (layers): Removed field.
4720         (JLayeredPane()): Removed initialization of removed fields.
4721         (getLayer): Rewritten to make use of client properties in
4722         JComponents and to be more straighforward.
4723         (static getLayer): Rewritten to make use of client properties in
4724         JComponents.
4725         (layerToRange): Removed method.
4726         (incrLayer): Removed method.
4727         (decrLayer): Removed method.
4728         (highestLayer): Rewritten to be more straightforward.
4729         (lowestLayer): Rewritten to be more straightforward.
4730         (getPosition): Rewritten to be more straightforward.
4731         (getComponentsInLayer): Rewritten to be more straightforward.
4732         (getComponentCountInLayer): Rewritten to be more straightforward.
4733         (getIndexOf): Rewritten to be more straightforward.
4734         (inserIndexForLayer): Rewritten to be more straightforward.
4735         (remove): Rewritten to be more straightforward.
4736         (setLayer): Rewritten to be more straightforward.
4737         (addImpl): Rewritten to be more straightforward.
4738         (putLayer): Rewritten to be more straightforward.
4740 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
4742         * java/lang/Character.java:
4743         (offsetByCodePoints(CharSequence, int, int)): New API method.
4744         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
4745         (toChars): Throw the Exception that the docs say we throw.
4746         (codePointAt): Fixed an off-by-one error in the bounds of the if 
4747         statement.
4748         * java/lang/String.java:
4749         (String(int[], int, int)): New API constructor.
4751 2006-01-27  Lillian Angel  <langel@redhat.com>
4753         * javax/swing/text/DefaultStyledDocument.java
4754         (insert): Moved this loop to insertUpdate.
4755         (insertUpdate): Likewise. Fixed variable
4756         names. Incremented pos if new paragraph
4757         is inserted.
4758         (split): Changed edits to use replace instead. Prevents
4759         assertion errors.
4760         (insertFirstContentTag): Removed else.
4761         (insertContentTag): Implemented else for JoinNextDirection.
4762         (createFracture): Fixed up code, still not fully complete.
4763         (insertFracture): Fixed to use return value from 
4764         recreateAfterFracture.
4765         (recreateAfterFracture): Changed to return an array of the
4766         elements to be added. This prevents an assertion error.
4767         (contains): New function checks if an element is already in 
4768         the Vector. Vector's contain function was not enough to use.
4769         (addAddedElement): Changed to use new contains function.
4770         (addAddedElements): Likewise.
4771         (addRemovedElement): Likewise.
4772         (addRemovedElements): Likewise.        
4773         
4774 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4776         PR 25520
4777         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
4778         If no user class loaders found on the stack, return the thread 
4779         context class loader. (currentClassLoader): Explained.
4781 2006-01-27  Roman Kennke  <kennke@aicas.com>
4783         * java/awt/Container.java
4784         (swapComponents): Removed unspecified method.
4785         * javax/swing/JLayeredPane.java
4786         (setPosition): Reimplemented correctly.
4787         (swapComponents): New helper method.
4789 2006-01-27  Mark Wielaard  <mark@klomp.org>
4791         * configure.ac: Set version to 0.21-pre.
4793 2006-01-27  Roman Kennke  <kennke@aicas.com>
4795         PR classpath/25968
4796         * javax/swing/JComponent.java
4797         (findOverlapFreeParent): Improved the algorithm to make better use
4798         of the optimizedDrawingEnabled flag.
4799         * javax/swing/JLayeredPane.java
4800         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
4801         * javax/swing/JViewport.java
4802         (computeBlit): Fixed check to decide if blitting is possible or not,
4803         so that it doesn't blit if nothing was scrolled (in order to
4804         update the buffer when the view updates itself).
4806 2006-01-27  Roman Kennke  <kennke@aicas.com>
4808         * javax/swing/plaf/metal/MetalFileChooserUI.java
4809         (createList): Don't set scrollbar policy.
4811 2006-01-27  Roman Kennke  <kennke@aicas.com>
4813         * javax/swing/plaf/basic/BasicPopupMenuUI.java
4814         (PopupMenuHandler.popupMenuWillBecomeInvisible):
4815         Fixed to also handle non-Swing toplevel containers.
4816         (PopupMenuHandler.popupMenuWillBecomeVisible):
4817         Fixed to also handle non-Swing toplevel containers.
4818         * javax/swing/Popup.java
4819         (JWindowPopup.JWindowPopup()): Correctly set parent window on
4820         popup.
4822 2006-01-27  Roman Kennke  <kennke@aicas.com>
4824         * javax/swing/plaf/basic/BasicInternalFrameUI.java
4825         (InternalFramePropertyChangeListener): Don't implement
4826         VetoableChangeListener.
4827         (InternalFramePropertyChangeListener.vetoableChange): Removed.
4828         (internalFrameVetoableChangeListener): Removed unneeded field.
4829         (installListeners): Don't install vetoableChangeListener.
4830         * javax/swing/event/DocumentEvent.java
4831         (EventType): Made class final.
4833 2006-01-27  Roman Kennke  <kennke@aicas.com>
4835         * javax/swing/SwingUtilities.java
4836         (calculateInsetArea): Removed unneeded method. The method
4837         calculateInnerArea has the same purpose and is actually specified.
4838         (calculateInnerArea): Rewritten to not use calculateInsetArea.
4839         * javax/swing/plaf/basic/BasicMenuItemUI.java
4840         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
4841         of SwingUtilities.calculateInsetArea().
4843 2006-01-27  Roman Kennke  <kennke@aicas.com>
4845         * javax/swing/plaf/basic/BasicTreeUI.java
4846         (installDefaults): Removed requestFocusInWindow() call.
4847         * javax/swing/JComponent.java
4848         (requestFocusInWindow(boolean)): Made method protected.
4849         (printComponent): Made method protected.
4850         (printChildren): Made method protected.
4851         (printComponent): Made method protected.
4852         (printBorder): Made method protected.
4854 2006-01-27  Roman Kennke  <kennke@aicas.com>
4856         * javax/swing/AbstractButton.java
4857         (ButtonChangeListener.ButtonChangeListener()): Made constructor
4858         package private.
4859         * javax/swing/ImageIcon.java
4860         (component): Made field final.
4861         (tracker): Made field final.
4862         * javax/swing/JApplet.java
4863         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
4864         * javax/swing/JCheckBox.java
4865         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
4866         protected.
4867         * javax/swing/JDialog.java
4868         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
4869         * javax/swing/JFrame.java
4870         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
4871         * javax/swing/JLayeredPane.java
4872         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
4873         protected.
4874         (DEFAULT_LAYER): Made field final.
4875         (PALETTE_LAYER): Made field final.
4876         (MODAL_LAYER): Made field final.
4877         (POPUP_LAYER): Made field final.
4878         (DRAG_LAYER): Made field final.
4879         * javax/swing/JMenu.java
4880         (ActionChangeListener): Made class private.
4881         * javax/swing/JOptionPane.java
4882         (UNITITIALIZED_VALUE): Made field final.
4883         * javax/swing/JPanel.java
4884         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
4885         * javax/swing/JPopupMenu.java
4886         (ActionChangeListener): Made class private.
4887         * javax/swing/JTree.java
4888         (paramString): Made method protected.
4889         * javax/swing/JViewport.java
4890         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
4891         * javax/swing/JWindow.java
4892         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
4893         * javax/swing/RepaintManager.java
4894         (RepaintWorker): Made class private.
4896 2006-01-27  Roman Kennke  <kennke@aicas.com>
4898         * gnu/java/awt/peer/swing/SwingComponentPeer.java
4899         (handleEvent): Removed debug statement.
4901 2006-01-27  Roman Kennke  <kennke@aicas.com>
4903         * java/awt/Component.java
4904         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
4905         more than it helps.
4907 2006-01-26  Lillian Angel  <langel@redhat.com>
4909         * javax/swing/text/DefaultStyledDocument.java
4910         (createFracture): Commented out a known problem,
4911         added FIXME tag.
4913 2006-01-26  Lillian Angel  <langel@redhat.com>
4915         * javax/swing/text/DefaultStyledDocument.java
4916         (ElementBuffer): Added fields.
4917         (remove): Initialized pos.
4918         (change): Likewise.
4919         (insert): Likewise.
4920         (insertUpdate): Incremented pos. Fixed check, createFracture should
4921         be called on first tag if it is not ContentType.
4922         (insertFirstContentTag): Reworked to use proper offsets and
4923         set offset accordingly. This might need more work in the future.
4924         (insertContentTag): Likewise. Fixed to use pos, instead of 
4925         offset.
4926         (createFracture): Fixed to recreate other leaves. Still needs
4927         more work.
4928         (insertFracture): Reimplemented.
4929         (recreateAfterFracture): New method.
4930         (getParagraphElement): Reimplemented, more efficent.
4932 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4934         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
4935         (doubleToRawLongBits, longBitsToDouble): Swap the byte
4936         ordering for little-endian arms without VFP.
4938 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
4940         PR classpath/25981
4941         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
4943 2006-01-26  Mark Wielaard  <mark@klomp.org>
4945         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
4946         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
4947         Add trailing zeros to the fraction of the decimal with the smallest
4948         scale.
4950 2006-01-26  Roman Kennke  <kennke@aicas.com>
4952         * javax/swing/text/html/ObjectView.java: New file.
4954 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4956         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
4957         Call startEditing when appropriate.
4958         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
4959         (startEditing): Always edit if directly ordered from 
4960         MouseHandler.mousePressed.
4961         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
4962         New field. (createTreeCellEditor): Set click count to start.
4963         (getTreeCellEditorComponent): Assing realEditor directly.
4965 2006-01-25  Casey Marshall  <csm@gnu.org>
4967         Merging GNU Crypto and Jessie.
4969         * NEWS: mention the merge in the 0.21 notes.
4970         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
4971         (SSL_RECORD_LAYER): new constants.
4972         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
4973         to provider.
4974         * resource/java/security/classpath.security: add new providers.
4975         * gnu/javax/crypto/assembly/Assembly.java,
4976         gnu/javax/crypto/assembly/Cascade.java,
4977         gnu/javax/crypto/assembly/CascadeStage.java,
4978         gnu/javax/crypto/assembly/CascadeTransformer.java,
4979         gnu/javax/crypto/assembly/DeflateTransformer.java,
4980         gnu/javax/crypto/assembly/Direction.java,
4981         gnu/javax/crypto/assembly/LoopbackTransformer.java,
4982         gnu/javax/crypto/assembly/ModeStage.java,
4983         gnu/javax/crypto/assembly/Operation.java,
4984         gnu/javax/crypto/assembly/PaddingTransformer.java,
4985         gnu/javax/crypto/assembly/Stage.java,
4986         gnu/javax/crypto/assembly/Transformer.java,
4987         gnu/javax/crypto/assembly/TransformerException.java,
4988         gnu/javax/crypto/cipher/Anubis.java,
4989         gnu/javax/crypto/cipher/BaseCipher.java,
4990         gnu/javax/crypto/cipher/Blowfish.java,
4991         gnu/javax/crypto/cipher/Cast5.java,
4992         gnu/javax/crypto/cipher/CipherFactory.java,
4993         gnu/javax/crypto/cipher/DES.java,
4994         gnu/javax/crypto/cipher/IBlockCipher.java,
4995         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
4996         gnu/javax/crypto/cipher/Khazad.java,
4997         gnu/javax/crypto/cipher/NullCipher.java,
4998         gnu/javax/crypto/cipher/Rijndael.java,
4999         gnu/javax/crypto/cipher/Serpent.java,
5000         gnu/javax/crypto/cipher/Square.java,
5001         gnu/javax/crypto/cipher/TripleDES.java,
5002         gnu/javax/crypto/cipher/Twofish.java,
5003         gnu/javax/crypto/cipher/WeakKeyException.java,
5004         gnu/javax/crypto/jce/GnuCrypto.java,
5005         gnu/javax/crypto/jce/GnuSasl.java,
5006         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
5007         gnu/javax/crypto/jce/cipher/AESSpi.java,
5008         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
5009         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
5010         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
5011         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
5012         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
5013         gnu/javax/crypto/jce/cipher/DESSpi.java,
5014         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
5015         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
5016         gnu/javax/crypto/jce/cipher/PBES2.java,
5017         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
5018         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
5019         gnu/javax/crypto/jce/cipher/SquareSpi.java,
5020         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
5021         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
5022         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
5023         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
5024         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
5025         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
5026         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
5027         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
5028         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
5029         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
5030         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
5031         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
5032         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
5033         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
5034         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
5035         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
5036         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
5037         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
5038         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
5039         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
5040         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
5041         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
5042         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
5043         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
5044         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
5045         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
5046         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
5047         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
5048         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
5049         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
5050         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
5051         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
5052         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
5053         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
5054         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
5055         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
5056         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
5057         gnu/javax/crypto/jce/mac/MacAdapter.java,
5058         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
5059         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
5060         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
5061         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
5062         gnu/javax/crypto/jce/mac/OMacImpl.java,
5063         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
5064         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
5065         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
5066         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
5067         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
5068         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
5069         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
5070         gnu/javax/crypto/jce/mac/UHash32Spi.java,
5071         gnu/javax/crypto/jce/mac/UMac32Spi.java,
5072         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
5073         gnu/javax/crypto/jce/params/DEREncodingException.java,
5074         gnu/javax/crypto/jce/params/DERReader.java,
5075         gnu/javax/crypto/jce/params/DERWriter.java,
5076         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
5077         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
5078         gnu/javax/crypto/jce/prng/FortunaImpl.java,
5079         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
5080         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
5081         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
5082         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
5083         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
5084         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
5085         gnu/javax/crypto/key/GnuSecretKey.java,
5086         gnu/javax/crypto/key/IKeyAgreementParty.java,
5087         gnu/javax/crypto/key/IncomingMessage.java,
5088         gnu/javax/crypto/key/KeyAgreementException.java,
5089         gnu/javax/crypto/key/KeyAgreementFactory.java,
5090         gnu/javax/crypto/key/OutgoingMessage.java,
5091         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
5092         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
5093         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
5094         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
5095         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
5096         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
5097         gnu/javax/crypto/key/dh/ElGamalSender.java,
5098         gnu/javax/crypto/key/dh/GnuDHKey.java,
5099         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
5100         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
5101         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
5102         gnu/javax/crypto/key/dh/RFC2631.java,
5103         gnu/javax/crypto/key/srp6/SRP6Host.java,
5104         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
5105         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
5106         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
5107         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
5108         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
5109         gnu/javax/crypto/key/srp6/SRP6User.java,
5110         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
5111         gnu/javax/crypto/key/srp6/SRPKey.java,
5112         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
5113         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
5114         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
5115         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
5116         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
5117         gnu/javax/crypto/keyring/BaseKeyring.java,
5118         gnu/javax/crypto/keyring/BinaryDataEntry.java,
5119         gnu/javax/crypto/keyring/CertPathEntry.java,
5120         gnu/javax/crypto/keyring/CertificateEntry.java,
5121         gnu/javax/crypto/keyring/CompressedEntry.java,
5122         gnu/javax/crypto/keyring/EncryptedEntry.java,
5123         gnu/javax/crypto/keyring/Entry.java,
5124         gnu/javax/crypto/keyring/EnvelopeEntry.java,
5125         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
5126         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
5127         gnu/javax/crypto/keyring/IKeyring.java,
5128         gnu/javax/crypto/keyring/IPrivateKeyring.java,
5129         gnu/javax/crypto/keyring/IPublicKeyring.java,
5130         gnu/javax/crypto/keyring/MalformedKeyringException.java,
5131         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
5132         gnu/javax/crypto/keyring/MeteredInputStream.java,
5133         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
5134         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
5135         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
5136         gnu/javax/crypto/keyring/PrimitiveEntry.java,
5137         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
5138         gnu/javax/crypto/keyring/Properties.java,
5139         gnu/javax/crypto/keyring/PublicKeyEntry.java,
5140         gnu/javax/crypto/mac/BaseMac.java,
5141         gnu/javax/crypto/mac/HMac.java,
5142         gnu/javax/crypto/mac/HMacFactory.java,
5143         gnu/javax/crypto/mac/IMac.java,
5144         gnu/javax/crypto/mac/MacFactory.java,
5145         gnu/javax/crypto/mac/MacInputStream.java,
5146         gnu/javax/crypto/mac/MacOutputStream.java,
5147         gnu/javax/crypto/mac/OMAC.java,
5148         gnu/javax/crypto/mac/TMMH16.java,
5149         gnu/javax/crypto/mac/UHash32.java,
5150         gnu/javax/crypto/mac/UMac32.java,
5151         gnu/javax/crypto/mode/BaseMode.java,
5152         gnu/javax/crypto/mode/CBC.java,
5153         gnu/javax/crypto/mode/CFB.java,
5154         gnu/javax/crypto/mode/CTR.java,
5155         gnu/javax/crypto/mode/EAX.java,
5156         gnu/javax/crypto/mode/ECB.java,
5157         gnu/javax/crypto/mode/IAuthenticatedMode.java,
5158         gnu/javax/crypto/mode/ICM.java,
5159         gnu/javax/crypto/mode/IMode.java,
5160         gnu/javax/crypto/mode/ModeFactory.java,
5161         gnu/javax/crypto/mode/OFB.java,
5162         gnu/javax/crypto/pad/BasePad.java,
5163         gnu/javax/crypto/pad/IPad.java,
5164         gnu/javax/crypto/pad/PKCS1_V1_5.java,
5165         gnu/javax/crypto/pad/PKCS7.java,
5166         gnu/javax/crypto/pad/PadFactory.java,
5167         gnu/javax/crypto/pad/SSL3.java,
5168         gnu/javax/crypto/pad/TBC.java,
5169         gnu/javax/crypto/pad/TLS1.java,
5170         gnu/javax/crypto/pad/WrongPaddingException.java,
5171         gnu/javax/crypto/prng/ARCFour.java,
5172         gnu/javax/crypto/prng/CSPRNG.java,
5173         gnu/javax/crypto/prng/Fortuna.java,
5174         gnu/javax/crypto/prng/ICMGenerator.java,
5175         gnu/javax/crypto/prng/IPBE.java,
5176         gnu/javax/crypto/prng/PBKDF2.java,
5177         gnu/javax/crypto/prng/PRNGFactory.java,
5178         gnu/javax/crypto/prng/UMacGenerator.java,
5179         gnu/javax/crypto/sasl/AuthInfo.java,
5180         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
5181         gnu/javax/crypto/sasl/ClientFactory.java,
5182         gnu/javax/crypto/sasl/ClientMechanism.java,
5183         gnu/javax/crypto/sasl/ConfidentialityException.java,
5184         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
5185         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
5186         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
5187         gnu/javax/crypto/sasl/InputBuffer.java,
5188         gnu/javax/crypto/sasl/IntegrityException.java,
5189         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
5190         gnu/javax/crypto/sasl/NoSuchUserException.java,
5191         gnu/javax/crypto/sasl/OutputBuffer.java,
5192         gnu/javax/crypto/sasl/SaslEncodingException.java,
5193         gnu/javax/crypto/sasl/SaslInputStream.java,
5194         gnu/javax/crypto/sasl/SaslOutputStream.java,
5195         gnu/javax/crypto/sasl/SaslUtil.java,
5196         gnu/javax/crypto/sasl/ServerFactory.java,
5197         gnu/javax/crypto/sasl/ServerMechanism.java,
5198         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
5199         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
5200         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
5201         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
5202         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
5203         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
5204         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
5205         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
5206         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
5207         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
5208         gnu/javax/crypto/sasl/plain/PasswordFile.java,
5209         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
5210         gnu/javax/crypto/sasl/plain/PlainClient.java,
5211         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
5212         gnu/javax/crypto/sasl/plain/PlainServer.java,
5213         gnu/javax/crypto/sasl/srp/CALG.java,
5214         gnu/javax/crypto/sasl/srp/ClientStore.java,
5215         gnu/javax/crypto/sasl/srp/IALG.java,
5216         gnu/javax/crypto/sasl/srp/KDF.java,
5217         gnu/javax/crypto/sasl/srp/PasswordFile.java,
5218         gnu/javax/crypto/sasl/srp/SRP.java,
5219         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
5220         gnu/javax/crypto/sasl/srp/SRPClient.java,
5221         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
5222         gnu/javax/crypto/sasl/srp/SRPServer.java,
5223         gnu/javax/crypto/sasl/srp/SecurityContext.java,
5224         gnu/javax/crypto/sasl/srp/ServerStore.java,
5225         gnu/javax/crypto/sasl/srp/StoreEntry.java,
5226         gnu/javax/net/ssl/Base64.java,
5227         gnu/javax/net/ssl/EntropySource.java,
5228         gnu/javax/net/ssl/NullManagerParameters.java,
5229         gnu/javax/net/ssl/PrivateCredentials.java,
5230         gnu/javax/net/ssl/SRPManagerParameters.java,
5231         gnu/javax/net/ssl/SRPTrustManager.java,
5232         gnu/javax/net/ssl/StaticTrustAnchors.java,
5233         gnu/javax/net/ssl/provider/Alert.java,
5234         gnu/javax/net/ssl/provider/AlertException.java,
5235         gnu/javax/net/ssl/provider/Certificate.java,
5236         gnu/javax/net/ssl/provider/CertificateRequest.java,
5237         gnu/javax/net/ssl/provider/CertificateType.java,
5238         gnu/javax/net/ssl/provider/CertificateVerify.java,
5239         gnu/javax/net/ssl/provider/CipherSuite.java,
5240         gnu/javax/net/ssl/provider/ClientHello.java,
5241         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
5242         gnu/javax/net/ssl/provider/CompressionMethod.java,
5243         gnu/javax/net/ssl/provider/Constructed.java,
5244         gnu/javax/net/ssl/provider/ContentType.java,
5245         gnu/javax/net/ssl/provider/Context.java,
5246         gnu/javax/net/ssl/provider/DiffieHellman.java,
5247         gnu/javax/net/ssl/provider/DigestInputStream.java,
5248         gnu/javax/net/ssl/provider/DigestOutputStream.java,
5249         gnu/javax/net/ssl/provider/Enumerated.java,
5250         gnu/javax/net/ssl/provider/Extension.java,
5251         gnu/javax/net/ssl/provider/Extensions.java,
5252         gnu/javax/net/ssl/provider/Finished.java,
5253         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
5254         gnu/javax/net/ssl/provider/Handshake.java,
5255         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
5256         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
5257         gnu/javax/net/ssl/provider/Jessie.java,
5258         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
5259         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
5260         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
5261         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
5262         gnu/javax/net/ssl/provider/KeyPool.java,
5263         gnu/javax/net/ssl/provider/MacException.java,
5264         gnu/javax/net/ssl/provider/OverflowException.java,
5265         gnu/javax/net/ssl/provider/PRNG.java,
5266         gnu/javax/net/ssl/provider/ProtocolVersion.java,
5267         gnu/javax/net/ssl/provider/Random.java,
5268         gnu/javax/net/ssl/provider/RecordInput.java,
5269         gnu/javax/net/ssl/provider/RecordInputStream.java,
5270         gnu/javax/net/ssl/provider/RecordOutputStream.java,
5271         gnu/javax/net/ssl/provider/RecordingInputStream.java,
5272         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
5273         gnu/javax/net/ssl/provider/SSLHMac.java,
5274         gnu/javax/net/ssl/provider/SSLRSASignature.java,
5275         gnu/javax/net/ssl/provider/SSLRandom.java,
5276         gnu/javax/net/ssl/provider/SSLServerSocket.java,
5277         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
5278         gnu/javax/net/ssl/provider/SSLSocket.java,
5279         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
5280         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
5281         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
5282         gnu/javax/net/ssl/provider/SecurityParameters.java,
5283         gnu/javax/net/ssl/provider/ServerHello.java,
5284         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
5285         gnu/javax/net/ssl/provider/Session.java,
5286         gnu/javax/net/ssl/provider/SessionContext.java,
5287         gnu/javax/net/ssl/provider/Signature.java,
5288         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
5289         gnu/javax/net/ssl/provider/TLSHMac.java,
5290         gnu/javax/net/ssl/provider/TLSRandom.java,
5291         gnu/javax/net/ssl/provider/Util.java,
5292         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
5293         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
5294         gnu/javax/net/ssl/provider/XMLSessionContext.java,
5295         gnu/javax/security/auth/Password.java,
5296         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
5297         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
5298         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
5299         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
5300         gnu/javax/security/auth/callback/GnuCallbacks.java,
5301         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
5302         gnu/java/security/Registry.java,
5303         gnu/java/security/Properties.java,
5304         gnu/java/security/hash/BaseHash.java,
5305         gnu/java/security/hash/HashFactory.java,
5306         gnu/java/security/hash/Haval.java,
5307         gnu/java/security/hash/IMessageDigest.java,
5308         gnu/java/security/hash/MD2.java,
5309         gnu/java/security/hash/MD4.java,
5310         gnu/java/security/hash/MD5.java,
5311         gnu/java/security/hash/RipeMD128.java,
5312         gnu/java/security/hash/RipeMD160.java,
5313         gnu/java/security/hash/Sha160.java,
5314         gnu/java/security/hash/Sha256.java,
5315         gnu/java/security/hash/Sha384.java,
5316         gnu/java/security/hash/Sha512.java,
5317         gnu/java/security/hash/Tiger.java,
5318         gnu/java/security/hash/Whirlpool.java,
5319         gnu/java/security/jce/hash/HavalSpi.java,
5320         gnu/java/security/jce/hash/MD2Spi.java,
5321         gnu/java/security/jce/hash/MD4Spi.java,
5322         gnu/java/security/jce/hash/MD5Spi.java,
5323         gnu/java/security/jce/hash/MessageDigestAdapter.java,
5324         gnu/java/security/jce/hash/RipeMD128Spi.java,
5325         gnu/java/security/jce/hash/RipeMD160Spi.java,
5326         gnu/java/security/jce/hash/Sha160Spi.java,
5327         gnu/java/security/jce/hash/Sha256Spi.java,
5328         gnu/java/security/jce/hash/Sha384Spi.java,
5329         gnu/java/security/jce/hash/Sha512Spi.java,
5330         gnu/java/security/jce/hash/TigerSpi.java,
5331         gnu/java/security/jce/hash/WhirlpoolSpi.java,
5332         gnu/java/security/jce/prng/HavalRandomSpi.java,
5333         gnu/java/security/jce/prng/MD2RandomSpi.java,
5334         gnu/java/security/jce/prng/MD4RandomSpi.java,
5335         gnu/java/security/jce/prng/MD5RandomSpi.java,
5336         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
5337         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
5338         gnu/java/security/jce/prng/SecureRandomAdapter.java,
5339         gnu/java/security/jce/prng/Sha160RandomSpi.java,
5340         gnu/java/security/jce/prng/Sha256RandomSpi.java,
5341         gnu/java/security/jce/prng/Sha384RandomSpi.java,
5342         gnu/java/security/jce/prng/Sha512RandomSpi.java,
5343         gnu/java/security/jce/prng/TigerRandomSpi.java,
5344         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
5345         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
5346         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
5347         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
5348         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
5349         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
5350         gnu/java/security/jce/sig/SignatureAdapter.java,
5351         gnu/java/security/key/IKeyPairCodec.java,
5352         gnu/java/security/key/IKeyPairGenerator.java,
5353         gnu/java/security/key/KeyPairCodecFactory.java,
5354         gnu/java/security/key/KeyPairGeneratorFactory.java,
5355         gnu/java/security/key/dss/DSSKey.java,
5356         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
5357         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
5358         gnu/java/security/key/dss/DSSPrivateKey.java,
5359         gnu/java/security/key/dss/DSSPublicKey.java,
5360         gnu/java/security/key/dss/FIPS186.java,
5361         gnu/java/security/key/rsa/GnuRSAKey.java,
5362         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
5363         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
5364         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
5365         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
5366         gnu/java/security/prng/BasePRNG.java,
5367         gnu/java/security/prng/EntropySource.java,
5368         gnu/java/security/prng/IRandom.java,
5369         gnu/java/security/prng/LimitReachedException.java,
5370         gnu/java/security/prng/MDGenerator.java,
5371         gnu/java/security/prng/PRNGFactory.java,
5372         gnu/java/security/prng/RandomEvent.java,
5373         gnu/java/security/prng/RandomEventListener.java,
5374         gnu/java/security/sig/BaseSignature.java,
5375         gnu/java/security/sig/ISignature.java,
5376         gnu/java/security/sig/ISignatureCodec.java,
5377         gnu/java/security/sig/SignatureFactory.java,
5378         gnu/java/security/sig/dss/DSSSignature.java,
5379         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
5380         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
5381         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
5382         gnu/java/security/sig/rsa/EMSA_PSS.java,
5383         gnu/java/security/sig/rsa/RSA.java,
5384         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
5385         gnu/java/security/sig/rsa/RSAPSSSignature.java,
5386         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
5387         gnu/java/security/util/Base64.java,
5388         gnu/java/security/util/ExpirableObject.java,
5389         gnu/java/security/util/Prime2.java,
5390         gnu/java/security/util/Sequence.java,
5391         gnu/java/security/util/SimpleList.java,
5392         gnu/java/security/util/Util.java,
5393         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
5394         new files imported from GNU Crypto and Jessie.
5396 2006-01-25  Tom Tromey  <tromey@redhat.com>
5398         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
5399         Fixed calculation of number of bytes to read.
5400         (size, count, meta, eof): Document.
5402 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
5404         * java/lang/Character.java:
5405         (codePointCount(char[], int, int)): New API method.
5406         (codePointCount(CharSequence, int, int)): Likewise.
5408 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
5410         PR 25205
5411         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
5412         Rewritten.
5413         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
5414         action if not editing.
5415         * javax/swing/plaf/basic/BasicTreeUI.java 
5416         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
5417         (CellEditorHandler.editingStopped): Delegate to stopEditing.
5418         (EditorUpdateTimer): Removed.
5419         (TreeAction.actionPerformed): Stop and not cancel the current editing 
5420         when starting editing another node.
5421         (editorTimer, newVal): Removed.
5422         (cancelEditing): Do not send the cancel message.
5423         (completeEditing): Obtain the edited value from the editor.
5424         (finish): New method.
5425         (paintRow): Do not paint the editing component here.
5426         (startEditing, stopEditing): Rewritten.
5427         * javax/swing/tree/DefaultTreeCellEditor.java
5428         (DefaultTextField): Added SVUID.
5429         (EditorContainer): Rewritten.
5430         (RealEditorListener): New inner class.
5431         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
5432         (constructor): Add cell editor listener. Do not instantiate timer.
5433         (actionPerformed): Return without action.
5434         (cancelCellEditing): Rewritten.
5435         (createTreeCellEditor): Add cell editor listener to the editor.
5436         (getCellEditorValue): Request the value from the realEditor.
5437         (isCellEditable): Removed timer management.
5438         (prepareForEditing): Remove all components befor adding the 
5439         editingComponent.
5440         (startEditingTimer): Start only if it is not null.
5441         (stopCellEditing): Rewritten.
5442         (stopEditingTimer): New method.
5443         (valueChanged): Do not configure editing component here.
5445 2006-01-25  Roman Kennke  <kennke@aicas.com>
5447         * javax/swing/text/html/FormView.java: New file.
5449 2006-01-25  Roman Kennke  <kennke@aicas.com>
5451         * javax/swing/JSplitPane.java
5452         (addImpl): Call resetToPreferredSizes() when no dividerLocation
5453         has been set in order to set an initial layout.
5454         * javax/swing/plaf/basic/BasicSplitPaneUI.java
5455         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
5456         layout of the right component.
5457         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
5458         dividerLocation to the size of the left component.
5459         (createDefaultNonContinuousLayoutDivider): Fetch the color from
5460         the UIManager.
5461         (setDividerLocation): Don't validate the location here. Sometimes
5462         the divider needs to be set to an invalid location.
5463         (startDragging): Don't revalidate and repaint here.
5464         (finishDraggingTo): Don't repaint here. Also, don't call
5465         dragDividerTo() here.
5466         * javax/swing/plaf/basic/BasicLookAndFeel.java
5467         (initComponentDefaults): Added SplitPaneDivider.draggingColor
5468         default value.
5470 2006-01-25  Roman Kennke  <kennke@aicas.com>
5472         * javax/swing/JSplitPane.java
5473         (addImpl): Removed invalidate() and layout() call.
5474         * javax/swing/plaf/basic/BasicSplitPaneUI.java
5475         (PropertyHandler.propertyChange): Remove layoutContainer() and
5476         repaint() call.
5478 2006-01-25  Roman Kennke  <kennke@aicas.com>
5480         * configure.ac
5481         * native/Makefile.am
5482         * native/jni/classpath/Makefile.am
5483         * native/jni/classpath/jcl.c
5484         * native/jni/classpath/jcl.h
5485         * native/jni/classpath/native_state.c
5486         * native/jni/gtk-peer/Makefile.am
5487         * native/jni/java-io/Makefile.am
5488         * native/jni/java-io/java_io_VMFile.c
5489         * native/jni/java-io/java_io_VMObjectStreamClass.c
5490         * native/jni/java-lang/Makefile.am
5491         * native/jni/java-net/Makefile.am
5492         * native/jni/java-net/java_net_VMInetAddress.c
5493         * native/jni/java-net/javanet.c
5494         * native/jni/java-net/javanet.h
5495         * native/jni/java-nio/Makefile.am
5496         * native/jni/java-nio/gnu_java_nio_VMPipe.c
5497         * native/jni/java-nio/gnu_java_nio_VMSelector.c
5498         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
5499         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
5500         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
5501         * native/jni/java-util/Makefile.am
5502         * native/jni/java-util/java_util_VMTimeZone.c
5503         * native/jni/midi-dssi/Makefile.am
5504         * native/jni/xmlj/Makefile.am
5505         * native/target/Makefile.am
5506         * native/target/Linux/target_native_math.h
5507         * native/target/Linux/target_native_memory.h
5508         * native/target/Linux/Makefile.am
5509         * native/target/Linux/target_native_io.h
5510         * native/target/Linux/target_native_math_float.h
5511         * native/target/Linux/target_native_math_int.h
5512         * native/target/generic/target_generic.c
5513         * native/target/generic/target_generic_io.c
5514         * native/target/generic/target_generic_math.h
5515         * native/target/generic/target_generic_memory.h
5516         * native/target/generic/target_generic_misc.c
5517         * native/target/generic/target_generic_network.c
5518         * native/target/generic/Makefile.am
5519         * native/target/generic/target_generic.h
5520         * native/target/generic/target_generic_file.h
5521         * native/target/generic/target_generic_io.h
5522         * native/target/generic/target_generic_math_float.h
5523         * native/target/generic/target_generic_math_int.h
5524         * native/target/generic/target_generic_misc.h
5525         * native/target/generic/target_generic_network.h:
5526         Reverted target native related changes back to the state of the
5527         0.20 release.
5528         * native/target/MinGW/.cvsignore
5529         * native/target/MinGW/Makefile.am
5530         * native/target/MinGW/target_native.h
5531         * native/target/MinGW/target_native_file.h
5532         * native/target/MinGW/target_native_io.h
5533         * native/target/MinGW/target_native_math.h
5534         * native/target/MinGW/target_native_memory.h
5535         * native/target/MinGW/target_native_misc.h
5536         * native/target/MinGW/target_native_network.h
5537         * native/target/RTEMS/.cvsignore
5538         * native/target/RTEMS/Makefile.am
5539         * native/target/RTEMS/target_native.h
5540         * native/target/RTEMS/target_native_file.h
5541         * native/target/RTEMS/target_native_io.h
5542         * native/target/RTEMS/target_native_math.h
5543         * native/target/RTEMS/target_native_memory.h
5544         * native/target/RTEMS/target_native_misc.h
5545         * native/target/RTEMS/target_native_network.h
5546         * native/target/SunOS/.cvsignore
5547         * native/target/SunOS/Makefile.am
5548         * native/target/SunOS/target_native.h
5549         * native/target/SunOS/target_native_file.h
5550         * native/target/SunOS/target_native_io.h
5551         * native/target/SunOS/target_native_math.h
5552         * native/target/SunOS/target_native_memory.h
5553         * native/target/SunOS/target_native_misc.h
5554         * native/target/SunOS/target_native_network.h
5555         * native/target/embOS/.cvsignore
5556         * native/target/embOS/Makefile.am
5557         * native/target/embOS/target_native.h
5558         * native/target/embOS/target_native_file.h
5559         * native/target/embOS/target_native_io.c
5560         * native/target/embOS/target_native_io.h
5561         * native/target/embOS/target_native_math.h
5562         * native/target/embOS/target_native_memory.h
5563         * native/target/embOS/target_native_misc.h
5564         * native/target/embOS/target_native_network.h
5565         * native/target/posix/.cvsignore
5566         * native/target/posix/Makefile.am
5567         * native/target/posix/target_posix.c
5568         * native/target/posix/target_posix.h
5569         * native/target/posix/target_posix_file.c
5570         * native/target/posix/target_posix_file.h
5571         * native/target/posix/target_posix_io.c
5572         * native/target/posix/target_posix_io.h
5573         * native/target/posix/target_posix_math.c
5574         * native/target/posix/target_posix_math.h
5575         * native/target/posix/target_posix_memory.c
5576         * native/target/posix/target_posix_memory.h
5577         * native/target/posix/target_posix_misc.c
5578         * native/target/posix/target_posix_misc.h
5579         * native/target/posix/target_posix_network.c
5580         * native/target/posix/target_posix_network.h:
5581         Removed.
5583 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
5585         * javax/print/PrintService.java,
5586         * javax/print/DocPrintJob.java,
5587         * javax/print/CancelablePrintJob.java:
5588         Added and enhanced api documentation for class and methods.             
5590 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
5592         * javax/print/SimpleDoc.java: Make class final.
5593         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
5594         * javax/print/attribute/DateTimeSyntax.java: 
5595         (toString): New overridden method.
5596         * javax/print/attribute/standard/JobStateReasons.java:
5597         (add): Use the super.add method to avoid recursion.
5598         * javax/print/attribute/standard/PrinterStateReasons.java: 
5599         (put): Use the super.put method to avoid recursion.
5601 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
5603         * java/beans/XMLEncoder.java:
5604         (writeExpression): Added early return (fixes PR #25941).
5605         (setExceptionListener, anonymous Class): Removed printStackTrace
5606         call.
5607         * java/beans/Encoder: Removed unused imports.
5608         (setupDefaultPersistenceDelegates): Removed unneccessary
5609         PersistenceDelegates for subclasses.
5610         * java/beans/PersistenceDelegate:
5611         (initialize): Use local variable as first argument as it was
5612         intended once.
5613         * java/beans/DefaultPersistenceDelegate:
5614         (initialize): Added call to superclass' implementation, added
5615         early return.
5617 2006-01-24  Tom Tromey  <tromey@redhat.com>
5619         * java/util/regex/PatternSyntaxException.java: Added @since.
5620         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
5621         * java/util/regex/MatchResult.java: New file.
5623 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
5625         * javax/swing/text/StringContent.java: Added API docs all over, plus 
5626         minor reformatting.
5628 2006-01-24  Gary Benson  <gbenson@redhat.com>
5630         * java/net/SocketPermission.java: Implemented serialization.
5632 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
5634         * javax/swing/text/StringContent.java
5635         (remove): Modified argument check to prevent removal of last character,
5636         (getChars): Removed null argument check to allow NullPointerException,
5637         added API docs,
5638         (checkLocation): Added API docs and white space.
5640 2006-01-23  Lillian Angel  <langel@redhat.com>
5642         * javax/swing/text/DefaultStyledDocument.java
5643         (insertUpdate): Should only call createFracture with 
5644         StartTagType. Added check.
5645         (insertContentTag): Should use the tags length for splitting.
5646         Also, added a check to determine if current's start and end offset are
5647         equal to the offset and endOffset. If so, only one leaf element
5648         should be added. 
5649         (createFracture): Removed FIXME. This function is complete.
5650         (split): Added calls to replace. Changed so the child is 
5651         added immediately to the paragraph. Prevents NPEs.
5653 2006-01-23  Mark Wielaard  <mark@klomp.org>
5655         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
5657 2006-01-23  Tom Tromey  <tromey@redhat.com>
5659         * gnu/java/security/x509/X509Certificate.java (parse):
5660         Unconditionally read value; for version==1 case when reading
5661         algorithm ID.
5663 2006-01-23  Roman Kennke  <kennke@aicas.com>
5665         * javax/swing/plaf/synth/ColorType.java,
5666         * javax/swing/plaf/synth/Region.java,
5667         * javax/swing/plaf/synth/SynthConstants.java,
5668         * javax/swing/plaf/synth/SynthContext.java
5669         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
5670         * javax/swing/plaf/synth/SynthLookAndFeel.java,
5671         * javax/swing/plaf/synth/SynthPainter.java,
5672         * javax/swing/plaf/synth/SynthStyle.java,
5673         * javax/swing/plaf/synth/SynthStyleFactory.java,
5674         * javax/swing/plaf/synth/package.html:
5675         New files. Added the public API and framework classes for the
5676         Synth look and feel.
5678 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
5680         * javax/swing/text/Segment.java: API docs all over.
5682 2006-01-23  Lillian Angel  <langel@redhat.com>
5684         * javax/swing/text/DefaultStyledDocument.java
5685         (split): Should not use createLeafElement and createBranchElement here.
5686         We should just instaniate the LeafElements and BranchElements instead 
5687         to avoid the case where create*Element is overridden.
5689 2006-01-23  Lillian Angel  <langel@redhat.com>
5691         * javax/swing/text/DefaultStyledDocument.java
5692         (insertFirstContentTag): Moved check outside of if-statement.
5693         This should be checked before creating the new leaf element.
5694         (insertFracture): Fixed check to prevent an NPE. The previous
5695         leaf should only be recreated if it has been created by
5696         insertFirstContentTag. Also, fixed up code: if the endOffset is
5697         greater than the offset, then we need to create a temp leaf
5698         as a place holder. Otherwise, the leaf elements should be
5699         created normally.
5701 2006-01-23  Gary Benson  <gbenson@redhat.com>
5703         * java/net/SocketPermission.java: Almost completely rewritten.
5705 2006-01-23  Lillian Angel  <langel@redhat.com>
5706         
5707         * javax/swing/text/DefaultStyledDocument.java
5708         (insertFracture): Set temp leaf's attributes to prevent an NPE.
5710 2006-01-23  Lillian Angel  <langel@redhat.com>
5712         * javax/swing/text/DefaultStyledDocument.java:
5713         Formatted ElementBuffer and added new fields.
5714         (remove): Added check to determine if length is 0.
5715         (insertFirstContentTag): Initialized firstCreated to the element that is created 
5716         by the first tag encountered. Removed check in JoinPreviousDirection case, no
5717         longer needed. In OriginateDirection case, added a loop to remove all old leafs
5718         that have been recreated.
5719         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
5720         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
5721         FIXME tags to the lines that need to be rewritten.      
5723 2006-01-23  Mark Wielaard  <mark@klomp.org>
5725         * examples/Makefile.am: Add support for fastjar.
5727 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5729         * gnu/regexp/REToken.java(empty): Made Cloneable.
5730         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
5731         Use separate methods matchN and matchP depending on the
5732         boolean negative.
5733         (matchN): New method used when negative. Done as before.
5734         (matchP): New method used when not negative. Each token is
5735         tried not by itself but by a clone of it.
5737 2006-01-23  Chris Burdess  <dog@gnu.org>
5739         Fixes bug #25906
5740         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
5741           class to avoid getLength method contention.
5742         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
5744 2006-01-23  Chris Burdess  <dog@gnu.org>
5746         * native/jni/java-util/Makefile.am: Include library required
5747           explicitly by BSD systems.
5748         * native/target/generic/target_generic_misc.h: Remove old commented
5749           out code.
5750         * native/target/generic/target_generic_network.h: Fallbacks (to
5751           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
5753 2006-01-22  Tom Tromey  <tromey@redhat.com>
5755         * native/target/posix/.cvsignore: Added .deps.
5757 2006-01-22  Mark Wielaard  <mark@klomp.org>
5759         Fixes bug #25832,
5760         reported by James Damour <James.Damour@corp.request.com>
5761         * java/awt/Container.java (addImpl): Use empty string as name when
5762         null constraints for LayoutManager.addLayoutComponent().
5764 2006-01-22  Chris Burdess  <dog@gnu.org>
5766         Fixes bug #25903
5767         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
5768           representing current directory as base for relative URLs.
5770 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5772         Fixes bug #25837
5773         * gnu/regexp/REMatch.java(empty): New boolean indicating
5774         an empty string matched.
5775         * gnu/regexp/RE.java(match): Sets empty flag when an empty
5776         string matched.
5777         (initialize): Support back reference \10, \11, and so on.
5778         (parseInt): renamed from getEscapedChar and returns int.
5779         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
5780         when an empty string matched. Fixed a bug of the case where
5781         an empty string matched. Added special handling of {0}.
5782         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
5783         when an empty string matched. Fixed the case insensitive matching.
5785 2006-01-21  Roman Kennke  <kennke@aicas.com>
5787         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
5788         (paint): Added painting of border if one is installed.
5790 2006-01-21  Roman Kennke  <kennke@aicas.com>
5792         PR classpath/25843:
5793         * javax/swing/plaf/basic/BasicBorders.java
5794         (getSplitPaneDividerBorder): Use new border constructor
5795         without arguments.
5796         (SplitPaneDividerBorder.highlight): Removed unneeded field.
5797         (SplitPaneDividerBorder.shadow): Removed unneeded field.
5798         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
5799         colors are fetched dynamically in the paintBorder method.
5800         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
5801         the look and feel.
5802         (SplitPaneDividerBorder.isBorderOpaque): Returns true
5803         unconditionally.
5804         * javax/swing/plaf/basic/BasicLookAndFeel.java
5805         (initComponentDefaults): Added default for SplitPaneDivider.border.
5806         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5807         (tmpBorder): Removed unneeded inner class.
5808         (BasicSplitPaneDivider): Removed setting of border.
5809         (setSplitPaneUI): Don't add the mouse handler to the splitpane
5810         itself.
5811         * javax/swing/plaf/basic/BasicSplitPaneUI.java
5812         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
5813         to get behaviour right.
5814         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
5815         implementation. This must be rewritten since the layout now works
5816         slightly different (basically, it shouldn't modify the sizes[]
5817         here but instead the dividerLocation.
5818         (dividerLocation): New field.
5819         (installDefaults): Initialize border on divider.
5820         (uninstallDefaults): Only remove background color and border from
5821         splitPane if they are instances of UIDefaults (== not set by
5822         application).
5823         (setDividerLocation): Set the dividerLocation field instead of
5824         doing stunt acts here.
5825         (getDividerLocation): Return dividerLocation field.
5826         (getMinimumDividerLocation): Fixed calculation of minimum location.
5827         
5828 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
5830         * m4/acinclude.m4
5831         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
5833         * lib/Makefile.am: Likewise. 
5835 2006-01-21  Roman Kennke  <kennke@aicas.com>
5837         * javax/swing/PopupFactory.java
5838         (getPopup): If there is no Swing root found in any way, use a
5839         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
5840         for the Swing AWT peers.
5842 2006-01-20  Tom Tromey  <tromey@redhat.com>
5844         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
5845         Read response body for redirect.
5847 2006-01-20  Chris Burdess  <dog@gnu.org>
5849         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
5850           redirects on 304.
5852 2006-01-20  Lillian Angel  <langel@redhat.com>
5854         * javax/swing/text/DefaultStyledDocument.java
5855         (pad): Removed, not needed.
5856         (printElements): Likewise.
5857         (printEdit): Likewise.
5859 2006-01-20  Roman Kennke  <kennke@aicas.com>
5861         * javax/swing/text/DefaultFormatter.java
5862         (DefaultFormatter): Don't set a value class.
5864 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
5866         * javax/swing/DefaultCellEditor.java: Commented.
5868 2006-01-19  Roman Kennke  <kennke@aicas.com>
5870         * javax/swing/JOptionPane.java
5871         Added cast to Frame for JDialog constructor.
5873 2006-01-19  Roman Kennke  <kennke@aicas.com>
5875         * javax/swing/JWindow.java
5876         (JWindow(Window)): Fixed to accept null owner argument.
5877         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
5878         owner argument.
5879         * javax/swing/SwingUtilities.java
5880         (getOwnerFrame): Owner parameter and return value are fixed to
5881         be of type Window for compatibity with the above JWindow
5882         constructor.
5883         * javax/swing/JDialog.java
5884         (JDialog): Added cast to Frame to make sure the correct constructor
5885         is called.
5886         * javax/swing/JFileChooser.java
5887         (createDialog): Added cast to Frame for JDialog constructor.
5889 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
5891         * javax/swing/JTable.java (rowAtPoint): Rewritten.
5893 2006-01-19  Roman Kennke  <kennke@aicas.com>
5895         * javax/swing/JWindow.java: Added API docs to the constructors.
5897 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
5899         * javax/swing/JTable.java: Commenting method headers.
5900         (EditorUpdateTimer): Removed.
5902 2006-01-19  Roman Kennke  <kennke@aicas.com>
5904         * javax/swing/JDialog.java
5905         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
5906         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
5907         SwingUtilities.getOwnerFrame() with the owner argument.
5908         * javax/swing/JFileChooser.java
5909         (showOpenDialog(Component)): Call pack() on the dialog instead of
5910         setting a fixed height.
5911         (showSaveDialog()): Likewise.
5912         (showDialog()): Likewise.
5913         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
5914         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
5915         with null.
5916         * javax/swing/JWindow.java
5917         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
5918         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
5919         argument.
5920         * javax/swing/SwingUtilities.java
5921         (getOwnerFrame): Changed to take a owner parameter that is returned
5922         as owner frame when not null.
5924 2006-01-19  Roman Kennke  <kennke@aicas.com>
5926         * gnu/java/awt/peer/swing/SwingFramePeer.java
5927         (handleMouseEvent): Fixed handling of mouse events.
5928         (handleMouseMotionEvent): Fixed handling of mouse events.
5930 2006-01-19  Roman Kennke  <kennke@aicas.com>
5932         * native/target/generic/target_generic_misc.c:
5933         (targetGenericMisc_formatString): Added missing method.
5935 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
5937         * m4/acinclude.m4: Test also for ecj found before exiting configure
5938         with no javac found error message. 
5940 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5942         Fixes bug #23212
5943         * gnu/regexp/RE.java(initialize): Support escaped characters such as
5944         \0123, \x1B, \u1234.
5945         (getEscapedChar): New method.
5946         (CharExpression): New inner class.
5947         (getCharExpression): New Method.
5948         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
5949         RE_UNICODE_CHAR): New syntax bits.
5951 2006-01-19  Roman Kennke  <kennke@aicas.com>
5953         * native/target/Makefile.am: Fixed so that posix stuff is really
5954         only built when requested.
5956 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
5958         * javax/swing/JTable.java (editingStopped, editingCancelled):
5959         Repaint the edited cell.
5960         (setValueAt): Do not add the value object to this container.
5961         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
5962         (editingStopped): Use editingRow, editingColumn and not
5963         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
5964         (doLayout): Move the editor component, if present, into the new
5965         location and call repaint(). (moveToCellBeingEdited): new method.
5966         (TableTextField): new inner class.
5967         (getDefaultEditor): Instantiante TableTextField, not JTextField.
5968         (setValueAt): Repaint the changed segment.
5969         (createDefaultEditors): Implemented.
5970         (BooleanCellRenderer): Center the checkbox and use the default foreground
5971         and background colors.   
5972         * javax/swing/plaf/basic/BasicTableUI.java
5973         (paintCell): Do not paint the caret here. Do not accept unused parameters.
5974         (paint): No need to allocate rectangle for each cell.   
5975         * javax/swing/DefaultCellEditor.java: Rewritten.         
5976         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
5977         Use TableDemo.java table example.
5978         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
5980 2006-01-19  Roman Kennke  <kennke@aicas.com>
5982         * configure.ac: Added/fixed --enable-posix-layer option to enable
5983         build of posix layer.
5984         * native/target/Makefile.am: Added build for posix layer.
5986 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5988         * configure.ac: Set TARGET to Linux per default.
5989         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
5990         libtargetos.la.
5991         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
5992         * native/target/generic/Makefile.am (INCLUDES): Renamed to
5993         AM_CPPFLAGS.
5994         
5995 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
5997         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
5998           what looked like proprietary documentation with original or new one.
5999         * java/security/spec/PSSParameterSpec.java: Likewise.
6000         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
6001         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
6002         * java/security/AlgorithmParameterGenerator.java: Likewise.
6003         * java/security/AlgorithmParameters.java: Likewise.
6004         * java/security/Identity.java: Likewise.
6005         * java/security/IdentityScope.java: Likewise.
6006         * java/security/KeyFactory.java: Likewise.
6007         * java/security/KeyPairGenerator.java: Likewise.
6008         * java/security/MessageDigest.java: Likewise.
6009         * java/security/Policy.java: Likewise.
6010         * java/security/ProtectionDomain.java: Likewise.
6011         * java/security/Security.java: Likewise.
6012         * java/security/Signature.java: Likewise.
6013         * java/security/SignatureSpi.java: Likewise.
6014         * java/security/SignedObject.java: Likewise.
6015         * java/security/Signer.java: Likewise.
6017 2006-01-18  Roman Kennke  <kennke@aicas.com>
6019         * configure.ac: Added --enable-posix-layer option to enable
6020         build of the posix target layer.
6022 2006-01-18  Roman Kennke  <kennke@aicas.com>
6024         * native/jni/java-net/java_net_VMInetAddress.c
6025         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
6026         for INADDR_ANY.
6028 2006-01-18  Roman Kennke  <kennke@aicas.com>
6030         * native/jni/java-util/java_util_VMTimeZone.c:
6031         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
6032         to use target native layer.
6033         (jint_to_charbuf): Removed unneeded helper function.
6035 2006-01-18  Roman Kennke  <kennke@aicas.com>
6037         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
6038         Removed unnecessary include.
6039         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
6040         Reorganized includes to only include sys/* headers when available.
6041         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
6042         (get_pagesize): Return 0 when nothing else works.
6043         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
6044         Replaced munmap() and strerror() with corresponding target macros.
6045         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
6046         Replaced strerror() with corresponding target macro.
6047         (Java_java_nio_MappedByteBufferImpl_forceImpl):
6048         Replaced strerror() with corresponding target macro.
6049         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
6050         (Java_java_nio_VMDirectByteBuffer_allocate):
6051         Replaced malloc() with the corresponding target macro.
6052         (Java_java_nio_VMDirectByteBuffer_free):
6053         Replaced free() with the corresponding target macro.
6054         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
6055         Add index to pointer when assigning the value.
6056         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
6057         Replaced memcpy with corresponding target macro. Add index when
6058         doing the memcpy, not when fetching the pointer.
6059         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
6060         Replaced memcpy with corresponding target macro.
6061         (Java_java_nio_VMDirectByteBuffer_shiftDown):
6062         Replaced memmove with the corresponding target macro.
6064 2006-01-17  Tom Tromey  <tromey@redhat.com>
6066         PR classpath/20198:
6067         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
6068         (JarURLLoader): Likewise.
6069         (addURLImpl): Canonicalize file URLs.
6071 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6073         * configure.ac: Set TARGET.
6074         * native/Makefile.am, native/jni/classpath/Makefile.am,
6075         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
6076         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
6077         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
6078         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
6079         native/target/Linux/Makefile.am,
6080         native/target/generic/Makefile.am,
6081         native/target/posix/Makefile.am: Build libclasspath.so with jcl
6082         and target stuff linked in and link it against lib*.so libraries.
6084 2006-01-17  Roman Kennke  <kennke@aicas.com>
6086         * native/jni/java-net/javanet.c:
6087         (_javanet_connect): Changed type of some local variables to jint.
6088         Fixed error handling to throw a SocketTimeoutException if the
6089         connection attempt times out.
6090         (_javanet_bind): Changed type of some local variables to jint.
6091         (_javanet_accept): Likewise.
6092         (_javanet_recvfrom): Likewise.
6093         (_javanet_sendto): Fixed error handling to throw a
6094         PortUnreachableException when connection is refused.
6095         (_javanet_get_option): Changed type of some local variables to jint.
6096         Implemented SOCKOPT_SO_BROADCAST.
6097         (_javanet_shutdownInput): Replaced shutdown call with corresponding
6098         target native macro.
6099         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
6100         target native macro.
6101         * native/jni/java-net/javanet.h:
6102         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
6103         SOCKOPT_SO_BROADCAST.
6105 2006-01-17  Lillian Angel  <langel@redhat.com>
6107         * javax/swing/text/DefaultStyledDocument.java
6108         (insert): Cleaned up loop. No need to make so many calls
6109         to getAddedElements and getRemovedElements.
6110         (insertFracture): Removed unneeded array.
6112 2006-01-17  Lillian Angel  <langel@redhat.com>
6113         
6114         * javax/swing/text/JTextComponent.java
6115         (AccessibleJTextComponent): Implemented.
6116         (getCaretPosition): Implemented.
6117         (getSelectedText): Implemented.
6118         (getSelectionStart): Implemented.
6119         (getSelectionEnd): Implemented.
6120         (getSelectionEnd): Implemented.
6121         (getCharCount): Implemented.
6122         (insertTextAtIndex): Implemented.
6123         (getTextRange): Implemented.
6124         (delete): Implemented.
6125         (cut): Implemented.
6126         (paste): Implemented.
6127         (replaceText): Implemented.
6128         (selectText): Implemented.
6130 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
6132         * javax/swing/text/DefaultStyledDocument.java:
6133         (pad): New debugging method.
6134         (printElements): Likewise.
6135         (printPendingEdits): Likewise.
6136         (printElement): Likewise.
6137         (Edit): Improved docs, moved this class to be an inner class of
6138         ElementBuffer since it only applies within that scope.  Changed added 
6139         and removed to be Vectors instead of arrays because we need to be able 
6140         to add to them after construction.
6141         (ElementBuffer): Updated docs with link to article that helped in this
6142         classes implementation.
6143         (ElementBuffer.Edit.getRemovedElements): New method.
6144         (ElementBuffer.Edit.getAddedElements): Likewise.
6145         (ElementBuffer.Edit.addRemovedElement): Likewise.
6146         (ElementBuffer.Edit.addRemovedElements): Likewise.
6147         (ElementBuffer.Edit.addAddedElement): Likewise.
6148         (ElementBuffer.Edit.addAddedElements): Likewise.
6149         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
6150         addAddedElements.
6151         (ElementBuffer.getEditForParagraphAndIndex): New method.
6152         (ElementBuffer.removeUpdate): Changed type of paragraph to 
6153         BranchElement.  Corrected style of adding the edit to use the new Edit
6154         facilities.
6155         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
6156         the new Edit facilities.
6157         (ElementBuffer.split): Likewise.
6158         (ElementBuffer.insertParagraph): Likewise.
6159         (ElementBuffer.insertContentTag): Likewise.
6160         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
6161         not just the root and the first one. Apply the structural changes to 
6162         the tree at the same time as updating the DocumentEvent.
6163         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
6164         handling of EndTags as the first ElementSpec.  Instead have to handle
6165         ContentTags as a special case if they are the first ElementSpec and if
6166         not have to fracture the tree.
6167         (ElementBuffer.createFracture): New method.  May not be complete yet.
6168         Added FIXME indicating what may remain to be done.
6169         (ElementBuffer.insertFirstContentTag): New method.
6170         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
6171         be done.  Changed the adding of edits to use the new Edit facilities.
6172         Removed the adding of edits for Elements that weren't in the tree prior
6173         to the insertion.
6174         (insertUpdate): Removed incorrect condition for setting a StartTag's
6175         direction to JoinNextDirection.
6176         * javax/swing/text/StyleContent.java: 
6177         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
6178         that was causing an ArrayOutOfBoundsException.
6180 2006-01-17  Roman Kennke  <kennke@aicas.com>
6182         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
6183         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
6184         exception messages a little.
6185         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
6186         alternative implementation for systems without filesystems.
6187         Replaced snprintf with the corresponding target native macro.
6188         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
6189         Only do something when we have a filesystem.
6190         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
6191         alternative implementation for systems without filesystems.
6192         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
6193         alternative implementation for systems without filesystems.
6194         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
6195         alternative implementation for systems without filesystems.
6196         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
6197         Only do something when we have a filesystem.
6198         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
6199         Only do something when we have a filesystem.
6200         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
6201         alternative implementation for systems without filesystems.
6202         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
6203         Replaced ssize_t variables with jint. Provided
6204         alternative implementation for systems without filesystems.
6205         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
6206         Replaced ssize_t variables with jint. Provided
6207         alternative implementation for systems without filesystems.
6208         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
6209         Replaced ssize_t variables with jint. Provided
6210         alternative implementation for systems without filesystems.
6211         (Java_gnu_java_nio_channels_FileChannelImpl_force):
6212         Only do something when we have a filesystem.
6213         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
6214         Replaced ssize_t variables with jint. Provided
6215         alternative implementation for systems without filesystems.
6216         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
6217         to use the corresponding target native macro.
6218         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
6219         to use the corresponding target native macro.
6221 2006-01-17  Lillian Angel  <langel@redhat.com>
6223         * javax/swing/text/DefaultTextUI.java:
6224         Added deprecated tag.
6225         * javax/swing/text/JTextComponent.java
6226         (AccessibleJTextComponent): Fixed API doc and
6227         partially implemented.
6228         (getCaretPosition): Fixed API doc and implemented.
6229         (getSelectedText): Fixed API doc.
6230         (getSelectionStart): Likewise.
6231         (getSelectionEnd): Likewise.
6232         (caretUpdate): Fixed API doc and
6233         partially implemented.
6234         (getAccessibleStateSet): Likewise.
6235         (getAccessibleRole): Fixed API doc and implemented.
6236         (getAccessibleEditableText): Implemented.
6237         (getAccessibleText): Fixed API doc and implemented.
6238         (insertUpdate): Fixed API doc.
6239         (changedUpdate): Likewise.
6240         (getIndexAtPoint): Likewise.
6241         (getRootEditorRect): Removed.
6242         (getCharacterBounds): Fixed API doc.
6243         (getCharCount): Likewise.
6244         (getCharacterAttribute): Likewise.
6245         (getAtIndex): Likewise.
6246         (getAfterIndex): Likewise.
6247         (getBeforeIndex): Likewise.
6248         (getAccessibleActionCount): Added function stub.
6249         (getAccessibleActionDescription): Added function,
6250         partially implemented.
6251         (doAccessibleAction): Added function stub.
6252         (setTextContents): Likewise.
6253         (insertTextAtIndex): Likewise.
6254         (delete): Likewise.
6255         (cut): Likewise.
6256         (paste): Likewise.
6257         (replaceText): Likewise.
6258         (selectText): Likewise.
6259         (setAttributes): Likewise.
6260         (getAccessibleContext): Implemented.
6262 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6264         Fixes bug #25817
6265         * gnu/regexp/RETokenRange.java(constructor):
6266         Keep lo and hi as they are.
6267         (match): Changed the case insensitive comparison.
6269 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6271         * gnu/regexp/RETokenChar.java(chain):
6272         Do not concatenate tokens whose insens flags are diffent.
6274 2006-01-17  Roman Kennke  <kennke@aicas.com>
6276         * native/target/generic/target_generic_network.c:
6277         (targetGenericNetwork_receive): Fixed signature to match the
6278         corresponding .h file.
6279         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
6280         to match the corresponding .h file.
6282 2006-01-17  Roman Kennke  <kennke@aicas.com>
6284         * native/jni/classpath/jcl.c:
6285         (JCL_malloc): Replaced calls to malloc with the corresponding
6286         target layer macro.
6287         (JCL_free): Replaced calls to free with the corresponding
6288         target layer macro.
6289         * native/jni/classpath/native_state.c:
6290         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
6291         calloc with the corresponding target layer macro.
6292         (remove_node): Replaced calls to free with the corresponding
6293         target layer macro.
6294         (add_node): Replaced calls to malloc with the corresponding
6295         target layer macro.
6297 2006-01-17  Roman Kennke  <kennke@aicas.com>
6299         * native/jni/java-io/java_io_VMObjectStreamClass.c:
6300         (getFieldReference): Use MALLOC/FREE macros for portability instead
6301         of direct call to malloc() and free().
6303 2006-01-17  Roman Kennke  <kennke@aicas.com>
6305         * native/jni/classpath/jcl.c: Added missing imports.
6306         (JCL_realloc): Fixed signature to include oldsize. This is needed
6307         for some targets. Make this function use the MEMORY_REALLOC macro
6308         for portability.
6309         * native/jni/classpath/jcl.h
6310         (JCL_realloc): Adjusted signature.
6311         * native/jni/java-io/java_io_VMFile.c:
6312         (Java_java_io_VMFile_create): Use target layer macro for handling
6313         errno, for portability.
6314         (Java_java_io_VMFile_length): Release filename string in error cases
6315         before returning.
6316         (Java_java_io_VMFile_list): Initialize filename variable. Use new
6317         version of JCL_realloc.
6318         * native/jni/java-net/java_net_VMInetAddress.c:
6319         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
6320         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
6321         * native/jni/java-net/javanet.c:
6322         (_javanet_bind): Make errorstr variable const to avoid compiler
6323         warning.
6324         (_javanet_set_option): Fixed typo.
6325         (_javanet_get_option): Fixed typo.
6326         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
6327         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
6328         error_string variable const to avoid compiler warning.
6329         * native/target/generic/target_generic_file.h:
6330         Replaced // comments with /* */ comments to avoid compiler warnings.
6331         Added some spaces to make code better readable.
6332         * native/target/generic/target_generic_memory.h:
6333         Replaced // comments with /* */ comments to avoid compiler warnings.
6334         * native/target/generic/target_generic_misc.c:
6335         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
6336         compiler warnings due to use of varargs.
6337         * native/target/generic/target_generic_misc.h:
6338         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
6339         compiler warnings due to use of varargs.
6340         * native/target/generic/target_generic_network.h:
6341         Replaced // comments with /* */ comments to avoid compiler warnings.
6342         (targetGenericNetwork_receive): Fixed signature to use signed chars
6343         for buffer parameter to avoid warning when passing a jbyte to the
6344         function.
6346 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
6348         * javax/swing/text/StyleConstants.java
6349         (getAlignment): Removed isDefined() check, so that resolving parent is 
6350         used for lookup,
6351         (getBackground): Likewise, plus changed default value to Color.BLACK,
6352         (getBidiLevel): Removed isDefined() check,
6353         (getComponent): Likewise,
6354         (getFirstLineIndent): Likewise,
6355         (getFontFamily): Likewise,
6356         (getFontSize): Likewise,
6357         (getForeground): Likewise,
6358         (getIcon): Likewise,
6359         (getLeftIndent): Likewise,
6360         (getLineSpacing): Likewise,
6361         (getRightIndent): Likewise,
6362         (getSpaceAbove): Likewise,
6363         (getSpaceBelow): Likewise,
6364         (getTabSet): Likewise,
6365         (isBold): Likewise,
6366         (isItalic): Likewise,
6367         (isStrikeThrough): Likewise,
6368         (isSubscript): Likewise,
6369         (isSuperscript): Likewise,
6370         (isUnderline): Likewise.
6372 2006-01-17  Gary Benson  <gbenson@redhat.com>
6374         * java/lang/System.java (setSecurityManager): Catch
6375         ClassNotFoundException not Throwable.
6377 2006-01-16  Anthony Green  <green@redhat.com>
6379         PR classpath/25803
6380         * gnu/java/net/protocol/http/Request.java
6381           (createResponseBodyStream): Remove Content-Encoding for
6382           compressed streams.
6384 2006-01-16  Chris Burdess  <dog@gnu.org>
6386         * gnu/xml/stream/XMLParser.java,
6387           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
6388           XMLStreamWriter arguments for conformance to the XML specifications.
6389         * gnu/xml/transform/Stylesheet.java,
6390           gnu/xml/transform/Template.java,
6391           gnu/xml/transform/TransformerImpl.java,
6392           gnu/xml/xpath/LangFunction.java,
6393           gnu/xml/xpath/Selector.java: better handling of template priorities;
6394           fix indents when pretty-printing; recursive tests for xml:lang.
6395         * gnu/xml/util/XHTMLWriter.java,
6396           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
6398 2006-01-16  Roman Kennke  <kennke@aicas.com>
6400         * native/target/MinGW/.cvsignore: New file.
6401         * native/target/RTEMS/.cvsignore: New file.
6402         * native/target/SunOS/.cvsignore: New file.
6403         * native/target/embOS/.cvsignore: New file.
6404         * native/target/posix/.cvsignore: New file.
6406 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
6408         * javax/swing/text/StyleConstants.java: Updated API docs all over.
6410 2006-01-16  Roman Kennke  <kennke@aicas.com>
6412         * configure.ac: Include new target native directories in build.
6414 2006-01-16  Roman Kennke  <kennke@aicas.com>
6416         * native/target/generic/target_generic_file.h: Added missing
6417         include.
6418         * native/target/generic/target_generic_network.c: Fixed several
6419         typos and includes.
6420         * native/target/generic/target_generic_network.h: Likewise.
6422 2006-01-16  Roman Kennke  <kennke@aicas.com>
6424         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
6425         to include the new targets.
6426         * native/target/posix/Makefile.am: Fixed filenames.
6428 2006-01-16  Roman Kennke  <kennke@aicas.com>
6430         * native/target/Makefile.am: Include new targets.
6431         * native/target/Linux/Makefile.am: Include new memory layer.
6432         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
6433         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
6434         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
6435         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
6436         * native/target/generic/Makefile.am: Include new memory and math
6437         layer.
6438         * native/target/posix/Makefile.am: New file. Includes posix in dist.
6440 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6442         Fixes bug #22884
6443         * gnu/regexp/RE.java(initialize): Parse embedded flags.
6444         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
6446 2006-01-16  Roman Kennke  <kennke@aicas.com>
6448         * native/target/generic/target_generic_network.c: Fixed typo.
6449         * native/target/generic/target_generic_network.h: Fixed typo.
6451 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
6453         * doc/vmintegration.texinfo: Updated subsection of the
6454         java.lang.InstrumentationImpl documentation.
6456 2006-01-16  Roman Kennke  <kennke@aicas.com>
6458         * native/target/RTEMS/target_native.h,
6459         * native/target/RTEMS/target_native_file.h,
6460         * native/target/RTEMS/target_native_io.h,
6461         * native/target/RTEMS/target_native_math.h,
6462         * native/target/RTEMS/target_native_memory.h,
6463         * native/target/RTEMS/target_native_misc.h,
6464         * native/target/RTEMS/target_native_network.h:
6465         New files. Implement the target native layer for the RTEMS platform.
6467 2006-01-16  Roman Kennke  <kennke@aicas.com>
6469         * native/target/SunOS/target_native.h,
6470         * native/target/SunOS/target_native_file.h,
6471         * native/target/SunOS/target_native_io.h,
6472         * native/target/SunOS/target_native_math.h,
6473         * native/target/SunOS/target_native_memory.h,
6474         * native/target/SunOS/target_native_misc.h,
6475         * native/target/SunOS/target_native_network.h:
6476         New files. Implement the target native layer for the SunOS platform.
6478 2006-01-16  Roman Kennke  <kennke@aicas.com>
6480         * native/target/MinGW/target_native.h,
6481         * native/target/MinGW/target_native_file.h,
6482         * native/target/MinGW/target_native_io.h,
6483         * native/target/MinGW/target_native_math.h,
6484         * native/target/MinGW/target_native_memory.h,
6485         * native/target/MinGW/target_native_misc.h,
6486         * native/target/MinGW/target_native_network.h:
6487         New files. Implement the target native layer for the MinGW
6488         platform.
6490 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6492         PR 25770
6493         * javax/swing/DefaultCellEditor.java
6494         (delegate): Assign new instance immediately.
6495         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
6496         (getTableCellEditorComponent): Rewritten.
6497         (prepareAsJTextField):New method (add listener only once).
6498         * javax/swing/JTable.java
6499         (editingCanceled): Rewritten.
6500         (editingStopped ): Rewritten.
6501         (rowAtPoint): Mind row margin.
6502         (getCellRect): Mind row margin.
6503         (getDefaultEditor): Removing JTextComponent border.
6504         (editCellAt): Rewritten.
6505         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
6506         Activate editing mode by the mouse clicks.
6507         (getMaximumSize): Mind row margin.
6508         (getPreferredSize): Mind row margin.
6509         (TableAction): Added 'stop editing' command. 
6511 2006-01-16  Roman Kennke  <kennke@aicas.com>
6513         * jni/java-io/java_io_VMFile.c
6514         (Java_java_io_VMFile_list): Use new 4 argument version of
6515         TARGET_NATIVE_FILE_READ_DIR macro.
6516         * target/Linux/target_native_io.h: Fixed comment at #endif.
6517         * target/Linux/target_native_memory.h: New file. Contains
6518         portability macros for memory operations.
6519         * target/generic/target_generic.c: New file. Contains some functions
6520         for portability.
6521         * target/generic/target_generic.h: Use posix target and shorter macro
6522         names if CP_NEW is set. 
6523         * target/generic/target_generic_file.h: Use posix target and shorter
6524         macro names if CP_NEW is set.
6525         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
6526         * target/generic/target_generic_io.c: New file. Contains some
6527         functions for IO portability.
6528         * target/generic/target_generic_io.h: Use posix target and shorter
6529         macro names if CP_NEW is set.
6530         * target/generic/target_generic_misc.c: New file. Contains some
6531         functions for miscallaneaous portability issues.
6532         * target/generic/target_generic_misc.h: Use posix target and shorter
6533         macro names if CP_NEW is set.
6534         * target/generic/target_generic_network.c: New file. Contains some
6535         functions for networking portability.
6536         * target/generic/target_generic_network.h: Use posix target and
6537         shorter macro names if CP_NEW is set.
6538         * target/posix/Makefile.am,
6539         * target/posix/target_posix.c,
6540         * target/posix/target_posix.h,
6541         * target/posix/target_posix_file.c,
6542         * target/posix/target_posix_file.h,
6543         * target/posix/target_posix_io.c,
6544         * target/posix/target_posix_io.h,
6545         * target/posix/target_posix_math.c,
6546         * target/posix/target_posix_math.h,
6547         * target/posix/target_posix_memory.c,
6548         * target/posix/target_posix_memory.h,
6549         * target/posix/target_posix_misc.c,
6550         * target/posix/target_posix_misc.h,
6551         * target/posix/target_posix_network.c,
6552         * target/posix/target_posix_network.h:
6553         New files. This implements the target native layer macros for
6554         Posix-like systems.
6556 2006-01-16  Gary Benson  <gbenson@redhat.com>
6558         * java/net/SocketPermission.java (implies): Fix action checks.
6560 2006-01-16  Roman Kennke  <kennke@aicas.com>
6562         * native/target/generic/target_generic_math_float.h: Removed. This
6563         file has been replaced by target_generic_math.h.
6564         * native/target/generic/target_generic_math_int.h: Removed. This
6565         file has been replaced by target_generic_math.h.
6566         * native/target/generic/target_generic_math.h: New file. Replaces
6567         the old _int and _float versions.
6568         * native/target/Linux/target_native_math_float.h: Removed. This
6569         file has been replaced by target_native_math.h.
6570         * native/target/Linux/target_native_math_int.h: Removed. This
6571         file has been replaced by target_native_math.h.
6572         * native/target/Linux/target_native_math.h: New file. Replaces
6573         the old _int and _float versions.
6574         * native/target/Linux/Makefile.am: Adjusted for the changed
6575         filenames.
6576         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
6577         instead of target_native_math_int.h.
6578         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
6579         Likewise.
6580         * native/target/generic/target_generic_file.h: Likewise.
6582 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
6584         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
6586 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
6588         * javax/swing/text/SimpleAttributeSet.java
6589         (SimpleAttributeSet()): Initialise storage directly,
6590         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
6591         NullPointerException,
6592         (containsAttribute): If key is found locally, don't check resolving
6593         parent if the value doesn't match,
6594         (getAttribute): Removed redundant instanceof and cast.
6596 2006-01-16  Gary Benson  <gbenson@redhat.com>
6598         * java/lang/System.java (setSecurityManager): Ensure policy
6599         files are loaded before a security manager is put in place.
6601 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
6603         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
6605 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
6607         * javax/print/attribute/standard/MediaSize.java: 
6608         (static_initializer): Added comment.
6609         (MediaSize): Added javadoc to mention cache registration.
6610         (MediaSize): Likewise.
6611         (MediaSize): Likewise.
6612         (MediaSize): Likewise.
6614 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
6616         PR classpath/25202
6617         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
6618         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
6619         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
6620         * javax/security/auth/login/AppConfigurationEntry.java: Updated
6621           copyright year.
6622           (toString): Added method implementation.
6623           (LoginModuleControlFlag.toString): Removed class name from result.
6624         * javax/security/auth/login/Configuration.java: Updated copyright year.
6625           (getConfig(): replaced calls to NullConfiguration with
6626           GnuConfiguration.
6628 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6630         * javax/swing/table/DefaultTableCellRenderer.java 
6631         (getTableCellRendererComponent): Render null as the empty cell.
6633 2006-01-14  Anthony Green  <green@redhat.com>
6635         * java/net/ServerSocket.java (accept): Remove bogus
6636         security check.
6637         (implAccept): Add FIXME comment.
6639 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
6641         Fixes bug #25387
6642         * javax/print/Doc.java: Added and enhanced documentation.
6643         * javax/print/SimpleDoc.java: New file. 
6645 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
6647         * javax/print/attribute/standard/MediaSize.java: 
6648         (Other.TABLOID): New MediaSize added in 1.5
6650 2006-01-14  Chris Burdess  <dog@gnu.org>
6652         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
6653           correctly when I/O and runtime exceptions occur during parsing.
6655 2006-01-13  Roman Kennke  <kennke@aicas.com>
6657         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
6658         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
6659         * gnu/java/awt/peer/swing/SwingComponent.java,
6660         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
6661         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
6662         * gnu/java/awt/peer/swing/SwingFramePeer.java,
6663         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
6664         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
6665         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
6666         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
6667         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
6668         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
6669         * gnu/java/awt/peer/swing/SwingToolkit.java,
6670         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
6671         * gnu/java/awt/peer/swing/package.html:
6672         New files. Implemented some basic AWT peers based on Swing.
6674 2006-01-13  Roman Kennke  <kennke@aicas.com>
6676         * java/awt/peer/ComponentPeer.java: Added API docs all over.
6678 2006-01-13  Roman Kennke  <kennke@aicas.com>
6680         * java/awt/MenuComponent.java: Reformatted to better match our
6681         coding style.
6683 2006-01-13  Roman Kennke  <kennke@aicas.com>
6685         * java/awt/Frame.java: Reformatted to better match our
6686         coding style.
6688 2006-01-13  Roman Kennke  <kennke@aicas.com>
6690         * java/awt/MenuBar.java
6691         (accessibleContext): Removed unnecessary field. This is already
6692         defined in MenuComponent.
6693         (setHelpMenu): Renamed the peer variable to myPeer because it was
6694         hiding a field of MenuComponent.
6695         (addNotify): Removed unnecessary cast.
6697 2006-01-13  Roman Kennke  <kennke@aicas.com>
6699         * java/awt/MenuBar.java: Reformatted to better match our
6700         coding style.
6702 2006-01-13  Roman Kennke  <kennke@aicas.com>
6704         * java/awt/MenuBar.java
6705         (frame): New field.
6706         (removeNotify): Clear frame field when beeing removed from the
6707         frame.
6708         * java/awt/Frame.java
6709         (setMenuBar): Store a reference of the frame in the MenuBar.
6710         * java/awt/MenuComponent.java
6711         (postEvent): Implemented to forward the call to the parent until
6712         a parent can handle the event.
6713         (dispatchEvent): Moved handling of old style events from
6714         dispatchEventImpl() to here.
6715         (dispatchEventImpl): Moved handling of old style events to
6716         dispatchEvent().
6718 2006-01-13  Roman Kennke  <kennke@aicas.com>
6720         * java/awt/Component.java
6721         (dispatchEvent): Moved handling of old style events from
6722         dispatchEventImpl() to this method.
6723         (translateEvent): Removed unnecessary cast.
6724         (dispatchEventImpl): Moved handling of old style events to
6725         dispatchEvent().
6726         
6727 2006-01-13  Lillian Angel  <langel@redhat.com>
6729         * javax/swing/text/DefaultStyledDocument.java
6730         (createDefaultRoot): Removed FIXME.
6731         (setLogicalStyle): Added fireUndoableEditUpdate call and 
6732         removed FIXME.
6734 2006-01-13  Lillian Angel  <langel@redhat.com>
6736         * javax/swing/text/DefaultStyledDocument.java
6737         (Edit): New inner class.
6738         (changeUpdate): Changed addEdit call to add a new
6739         instance of Edit to the edits Vector, so addEdits can
6740         be done later.
6741         (split): Likewise.
6742         (insertParagraph): Likewise.
6743         (insertFracture): Likewise.
6744         (insertContentTag): Likewise.
6745         (insert): Added loop to go through edits Vector and perform
6746         addEdit on each object.
6748 2006-01-13  Chris Burdess  <dog@gnu.org>
6750         * gnu/xml/transform/AbstractNumberNode.java,
6751           gnu/xml/transform/ApplyImportsNode.java,
6752           gnu/xml/transform/ApplyTemplatesNode.java,
6753           gnu/xml/transform/AttributeNode.java,
6754           gnu/xml/transform/CallTemplateNode.java,
6755           gnu/xml/transform/ChooseNode.java,
6756           gnu/xml/transform/CommentNode.java,
6757           gnu/xml/transform/CopyNode.java,
6758           gnu/xml/transform/CopyOfNode.java,
6759           gnu/xml/transform/DocumentFunction.java,
6760           gnu/xml/transform/ElementNode.java,
6761           gnu/xml/transform/ForEachNode.java,
6762           gnu/xml/transform/IfNode.java,
6763           gnu/xml/transform/LiteralNode.java,
6764           gnu/xml/transform/MessageNode.java,
6765           gnu/xml/transform/OtherwiseNode.java,
6766           gnu/xml/transform/ParameterNode.java,
6767           gnu/xml/transform/ProcessingInstructionNode.java,
6768           gnu/xml/transform/Stylesheet.java,
6769           gnu/xml/transform/Template.java,
6770           gnu/xml/transform/TemplateNode.java,
6771           gnu/xml/transform/TextNode.java,
6772           gnu/xml/transform/TransformerImpl.java,
6773           gnu/xml/transform/ValueOfNode.java,
6774           gnu/xml/transform/WhenNode.java,
6775           gnu/xml/xpath/NodeTypeTest.java,
6776           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
6777           with-param parameters when template does not define parameters; apply
6778           conflict resolution for templates; strip whitespace on documents
6779           retrieved via document() function; allow node() to match document
6780           nodes.
6782 2006-01-13  Mark Wielaard  <mark@klomp.org>
6784         * doc/www.gnu.org/announce/20060113.wml: New file.
6785         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
6786         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
6788 2006-01-13  Lillian Angel  <langel@redhat.com>
6790         * javax/swing/text/DefaultStyledDocument.java:
6791         Removed unused fields.
6792         (insert): Removed unused fields.
6793         (endEdit): Removed, not needed.
6794         (insertUpdate): Removed call to endEdit.
6795         (prepareContentInsertion): Removed, not needed.
6796         (insertContentTag): Removed call to prepareContentInsertion.
6797         (printElements): Removed, not needed.
6798         (attributeSetsAreSame): Removed, not needed.
6800 2006-01-13  Mark Wielaard  <mark@klomp.org>
6802         * configure.ac: Set version to 0.20.
6803         * NEWS: Add entries for all the new work done.
6805 2006-01-13  Mark Wielaard  <mark@klomp.org>
6807         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
6809 2006-01-13  Mark Wielaard  <mark@klomp.org>
6811         * java/util/regex/Pattern.java (Pattern): Chain REException.
6813 2006-01-13  Chris Burdess  <dog@gnu.org>
6815         * gnu/xml/xpath/NameTest.java: Removed debugging output.
6817 2006-01-13  Jeroen Frijters  <jeroen@frijters.net>
6819         * java/security/Security.java
6820         (getProperty): Added hack to skip security check when trusted
6821         code is direct caller.
6823 2006-01-13  Jeroen Frijters  <jeroen@frijters.net>
6825         * java/io/PrintStream.java
6826         (line_separator, PrintStream(OutputStream,boolean)): Use
6827         SystemProperties.
6829 2006-01-13  Jeroen Frijters  <jeroen@frijters.net>
6831         * gnu/java/nio/charset/Provider.java: Added comment about its
6832         special relation with CharsetProvider.
6833         (static): Removed.
6834         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
6835         its special relation with CharsetProvider.
6836         (static): Removed.
6837         * java/nio/charset/spi/CharsetProvider.java
6838         (CharsetProvider): Add special case to skip security check for
6839         built in providers.
6841 2006-01-13  Mark Wielaard  <mark@klomp.org>
6843         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
6844         name, accel, mnemonic and command are defined before setting.
6846 2006-01-12  Mark Wielaard  <mark@klomp.org>
6848         * javax/swing/plaf/metal/MetalFileChooserUI.java
6849         (FileRenderer.getListCellRendererComponent): Set empty name and null
6850         icon when File is null.
6852 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6854         * gnu/java/rmi/server/UnicastRef.java (newCall):
6855         Throw ConnectException after catching IOException.
6857 2006-01-12  Lillian Angel  <langel@redhat.com>
6859         * javax/swing/text/DefaultStyledDocument.java
6860         (insertUpdate): Removed unneeded check.
6862 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
6864         * javax/swing/text/DefaultStyledDocument.java:
6865         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
6866         and we haven't come immediately after a fracture, adjust the Element
6867         offsets.  Added comment explaining the situation.
6868         (insert): Return early if no ElementSpecs passed in.  Removed redundant
6869         call to insertUpdate.  Fired the UndoableEditUpdate.
6871 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6873         Fixes bug #22802
6874         * gnu/regexp/RE.java(initialize): Fixed the parsing of
6875         character classes within a subexpression.
6877 2006-12-12  Lillian Angel  <langel@redhat.com>
6879         * javax/swing/text/DefaultStyledDocument.java
6880         (insertUpdate): Added check to check if attribute set is 
6881         empty.
6882         (insertUpdate): Added check to determine if last character
6883         is a newline. If it is, we should not be fracturing.
6884         (insert): Added check to determine if attribute set is empty.
6885         If it is, insertUpdate should not be called.
6887 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
6889         * configure.ac: Check for isnan.
6891         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
6892         define the macro.
6894 2006-01-12  Chris Burdess  <dog@gnu.org>
6896         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
6897           1.1 character ranges.
6899 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
6901         * javax/swing/TransferHandler.java:
6902         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
6903         gnu/testlet/javax/swing/JTextField/CopyPaste.
6905 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6907         * resource/Makefile.am: Install 
6908         logging.properties into $(prefix)/lib.
6909         * resource/Makefile.am (securitydir): Changed to 
6910         $(prefix)/lib/security.
6912 2006-01-12  Roman Kennke  <kennke@aicas.com>
6914         * javax/swing/JTextField.java
6915         (createDefaultModel): Moved installation of the filterNewlines
6916         property to setDocument().
6917         (setDocument): New method. Installs the filterNewlines property
6918         on the document.
6920 2006-01-12  Chris Burdess  <dog@gnu.org>
6922         * gnu/xml/dom/DomNode.java,
6923           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
6924           output.
6925         * gnu/xml/xpath/NameTest.java,
6926           gnu/xml/xpath/NamespaceTest.java,
6927           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
6928           navigation.
6929         * gnu/xml/transform/MessageNode.java: Use standard logging system
6930           for outputting messages.
6932 2006-01-12  Tom Tromey  <tromey@redhat.com>
6934         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
6935         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
6936         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
6937         (static initializer): Removed cache code.
6938         (checkCacheFor, addToCache): Removed.
6939         (getAllByName): Removed cache code.
6940         (lookup_time): Removed.
6941         (InetAddress): Updated.
6943 2006-01-12  Chris Burdess  <dog@gnu.org>
6945         * gnu/xml/dom/DomDocument.java,
6946           gnu/xml/dom/DomElement.java,
6947           gnu/xml/dom/DomNode.java,
6948           gnu/xml/stream/XMLParser.java,
6949           gnu/xml/transform/Bindings.java,
6950           gnu/xml/transform/ElementAvailableFunction.java,
6951           gnu/xml/transform/ElementNode.java,
6952           gnu/xml/transform/FunctionAvailableFunction.java,
6953           gnu/xml/transform/NamespaceProxy.java,
6954           gnu/xml/transform/StreamSerializer.java,
6955           gnu/xml/transform/Stylesheet.java,
6956           gnu/xml/transform/TransformerImpl.java,
6957           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
6958           document and element nodes; correct coalescing semantics when parsing;
6959           attribute-sets can only refer to top-level variables and parameters;
6960           fix namespace retrieval during element-available and
6961           function-available functions; implement xsl:fallback for extension
6962           elements; tokenize whitespace correctly during whitespace stripping;
6963           correct following and previous node axes selectors.
6965 2006-01-12  Roman Kennke  <kennke@aicas.com>
6967         * java/util/Hashtable.java
6968         (KeyEnumerator.nextElement): Added null check to avoid NPE.
6969         (ValueEnumerator.nextElement): Added null check to avoid NPE.
6971 2006-01-12  Lillian Angel  <langel@redhat.com>
6973         * javax/swing/text/GapContent.java
6974         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
6976 2006-01-12  Mark Wielaard  <mark@klomp.org>
6978         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
6979         Throw UnknowHostException when name could not be resolved.
6981 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
6983         * java/net/URL.java
6984         (static, getURLStreamHandler): Use SystemProperties.
6986 2006-01-12  Mark Wielaard  <mark@klomp.org>
6988         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
6989         Use packet.getLength().
6990         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
6991         (nativeReceive): Check whether the receiver wants zero bytes.
6993 2006-01-12  Mark Wielaard  <mark@klomp.org>
6995         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
6996         other side orderly closed connection.
6997         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
6998         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
6999         when end of stream reached.
7001 2006-01-12  Mark Wielaard  <mark@klomp.org>
7003         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
7004         Remove asserts.
7005         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
7006         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
7007         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
7008         * native/jni/java-net/javanet.c: Likewise.
7010 2006-01-12  Mark Wielaard  <mark@klomp.org>
7012         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
7013         PR classpath/23863.
7015 2006-01-11  Chris Burdess  <dog@gnu.org>
7017         * gnu/xml/transform/AttributeNode.java,
7018           gnu/xml/transform/ElementNode.java,
7019           gnu/xml/transform/LiteralNode.java,
7020           gnu/xml/transform/StreamSerializer.java,
7021           gnu/xml/transform/StrippingInstruction.java,
7022           gnu/xml/transform/Stylesheet.java,
7023           gnu/xml/transform/TransformerImpl.java,
7024           gnu/xml/transform/ValueOfNode.java,
7025           gnu/xml/xpath/Expr.java,
7026           gnu/xml/xpath/LocalNameFunction.java,
7027           gnu/xml/xpath/NameFunction.java,
7028           gnu/xml/xpath/NameTest.java,
7029           gnu/xml/xpath/NamespaceUriFunction.java,
7030           gnu/xml/xpath/NodeTypeTest.java,
7031           gnu/xml/xpath/SubstringFunction.java,
7032           javax/xml/namespace/QName.java: don't determine element namespace
7033           from namespace aliases when specified; better namespace handling
7034           when serializing elements; don't create HTML meta element unless
7035           head element exists; correct encoding of CDATA sections containing
7036           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
7037           default encoding for HTML output; rewrite of XSLT
7038           strip-space/preserve-space handling; correct doctype-public and
7039           doctype-system output attributes; insert generated doctype before
7040           document element; fixed result tree whitespace stripping
7041           algorithm; fixed semantics of XPath name, local-name, and
7042           namespace-uri functions; name tests handle XML/XMLNS namespaces
7043           correctly; fixed semantics of processing-instruction node test.
7044         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
7045           aid debugging.
7047 2006-01-11  Lillian Angel  <langel@redhat.com>
7049         * javax/swing/text/DefaultStyledDocument.java
7050         (insertFracture): Added calls to addEdit for each time a structure 
7051         is changed. addEdit is called on the newBranch, previous, and parent
7052         structures.
7054 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
7056         * javax/swing/text/DefaultStyledDocument.java:
7057         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
7058         This will have been taken care of in insertFracture.  Added a comment
7059         explaining that we need to add edits to the DocumentEvent and that
7060         this may be the place to do it.
7062 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
7064         * javax/swing/text/DefaultStyledDocument.java:
7065         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
7066         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
7067         elementStack when there is a start tag with JoinNextDirection.
7069 2006-01-11  Roman Kennke  <kennke@aicas.com>
7071         Reported by: Fridjof Siebert <siebert@aicas.com>
7072         * java/util/Hashtable.java
7073         (KEYS): Removed unneeded field.
7074         (VALUES): Removed unneeded field.
7075         (ENTRIES): Removed unneeded field.
7076         (keys): Return a KeyEnumerator instance.
7077         (elements): Returns a ValueEnumerator instance.
7078         (toString): Use an EntryIterator instance.
7079         (keySet): Return a KeyIterator instance.
7080         (values): Return a ValueIterator instance.
7081         (entrySet): Return an EntryIterator instance.
7082         (hashCode): Use EntryIterator instance.
7083         (rehash): Changed this loop to avoid redundant reads and make
7084         it obvious that null checking is not needed.
7085         (writeObject): Use EntryIterator instance.
7086         (HashIterator): Removed class.
7087         (Enumerator): Removed class.
7088         (EntryIterator): New class.
7089         (KeyIterator): New class.
7090         (ValueIterator): New class.
7091         (EntryEnumerator): New class.
7092         (KeyEnumerator): New class.
7093         (ValueEnumerator): New class.
7095 2006-01-11  Lillian Angel  <langel@redhat.com>
7097         * javax/swing/text/DefaultStyledDocument.java
7098         (toString): Shouldn't append the '>' character here.
7099         (createDefaultRoot): Should not set the resolve parent. This
7100         causes problems when comparing attribute sets.
7102 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
7104         * javax/swing/text/DefaultStyledDocument.java:
7105         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
7106         end tags.
7107         (ElementBuffer.insertFracture): New method.
7108         (ElementBuffer.insertContentTag): Removed unnecessary case for 
7109         JoinFractureDirection - this only applies to start tags, not content
7110         tags.
7111         (insertUpdate): Corrected conditions for setting direction to 
7112         JoinNextDirection.
7114 2006-01-10  Roman Kennke  <kennke@aicas.com>
7116         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
7117         * ChangeLog-2005: New File.
7119 2006-01-10  Roman Kennke  <kennke@aicas.com>
7121         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
7122         (get): Release the array with the correct pointer.
7123         (put): Release the array with the correct pointer. Copy the array
7124         around _before_ releasing it.
7126 2006-01-10  Roman Kennke  <kennke@aicas.com>
7128         * javax/swing/ViewportLayout.java
7129         (layoutContainer): Fixed condition, to avoid ClasscastException.
7131 2006-01-10  Roman Kennke  <kennke@aicas.com>
7133         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7134         (MouseHandler.mousePressed): Fixed indendation.
7135         (MouseHandler.mouseDragged): Fixed indendation.
7137 2006-01-10  Roman Kennke  <kennke@aicas.com>
7139         * javax/swing/plaf/basic/BasicLookAndFeel.java
7140         (playSound): Added @since 1.4 to the API docs.
7142 2006-01-10  Roman Kennke  <kennke@aicas.com>
7144         * javax/swing/plaf/basic/BasicListUI.java
7145         (maybeUpdateLayoutState): Also update the layout state, if the
7146         list has been invalidated since the last update.
7148 2006-01-10  Roman Kennke  <kennke@aicas.com>
7150         * javax/swing/plaf/ComponentUI.java
7151         (update): Fixed indendation.
7153 2006-01-10  Roman Kennke  <kennke@aicas.com>
7155         * javax/swing/ViewportLayout.java
7156         (layoutContainer): Fixed condition, so that Scrollable components
7157         are always forced to have to Viewport size, when they
7158         return true for getScrollableTracksViewportHeight() and ..Width().
7160 2006-01-10  Roman Kennke  <kennke@aicas.com>
7162         * javax/swing/RepaintManager.java
7163         (validateInvalidComponents): Fixed condition to avoid NPE.
7165 2006-01-10  Roman Kennke  <kennke@aicas.com>
7167         * javax/swing/JViewport.java:
7168         (static_initializer): Removed unused variable myScrollMode.
7170 2006-01-10  Roman Kennke  <kennke@aicas.com>
7172         * javax/swing/JTabbedPane.java:
7173         Cleared API docs a little.
7175 2006-01-10  Roman Kennke  <kennke@aicas.com>
7177         * java/util/StringTokenizer.java
7178         (StringTokenizer(String, String, boolean)):
7179         Don't trigger NPE here for conformance with the spec.
7181 2006-01-10  Roman Kennke  <kennke@aicas.com>
7183         * java/util/ArrayList.java
7184         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
7186 2006-01-10  Roman Kennke  <kennke@aicas.com>
7188         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7189         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
7190         field to avoid NPE.
7192 2006-01-10  Roman Kennke  <kennke@aicas.com>
7194         * native/jni/java-net/javanet.c
7195         (_javanet_shutdownOutput): Replaced strerror() with
7196         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
7197         (_javanet_shutdownInput): Replaced strerror() with
7198         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
7200 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
7202         * java/beans/EventSetDescriptor.java: Reformatted and
7203         fixed API docs.
7205 2006-01-10  Roman Kennke  <kennke@aicas.com>
7207         * java/lang/SecurityManager.java
7208         Fully qualified AWT class references in API docs.
7210 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
7212         * java/beans/EventSetDescriptor.java:
7213         (getGetListenerMethod): New method.
7215 2006-01-10  Mark Wielaard  <mark@klomp.org>
7217         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
7219 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
7221         PR classpath/25727
7222         * java/util/Hashtable.java
7223         (contains): Call equals on existing value.
7224         (containsKey, get, put, remove): Call equals on existing key.
7225         (getEntry): Call equals on existing entry.
7227 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
7229         PR classpath/24618
7230         * java/util/AbstractMap.java
7231         (equals(Object,Object)): Test for identity first.
7232         * java/util/WeakHashMap.java
7233         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
7234         (WeakBucket.WeakEntry.toString): Fixed string representation of
7235         null key.
7236         (internalGet): Use helper method to determine equality.
7238 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
7240         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
7241         constructors.
7243 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
7245         * javax/swing/text/PlainDocument.java:
7246         (insertUpdate): Handle special case of an insertion immediately 
7247         following a newline character.
7249 2006-01-09  Roman Kennke  <kennke@aicas.com>
7251         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
7252         (connect): Added stream parameter to _connect() call.
7253         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7254         (connect): Added stream parameter to _connect() call.
7255         * native/jni/java-net/javanet.c
7256         (_javanet_create_localfd): Added stream parameter. Look up
7257         fd field based on the stream parameter either in SocketImpl or
7258         in DatagramSocketImpl.
7259         (_javanet_connect): Added stream parameter. Call create_localfd
7260         using this stream parameter. Set localPort field either in
7261         SocketImpl or in DatagramSocketImpl, depending on the stream
7262         flag.
7263         * native/jni/java-net/javanet.c
7264         (_javanet_connect): Added stream parameter.
7266 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7268         * javax.management.Attribute.java: Grammar and 
7269         formatting fixes.
7271 2006-01-09  Mark Wielaard  <mark@klomp.org>
7273         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
7274         exception when channel is not readable or writable.
7275         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
7276         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
7277         there is enough space to mmap().
7279 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
7281         * java/beans/Introspector.java:
7282         (getBeanInfo(Class, int)): New method.
7283         (getBeanInfo(Class, Class): Moved common code in a new method.
7284         (merge): New method.
7286 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
7288         * java/beans/XMLEncoder.java: Fix spelling mistakes.
7290 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
7292         * javax/swing/text/DefaultStyledDocument.java:
7293         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
7294         inlined this method because it needs to change the value of the 
7295         finalStartTag and finalStartDirection variables.
7296         (checkForInsertAfterNewline): Removed this method.
7297         (handleInsertAfterNewline): Added case for making the start tag's 
7298         direction JoinNextDirection.
7300 2006-01-09  Lillian Angel  <langel@redhat.com>
7302         * javax/swing/plaf/basic/BasicTreeUI.java:
7303         Added new field.
7304         (setRowHeight): Row height is set to the max height of
7305         all the nodes, or 20 as a default value.
7306         (getPathBounds): Cleaned up code.
7307         (getMaxHeight): New helper function that gets the max 
7308         height of all the rows.
7309         (getClosestPathForLocation): Fixed to use getMaxHeight.
7310         (updateCachedPreferredSize): Likewise.
7311         (installUI): Shouldn't expand tree on startup.
7312         (getNodeDimensions): Fixed to use getMaxHeight. 
7314 2006-01-09  Mark Wielaard  <mark@klomp.org>
7316         * javax/swing/JList.java (setSelectedIndex): Clear selection when
7317         argument is negative.
7319 2006-01-08  Mark Wielaard  <mark@klomp.org>
7321         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
7323 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7325         * javax.management.Attribute.java: New file. 
7327 2006-01-09  Roman Kennke  <kennke@aicas.com>
7329         * java/net/DatagramSocketImpl.java
7330         (localPort): Renamed to localport for correct access from native
7331         code.
7333 2006-01-09  Roman Kennke  <kennke@aicas.com>
7335         * javax/swing/Popup.java
7336         (LightweightPopup.hide): Repaint the layered pane when popup is
7337         removed.
7339 2006-01-09  Roman Kennke  <kennke@aicas.com>
7341         * java/awt/Container.java
7342         (remove): Don't repaint the container here.
7344 2006-01-08  Tom Tromey  <tromey@redhat.com>
7346         * java/lang/InheritableThreadLocal.java: Organized imports.
7348 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
7350         Fixes bug #25679
7351         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
7352         when an empty string matched an empty token.
7354 2006-01-08  Chris Burdess  <dog@gnu.org>
7356         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
7357           content models from external entities.
7358         * gnu/xml/stream/UnicodeReader.java: Report error instead of
7359           attempting to continue with unpaired surrogates.
7360         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
7361           resolving entities with character entity references; better
7362           checking of valid character ranges; don't report an error for URI
7363           fragments in notation declarations; check unbound namespace
7364           prefixes for elements and attributes, including XML 1.1 unbinding
7365           syntax; namespace-aware checking of attribute duplicates.
7367 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
7369         * java/beans/Statement.java: Doc fixes.
7370         (doExecute): Workaround for Class.forName call.
7371         (toString): Made output look more like on the JDK.
7372         * java/beans/Expression.java: Doc fixes.
7373         (toString): Made output look more like on the JDK.
7374         * java/beans/PersistenceDelegate.java,
7375         java/beans/DefaultPersistenceDelegate.java,
7376         java/beans/Encoder.java,
7377         java/beans/XMLEncoder.java: New file.
7378         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
7379         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
7380         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
7381         gnu/java/beans/encoder/Context.java,
7382         gnu/java/beans/encoder/GenericScannerState.java,
7383         gnu/java/beans/encoder/IgnoringScannerState.java,
7384         gnu/java/beans/encoder/MapPersistenceDelegate.java,
7385         gnu/java/beans/encoder/ObjectId.java,
7386         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
7387         gnu/java/beans/encoder/ReportingScannerState.java,
7388         gnu/java/beans/encoder/Root.java,
7389         gnu/java/beans/encoder/ScanEngine.java,
7390         gnu/java/beans/encoder/ScannerState.java,
7391         gnu/java/beans/encoder/StAXWriter.java,
7392         gnu/java/beans/encoder/Writer.java: New file.
7393         * gnu/java/beans/encoder/elements/Array_Get.java,
7394         gnu/java/beans/encoder/elements/Element.java,
7395         gnu/java/beans/encoder/elements/List_Set.java,
7396         gnu/java/beans/encoder/elements/Array_Set.java,
7397         gnu/java/beans/encoder/elements/NullObject.java,
7398         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
7399         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
7400         gnu/java/beans/encoder/elements/StringReference.java,
7401         gnu/java/beans/encoder/elements/ClassResolution.java,
7402         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
7403         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
7404         gnu/java/beans/encoder/elements/ObjectReference.java,
7405         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
7406         gnu/java/beans/encoder/elements/List_Get.java,
7407         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
7409 2006-01-08  Chris Burdess  <dog@gnu.org>
7411         * java/lang/Character.java (toChars,toCodePoint): Correct these
7412           methods to use algorithms from Unicode specification.
7414 2006-01-08  Mark Wielaard  <mark@klomp.org>
7416         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
7418 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
7420         Fixes bug #25711
7421         * examples/Makefile.am: Corrected DESTDIR install paths.
7423 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7425         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
7426         ASCII character (line 46).
7428 2006-01-07  Roman Kennke  <kennke@aicas.com>
7430         * javax/swing/text/TableView.java: New file.
7432 2006-01-07  Chris Burdess  <dog@gnu.org>
7434         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
7435         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
7436         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
7437           available; correct handling of unparsed entity references;
7438           absolutize all base URIs; remove commented out code.
7440 2006-01-07  Chris Burdess  <dog@gnu.org>
7442         * gnu/xml/stream/SAXParser.java,
7443           gnu/xml/stream/XMLParser.java: Add SAX property to return base
7444           URI of the current event.
7446 2006-01-07  Chris Burdess  <dog@gnu.org>
7448         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
7449           aware processing.
7451 2006-01-07  Chris Burdess  <dog@gnu.org>
7453         * gnu/xml/stream/SAXParser.java,
7454           gnu/xml/stream/XIncludeFilter.java,
7455           gnu/xml/stream/XMLParser.java: Updated documentation.
7457 2006-01-07  Chris Burdess  <dog@gnu.org>
7459         * AUTHORS: add self.
7461 2006-01-06  Casey Marshall  <csm@gnu.org>
7463         * AUTHORS: add myself.
7465 2006-01-06  Casey Marshall  <csm@gnu.org>
7467         PR classpath/25699
7468         * javax/crypto/CipherInputStream.java (logger): new constant.
7469         (cipher): make final.
7470         (outLength, inBuffer, inLength): removed.
7471         (isStream): make final.
7472         (VIRGIN, LIVING, DYING, DEAD, state): removed.
7473         (eof): new field.
7474         (<init>): call `super,' not `this;' remove `inBuffer' and
7475         `outBuffer' initialization; init `eof;' add debug logging.
7476         (<init>): call `this' with a new null cipher.
7477         (available): fix javadoc to reflect the real semantics; if we
7478         don't have a buffer, call `nextBlock.'
7479         (close): synchronize.
7480         (read): synchronize; fix testing for buffered data.
7481         (read): synchronize; add `skip' semantics if first argument is
7482         `null;' decrypt stream cipher data only if there is any; fix tests
7483         for buffered data.
7484         (skip): stop using `available' to see how many data are buffered.
7485         (nextBlock): simplify to use cipher-allocated output buffers
7486         instead of internally allocated ones.
7488 2006-01-06  Tom Tromey  <tromey@redhat.com>
7490         * java/lang/String.java (codePointCount): Fixed javadoc.
7492 2006-01-06  Tom Tromey  <tromey@redhat.com>
7494         * java/lang/String.java (contains): Added @since.
7496 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
7498         Fixes bug #25616
7499         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
7500         * gnu/regexp/RETokenRepeated.java(match): Break the loop
7501         when an empty string matched an empty token.
7503 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
7505         PR classpath/24858
7506         * gnu/java/util/WeakIdentityHashMap.java: New file.
7507         * java/lang/InheritableThreadLocal.java
7508         (newChildThread): Modified to remove key indirection.
7509         * java/lang/Thread.java
7510         (locals): Changed type to WeakIdentityHashMap.
7511         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
7512         WeakHashMap.
7513         * java/lang/ThreadLocal.java
7514         (key, Key): Removed.
7515         (get, set): Changed to use "this" instead of "key".
7517 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
7519         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
7521         * native/fdlibm/java-assert.h: Removed file.
7523         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
7524         Replaced use of JvAssert by assert.
7526 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
7528         * javax/swing/text/DefaultCaret.java:
7529         (setDot): Fixed paramater to Math.max to be this.dot and not the 
7530         parameter dot.
7532 2006-01-05  Roman Kennke  <kennke@aicas.com>
7534         * javax/swing/plaf/basic/BasicListUI.java
7535         (getCellHeight): New helper method.
7536         (getCellBounds): Use new helper method for determining the cell
7537         height.
7538         (paint): Don't call list.indexToLocation() but instead call
7539         directly into the same UI method.
7540         (locationToIndex): Fixed calculation of # visible rows and handling
7541         of cell heights.
7542         (indexToLocation): Fixed calculation of # visible rows and handling
7543         of cell heights.
7545 2006-01-05  Roman Kennke  <kennke@aicas.com>
7547         * javax/swing/plaf/metal/MetalFileChooserUI.java
7548         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
7549         in the file chooser.
7551 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
7553         * javax/swing/JTextPane.java:
7554         (replaceSelection): If the document is an AbstractDocument, use replace
7555         rather than remove and insert.
7556         * javax/swing/event/EventListenerList.java:
7557         (getListeners): Reversed the order of the listeners to match the 
7558         reference implementation.
7559         * javax/swing/text/AbstractDocument.java:
7560         (insertString): Add the UndoableEdit from the content.insertString call
7561         to the DocumentEvent.
7562         (DefaultDocumentEvent.toString): Implemented.
7563         * javax/swing/text/DefaultCaret.java:
7564         (setDot): Make sure dot is > 0 and less than the length of the 
7565         document.
7566         * javax/swing/text/DefaultStyledDocument.java:
7567         (ElementBuffer.insertUpdate): Set the modified tag of the document 
7568         event when we get start and end tags.  This ensures that we create the
7569         proper BranchElements in endEdit().
7570         (ElementBuffer.insertUpdate): Added FIXME to handle 
7571         JoinFractureDirection case.
7572         (insertUpdate): Added code to check if we're inserting immediately 
7573         after a newline and to handle this case (create start and end tags). 
7574         Only change the direction of the first and last tags if they are of 
7575         type ContentType.
7576         (checkForInsertAfterNewline): New helper method.
7577         (handleInsertAfterNewline): Likewise.
7578         * javax/swing/text/View.java:
7579         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
7580         container.
7582 2006-01-05  Mark Wielaard  <mark@klomp.org>
7584         * newsitems.txt: Add fosdem meeting.
7585         * events/events.wml: Likewise.
7586         * events/fosdem06.wml: New file.
7587         
7588 2006-01-05  Lillian Angel  <langel@redhat.com>
7589         
7590         * javax/swing/text/GapContent.java
7591         (createPosition): No positions should be created inside the
7592         gap. Fixed check to ensure this does not happen.
7594 2006-01-05  Roman Kennke  <kennke@aicas.com>
7596         * javax/swing/RepaintManager.java
7597         (validateInvalidComponents): Search for the validate root
7598         and start validating there.
7600 2006-01-05  Roman Kennke  <kennke@aicas.com>
7602         * javax/swing/plaf/basic/BasicListUI.java
7603         (ComponentHandler): Removed unneeded class.
7604         (ListDataHandler.contentsChanged): Revalidate instead of calling
7605         damageLayout().
7606         (ListDataHandler.intervalAdded): Revalidate instead of calling
7607         damageLayout().
7608         (ListDataHandler.intervalRemoved): Revalidate instead of calling
7609         damageLayout().
7610         (PropertyChangeHandler.propertyChange): Or flags together instead
7611         of adding them. Don't call damageLayout().
7612         (componentListener): Removed unnecessary field.
7613         (damageLayout): Removed unnecessary method.
7614         (installListeners): Don't install unnecessary listeners.
7615         (uninstallListeners): Dito.
7616         (getPreferredSize): Don't ask for the real list height and
7617         calculate with the previously calculated list height.
7618         (locationToIndex): Renamed list parameter to l so that it doesn't
7619         shadow the field with the same name.
7620         (indexToLocation): Renamed list parameter to l so that it doesn't
7621         shadow the field with the same name.
7623 2006-01-04  Tom Tromey  <tromey@redhat.com>
7625         * include/.cvsignore: Ignore config-int.h.
7627 2006-01-04  Roman Kennke  <kennke@aicas.com>
7629         * javax/swing/plaf/basic/BasicListUI.java
7630         (getPreferredSize): Rewritten to match the specs.
7632 2006-01-04  Roman Kennke  <kennke@aicas.com>
7634         * javax/swing/JFileChooser.java
7635         (showOpenDialog): Set fixed width on the dialog.
7636         (showSaveDialog): Set fixed width on the dialog.
7637         (showDialog): Set fixed width on the dialog.
7639 2006-01-04  Roman Kennke  <kennke@aicas.com>
7641         * javax/swing/plaf/basic/BasicListUI.java
7642         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
7643         Adjusted iteration to not use visibleRowCount and instead iterate
7644         over the real number of elements in cellHeights.
7645         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
7646         Adjusted iteration to not use visibleRowCount and instead iterate
7647         over the real number of elements in cellHeights.
7649 2006-01-04  Roman Kennke  <kennke@aicas.com>
7651         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7652         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
7653         Added __attribute__((__unused__)) macros to avoid gcc warnings.
7655 2006-01-04  Roman Kennke  <kennke@aicas.com>
7657         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
7658         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
7659         New VM class.
7660         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
7661         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
7662         New file.
7663         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
7664         Removed.
7665         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
7666         * native/jni/java-net/Makefile.am: Adjusted for new source files.
7667         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
7668         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
7669         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
7670         * include/gnu_java_net_PlainSocketImpl.h: Removed.
7671         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
7672         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
7674 2006-01-04  Lillian Angel  <langel@redhat.com>
7676         * javax/swing/plaf/metal/MetalFileChooserUI.java
7677         (propertyChange): Fixed to change the combo box label
7678         appropriately. Also, fixed to set the textfield's text
7679         correctly.
7680         (editFile): Fixed size of editing field.
7681         (installComponents): Correctly aligned all panels.
7682         (installStrings): Fixed to set the label's text
7683         appropriately depending on the dialog type.
7685 2006-01-04  Lillian Angel  <langel@redhat.com>
7687         PR classpath/25473 
7688         PR classpath/25479
7689         * javax/swing/JTree.java
7690         (JTree): Because some L&F defaults have been updated,
7691         the selectionMode for the tree needed to be set to SINGLE.
7692         * javax/swing/plaf/basic/BasicFileChooserUI.java:
7693         Initialized accessoryPanel.
7694         * javax/swing/plaf/metal/MetalFileChooserUI.java
7695         (installComponents): Added accessoryPanel to the filechooser.
7697 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
7699         * configure.ac: Added AX_CREATE_STDINT_H
7701         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
7703         * m4/ax_create_stdint_h.m4: New file.
7705         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
7706         typedefs. Removed stdint.h and inttypes.h includes.
7708 2006-01-03  Mark Wielaard  <mark@klomp.org>
7710         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
7711         register keyboard action when accelerator is not null.
7712         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
7713         re-register accelerator if not null.
7714         (installKeyboardActions): Only put accelerator in map when not null.
7716 2006-01-04  Lillian Angel  <langel@redhat.com>
7718         * javax/swing/plaf/basic/BasicLookAndFeel.java
7719         (initComponentDefaults): Removed unneeded default.
7720         * javax/swing/plaf/metal/MetalLookAndFeel.java
7721         (initComponentDefaults): Added and fixed several defaults.
7723 2006-01-04  Roman Kennke  <kennke@aicas.com>
7725         * javax/swing/plaf/basic/BasicHTML.java: New class.
7727 2006-01-03  Tom Tromey  <tromey@redhat.com>
7729         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
7730         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
7732 2006-01-03  Mark Wielaard  <mark@klomp.org>
7734         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
7736 2006-01-03  Mark Wielaard  <mark@klomp.org>
7738         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
7739         Always call createDefaultTheme().
7740         (createDefaultTheme): Check whether theme is still null.
7742 2006-01-03  Mark Wielaard  <mark@klomp.org>
7744         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
7745         Color.WHITE if null.
7747 2006-01-03  Lillian Angel  <langel@redhat.com>
7749         * javax/swing/plaf/metal/MetalLookAndFeel.java
7750         (getDescription): Fixed to return the correct string.
7751         (getID): Likewise.
7752         (getName): Likewise.
7753         (getDefaults): Added check to avoid NPE.
7754         (getAcceleratorForeground): Likewise.
7755         (getAcceleratorSelectedForeground): Likewise.
7756         (getBlack): Likewise.
7757         (getControl): Likewise.
7758         (getControlDarkShadow): Likewise.
7759         (getControlDisabled): Likewise.
7760         (getControlHighlight): Likewise.
7761         (getControlInfo): Likewise.
7762         (getControlShadow): Likewise.
7763         (getControlTextColor): Likewise.
7764         (getControlTextFont): Likewise.
7765         (getDesktopColor): Likewise.
7766         (getFocusColor): Likewise.
7767         (getHighlightedTextColor): Likewise.
7768         (getInactiveControlTextColor): Likewise.
7769         (getInactiveSystemTextColor): Likewise.
7770         (getMenuBackground): Likewise.
7771         (getMenuDisabledForeground): Likewise.
7772         (getMenuForeground): Likewise.
7773         (getMenuSelectedBackground): Likewise.
7774         (getMenuSelectedForeground): Likewise.
7775         (getMenuTextFont): Likewise.
7776         (getPrimaryControl): Likewise.
7777         (getPrimaryControlDarkShadow): Likewise.
7778         (getPrimaryControlHighlight): Likewise.
7779         (getPrimaryControlInfo): Likewise.
7780         (getPrimaryControlShadow): Likewise.
7781         (getSeparatorBackground): Likewise.
7782         (getSeparatorForeground): Likewise.
7783         (getSubTextFont): Likewise.
7784         (getSystemTextColor): Likewise.
7785         (getSystemTextFont): Likewise.
7786         (getTextHighlightColor): Likewise.
7787         (getUserTextColor): Likewise.
7788         (getUserTextFont): Likewise.
7789         (getWhite): Likewise.
7790         (getWindowBackground): Likewise.
7791         (getWindowTitleBackground): Likewise.
7792         (getWindowTitleFont): Likewise.
7793         (getWindowTitleForeground): Likewise.
7794         (getWindowTitleInactiveBackground): Likewise.
7795         (getWindowTitleInactiveForeground): Likewise.
7797 2006-01-03  Mark Wielaard  <mark@klomp.org>
7799         * javax/swing/JTextArea.java
7800         (JTextArea(Document,text,int,int)): Only call setText() when text is
7801         not null.
7803 2006-01-03  Lillian Angel  <langel@redhat.com>
7805         * javax/swing/plaf/basic/BasicFileChooserUI.java
7806         (installStrings): Fixed installation of defaults that
7807         were changed in BasicLookAndFeel.
7808         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7809         (installDefaults): Fixed installation of defaults that
7810         were changed in BasicLookAndFeel.
7812 2006-01-03  Lillian Angel  <langel@redhat.com>
7814         * javax/swing/plaf/basic/BasicLookAndFeel.java
7815         (initComponentDefaults): Fixed several defaults that differed
7816         from the JDK.
7818 2006-01-03  Lillian Angel  <langel@redhat.com>
7820         * javax/swing/tree/DefaultTreeSelectionModel.java
7821         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
7823 2006-01-03  Lillian Angel  <langel@redhat.com>
7825         * javax/swing/AbstractAction.java
7826         (AbstractAction): Fixed to pass in null. Should not be 
7827         an empty string. Removed TODO comment.
7828         (AbstractAction): Removed TODO comment.
7829         * javax/swing/JList.java
7830         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
7831         * javax/swing/JMenuItem.java
7832         (JMenuItem): Set all defaults if the action passed in is not null.
7833         * javax/swing/JProgressBar.java
7834         (JProgressBar): Added check to prevent NPE.
7836 2006-01-03  Lillian Angel  <langel@redhat.com>
7838         * javax/swing/plaf/basic/BasicListUI.java
7839         (getPreferredSize): The JDK adds some extra space to 
7840         the list, so we should as well.
7841         * javax/swing/plaf/metal/MetalFileChooserUI.java
7842         (getPreferredSize): Should only take the fileListPanel's
7843         width into account when getting the size. Also, the buttonPanel's
7844         size should not be checked, since it is in the bottomPanel already.
7845         (getMinimumSize): Likewise.
7847 2006-01-03  Lillian Angel  <langel@redhat.com>
7849         * javax/swing/JList.java
7850         (init): visibleRowCount should be 7, like the JDK.
7851         * javax/swing/plaf/metal/MetalFileChooserUI.java
7852         (installComponents): No need to add the fileFilterCombo
7853         to a panel. It can be added to the row directly.
7855 2006-01-03  Lillian Angel  <langel@redhat.com>
7856         
7857         PR classpath/25480 PR classpath/25478
7858         * javax/swing/plaf/basic/BasicScrollPaneUI.java
7859         (updateViewport): Made changes suggested by
7860         Chris Lansdown.
7861         * javax/swing/plaf/metal/MetalFileChooserUI.java:
7862         Removed unneeded import.
7863         (createList): Removed comment, JList wrapping 
7864         now works.
7865         (getPreferredSize): Made changes suggested by
7866         Chris Lansdown. Uses fileListPanel, instead
7867         of fileList.
7868         (getMinimumSize): Uses fileListPanel, instead
7869         of fileList.
7870         * javax/swing/plaf/metal/MetalRadioButtonUI.java
7871         (paintFocus): Fixed height.
7873 2006-01-03  Roman Kennke  <kennke@aicas.com>
7875         * javax/swing/plaf/basic/BasicListUI.java
7876         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
7878 2006-01-03  Roman Kennke  <kennke@aicas.com>
7880         * javax/swing/plaf/basic/BasicListUI.java
7881         (locationToIndex): Special case for when variable cell heights
7882         are possible. (cellHeights is used instead of cellHeight).
7883         (indexToLocation): Special case for when variable cell heights
7884         are possible. (cellHeights is used instead of cellHeight).
7886 2006-01-03  Roman Kennke  <kennke@aicas.com>
7888         * javax/swing/text/DefaultStyledDocument.java
7889         (ElementBuffer.remove): New method.
7890         (ElementBuffer.removeUpdate): New method.
7891         (removeUpdate): New method.
7893 2006-01-03  Roman Kennke  <kennke@aicas.com>
7895         * lib/Makefile.am:
7896         (dist-hook): Preserve attributes of Java sources when copying to
7897         dist dir.
7899 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
7901         * AUTHORS: Added self.
7902         * java/security/Security.java (getProvider): Ensures provider's name is
7903           not null, not an empty string, and is trimmed before usage.
7905 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7907         * gnu/CORBA/Poa/AOM.java (add):
7908         Changed parameter Object into gnuServantObject.
7909         (Obj.object): Changed type to gnuServantObject.
7910         (findObject): Rewritten.
7912 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
7914         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
7915         buffering. Ability has gone in Qt-4.1.x.
7917         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
7918         to have the right include flags.
7920 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
7922         * java/security/MessageDigest.java (getInstance(String,String)):
7923         Use trimmed copy of provider name.
7924         * gnu/java/security/Engine.java
7925         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
7926         service and algorithm names.
7928 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
7930         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
7931         localhost is null or is an empty string. Trim hostname before
7932         lookup.
7935 Local Variables:
7936 coding: iso-latin-1-unix        
7937 End: