/[classpath]/classpath/ChangeLog
ViewVC logotype

Diff of /classpath/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2386.2.163 by tromey, Tue Oct 25 01:12:39 2005 UTC revision 1.2386.2.164 by gnu_andrew, Wed Nov 2 00:43:13 2005 UTC
# Line 1  Line 1 
1    2005-11-01  Roman Kennke  <kennke@aicas.com>
2    
3            * javax/swing/JPopupMenu.java
4            (setVisible): Pack the JPopupMenu before fetching the Popup
5            instance. Otherwise the PopupFactory has the wrong size for
6            its size check.
7    
8    2005-11-01  Anthony Balkissoon  <abalkiss@redhat.com>
9    
10            * javax/swing/JTable.java:
11            (JTable(TableModel, TableColumnModel, ListSelectionModel)): Call
12            updateUI after initializeLocalVars.  Manually set the lead selection
13            indices.
14    
15    2005-11-01  Anthony Balkissoon  <abalkiss@redhat.com>
16    
17            * javax/swing/plaf/basic/BasicFileChooserUI.java:
18            (getApproveButtonText): First use the JFileChooser's approve button
19            text, but if it is null, then try otherwise.
20    
21    2005-11-01  Christian Thalinger  <twisti@complang.tuwien.ac.at>
22    
23            * vm/reference/java/lang/VMThread.java (sleep): Don't round    
24            ms and pass ns to Object.wait, fixes mauve test.
25                    
26    2005-11-01  Anthony Balkissoon  <abalkiss@redhat.com>
27    
28            * javax/swing/JFileChooser.java:
29            (getDialogTitle): Allow return of null.
30            (getApproveButtonText): Likewise.
31            (getFileView): Likewise.
32            (getName): First try using the JFileChooser's FileView, if null, then
33            pass call to UI.
34            (getDescription): Likewise.
35            (getTypeDescription): Likewise.
36            (getIcon): Likewise.
37    
38    2005-11-01  Anthony Balkissoon  <abalkiss@redhat.com>
39    
40            * javax/swing/JTable.java:
41            (JTable(TableModel, TableColumnModel, ListSelectionModel)): Set the
42            model before calling initializeLocalVars.
43    
44    2005-11-01  Lillian Angel  <langel@redhat.com>
45    
46            * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java
47            (BasicCheckBoxMenuItem): Moved code to BasicMenuItemUI.installDefaults
48            (processMouseEvent): Added TODO comment. Not sure about the
49            correct implementation yet.
50            * javax/swing/plaf/basic/BasicLookAndFeel.java
51            (initComponentDefaults): Removed MenuItem.checkIcon default. Only
52            RadioButtonMenuItem's and CheckBoxMenuItem's have checkIcons.
53            * javax/swing/plaf/basic/BasicMenuItemUI.java
54            (installDefaults): Fixed to initialized checkIcon. If the menuItem is
55            not a RadioButtonMenuItem or CheckBoxMenuItem, then checkIcon is null.
56            Also, fixed defaults to use prefix.
57    
58    2005-11-01  Jeroen Frijters  <jeroen@frijters.net>
59    
60            * java/io/ObjectOutputStream.java
61            (writeObject): Fixed NPE.
62    
63    2005-10-31  Anthony Balkissoon  <abalkiss@redhat.com>
64    
65            * javax/swing/plaf/basic/BasicTextAreaUI.java:
66            (create): Added docs.  Create WrappedPlainView instead of PlainView if
67            the text area has line wrapping turned on.
68            (propertyChange): New API method.  If line wrapping is turned on or off
69            or if the style of wrapping (character or word) is changed, call
70            modelChanged().
71            * javax/swing/plaf/basic/BasicTextUI.java:
72            (setView): Call revalidate and repaint after setting the View.
73            * javax/swing/text/WrappedPlainView.java:
74            (insertUpdate): Repaint the container.
75            (removeUpdate): Likewise.
76            (changedUpdate): Likewise.
77    
78    2005-10-31  Anthony Balkissoon  <abalkiss@redhat.com>
79    
80            * javax/swing/text/WrappedPlainView.java:
81            (viewFactory): New field.
82            (drawLine): New API method.
83            (calculateBreakPosition): Update the metrics before calling Utilities
84            methods. Fixed error in offset argument passed to the Utilities
85            methods.
86            (updateMetrics): New implementation method.
87            (getPreferredSpan): New API method.
88            (insertUpdate): Likewise.
89            (removeUpdate): Likewise.
90            (changedUpdate): Likewise.
91            (WrappedLineCreator): New class.
92            (paint): New API method.
93            (setSize): New API method.
94            (WrappedLine.paint): Implemented.
95            (WrappedLine.getPreferredSpan): Don't update the metrics, this is now
96            done in WrappedPlainView.paint.
97            (WrappedLine.modelToView): Likewise.
98            (WrappedLine.viewToModel): Likewise.
99            
100    2005-10-31  Anthony Balkissoon  <abalkiss@redhat.com>
101    
102            * javax/swing/text/Utilities.java:
103            (getTabbedTextOffset): Adjusted for loop bound down by s.offset and
104            adjusted array index up by s.offset.  This fixes the second part of
105            PR 24316.  Expand tabs, not newlines.  Allow the x-position to reach
106            the end specified position (use < instead of <=).
107    
108    2005-10-31  Roman Kennke  <kennke@aicas.com>
109    
110            * javax/swing/JTextField.java
111            (horizontalVisibility): New field.
112            (JTextField): Initialize horizontalVisibility field.
113            (getHorizontalVisibility): New method.
114    
115    2005-10-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
116    
117            * gnu/CORBA/SocketRepository.java (not_reusable, gc): New methods.
118            (sockets): Use hashtable. (get_socket): Rewritten.
119    
120    2005-10-31  Roman Kennke  <kennke@aicas.com>
121    
122            * javax/swing/JTable.java
123            (AccessibleJTable.tableChanged): Implemented.
124            (AccessibleJTable.tableRowsInserted): Implemented.
125            (AccessibleJTable.tableRowsDeleted): Implemented.
126    
127    2005-10-30  Mark Wielaard  <mark@klomp.org>
128    
129            * javax/swing/plaf/basic/BasicTreeUI.java
130            (updateCurrentVisiblePath): Check whether treeModel is null.
131    
132    2005-10-30  Mark Wielaard  <mark@klomp.org>
133    
134            * examples/gnu/classpath/examples/swing/Demo.java (static): Set look
135            and feel before showing dialog. Clean up message text.
136    
137    2005-10-30  Mark Wielaard  <mark@klomp.org>
138    
139            * javax/swing/text/PlainView.java (determineMaxLineLength): Get
140            correct lenght of text.
141            (drawLine): Throw AssertionError on unexpected bad location.
142            (viewToModel): Likewise.
143    
144    2005-10-30  Mark Wielaard  <mark@klomp.org>
145    
146            * javax/swing/text/AbstractDocument.java (dump): Actually throw
147            AssertionError when constructed.
148            * javax/swing/text/DefaultFormatter.java (checkValidInput): Add cause
149            to AssertionError.
150            * javax/swing/text/DefaultStyledDocument.java (insertUpdate):
151            Likewise.
152            * javax/swing/text/GlyphView.java (getPartialSpan): Likewise.
153            (getText): Likewise.
154            * javax/swing/text/PlainView.java (determineMaxLineLength): Likewise.
155            (updateDamage): Likewise.
156    
157    2005-10-30  Mark Wielaard  <mark@klomp.org>
158    
159            * gnu/java/rmi/server/UnicastServer.java (refcache): Make it a
160            synchronized IdentityHashMap.
161    
162    2005-10-30  Mark Wielaard  <mark@klomp.org>
163    
164            * gnu/java/awt/peer/gtk/GdkGraphics2D.java
165            (GdkGraphics2D(GdkGraphics2D,int, int, int,int)): New constructor.
166            (create(int,int,int,int)): Use new constructor.
167            (copyArea): Implement through create() and gdkDrawDrawable().
168    
169    2005-10-29  Guilhem Lavaux  <guilhem@kaffe.org>
170    
171            * java/nio/channels/spi/AbstractSelectableChannel.java
172            (register): Throw IllegalBlockingModeException if the channel is
173            not in blocking mode.
174            
175    2005-10-29  David Gilbert  <david.gilbert@object-refinery.com>
176    
177            * examples/gnu/classpath/examples/swing/ButtonDemo.java
178            (ButtonDemo): add closePanel after content is created,
179            (createContent): don't add closePanel here,
180            * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
181            (ButtonDemo): add closePanel after content is created,
182            (createContent): don't add closePanel here,
183            * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
184            (ButtonDemo): add closePanel after content is created,
185            (createContent): don't add closePanel here,
186            * examples/gnu/classpath/examples/swing/SliderDemo.java
187            (ButtonDemo): add closePanel after content is created,
188            (createContent): add separate checkBoxPanel but don't add closePanel
189            here.
190    
191    2005-10-28  Roman Kennke  <kennke@aicas.com>
192    
193            * java/awt/KeyboardFocusManager.java
194            (setCurrentKeyboardFocusManager): Create a DefaultKeyboardFocusManager
195            directly.
196            (createFocusManager): Removed.
197            * gnu/java/awt/FocusManager.java: Removed.
198            * javax/swing/FocusManager.java
199            (DisabledFocusManager): Removed inner class.
200            (WrappingFocusManager): New inner class.
201            (getCurrentManager): Return WrappingKeyboardFocusManager instance.
202    
203    2005-10-28  Anthony Balkissoon  <abalkiss@redhat.com>
204    
205            * java/awt/Component.java:
206            (requestFocus): If this component is a Container, start here, not at
207            its parent when looking for the top-level ancestor.  If no top-level
208            ancestor is found (parent == null), return.
209    
210    2005-10-28  Roman Kennke  <kennke@aicas.com>
211    
212            * javax/swing/table/DefaulTableCellRenderer.java
213            (getTableCellRenderer): Correctly configure the cell renderer for
214            selected and / or focused cells.
215            * javax/swing/table/JTableHeader.java
216            (getHeaderRect): Don't include the intercellSpacing in the
217            header rectangle.
218    
219    2005-10-28  Roman Kennke  <kennke@aicas.com>
220    
221            * javax/swing/plaf/basic/BasicTableUI.java
222            (MouseInputHandler.mouseDragged): Only react if table is enabled.
223            (MouseInputHandler.mousePressed): Only react if table is enabled.
224            (MouseInputHandler.mouseReleased): Only react if table is enabled.
225            (PropertyChangeHandler): New inner class. Updates the state of
226            the table if the model property changes.
227            (installDefaults): Don't load the highlightCellBorder here. This
228            is done in the cell renderer now.
229            (installListeners): Install the new PropertyChangeListener.
230            (uninstallListeners): Uninstall the new PropertyChangeListener.
231            (paintCell): Fixed determination of the selected and focused state
232            of the cell. Removed handling of the border (this is moved into
233            the cell renderer).
234            (paint): Fixed the rectangle calculation of the cell. Fixed painting
235            of the grid.
236    
237    2005-10-28  Roman Kennke  <kennke@aicas.com>
238    
239            * javax/swing/DefaultListSelectionModel.java
240            (setLeadSelectionIndex): Forbit some changes to leadSelectionIndex
241            when the anchorSelectionIndex is not set properly.
242    
243    2005-10-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
244    
245            * gnu/CORBA/Poa/AOM.java,
246            gnu/CORBA/Poa/AccessiblePolicy.java,
247            gnu/CORBA/Poa/DynamicImpHandler.java,
248            gnu/CORBA/Poa/StandardPolicies.java,
249            gnu/CORBA/Poa/ServantDelegateImpl.java,
250            gnu/CORBA/Poa/NamingService/NameComponentComparator.java
251            gnu/CORBA/Poa/NamingService/NameTransformer.java
252            gnu/CORBA/GIOP/ContextHandler.java,
253            gnu/CORBA/GIOP/CodeSetServiceContext.java: New files.
254            * gnu/CORBA/GIOP/contextSupportingHeader.java,
255            gnu/CORBA/GIOP/cxCodeSet.java,
256            gnu/CORBA/NamingService/cmpNameComponent.java,
257            gnu/CORBA/NamingService/snConverter.java,
258            gnu/CORBA/Poa/activeObjectMap.java,
259            gnu/CORBA/Poa/dynImpHandler.java,
260            gnu/CORBA/Poa/policySets.java,
261            gnu/CORBA/Poa/servantDelegate.java,
262            gnu/CORBA/Poa/vPolicy.java: Removed.
263            * gnu/CORBA/GIOP/CharSets_OSF:
264            Explaining the reason of setting "_OSF" apart.
265            * gnu/CORBA/CDR/AbstractCdrInput.java,
266            gnu/CORBA/CDR/AbstractCdrOutput.java,
267            gnu/CORBA/GIOP/CharSets_OSF.java,
268            gnu/CORBA/GIOP/ReplyHeader.java,
269            gnu/CORBA/GIOP/RequestHeader.java,
270            gnu/CORBA/GIOP/ServiceContext.java,
271            gnu/CORBA/GIOP/v1_0/ReplyHeader.java,
272            gnu/CORBA/GIOP/v1_0/RequestHeader.java,
273            gnu/CORBA/GIOP/v1_2/ReplyHeader.java,
274            gnu/CORBA/GIOP/v1_2/RequestHeader.java,
275            gnu/CORBA/IOR.java,
276            gnu/CORBA/NamingService/Ext.java,
277            gnu/CORBA/NamingService/NameParser.java,
278            gnu/CORBA/NamingService/NamingMap.java,
279            gnu/CORBA/Poa/ForwardedServant.java,
280            gnu/CORBA/Poa/LocalDelegate.java,
281            gnu/CORBA/Poa/LocalRequest.java,
282            gnu/CORBA/Poa/ORB_1_4.java,
283            gnu/CORBA/Poa/gnuAdapterActivator.java,
284            gnu/CORBA/Poa/gnuIdAssignmentPolicy.java,
285            gnu/CORBA/Poa/gnuIdUniquenessPolicy.java,
286            gnu/CORBA/Poa/gnuImplicitActivationPolicy.java,
287            gnu/CORBA/Poa/gnuLifespanPolicy.java,
288            gnu/CORBA/Poa/gnuPOA.java,
289            gnu/CORBA/Poa/gnuRequestProcessingPolicy.java,
290            gnu/CORBA/Poa/gnuServantObject.java,
291            gnu/CORBA/Poa/gnuServantRetentionPolicy.java,
292            gnu/CORBA/Poa/gnuThreadPolicy.java,
293            gnu/CORBA/ResponseHandlerImpl.java,
294            gnu/CORBA/gnuRequest.java,
295            gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
296            gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
297            org/omg/CosNaming/_NamingContextExtStub.java:
298            References updated.
299    
300    2005-10-28  Roman Kennke  <kennke@aicas.com>
301    
302            * javax/swing/JTable.java
303            (JTable): Changed order of initialization (UI first, then the model
304            etc), so that the UI gets notified of the initial model change.
305            (rowAtPoint): Don't add the intercellSpacing in the calculation
306            of the row-at-Point.
307            (setModel): Throw a PropertyChangeEvent here if the model changes.
308    
309    2005-10-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
310    
311            * gnu/CORBA/DynAn/ValueChangeListener.java
312            gnu/CORBA/DynAn/AbstractAny.java
313            gnu/CORBA/DynAn/RecordAny.java
314            gnu/CORBA/DynAn/DivideableAny.java
315            gnu/CORBA/DynAn/UndivideableAny.java: New files.
316            * gnu/CORBA/DynAn/abstractDynAny.java,
317            gnu/CORBA/DynAn/recordAny.java,
318            gnu/CORBA/DynAn/anyDivideable.java,
319            gnu/CORBA/DynAn/anyUndivideable.java,
320            gnu/CORBA/DynAn/valueChangedListener.java: Removed.
321            * gnu/CORBA/DynAn/gnuDynAny.java,
322            gnu/CORBA/DynAn/gnuDynArray.java,
323            gnu/CORBA/DynAn/gnuDynEnum.java,
324            gnu/CORBA/DynAn/gnuDynFixed.java,
325            gnu/CORBA/DynAn/gnuDynStruct.java,
326            gnu/CORBA/DynAn/gnuDynUnion.java,
327            gnu/CORBA/DynAn/gnuDynValue.java,
328            gnu/CORBA/DynAn/gnuDynValueBox.java:
329            References updated.
330    
331    2005-10-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
332    
333            * gnu/CORBA/CDR/abstractDataInputStream.java,
334            gnu/CORBA/CDR/abstractDataOutputStream.java,
335            gnu/CORBA/CDR/aligningInputStream.java,
336            gnu/CORBA/CDR/aligningOutputStream.java,
337            gnu/CORBA/CDR/cdrBufInput.java.java,
338            gnu/CORBA/CDR/cdrBufOutput.java
339            gnu/CORBA/CDR/cdrInput.java,
340            gnu/CORBA/CDR/cdrOutput.java,
341            gnu/CORBA/CDR/encapsulatedOutput.java,
342            gnu/CORBA/CDR/noHeaderInput.java: Removed.
343            * gnu/CORBA/CDR/HeadlessInput.java
344            gnu/CORBA/CDR/AbstractCdrInput.java
345            gnu/CORBA/CDR/AbstractCdrOutput.java
346            gnu/CORBA/CDR/AbstractDataInput.java
347            gnu/CORBA/CDR/AbstractDataOutput.java
348            gnu/CORBA/CDR/AligningInput.java
349            gnu/CORBA/CDR/AligningOutput.java
350            gnu/CORBA/CDR/BufferedCdrOutput.java
351            gnu/CORBA/CDR/BufferredCdrInput.java
352            gnu/CORBA/CDR/EncapsulationStream.java: New files.
353            * gnu/CORBA/CDR/ArrayValueHelper.java,
354            gnu/CORBA/CDR/BigEndianInputStream.java,
355            gnu/CORBA/CDR/BigEndianOutputStream.java,
356            gnu/CORBA/CDR/LittleEndianInputStream.java,
357            gnu/CORBA/CDR/LittleEndianOutputStream.java,
358            gnu/CORBA/CDR/UnknownExceptionCtxHandler.java,
359            gnu/CORBA/CDR/Vio.java,
360            gnu/CORBA/CdrEncapsCodecImpl.java,
361            gnu/CORBA/DynAn/gnuDynAny.java,
362            gnu/CORBA/GIOP/MessageHeader.java,
363            gnu/CORBA/GIOP/ReplyHeader.java,
364            gnu/CORBA/GIOP/RequestHeader.java,
365            gnu/CORBA/GIOP/ServiceContext.java,
366            gnu/CORBA/GIOP/cxCodeSet.java,
367            gnu/CORBA/GIOP/v1_0/ReplyHeader.java,
368            gnu/CORBA/GIOP/v1_0/RequestHeader.java,
369            gnu/CORBA/GIOP/v1_2/ReplyHeader.java,
370            gnu/CORBA/GIOP/v1_2/RequestHeader.java,
371            gnu/CORBA/GeneralHolder.java,
372            gnu/CORBA/IOR.java,
373            gnu/CORBA/Interceptor/gnuIcCurrent.java,
374            gnu/CORBA/IorDelegate.java,
375            gnu/CORBA/ObjectCreator.java,
376            gnu/CORBA/OrbFunctional.java,
377            gnu/CORBA/OrbRestricted.java,
378            gnu/CORBA/Poa/LocalDelegate.java,
379            gnu/CORBA/Poa/LocalRequest.java,
380            gnu/CORBA/Poa/gnuPOA.java,
381            gnu/CORBA/RawReply.java,
382            gnu/CORBA/ResponseHandlerImpl.java,
383            gnu/CORBA/ServiceRequestAdapter.java,
384            gnu/CORBA/StreamBasedRequest.java,
385            gnu/CORBA/gnuAny.java,
386            gnu/CORBA/gnuRequest.java,
387            gnu/CORBA/typecodes/GeneralTypeCode.java,
388            gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java,
389            gnu/javax/rmi/CORBA/RmiUtilities.java,
390            gnu/javax/rmi/CORBA/StubDelegateImpl.java,
391            org/omg/IOP/TaggedProfileHelper.java:
392            References updated.
393    
394    2005-10-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
395    
396            * gnu/javax/rmi/CORBA/corbaObjectInput.java,
397            gnu/javax/rmi/CORBA/corbaObjectOutput.java,
398            gnu/javax/rmi/CORBA/dwoTester.java,
399            gnu/javax/rmi/CORBA/gnuRmiUtil: Deleted.
400            * gnu/javax/rmi/CORBA/CorbaInput.java,
401            gnu/javax/rmi/CORBA/CorbaOutput.java,
402            gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java,
403            gnu/javax/rmi/CORBA/RmiUtilities.java: New files.
404            * gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
405            gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java:
406            References updated.
407    
408    2005-10-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
409    
410            * gnu/CORBA/holderFactory.java,
411            gnu/CORBA/IOR_contructed_object.java,
412            gnu/CORBA/IOR_Delegate.java,
413            gnu/CORBA/Simple_delegate.java,
414            gnu/CORBA/Restricted_ORB.java,
415            gnu/CORBA/Functional_ORB.java,
416            gnu/CORBA/Focused_ORB.java: Removed.
417            * gnu/CORBA/HolderLocator.java
418            gnu/CORBA/IorDelegate.java
419            gnu/CORBA/IorObject.java
420            gnu/CORBA/OrbFocused.java
421            gnu/CORBA/OrbFunctional.java
422            gnu/CORBA/OrbRestricted.java
423            gnu/CORBA/SimpleDelegate.java: New files.
424            * gnu/CORBA/CDR/cdrInput.java,
425            gnu/CORBA/DynAn/abstractRecord.java,
426            gnu/CORBA/DynAn/gnuDynAny.java,
427            gnu/CORBA/DynAn/gnuDynAnyFactory.java,
428            gnu/CORBA/DynAn/gnuDynArray.java,
429            gnu/CORBA/DynAn/gnuDynValueBox.java,
430            gnu/CORBA/GIOP/ErrorMessage.java,
431            gnu/CORBA/NamingService/NameParser.java,
432            gnu/CORBA/NamingService/NamingServiceTransient.java,
433            gnu/CORBA/Poa/ForwardedServant.java,
434            gnu/CORBA/Poa/ORB_1_4.java,
435            gnu/CORBA/Poa/gnuServantObject.java,
436            gnu/CORBA/StubLocator.java,
437            gnu/CORBA/gnuAny.java,
438            gnu/CORBA/gnuRequest.java,
439            gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
440            gnu/javax/rmi/CORBA/gnuRmiUtil.java,
441            org/omg/CORBA/CompletionStatusHelper.java,
442            org/omg/CORBA/DefinitionKindHelper.java,
443            org/omg/CORBA/FieldNameHelper.java,
444            org/omg/CORBA/IDLTypeHelper.java,
445            org/omg/CORBA/IdentifierHelper.java,
446            org/omg/CORBA/ORB.java,
447            org/omg/CORBA/ParameterModeHelper.java,
448            org/omg/CORBA/RepositoryIdHelper.java,
449            org/omg/CORBA/SetOverrideTypeHelper.java,
450            org/omg/CORBA/StringValueHelper.java,
451            org/omg/CORBA/StructMemberHelper.java,
452            org/omg/CORBA/UnionMemberHelper.java,
453            org/omg/CORBA/ValueMemberHelper.java,
454            org/omg/CORBA/VersionSpecHelper.java,
455            org/omg/CORBA/VisibilityHelper.java,
456            org/omg/CORBA/WStringValueHelper.java,
457            org/omg/CORBA/_IDLTypeStub.java,
458            org/omg/CosNaming/IstringHelper.java,
459            org/omg/DynamicAny/FieldNameHelper.java,
460            org/omg/PortableInterceptor/AdapterNameHelper.java,
461            org/omg/PortableInterceptor/ORBIdHelper.java,
462            org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
463            org/omg/PortableInterceptor/ObjectIdHelper.java,
464            org/omg/PortableInterceptor/ServerIdHelper.java:
465            References updated.
466    
467    2005-10-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
468    
469            * gnu/CORBA/universalHolder.java
470            gnu/CORBA/stubFinder.java
471            gnu/CORBA/typeNamer.java
472            gnu/CORBA/streamRequest.java
473            gnu/CORBA/streamReadyHolder.java
474            gnu/CORBA/binaryReply.java
475            gnu/CORBA/bufferedResponseHandler.java
476            gnu/CORBA/cdrEncapsCodec.java
477            gnu/CORBA/corbaArrayList.java: Removed.
478            * gnu/CORBA/CdrEncapsCodecImpl.java,
479            gnu/CORBA/CorbaList.java,
480            gnu/CORBA/GeneralHolder.java,
481            gnu/CORBA/RawReply.java,
482            gnu/CORBA/ResponseHandlerImpl.java,
483            gnu/CORBA/StreamBasedRequest.java,
484            gnu/CORBA/StreamHolder.java,
485            gnu/CORBA/StubLocator.java,
486            gnu/CORBA/TypeKindNamer.java: New files.
487            * gnu/CORBA/CDR/cdrInput.java,
488            gnu/CORBA/DynAn/abstractDynAny.java,
489            gnu/CORBA/DynAn/anyDivideable.java,
490            gnu/CORBA/DynAn/gnuDynAny.java,
491            gnu/CORBA/DynAn/gnuDynAnyFactory.java,
492            gnu/CORBA/Functional_ORB.java,
493            gnu/CORBA/IOR_Delegate.java,
494            gnu/CORBA/ObjectCreator.java,
495            gnu/CORBA/Poa/LocalDelegate.java,
496            gnu/CORBA/Poa/LocalRequest.java,
497            gnu/CORBA/Poa/gnuServantObject.java,
498            gnu/CORBA/Restricted_ORB.java,
499            gnu/CORBA/ServiceRequestAdapter.java,
500            gnu/CORBA/gnuAny.java,
501            gnu/CORBA/gnuCodecFactory.java,
502            gnu/CORBA/gnuContextList.java,
503            gnu/CORBA/gnuExceptionList.java,
504            gnu/CORBA/gnuNVList.java,
505            gnu/CORBA/gnuRequest.java,
506            gnu/CORBA/typecodes/RecordTypeCode.java:
507            References updated.
508    
509    2005-10-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
510    
511            * gnu/CORBA/typecodes/AliasTypeCode.java,
512            gnu/CORBA/typecodes/ArrayTypeCode.java,
513            gnu/CORBA/typecodes/FixedTypeCode.java,
514            gnu/CORBA/typecodes/GeneralTypeCode.java,
515            gnu/CORBA/typecodes/PrimitiveTypeCode.java,
516            gnu/CORBA/typecodes/RecordTypeCode.java,
517            gnu/CORBA/typecodes/RecursiveTypeCode.java,
518            gnu/CORBA/typecodes/StringTypeCode.java,
519            gnu/CORBA/typecodes/package.html: New files.
520            * gnu/CORBA/aliasTypeCode.java,
521            gnu/CORBA/primitiveArrayTypeCode.java,
522            gnu/CORBA/fixedTypeCode.java,
523            gnu/CORBA/generalTypeCode.java,
524            gnu/CORBA/primitiveTypeCode.java,
525            gnu/CORBA/recordTypeCode.java,
526            gnu/CORBA/recursiveTypeCode.java,
527            gnu/CORBA/stringTypeCode.java: Deleted.
528            * gnu/CORBA/CDR/cdrOutput.java,
529            gnu/CORBA/ObjectCreator.java,
530            gnu/CORBA/OctetHolder.java,
531            gnu/CORBA/Poa/LocalRequest.java,
532            gnu/CORBA/Poa/gnuServantObject.java,
533            gnu/CORBA/Restricted_ORB.java,
534            gnu/CORBA/TypeCodeHelper.java,
535            gnu/CORBA/WCharHolder.java,
536            gnu/CORBA/WStringHolder.java,
537            gnu/CORBA/gnuAny.java,
538            gnu/CORBA/typeNamer.java,
539            gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
540            org/omg/CORBA/AnyHolder.java,
541            org/omg/CORBA/AnySeqHelper.java,
542            org/omg/CORBA/AnySeqHolder.java,
543            org/omg/CORBA/BooleanHolder.java,
544            org/omg/CORBA/BooleanSeqHelper.java,
545            org/omg/CORBA/BooleanSeqHolder.java,
546            org/omg/CORBA/ByteHolder.java,
547            org/omg/CORBA/CharHolder.java,
548            org/omg/CORBA/CharSeqHelper.java,
549            org/omg/CORBA/CharSeqHolder.java,
550            org/omg/CORBA/DefinitionKindHelper.java,
551            org/omg/CORBA/DoubleHolder.java,
552            org/omg/CORBA/DoubleSeqHelper.java,
553            org/omg/CORBA/DoubleSeqHolder.java,
554            org/omg/CORBA/FixedHolder.java,
555            org/omg/CORBA/FloatHolder.java,
556            org/omg/CORBA/FloatSeqHelper.java,
557            org/omg/CORBA/FloatSeqHolder.java,
558            org/omg/CORBA/IntHolder.java,
559            org/omg/CORBA/LongHolder.java,
560            org/omg/CORBA/LongLongSeqHelper.java,
561            org/omg/CORBA/LongLongSeqHolder.java,
562            org/omg/CORBA/LongSeqHelper.java,
563            org/omg/CORBA/LongSeqHolder.java,
564            org/omg/CORBA/NameValuePairHelper.java,
565            org/omg/CORBA/ORB.java,
566            org/omg/CORBA/ObjectHelper.java,
567            org/omg/CORBA/ObjectHolder.java,
568            org/omg/CORBA/OctetSeqHelper.java,
569            org/omg/CORBA/OctetSeqHolder.java,
570            org/omg/CORBA/PolicyErrorCodeHelper.java,
571            org/omg/CORBA/PrincipalHolder.java,
572            org/omg/CORBA/ShortHolder.java,
573            org/omg/CORBA/ShortSeqHelper.java,
574            org/omg/CORBA/ShortSeqHolder.java,
575            org/omg/CORBA/StringHolder.java,
576            org/omg/CORBA/StringSeqHelper.java,
577            org/omg/CORBA/StringSeqHolder.java,
578            org/omg/CORBA/TypeCodeHolder.java,
579            org/omg/CORBA/ULongLongSeqHelper.java,
580            org/omg/CORBA/ULongLongSeqHolder.java,
581            org/omg/CORBA/ULongSeqHelper.java,
582            org/omg/CORBA/ULongSeqHolder.java,
583            org/omg/CORBA/UShortSeqHelper.java,
584            org/omg/CORBA/UShortSeqHolder.java,
585            org/omg/CORBA/ValueBaseHelper.java,
586            org/omg/CORBA/WCharSeqHelper.java,
587            org/omg/CORBA/WCharSeqHolder.java,
588            org/omg/CORBA/WStringSeqHelper.java,
589            org/omg/CORBA/WStringSeqHolder.java,
590            org/omg/Messaging/SyncScopeHelper.java: References modified.
591    
592    2005-10-28  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
593    
594            Reported by: Gael Thomas <gael.thomas@imag.fr>
595            * NEWS : added entry about new implementation of
596            VMClassLoader.getPackage(s), and new method
597            VMClassLoader.getBootPackages
598            * vm/reference/java/lang/VMClassLoader.java:
599            Added new definedPackages field to store packages
600            loaded by the bootstrap classloader.
601            Added new static initializer to create all packages
602            which names are returned by getBootPackages
603            (getBootPackages): new private method. Helper
604            to get as a String[] the native package names
605            (getPackage): uses the new definedPackages field
606            (getPackages): uses the new definedPackages field
607            * java/lang/Class.java:
608            (getPackage): if the classloader of the class is null
609            then call VMClassLoader.getPackage
610    
611    2005-10-27  Anthony Balkissoon  <abalkiss@redhat.com>
612    
613            * javax/swing/JEditorPane.java:
614            (getScrollableTracksViewportWidth): Return true if the component is
615            valid.
616            (getScrollableTracksViewportHeight): Likewise.
617    
618    2005-10-27  Anthony Balkissoon  <abalkiss@redhat.com>
619    
620            * javax/swing/ScrollPaneLayout.java:
621            (preferredLayoutSize): Fixed the conditions for allocating space for
622            the scrollbars.  Should allocate space if the View's dimension is
623            larger than the Viewport's dimension. This fixes the problem in
624            comment 1) for PR 23530.
625    
626    2005-10-27  Anthony Balkissoon  <abalkiss@redhat.com>
627    
628            * javax/swing/JViewport.java:
629            (scrollRectToVisible): Use the viewport bounds instead of the view
630            bounds when scrolling up and scrolling left.
631    
632    2005-10-27  Roman Kennke  <kennke@aicas.com>
633    
634            * javax/swing/text/FieldView.java
635            (getPreferredSpan): For the Y_AXIS call the superclass behaviour as
636            described in the Swing book by OReilly.
637    
638    2005-10-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
639    
640            * org/omg/PortableInterceptor/ObjectIdHelper.java:
641            Assuming ObjectId as alias of byte[], not alias  of String.
642    
643    2005-10-27  Roman Kennke  <kennke@aicas.com>
644    
645            * javax/swing/JTextField.java
646            (createDefaultModel): Return a normal PlainDocument here.
647            * javax/swing/text/AbstractDocument.java
648            (insertString): Correctly placed locking so that insertUpdate() is
649            called within a lock as specified. Do not setup any ElementChanges
650            here, this must be done in subclasses in insertUpdate() method.
651            Fire an UndoableEditEvent.
652            * javax/swing/text/PlainDocument.java
653            (insertString): New method. Replaces newlines with whitespace
654            when document property 'filterNewlines' is set.
655    
656    2005-10-27  Roman Kennke  <kennke@aicas.com>
657    
658            * javax/swing/plaf/basic/BasicScrollBarUI.java
659            (PropertyChangeHandler.propertyChange): If orientation property
660            changes, re-setup the UI.
661            (TrackListener.mouseReleased): Removed unused code.
662            (createIncreaseButton): Simply return a new instance without any
663            hacks.
664            (createDecreaseButton): Likewise.
665            (installComponents): Do not create the incrButton and decrButton
666            here, only install them on the ScrollBar.
667            (installDefaults): Also initialize the incrButton and decrButton
668            fields here.
669            (uninstallComponents): Added some null checks.
670            (uninstallDefaults): Uninstall border using the LookAndFeel utility
671            method. Set incrButton and decrButton to null here.
672            (uninstallListeners): Added null checks.
673            (uninstallUI): Changed order of method calls. First uninstall
674            listeners then uninstallDefaults, because uninstallDefaults sets
675            the incrButton and decrButton fields to null, and uninstallListeners
676            removes a listener from them. Avoids NPE.
677    
678    2005-10-27  David Gilbert  <david.gilbert@object-refinery.com>
679    
680            * javax/swing/plaf/metal/MetalBorders.java: API doc updates,
681            * javax/swing/plaf/metal/MetalButtonUI.java: likewise,
682            * javax/swing/plaf/metal/MetalCheckBoxIcon.java: likewise,
683            * javax/swing/plaf/metal/MetalCheckBoxUI.java: likewise,
684            * javax/swing/plaf/metal/MetalDesktopIconUI.java: likewise,
685            * javax/swing/plaf/metal/MetalIconFactory.java: likewise,
686            * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: likewise,
687            * javax/swing/plaf/metal/MetalInternalFrameUI.java: likewise,
688            * javax/swing/plaf/metal/MetalLabelUI.java: likewise,
689            * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: likewise,
690            * javax/swing/plaf/metal/MetalProgressBarUI.java: likewise,
691            * javax/swing/plaf/metal/MetalRadioButtonUI.java: likewise,
692            * javax/swing/plaf/metal/MetalRootPaneUI.java: likewise,
693            * javax/swing/plaf/metal/MetalScrollBarUI.java: likewise,
694            * javax/swing/plaf/metal/MetalScrollPaneUI.java: likewise,
695            * javax/swing/plaf/metal/MetalSeparatorUI.java: likewise,
696            * javax/swing/plaf/metal/MetalSliderUI.java: likewise,
697            * javax/swing/plaf/metal/MetalSplitPaneUI.java: likewise,
698            * javax/swing/plaf/metal/MetalTabbedPaneUI.java: likewise,
699            * javax/swing/plaf/metal/MetalTextFieldUI.java: likewise,
700            * javax/swing/plaf/metal/MetalToolBarUI.java: likewise,
701            * javax/swing/plaf/metal/MetalToolTipUI.java: likewise,
702            * javax/swing/plaf/metal/MetalTreeUI.java: likewise,
703            * javax/swing/plaf/metal/package.html: likewise.
704    
705    2005-10-27  David Gilbert  <david.gilbert@object-refinery.com>
706    
707            * javax/swing/plaf/metal/MetalToggleButtonUI.java:
708            (MetalToggleButtonUI): removed color field initialisation,
709            (installDefaults): added color field initialisation formerly in
710            the constructor.
711    
712    2005-10-27  David Gilbert  <david.gilbert@object-refinery.com>
713    
714            * javax/swing/RepaintManager.java
715            (paintDirtyRegions): replaced characters in comment that caused
716            warnings in gjdoc and Eclipse.
717    
718    2005-10-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
719    
720            * BUGS: URL refreshed.
721    
722    2005-10-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
723    
724            * gnu/CORBA/ExceptionCreator.java: Deleted.
725    
726    2005-10-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
727    
728            * org/omg/PortableInterceptor/ObjectReferenceFactory.java,
729            org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
730            org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java,
731            org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
732            New files.
733            
734    2005-10-26  Anthony Balkissoon  <abalkiss@redhat.com>
735    
736            * javax/swing/ViewportLayout.java:
737            (layoutContainer): Fixed incorrect boundary checks, should have been
738            checking for viewport being  smaller than minimum size, not smaller
739            than preferred size.
740    
741    2005-10-26  Andreas Tobler  <a.tobler@schweiz.ch>
742    
743            * configure.ac: Rename --with-qtdir to --with-qt4dir to make clear
744            which Qt version is meant.
745    
746    2005-10-26  Anthony Balkissoon  <abalkiss@redhat.com>
747    
748            * javax/swing/JList.java:
749            (getPreferredScrollableViewportSize): Use the preferred width instead
750            of the width of the widest element.  This allows us to use the
751            user-specified preferred width if setPreferredSize was called.  Use
752            the height of the first row, not the first visible row, when
753            calculating the preferred height.  Added comments and made code cleaner
754            and more readable.
755    
756    2005-10-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
757    
758            * javax/imageio/spi/ImageReaderWriterSpi.java
759            (getStreamMetadataFormat): Implement.
760            (getImageMetadataFormat): Likewise.
761    
762    2005-10-26  David Gilbert  <david.gilbert@object-refinery.com>
763    
764            * javax/swing/colorchooser/AbstractColorChooserPanel.java
765            (getMnemonic): implemented,
766            (getDisplayedMnemonicIndex): implemented.
767    
768    2005-10-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
769    
770            * org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
771            org/omg/PortableInterceptor/AdapterNameHelper.java,
772            org/omg/PortableInterceptor/AdapterStateHelper.java,
773            org/omg/PortableInterceptor/ORBIdHelper.java,
774            org/omg/PortableInterceptor/ObjectIdHelper.java,
775            org/omg/PortableInterceptor/ServerIdHelper.java: New files.
776            * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java
777            (type): Fixed typo in typecode name.
778    
779    2005-10-25  Anthony Balkissoon  <abalkiss@redhat.com>
780    
781            * javax/swing/text/WrappedPlainView: New class.
782    
783    2005-10-25  Roman Kennke  <kennke@aicas.com>
784    
785            * javax/swing/plaf/basic/BasicButtonUI.java
786            (installDefaults): Removed initialization of unnecessary focusColor
787            field.
788            (paintButtonPressed): Only paint if button is opaque.
789            * javax/swing/plaf/metal/MetalButtonUI.java
790            (paintButtonPressed): Only paint if button is opaque and
791            contentAreaFilled.
792    
793    2005-10-25  Anthony Balkissoon  <abalkiss@redhat.com>
794    
795            * javax/swing/text/CompositeView.java:
796            (getViewIndexAtPosition): Fixed boundary conditions (less than and
797            greater than signs were backward).
798    
799    2005-10-25  Anthony Balkissoon  <abalkiss@redhat.com>
800    
801            * javax/swing/text/Utilities.java:
802            (getBreakLocation): New API method.
803    
804    2005-10-25  Tom Tromey  <tromey@redhat.com>
805    
806            * java/io/ObjectOutputStream.java (useProtocolVersion): Typo fix.
807    
808    2005-10-25  Roman Kennke  <kennke@aicas.com>
809    
810            * gnu/java/awt/peer/gtk/GtkDialogPeer.java
811            (create): Changed classname for the heavyweight testclass to match
812            the new classes introduced by my popup patch earlier this day.
813    
814    2005-10-25  Roman Kennke  <kennke@aicas.com>
815    
816            * examples/gnu/classpath/examples/swing/Demo.java
817            (mkMenuBar): Replaced some demos with new external demo programs,
818            namely the button demo, the scrollbar demo, the combobox demo and
819            the slider demo.
820            (mkButtonBar): Likewise.
821            * examples/gnu/classpath/examples/swing/ButtonDemo.java
822            (createContent): Made package private so that the Demo.java can
823            access it.
824            * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
825            (createContent): Made package private so that the Demo.java can
826            access it.
827            * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
828            (createContent): Made package private so that the Demo.java can
829            access it.
830            * examples/gnu/classpath/examples/swing/SliderDemo.java
831            (createContent): Made package private so that the Demo.java can
832            access it.
833    
834    2005-10-25  Roman Kennke  <kennke@aicas.com>
835    
836            * javax/swing/JLayeredPane.java
837            (addImpl): Removed unnecessary repaint() and revalidate() calls.
838            * javax/swing/JPopupMenu.java
839            (remove): Removed unnecessary revalidate() call.
840            (insert): Removed code that installs GridBagConstraints. JPopupMenu
841            uses a BoxLayout and this is not needed anymore.
842            (pack): Send this method call to the event queue to avoid
843            synchronization problems. Set size to preferredSize of this menu.
844            (setVisible): Send this method call to the event queue to avoid
845            synchronization problems. Use PopupFactory for creating a popup.
846            (setLocation): Use int fields instead of a Point field.
847            (Popup): Removed inner interface. We use javax.swing.Popup now.
848            (LightweightPopup): Likewise.
849            (MediumWeightPopup): Likewise.
850            (HeavyWeightPopup): Likewise.
851            * javax/swing/Popup.java
852            (JWindowPopup.JWindowPopup): Add contents to contentPane of window.
853            Set focusableWindowState to false.
854            (JWindowPopup.show): Set size of window here.
855            (LightweightPopup): New inner class.
856            * javax/swing/PopupFactory.java
857            (getPopup): Return heavyweight or lightweight popup depending on
858            the parameters.
859            * javax/swing/plaf/basic/BasicMenuItemUI.java
860            (PropertyChangeHandler): Removed unneeded inner class.
861            (BasicMenuItemUI): Removed instantiation of PropertyChangeHandler.
862            (installListeners): Removed handling of the PropertyChangeHandler.
863            (uninstallListeners): Removed handling of the PropertyChangeHandler.
864            * javax/swing/plaf/basic/BasicMenuUI.java
865            (getMaximumSize): Don't treat popup menus different.
866    
867    2005-10-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
868    
869            * gnu/classpath/examples/CORBA/NamingService/Demo.java (main):
870            Make arguments not final.
871    
872    2005-10-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
873              
874            * org/omg/CORBA/IDLEntity.java: Deleted.  
875            * gnu/CORBA/primitiveTypeCode.java,
876            org/omg/CORBA/PolicyError.java,
877            org/omg/CORBA/TypeCodePackage/BadKind.java,
878            org/omg/CORBA/TypeCodePackage/Bounds.java:
879            Use org.omg.CORBA.portable.IDLEntity.
880    
881    2005-10-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
882    
883            * gnu/CORBA/interfaces/SocketFactory.java: New file.
884            * gnu/CORBA/interfaces/gnuSocketFactory.java: Deleted.
885            * gnu/CORBA/DefaultSocketFactory.java,
886            gnu/CORBA/Functional_ORB.java,
887            org/omg/CORBA/ORB.java: Replacing gnuSocketFactory into SocketFactory.
888    
889    2005-10-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
890    
891            * org/omg/CosNaming/BindingIteratorHelper.java,
892            org/omg/CosNaming/NamingContextExtHelper.java,
893            org/omg/CosNaming/NamingContextHelper.java,
894            org/omg/DynamicAny/DynAnyFactoryHelper.java,
895            org/omg/DynamicAny/DynAnyHelper.java,
896            org/omg/DynamicAny/DynArrayHelper.java,
897            org/omg/DynamicAny/DynEnumHelper.java,
898            org/omg/DynamicAny/DynFixedHelper.java,
899            org/omg/DynamicAny/DynSequenceHelper.java,
900            org/omg/DynamicAny/DynStructHelper.java,
901            org/omg/DynamicAny/DynUnionHelper.java,
902            org/omg/DynamicAny/DynValueHelper.java,
903            org/omg/IOP/CodecFactoryHelper.java,
904            org/omg/PortableInterceptor/CurrentHelper.java,
905            org/omg/PortableServer/ServantActivatorHelper.java,
906            org/omg/PortableServer/ServantLocatorHelper.java: Added
907            unchecked_narrow method.
908    
909    2005-10-25  Roman Kennke  <kennke@aicas.com>
910    
911            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
912            (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen):
913            Call gdk_window_get_root_origin instead of gdk_window_get_origin
914            so that the window decorations are correctly respected.
915    
916  2005-10-24  Tom Tromey  <tromey@redhat.com>  2005-10-24  Tom Tromey  <tromey@redhat.com>
917    
918          * javax/accessibility/AccessibleStateSet.java (states):          * javax/accessibility/AccessibleStateSet.java (states):
# Line 36  Line 951 
951          * java/awt/image/CropImageFilter.java (setProperties): Changed          * java/awt/image/CropImageFilter.java (setProperties): Changed
952          argument type.          argument type.
953    
954    2005-10-24  Tom Tromey  <tromey@redhat.com>
955    
956            * java/io/ObjectOutputStream.java (useProtocolVersion): Fixed typo
957            in javadoc.
958    
959    2005-10-24  Tom Tromey  <tromey@redhat.com>
960    
961            * java/lang/StringBuffer.java (appendCodePoint): Added @since.
962            * java/lang/StringBuilder.java (insert): New overloads.
963            (appendCodePoint): New method.
964    
965    2005-10-24  Dalibor Topic  <robilad@kaffe.org>
966    
967            * test/native/lib/PrimlibInterface.c,
968            * test/native/lib/PrimlibInterface.h,
969            * test/native/lib/PrimlibTest.java:
970            Removed unused test.
971    
972    2005-10-24  Dalibor Topic  <robilad@kaffe.org>
973    
974            * native/jni/classpath/primlib.c,
975            native/jni/classpath/primlib.h: Removed since unused.
976    
977            * native/jni/classpath/Makefile.am: (libclasspath_la_SOURCES)
978            Removed primlib.c and primlib.h.
979    
980    2005-10-24  David Gilbert  <david.gilbert@object-refinery.com>
981    
982            * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: New file.
983    
984    2005-10-24  David Gilbert  <david.gilbert@object-refinery.com>
985    
986            * javax/swing/plaf/basic/BasicScrollBarUI.java
987            (ModelListener.stateChanged): changed call to getThumbBounds() to
988            updateThumbRect(),
989            (PropertyChangeHandler.propertyChange): likewise, plus added handling
990            for 'enabled' property,
991            (getMaximumSize): return maximum dimension,
992            (getThumbBounds): just return field value,
993            (getTrackBounds): just return field value,
994            (installUI): switch order of calls to installDefaults() and
995            installComponents(),
996            (layoutHScrollBar): reimplemented using new updateThumbRect() method,
997            (layoutVScrollBar): likewise,
998            (updateThumbRect): new method,
999            * javax/swing/plaf/metal/MetalLookAndFeel.java
1000            (initComponentDefaults): added 'ScrollBar.width' default,
1001            * javax/swing/plaf/metal/MetalScrollBarUI.java
1002            (MIN_THUMB_SIZE): changed value,
1003            (MIN_THUMB_SIZE_FREE_STANDING): new field,
1004            (isFreeStanding): set default to true,
1005            (scrollBarShadowColor): new field,
1006            (installDefaults): initialise scrollBarShadowColor,
1007            (createDecreaseButton): retain reference in decreaseButton field,
1008            (createIncreaseButton): retain reference in increaseButton field,
1009            (paintTrackHorizontal): use scrollBarShadowColor, add special handling
1010            for free standing scroll bar in disabled state,
1011            (paintTrackVertical): likewise,
1012            (paintThumb): separate horizontal and vertical cases,
1013            (paintThumbHorizontal): new method,
1014            (paintThumbVertical): new method,
1015            (getMinimumThumbSize): return different size depending on whether or
1016            not the scroll bar is free standing,
1017            * javax/swing/plaf/metal/MetalScrollButton.java
1018            (paintNorthBorderFreeStanding): modified drawing.
1019    
1020    2005-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1021    
1022            * javax/imageio/metadata/IIOMetadataFormatImpl.java: Complete.
1023            * javax/imageio/metadata/IIOMetadataNode.java: Complete stubs.
1024            * javax/imageio/metadata/IIOAttr.java: Replace with
1025            IIOMetadataFormatImpl.IIOMetadataNodeAttr.  Remove file.
1026            * javax/imageio/metadata/IIONamedNodeMap.java: Replace with
1027            IIOMetadataNode.IIONamedNodeMap.  Remove file.
1028            * javax/imageio/metadata/IIONodeList.java: Replace with
1029            IIOMetadataNode.IIONodeList.  Remove file.
1030    
1031    2005-10-24  Tom Tromey  <tromey@redhat.com>
1032    
1033            * java/text/AttributedStringIterator.java (getRunLimit): Add
1034            explicit qualification.
1035            (getRunStart): Likewise.
1036    
1037    2005-10-24  David Gilbert  <david.gilbert@object-refinery.com>
1038    
1039            * java/text/AttributedString.java
1040            (AttributedString(AttributedCharacterIterator, int, int,
1041            AttributedCharacterIterator.Attribute[])): renamed arguments, and
1042            updated IllegalArgumentException check,
1043            (addAttribute(AttributedCharacterIterator.Attribute, Object, int,
1044            int)): likewise,
1045            (addAttributes(Map, int, int)): changed IllegalArgumentException to
1046            NullPointerException, and modified check for illegal range,
1047            * java/text/AttributedStringIterator.java
1048            (getRunLimit(Set)): reimplemented,
1049            (getRunStart): added API docs,
1050            (getRunStart(AttributedCharacterIterator.Attribute)): handle null
1051            argument as a special case,
1052            (getRunStart(Set)): reimplemented,
1053            (getAttribute(AttributedCharacterIterator.Attribute, int)): new
1054            private method,
1055            (getAttribute(AttributedCharacterIterator.Attribute)): reimplemented
1056            using new private method.
1057            * java/text/CharacterIterator.java: minor API doc fix.
1058    
1059    2005-10-24  Roman Kennke  <kennke@aicas.com>
1060    
1061            Fixes Bug #24359
1062            * javax/swing/BoxLayout.java:
1063            Made class thread safe.
1064    
1065    2005-10-23  Tom Tromey  <tromey@redhat.com>
1066    
1067            * java/util/InvalidPropertiesFormatException.java: New file.
1068    
1069    2005-10-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1070    
1071            * java/util/Properties.java
1072            (storeToXML(OutputStream,String,String)): Added null pointer checks.
1073            (loadFromXML(InputStream)): Implemented.
1074            (PropertiesHandler): New class to handle parsing events.
1075            (PropertiesHandler()): New constructor.
1076            (startDTD(String,String,String)): Implemented.
1077            (startElement(String,String,String,Attributes)): Implemented.
1078            (characters(char[],int,int)): Implemented.
1079            (endElement(String,String,String)): Implemented.
1080            (endDocument()): Implemented.
1081    
1082    2005-10-23  Guilhem Lavaux  <guilhem@kaffe.org>
1083    
1084            * java/lang/Thread.java
1085            (sleep): Better exception message.
1086    
1087            * java/security/AccessControlContext.java
1088            (checkPermission): Likewise.
1089    
1090            * java/util/ResourceBundle.java
1091            (getBundle): Likewise.
1092    
1093            * java/util/SimpleTimeZone.java
1094            (setStartRule): Added some documentation.
1095    
1096    2005-10-23  Guilhem Lavaux  <guilhem@kaffe.org>
1097    
1098            * configure.ac: Added support for "--with-native-libdir" and
1099            "--with-glibj-dir". Generate copy-vmresources.sh
1100    
1101            * lib/Makefile.am: Call copy-vmresources.sh to fetch possible vm
1102            resources from the vmdirs.
1103    
1104            * lib/copy-vmresources.sh.in: New script file.
1105    
1106            * lib/gen-classlist.sh.in: Include com/ as base package for the
1107            vm directories.
1108    
1109            * native/jawt/Makefile.am,
1110            native/jni/gtk-peer/Makefile.am,
1111            native/jni/java-io/Makefile.am,
1112            native/jni/java-lang/Makefile.am,
1113            native/jni/java-net/Makefile.am,
1114            native/jni/java-nio/Makefile.am,
1115            native/jni/java-util/Makefile.am,
1116            native/jni/midi-alsa/Makefile.am,
1117            native/jni/midi-dssi/Makefile.am,
1118            native/jni/qt-peer/Makefile.am,
1119            native/jni/xmlj/Makefile.am: Install libraries in nativelibdir
1120            and not pkglib.
1121    
1122    2005-10-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1123    
1124            PR classpath/22972
1125            * java/io/File (createTempFile): Rewritten.
1126    
1127    2005-10-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1128    
1129            * org/omg/IOP/RMICustomMaxStreamFormat.java,
1130            * org/omg/IOP/ExceptionDetailMessage.java: New files.
1131    
1132    2005-10-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1133    
1134            * gnu/CORBA/Interceptor/Registrator.java (m_prefix): Made static.
1135    
1136    2005-10-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1137    
1138            * gnu/javax/rmi/CORBA/gnuRmiUtil.java (readValue):
1139            Do not read fields of the ObjectImpl.
1140    
1141    2005-10-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1142    
1143            * org/omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT,
1144            * org/omg/PortableInterceptor/ACTIVE.java,
1145            * org/omg/PortableInterceptor/DISCARDING.java,
1146            * org/omg/PortableInterceptor/HOLDING.java,
1147            * org/omg/PortableInterceptor/INACTIVE.java,
1148            * org/omg/PortableInterceptor/NON_EXISTENT.java: New files.
1149    
1150    2005-10-22  Julian Scheid  <julian@sektor37.de>
1151    
1152            * java/util/Map.java (Entry.equals): Fixed invalid example code
1153            in documentation.
1154    
1155    2005-10-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1156    
1157            * org/omg/CORBA/ACTIVITY_COMPLETED.java,
1158            * org/omg/CORBA/ACTIVITY_REQUIRED.java,
1159            * org/omg/CORBA/BAD_QOS.java,
1160            * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
1161            * org/omg/CORBA/INVALID_ACTIVITY.java,
1162            * org/omg/CORBA/REBIND.java,
1163            * org/omg/CORBA/TIMEOUT.java,
1164            * org/omg/CORBA/TRANSACTION_MODE.java,
1165            * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java: New exceptions.
1166    
1167    2005-10-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1168    
1169            * javax/rmi/CORBA/ValueHandlerMultiFormat.java: New interface.
1170            * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java
1171            (getMaximumStreamFormatVersion, writeValue): New methods.
1172    
1173    2005-10-22  Mark Wielaard  <mark@klomp.org>
1174    
1175            * java/net/URLClassloader.java (addURLs): Add comment about jboss.
1176    
1177    2005-10-21  Lillian Angel  <langel@redhat.com>
1178    
1179            * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java
1180            (BasicCheckBoxMenuItem): Implemented.
1181            (installDefaults): Removed method, not in API.
1182            (processMouseEvent): Implemented.
1183            * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1184            (processMouseEvent): Implemented.
1185    
1186    2005-10-21  Christian Thalinger  <twisti@complang.tuwien.ac.at>
1187    
1188            * configure.ac: Also check for pangoft2 without cairo and
1189            additionally check for freetype2.
1190            * native/jni/gtk-peer/Makefile.am: Added X, pangoft2 and
1191            freetype2 CFLAGS and LDFLAGS.
1192    
1193    2005-10-21  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
1194    
1195            * vm/reference/java/lang/VMClassLoader.java
1196            (getResources): uses a new static field HashMap to
1197            store opened zip files from property java.boot.class.path.
1198    
1199    2005-10-21  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
1200    
1201            * vm/reference/java/lang/VMClassLoader.java
1202            (getRessources): In case the property java.boot.class.path
1203            contains directories, tests if the ressource exists before adding
1204            it to the vector result.
1205    
1206    2005-10-21  Lillian Angel  <langel@redhat.com>
1207    
1208            * javax/swing/plaf/basic/BasicRadioButtonUI.java
1209            (paint): Only paint focus if enabled.
1210    
1211    2005-10-21  David Daney  <ddaney@avtrex.com>
1212    
1213            * NEWS: Added entry about HttpURLConnection improvements.
1214    
1215    2005-10-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1216    
1217            * gnu/CORBA/DefaultSocketFactory.java,
1218            * gnu/CORBA/interfaces/gnuSocketFactory.java,
1219            * gnu/CORBA/interfaces/package.html: New files.
1220            * gnu/CORBA/Functional_ORB.java,
1221            * gnu/CORBA/Focused_ORB.java (getPortServer),
1222            * gnu/CORBA/GIOP/ErrorMessage.java (send),
1223            * gnu/CORBA/gnuRequest.java (submit): Rewritten to support
1224            gnu.Corba.SocketFactory property.
1225            * org/omg/CORBA/ORB.java: Documentation update.
1226    
1227    2005-10-21  Lillian Angel  <langel@redhat.com>
1228    
1229            * javax/swing/JPopupMenu.java
1230            (show): Fixed to set the size if it was never set.
1231            * javax/swing/plaf/basic/BasicMenuUI.java
1232            (menuDeselected): Added check to prevent NPE.
1233            * javax/swing/plaf/basic/BasicSeparatorUI.java:
1234            Removed minSize, horizontalPrefSize, verticalPrefSize and
1235            maxSize fields. They were causing problems when other classes
1236            were setting this variables to something else. More reliable if
1237            actual value is returned.
1238            (getPreferredSize): Returned appropriate values.
1239            (getMinimumSize): Likewise.
1240            (getMaximumSize): Likewise.    
1241    
1242    2005-10-21  Jeroen Frijters  <jeroen@frijters.net>
1243    
1244            * java/lang/reflect/Proxy.java
1245            (ProxyType.ProxyType): Don't replace null with system class loader.
1246            (ProxyType.hashCode): Handle null loader.
1247    
1248    2005-10-20  Anthony Balkissoon  <abalkiss@redhat.com>
1249    
1250            * javax/swing/DefaultListSelectionModel.java:
1251            (setLeadSelectionIndex): If the selection mode is SINGLE_SELECTION then
1252            pass this call to setSelectionInterval.
1253            (addSelectionInterval): If the selection mode is SINGLE_SELECTION then
1254            pass the call to setSelectionInterval and avoid the lengthy checks
1255            that don't apply to this mode.
1256            * javax/swing/JList.java:
1257            (getSelectedIndices): Changed bounds of for loop to include the
1258            maxSelectionIndex.
1259    
1260    2005-10-20  Lillian Angel  <langel@redhat.com>
1261    
1262            * examples/gnu/classpath/examples/swing/Demo.java
1263            (mkRadio): Changed to create a panel that contains
1264            2 buttons in a ButtonGroup.
1265            * javax/swing/ButtonGroup.java
1266            (add): Fixed to initialize sel if the newly added
1267            button is already selected.
1268            * javax/swing/JToggleButton.java
1269            (isSelected): Implemented.
1270            (setSelected): Implemented.
1271            * javax/swing/plaf/metal/MetalRadioButtonUI.java
1272            (paintFocus): Fixed size of border drawn around the
1273            radio button.
1274    
1275    2005-10-20  Anthony Balkissoon  <abalkiss@redhat.com>
1276    
1277            * java/awt/ScrollPaneAdjustable.java:
1278            (addAdjustmentListener): If parameter is null take no action and throw
1279            no exception.  Store the resulting listener chain from call to
1280            AWTEventMulticaster.add.
1281            (removeAdjustmentListener): If parameter is null take no action and
1282            throw no exception.  Store the resulting listener chain from call to
1283            AWTEventMulticaster.remove.
1284    
1285    2005-10-20  Anthony Balkissoon  <abalkiss@redhat.com>
1286    
1287            * javax/swing/LookAndFeel.java:
1288            (loadKeyBindings): Implemented and added docs.
1289            (makeComponentInputMap): Likewise.
1290            (makeInputMap): Likewise.
1291            (makeKeyBindings): Likewise.
1292            * javax/swing/plaf/basic/BasicListUI.java:
1293            (convertModifiers): Removed this no longer needed private method.
1294            (installKeyboardActions): Removed the code relating to modifier
1295            conversion and made code more readable by using local variables.
1296            * javax/swing/plaf/basic/BasicTableUI.java:
1297            (convertModifiers): Removed this no longer needed private method.
1298            (installKeyboardActions): Removed the code relating to modifier
1299            conversion and made code more readbale by using local variables.
1300    
1301    2005-10-20  Lillian Angel  <langel@redhat.com>
1302    
1303            * javax/swing/plaf/basic/BasicMenuItemUI.java:
1304            Added new ItemListener field.
1305            (BasicMenuItemUI): Initialized new field.
1306            (installListeners): Installed new listener.
1307            (removeListeners): Removed new listener.
1308            (MenuDragMouseHandler): Class should be private, not
1309            in API.
1310            (MenuKeyHandler): Likewise.
1311            (PropertyChangeHandler): Likewise.
1312            (ItemHandler): New class implemented to change the
1313            state of the menu item if it is a checkbox menu item.  
1314    
1315    2005-10-20  Roman Kennke  <kennke@aicas.com>
1316    
1317            * javax/swing/text/BoxView.java
1318            (layoutMinorAxis): Calculate total requirements before calling
1319            the SizeRequirements utility method. Avoids an NPE.
1320    
1321    2005-10-20  David Gilbert  <david.gilbert@object-refinery.com>
1322    
1323            * javax/swing/plaf/basic/BasicArrowButton.java: Updated API docs all
1324            over, plus:
1325            (defaultSize): removed field,
1326            (upIcon): removed field,
1327            (downIcon): removed field,
1328            (leftIcon): removed field,
1329            (rightIcon): removed field,
1330            (darkShadow): changed color value,
1331            (paint): ignore insets for triangle positioning, but check 'armed'
1332            state,
1333            (paintTriangle): delegate to new private methods depending on
1334            direction,
1335            (paintTriangleNorth): new private method,
1336            (paintTriangleSouth): new private method,
1337            (paintTriangleEast): new private method,
1338            (paintTriangleWest): new private method.
1339    
1340    2005-10-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1341    
1342            * org/ietf/jgss/GSSCredential.java (hashCode),
1343            * org/ietf/jgss/GSSName.java (hashCode): New declarations.
1344    
1345    2005-10-19  Mark Wielaard  <mark@klomp.org>
1346    
1347            * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
1348            call urls.add() and addURLImpl() directly on each URL.
1349    
1350    2005-10-19  Andreas Tobler  <a.tobler@schweiz.ch>
1351    
1352            * javax/swing/text/html/HTMLEditorKit.java: Add missing import.
1353    
1354    2005-10-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1355    
1356            * javax/swing/text/html/HTMLEditorKit.java (getParser): New method.
1357    
1358    2005-10-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
1359    
1360            * javax/swing/text/html/parser/ContentModel.java: Fixed comments for
1361            parameterless constructor.
1362    
1363    2005-10-19  Roman Kennke  <kennke@aicas.com>
1364    
1365            * javax/swing/JComponent.java
1366            (getDebugGraphicsOptions): Removed debug output.
1367    
1368    2005-10-19  Roman Kennke  <kennke@aicas.com>
1369    
1370            * java/awt/Component.java
1371            (isShowing): Fixed condition.
1372            (show): Only repaint if component is showing.
1373            (hide): Only repaint if component was showing.
1374    
1375    2005-10-19  Mark Wielaard  <mark@klomp.org>
1376    
1377            * javax/security/auth/login/LoginContext.java (lookupModule):
1378            Load LoginModule through Thread context class loader.
1379    
1380    2005-10-19  Mark Wielaard  <mark@klomp.org>
1381    
1382            * java/net/Socket.java (getImpl): Chain exception before throwing.
1383    
1384    2005-10-19  Roman Kennke  <kennke@aicas.com>
1385    
1386            * javax/swing/AbstractSpinnerModel.java
1387            * javax/swing/ActionMap.java
1388            * javax/swing/BoundedRangeModel.java
1389            * javax/swing/Box.java
1390            * javax/swing/BoxLayout.java
1391            * javax/swing/ButtonGroup.java
1392            * javax/swing/CellEditor.java
1393            * javax/swing/CellRendererPane.java
1394            * javax/swing/ComboBoxEditor.java
1395            * javax/swing/DefaultButtonModel.java
1396            * javax/swing/DefaultCellEditor.java
1397            * javax/swing/DefaultDesktopManager.java
1398            * javax/swing/DefaultListCellRenderer.java
1399            * javax/swing/DesktopManager.java
1400            * javax/swing/ImageIcon.java
1401            * javax/swing/InputVerifier.java
1402            * javax/swing/JCheckBoxMenuItem.java
1403            * javax/swing/JColorChooser.java
1404            * javax/swing/JDesktopPane.java
1405            * javax/swing/JFileChooser.java
1406            * javax/swing/JLayeredPane.java
1407            * javax/swing/JList.java
1408            * javax/swing/JMenu.java
1409            * javax/swing/JMenuBar.java
1410            * javax/swing/JMenuItem.java
1411            * javax/swing/JOptionPane.java
1412            * javax/swing/JPasswordField.java
1413            * javax/swing/JPopupMenu.java
1414            * javax/swing/JProgressBar.java
1415            * javax/swing/JRadioButtonMenuItem.java
1416            * javax/swing/JRootPane.java
1417            * javax/swing/JSeparator.java
1418            * javax/swing/JSlider.java
1419            * javax/swing/JSpinner.java
1420            * javax/swing/JSplitPane.java
1421            * javax/swing/JTabbedPane.java
1422            * javax/swing/JTable.java
1423            * javax/swing/JTextPane.java
1424            * javax/swing/JToolBar.java
1425            * javax/swing/JToolTip.java
1426            * javax/swing/JTree.java
1427            * javax/swing/KeyStroke.java
1428            * javax/swing/LookAndFeel.java
1429            * javax/swing/MutableComboBoxModel.java
1430            * javax/swing/Popup.java
1431            * javax/swing/PopupFactory.java
1432            * javax/swing/RepaintManager.java
1433            * javax/swing/SortingFocusTraversalPolicy.java
1434            * javax/swing/Spring.java
1435            * javax/swing/SwingUtilities.java
1436            * javax/swing/ToolTipManager.java
1437            * javax/swing/TransferHandler.java
1438            * javax/swing/ViewportLayout.java
1439            Reformatted slightly. Filled emtpy blocks with comments. Fixed some
1440            slight API doc errors. Removed some unneeded imports. Removed
1441            unneeded serialization methods.
1442    
1443    2005-10-19  Roman Kennke  <kennke@aicas.com>
1444    
1445            * javax/swing/OverlayLayout.java
1446            (checkLayout): Respect the container's insets correctly.
1447    
1448    2005-10-19  Roman Kennke  <kennke@aicas.com>
1449    
1450            * javax/swing/JLabel.java
1451            (setText): Call revalidate() and repaint().
1452    
1453    2005-10-19  Roman Kennke  <kennke@aicas.com>
1454    
1455            * javax/swing/JEditorPane.java
1456            Added comments to empty blocks.
1457            (read): Implemented this previously stubbed method.
1458    
1459    2005-10-19  Roman Kennke  <kennke@aicas.com>
1460    
1461            * javax/swing/JComboBox.java
1462            Added comments to empty blocks.
1463            (writeObject): Removed unnecessary serialization method.
1464            (processKeyEvent): Implemented this previously stubbed method.
1465    
1466    2005-10-19  Roman Kennke  <kennke@aicas.com>
1467    
1468            * javax/swing/JButton.java
1469            (removeNotify): Implemented this previously stubbed method.
1470    
1471    2005-10-19  Roman Kennke  <kennke@aicas.com>
1472    
1473            * javax/swing/undo/CannotRedoException.java
1474            * javax/swing/undo/CannotUndoException.java
1475            Put super() call in empty constructors.
1476    
1477    2005-10-19  Roman Kennke  <kennke@aicas.com>
1478    
1479            * javax/swing/tree/DefaultMutableTreeNode.java
1480            * javax/swing/tree/DefaultTreeCellEditor.java
1481            * javax/swing/tree/TreeCellRenderer.java
1482            * javax/swing/tree/TreeModel.java
1483            Reformatted slightly. Filled emtpy blocks with comments. Fixed some
1484            slight API doc errors. Removed some unneeded imports.
1485    
1486    2005-10-19  Roman Kennke  <kennke@aicas.com>
1487    
1488            * javax/swing/text/AbstractDocument.java
1489            * javax/swing/text/AttributeSet.java
1490            * javax/swing/text/ComponentView.java
1491            * javax/swing/text/DefaultCaret.java
1492            * javax/swing/text/DefaultEditorKit.java
1493            * javax/swing/text/DefaultHighlighter.java
1494            * javax/swing/text/EditorKit.java
1495            * javax/swing/text/FieldView.java
1496            * javax/swing/text/FlowView.java
1497            * javax/swing/text/GlyphView.java
1498            * javax/swing/text/JTextComponent.java
1499            * javax/swing/text/LayoutQueue.java
1500            * javax/swing/text/PlainView.java
1501            * javax/swing/text/Segment.java
1502            * javax/swing/text/StyledDocument.java
1503            * javax/swing/text/html/HTMLEditorKit.java
1504            * javax/swing/text/html/HTMLFrameHyperlinkEvent.java
1505            * javax/swing/text/html/parser/DocumentParser.java
1506            Reformatted slightly. Filled emtpy blocks with comments. Fixed some
1507            slight API doc errors. Removed some unneeded imports.
1508    
1509    2005-10-19  David Gilbert  <david.gilbert@object-refinery.com>
1510    
1511            * javax/swing/plaf/basic/BasicArrowButton.java
1512            (buttonBorder): removed,
1513            (BasicArrowButton): don't set border, use default border,
1514            * javax/swing/plaf/basic/BasicComboBoxUI.java
1515            (configureArrowButton): don't set margin here,
1516            (getPreferredSize): added comment,
1517            (getMinimumSize): icon width is the same as the display area height,
1518            (getDefaultSize): return size of space char plus 1 pixel margin,
1519            (getDisplaySize): take into account the prototype display value, if
1520            there is one,
1521            * javax/swing/plaf/basic/BasicLookAndFeel.java
1522            (initComponentDefaults): updated 'Button.margin' default,
1523            * javax/swing/plaf/metal/MetalComboBoxButton.java
1524            (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
1525            JList)): check for null JComboBox, don't set margin here,
1526            * javax/swing/plaf/metal/MetalComboBoxUI.java
1527            (createArrowButton): set margin,
1528            (getMinimumSize): reimplemented,
1529            * javax/swing/plaf/metal/MetalLookAndFeel.java
1530            (initComponentDefaults): changed 'Button.margin' default to from Insets
1531            to InsetsUIResource.
1532    
1533    2005-10-19  Roman Kennke  <kennke@aicas.com>
1534    
1535            * javax/swing/text/html/HTML.java
1536            * javax/swing/text/html/HTMLDocument.java
1537            Filled emtpy blocks with comments.
1538    
1539    2005-10-19  Roman Kennke  <kennke@aicas.com>
1540    
1541            * javax/swing/text/html/parser/ContentModel.java
1542            * javax/swing/text/html/parser/DTD.java
1543            * javax/swing/text/html/parser/DocumentParser.java
1544            * javax/swing/text/html/parser/Element.java
1545            * javax/swing/text/html/parser/Parser.java
1546            Filled emtpy blocks with comments.
1547    
1548    2005-10-19  Roman Kennke  <kennke@aicas.com>
1549    
1550            * javax/swing/table/TableColumnModel.java:
1551            Fixed some minor API doc errors.
1552    
1553    2005-10-19  Roman Kennke  <kennke@aicas.com>
1554    
1555            * javax/swing/plaf/ActionMapUIResource.java
1556            * javax/swing/plaf/BorderUIResource.java
1557            * javax/swing/plaf/ButtonUI.java
1558            * javax/swing/plaf/ColorChooserUI.java
1559            * javax/swing/plaf/ColorUIResource.java
1560            * javax/swing/plaf/ComboBoxUI.java
1561            * javax/swing/plaf/ComponentInputMapUIResource.java
1562            * javax/swing/plaf/DesktopIconUI.java
1563            * javax/swing/plaf/DesktopPaneUI.java
1564            * javax/swing/plaf/DimensionUIResource.java
1565            * javax/swing/plaf/FileChooserUI.java
1566            * javax/swing/plaf/FontUIResource.java
1567            * javax/swing/plaf/IconUIResource.java
1568            * javax/swing/plaf/InputMapUIResource.java
1569            * javax/swing/plaf/InsetsUIResource.java
1570            * javax/swing/plaf/InternalFrameUI.java
1571            * javax/swing/plaf/LabelUI.java
1572            * javax/swing/plaf/ListUI.java
1573            * javax/swing/plaf/MenuBarUI.java
1574            * javax/swing/plaf/MenuItemUI.java
1575            * javax/swing/plaf/PanelUI.java
1576            * javax/swing/plaf/PopupMenuUI.java
1577            * javax/swing/plaf/ProgressBarUI.java
1578            * javax/swing/plaf/RootPaneUI.java
1579            * javax/swing/plaf/ScrollBarUI.java
1580            * javax/swing/plaf/ScrollPaneUI.java
1581            * javax/swing/plaf/SeparatorUI.java
1582            * javax/swing/plaf/SliderUI.java
1583            * javax/swing/plaf/SpinnerUI.java
1584            * javax/swing/plaf/SplitPaneUI.java
1585            * javax/swing/plaf/TabbedPaneUI.java
1586            * javax/swing/plaf/TableHeaderUI.java
1587            * javax/swing/plaf/TableUI.java
1588            * javax/swing/plaf/TextUI.java
1589            * javax/swing/plaf/ToolBarUI.java
1590            * javax/swing/plaf/ToolTipUI.java
1591            * javax/swing/plaf/TreeUI.java
1592            * javax/swing/plaf/UIResource.java
1593            * javax/swing/plaf/ViewportUI.java
1594            Reformatted slightly. Filled emtpy blocks with comments.
1595    
1596    2005-10-19  Roman Kennke  <kennke@aicas.com>
1597    
1598            * javax/swing/plaf/ComponentUI.java
1599            Filled empty blocks with comments.
1600            (update): Reverted my patch from 2005-10-12. This is wrong. If there
1601            are still clipping problems, then certainly in another area.
1602    
1603    2005-10-19  Roman Kennke  <kennke@aicas.com>
1604    
1605            * javax/swing/plaf/multi/MultiLookAndFeel.java
1606            Filled empty block with comment.
1607    
1608    2005-10-19  Roman Kennke  <kennke@aicas.com>
1609    
1610            * javax/swing/plaf/metal/MetalBorders.java
1611            * javax/swing/plaf/metal/MetalButtonListener.java
1612            * javax/swing/plaf/metal/MetalComboBoxEditor.java
1613            * javax/swing/plaf/metal/MetalComboBoxUI.java
1614            * javax/swing/plaf/metal/MetalFileChooserUI.java
1615            * javax/swing/plaf/metal/MetalIconFactory.java
1616            * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
1617            * javax/swing/plaf/metal/MetalProgressBarUI.java
1618            * javax/swing/plaf/metal/MetalScrollBarUI.java
1619            * javax/swing/plaf/metal/MetalSliderUI.java
1620            * javax/swing/plaf/metal/MetalSplitPaneUI.java
1621            * javax/swing/plaf/metal/MetalTabbedPaneUI.java
1622            * javax/swing/plaf/metal/MetalTextFieldUI.java
1623            * javax/swing/plaf/metal/MetalToolBarUI.java
1624            * javax/swing/plaf/metal/MetalTreeUI.java
1625            * javax/swing/plaf/metal/MetalUtils.java:
1626            Reformatted slightly. Filled emtpy blocks with comments. Fixed some
1627            slight API doc errors. Removed some unneeded imports.
1628    
1629    2005-10-19  Roman Kennke  <kennke@aicas.com>
1630    
1631            * javax/swing/JComponent.java
1632            (getDebugGraphicsOptions): Fixed to load system property if present.
1633    
1634    2005-10-19  Roman Kennke  <kennke@aicas.com>
1635    
1636            * javax/swing/DebugGraphics.java
1637            (counter): New field.
1638            (color): Removed unneeded field.
1639            (DebugGraphics()): Count up.
1640            (DebugGraphics(Graphics,JComponent)): Call this(Graphics).
1641            (DebugGraphics(Graphics)): Call this().
1642            (setColor): Implemented logging facility.
1643            (create): Copy debugOptions over to new DebugGraphics instance.
1644            (create(int,int,int,int)): Likewise.
1645            (setFont): Implemented logging facility.
1646            (getColor): Return graphics.getColor().
1647            (translate): Implemented logging facility.
1648            (setPaintMode): Likewise.
1649            (setXORMode): Likewise.
1650            (clipRect): Likewise.
1651            (setClip(int,int,int,int)): Likewise.
1652            (setClip(Shape)): Likewise.
1653            (drawRect): Likewise. Only flash when FLASH_OPTION is set.
1654            (fillRect): Likewise.
1655            (clearRect): Implemented logging facility.
1656            (drawRoundRect): Likewise.
1657            (fillRoundRect): Likewise.
1658            (drawLine): Likewise.
1659            (draw3DRect): Likewise.
1660            (fill3DRect): Likewise.
1661            (drawOval): Likewise.
1662            (fillOval): Likewise.
1663            (drawArc): Likewise.
1664            (fillArc): Likewise.
1665            (drawPolyline): Likewise.
1666            (drawPolygon): Likewise.
1667            (fillPolygon): Likewise.
1668            (drawString(String,int,int)): Likewise.
1669            (drawString(AttributedCharacterIterator,int,int)): Likewise.
1670            (drawByted): Likewise.
1671            (drawChars): Likewise. Only flash if FLASH_OPTION is set.
1672            (drawImage): Implemented logging facility. (Also applies to all
1673            overloaded versions of this method).
1674            (copyArea): Likewise.
1675            (setDebugOptions): Likewise.
1676            (prefix): New helper method.
1677            * javax/swing/JComponent.java
1678            (getComponentGraphics): Implemented to return DebugGraphics when
1679            needed.
1680            (getDebugGraphicsOptions): Implemented to return the correct options.
1681            Also, this loads a system property gnu.javax.swing.DebugGraphics
1682            if present and evaluates it.
1683    
1684    2005-10-19  Lillian Angel  <langel@redhat.com>
1685    
1686            * javax/swing/JList.java
1687            (getAccessibleContext): Returned an instance of
1688            AccessibleJList. Should never return null.
1689    
1690    2005-10-19  Lillian Angel  <langel@redhat.com>
1691    
1692            * javax/swing/plaf/basic/BasicTreeUI.java:
1693            Added MouseListener and removed MouseInputListener.
1694            (BasicTreeUI): Initialized mouseListener and removed
1695            mouseInputListener.
1696            (removeListeners): Removed mouseListener and removed
1697            mouseInputListener code.
1698            (installListeners): Likewise.
1699            (MouseInputHandler.mousePressed): Moved code to MouseHandler.
1700            (MouseHandler.mousePressed): Likewise.
1701            * javax/swing/plaf/metal/MetalTreeUI.java:
1702            Added MouseListener and removed MouseInputListener.
1703            (installUI): Initialized mouseListener and removed
1704            mouseInputListener.    
1705            (uninstallUI): Removed mouseListener and removed
1706            mouseInputListener code.
1707    
1708    2005-10-19  Roman Kennke  <kennke@aicas.com>
1709    
1710            * javax/swing/plaf/basic/BasicBorders.java
1711            * javax/swing/plaf/basic/BasicButtonListener.java
1712            * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java
1713            * javax/swing/plaf/basic/BasicComboBoxEditor.java
1714            * javax/swing/plaf/basic/BasicComboBoxRenderer.java
1715            * javax/swing/plaf/basic/BasicDesktopIconUI.java
1716            * javax/swing/plaf/basic/BasicDesktopPaneUI.java
1717            * javax/swing/plaf/basic/BasicFileChooserUI.java
1718            * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java
1719            * javax/swing/plaf/basic/BasicGraphicsUtils.java
1720            * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
1721            * javax/swing/plaf/basic/BasicInternalFrameUI.java
1722            * javax/swing/plaf/basic/BasicLabelUI.java
1723            * javax/swing/plaf/basic/BasicListUI.java
1724            * javax/swing/plaf/basic/BasicMenuBarUI.java
1725            * javax/swing/plaf/basic/BasicMenuItemUI.java
1726            * javax/swing/plaf/basic/BasicMenuUI.java
1727            * javax/swing/plaf/basic/BasicOptionPaneUI.java
1728            * javax/swing/plaf/basic/BasicPasswordFieldUI.java
1729            * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1730            * javax/swing/plaf/basic/BasicRootPaneUI.java
1731            * javax/swing/plaf/basic/BasicScrollPaneUI.java
1732            * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1733            * javax/swing/plaf/basic/BasicSplitPaneUI.java
1734            * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1735            * javax/swing/plaf/basic/BasicTableHeaderUI.java
1736            * javax/swing/plaf/basic/BasicTableUI.java
1737            * javax/swing/plaf/basic/BasicTextAreaUI.java
1738            * javax/swing/plaf/basic/BasicTextUI.java
1739            * javax/swing/plaf/basic/BasicToolBarUI.java
1740            * javax/swing/plaf/basic/BasicToolTipUI.java
1741            * javax/swing/plaf/basic/BasicTreeUI.java
1742            * javax/swing/plaf/basic/BasicViewportUI.java:
1743            Reformatted slightly. Filled emtpy blocks with comments. Fixed some
1744            slight API doc errors.
1745    
1746    2005-10-18  Roman Kennke  <kennke@aicas.com>
1747    
1748            * javax/swing/filechooser/FileFilter.java:
1749            * javax/swing/filechooser/FileView.java:
1750            Filled empty blocks with comments.
1751    
1752    2005-10-18  Roman Kennke  <kennke@aicas.com>
1753    
1754            * javax/swing/event/EventListenerList.java:
1755            * javax/swing/event/InternalFrameAdapter.java:
1756            * javax/swing/event/MouseInputListener.java:
1757            Reformatted slightly. Filled emtpy blocks with comments. Fixed some
1758            slight API doc errors
1759    
1760    2005-10-18  Roman Kennke  <kennke@aicas.com>
1761    
1762            * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1763            * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1764            * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1765            Filled empty blocks with comments.
1766    
1767    2005-10-18  Roman Kennke  <kennke@aicas.com>
1768    
1769            * javax/swing/border/AbstractBorder.java:
1770            * javax/swing/border/BevelBorder.java:
1771            * javax/swing/border/Border.java:
1772            * javax/swing/border/CompoundBorder.java:
1773            * javax/swing/border/EmptyBorder.java:
1774            * javax/swing/border/EtchedBorder.java:
1775            * javax/swing/border/LineBorder.java:
1776            * javax/swing/border/MatteBorder.java:
1777            * javax/swing/border/SoftBevelBorder.java:
1778            * javax/swing/border/TitledBorder.java:
1779            Reformatted slightly. Filled emtpy blocks with comments. Fixed some
1780            slight API doc errors
1781    
1782    2005-10-18  Lillian Angel  <langel@redhat.com>
1783    
1784            * java/awt/GridBagLayout.java
1785            (GetLayoutInfo): Added a null check for lastComponent. Prevents
1786            NPE.
1787    
1788    2005-10-18  Lillian Angel  <langel@redhat.com>
1789    
1790            * javax/swing/JTable.java
1791            (JTable): Moved code around so all models are set before
1792            any other function is called. Prevents all NPEs with
1793            models.
1794    
1795    2005-10-18  Anthony Balkissoon  <abalkiss@redhat.com>
1796    
1797            * javax/swing/DefaultListSelectionModel.java:
1798            (setLeadSelectionIndex): Avoid index out of bounds error on initial
1799            call of this method by checking explicitly for oldLeadIndex being -1.
1800            Also remove unused BitSet newRange and oldRange.
1801            (moveLeadSelectionIndex): New API method implemented (@since 1.5).
1802            * javax/swing/plaf/basic/BasicListUI.java:
1803            (ListAction.actionPerformed): Make code more readable by declaring
1804            local variables for the actionCommand and for the list's
1805            selectionModel.  Implemented the following bindings:
1806            selectLastRowChangeLead, scrollDownChangeLead, scrollUpChangeLead,
1807            selectFirstRowChangeLead, selectNextRowChangeLead,
1808            selectPreviousRowChangeLead, addToSelection, toggleAndAnchor,
1809            extendTo.
1810            (MouseInputHandler.mousePressed): Made code more readable by removing
1811            unnecessary full qualification from variable 'list'.  Change
1812            behaviour of shift-click based on whether or not the anchor index is
1813            selected.
1814            * javax/swing/plaf/basic/BasicLookAndFeel.java:
1815            (initComponentDefaults): Added remaining bindings for
1816            Table.ancestorMap.
1817            * javax/swing/plaf/basic/BasicTableUI.java:
1818            (TableAction.actionPerformed): Made type of variables rowModel and
1819            colModel more specific to avoid many casts later on (makes code more
1820            readable).  Also declare local variable to store the action command to
1821            make the code more readable. Implemented the following bindings:
1822            selectNextRowChangeLead, selectPreviousRowChangeLead,
1823            selectNextColumnChangeLead, selectPreviousColumnChangeLead,
1824            addToSelection, extendTo, toggleAndAnchor.  Added commented-out debug
1825            statement to print unimplemented bindings when used.  Added check for
1826            the SPACE character to make sure it doesn't stop editing.
1827    
1828    2005-10-18  Lillian Angel  <langel@redhat.com>
1829    
1830            * javax/swing/plaf/basic/BasicTreeUI.java:
1831            Removed leafIcon field.
1832            (BasicTreeUI): Removed leafIcon initialization.
1833            (installDefaults): Icon defaults were wrong, fixed.
1834            (isLocationInExpandControl): Fixed to incorporated gap.
1835            (mousePressed): Fixed to include correct icon widths. Sometimes
1836            the labels icon is different from what the tree's default icon is
1837            set to. Added a check for this.
1838            (getCellBounds): No need to include gap here.
1839            (getCurrentControlIcon): Fixed to use expandedIcon and collapsedIcon.
1840            (paintRow): No need paint beyond preferred width of tree here.
1841            (updateCurrentVisiblePath): If nothing is selected, the root should
1842            be selected without focus.
1843            * javax/swing/plaf/metal/MetalTreeUI.java
1844            (installDefaults): Fixed defaults for the expanded/collapsed icons.
1845    
1846    2005-10-18  David Gilbert  <david.gilbert@object-refinery.com>
1847    
1848            * javax/swing/JComboBox.java
1849            (setModel): update the selectedItemReminder field,
1850            (selectedItemChanged): only send ItemEvent.SELECTED event if the new
1851            selection is non-null.
1852    
1853    2005-10-18  David Gilbert  <david.gilbert@object-refinery.com>
1854    
1855            * javax/swing/plaf/basic/BasicComboBoxUI.java
1856            (installComponents): only set default editor if the current editor is
1857            null or implements UIResource,
1858            (uninstallComponents): only clear editor if it implements UIResource.
1859    
1860    2005-10-18  Lillian Angel  <langel@redhat.com>
1861    
1862            * javax/swing/plaf/basic/BasicTextUI.java
1863            (installDefaults): Set the selected text color for the
1864            text component.
1865    
1866    2005-10-18  Lillian Angel  <langel@redhat.com>
1867    
1868            * javax/swing/JTree.java
1869            (scrollPathToVisible): Reimplemented to make the path visible if its
1870            parent is not expanded.
1871            * javax/swing/plaf/basic/BasicTreeUI.java
1872            (installDefaults): Initialized row height for the tree.
1873            (updateCurrentVisiblePath): Updated the visible row count.
1874            * javax/swing/plaf/metal/MetalTreeUI.java
1875            (installUI): Initialized row height for the tree.
1876    
1877    2005-10-18  David Gilbert  <david.gilbert@object-refinery.com>
1878    
1879            * javax/swing/plaf/metal/MetalComboBoxUI.java
1880            (editablePropertyChanged): handle null selected item.
1881    
1882    2005-10-18  Roman Kennke  <kennke@aicas.com>
1883    
1884            * javax/swing/plaf/basic/BasicScrollBarUI.java
1885            (PropertyChangeHandler.propertyChange): Removed repaint call.
1886    
1887    2005-10-18  Roman Kennke  <kennke@aicas.com>
1888    
1889            * javax/swing/AbstractButton.java
1890            Filled empty blocks with comments.
1891            (ButtonChangeListener.stateChanged): Moved implementation from
1892            inner class in createChangeListener to this protected class.
1893            (setEnabled): Do nothing if actual state does not change.
1894            (createChangeListener): Return instance of ButtonChangeListener
1895            here.
1896    
1897    2005-10-18  David Gilbert  <david.gilbert@object-refinery.com>
1898    
1899            * javax/swing/plaf/basic/BasicComboBoxUI.java
1900            (buttonBackground): new field,
1901            (shadow): renamed buttonShadow,
1902            (darkShadow): renamed buttonDarkShadow,
1903            (highlight): renamed buttonHighlight,
1904            (installDefaults): initialise buttonBackground, plus updates for
1905            renamed fields,
1906            (uninstallDefaults): clear buttonBackground, plus updates for renamed
1907            fields,
1908            (createEditor): return subclass that implements UIResource,
1909            (createArrowButton): use constructor that accepts colors,
1910            (getMaximumSize): fix API doc error,
1911            * javax/swing/plaf/basic/BasicLookAndFeel.java
1912            (initComponentDefaults): correct 'ComboBox.buttonDarkShadow' default.
1913    
1914    2005-10-18  Roman Kennke  <kennke@aicas.com>
1915    
1916            * javax/swing/JViewport.java
1917            (setView): Added repaint() call.
1918            (revalidate): Removed unnecessary and unspecified method.
1919            (reshape): Fire stateChanged if only the size changes. Do not fire
1920            stateChanged if only the location changes.
1921            (scrollRectToVisible): Reworked most of this method to correctly
1922            determine the scroll offsets. Added validation of view as specified.
1923    
1924    2005-10-18  Roman Kennke  <kennke@aicas.com>
1925    
1926            * javax/swing/ScrollPaneLayout.java
1927            (preferredLayoutSize): Removed check for JScrollPane argument.
1928            Added code to respect the insets of the JScrollPane.
1929            (minimumLayoutSize): Likewise.
1930            (layoutContainer): Removed check for JScrollPane argument.
1931    
1932    2005-10-18  Jeroen Frijters  <jeroen@frijters.net>
1933    
1934            * java/io/ObjectInputStream.java
1935            (parseContent): Removed bogus println and fixed bug #24422.
1936    
1937    2005-10-17  Lillian Angel  <langel@redhat.com>
1938    
1939            * javax/swing/plaf/basic/BasicSplitPaneUI.java
1940            (setDividerLocation): Added a check for the size
1941            of the splitpane, in some cases the divider's
1942            initial location was being set to 0.
1943    
1944    2005-10-17  Anthony Balkissoon  <abalkiss@redhat.com>
1945    
1946            * javax/swing/JViewport.java:
1947            (scrollRectToVisible): Return immediately if the View is null.  Check
1948            for contentRect being bigger than the port bounds separately in each
1949            direction, rather than together.
1950            * javax/swing/plaf/basic/BasicListUI.java:
1951            (KeyHandler): Removed this private class that listened directly for
1952            key presses.  This is now handled through InputMap-ActionMap pairs.
1953            (ActionListenerProxy): New class to wrap the Actions for this lists
1954            ActionMap.
1955            (ListAction): New class, the actions for keypresses on this list.
1956            (convertModifiers): New private method converts key press modifiers to
1957            the old style (CTRL_MASK instead of CTRL_DOWN_MASK, etc.).
1958            (installKeyboardActions): Get the InputMap from the UIManager and
1959            register new InputMap-ActionMap pairs, then set these as the parents
1960            of the list's InputMap and ActionMap.
1961            (selectNextIndex): Avoid NPE by checking if we're already at the last
1962            index.
1963            (selectPreviousIndex): Check if we're already at the first index.
1964            * javax/swing/plaf/basic/BasicLookAndFeel.java:
1965            (initComponentDefaults): Added bindings for List.focusInputMap.
1966    
1967    2005-10-17  Lillian Angel  <langel@redhat.com>
1968    
1969            * javax/swing/plaf/basic/BasicTreeUI.java
1970            (installUI): Moved call to installKeyboardActions and Listeners
1971            to before expansion of root.
1972            (paint): Added check to make sure the cached visible path is updated.
1973            (treeExpanded): Added call to update visible path.
1974            (treeCollapsed): Likewise.
1975            (treeNodesChanged): Likewise.
1976            (treeNodesInserted): Likewise.
1977            (treeNodesRemoved): Likewise.
1978            (treeStructureChanged): Likewise.
1979            (paintRecursive): Moved code to paintRow.
1980            (paintControlIcons): Fixed to paint custom control icons properly.
1981            (paintExpandControl): Removed unneeded parameter.
1982            (paintRow): Added code to paint the row with the correct width.
1983            * javax/swing/plaf/metal/MetalTreeUI.java
1984            (installUI): Moved code to expand the root after all the listeners
1985            have been initialized.
1986    
1987    2005-10-17  David Gilbert  <david.gilbert@object-refinery.com>
1988    
1989            * javax/swing/plaf/basic/BasicComboBoxUI.java
1990            (ItemHandler.itemStateChanged): if combo box is editable, update edit
1991            text field with new selection.
1992            
1993    2005-10-17  David Gilbert  <david.gilbert@object-refinery.com>
1994    
1995            * javax/swing/event/ListDataListener:
1996            reformatted and added API docs.
1997    
1998    2005-10-17  Roman Kennke  <kennke@aicas.com>
1999    
2000            * javax/swing/JPopupMenu.java
2001            (setVisible): Set size according to the size property instead of
2002            the preferredSize property.
2003            * javax/swing/plaf/basic/BasicComboPopup.java
2004            (ListMouseHandler.mouseReleased): Set comboBox selected index before
2005            closing the popup.
2006    
2007    2005-10-17  Roman Kennke  <kennke@aicas.com>
2008    
2009            * javax/swing/table/DefaultTableCellRenderer.java
2010            (getTableCellRendererComponent): Setup colors (more) correctly.
2011            * javax/swing/DefaultListSelectionModel.java
2012            (isSelectedIndex): Check for an illegal index argument.
2013    
2014    2005-10-17  Roman Kennke  <kennke@aicas.com>
2015    
2016            * javax/swing/JComponent.java
2017            Filled empty blocks with comments.
2018            (setVisible): Notify AncestorListeners when visibility state is
2019            changed.
2020            (removeNotifiy): Notify AncestorListeners via fireAncestorEvent
2021            method.
2022            (addNotifiy): Notify AncestorListeners via fireAncestorEvent
2023            method.
2024    
2025    2005-10-17  Roman Kennke  <kennke@aicas.com>
2026    
2027            * javax/swing/JViewport.java
2028            (setView): Removed unnecessary loop. We only have on component.
2029            (isOptimizedDrawingEnabled): Added comment explaining why this
2030            method is necessary.
2031    
2032    2005-10-17  Roman Kennke  <kennke@aicas.com>
2033    
2034            * javax/swing/plaf/basic/BasicComboBoxUI.java
2035            Filled empty blocks with comments.
2036            (FocusHandler.focusLost): Close popup when the combobox loses focus.
2037            * javax/swing/plaf/basic/BasicComboPopup.java
2038            Filled empty blocks with comments.
2039            (updateListBoxSelectionForEvent): Implemented partly.
2040            (ListMouseHandler.mouseReleased): Call updateListBoxSelectionForEvent.
2041            (ListMouseMotionHandler.mouseReleased): Likewise.
2042    
2043    2005-10-17  David Gilbert  <david.gilbert@object-refinery.com>
2044    
2045            * examples/gnu/classpath/examples/swing/ComboBoxDemo.java:
2046            (CustomCellRenderer): new inner class,
2047            (comboState6): new field,
2048            (combo11): new field,
2049            (combo12): new field,
2050            (createContent): add panel from createPanel6(),
2051            (createPanel6): new method,
2052            (actionPerformed): update state for new JComboBoxes,
2053            * javax/swing/plaf/basic/BasicComboBoxUI.java
2054            (installComponents): don't create arrowButton until after listBox is
2055            created, set listBox to the JList created by the popup,
2056            * javax/swing/plaf/metal/MetalComboBoxButton.java:
2057            (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
2058            JList)): set margins to zero,
2059            (paintComponent): use list cell renderer to paint button content,
2060            * javax/swing/plaf/metal/MetalLookAndFeel.java
2061            (initComponentDefaults): add 'List.font' default.
2062    
2063    2005-10-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2064    
2065            * java/util/Properties.java:
2066            (storeToXML(OutputStream,String)): Implemented.
2067            (storeToXml(OutputStream,String,String)): Likewise.
2068    
2069    2005-10-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2070    
2071            * gnu/CORBA/Focused_ORB.java: New file.
2072            * gnu/CORBA/Functional_ORB.java,
2073            org/omg/CORBA/ORB.java: Adapted to support the
2074            gnu.CORBA.ListenerPort property.
2075    
2076  2005-10-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>  2005-10-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2077    
2078          * java/awt/image/BufferedImage.java:          * java/awt/image/BufferedImage.java:
# Line 112  Line 2149 
2149          (defineAttributes(String,AttributeList)): Likewise.          (defineAttributes(String,AttributeList)): Likewise.
2150          (newElement(String)): Likewise.          (newElement(String)): Likewise.
2151    
2152    2005-10-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2153    
2154            * org/omg/CORBA/DynamicImplementation.java: Made concrete.
2155            (invoke): Implemented.
2156            gnu/CORBA/Simple_delegate.java (request): Implemented.
2157    
2158    2005-10-14  Lillian Angel  <langel@redhat.com>
2159    
2160            * javax/swing/plaf/basic/BasicTreeUI.java
2161            (treeNodesChanged): Added call to revalidate and resize tree.
2162            * javax/swing/tree/DefaultTreeModel.java
2163            (insertNodeInto): Needed to set parent for new node.
2164    
2165    2005-10-14  Robert Schuster  <robertschuster@fsfe.org>
2166    
2167            * java/net/URLStreamHandler.java:
2168            (toExternalForm): Use "//" + authority format when file part starts
2169            with two slashes.
2170    
2171    2005-10-14  Roman Kennke  <kennke@aicas.com>
2172    
2173            * javax/swing/JComponent.java
2174            (paintLock): Removed unneeded field.
2175            (isCompletelyDirty): New field.
2176            (setBorder): Don't get active if actual value didn't change.
2177            Otherwise trigger a repaint.
2178            (paint): Mark this component as clean after painting when the clip
2179            covered the whole component.
2180            (paintImmediately): Find more sensible paint root via new helper
2181            methods.
2182            (paintDoubleBuffered): Don't synchronize here.
2183            (setFont): Don't get active if actual value didn't change.
2184            Otherwise trigger a repaint and revalidate.
2185            (setBackground): Don't get active if actual value didn't change.
2186            Otherwise trigger a repaint.
2187            (setForeground): Don't get active if actual value didn't change.
2188            Otherwise trigger a repaint.
2189            (setUI): Trigger a repaint.
2190            (findPaintRoot): New helper method.
2191            (findOverlapFreeParent): New helper method.
2192            (findOpaqueParent): New helper method.
2193            * javax/swing/RepaintManager.java
2194            (ComponentComparator): New inner class. Used to sort components
2195            according to their depth in the containment hierarchy.
2196            (dirtyComponents): Use HashMap instead of Hashtable.
2197            (workDirtyComponents): New field.
2198            (repaintOrder): New field.
2199            (workRepaintOrder): New field.
2200            (comparator): New field.
2201            (invalidComponents): Use ArrayList instead of Vector.
2202            (workInvalidComponents): New field.
2203            (RepaintManager): Initialize new fields.
2204            (removeInvalidComponent): Adjusted for ArrayList.
2205            (addDirtyRegion): Return if component in question is not showing.
2206            Insert the new component in the repaintOrder list.
2207            (insertRepaintOrder): New method. Maintains a sorted list of
2208            components.
2209            (getDirtyRegion): Return empty Rectangle instead of null when
2210            component is not dirty, as specified.
2211            (markCompletelyDirty): Set flag in JComponent.
2212            (markCompletelyClean): Synchronize access to fields.
2213            (isCompletelyDirty): Use flag in JComponent to determine this
2214            property.
2215            (validateInvalidComponents): Use workInvalidComponents when
2216            revalidating. This avoids blocking of application threads
2217            in revalidate() calls.
2218            (paintDirtyRegion): Use work* fields when
2219            repainting. This avoids blocking of application threads
2220            in repaint() calls. Simplify actual work, now we simply call
2221            paintImmediatly() on the dirty components.
2222    
2223    2005-10-14  Lillian Angel  <langel@redhat.com>
2224    
2225            * javax/swing/LookAndFeel.java
2226            (makeIcon): Implemented.
2227            * javax/swing/plaf/basic/BasicTreeUI.java
2228            (updateCachedPreferredSize): Should only add with of control icon if
2229            not a leaf.
2230            (mousePressed): Fixed to use new gap field.
2231            (paintRecursive): Likewise.
2232            (paintRow): Likewise.
2233            (updateCurrentVisiblePath): Shouldn't include root if it is
2234            not of a valid size to be painted.
2235    
2236    2005-10-14  Roman Kennke  <kennke@aicas.com>
2237    
2238            * javax/swing/JLayeredPane.java
2239            (isOptimizedDrawingEnabled): New method.
2240    
2241    2005-10-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2242    
2243            * org/omg/CORBA/PolicyErrorHelper.java,
2244            org/omg/CORBA/PolicyErrorHolder.java,
2245            org/omg/CORBA/UnknownUserExceptionHelper.java,
2246            org/omg/CORBA/UnknownUserExceptionHolder.java,
2247            org/omg/CORBA/WrongTransactionHelper.java,
2248            org/omg/CORBA/WrongTransactionHolder.java: New files.
2249    
2250    2005-10-14  Anthony Balkissoon  <abalkiss@redhat.com>
2251    
2252            * javax/swing/text/PlainView.java:
2253            (nextTabStop): Tab size should be multiplied by the width of 'm', not
2254            added to it.
2255    
2256    2005-10-14  Anthony Balkissoon  <abalkiss@redhat.com>
2257    
2258            * javax/swing/text/PlainView.java:
2259            (getTabSize): Check the Document's properties for
2260            PlainDocument.tabSizeAttribute before defaulting to 8.
2261    
2262    2005-10-14  Anthony Balkissoon  <abalkiss@redhat.com>
2263    
2264            * javax/swing/text/BoxView.java:
2265            (preferenceChanged): New method (overrides method in View).  Set flag
2266            indicating that cached layout information is invalid, then call super
2267            implementation.
2268    
2269    2005-10-14  Anthony Balkissoon  <abalkiss@redhat.com>
2270    
2271            * javax/swing/text/CompositeView.java: Minor doc fixes.
2272            * javax/swing/text/BoxView.java: Minor doc fixes.
2273    
2274    2005-10-14  Lillian Angel  <langel@redhat.com>
2275    
2276            * javax/swing/JTree.java
2277            (getAccessibleContext): Fixed API docs, and returned the correct value.
2278            * javax/swing/plaf/basic/BasicTreeUI.java
2279            (updateCachedPreferredSize): Fixed parameter passed to isLeaf, node
2280            should be passed in and not a path.
2281    
2282    2005-10-14  Anthony Balkissoon  <abalkiss@redhat.com>
2283    
2284            * javax/swing/text/DefaultCaret.java:
2285            (ALWAYS_UPDATE): New field.
2286            (NEVER_UPDATE): New field.
2287            (UPDATE_WHEN_ON_EDIT): New field.
2288            (insertUpdate): Fixed docs.  Only update the dot if the policy is
2289            ALWAYS_UPDATE or if the policy is UPDATE_WHEN_ON_EDT and the event
2290            was generated on the Event Dispatch thread.
2291            (removeUpdate): Fixed docs.  Only update the dot if the policy is
2292            ALWAYS_UPDATE, if the policy is UPDATE_WHEN_ON_EDT and the event was
2293            generated on the Event Dispatch thread, or if the document length
2294            has become less than the current dot position.
2295            (setUpdatePolicy): New method.
2296            (getUpdatePolicy): New method.
2297            
2298    2005-10-14  Roman Kennke  <kennke@aicas.com>
2299    
2300            * javax/swing/BoxLayout.java
2301            (layoutContainer): Perform layout inside the container's treeLock.
2302            Respect the insets of the container.
2303    
2304    2005-10-14  Lillian Angel  <langel@redhat.com>
2305    
2306            * javax/swing/JTree.java
2307            (getAccessibleSelectionCount): Fixed API documentation.
2308            (getScrollableTracksViewportWidth): Was using height instead of
2309            width, fixed this.
2310            (getScrollableTracksViewportHeight): Likewise.
2311            * javax/swing/plaf/basic/BasicTreeUI.java
2312            (BasicTreeUI): Initialized validCachedPreferredSize.
2313            (updateCachedPreferredSize): Implemented.
2314            (pathWasExpanded): Implemented.
2315            (pathWasCollapsed): Implemented.
2316            (installDefaults): Fixed API documentation.
2317            (uninstallDefaults): Likewise.
2318            (setPreferredMinSize): Likewise.
2319            (getPreferredMinSize): Likewise.
2320            (getPreferredSize): Reimplemented to use updateCachedPreferredSize.
2321            (startEditing): set validCachedPreferredSize.
2322            (editingStopped): Likewise.
2323            (editingCanceled): Likewise.
2324            (treeExpanded): Likewise.
2325            (treeCollaped): Likewise.
2326            (treeNodesInserted): Likewise.
2327            (treeNodesRemoved): Likewise.
2328            (treeStructureChanged): Likewise.
2329            (getNextVisibleNode): Fixed API documentation.
2330            (getNextNode): Likewise.
2331            (getNextSibling): Likewise.
2332            (getPreviousSibling): Likewise.
2333            (getLevel): Likewise.
2334            (paintVerticalPartOfLeg): Likewise.
2335    
2336    2005-10-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2337    
2338            * org/omg/CORBA/PolicyErrorCodeHelper.java: New class.
2339    
2340    2005-10-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2341    
2342            * org/omg/CORBA/LocalObject.java (_get_interface, _invoke, _is_local,
2343            _orb, _releaseReply, _request, _servant_postinvoke, _servant_preinvoke,
2344            validate_connection): New methods.
2345    
2346    2005-10-14  Michael Koch  <konqueror@gmx.de>
2347    
2348            * native/jni/midi-alsa/.cvsignore,
2349            native/jni/midi-dssi/.cvsignore: New files
2350    
2351    2005-10-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
2352    
2353            * gnu/CORBA/ObjectCreator.java (forName):
2354            Use gnu.classpath.VMStackWalker.
2355            * gnu/CORBA/Interceptor/Registrator.java,
2356            gnu/CORBA/gnuValueHolder.java,
2357            gnu/CORBA/stubFinder.java,
2358            gnu/javax/rmi/CORBA/DelegateFactory.java,
2359            gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2360            org/omg/CORBA/ORB.java: Load class via ObjectCreator.
2361    
2362    2005-10-13  Anthony Balkissoon  <abalkiss@redhat.com>
2363    
2364            * javax/swing/text/PlainView.java:
2365            (updateDamage): Made this method protected, not package-private.
2366    
2367    2005-10-13  Roman Kennke  <kennke@aicas.com>
2368    
2369            * javax/swing/BoxLayout.java
2370            (xChildren): New field.
2371            (yChildren): New field.
2372            (xTotal): New field.
2373            (yTotal): New field.
2374            (offsetsX): New field.
2375            (offsetsY): New field.
2376            (spansX): New field.
2377            (spansY): New field.
2378            (preferredLayoutSize): Rewritted to use cached values if available.
2379            (minimumLayoutSize): Rewritted to use cached values if available.
2380            (maximumLayoutSize): Rewritted to use cached values if available.
2381            (layoutContainer): Rewritted to use cached values if available.
2382            (getAlignmentX): Implemented.
2383            (getAlignmentY): Implemented.
2384            (invalidateLayout): Clear the cache.
2385            (getSizeRequirements): Removed unneeded method. Replaced by
2386            checkRequirements().
2387            (checkTotalRequirements): New helper method.
2388            (checkRequirements): New helper method.
2389            (checkLayout): New helper method.
2390    
2391    2005-10-13  Roman Kennke  <kennke@aicas.com>
2392    
2393            * javax/swing/SizeRequirements.java
2394            (calculateAlignedPositions): Determine baseline using the total
2395            requirements argument.
2396            (adjustFromRight): Use float instead of int for baseline argument.
2397            Don't handle the <minimum case.
2398            (adjustFromLeft): Likewise.
2399    
2400    2005-10-13  Lillian Angel  <langel@redhat.com>
2401    
2402            * javax/swing/plaf/basic/BasicTreeUI.java:
2403            Added leafIcon field.
2404            (BasicTreeUI): Initialized leafIcon field.
2405            (installDefaults): Fixed icon defaults.
2406            (getPreferredSize): Fixed up code slightly.
2407            (startEditing): Called revalidate because size of
2408            view may change.
2409            (EditingStopped): Likewise.
2410            (EditingCanceled): Likewise.
2411            (mousePressed): Fixed up icon sizes.
2412            (paintRecursive): Fixed up width painted.
2413            * javax/swing/plaf/metal/MetalTreeUI.java
2414            (installDefaults): Fixed icon defaults.
2415    
2416    2005-10-13  Anthony Balkissoon  <abalkiss@redhat.com>
2417    
2418            * javax/swing/plaf/basic/BasicTableHeaderUI.java:
2419            (paint): Reset the clip of the Graphics object after each iteration.
2420    
2421    2005-10-13  Anthony Balkissoon  <abalkiss@redhat.com>
2422    
2423            * javax/swing/plaf/basic/BasicTableUI.java:
2424            (installDefaults): Initialize rendererPane.
2425            (paintCell): New method to paint an individual cell using a
2426            CellRendererPane, taking borders and highlighting into account.
2427            (paint): Removed direct painting code, let paintCell handle this.
2428    
2429    2005-10-13  Roman Kennke  <kennke@aicas.com>
2430    
2431            * javax/swing/ScrollPaneLayout.java
2432            (preferredLayoutSize): Added some more null checks to avoid NPEs.
2433            (minimumLayoutSize): Added some more null checks to avoid NPEs.
2434    
2435    2005-10-13  Jan Roehrich  <jan@roehrich.info>
2436    
2437            * javax/swing/plaf/basic/BasicTreeUI.java
2438            (installUI): Fixed setting of local JTree reference
2439    
2440    2005-10-13  Lillian Angel  <langel@redhat.com>
2441    
2442            * javax/swing/plaf/basic/BasicTreeUI.java
2443            (getPreferredSize): Added check to prevent NPE.
2444            (mousePressed): Likewise.
2445            (paintRecursive): Likewise.
2446            (paintExpandedControlIcons): Likewise.
2447            (paintRow): Fixed painting location of textarea.
2448    
2449    2005-10-13  Anthony Balkissoon  <abalkiss@redhat.com>
2450    
2451            * javax/swing/text/PlainView.java:
2452            (updateDamage): Repaint the container if a new line is added.
2453    
2454    2005-10-13  Lillian Angel  <langel@redhat.com>
2455    
2456            * javax/swing/plaf/basic/BasicTreeUI.java
2457            (getPathForRow): Added check to prevent NPE.
2458            (getRowCount): Likewise.
2459            (getRowForPath): Likewise.
2460            (getPreferredSize): Adjusted width depending on x location and
2461            icon.
2462            (paintRecursive): Likewise.
2463            (getPreviousNode): Added check to prevent NPE.
2464            (getNextVisibleNode): Likewise.
2465    
2466    2005-10-13  Roman Kennke  <kennke@aicas.com>
2467    
2468            * javax/swing/text/PlainView.java
2469            (lineBuffer): New field used as buffer to fetch text from a
2470            document.
2471            (getLineBuffer): New method, provides access to the new field
2472            above.
2473            (modelToView): Use new lineBuffer.
2474            (drawSelectedText): Likewise.
2475            (drawUnselectedText): Likewise.
2476            (determineMaxLineLength): Likewise.
2477            (viewToModel): Likewise.
2478            (updateDamage): Likewise.
2479    
2480    2005-10-13  Roman Kennke  <kennke@aicas.com>
2481    
2482            * javax/swing/text/JTextComponent.java
2483            (replaceSelection): Removed debug statement.
2484            * javax/swing/text/PlainView.java
2485            (updateDamage): Removed unnecessary repaint call.
2486            (damageLineRange): Trigger repaint over the whole width of the
2487            text component at the requested line range. Otherwise we might
2488            not clear deleted text.
2489            * javax/swing/plaf/basic/BasicTextUI.java
2490            (DocumentHandler.changedUpdate): Use visibleEditorRect as
2491            initial allocation.
2492            (DocumentHandler.removeUpdate): Use visibleEditorRect as
2493            initial allocation.
2494            (DocumentHandler.insertUpdate): Use visibleEditorRect as
2495            initial allocation.
2496            (getVisibleEditorRect): If component width and height values are
2497            invalid (==uninitialized), return a Rectangle of (0,0,0,0) instead
2498            of null.
2499    
2500    2005-10-13  David Gilbert  <david.gilbert@object-refinery.com>
2501    
2502            * javax/swing/plaf/metal/MetalFileChooserUI.java
2503            (DirectoryComboBoxAction): new inner class,
2504            (FileRenderer): new inner class,
2505            (directoryModel): new private field.
2506    
2507    2005-10-13  David Gilbert  <david.gilbert@object-refinery.com>
2508    
2509            * javax/swing/plaf/metal/MetalLookAndFeel.java
2510            (initComponentDefaults): added default value for
2511            'List.focusCellHighlightBorder'.
2512    
2513  2005-10-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>  2005-10-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2514    
2515          * java/awt/datatransfer/DataFlavor.java:          * java/awt/datatransfer/DataFlavor.java:
# Line 183  Line 2581 
2581          * vm/reference/java/lang/reflect/Method.java:          * vm/reference/java/lang/reflect/Method.java:
2582          (getTypeParameters()): Corrected return type.          (getTypeParameters()): Corrected return type.
2583    
2584    2005-10-12  Lillian Angel  <langel@redhat.com>
2585    
2586            * javax/swing/UIDefaults.java
2587            (getUIClass): Fixed to use the system class loader if
2588            the loader is null.
2589    
2590    2005-10-12  David Daney  <ddaney@avtrex.com>
2591    
2592            PR classpath/24259
2593            * gnu/java/net/LineInputStream.java: Import BufferedInputStream.
2594            (Constructor): Don't do blockReads on BufferedInputStreams.
2595            (readLine): Rename MIN_LENGTH to MAX_LENGTH.  Limit buffer size to
2596            MAX_LENGTH.
2597    
2598    2005-10-12  Anthony Balkissoon  <abalkiss@redhat.com>
2599    
2600            * javax/swing/JTable.java: Fixed some API docs and unused imports.
2601            
2602    2005-10-12  Roman Kennke  <kennke@aicas.com>
2603    
2604            * javax/swing/JComponent.java
2605            (paintImmediately): Find the paint root more cleverly, instead of
2606            going up to the root.
2607            (findPaintRoot): New helper method.
2608            (findOverlapFreeParent): New helper method.
2609            (findOpaqueParent): New helper method.
2610            * javax/swing/RepaintManager.java
2611            (addDirtyRegion): Collapse overlapping dirty regions into single
2612            regions.
2613            (paintDirtyRegions): Simple iterator over dirty regions and
2614            paint them. The optimizations are done in JComponent and
2615            addDirtyRegion.
2616    
2617    2005-10-12  Roman Kennke  <kennke@aicas.com>
2618    
2619            * javax/swing/ScrollPaneLayout.java
2620            (minimumLayoutSize): Added checks to avoid NPEs.
2621    
2622    2005-10-12  David Daney  <ddaney@avtrex.com>
2623    
2624            PR classpath/24086, PR classpath/24091, PR classpath/24104
2625            * gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java: Removed.
2626            * gnu/java/net/protocol/http/ResponseBodyReader.java: Removed.
2627            * gnu/java/net/protocol/http/event/ConnectionEvent.java: Removed.
2628            * gnu/java/net/protocol/http/event/ConnectionListener.java: Removed.
2629            * gnu/java/net/protocol/http/event/RequestEvent.java: Removed.
2630            * gnu/java/net/protocol/http/event/RequestListener.java: Removed.
2631            * gnu/java/net/protocol/http/event/package.html: Removed.
2632            * gnu/java/net/protocol/http/HTTPConnection.java: Cleaned up imports.
2633            (connectionListeners): Removed.
2634            (requestListeners): Removed.
2635            (pool): New field.
2636            (Constructor): Don't initialize connectionListeners or
2637            requestListeners.
2638            (useCount): New field.
2639            (getPoolKey): New method.
2640            (setPool): New method.
2641            (release): New method.
2642            (newRequest): Don't call fireRequestEvent. Use StringBuilder instead
2643            of StringBuffer.
2644            (close): Don't call fireConnectionEvent.
2645            (getURI):Use StringBuilder instead of StringBuffer.
2646            (addConnectionListener): Removed.
2647            (removeConnectionListener): Removed.
2648            (fireConnectionEvent): Removed.
2649            (addRequestListener): Removed.
2650            (removeRequestListener): Removed.
2651            (fireRequestEvent): Removed.
2652            * gnu/java/net/protocol/http/HTTPURLConnection.java:Cleaned up imports.
2653            (connectionPool): Changed type to LinkedHashMap.
2654            (maxConnections): Made static.
2655            (responseSink): Changed type to InputStream.
2656            (errorSink): Likewise.
2657            (connect): Eliminate reader.  Get responseSink from response.
2658            (getConnection): Rewrote.
2659            (getHeaderFields): Use null as key for status line.  Return
2660            unmodifiable Map.
2661            * gnu/java/net/protocol/http/Headers.java: Extend LinkedHashMap,
2662            instead of implement Map.
2663            (headers): Removed.
2664            (Constructor): Do not initialize headers.
2665            (size): Removed.
2666            (isEmpth): Removed.
2667            (containsKey): Rewrote.
2668            (containsValue): Removed.
2669            (get): Call super.get().
2670            (getValue): Likewise.
2671            (getLongValue): New method.
2672            (put): Call super.put().
2673            (remove): Call super.remove().
2674            (putAll): Rewrote.
2675            (clear): Removed.
2676            (keySet): Call super.keySet().
2677            (values): Removed.
2678            (entrySet): Call super.entrySet().
2679            (equals): Removed.
2680            (hashCode): Removed.
2681            (parse): Use StringBuilder instead of StringBuffer.
2682            (addValue): Call super.* instead of headers.*.
2683            * gnu/java/net/protocol/http/LimitedLengthInputStream.java: New class.
2684            * gnu/java/net/protocol/http/Request.java: Cleaned up imports.
2685            (responseBodyReader): Removed.
2686            (setResponseBodyReader): Removed.
2687            (dispatch): Don't create LineInputStream.  Don't call fireRequestEvent.
2688            Don't append CRLF to Request body.  Handle unsolicited 100 Continue
2689            response.
2690            (readResponse): Rewrote.
2691            (readResponseBody): Renamed to ...
2692            (createResponseBodyStream): ... And rewritten.
2693            (parseAuthParams): Use StringBuilder instead of StringBuffer.
2694            (getNonceCount): Likewise.
2695            (handleSetCookie): Likewise.
2696            * gnu/java/net/protocol/http/Response.java: Cleaned up imports.
2697            (codeClass): Removed.
2698            (body): New field.
2699            (Constructor): Don't initialize codeClass.  Initialize body.
2700            (getCodeClass): Rewrote.
2701            (getLongHeader): New method.
2702            (getBody): New method.
2703            * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Use
2704            StringBuilder instead of StringBuffer.
2705            * gnu/java/net/protocol/http/Cookie.java (toString): Use StringBuilder
2706            instead of StringBuffer.
2707    
2708    2005-10-12  Roman Kennke  <kennke@aicas.com>
2709    
2710            * javax/swing/plaf/basic/BasicFileChooserUI.java
2711            (getFileView): Don't call back into the JFileChooser, avoids
2712            a StackOverflow.
2713            (getApproveButtonText): Likewise.
2714    
2715    2005-10-12  Mark Wielaard  <mark@klomp.org>
2716    
2717            Fixes bug #22841
2718            * java/io/ObjectInputStream (validators): Removed field.
2719            (isDeserializing): Removed field.
2720            (currentObjectValidators): New field.
2721            (ObjectInputStream): Remove validators and isDeserializing
2722            initialization.
2723            (readObject): Remove isDeserializing logic. Don't call
2724            invokeValidators() here.
2725            (parseContent): Call invokeValidators() after TC_OBJECT done.
2726            (registerValidation): Create currentObjectValidators if needed.
2727            (invokeValidators): Rewritten.
2728    
2729    2005-10-12  Roman Kennke  <kennke@aicas.com>
2730    
2731            * javax/swing/CellRendererPane.java
2732            (paintComponent): Fix clipping of cells.
2733            * javax/swing/plaf/basic/BasicTableUI.java
2734            (paint): Fix clipping of cells.
2735    
2736    2005-10-12  Anthony Balkissoon  <abalkiss@redhat.com>
2737    
2738            * javax/swing/text/AbstractDocument.java:
2739            (insertString): Don't include an ElementChange if no children were
2740            added.
2741            (remove): Don't include an ElementChange if no children were removed.
2742    
2743    2005-10-12  Anthony Balkissoon  <abalkiss@redhat.com>
2744    
2745            * javax/swing/text/PlainView.java:
2746            (insertOrRemoveUpdate): Renamed this method to udpateDamage because
2747            changedUpdate calls it as well.
2748            (updateDamage): This method used to be named insertOrRemoveDamage.
2749            Changes are: If no children were added or removed, repaint only the
2750            area containing the line that was changed.  Also, if children were
2751            added or removed, call repaint on the entire container. Also fixed a
2752            serious logic error in the bounds for Document.getText().
2753            (insertUpdate): Changed call from insertOrRemoveUpdate to updateDamage
2754            and removed repaint call (this is done in updateDamage).
2755            (removeUpdate): Likewise.
2756            (changedUpdate): Implemented.
2757            (damageLineRange): Implemented.
2758    
2759    2005-10-12  Lillian Angel  <langel@redhat.com>
2760    
2761            * javax/swing/plaf/basic/BasicTreeUI.java
2762            (treeExpanded): Added revalidate call.
2763            (treeCollapsed): Likewise.
2764            (treeNodesInserted): Likewise.
2765            (treeNodesRemoved): Likewise.
2766            (treeStructureChanged): Likewise.
2767    
2768    2005-10-12  David Gilbert  <david.gilbert@object-refinery.com>
2769    
2770            * javax/swing/plaf/metal/MetalLookAndFeel.java
2771            (initComponentDefaults): added defaults for FileView.
2772    
2773    2005-10-12  Roman Kennke  <kennke@aicas.com>
2774    
2775            * javax/swing/JViewport.java
2776            (sizeChanged): A new flag, indicating when the size of the
2777            viewport has changed relative to the last painting operation.
2778            (reshape): Set sizeChanged flag if size has changed.
2779            (paintBackingStore): Only create new backingstore image when
2780            the size has changed.
2781    
2782    2005-10-12  Roman Kennke  <kennke@aicas.com>
2783    
2784            * java/awt/Component.java
2785            (reshape): Fixed calculation of newBounds and oldBounds to create
2786            rectangles relative to the parent, and not to the parent's parent.
2787            Solves a painting problem in an app here.
2788    
2789    2005-10-12  Roman Kennke  <kennke@aicas.com>
2790    
2791            * javax/swing/plaf/ComponentUI.java
2792            (update): Only fill the current clip. This solves a problem with
2793            components in JViewport and should also optimize drawing a little.
2794    
2795    2005-10-12  Roman Kennke  <kennke@aicas.com>
2796    
2797            * javax/swing/ScrollPaneLayout.java
2798            (preferredLayoutSize): Reworked. The old impl used to actually
2799            modify the layout, which is not allowed.
2800            (minimumLayoutSize): Reworked. The old impl used to actually
2801            modify the layout, which is not allowed.
2802            (layoutContainer): Reworked. The old impl did not properly determine
2803            when the scrollbars should be visible and when not.
2804    
2805    2005-10-12  David Gilbert  <david.gilbert@object-refinery.com>
2806    
2807            * javax/swing/plaf/metal/MetalIconFactory.java
2808            (FileIcon16.getIconHeight): add result of getAdditionalHeight(),
2809            (FolderIcon16.getIconHeight): add result of getAdditionalHeight(),
2810            (checkBoxIcon): new private field,
2811            (checkBoxMenuItemIcon): likewise,
2812            (fileChooserDetailViewIcon): likewise,
2813            (fileChooserHomeFolderIcon): likewise,
2814            (fileChooserListViewIcon): likewise,
2815            (fileChooserNewFolderIcon): likewise,
2816            (fileChooserUpFolderIcon): likewise,
2817            (radioButtonMenuItemIcon): likewise,
2818            (internalFrameDefaultMenuIcon): likewise,
2819            (treeComputerIcon): likewise,
2820            (treeFloppyDriveIcon): likewise,
2821            (treeHardDriveIcon): likewise,
2822            (getCheckBoxIcon): return single instance,
2823            (getCheckBoxMenuItemIcon): likewise,
2824            (getFileChooserDetailViewIcon): likewise,
2825            (getFileChooserHomeFolderIcon): likewise,
2826            (getFileChooserListViewIcon): likewise,
2827            (getFileChooserNewFolderIcon): likewise,
2828            (getFileChooserUpFolderIcon): likewise,
2829            (getRadioButtonMenuItemIcon): likewise,
2830            (getInternalFrameDefaultMenuIcon): likewise,
2831            (getTreeComputerIcon): likewise,
2832            (getTreeFloppyDriveIcon): likewise,
2833            (getTreeHardDriveIcon): likewise.
2834    
2835    2005-10-12  Roman Kennke  <kennke@aicas.com>
2836    
2837            * javax/swing/AbstractButton.java
2838            (AbstractButton): Set button to be opaque.
2839    
2840    2005-10-12  Roman Kennke  <kennke@aicas.com>
2841    
2842            * javax/swing/JList.java
2843            (locationToIndex): Put opening brace on next line.
2844            (indexToLocation): Call UI's indexToLocation.
2845            (getCellBounds): Replaced cast with getUI() call.
2846    
2847    2005-10-12  Roman Kennke  <kennke@aicas.com>
2848    
2849            * javax/swing/JFileChooser.java
2850            (getDialogTitle): If no dialog title has been set, forward this
2851            call to the UI.
2852            (getApproveButtonText): If no text has been set, forward this
2853            call to the UI.
2854            (getFileView): If no file view has been set, forward this call
2855            to the UI.
2856            (getInternalFileView): Removed unneeded method.
2857            (getName): Call getFileView instead of getInternalFileView.
2858            (getDescription): Call getFileView instead of getInternalFileView.
2859            (getTypeDescription): Call getFileView instead of
2860            getInternalFileView.
2861            (getIcon): Call getFileView instead of getInternalFileView.
2862    
2863    2005-10-12  Roman Kennke  <kennke@aicas.com>
2864    
2865            * javax/swing/JComponent.java
2866            (setFont): Only get active if the new font differs from the old one.
2867            Call revalidate when font changes.
2868            (setUI): Call revalidate when UI changes.
2869    
2870    2005-10-12  Roman Kennke  <kennke@aicas.com>
2871    
2872            * javax/swing/JComboBox.java
2873            (isFocusTraversable): Removed unneeded and unspecified method.
2874    
2875    2005-10-12  Roman Kennke  <kennke@aicas.com>
2876    
2877            * javax/swing/JViewport.java
2878            (ViewListener.componentResized): Only call revalidate instead of
2879            going through weird reverting code.
2880            (JViewport): First call updateUI, then set layout.
2881            (setViewPosition): Don't do anything if there is no real
2882            change.
2883            (setView): Don't remove the old component. This is handled by
2884            addImpl. Call revalidate().
2885            * javax/swing/ViewportLayout.java
2886            (layoutContainer): Preferably set view size to it's preferredSize
2887            instead of its minimumSize.
2888    
2889    2005-10-12  Roman Kennke  <kennke@aicas.com>
2890    
2891            * javax/swing/text/JTextComponent.java
2892            (getToolTipText): New method.
2893    
2894    2005-10-12  Roman Kennke  <kennke@aicas.com>
2895    
2896            * javax/swing/plaf/metal/MetalLookAndFeel.java
2897            (initComponentDefaults): Fixed value for
2898            Table.focusCellHighlightBorder.
2899    
2900    2005-10-12  Roman Kennke  <kennke@aicas.com>
2901    
2902            * javax/swing/plaf/basic/BasicButtonUI.java
2903            (installDefaults): Use new LookAndFeel install* methods. Use
2904            UIManager.get* methods instead of UIManager.getDefaults().get*
2905            methods.
2906            * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java
2907            (installDefaults): Use UIManager.get* methods instead of
2908            UIManager.getDefaults().get* methods.
2909            * javax/swing/plaf/basic/BasicColorChooserUI.java
2910            (installDefaults): Use new LookAndFeel install* methods.
2911            * javax/swing/plaf/basic/BasicComboBoxUI.java
2912            (installDefaults): Use new LookAndFeel install* methods. Use
2913            UIManager.get* methods instead of UIManager.getDefaults().get*
2914            methods.
2915            * javax/swing/plaf/basic/BasicDesktopPaneUI.java
2916            (installDefaults): Only install background color, if installed
2917            color is null or an UIResource instance.
2918            * javax/swing/plaf/basic/BasicInternalFrameUI.java
2919            (installDefaults): Use new LookAndFeel install* methods.
2920            * javax/swing/plaf/basic/BasicLabelUI.java
2921            (installDefaults): Use new LookAndFeel install* methods.
2922            * javax/swing/plaf/basic/BasicListUI.java
2923            (installDefaults): Use new LookAndFeel install* methods. Use
2924            UIManager.get* methods instead of UIManager.getDefaults().get*
2925            methods.
2926            * javax/swing/plaf/basic/BasicLookAndFeel.java
2927            (initComponentDefaults): Added default for List.font.
2928            * javax/swing/plaf/basic/BasicMenuBarUI.java
2929            (installDefaults): Use new LookAndFeel install* methods.
2930            * javax/swing/plaf/basic/BasicMenuItemUI.java
2931            (installDefaults): Use new LookAndFeel install* methods. Use
2932            UIManager.get* methods instead of UIManager.getDefaults().get*
2933            methods.
2934            * javax/swing/plaf/basic/BasicMenuUI.java
2935            (installDefaults): Use new LookAndFeel install* methods. Use
2936            UIManager.get* methods instead of UIManager.getDefaults().get*
2937            methods.
2938            * javax/swing/plaf/basic/BasicOptionPaneUI.java
2939            (installDefaults): Use new LookAndFeel install* methods. Use
2940            UIManager.get* methods instead of UIManager.getDefaults().get*
2941            methods.
2942            * javax/swing/plaf/basic/BasicPanelUI.java
2943            (installDefaults): Use new LookAndFeel install* methods.
2944            * javax/swing/plaf/basic/BasicPopupMenuUI.java
2945            (installDefaults): Use new LookAndFeel install* methods.
2946            * javax/swing/plaf/basic/BasicProgressBarUI.java
2947            (installDefaults): Use new LookAndFeel install* methods. Use
2948            UIManager.get* methods instead of UIManager.getDefaults().get*
2949            methods.
2950            * javax/swing/plaf/basic/BasicScrollBarUI.java
2951            (installDefaults): Use new LookAndFeel install* methods. Use
2952            UIManager.get* methods instead of UIManager.getDefaults().get*
2953            methods.
2954            * javax/swing/plaf/basic/BasicScrollPaneUI.java
2955            (installDefaults): Use new LookAndFeel install* methods.
2956            * javax/swing/plaf/basic/BasicSeparatorUI.java
2957            (installDefaults): Use UIManager.get* methods instead of
2958            UIManager.getDefaults().get* methods.
2959            * javax/swing/plaf/basic/BasicSliderUI.java
2960            (installDefaults): Use new LookAndFeel install* methods. Use
2961            UIManager.get* methods instead of UIManager.getDefaults().get*
2962            methods.
2963            * javax/swing/plaf/basic/BasicSpinnerUI.java
2964            (installDefaults): Use new LookAndFeel install* methods.
2965            * javax/swing/plaf/basic/BasicSplitPaneUI.java
2966            (installDefaults): Use new LookAndFeel install* methods. Use
2967            UIManager.get* methods instead of UIManager.getDefaults().get*
2968            methods.
2969            * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2970            (installDefaults): Use new LookAndFeel install* methods. Use
2971            UIManager.get* methods instead of UIManager.getDefaults().get*
2972            methods.
2973            * javax/swing/plaf/basic/BasicTableHeaderUI.java
2974            (installDefaults): Use new LookAndFeel install* methods. Use
2975            UIManager.get* methods instead of UIManager.getDefaults().get*
2976            methods.
2977            * javax/swing/plaf/basic/BasicTableUI.java
2978            (installDefaults): Use new LookAndFeel install* methods. Use
2979            UIManager.get* methods instead of UIManager.getDefaults().get*
2980            methods.
2981            * javax/swing/plaf/basic/BasicTextUI.java
2982            (installDefaults): Use new LookAndFeel install* methods. Use
2983            UIManager.get* methods instead of UIManager.getDefaults().get*
2984            methods.
2985            * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java
2986            (installDefaults): Use UIManager.get* methods instead of
2987            UIManager.getDefaults().get* methods.
2988            * javax/swing/plaf/basic/BasicToolBarUI.java
2989            (installDefaults): Use new LookAndFeel install* methods. Use
2990            UIManager.get* methods instead of UIManager.getDefaults().get*
2991            methods.
2992            * javax/swing/plaf/basic/BasicToolTipUI.java
2993            (installDefaults): Use new LookAndFeel install* methods.
2994            * javax/swing/plaf/basic/BasicTreeUI.java
2995            (installDefaults): Use new LookAndFeel install* methods. Use
2996            UIManager.get* methods instead of UIManager.getDefaults().get*
2997            methods.
2998            * javax/swing/plaf/basic/BasicViewportUI.java
2999            (installDefaults): Use new LookAndFeel install* methods.
3000    
3001    2005-10-12  Roman Kennke  <kennke@aicas.com>
3002    
3003            * javax/swing/LookAndFeel.java
3004            (installBorder): Implemented.
3005            (installColors): Implemented.
3006            (installColorsAndFont): Implemented.
3007    
3008    2005-10-12  Mark Wielaard  <mark@klomp.org>
3009    
3010            Reported by Christian Thalinger  <twisti@complang.tuwien.ac.at>
3011            * native/jni/java-lang/java_lang_VMProcess.c
3012            (Java_java_lang_VMProcess_nativeSpawn): Don't delete clazz local
3013            reference twice.
3014            
3015    2005-10-12  David Gilbert  <david.gilbert@object-refinery.com>
3016    
3017            * javax/swing/event/SwingPropertyChangeSupport.java
3018            (firePropertyChange(PropertyChangeEvent)): if old and new values are
3019            both null, listeners should be notified.
3020    
3021    2005-10-11  David Gilbert  <david.gilbert@object-refinery.com>
3022    
3023            * javax/swing/DefaultComboBoxModel.java
3024            (setSelectedItem): allow values not in list, and don't fire an event
3025            if the value is unchanged.
3026    
3027    2005-10-11  Anthony Balkissoon  <abalkiss@redhat.com>
3028    
3029            * javax/swing/text/GapContent.java:
3030            (getPositionsInRange): Corrected interval check.  This mirrors Roman's
3031            change in GapContent from 2005-10-05 for adjustPositionsInRange and
3032            setPositionsInRange.
3033    
3034    2005-10-11  Anthony Balkissoon  <abalkiss@redhat.com>
3035    
3036            * javax/swing/plaf/basic/BasicTextUI.java:
3037            (viewToModel): Implemented.
3038            * javax/swing/text/DefaultCaret.java:
3039            (mousePressed): Implemented.
3040            * javax/swing/text/PlainView.java:
3041            (viewToModel): Implemented.
3042    
3043    2005-10-11  Anthony Balkissoon  <abalkiss@redhat.com>
3044    
3045            * javax/swing/text/PlainView.java:
3046            (insertUpdate): Repaint the JTextComponent after the update.
3047            (removeUpdate): Likewise.
3048    
3049    2005-10-11  David Gilbert  <david.gilbert@object-refinery.com>
3050    
3051            * javax/swing/JFileChooser.java: Added API docs all over.
3052    
3053    2005-10-11  Roman Kennke  <kennke@aicas.com>
3054    
3055            * javax/swing/JEditorPane.java
3056            (AccessibleJEditorPaneHTML): New inner class.
3057            (JEditorPaneAccessibleHypertextSupport): New inner class.
3058            (getAccessibleContext): Handle special case when we have
3059            a HTMLEditorKit.
3060            (setEditorKit): Reset the accessibleContext.
3061    
3062    2005-10-11  David Gilbert  <david.gilbert@object-refinery.com>
3063    
3064            * javax/swing/filechooser/FileSystemView.java
3065            (defaultFileSystemView): new private field,
3066            (getFileSystemView): initialise (if necessary) and return
3067            defaultFileSystemView.
3068    
3069    2005-10-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3070    
3071            * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java
3072            (main): Message removed from the loop.
3073    
3074    2005-10-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3075    
3076            * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java
3077            (main): 3 sec pause replaced by while(..) loop.
3078    
3079    2005-10-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3080    
3081            * gnu/CORBA/Interceptor/Registrator.java,
3082            gnu/CORBA/ObjectCreator.java,
3083            gnu/CORBA/gnuValueHolder.java,
3084            gnu/CORBA/stubFinder.java,
3085            gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3086            gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3087            gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3088            org/omg/CORBA/ORB.java: Use context class loader.
3089    
3090    2005-10-10  Roman Kennke  <kennke@aicas.com>
3091    
3092            * javax/swing/text/View.java
3093            (modelToView(pos, Shape)): New method.
3094            (viewToModel(float, float, Shape)): New method.
3095    
3096    2005-10-10  Roman Kennke  <kennke@aicas.com>
3097    
3098            * javax/swing/JEditorPane.java
3099            (AccessibleJEditorPane): New inner class.
3100            (getAccessibleContext): Implemented to return an instance of
3101            AccessibleJEditorPane.
3102            * javax/swing/JScrollPane.java
3103            (AccessibleJScrollPane): New inner class.
3104            (getAccessibleContext): Implemented to return an instance of
3105            AccessibleJScrollPane.
3106            (setViewport): Call accessibleContext's resetViewPort() method.
3107            * javax/swing/JTextArea.java
3108            (AccessibleJTextArea): New inner class.
3109            (getAccessibleContext): Implemented to return an instance of
3110            AccessibleJTextArea.
3111            * javax/swing/JTextField.java
3112            (AccessibleJTextField): New inner class.
3113            (getAccessibleContext): Implemented to return an instance of
3114            AccessibleJTextField.
3115            * javax/swing/JRootPane.java
3116            (defaultPressAction): New field.
3117            (defaultReleaseAction): New field.
3118    
3119    2005-10-10  Roman Kennke  <kennke@aicas.com>
3120    
3121            * javax/swing/JMenuBar.java
3122            (AccessibleJMenuBar): New inner class.
3123            (getAccessibleContext): Implemented to return an instance of
3124            AccessibleJMenuBar.
3125    
3126    2005-10-10  Roman Kennke  <kennke@aicas.com>
3127    
3128            * javax/swing/JComponent.java
3129            (paintChildren): Skip children if their clip _doesn't_ hit the
3130            current clip.
3131            (setVisible): Do nothing if the actual value didn't change.
3132    
3133    2005-10-10  Roman Kennke  <kennke@aicas.com>
3134    
3135            * java/awt/Graphics.java
3136            (hitClip): Implemented this method.
3137    
3138    2005-10-10  Roman Kennke  <kennke@aicas.com>
3139    
3140            * java/awt/Graphics.java: Reformatted file.
3141    
3142    2005-10-10  Roman Kennke  <kennke@aicas.com>
3143    
3144            * java/beans/IndexedPropertyDescriptor.java
3145            (setIndexedReadMethod): Changed signature to throw
3146            IntrospectionException as specified.
3147            (setIndexedWriteMethod): Changed signature to throw
3148            IntrospectionException as specified.
3149    
3150    2005-10-10  Roman Kennke  <kennke@aicas.com>
3151    
3152            * javax/swing/JComponent.java
3153            (rectCache): New field. Caches Rectangle objects for reuse.
3154            (paintChildren): Changed to reuse cached Rectangle object.
3155    
3156    2005-10-10  David Gilbert  <david.gilbert@object-refinery.com>
3157    
3158            * javax/swing/border/TitledBorder.java
3159            (TitledBorder(String)): Changed default justification and position,
3160            (TitledBorder(Border)): Likewise,
3161            (TitledBorder(Border, String)): Likewise,
3162            (BorderPainter.paint(Graphics)): Use full width and height,
3163            (BorderPainter.paintExcept): Fixed bounds for region 3,
3164            (paintBorder): indented left justified title further, adjusted
3165            ABOVE_TOP text position, adjusted bounds for call to paintExcept(),
3166            updated for renamed fields in Measurements class,
3167            (getMeasurements): added special handling for null text, increased
3168            outer spacing, adjusted spacing for TOP, BOTTOM and BELOW_BOTTOM title
3169            positions,
3170            (Measurements.borderSpacing): renamed outerSpacing,
3171            (Measurements.edgeSpacing): renamed innerSpacing,
3172            (Measurements.getContentInsets): updated for renamed fields,
3173            (Measurements.getMinimumSize): wrap at 80 columns.
3174    
3175    2005-10-09  Mark Wielaard  <mark@klomp.org>
3176    
3177            Fixes bug #24006
3178            * java/net/Socket.java (bound): Make package private.
3179            * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
3180    
3181    2005-10-07  Anthony Green  <green@redhat.com>
3182    
3183            * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
3184            (process): call run_multiple_synths if required.
3185    
3186    2005-10-07  Anthony Green  <green@redhat.com>
3187    
3188            * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
3189            (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Attempt
3190            to connect to the jack server automatically.  Fail gracefully.
3191    
3192    2005-10-07  Anthony Green  <green@redhat.com>
3193    
3194            * gnu/javax/sound/midi/dssi/DSSISynthesizer.java (loadInstrument):
3195            Implement.
3196            (selectProgram_): New native method.
3197            * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt.
3198            * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
3199            (selectProgram_): New function.
3200    
3201    2005-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3202    
3203            * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postChoiceItemEvent):
3204            Don't call select on the AWT Choice component.
3205            * java/awt/Choice.java (processItemEvent): Set the selected index
3206            without calling into the peers.
3207    
3208    2005-10-07  Anthony Green  <green@redhat.com>
3209    
3210            * gnu/javax/sound/midi/dssi/DSSISynthesizer.java
3211            Doc cleanups.
3212            (DSSISynthesizer.DSSISoundbank): New class.
3213            (DSSISynthesizer.DSSIInstrument): New class.
3214            (soundbanks, defaultSoundbank): New fields.
3215            (getDefaultSoundbank): Implemented.
3216            (getAvailableInstruments): Implemented.
3217            (getProgramName_, getProgramBank_, getProgramProgram_): New native
3218            methods.
3219            (DSSISynthesizer): Create default soundbank.
3220            * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
3221            (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramName_1,
3222            Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramBank_1,
3223            Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramProgram_1):
3224            New functions.
3225            * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt.
3226    
3227    2005-10-07  Roman Kennke  <kennke@aicas.com>
3228    
3229            * javax/swing/JTable.java
3230            (tableChanged): Revalidate table if its structure changes.
3231    
3232    2005-10-07  Jan Roehrich  <jan@roehrich.info>
3233    
3234            * javax/swing/JTree.java: (JTree):
3235            * javax/swing/plaf/basic/BasicTreeUI.java: (updateRenderer):
3236            moved setting of TreeCellRenderer from JTree to BasicTreeUI.
3237    
3238    2005-10-07  Roman Kennke  <kennke@aicas.com>
3239    
3240            * java/beans/IndexedPropertyDescriptor.java
3241            (setIndexedReadMethod): New method.
3242            (setIndexedWriteMethod): New method.
3243    
3244    2005-10-07  Roman Kennke  <kennke@aicas.com>
3245    
3246            * java/beans/IndexedPropertyDescriptor.java: Reformatted.
3247    
3248    2005-10-07  Roman Kennke  <kennke@aicas.com>
3249    
3250            * javax/swing/plaf/basic/BasicButtonUI.java
3251            (currentIcon): Fix icon for disabled selected buttons.
3252            (paint): Only paint focus indicator if button is actually
3253            focusPainted.
3254            * javax/swing/plaf/basic/BasicRadioButtonUI.java
3255            (installDefaults): Install icons for disabledIcon and
3256            disabledSelectedIcon.
3257            (paint): Paint the correct icon. Only paint focus indicator
3258            if button is actually focusPainted.
3259            * javax/swing/plaf/basic/BasicToggleButtonUI.java
3260            (paint): Only paint focus indicator if button is actually
3261            focusPainted.
3262    
3263    2005-10-07  Roman Kennke  <kennke@aicas.com>
3264    
3265            * javax/swing/JComponent.java
3266            (paint): Call paintBorder before paintChildren.
3267            (reshape): Fire AncestorEvent if position has changed.
3268            (fireAncestorMoved): New method. Fires AncestorEvents to this
3269            component and all of it's children.
3270    
3271    2005-10-07  Roman Kennke  <kennke@aicas.com>
3272    
3273            * javax/swing/BorderFactory.java
3274            (createLineBorder(Color)): Forward call to
3275            createLineBorder(Color, int) with thickness of 1.
3276    
3277  2005-10-06  Tom Tromey  <tromey@redhat.com>  2005-10-06  Tom Tromey  <tromey@redhat.com>
3278    
3279          * java/util/ListResourceBundle.java (getKeys): Fixed return type.          * java/util/ListResourceBundle.java (getKeys): Fixed return type.
# Line 204  Line 3295 
3295          (headSet): Fixed return type.          (headSet): Fixed return type.
3296          * java/util/StringTokenizer.java: Implements Enumeration<Object>.          * java/util/StringTokenizer.java: Implements Enumeration<Object>.
3297    
3298    2005-10-06  Anthony Green  <green@redhat.com>
3299    
3300            * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
3301            (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Ignore
3302            controllers that aren't mapped to MIDI controls.
3303    
3304    2005-10-06  Anthony Green  <green@redhat.com>
3305    
3306            * INSTALL: Describe midi provider dependencies.
3307    
3308            * native/jni/midi-dssi/README: New file.
3309            * LICENSE (terms): Add notice about code copied from the DSSI
3310            distribution.
3311    
3312            * examples/gnu/classpath/examples/midi/Demo.java: New file.
3313    
3314            * native/jni/midi-dssi/dssi_data.h (dssi_data): Add control_count,
3315            control_port_map, control_value_map, sample_rate, and
3316            control_values fields.
3317            * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
3318            (DEBUG_DSSI_PROVIDER): New macro.
3319            (get_port_default): New function.
3320            (set_control): New function.
3321            (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove
3322            debug output.  Reformat.  Allocate the control ports and assign
3323            proper default values.
3324            (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1): Use
3325            JLONG_TO_PTR.
3326            (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Ditto.
3327            * gnu/javax/sound/midi/dssi/DSSISynthesizer.java
3328            (Channel.controlChange): Implement.
3329            (controlChange_): New native method.
3330            * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt.
3331            
3332            * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Make
3333            instance final.
3334    
3335    2005-10-06  Anthony Balkissoon  <abalkiss@redhat.com>
3336    
3337            * javax/swing/text/PlainView.java:
3338            (determineMaxLength): Avoid NPE by checking the Segment that getText
3339            returns.  No need to return Math.max (0, maxLineLength) because
3340            maxLineLength is guaranteed to be 0 or greater.
3341    
3342    2005-10-06  Anthony Balkissoon  <abalkiss@redhat.com>
3343    
3344            * javax/swing/text/PlainView.java:
3345            (determineMaxLength): If maxLineLength is -1 we should return 0.
3346            (insertOrRemoveUpdate): Avoid NPE by checking the Segment that
3347            getText returns.
3348    
3349    2005-10-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
3350    
3351            * javax/imageio/metadata/IIOMetadata.java: Complete.
3352    
3353    2005-10-06  Roman Kennke  <kennke@aicas.com>
3354    
3355            * javax/swing/text/BoxView.java
3356            (paint): Only call paintChild if child allocation is not empty.
3357            (layout): Don't store the width and height fields here.
3358            (setSize): Store the width and height fields here.
3359            * javax/swing/text/CompositeView.java
3360            (getViewIndexAtPosition): Reworked child view searching.
3361            (getInsideAllocation): Fixed insets calculation.
3362            * javax/swing/text/FlowView.java
3363            (FlowStrategy.layoutRow): Return an offset of -1 if no more child
3364            views are in the logical view.
3365            (FlowStrategy.createView): If there are no more child views,
3366            then return null.
3367            (LogicalView.getViewIndex): New method. Implements child view
3368            searching for the LogicalView.
3369            * javax/swing/text/GlyphView.java
3370            (DefaultGlyphPainter.getHeight): Use Toolkit FontMetrics instead
3371            of parent containers FontMetrics.
3372            (DefaultGlyphPainter.getSpan): Use Toolkit FontMetrics instead
3373            of parent containers FontMetrics.
3374            * javax/swing/text/Utilities.java
3375            (getTabbedTextOffset): Check for 0 in the char array and stop
3376            there.
3377            * javax/swing/text/View.java
3378            (getContainer): If there's no parent, don't throw an Error, instead
3379            return null as specified.
3380    
3381    2005-10-06  Anthony Balkissoon  <abalkiss@redhat.com>
3382    
3383            * javax/swing/text/AbstractDocument.java: Implemeted locking.
3384            (insertString): Obtain write lock before altering document.
3385            (readLock): Implemented.
3386            (readUnlock): Implemented.
3387            (remove): Obtain write lock before altering document.
3388            (render): Implemented.
3389            (writeLock): Implemented.
3390            (writeUnlock): Implemented.
3391            (getCurrentWriter): Implemented.
3392    
3393    2005-10-06  Roman Kennke  <kennke@aicas.com>
3394    
3395            * javax/swing/JLabel.java
3396            (JLabel): Set alignmentX value to 0.0F.
3397    
3398    2005-10-06  Lillian Angel  <langel@redhat.com>
3399    
3400            * javax/swing/plaf/basic/BasicTreeUI.java
3401            (startEditing): Should always change the bounds, whenever
3402            we start editing.
3403            (paintRow): Fixed location where editing component should
3404            be drawn. The constant takes care of the space around the
3405            icon.
3406            * javax/swing/JTree.java
3407            (JTree): Called updateUI first so currentVisiblePath is
3408            cached right away. Prevents NPEs.
3409    
3410    2005-10-06  Tom Tromey  <tromey@redhat.com>
3411    
3412            * javax/print/attribute/SetOfIntegerSyntax.java (toString): Wrote.
3413            (hashCode): Likewise.
3414            (equals): Likewise.
3415            (getMembers): Likewise.
3416            (contains): Fixed boundary condition check.
3417            (next): Wrote.
3418            (normalize): Rewrote.
3419            (SetOfIntegerSyntax): Updated.
3420            (SetOfIntegerSyntax(String)): New constructor.
3421            (skipNumber): New method.
3422            (skipWhitespace): Likewise.
3423    
3424    2005-10-06  Roman Kennke  <kennke@aicas.com>
3425    
3426            * javax/swing/plaf/basic/BasicRootPaneUI.java
3427            (installUI): Call new hook methods.
3428            (installDefaults): New hook method.
3429            (installComponents): New hook method.
3430            (installListeners): New hook method.
3431            (installKeyboardActions): New hook method.
3432            (uninstallUI): New method.
3433            (uninstallDefaults): New hook method.
3434            (uninstallComponents): New hook method.
3435            (uninstallListeners): New hook method.
3436            (uninstallKeyboardActions): New hook method.
3437    
3438    2005-10-06  Lillian Angel  <langel@redhat.com>
3439    
3440            * javax/swing/plaf/basic/BasicTreeUI.java
3441            (mousePressed): Shouldn't change x location for leaf.
3442    
3443    2005-10-06  Andreas Tobler  <a.tobler@schweiz.ch>
3444    
3445            * configure.ac: Add Qt4 configury bits for OS-X.
3446    
3447  2005-10-05  Tom Tromey  <tromey@redhat.com>  2005-10-05  Tom Tromey  <tromey@redhat.com>
3448    
3449          * java/util/jar/Attributes.java: Implements Map<Object,Object>.          * java/util/jar/Attributes.java: Implements Map<Object,Object>.
# Line 291  Line 3531 
3531          * java/awt/Button.java (getListeners): Genericized.          * java/awt/Button.java (getListeners): Genericized.
3532          * java/awt/Container.java (getListeners): Genericized.          * java/awt/Container.java (getListeners): Genericized.
3533    
3534    2005-10-05  Lillian Angel  <langel@redhat.com>
3535    
3536            * javax/swing/plaf/basic/BasicTreeUI.java
3537            (paintRow): Fixed indentation.
3538            (updateCurrentVisiblePath): Added FIXME
3539            comment.
3540    
3541    2005-10-05  Roman Kennke  <kennke@aicas.com>
3542    
3543            * javax/swing/text/BoxView.java
3544            (baselineLayout): New method.
3545            (calculateMajorAxisRequirements): Reimplemented to use the
3546            SizeRequirements utility methods.
3547            (calculateMinorAxisRequirements): Reimplemented to use the
3548            SizeRequirements utility methods.
3549            (layout): Use the new baselineLayout method.
3550            (layoutMajorAxis): Reimplemented to use the new
3551            getChildRequirements method.
3552            (layoutMinorAxis): Reimplemented to use the new
3553            getChildRequirements method.
3554            (getChildRequirements): New method.
3555            (getSpan): New method.
3556            (getOffset): New method.
3557            (getAlignment): New method.
3558            * javax/swing/text/ParagraphView.java
3559            (Row.getAlignment): New method.
3560            (getAlignment): New method.    
3561            * javax/swing/text/View.java
3562            (getContainer): Improved error message in assertion a little.
3563    
3564    2005-10-05  Lillian Angel  <langel@redhat.com>
3565    
3566            * javax/swing/plaf/metal/MetalTreeUI.java
3567            (installUI): Fixed to call toggleExpandState instead.
3568            * javax/swing/plaf/basic/BasicTreeUI.java
3569            (getPathForRow): Used currentVisiblePath to get Path.
3570            (getRowForPath): Used currentVisiblePath to get row.
3571            (getRowCount): Returned currentVisiblePath length.
3572            (updateLayoutCacheExpandedNodes): Took out unneeded code.
3573            (installUI): Fixed to call toggleExpandState instead.
3574            (getPreferredSize): Made more efficent by using currentVisiblePath.
3575            (toggleExpandState): Called updateCurrentVisiblePath.
3576            (getCellLocation): Made more efficent.
3577            (paintNode): Removed.
3578            (paintRecursive): Made more efficent, changed paintNode calls to
3579            paintRow.
3580            (getNextVisibleNode): Reimplemented to use currentVisiblePath.
3581            (getPreviousVisibleNode): Likewise.
3582            (paintRow): Implemented.
3583            (updateCurrentVisiblePath): New helper used to cache the current
3584            visible path.
3585    
3586    2005-10-05  Mark Wielaard  <mark@klomp.org>
3587    
3588            Reported by Nicolas Geoffray  <nicolas.geoffray@lip6.fr>
3589            * java/security/AccessController.java
3590            (doPrivileged(PrivilegedExceptionAction)): If the Exception is a
3591            Runtime exception, then throw the exception directly, otherwise
3592            wrap it.
3593            (doPrivileged(PrivilegedExceptionAction,AccessControlContext)):
3594            Likewise.
3595    
3596    2005-10-05  Roman Kennke  <kennke@aicas.com>
3597    
3598            * javax/swing/text/GapContent.java
3599            (setPositionsInRange): Changed check for interval end to actually
3600            check for the position offsets.
3601            (adjustPositionsInRange): Changed check for interval end to actually
3602            check for the position offsets.
3603            (dump): New method for debugging.
3604            (dumpPositions): New method for debugging.
3605    
3606    2005-10-05  Christian Thalinger  <twisti@complang.tuwien.ac.at>
3607    
3608            * m4/acattribute.m4: Added.
3609            * configure.ac: Added AC_C_ATTRIBUTE.
3610            * native/fdlibm/java-assert.h: Added missing config.h include,
3611            changed comments to C comments.
3612            * native/jni/java-lang/java_lang_reflect_Array.c: Added missing
3613            config.h include.
3614    
3615    2005-10-05  Anthony Balkissoon  <abalkiss@redhat.com>
3616    
3617            * javax/swing/text/PlainView.java:
3618            (insertOrRemoveUpdate): New method.
3619            (insertUpdate): New method.
3620            (removeUpdate): New method.
3621    
3622    2005-10-05  Mark Wielaard  <mark@klomp.org>
3623    
3624            * javax/swing/JOptionPane.java
3625            (showInputDialog(Component,Object,String,int,Icon,Object[],Object)):
3626            Don't cast return value.
3627            (internalShowInputDialog(Component,Object,String,int,Icon,Object[],
3628            Object)): Likewise.
3629    
3630    2005-10-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3631    
3632            * gnu/CORBA/CDR/cdrInput.java,
3633            gnu/CORBA/EmptyExceptionHolder.java,
3634            gnu/CORBA/ForwardRequestHelper.java,
3635            gnu/CORBA/Functional_ORB.java,
3636            gnu/CORBA/Poa/gnuServantObject.java,
3637            gnu/CORBA/_PolicyImplBase.java,
3638            gnu/CORBA/gnuAny.java,
3639            gnu/CORBA/universalHolder.java,
3640            org/omg/CORBA/CompletionStatus.java,
3641            org/omg/CORBA/NameValuePairHelper.java,
3642            org/omg/CORBA/ObjectHelper.java,
3643            org/omg/CORBA/PolicyHelper.java,
3644            org/omg/CORBA/PolicyListHelper.java,
3645            org/omg/CORBA/ServiceDetailHelper.java,
3646            org/omg/CORBA/StringValueHelper.java,
3647            org/omg/CORBA/WStringValueHelper.java,
3648            org/omg/CosNaming/BindingHelper.java,
3649            org/omg/CosNaming/BindingIteratorHelper.java,
3650            org/omg/CosNaming/BindingIteratorPOA.java,
3651            org/omg/CosNaming/BindingTypeHelper.java,
3652            org/omg/CosNaming/NameComponentHelper.java,
3653            org/omg/CosNaming/NameHelper.java,
3654            org/omg/CosNaming/NamingContextExtHelper.java,
3655            org/omg/CosNaming/NamingContextExtPOA.java,
3656            org/omg/CosNaming/NamingContextHelper.java,
3657            org/omg/CosNaming/NamingContextPOA.java,
3658            org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
3659            org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
3660            org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
3661            org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
3662            org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
3663            org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
3664            org/omg/CosNaming/_BindingIteratorImplBase.java,
3665            org/omg/CosNaming/_NamingContextImplBase.java,
3666            org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
3667            org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
3668            org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
3669            org/omg/DynamicAny/DynAnySeqHelper.java,
3670            org/omg/DynamicAny/NameDynAnyPairHelper.java,
3671            org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
3672            org/omg/DynamicAny/NameValuePairHelper.java,
3673            org/omg/DynamicAny/NameValuePairSeqHelper.java,
3674            org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
3675            org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
3676            org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
3677            org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
3678            org/omg/IOP/IORHelper.java,
3679            org/omg/IOP/MultipleComponentProfileHelper.java,
3680            org/omg/IOP/ServiceContextHelper.java,
3681            org/omg/IOP/ServiceContextListHelper.java,
3682            org/omg/IOP/TaggedComponentHelper.java,
3683            org/omg/IOP/TaggedProfileHelper.java,
3684            org/omg/PortableInterceptor/ForwardRequestHelper.java,
3685            org/omg/PortableInterceptor/InvalidSlotHelper.java,
3686            org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
3687            org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
3688            org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
3689            org/omg/PortableServer/ForwardRequestHelper.java,
3690            org/omg/PortableServer/IdAssignmentPolicyValue.java,
3691            org/omg/PortableServer/IdUniquenessPolicyValue.java,
3692            org/omg/PortableServer/ImplicitActivationPolicyValue.java,
3693            org/omg/PortableServer/LifespanPolicyValue.java,
3694            org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
3695            org/omg/PortableServer/POAManagerPackage/State.java,
3696            org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
3697            org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
3698            org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
3699            org/omg/PortableServer/POAPackage/NoServantHelper.java,
3700            org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
3701            org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
3702            org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
3703            org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
3704            org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
3705            org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
3706            org/omg/PortableServer/RequestProcessingPolicyValue.java,
3707            org/omg/PortableServer/Servant.java,
3708            org/omg/PortableServer/ServantLocatorHelper.java,
3709            org/omg/PortableServer/ServantRetentionPolicyValue.java,
3710            org/omg/PortableServer/ThreadPolicyValue.java: Added minor codes for BAD_PARAM and NO_RESOURCES.
3711            * gnu/CORBA/Minor.java: Introduces new minor codes.
3712            * org/omg/CORBA/BAD_OPERATION.java,
3713            org/omg/CORBA/MARSHAL.java,
3714            org/omg/CORBA/NO_RESOURCES.java: Documentation update.
3715    
3716    2005-10-05  Stuart Ballard  <stuart.a.ballard@gmail.com>
3717    
3718            * java/rmi/LoaderHandler.java (packagePrefix): Match Sun's value.
3719            * java/rmi/RemoteRef.java (packagePrefix): Likewise.
3720            * java/rmi/RemoteObject.java (readObject): Hardcode the GNU package
3721            prefix.
3722    
3723    2005-10-05  Anthony Balkissoon  <abalkiss@redhat.com>
3724    
3725            * javax/swing/text/AbstractDocument.java:
3726            (remove): If removing content returns an UndoableEdit, then add an
3727            ElementEdit to the DocumentEvent before firing.
3728            * javax/swing/text/GapContent.java:
3729            (UndoRemove): New class to implement UndoableEdit for remove operation.
3730            (remove): Return an UndoableEdit instead of null.
3731    
3732    2005-10-05  Roman Kennke  <kennke@aicas.com>
3733    
3734            * javax/swing/text/LabelView.java
3735            (LabelView): Implemented the constructor.
3736            (setPropertiesFromAttributes): New method.
3737            (changedUpdate): New method.
3738            (getBackground): New method.
3739            (setBackground): New method.
3740            (getForeground): New method.
3741            (getFont): New method.
3742            (getFontMetrics): New method.
3743            (isUnderline): New method.
3744            (setUnderline): New method.
3745            (isSubscript): New method.
3746            (setSubscript): New method.
3747            (isSuperscript): New method.
3748            (setSuperscript): New method.
3749            (isStrikeThrough): New method.
3750            (setStrikeThrough): New method.
3751    
3752    2005-10-05  Roman Kennke  <kennke@aicas.com>
3753    
3754            * javax/swing/table/JTableHeader.java
3755            (accessibleContext): Removed unneeded field. The protected
3756            field with the same name should be used instead.
3757            (JTableHeader): Moved field initialization to new method
3758            initializeLocalVars().
3759            (setColumnModel): Add and remove this to the old and new model.
3760            (columnAdded): New listener method.
3761            (columnMarginChanged): New listener method.
3762            (columnMoved): New listener method.
3763            (columnRemoved): New listener method.
3764            (columnSelectionChanged): New listener method.
3765            (resizeAndRepaint): New method.
3766            (initializeLocalVars): New method.
3767    
3768  2005-10-04  Tom Tromey  <tromey@redhat.com>  2005-10-04  Tom Tromey  <tromey@redhat.com>
3769    
3770          * java/awt/Dialog.java (show): Now deprecated.          * java/awt/Dialog.java (show): Now deprecated.
# Line 301  Line 3775 
3775          * java/lang/ref/Reference.java (nextOnQueue): Changed type.          * java/lang/ref/Reference.java (nextOnQueue): Changed type.
3776          * java/lang/ref/ReferenceQueue.java (first): Changed type.          * java/lang/ref/ReferenceQueue.java (first): Changed type.
3777    
3778    2005-10-04  David Gilbert  <david.gilbert@object-refinery.com>
3779    
3780            * javax/swing/plaf/basic/BasicFileChooserUI.java: Added API docs all
3781            over.
3782    
3783    2005-10-04  Anthony Balkissoon  <abalkiss@redhat.com>
3784    
3785            * javax/swing/text/AbstractDocument.java:
3786            (insertString): If inserting a string into the Content returns an
3787            UndoableEdit, then add an ElementEdit to the DocumentEvent before
3788            firing.
3789            (remove): Don't fire a removeUpdate unless some content was actually
3790            removed.
3791            * javax/swing/text/GapContent.java:
3792            (UndoInsertString): New class to implement UndoableEdit functions.
3793            (insertString): Return an UndoableEdit instead of null.  Also use
3794            locally calculated length of String rather than calculating again.
3795            * javax/swing/text/JTextComponent.java:
3796            (setText): If the Document is an AbstractDocument this should pass
3797            through AbstractDocument.replace rather than calling remove and insert.
3798            * javax/swing/text/PlainView.java:
3799            (determineMaxLength): Keep track of which line was the longest as well
3800            as the length of it.  We'll need this to know when the longest line is
3801            removed and we need to redetermine the longest line.
3802    
3803    2005-10-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3804    
3805            * javax/imageio/ImageWriter.java
3806            (processWarningOccurred(int,String,String)): New method.
3807            * javax/imageio/ImageReader.java
3808            (processWarningOccurred(String,String)): New method.
3809    
3810    2005-10-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3811    
3812            * javax/imageio/ImageReader.java (getDestination): Throw
3813            IIOException, not IOException.
3814            * javax/imageio/ImageTypeSpecifier.java
3815            (createGrayscale(int,int,boolean)): Rename from createGrayScale.
3816            (createGrayscale(int,int,boolean,boolean)): Likewise.
3817            (createIndexed): Rename from createIndex.
3818    
3819    2005-10-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3820    
3821            *  doc/www.gnu.org/corba.wml:
3822            Link to  http://doc.omg.org/vendor-tags.
3823    
3824    2005-10-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
3825    
3826            * gnu/CORBA/Minor.java: New file.
3827            * gnu/CORBA/CDR/IDLTypeHelper.java,
3828            gnu/CORBA/CDR/UnknownExceptionCtxHandler.java,
3829            gnu/CORBA/CDR/Vio.java,
3830            gnu/CORBA/CDR/cdrInput.java,
3831            gnu/CORBA/CDR/cdrOutput.java,
3832            gnu/CORBA/CDR/gnuRuntime.java,
3833            gnu/CORBA/CDR/noHeaderInput.java,
3834            gnu/CORBA/DynAn/gnuDynValue.java,
3835            gnu/CORBA/GIOP/CloseMessage.java,
3836            gnu/CORBA/GIOP/ErrorMessage.java,
3837            gnu/CORBA/GIOP/MessageHeader.java,
3838            gnu/CORBA/GIOP/v1_2/RequestHeader.java,
3839            gnu/CORBA/IOR.java,
3840            gnu/CORBA/Poa/ForwardedServant.java,
3841            gnu/CORBA/Version.java,
3842            gnu/CORBA/cdrEncapsCodec.java,
3843            gnu/CORBA/gnuAny.java,
3844            gnu/CORBA/gnuRequest.java,
3845            gnu/CORBA/streamReadyHolder.java,
3846            gnu/CORBA/universalHolder.java,
3847            gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3848            gnu/javax/rmi/CORBA/corbaObjectOutput.java,
3849            gnu/javax/rmi/CORBA/gnuRmiUtil.java,
3850            org/omg/CORBA/StringValueHelper.java,
3851            org/omg/CORBA/StructMemberHelper.java,
3852            org/omg/CORBA/UnionMemberHelper.java,
3853            org/omg/CORBA/ValueMemberHelper.java,
3854            org/omg/CORBA/WStringValueHelper.java,
3855            org/omg/CORBA/_IDLTypeStub.java,
3856            org/omg/DynamicAny/DynAnyFactoryHelper.java,
3857            org/omg/DynamicAny/_DynAnyFactoryStub.java,
3858            org/omg/IOP/TaggedComponentHelper.java,
3859            org/omg/IOP/TaggedProfileHelper.java,
3860            org/omg/PortableInterceptor/CurrentHelper.java,
3861            org/omg/PortableServer/POAHelper.java,
3862            org/omg/PortableServer/ServantActivatorHelper.java,
3863            org/omg/PortableServer/ServantLocatorHelper.java:
3864            Initialising minor codes for MARSHAL.
3865            * org/omg/CORBA/SystemException.java: Documentation update and
3866            add minor code to the exception message.
3867            * org/omg/CORBA/MARSHAL.java: Documentation update.
3868    
3869    2005-10-04  Mark Wielaard  <mark@klomp.org>
3870    
3871            * javax/swing/plaf/metal/MetalBorders.java (paintBorder): Check
3872            whether Component is JTextComponent.
3873    
3874    2005-10-04  Andreas Tobler  <a.tobler@schweiz.ch>
3875    
3876            * javax/imageio/ImageWriter.java (availableLocales, locale,
3877            originatingProvider, output, progressListeners, warningListeners,
3878            warningLocales): Initialize.
3879            (addIIOWriteProgressListener): Check progressListeners against null
3880            to avoid NPE. Create new ArrayList if progressListeners is null.
3881            (addIIOWriteWarningListener): Likewise for warningListeners.
3882            (processImageComplete): Check progressListeners against null to
3883            avoid NPE.
3884            (processImageProgress): Likewise.
3885            (processImageStarted): Likewise.
3886            (processThumbnailComplete): Likewise.
3887            (processThumbnailProgress): Likewise.
3888            (processThumbnailStarted): Likewise.
3889            (processWarningOccurred): Likewise for warningListeners.
3890            (processWriteAborted): Likewise for progressListeners.
3891            (removeAllIIOWriteProgressListeners): Likewise.
3892            (removeAllIIOWriteWarningListeners): Likewise.
3893            (removeIIOWriteProgressListener): Likewise.
3894            (removeIIOWriteWarningListener): Likewise for warningListeners.
3895    
3896            * javax/imageio/ImageReader.java (addIIOReadProgressListener): Check
3897            progressListeners against null to avoid NPE. Create new ArrayList
3898            if progressListeners is null.
3899            (addIIOReadUpdateListener): Likewise for updateListeners.
3900            (addIIOReadWarningListener): Likewise for warningListeners.
3901            (processImageComplete):  Check progressListeners against null to
3902            avoid NPE.
3903            (processImageProgress): Likewise.
3904            (processImageStarted): Likewise.
3905            (processImageUpdate): Likewise for updateListeners.
3906            (processPassComplete): Likewise.
3907            (processPassStarted): Likewise.
3908            (processReadAborted): Likewise for progressListeners.
3909            (processSequenceComplete): Likewise.
3910            (processSequenceStarted): Likewise.
3911            (processThumbnailComplete): Likewise.
3912            (processThumbnailPassComplete): Likewise for updateListeners.
3913            (processThumbnailPassStarted): Likewise.
3914            (processThumbnailProgress): Likewise for progressListeners.
3915            (processThumbnailStarted): Likewise.
3916            (processThumbnailUpdate): Likewise for updateListeners.
3917            (processWarningOccurred): Likewise for warningListeners.
3918            (removeIIOReadProgressListener): Likewise for progressListeners.
3919            (removeIIOReadUpdateListener): Likewise for updateListeners.
3920            (removeIIOReadWarningListener): Likewise for warningListeners.
3921    
3922    2005-10-04  Lillian Angel  <langel@redhat.com>
3923    
3924            * javax/swing/plaf/metal/MetalToolTipUI.java
3925            (paint): Added space around the toolTip's accelerator.
3926            (fetchAcceleratorString): Added code to get mnemonic for
3927            JMenuItem if it does not have an accelerator.
3928    
3929    2005-10-04  Roman Kennke  <kennke@aicas.com>
3930    
3931            * javax/swing/text/DefaultCaret.java
3932            (repaint): Adjust repaint rectangle.
3933            (setVisible): Only repaint if the visible property actually changed.
3934    
3935    2005-10-04  Anthony Balkissoon  <abalkiss@redhat.com>
3936    
3937            * javax/swing/text/JTextComponent.java: Reformatted file.
3938    
3939    2005-10-04  Roman Kennke  <kennke@aicas.com>
3940    
3941            Fixes Bug #24080
3942            * javax/swing/SizeRequirements.java
3943            (adjustGreater): Added check to prevent overflow.
3944    
3945    2005-10-04  David Gilbert  <david.gilbert@object-refinery.com>
3946            
3947            * javax/swing/plaf/basic/BasicToolTipUI.java
3948            (accText): removed,
3949            (accDeliminator): removed,
3950            (accFont): removed,
3951            (accFore): removed,
3952            (getPreferredSize): removed accelerator code (now in MetalToolTipUI),
3953            (getAcceleratorText): removed (equivalent is now in MetalToolTipUI),
3954            (paint): removed accelerator painting,
3955            * javax/swing/plaf/metal/MetalToolTipUI.java
3956            (padSpaceBetweenStrings): new field,
3957            (MetalToolTipUI): initialise defaults,
3958            (getAcceleratorString): new method,
3959            (installUI): new method,
3960            (uninstallUI): new method,
3961            (isAcceleratorHidden): new method,
3962            (getPreferredSize): new method,
3963            (paint): new method,
3964            (fetchAcceleratorString): new private method,
3965            (acceleratorToString): new private method,
3966            * examples/gnu/classpath/examples/swing/Demo.java
3967            (mkButton): set tool tip.
3968    
3969    2005-10-04  Roman Kennke  <kennke@aicas.com>
3970    
3971            * java/awt/Component.java
3972            (getFont): Fall back to peer.getGraphics().getFont() if no font
3973            is found.
3974            (getGraphics): Set font here. This avoids a loop in the above
3975            fallback.
3976            * gnu/java/awt/peer/gtk/GdkGraphics.java
3977            (GdkGraphics): Don't initialize font here. This would cause a
3978            loop in the above fallback.
3979    
3980    2005-10-04  Anthony Green  <green@redhat.com>
3981    
3982            * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
3983            (process): Add comments.  Remove unused gettimeofday call.
3984            (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove
3985            debug output.  Add comments.
3986            (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1,
3987            Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Add
3988            comments.  Remove bogus __attribute__((unused)).
3989            * native/jni/midi-dssi/dssi_data.h (JLONG_TO_PTR, PTR_TO_JLONG):
3990            Document helper macros.
3991            (dssi_data): Document.
3992            * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c:
3993            Formatting fixes.
3994            * native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c
3995            (Java_gnu_javax_sound_midi_alsa_AlsaPortDevice_run_1receiver_1thread_1):
3996            Remove debugging output.
3997    
3998    2005-10-04  Roman Kennke  <kennke@aicas.com>
3999    
4000            * javax/swing/AbstractButton.java
4001            (AbstractButton): Set text to "" here.
4002    
4003    2005-10-04  Andreas Tobler  <a.tobler@schweiz.ch>
4004    
4005            * gnu/java/awt/peer/gtk/GdkGraphics2D.java (clearRect): Check bg
4006            against null to avoid NPE.
4007    
4008    2005-10-03  Tom Tromey  <tromey@redhat.com>
4009    
4010            * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Use Configuration
4011            to see if library should be loaded.
4012    
4013    2005-10-03  Anthony Balkissoon  <abalkiss@redhat.com>
4014    
4015            * javax/swing/text/PlainView.java:
4016            (maxLineLength): New variable to cache the length of the longest line.
4017            (determineMaxLength): New implementation method.
4018            (getPreferredSpan): Call determine max length instead of calculating
4019            it here.
4020    
4021    2005-10-03  Tom Tromey  <tromey@redhat.com>
4022    
4023            * java/awt/image/ComponentSampleModel.java (numBands): Updated
4024            javadoc.
4025            (ComponentSampleModel): Set numBands.
4026            * java/awt/image/SampleModel.java (numBands): Now protected.
4027    
4028    2005-10-03  Tom Tromey  <tromey@redhat.com>
4029    
4030            * java/awt/Polygon.java (evaluateCrossings): Removed @see.
4031            * java/awt/image/ImageConsumer.java (SINGLEPASS): Javadoc fix.
4032            * java/awt/Image.java (getGraphics): Removed @see.
4033            * java/awt/MenuComponent.java (setEnabled): Javadoc fix.
4034            (setBackground): Likewise.
4035            * java/awt/event/MouseEvent.java: Added import for javadoc.
4036            * java/awt/im/spi/InputMethodDescriptor.java: Added import for javadoc.
4037            (getAvailableLocales): Javadoc fix.
4038            * java/awt/KeyboardFocusManager.java: Added import for javadoc.
4039            (defaultPolicy): Javadoc fix.
4040            (setGlobalObject): Javadoc fixes.
4041            (getObject): Likewise.
4042            (getGlobalObject): Likewise.
4043            * java/awt/im/InputMethodRequests.java: Added imports for javadoc.
4044            * java/awt/im/spi/InputMethodContext.java: Added imports for javadoc.
4045            (enableClientWindowNotification): Javadoc fix.
4046            * java/awt/im/spi/InputMethod.java: Added imports for javadoc.
4047            (removeNotify): Javadoc fix.
4048            (notifyClientWindowChange): Likewise.
4049            * java/awt/im/InputContext.java: Added import for javadoc.
4050            * java/awt/image/ColorModel.java (getDataElements): Javadoc fix.
4051            * java/awt/geom/Area.java (recursiveSubdivide): Javadoc fix.
4052            * java/awt/geom/GeneralPath.java (GeneralPathIterator): Javadoc fix.
4053            * java/awt/im/InputMethodHighlight.java: Javadoc fixes.  Added
4054            imports.
4055            * java/awt/color/ICC_Profile.java (getInstance): Javadoc fix.
4056            (getInstance): Likewise.
4057            * java/awt/EventQueue.java: Organized imports.
4058            * java/awt/image/BufferedImage.java: Organized imports.
4059            * java/awt/image/PackedColorModel.java (initMasks): Javadoc fix.
4060            * java/awt/GraphicsConfiguration.java (createCompatibleVolatileImage):
4061            Javadoc fixes.
4062            * java/awt/DefaultKeyboardFocusManager.java (delayRequests): Javadoc
4063            fix.
4064            * java/awt/ColorPaintContext.java (ColorPaintContext): Javadoc fix.
4065    
4066    2005-10-03  Lillian Angel  <langel@redhat.com>
4067    
4068            * javax/swing/JOptionPane.java
4069            (getInputValue): If the option selected is 'Cancel', then
4070            the input value is set to null.
4071            (showInternalConfirmDialog): Added check to prevent NPE.
4072            (showInternalConfirmDialog): Likewise.
4073            (showInternalConfirmDialog): Likewise.
4074            (showInternalConfirmDialog): Likewise.
4075            (showInternalOptionDialog): Likewise.
4076            (showOptionDialog): Likewise.
4077    
4078    2005-10-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4079    
4080            * javax/rmi/CORBA/ValueHandler.java (getRunTimeCodeBase):
4081            Fixed return type.
4082            * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java
4083            (getRunTimeCodeBase): Implemented.
4084    
4085    2005-10-03  Lillian Angel  <langel@redhat.com>
4086    
4087            * javax/swing/JMenuItem.java
4088            (init): Set horizontalTextPosition to TRAILING, instead of
4089            LEFT. Icons are drawn in the correct spot now.
4090    
4091    2005-10-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4092    
4093            * doc/www.gnu.org/corba.wml: New file.
4094    
4095    2005-10-03  David Gilbert  <david.gilbert@object-refinery.com>
4096    
4097            * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4098            (layoutLabel): place text to the right of the icon, if there is one.
4099    
4100    2005-10-03  David Gilbert  <david.gilbert@object-refinery.com>
4101    
4102            * javax/swing/plaf/metal/MetalComboBoxButton.java
4103            (paintComponent): reposition text and truncate if necessary,
4104            (truncateText): private utility method.
4105    
4106    2005-10-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4107            
4108            * NEWS: Added entry about Classpath VMCID and IIOP.
4109            
4110    2005-10-02  Anthony Green  <green@redhat.com>
4111    
4112            * native/jni/Makefile.am: Maybe build ALSA code.
4113            Maybe build DSSI code.
4114    
4115            * gnu/javax/sound/midi/alsa/AlsaPortDevice.java,
4116            gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java
4117            gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java
4118            gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java
4119            gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Rebuilt.
4120            native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c,
4121            native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.c,
4122            native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.c,
4123            native/jni/midi-dssi/dssi_data.h, native/jni/midi-dssi/Makefile.am,
4124            native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c
4125            native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c,
4126            native/jni/midi-alsa/Makefile.am: New files.
4127    
4128            * include/Makefile.am: Add sound header files.
4129            * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
4130            include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h
4131            include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h
4132            include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
4133            include/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.h: New
4134            files.
4135            
4136            * configure.ac (AC_CONFIG_FILES): Add
4137            native/jni/midi-alsa/Makefile, native/jni/midi-dssi/Makefile.
4138    
4139    2005-10-02  Mark Wielaard  <mark@klomp.org>
4140    
4141            * java/awt/Font.java (peer): Make field transient.
4142            (Font(String,int,int)): Explicitly set name field.
4143            (Font(String,Map)): Likewise.
4144            (readObject): New private method.
4145    
4146    2005-10-02  Mark Wielaard  <mark@klomp.org>
4147    
4148            * java/io/ObjectOutputStream.java (writeObject): Add defining class
4149            to NotSerializableException.
4150    
4151    2005-10-02  Tom Tromey  <tromey@redhat.com>
4152    
4153            * java/net/URLStreamHandler.java (hostsEqual): Javadoc fix.
4154            * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
4155            * java/net/Inet4Address.java (Inet4Address): Javadoc fix.
4156            * java/net/Socket.java (getLocalAddress): Javadoc fix.
4157            * java/net/DatagramSocket.java (connect): Javadoc fix.
4158    
4159    2005-10-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4160    
4161            * gnu/javax/rmi/PortableServer.java,
4162            gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4163            javax/rmi/BAD_OPERATION.java,
4164            javax/rmi/ORB.java,
4165            javax/rmi/CORBA/ObjectImpl.java,
4166            javax/rmi/CORBA/SystemException.java: Deleted.
4167    
4168    2005-10-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4169    
4170            * gnu/javax/rmi/CORBA/corbaObjectOutput.java (main):
4171            Removed method.
4172    
4173    2005-10-02  Casey Marshall  <csm@gnu.org>
4174    
4175            * gnu/javax/crypto/DiffieHellmanImpl.java (random): removed.
4176            (<init>): removed 'random' initialization.
4177            (engineDoPhase): use params from the incoming key; generate the
4178            intermediate result from the incoming key, not a random one; only
4179            support one-phase DH, for now.
4180            (engineInit): removed 'random' initialization.
4181    
4182    2005-10-02  Robert Schuster  <robertschuster@fsfe.org>
4183    
4184            * gnu/xml/stream/XMLOutputFactoryImpl.java:
4185            (setProperty): Added 'else'.
4186    
4187    2005-10-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4188    
4189            * gnu/CORBA/CDR/Vio.java,
4190            gnu/CORBA/CDR/cdrBufOutput.java,
4191            gnu/CORBA/CDR/gnuRuntime.java,
4192            gnu/javax/rmi/CORBA/corbaObjectInput.java,
4193            gnu/javax/rmi/CORBA/dwoTester.java,
4194            gnu/javax/rmi/CORBA/gnuRmiUtil.java: Corrected copyright
4195            header identation.
4196    
4197    2005-10-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4198    
4199            * gnu/CORBA/CDR/ArrayValueHelper.java,
4200            gnu/CORBA/CDR/IDLTypeHelper.java,
4201            gnu/CORBA/CDR/UnknownExceptionCtxHandler.java,
4202            gnu/CORBA/CDR/gnuRuntime.java,
4203            gnu/CORBA/CDR/gnuValueStream.java,
4204            gnu/CORBA/CDR/VMVio.java,
4205            gnu/CORBA/IorProvider.java,
4206            gnu/javax/rmi/CORBA/TieTargetRecord.java,
4207            gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java,
4208            gnu/javax/rmi/CORBA/corbaObjectInput.java,
4209            gnu/javax/rmi/CORBA/corbaObjectOutput.java,
4210            gnu/javax/rmi/CORBA/dwoTester.java,
4211            gnu/javax/rmi/CORBA/gnuRmiUtil.java: New files.
4212            * gnu/CORBA/CDR/aligningInputStream.java,
4213            gnu/CORBA/CDR/aligningOutputStream.java:
4214            gnu/CORBA/CDR/Vio.java,
4215            gnu/CORBA/CDR/cdrBufInput.java,
4216            gnu/CORBA/CDR/cdrBufOutput.java,
4217            gnu/CORBA/CDR/cdrInput.java,
4218            gnu/CORBA/CDR/cdrOutput.java,
4219            gnu/CORBA/CDR/noHeaderInput.java,
4220            gnu/CORBA/Functional_ORB.java,
4221            gnu/CORBA/GIOP/MessageHeader.java,
4222            gnu/CORBA/GIOP/ServiceContext.java,
4223            gnu/CORBA/IOR_Delegate.java,
4224            gnu/CORBA/IOR_contructed_object.java,
4225            gnu/CORBA/Interceptor/Registrator.java,
4226            gnu/CORBA/NamingService/NameParser.java,
4227            gnu/CORBA/NamingService/NamingServiceTransient.java,
4228            gnu/CORBA/ObjectCreator.java,
4229            gnu/CORBA/Poa/LocalDelegate.java,
4230            gnu/CORBA/Poa/ORB_1_4.java,
4231            gnu/CORBA/Poa/gnuPOA.java,
4232            gnu/CORBA/Poa/gnuServantObject.java,
4233            gnu/CORBA/Simple_delegate.java,
4234            gnu/CORBA/gnuAny.java,
4235            gnu/CORBA/gnuRequest.java,
4236            org/omg/CORBA/OMGVMCID.java,
4237            org/omg/CORBA/StringValueHelper.java,
4238            org/omg/CORBA/SystemException.java,
4239            org/omg/CORBA/WStringValueHelper.java,
4240            org/omg/CORBA/portable/ObjectImpl.java,
4241            org/omg/CORBA_2_3/ORB.java,
4242            org/omg/CORBA_2_3/portable/InputStream.java,
4243            org/omg/CORBA_2_3/portable/OutputStream.java: Modified to support
4244            RMI over CORBA mechanism.
4245            * gnu/javax/rmi/CORBA/DelegateFactory.java,
4246            gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4247            gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4248            gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4249            javax/rmi/CORBA/ClassDesc.java,
4250            javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4251            javax/rmi/CORBA/Stub.java,
4252            javax/rmi/CORBA/StubDelegate.java,
4253            javax/rmi/CORBA/Tie.java,
4254            javax/rmi/CORBA/Util.java,
4255            javax/rmi/CORBA/UtilDelegate.java,
4256            javax/rmi/CORBA/ValueHandler.java,
4257            javax/rmi/CORBA/package.html,
4258            javax/rmi/PortableRemoteObject.java,
4259            javax/rmi/package.html: New files (replacing).
4260            * gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4261            gnu/javax/rmi/PortableServer.java: Modified to keep the code
4262            compileable between subsequent patches.
4263    
4264    2005-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4265    
4266            * javax/imageio/ImageIO.java: Fix compilation problems.
4267    
4268    2005-10-01  Mark Wielaard  <mark@klomp.org>
4269    
4270            * javax/swing/plaf/metal/MetalScrollBarUI.java
4271            (MetalScrollBarPropertyChangeHandler.propertyChange):
4272            Only set free standing when increase or decrease button isn't null.
4273            If not FREE_STANDING_PROP pass up event to super class.
4274    
4275    2005-10-02  Mark Wielaard  <mark@klomp.org>
4276    
4277            Workarounds for bug #24166
4278            * javax/imageio/ImageIO.java (filter): Catch IOException in
4279            canDecodeInput().
4280            (TranscoderFilter.WriterObjectFilter): Renamed to TranscoderFilter.
4281            (getImageReadersBySuffix): Use ReaderObjectFilter, not the nonexisting
4282            ReaderSuffixFilter.
4283            (createImageInputStream): Test with Class.isAssignableFrom() and for
4284            foundSpi == null.
4285            (createImageOutputStream): Likewise and use output, not input.
4286            (getImageReader): Always return null for now.
4287            (getImageReaders): Use input, not object.
4288            (getImageWriters): Rename formatName to format and create a
4289            WriterObjectFilter with type and format not just object.
4290            (getImageWriter): Always return null for now.
4291            (getImageTranscoders): Create TranscoderFilter not ImageTranscoderSpi
4292            instance.
4293    
4294    2005-10-02  David Gilbert  <david.gilbert@object-refinery.com>
4295    
4296            * javax/swing/plaf/basic/BasicButtonUI.java: API doc updates.
4297    
4298    2005-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4299    
4300            * javax/imageio/IIOException.java: Document.
4301            * javax/imageio/IIOImage.java: Document.
4302            * javax/imageio/IIOParam.java: Complete and document.
4303            * javax/imageio/IIOParamController.java: Document.
4304            * javax/imageio/ImageIO.java: Complete and document.
4305            * javax/imageio/ImageReader.java: Complete and document.
4306            * javax/imageio/ImageTranscoder.java: Document.
4307            * javax/imageio/ImageTypeSpecifier.java: Complete and document.
4308            * javax/imageio/ImageWriter.java: Complete and document.
4309            * javax/imageio/package.html: Write.
4310    
4311  2005-10-01  Jeroen Frijters  <jeroen@frijters.net>  2005-10-01  Jeroen Frijters  <jeroen@frijters.net>
4312    
4313          * vm/reference/java/lang/reflect/Constructor.java          * vm/reference/java/lang/reflect/Constructor.java
# Line 316  Line 4323 
4323          (getGenericParameterTypes): New method.          (getGenericParameterTypes): New method.
4324          (getGenericReturnType): New method.          (getGenericReturnType): New method.
4325    
4326    2005-10-01  Tom Tromey  <tromey@redhat.com>
4327    
4328            PR classpath/23890:
4329            * java/util/Calendar.java (equals): Include other calendar
4330            attributes.
4331            (hashCode): Updated.
4332            * java/util/GregorianCalendar.java (hashCode): New method.
4333            (equals): Use super.equals().
4334    
4335    2005-10-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
4336    
4337            * java/awt/image/ComponentSampleModel.java (numBands): Shadow
4338            package-private field in parent class with this protected field.
4339            * java/awt/image/SampleModel.java (numBands): Make field
4340            package-private.
4341    
4342    2005-10-01  Tom Tromey  <tromey@redhat.com>
4343    
4344            PR classpath/23880:
4345            * gnu/java/security/x509/ext/Extension.java (Value.hashCode): New
4346            method.
4347            * gnu/java/security/der/BitString.java (hashCode): New method.
4348            * javax/security/auth/x500/X500Principal.java (hashCode): New method.
4349    
4350    2005-10-01  Jeroen Frijters  <jeroen@frijters.net>
4351    
4352            * java/net/URLClassLoader.java
4353            (Resource.name): Removed field.
4354            (JarURLResource.name): Added field.
4355            (FileResource.getURL): Use File.toURL() instead of doing it in
4356            a way that breaks on Windows.
4357    
4358    2005-10-01  Mark Wielaard  <mark@klomp.org>
4359    
4360            * doc/www.gnu.org/include/layout.wml: Point Tasks menu item to
4361            mediation wiki.
4362            * doc/www.gnu.org/tasks.wml: Redirect to mediation wiki.
4363    
4364    2005-10-01  Andreas Tobler  <a.tobler@schweiz.ch>
4365    
4366            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4367            (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setTexturePixelsUnlocked):
4368            Call cairo_pattern_set_extend after gr->pattern has been set and checked
4369            versus NULL.
4370    
4371  2005-09-30  Jeroen Frijters  <jeroen@frijters.net>  2005-09-30  Jeroen Frijters  <jeroen@frijters.net>
4372    
4373          * gnu/java/lang/reflect/FieldSignatureParser.java: New file.          * gnu/java/lang/reflect/FieldSignatureParser.java: New file.
# Line 324  Line 4376 
4376          gnu/java/lang/reflect/MethodSignatureParser.java:          gnu/java/lang/reflect/MethodSignatureParser.java:
4377          Finished implementation.          Finished implementation.
4378    
4379    2005-09-30  Roman Kennke  <kennke@aicas.com>
4380    
4381            * javax/swing/JTextPane.java
4382            (replaceSelection): Don't update the caret position here.
4383            * javax/swing/plaf/basic/BasicTextUI.java
4384            (DocumentHandler.insertUpdate): Likewise.
4385            (DocumentHandler.removeUpdate): Likewise.
4386            * javax/swing/text/DefaultCaret.java
4387            (DocumentHandler): New inner class. Handles caret position updates.
4388            (PropertyChangeHandler): New inner class. (Un)installs document
4389            listener when the text component's document changes.
4390            (install): Install the new listeners on the text component.
4391            (deinstall): Deinstall the new listeners on the text component.
4392            * javax/swing/text/DefaultEditorKit.java
4393            (DefaultKeyTypedAction.actionPerformed): Don't update the caret
4394            position here.
4395    
4396    2005-09-30  Lillian Angel  <langel@redhat.com>
4397    
4398            * javax/swing/AbstractButton.java
4399            (AbstractButton): updateUI should be called after
4400            everything is initialized, so everything is revalidated.
4401            * javax/swing/JMenuItem.java
4402            (JMenuItem): Added call to init so model is set.
4403            (JMenuItem): Likewise.
4404            * javax/swing/JOptionPane.java
4405            (createDialog): Removed invalidate and repaint calls.
4406            (JOptionPane): Likewise.
4407            * javax/swing/JPopupMenu.java
4408            (setVisible): Changed size to be the preferred size.
4409    
4410    2005-09-30  Lillian Angel  <langel@redhat.com>
4411    
4412            * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4413            (paintTabArea): Added check to adjust runCount if
4414            it is less that tabCount.
4415    
4416    2005-09-30  Anthony Balkissoon  <abalkiss@redhat.com>
4417    
4418            * javax/swing/text/PlainDocument.java:
4419            (removeUpdate): Fixed length of new LeafElement and off-by-one error
4420            in call to rootElement.replace().
4421    
4422    2005-09-30  Lillian Angel  <langel@redhat.com>
4423    
4424            * javax/swing/plaf/basic/BasicSplitPaneUI.java
4425            (propertyChange): No reason to reset the layout manager here.
4426            (setDividerLocation): Changed to check right component, not left.
4427            Also, updated the location to a valid spot.
4428    
4429    2005-09-30  David Gilbert  <david.gilbert@object-refinery.com>
4430    
4431            * examples/gnu/classpath/examples/swing/SliderDemo.java:
4432            New file.
4433    
4434    2005-09-30  Lillian Angel  <langel@redhat.com>
4435    
4436            * javax/swing/AbstractButton.java
4437            (setActionCommand): Added check to prevent NPE.
4438            (getMnemonic): Likewise.
4439            (setMnemonic): Likewise.
4440            (setSelected): Likewise.
4441            (isSelected): Likewise.
4442            (setEnabled): Likewise.
4443            (doClick): Likewise.
4444            * javax/swing/plaf/basic/BasicMenuItemUI.java
4445            (paintMenuItem): Added check to prevent NPE.
4446            (paintText): Likewise.
4447    
4448    2005-09-30  Lillian Angel  <langel@redhat.com>
4449    
4450            * javax/swing/plaf/basic/BasicSplitPaneUI.java
4451            (propertyChange): Added call to reset the layout manager
4452            whenever the size of the divider is changed.
4453            (setDividerLocation): Added adjustment to container
4454            sizes if the divider goes over the bottom/right side.
4455            Also, fixed the size of the right/top component.
4456            (validLocation): Added check for min/max location returned.
4457    
4458    2005-09-30  Anthony Balkissoon  <abalkiss@redhat.com>
4459    
4460            * javax/swing/text/StyleContext.java:
4461            (SmallAttributeSet.getAttribute): If the attribute we're looking for is
4462            ResolveAttribute, don't try to check the resolve parent, because this
4463            will cause an infinite loop.
4464    
4465    2005-09-30  Roman Kennke  <kennke@aicas.com>
4466    
4467            * javax/swing/JTable.java
4468            (accessibleContext): Removed unneeded field. This is already
4469            declared in JComponent.
4470            * javax/swing/Box.java
4471            (accessibleContext): Removed unneeded field. This is already
4472            declared in JComponent.
4473            * javax/swing/JFrame.java
4474            (EXIT_ON_CLOSE): New constant field.
4475    
4476    2005-09-30  Anthony Balkissoon  <abalkiss@redhat.com>
4477    
4478            * javax/swing/text/GapContent.java:
4479            (shiftEnd): Call adjustPositionsInRange rather than getPositionsInRange
4480            and then iterating over the set and adjusting them.
4481            (shiftGap): Likewise.
4482            (shiftGapStartDown): Call setPositionsInRange rather than
4483            getPositionsInRange and then iterating over the set to set each
4484            Position.
4485            (shiftGapEndUp): Likewise.
4486            (setPositionsInRange): New implementation method.
4487            (adjustPositionsInRange): New implementation method.
4488            (resetMarksAtZero): Call setPositionsInRange rather than
4489            getPositionsInRange and then iterating over the set to set each
4490            Position.
4491    
4492    2005-09-30  Roman Kennke  <kennke@aicas.com>
4493    
4494            * javax/swing/JTable.java
4495            (getScrollableUnitIncrement): Respect the direction argument.
4496            * javax/swing/plaf/basic/BasicScrollPaneUI.java
4497            (VSBChangeListener.stateChanged): Compare ypos with viewPosition.y
4498            instead of viewPosition.x.
4499            (ViewportChangeHandler.stateChanged): Call
4500            syncScrollPaneWithViewport in all cases, not only when the
4501            extents have changed.
4502            (syncScrollPaneWithViewport): Also sync the maximum and value
4503            properties of the scrollbar models with the viewport.
4504    
4505    2005-09-30  Roman Kennke  <kennke@aicas.com>
4506    
4507            * javax/swing/plaf/basic/BasicRadioButtonUI.java
4508            (paint): Only call paintFocus if button is actually focused.
4509    
4510    2005-09-30  Roman Kennke  <kennke@aicas.com>
4511    
4512            Fixes Bug #24115
4513            * javax/swing/AbstractButton.java
4514            (AbstractButton): Don't call init() from here. Moved some
4515            initialization code from init() to the constructor.
4516            (init): Moved most of the initialization code to the constructor.
4517            * javax/swing/JCheckBox.java
4518            (JCheckBox()): call this(..) instead of super(..). Don't call init()
4519            here, this is already performed by the JToggleButton constructor.
4520            (JCheckBox(Action)): Don't call init() here, this is already
4521            performed by the JToggleButton constructor.
4522            (JCheckBox(Icon)): call this(..) instead of super(..). Don't call
4523            init() here, this is already performed by the JToggleButton
4524            constructor.
4525            (JCheckBox(Icon, boolean)): Likewise.
4526            (JCheckBox(String)): Likewise.
4527            (JCheckBox(String, boolean)): Likewise.
4528            (JCheckBox(String, Icon)): Likewise.
4529            (JCheckBox(String, Icon, boolean)): Don' call init here. This is
4530            already performed by the JToggleButton constructor. Set the
4531            correct defaults for horizontalAlignment and borderPainted
4532            properties here.
4533            * javax/swing/JRadioButton.java
4534            (JRadioButton(String, Icon, boolean)): Use acccessor methods
4535            instead of directly manipulating package private fields of
4536            AbstractButton.
4537            * javax/swing/JToggleButton.java
4538            (JToggleButton(String, Icon, boolean)): Set correct value for the
4539            alignmentX property.
4540    
4541    2005-09-30  Mark Wielaard  <mark@klomp.org>
4542    
4543            * javax/swing/JFileChooser.java: Import AccessibleRole.
4544    
4545    2005-09-30  Mark Wielaard  <mark@klomp.org>
4546    
4547            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
4548            (cp_gtk_graphics2d_init_jni): Check ExceptionOccured after running
4549            class initializer.
4550    
4551    2005-09-30  Mark Wielaard  <mark@klomp.org>
4552    
4553            * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initFont): New static
4554            method.
4555            (GdkFontMetrics): Use initFont() in super() call.
4556    
4557    2005-09-30  Mark Wielaard  <mark@klomp.org>
4558    
4559            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
4560            (Java_gnu_java_awt_peer_gtk_GdkTextLayout_getOutline): Initialize all
4561            fields of the FT_Outline_Funcs ftCallbacks struct.
4562            (_moveTo): Takes an void * as argument.
4563            (_lineTo): Likewise.
4564            (_quadTo): Likewise.
4565            (_curveTo): Likewise.
4566    
4567    2005-09-30  Sven de Marothy  <sven@physto.se>
4568    
4569            * javax/swing/JFileChooser.java:
4570            (getAccessibleContext): Implement.
4571            (AccessibleJFileChooser): Inner class implemented.
4572            
4573    2005-09-30  Jeroen Frijters  <jeroen@frijters.net>
4574    
4575            Fixes Bug 24122
4576            * gnu/xml/transform/TransformerImpl.java
4577            (writeStreamResult): Added call to connection.setDoInput(false).
4578    
4579    2005-09-29  Tom Tromey  <tromey@redhat.com>
4580    
4581            * java/net/URLConnection.java (setDoInput): Javadoc fix.
4582            (setDoOutput): Likewise.
4583            (setContentHandlerFactory): Likewise.
4584            (setFileNameMap): Likewise.
4585    
4586    2005-09-29  Roman Kennke  <kennke@aicas.com>
4587    
4588            * javax/swing/plaf/basic/BasicScrollPaneUI.java
4589            (installUI): Call the new installKeyboardActions hook.
4590            (uninstallUI): Call the new uninstallKeyboardActions hook.
4591            (installKeyboardActions): New hook method.
4592            (uninstallKeyboardActions): New hook method.
4593    
4594    2005-09-29  Roman Kennke  <kennke@aicas.com>
4595    
4596            * javax/swing/plaf/basic/BasicSliderUI.java
4597            (ActionScroller.ActionScroller): Added constructor.
4598    
4599    2005-09-29  Roman Kennke  <kennke@aicas.com>
4600    
4601            * javax/swing/plaf/basic/BasicTableUI.java
4602            (KeyHandler): New inner class.
4603            (createKeyListener): New method.
4604    
4605    2005-09-29  Roman Kennke  <kennke@aicas.com>
4606    
4607            * javax/swing/plaf/basic/BasicTreeUI.java
4608            (getLeftChildIndent): Fixed method signature.
4609            (drawCentered): Fixed method signature.
4610    
4611    2005-09-29  Tom Tromey  <tromey@redhat.com>
4612    
4613            PR classpath/23381:
4614            * java/beans/PropertyDescriptor.java (hashCode): New method.
4615    
4616    2005-09-29  Roman Kennke  <kennke@aicas.com>
4617    
4618            * javax/swing/OverlayLayout.java: Added API docs all over.
4619    
4620    2005-09-29  David Gilbert  <david.gilbert@object-refinery.com>
4621    
4622            * examples/gnu/classpath/examples/swing/ButtonDemo.java
4623            (createContent): add a close button,
4624            (actionPerformed): perform close action,
4625            * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
4626            (createContent): add a close button,
4627            (actionPerformed): perform close action.
4628    
4629    2005-09-29  Roman Kennke  <kennke@aicas.com>
4630    
4631            * javax/swing/SizeRequirements.java
4632            (getAlignedSizeRequirements): Fixed calculation of preferred and
4633            maximum size as well as the alignment.
4634    
4635    2005-09-29  Roman Kennke  <kennke@aicas.com>
4636    
4637            Fixes Bug #23851
4638            * javax/swing/OverlayLayout.java
4639            (OverlayLayout): Implemented.
4640            (invalidateLayout): Implemented.
4641            (addLayoutComponent(Component, Object)): Implemented.
4642            (addLayoutComponent(String, Component)): Implemented.
4643            (removeLayoutComponent): Implemented.
4644            (preferredLayoutSize): Implemented.
4645            (minimumLayoutSize): Implemented.
4646            (maximumLayoutSize): Implemented.
4647            (getLayoutAlignmentX): Implemented.
4648            (getLayoutAlignmentY): Implemented.
4649            (layoutContainer): Implemented.
4650            (checkRequirements): New private helper method.
4651            (checkTotalRequirements): New private helper method.
4652            (checkLayout): New private helper method.
4653    
4654    2005-09-29  David Gilbert  <david.gilbert@object-refinery.com>
4655    
4656            * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: new demo.
4657    
4658    2005-09-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
4659    
4660            * java/awt/print/PrinterJob.java
4661            (print(PrintRequestAttributeSet)): Remove abstract modifier and
4662            implement.
4663    
4664    2005-09-29  David Gilbert  <david.gilbert@object-refinery.com>
4665    
4666            * javax/swing/JPopupMenu.java
4667            (setVisible): use current size, not preferred size, when checking for
4668            screen edge,
4669            * javax/swing/plaf/basic/BasicComboPopup.java
4670            (show): include top and bottom insets in preferred size,
4671            * javax/swing/plaf/metal/MetalComboBoxButton.java
4672            (MetalComboBoxButton): don't pass icon to super class,
4673            (paintComponent): call super.paintComponent() and reworked label
4674            drawing.
4675    
4676    2005-09-29  Roman Kennke  <kennke@aicas.com>
4677    
4678            Fixes Bug #24105
4679            * javax/swing/text/GapContent.java
4680            (GapContentPosition.getOffset): Adjusted assert statement.
4681            (shiftGap): Adjusted index in getPositionsInRange call. Call
4682            resetMarksAtZero if gapStart has moved to 0.
4683            (replace): Call shiftGap and shiftGapEndUp only if necessary.
4684            (resetMarksAtZero): New method.
4685    
4686    2005-09-29  Lillian Angel  <langel@redhat.com>
4687    
4688            * javax/swing/plaf/basic/BasicMenuItemUI.java:
4689            Added a new field for the gap between the icon and text.
4690            (setPreferredMenuItemSize): Changed gap from defaultTextIconGap
4691            to defaultTextArrowIconGap
4692    
4693    2005-09-29  Tom Tromey  <tromey@redhat.com>
4694    
4695            * java/rmi/activation/ActivationGroup_Stub.java (serialVersionUID):
4696            New field.
4697    
4698    2005-09-28  Lillian Angel  <langel@redhat.com>
4699    
4700            Fixes Bug #24080
4701            * java/awt/Window.java
4702            (show): Fixed the synchronized block to fix deadlock
4703            problem.
4704    
4705    2005-09-29  Sven de Marothy  <sven@physto.se>
4706    
4707            * gnu/java/awt/peer/gtk/GdkTextLayout.java
4708            (getOutline): Implement as native
4709            * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
4710            Add declaration
4711            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
4712            (getOutline): Implement.
4713            
4714    2005-09-29  Roman Kennke  <kennke@aicas.com>
4715    
4716            * java/rmi/server/RMIClassLoader.java
4717            (loadClass(URL, String)): New method.
4718    
4719    2005-09-29  Roman Kennke  <kennke@aicas.com>
4720    
4721            Fixes Bug #24114
4722            * javax/swing/plaf/basic/BasicTextUI.java
4723            (installDefaults): Set the background color correctly.
4724    
4725    2005-09-29  David Gilbert  <david.gilbert@object-refinery.com>
4726    
4727            * javax/swing/plaf/basic/BasicIconFactory.java
4728            (getMenuArrowIcon): adjusted the size and painting of the returned
4729            icon,
4730            * javax/swing/plaf/basic/BasicMenuItemUI.java
4731            (paintMenuItem): adjusted arrow icon position.
4732    
4733  2005-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>  2005-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4734    
4735          * gnu/java/awt/peer/qt/QtGraphics.java:          * gnu/java/awt/peer/qt/QtGraphics.java:
# Line 383  Line 4789 
4789          (getExceptionTypes()): Likewise.          (getExceptionTypes()): Likewise.
4790          (getParameterTypes()): Likewise.          (getParameterTypes()): Likewise.
4791    
4792    2005-09-28  Anthony Balkissoon  <abalkiss@redhat.com>
4793    
4794            * javax/swing/text/AbstractDocument.java:
4795            (BranchElement.getElementIndex): If there are no children, don't return
4796            -1, instead getStartOffset() will throw NPE.  Also, if no child Element
4797            contains the specified offset, return the closest one.
4798    
4799    2005-09-28  Lillian Angel  <langel@redhat.com>
4800    
4801            * javax/swing/ToolTipManager.java
4802            (showTip): Added check to prevent NPE.
4803            (adjustLocation): Changed else if to if, to
4804            check final y position of tooltip incase
4805            it is still cut off.
4806    
4807    2005-09-28  Roman Kennke  <kennke@aicas.com>
4808    
4809            * java/rmi/server/RMIClassLoader.java:
4810            Moved all implementation code to
4811            gnu.java.rmi.server.RMIClassLoaderImpl.
4812            (getProviderInstance): New helper method to find a provider.
4813            (getDefaultProviderInstance): New helper method to find a provider.
4814            (loadClass(String, String, Class)): New method.
4815            * gnu/java/rmi/server/RMIClassLoaderImpl.java:
4816            New class. The implementation is moved from
4817            java.rmi.server.RMIClassLoader.
4818    
4819    2005-09-28  Anthony Balkissoon  <abalkiss@redhat.com>
4820    
4821            * javax/swing/text/AbstractDocument.java:
4822            (AbstractElement.getResolveParent): If the AttributeSet's
4823            getResolveParent returns null, use the Element's parent's AttributeSet.
4824    
4825    2005-09-28  Roman Kennke  <kennke@aicas.com>
4826    
4827            * java/rmi/activation/ActivationGroup_Stub.java:
4828            New class.
4829    
4830    2005-09-28  Lillian Angel  <langel@redhat.com>
4831    
4832            * javax/swing/plaf/basic/BasicSliderUI.java
4833            (paint): No need to call calculateThumbLocation, called
4834            by calculateGeometry.
4835    
4836    2005-09-28  Lillian Angel  <langel@redhat.com>
4837    
4838            Fixes Bug #23934
4839            * javax/swing/plaf/basic/BasicSliderUI.java
4840            (paint): Called calculateGeometry, so the slider is
4841            initially set up.
4842    
4843    2005-09-28  Lillian Angel  <langel@redhat.com>
4844            
4845            Fixes Bug #24080
4846            * java/awt/Window.java
4847            (show): Added a synchronized block to fix deadlock
4848            problem.
4849    
4850    2005-09-28  Roman Kennke  <kennke@aicas.com>
4851    
4852            * javax/swing/plaf/basic/BasicSliderUI.java
4853            (ActionScroller): Added unused class for binary compatibility.
4854            * javax/swing/plaf/basic/BasicTableHeaderUI.java
4855            (MouseInputHandler): Made inner class public as specified.
4856            * javax/swing/plaf/basic/BasicTableUI.java
4857            (FocusHandler):  Made inner class public as specified.
4858            (MouseInputHandler):  Made inner class public as specified.
4859    
4860    2005-09-28  Roman Kennke  <kennke@aicas.com>
4861    
4862            * javax/swing/plaf/basic/BasicButtonUI.java
4863            (currentIcon): Made method package private, so that other button
4864            UIs can access it.
4865            (paint): Removed unnecessary call to paintButtonNormal().
4866            (paintButtonNormal): Removed unnecessary method. The background
4867            is already filled correctly when paint() is entered.
4868            * javax/swing/plaf/basic/BasicRadioButtonUI.java
4869            (paint): Call the new paintFocus() method instead of the inherited
4870            from BasicButtonUI.
4871            (paintFocus): New method. Paints the focus indicator for
4872            JRadioButtons and subclasses.
4873            * javax/swing/plaf/basic/BasicToggleButtonUI.java
4874            (paint): New method. Implements custom painting. Mostly, this
4875            is needed in order to call the new paintIcon() method.
4876            (paintIcon): New method. Narrows the types from the super-class
4877            method.
4878    
4879    2005-09-28  Anthony Balkissoon  <abalkiss@redhat.com>
4880    
4881            * javax/swing/text/Utilities.java:
4882            (getRowEnd): Call getText() rather than trying to get the Element-
4883            specific portion to avoid GapContent errors.
4884            (getRowStart): Likewise.
4885    
4886    2005-09-28  Tom Tromey  <tromey@redhat.com>
4887    
4888            * javax/sound/midi/MidiUnavailableException.java (serialVersionUID):
4889            New field.
4890            * javax/sound/midi/InvalidMidiDataException.java (serialVersionUID):
4891            New field.
4892    
4893    2005-09-28  David Gilbert  <david.gilbert@object-refinery.com>
4894    
4895            * javax/swing/UIDefaults.java
4896            (getBoolean(Object)): API doc correction.
4897    
4898    2005-09-28  David Gilbert  <david.gilbert@object-refinery.com>
4899    
4900            * javax/swing/plaf/metal/MetalButtonListener.java
4901            (propertyChange): check new value of property to determine which
4902            border to set.
4903    
4904    2005-09-28  Lillian Angel  <langel@redhat.com>
4905    
4906            * javax/swing/plaf/basic/BasicComboBoxUI.java
4907            (installDefaults): Fixed checks for setting defaults.
4908            Should check if default is null also.
4909    
4910    2005-09-28  Lillian Angel  <langel@redhat.com>
4911    
4912            Fixes Bug #24077
4913            * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4914            (GdkFontMetrics): Added a check for the font
4915            being null. Fixed a NPE.
4916            * gnu/java/awt/peer/gtk/GdkGraphics.java
4917            (GdkGraphics): Added check if the font is null.
4918            If it is, the font should be set to the default.
4919            (setFont): If font parameter is null, this.font should not
4920            be changed.
4921            * javax/swing/JPopupMenu.java:
4922            Fixed API documentation to say 'JDialog' rather than
4923            'JWindow'.
4924    
4925    2005-09-28  Roman Kennke  <kennke@aicas.com>
4926    
4927            * javax/swing/plaf/basic/BasicButtonUI.java
4928            (currentIcon): Made method package private, so that other button
4929            UIs can access it.
4930            (paint): Removed unnecessary call to paintButtonNormal().
4931            (paintButtonNormal): Removed unnecessary method. The background
4932            is already filled correctly when paint() is entered.
4933            * javax/swing/plaf/basic/BasicRadioButtonUI.java
4934            (paint): Call the new paintFocus() method instead of the inherited
4935            from BasicButtonUI.
4936            (paintFocus): New method. Paints the focus indicator for
4937            JRadioButtons and subclasses.
4938            * javax/swing/plaf/basic/BasicToggleButtonUI.java
4939            (paint): New method. Implements custom painting. Mostly, this
4940            is needed in order to call the new paintIcon() method.
4941            (paintIcon): New method. Narrows the types from the super-class
4942            method.
4943    
4944    2005-09-28  Roman Kennke  <kennke@aicas.com>
4945    
4946            * javax/swing/plaf/metal/MetalLookAndFeel.java
4947            (createDefaultTheme): Change default back to DefaultMetalTheme.
4948            The Ocean theme is too inconsistent.
4949    
4950    2005-09-28  Roman Kennke  <kennke@aicas.com>
4951    
4952            * java/awt/Font.java
4953            (tk): Made method package private. Must not be protected.
4954            (getFontFromToolkit): Made method package private. Must not
4955            be protected.
4956            (getPeerFromToolkit): Made method package private. Must not
4957            be protected.
4958    
4959    2005-09-28  Roman Kennke  <kennke@aicas.com>
4960    
4961            * javax/swing/plaf/basic/BasicScrollPaneUI.java
4962            (createMouseWheelListener): New hook method for creating
4963            mouse wheel listeners.
4964            (installListeners): Use new hook method to create mouse wheel
4965            listeners.
4966    
4967    2005-09-28  Roman Kennke  <kennke@aicas.com>
4968    
4969            * javax/swing/plaf/metal/MetalProgressBarUI.java
4970            (createUI): Removed Hashtable lookup.
4971            * javax/swing/plaf/metal/MetalSeparatorUI.java
4972            (paint): New method. Uses the metal colors for drawing separators.
4973            * javax/swing/plaf/metal/MetalSplitPaneUI.java
4974            (createUI): Removed Hashtable lookup.
4975            * javax/swing/plaf/metal/MetalTabbedPaneUI.java
4976            (createUI): Removed Hashtable lookup.
4977            * javax/swing/plaf/metal/MetalTextFieldUI.java
4978            (createUI): Removed Hashtable lookup.
4979            * javax/swing/plaf/metal/MetalTreeUI.java
4980            (createUI): Removed Hashtable lookup.
4981            * javax/swing/plaf/metal/Ocean.java
4982            (addCustomEntriesToTable): New method. Adds some custom UI defaults
4983            for the Ocean theme.
4984    
4985    2005-09-28  Roman Kennke  <kennke@aicas.com>
4986    
4987            * javax/swing/plaf/metal/MetalScrollBarUI.java
4988            (paintThumb): Use new MetalUtils.fillMetalPattern signature.
4989            * javax/swing/plaf/metal/MetalSplitPaneDivider.java
4990            (paint): Use new MetalUtils.fillMetalPattern signature.
4991    
4992    2005-09-28  Roman Kennke  <kennke@aicas.com>
4993    
4994            * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
4995            (paintPalette): Use new MetalUtils.fillMetalPattern signature.
4996            (paintComponent): Use new MetalUtils.fillMetalPattern signature.
4997    
4998    2005-09-28  Roman Kennke  <kennke@aicas.com>
4999    
5000            * javax/swing/plaf/metal/MetalBorders.java
5001            (MenuItemBorder.paintBorder): Fixed painting so that a thin white
5002            line is drawn on the left of unarmed items. Fixed color handling.
5003            (PopupMenuBorder.borderInsets): Fixed insets.
5004            (PopupMenuBorder.paintBorder): Removed left white line. This is
5005            drawn now in the MenuItemBorder.
5006            (ToolBarBorder.paintBorder): Use correct call to new MetalUtils
5007            fillMetalPattern method signature.
5008    
5009    2005-09-28  Roman Kennke  <kennke@aicas.com>
5010    
5011            * javax/swing/plaf/metal/MetalUtils.java
5012            (fillMetalPattern): If we have a Graphics2D, then go into
5013            optimized drawing mode.
5014            (fillMetalPattern2D): New method. Implements pattern drawing using
5015            textures.
5016            (initializePattern): New method. Initializes the texture.
5017    
5018    2005-09-28  Roman Kennke  <kennke@aicas.com>
5019    
5020            * java/awt/Font.java: Reformatted file.
5021    
5022    2005-09-28  David Gilbert  <david.gilbert@object-refinery.com>
5023    
5024            * javax/swing/plaf/metal/MetalIconFactory.java
5025            (TreeHardDriveIcon): new private class,
5026            (TreeFloppyDriveIcon): new private class,
5027            (TreeComputerIcon): new private class,
5028            (getTreeControlIcon): implemented,
5029            (getTreeComputerIcon): implemented,
5030            (getTreeHardDriveIcon): implemented.
5031    
5032    2005-09-28  David Gilbert  <david.gilbert@object-refinery.com>
5033    
5034            * javax/swing/plaf/metal/MetalBorders.java
5035            (ToolBarBorder): now implements SwingConstants.
5036            
5037  2005-09-27  Tom Tromey  <tromey@redhat.com>  2005-09-27  Tom Tromey  <tromey@redhat.com>
5038    
5039          * java/sql/Timestamp.java (compareTo(Date)): Changed argument type          * java/sql/Timestamp.java (compareTo(Date)): Changed argument type
# Line 456  Line 5107 
5107          (CaseInsensitiveComparator): Updated.          (CaseInsensitiveComparator): Updated.
5108          (CaseInsensitiveComparator.compare): Changed argument types.          (CaseInsensitiveComparator.compare): Changed argument types.
5109    
5110    2005-09-27  Anthony Green  <green@redhat.com>
5111    
5112            * javax/sound/midi/MidiSystem.java (getSequence): Add
5113            missing methods.
5114            * javax/sound/midi/Sequencer.java (stopRecording): Ditto.
5115            * javax/sound/midi/ShortMessage.java (ShortMessage): Ditto.
5116            (setMessage): Fix visibility.  Add missing implementations.
5117            * javax/sound/midi/ShoundbankResouce.java: Rename "soundBank" to
5118            "soundbank", and "getSoundBank" to "getSoundbank".
5119            
5120    2005-09-27  David Gilbert  <david.gilbert@object-refinery.com>
5121    
5122            * javax/swing/plaf/metal/MetalBorders.java
5123            (rolloverBorder): new field,
5124            (getRolloverBorder): new method,
5125            * javax/swing/plaf/metal/MetalButtonListener.java: new class,
5126            * javax/swing/plaf/metal/MetalButtonUI.java
5127            (instance): removed field,
5128            (constructor): initialise fields from UI defaults,
5129            (getFocusColor): just return field value,
5130            (getSelectColor): just return field value,
5131            (getDisabledTextColor): just return field value,
5132            (createUI): return a new instance every time,
5133            (installDefaults): check for isRolloverEnabled and install rollover
5134            border if necessary,
5135            (uninstallDefaults): implemented,
5136            (createButtonListener): implemented,
5137            (paintButtonPressed): implemented,
5138            (paintFocus): implemented,
5139            (paintText): implemented.
5140    
5141    2005-09-27  Anthony Balkissoon  <abalkiss@redhat.com>
5142    
5143            * javax/swing/text/SimpleAttributeSet.java:
5144            (containsAttribute): Check the resolve parent if the attribute is not
5145            found locally.
5146            (containsAttributeLocally): New package-private method.
5147            (isEqual): Re-implemented.  Return true if the two sets have the same
5148            size and this set contains the given set.
5149    
5150    2005-09-27  Roman Kennke  <kennke@aicas.com>
5151    
5152            * javax/swing/JSeparator.java
5153            (updateUI): Removed invalidate call. This is unnecessary.
5154            * javax/swing/plaf/basic/BasicSeparatorUI.java
5155            (paint): Reworked painting so that it paints the separator
5156            correctly.
5157            (getPreferredSize): Fixed to return the correct values according
5158            to the JDK.
5159            (getMinimumSize): Likewise.
5160            (getMaximumSize): Likewise.
5161    
5162    2005-09-27  David Gilbert  <david.gilbert@object-refinery.com>
5163    
5164            * javax/swing/plaf/metal/MetalBorders.java
5165            (RolloverButtonBorder): new class.
5166    
5167    2005-09-27  Roman Kennke  <kennke@aicas.com>
5168    
5169            * javax/swing/BoxLayout.java
5170            (preferredLayoutSize): Fixed to respect the containers insets.
5171            (layoutComponent): Likewise.
5172    
5173    2005-09-27  Roman Kennke  <kennke@aicas.com>
5174    
5175            * javax/swing/SizeRequirements.java
5176            (calculateTiledPositions): Only adjust sizes if the allocated
5177            span is actually different from the used span.
5178            (calculateAlignedPositions): Call adjustFromRight also if
5179            baseline == 0, otherwise we get strange results because 0 * x = 0.
5180    
5181    2005-09-27  Anthony Balkissoon  <abalkiss@redhat.com>
5182    
5183            * javax/swing/text/SimpleAttributeSet.java:
5184            (removeAttributes(AttributeSet)): Only remove attributes from the
5185            current set if their keys AND values are found in the given set
5186    
5187    2005-09-27  Lillian Angel  <langel@redhat.com>
5188    
5189            Fixes Bug #24067
5190            * java/awt/Component.java
5191            (removeNotify): Should call hide on the peer before
5192            disposing of it. This stops the flashing when the
5193            tooltips are removed from the component.
5194            * javax/swing/plaf/basic/BasicToolTipUI.java
5195            (getPreferredSize): If the accelerator is null, we should
5196            paint the mnenomic if it is available.
5197    
5198    2005-09-27  Tom Tromey  <tromey@redhat.com>
5199    
5200            * java/awt/Window.java (createBufferStrategy): Can throw AWTException.
5201            * java/awt/Canvas.java (createBufferStrategy): Can throw AWTException.
5202    
5203    2005-09-27  Lillian Angel  <langel@redhat.com>
5204            
5205            Fixes Bug #24044
5206            * javax/swing/ToolTipManager.java
5207            (showTip): currentTip needs to be revalidated on HeavyWeightPopups
5208            * javax/swing/plaf/basic/BasicToolTipUI.java
5209            (getPreferredSize): Fixed to get the preferred size of the
5210            tooltip including the accelerator, if it has one.
5211            (paint): Fixed to paint the accelerator in its font
5212            and color, if it has one.
5213    
5214    2005-09-27  Anthony Balkissoon  <abalkiss@redhat.com>
5215    
5216            * javax/swing/text/Utilities.java:
5217            (getRowEnd): New method.
5218            (getRowStart): New method.
5219    
5220    2005-09-27  Tom Tromey  <tromey@redhat.com>
5221    
5222            * java/beans/beancontext/BeanContextServicesSupport.java
5223            (BCSSChild.serialVersionUID): Fixed.
5224            * java/beans/beancontext/BeanContextSupport.java
5225            (BCSChild.serialVersionUID): Fixed.
5226    
5227    2005-09-27  David Gilbert  <david.gilbert@object-refinery.com>
5228    
5229            * javax/swing/plaf/basic/BasicToolBarUI.java
5230            (installDefaults): get border from UI defaults,
5231            * javax/swing/plaf/metal/MetalBorders.java:
5232            (ToolBarBorder): new class,
5233            * javax/swing/plaf/metal/MetalLookAndFeel.java
5234            (initComponentDefaults): added tool bar border default,
5235            * javax/swing/plaf/metal/MetalToolBarUI.java
5236            (MetalContainerListener): new class,
5237            (instance): removed field,
5238            (MetalRolloverListener): new class,
5239            (contListener): new field,
5240            (rolloverListener): new field,
5241            (createUI): return a new instance every time,
5242            (createRolloverListener): implemented,
5243            (createContainerListener): implemented,
5244            (createNonRolloverBorder): implemented.
5245    
5246    2005-09-27  Anthony Green  <green@redhat.com>
5247    
5248            * javax/sound/midi/MidiFileFormat.java (bytes, microseconds):
5249            Rename to byteLength and microsecondLength respectively.
5250    
5251  2005-09-26  Tom Tromey  <tromey@redhat.com>  2005-09-26  Tom Tromey  <tromey@redhat.com>
5252    
5253          * java/util/Formatter.java (format): Set fmtLocale.          * java/util/Formatter.java (format): Set fmtLocale.
# Line 468  Line 5260 
5260          (singleDateTimeConversion): New method.          (singleDateTimeConversion): New method.
5261          (dateTimeConversion): Likewise.          (dateTimeConversion): Likewise.
5262    
5263    2005-09-26  Lillian Angel  <langel@redhat.com>
5264    
5265            * javax/swing/ToolTipManager.java
5266            (showTip): validating of toolTipWindow should not have been
5267            removed.
5268    
5269    2005-09-26  Lillian Angel  <langel@redhat.com>
5270    
5271            * javax/swing/ToolTipManager.java
5272            (showTip): Removed validating of currentTip. setVisible(true)
5273            does this. Also, removed validating of toolTipWindow because
5274            show() does this.
5275    
5276    2005-09-27  Roman Kennke  <kennke@aicas.com>
5277    
5278            * javax/swing/SizeRequirements.java
5279            (adjustGreater): Special handle the case when the components have
5280            no spare room for adjustment.
5281            (adjustSmaller): Special handle the case when the components have
5282            no spare room for adjustment.
5283    
5284    2005-09-27  Roman Kennke  <kennke@aicas.com>
5285    
5286            * java/awt/Component.java
5287            (hide): Repaint component before invalidating the parent.
5288            (show): Repaint component before invalidating the parent.
5289            * javax/swing/JComponent.java
5290            (revalidate): Check if we are in the event thread, and if not,
5291            then queue a self-request in the event thread.
5292            (setVisible): Repaint the parent and queue a revalidate.
5293    
5294    2005-09-27  Sven de Marothy  <sven@physto.se>
5295    
5296            * javax/swing/JComboBox.java
5297            (firePopupMenuCanceled): Implement
5298            (firePopupMenuWillBecomeInvisible): Implement
5299            (firePopupMenuWillBecomeVisible): Implement
5300    
5301    2005-09-27  Sven de Marothy  <sven@physto.se>
5302    
5303            * javax/swing/text/html/CSS.java
5304            (getAttribute,getAllAttributeKeys): Implement
5305    
5306    2005-09-26  Lillian Angel  <langel@redhat.com>
5307    
5308            * javax/swing/JTree.java
5309            (JTree): Root should be visible by default.
5310            * javax/swing/ToolTipManager.java
5311            (showTip): Added check for validity of currentTip. Prevents
5312            over-validating.
5313            (hideTip): currentTip should be reset.
5314            * javax/swing/JMenuItem.java
5315            (setAccelerator): Registered accelerator as a keyboard action.
5316    
5317    2005-09-26  Tom Tromey  <tromey@redhat.com>
5318    
5319            * java/lang/reflect/Proxy.java: Javadoc fix.
5320            * java/io/OutputStreamWriter.java (OutputStreamWriter): Javadoc fix.
5321    
5322    2005-09-26  Anthony Green  <green@redhat.com>
5323    
5324            * javax/sound/midi/Synthesizer.java (loadInstrument,
5325            unloadInstrument, remapInstrument, loadAllInstruments,
5326            unloadAllInstruments, unloadInstrument, loadInstrument): Don't
5327            declare the unchecked IllegalArgumentException.
5328            * javax/sound/midi/MidiSystem.java (getMidiDevice, write): Ditto.
5329            * javax/sound/midi/ShortMessage.java: Fix 80-column formatting
5330            problem.
5331            * javax/sound/midi/Sequence.java: Ditto.
5332            * javax/sound/midi/MidiMessage.java: Ditto.
5333            * javax/sound/midi/MidiSystem.java: Ditto.
5334            * javax/sound/midi/MidiFileFormat.java: Ditto.
5335    
5336    2005-09-26  Anthony Green  <green@redhat.com>
5337    
5338            * javax/sound/midi/InvalidMidiDataException.java
5339            * javax/sound/midi/MidiFileFormat.java
5340            * javax/sound/midi/ControllerEventListener.java
5341            * javax/sound/midi/Patch.java javax/sound/midi/Sequence.java
5342            * javax/sound/midi/SysexMessage.java javax/sound/midi/Sequencer.java
5343            * javax/sound/midi/spi/MidiFileReader.java
5344            * javax/sound/midi/spi/MidiFileWriter.java
5345            * javax/sound/midi/spi/SoundbankReader.java
5346            * javax/sound/midi/spi/MidiDeviceProvider.java
5347            * javax/sound/midi/Track.java javax/sound/midi/MidiChannel.java
5348            * javax/sound/midi/MetaMessage.java javax/sound/midi/Instrument.java
5349            * javax/sound/midi/MidiMessage.java
5350            * javax/sound/midi/MidiUnavailableException.java
5351            * javax/sound/midi/Transmitter.java javax/sound/midi/MidiEvent.java
5352            * javax/sound/midi/VoiceStatus.java javax/sound/midi/MidiDevice.java
5353            * javax/sound/midi/SoundbankResource.java
5354            * javax/sound/midi/Soundbank.java javax/sound/midi/Receiver.java
5355            * javax/sound/midi/MetaEventListener.java
5356            * javax/sound/midi/ShortMessage.java
5357            * javax/sound/midi/Synthesizer.java
5358            * javax/sound/midi/MidiSystem.java: New files.
5359    
5360    2005-09-26  Lillian Angel  <langel@redhat.com>
5361    
5362            * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5363            (create): If the dialog is a toolTip or a
5364            PopupMenu, its type should be set to:
5365            GDK_WINDOW_TYPE_HINT_MENU, so the parent
5366            window does not lose focus.
5367            * javax/swing/JTree.java
5368            (setModel): Should update the UI everytime the
5369            model is changed.
5370            * javax/swing/plaf/basic/BasicTreeUI.java
5371            (installUI): Should not set the root to be visible.
5372            (paintControlIcons): changed to use getVisibleRect.
5373            * javax/swing/plaf/metal/MetalTreeUI.java
5374            (installUI): Should not set the root to be visible.
5375    
5376    2005-09-26  Anthony Balkissoon  <abalkiss@redhat.com>
5377    
5378            * gnu/java/text/BaseBreakIterator.java:
5379            (following): Removed unused local variable.
5380    
5381    2005-09-26  Roman Kennke  <kennke@aicas.com>
5382    
5383            * javax/swing/SizeRequirements.java
5384            (calculateTiledPositions): Improved to also take minimum and maximum
5385            sizes into account and better use the allocated space.
5386            (adjustGreater): New helper function.
5387            (adjustSmaller): New helper function.
5388    
5389  2005-09-25  Jeroen Frijters  <jeroen@frijters.net>  2005-09-25  Jeroen Frijters  <jeroen@frijters.net>
5390    
5391          * gnu/java/lang/reflect/ClassSignatureParser.java,          * gnu/java/lang/reflect/ClassSignatureParser.java,
# Line 505  Line 5423 
5423    
5424          * java/util/Formatter.java (lineSeparator): Use SystemProperties.          * java/util/Formatter.java (lineSeparator): Use SystemProperties.
5425    
5426    2005-09-25  Casey Marshall  <csm@gnu.org>
5427    
5428            Fixes PR classpath/23916. Fix suggested by Santiago Gala
5429            <sgala@apache.org>.
5430            * java/security/AccessControlContext.java
5431            (<init>): update javadoc; check SecurityPermission
5432            "createAccessControlContext" if a security manager is set.
5433            (getProtectionDomains): new method.
5434            * vm/reference/java/security/VMAccessController.java
5435            (DEBUG): set to 'gnu.classpath.Configuration.DEBUG.'
5436            (pushContext, popContext): add debug statement.
5437            (getContext): debug output changes; include the DomainCombiner
5438            specified in the AccessControlContext, if any.
5439    
5440    2005-09-25  Tom Tromey  <tromey@redhat.com>
5441    
5442            * javax/security/sasl/SaslServerFactory.java: Updated javadoc.
5443            * javax/security/sasl/Sasl.java: Updated javadoc.
5444            * javax/security/sasl/SaslClientFactory.java: Updated javadoc.
5445            * javax/security/sasl/RealmChoiceCallback.java: Updated javadoc.
5446            * javax/security/sasl/RealmCallback.java: Updated javadoc.
5447            * javax/security/sasl/AuthenticationException.java: Updated
5448            javadoc.
5449            * javax/security/sasl/SaslServer.java (getNegotiatedProperty):
5450            Don't throw SaslException.
5451            * javax/security/sasl/SaslClient.java (getNegotiatedProperty):
5452            Don't throw SaslException.
5453            * javax/security/sasl/SaslException.java (serialVersionUID): New
5454            field.
5455            * javax/security/sasl/AuthorizeCallback.java (AuthorizeCallback):
5456            Implements Serializable.
5457            (serialVersionUID): New field.
5458    
5459    2005-09-25  Casey Marshall  <csm@gnu.org>
5460    
5461            * gnu/java/security/provider/Gnu.java
5462            (<init>): add Diffie-Hellman key factory and key pair generator.
5463            * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl.java,
5464            * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl.java:
5465            new files.
5466    
5467  2005-09-24  Tom Tromey  <tromey@redhat.com>  2005-09-24  Tom Tromey  <tromey@redhat.com>
5468    
5469          * java/util/FormattableFlags.java (PLUS, SPACE, ZERO, COMMA,          * java/util/FormattableFlags.java (PLUS, SPACE, ZERO, COMMA,
# Line 525  Line 5484 
5484          Fixed.          Fixed.
5485          * java/util/Formatter.java: New file.          * java/util/Formatter.java: New file.
5486    
5487    2005-09-24  Roman Kennke  <kennke@aicas.com>
5488    
5489            * javax/swing/SizeRequirements.java
5490            (calculateAlignedPositions): Improved algorithm to better respect
5491            the minimum and maximum size and to better use the available space.
5492            (adjustFromRight): New helper method.
5493            (adjustFromLeft): New helper method.
5494    
5495    2005-09-24  Roman Kennke  <kennke@aicas.com>
5496    
5497            * javax/swing/BoxLayout.java
5498            (layoutContainer): Respect the insets of the container.
5499    
5500    2005-09-24  Roman Kennke  <kennke@aicas.com>
5501    
5502            * javax/swing/JComponent.java
5503            Fixed some API comments.
5504            (paintChildren): Set clip to exclude the border area.
5505    
5506    2005-09-24  Roman Kennke  <kennke@aicas.com>
5507    
5508            * javax/swing/JComponent.java
5509            (paint): Paint border after the children are painted. Otherwise the
5510            children could draw over the border.
5511    
5512    2005-09-24  Roman Kennke  <kennke@aicas.com>
5513    
5514            * javax/swing/SizeRequirements.java
5515            (getAlignedRequirements): Implemented this method.
5516            (calculateAlignedPositions): Implemented this method.
5517            * javax/swing/BoxLayout.java
5518            (Direction): Removed unneeded inner interface.
5519            (Horizontal): Removed unneeded inner class.
5520            (Vertical): Removed unneeded inner class.
5521            (SizeReq): Removed unneeded inner class.
5522            (preferredLayoutSize): Reimplemented to use SizeRequirements.
5523            (minimumLayoutSize): Reimplemented to use SizeRequirements.
5524            (maximumLayoutSize): Reimplemented to use SizeRequirements.
5525            (layoutContainer): Reimplemented to use SizeRequirements.
5526            (layoutAlgorithm): Removed unneeded package private method.
5527            (distributeSpace): Removed unneeded package private method.
5528            (getSizeRequirements): New private helper method.
5529    
5530    2005-09-24  Sven de Marothy  <sven@physto.se>
5531    
5532            * gnu/javax/imageio/bmp/BMPDecoder.java
5533            (BMPDecoder): Fix static field references.
5534    
5535    2005-09-24  Sven de Marothy  <sven@physto.se>
5536    
5537            * java/awt/Font.java
5538            Fixed comments.
5539            (pointSize): New field.
5540            (Font): Set size fields.
5541            (getSize, getSize2D): Return size fields.
5542    
5543    2005-09-24  Roman Kennke  <kennke@aicas.com>
5544    
5545            * javax/swing/JComponent.java
5546            (paint): Check if clip == null and if so set it to the component's
5547            bounds.
5548            * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5549            (getClipBounds): Added null check so that null is returned when
5550            clip == null, instead of throwing an NPE while accessing
5551            null.getBounds2D().
5552    
5553    2005-09-24  Andreas Tobler  <a.tobler@schweiz.ch>
5554    
5555            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5556            (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Replace deprecated
5557            gtk colormap stuff.
5558    
5559    2005-09-24  Roman Kennke  <kennke@aicas.com>
5560    
5561            * javax/swing/JComponent.java
5562            (paint): Activate double buffering if it is not already activated.
5563            (paintImmediately2): Prepare a component graphics object here and
5564            call paintDoubleBuffered with this.
5565            (paintDoubleBuffered): Changed to work nicely with the new paint()
5566            and paintImmediately2() methods.
5567    
5568    2005-09-24  Roman Kennke  <kennke@aicas.com>
5569    
5570            * javax/swing/plaf/basic/BasicLookAndFeel.java
5571            (initComponentDefaults): Added font default for
5572            FormattedTextField.font. Solves an NPE that was caused by a null
5573            font on a JFormattedTextField.
5574    
5575    2005-09-24  David Gilbert  <david.gilbert@object-refinery.com>
5576    
5577            * javax/swing/DefaultComboBoxModel.java
5578            (addElement): always fire event for interval added, and call
5579            setSelectedItem() if this is the first item.
5580    
5581    2005-09-24  David Gilbert  <david.gilbert@object-refinery.com>
5582    
5583            * javax/swing/DefaultComboBoxModel.java: updated API docs all over.
5584    
5585    2005-09-24  Sven de Marothy  <sven@physto.se>
5586    
5587            * java/awt/FontMetrics.java
5588            (getMaxCharBounds, hasUniformLineMetrics): New methods.
5589            
5590    2005-09-24  Sven de Marothy  <sven@physto.se>
5591    
5592            * gnu/javax/imageio/bmp/BMPDecoder.java,
5593            * gnu/javax/imageio/bmp/BMPImageReaderSpi.java,
5594            * gnu/javax/imageio/bmp/DecodeBF32.java,
5595            * gnu/javax/imageio/bmp/DecodeRGB8.java,
5596            * gnu/javax/imageio/bmp/BMPException.java,
5597            * gnu/javax/imageio/bmp/BMPInfoHeader.java,
5598            * gnu/javax/imageio/bmp/DecodeRGB1.java,
5599            * gnu/javax/imageio/bmp/DecodeRLE4.java,
5600            * gnu/javax/imageio/bmp/BMPFileHeader.java,
5601            * gnu/javax/imageio/bmp/DecodeRGB24.java,
5602            * gnu/javax/imageio/bmp/DecodeRLE8.java,
5603            * gnu/javax/imageio/bmp/BMPImageReader.java,
5604            * gnu/javax/imageio/bmp/DecodeBF16.java,
5605            * gnu/javax/imageio/bmp/DecodeRGB4.java:
5606            New files.
5607    
5608    2005-09-23  Roman Kennke  <kennke@aicas.com>
5609    
5610            * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5611            (setFont): If font == null, simply return. Avoids a NPE.
5612    
5613    2005-09-23  Sven de Marothy  <sven@physto.se>
5614    
5615            * java/io/OutputStreamWriter.java:
5616            (OutputStreamWriter): Added missing constructors.
5617    
5618    2005-09-23  Lillian Angel  <langel@redhat.com>
5619    
5620            * java/awt/Component.java
5621            (getFont): Should return null, not a default font.
5622            * javax/swing/ToolTipManager.java
5623            (showTip): Called revalidate currentTip before painted, and
5624            called validate on JDialog toolTip.
5625    
5626    2005-09-23  Roman Kennke  <kennke@aicas.com>
5627    
5628            * javax/swing/SwingUtilities.java
5629            (layoutCompoundLabel): Removed debug code.
5630    
5631    2005-09-23  Roman Kennke  <kennke@aicas.com>
5632    
5633            * javax/swing/JScrollPane.java
5634            (setHorizontalScrollBar): Removed handling of listeners on the model.
5635            This is now done in the BasicScrollPaneUI.
5636            (setHorizontalScrollBarPolicy): Added revalidate call.
5637            (setVerticalScrollBar): Removed handling of listeners on the model.
5638            This is now done in the BasicScrollPaneUI.
5639            (setVerticalScrollBarPolicy): Added revalidate call.
5640            (setViewport): Removed handling of listeners on the viewport.
5641            This is now done in the BasicScrollPaneUI.
5642            (createScrollListener): Removed unnecessary and undocumented method.
5643            The functionality of this method is moved to BasicScrollPaneUI
5644            as specified.
5645            (JScrollPane): Removed initialization of removed listener.
5646            * javax/swing/plaf/basic/BasicScrollPaneUI.java
5647            (HSBChangeListener): New inner class.
5648            (VSBChangeListener): New inner class.
5649            (ViewportChangeHandler): New inner class.
5650            (PropertyChangeHandler): New inner class.
5651            (MouseWheelHandler): New inner class.
5652            (installUI): Also call installListeners.
5653            (installListeners): New method. Initializes the listeners on the
5654            scrollpane.
5655            (createHSBChangeListener): New method.
5656            (createVSBChangeListener): New method.
5657            (createViewport): New method.
5658            (createPropertyChangeListener): New method.
5659            (uninstallUI): Also call uninstallListeners.
5660            (uninstallListeners): New method.
5661            (syncScrollPaneWithViewport): New method.
5662            (updateColumnHeader): New method.
5663            (updateRowHeader): New method.
5664            (updateScrollBarDisplayPolicy): New method.
5665            (updateViewport): New method.
5666    
5667    2005-09-23  Anthony Balkissoon  <abalkiss@redhat.com>
5668    
5669            * javax/swing/JTextField.java: Reformatted and added API docs.
5670    
5671    2005-09-23  Lillian Angel  <langel@redhat.com>
5672    
5673            * javax/swing/ToolTipManager.java
5674            (showTip): Set lightWeightPopupEnabled to default.
5675            Validated and repainted new containerPanel and
5676            repainted toolTipWindow and repainted currentTip. The
5677            toolTips paint well now.
5678    
5679    2005-09-23  Lillian Angel  <langel@redhat.com>
5680    
5681            * javax/swing/plaf/basic/BasicTreeUI.java
5682            (paintRecursive): Changed clip to be the visible
5683            rectangle of the view.
5684    
5685    2005-09-23  David Gilbert  <david.gilbert@object-refinery.com>
5686    
5687            * javax/swing/DefaultComboBoxModel.java
5688            (DefaultComboBoxModel(Object[])): set selected item,
5689            (DefaultComboBoxModel(Vector): likewise,
5690            (addElement): reimplemented,
5691            (removeElementAt): update selected item,
5692            (removeAllElements): clear selected item and fire correct event,
5693            (setSelectedItem): update item always,
5694            (getElementAt): return null for index out of bounds,
5695            * javax/swing/plaf/metal/MetalComboBoxButton.java
5696            (paintComponent): check for null selection.
5697    
5698    2005-09-23  Roman Kennke  <kennke@aicas.com>
5699    
5700            * javax/swing/plaf/basic/BasicToolBarUI.java
5701            Added some deprecated and unused fields for binary compatibility.
5702            (installListeners): Fixed method parameters.
5703            (installUI): Call installListeners with fixed method parameters.
5704    
5705    2005-09-23  Roman Kennke  <kennke@aicas.com>
5706    
5707            * javax/swing/plaf/basic/BasicPanelUI.java
5708            (uninstallUI): New method.
5709            (uninstallDefaults): New method.
5710    
5711    2005-09-23  Roman Kennke  <kennke@aicas.com>
5712    
5713            * javax/swing/plaf/basic/BasicOptionPaneUI.java
5714            (MinimumHeight): New constant field.
5715            (MinimumWidth): New constant field.
5716            (minimumWidth): Removed unused field.
5717            (minimumHeight): Removed unused field.
5718            (installDefaults): Removed initializing of minimumSize and
5719            minimumHeight.
5720            * javax/swing/plaf/basic/BasicLookAndFeel.java
5721            (initComponentDefaults): Initialize OptionPane.minimumSize from
5722            constant fields in BasicOptionPaneUI.
5723    
5724    2005-09-23  Roman Kennke  <kennke@aicas.com>
5725    
5726            * javax/swing/plaf/basic/BasicMenuUI.java
5727            (ChangeHandler): Added some deprecated and unused fields for
5728            binary compatibility.
5729    
5730    2005-09-23  Roman Kennke  <kennke@aicas.com>
5731    
5732            * javax/swing/plaf/basic/BasicInternalFrameUI.java
5733            (deactivateFrame): New method.
5734            (InternalFramePropertyChangeListener.propertyChange): Call
5735            new deactivate() method instead of getDesktopManager.deactivate()
5736    
5737    2005-09-23  Lillian Angel  <langel@redhat.com>
5738    
5739            Fixes Bug #24022
5740            * javax/swing/plaf/basic/BasicTreeUI.java
5741            (paint): Took out unneeded code.
5742    
5743    2005-09-23  Lillian Angel  <langel@redhat.com>
5744    
5745            Fixes Bug #23529
5746            * javax/swing/plaf/basic/BasicScrollBarUI.java
5747            (mousepressed): Made delay shorted while pressing the arrow
5748            button. This makes the scrollbar move more smoothly.
5749            (mouseReleased): Reset the delay to the default, so single
5750            clicks only move the scrollbar 1 unit. Also, when the
5751            mouse is released, the scrollbar should move 1 unit.
5752            (shouldScroll): Should not be able to scroll by block
5753            when the mouse is in the thumbRect.
5754            (mousePressed): Made delay shorted while pressing in the
5755            scroll area. This makes the scrollbar move more smoothly.
5756            (mouseReleased): Should move the scrollbar 1 block when the
5757            mouse is released. Also, reset the timer to default delay.
5758    
5759    2005-09-23  Roman Kennke  <kennke@aicas.com>
5760    
5761            * javax/swing/plaf/basic/BasicDesktopPaneUI.java
5762            (installKeyboardActions): Call renamed method registerKeyboardActions.
5763    
5764    2005-09-23  Roman Kennke  <kennke@aicas.com>
5765    
5766            * javax/swing/plaf/basic/BasicDesktopPaneUI.java
5767            (registerKeyboardAction): Renamed this method to
5768            registerKeyboardActions as specifie.
5769    
5770    2005-09-23  Roman Kennke  <kennke@aicas.com>
5771    
5772            * javax/swing/plaf/basic/BasicListUI.java
5773            (FocusHandler.repaintCellFocus): Marked protected instead of
5774            package private as specified.
5775            (KeyHandler.keyPressed): Call new methods selectNextIndex and
5776            selectPreviousIndex instead of doing the work here.
5777            (PropertyChangeHandler.propertyChange): Update the
5778            updateLayoutStateNeeded field correctly.
5779            (BasicListUI): Removed listener initialization. Moved this
5780            to installListeners.
5781            (installListeners): Initialize listeners here instead in the
5782            constructor. Use the createXXXListener hooks instead of creating
5783            the listeners directly.
5784            (createFocusListener): New hook method for creating a focus listener.
5785            (createListDataListener): New hook method for creating a list
5786            data listener.
5787            (createListSelectionListener): New hook method for creating a list
5788            selection listener.
5789            (createMouseInputListener): New hook method for creating a mouse
5790            input listener.
5791            (createPropertyChangeListener): New hook method for creating a
5792            property change listener.
5793    
5794    2005-09-23  David Gilbert <david.gilbert@object-refinery.com>
5795    
5796            * javax/swing/plaf/metal/MetalBorders.java
5797            (OptionDialogBorder): new class.
5798    
5799    2005-09-23  Roman Kennke  <kennke@aicas.com>
5800    
5801            * javax/swing/plaf/basic/BasicColorChooserUI.java
5802            (uninstallDefaultChoosers): New method.
5803            (uninstallUI): Call uninstallDefaultChoosers.
5804    
5805    2005-09-23  Roman Kennke  <kennke@aicas.com>
5806    
5807            * javax/swing/SwingUtilities.java
5808            (layoutCompoundLabel): Fix the case when verticalTextPosition=BOTTOM
5809            and without icon. The label text slipped out of the view rectangle
5810            in this case.
5811    
5812    2005-09-23  David Gilbert  <david.gilbert@object-refinery.com>
5813    
5814            * javax/swing/plaf/metal/MetalLookAndFeel.java
5815            (setCurrentTheme): throw exception if argument is null, improved API
5816            docs.
5817            
5818    2005-09-22  Roman Kennke  <kennke@aicas.com>
5819    
5820            * javax/swing/JPanel.java
5821            (accessibleContext): Removed this unnecessary field. Use the
5822            inherited field of the same name from JComponent instead.
5823    
5824    2005-09-22  Roman Kennke  <kennke@aicas.com>
5825    
5826            * javax/swing/UIManager.java
5827            (static_initializer): Load MetalLookAndFeel only as fallback, if
5828            the system property 'swing.defaultlaf' is not defined. Before
5829            it has accidentally loaded the MetalLookAndFeel in all cases,
5830            regardless of the property setting.
5831    
5832    2005-09-22  Roman Kennke  <kennke@aicas.com>
5833    
5834            * javax/swing/JComponent.java
5835            (paintChildren): If a child component is invisible, skip it.
5836            Handle the (rare) case when no clip is set as if it's set to the
5837            child component's bounds. These fixes should make Swing working
5838            again as before.
5839    
5840    2005-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
5841    
5842            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5843            (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_gtkWindowSetResizable):
5844            Replace deprecated gtk_window_set_policy with gtk_window_set_resizable.
5845    
5846            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
5847            (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Replace deprecated
5848            gtk_container_children with gtk_container_get_children.
5849    
5850            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5851            (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu): Likewise.
5852            (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_delMenu): Likewise.
5853    
5854            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
5855            (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Replace deprecated
5856            gdk_pixmap_unref with g_object_unref.
5857    
5858            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5859            (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
5860            Replace deprecated gdk_cursor_destroy with gdk_cursor_unref.
5861            (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetParent):
5862            Replace deprecated gtk_container_children with
5863            gtk_container_get_children.
5864            (find_fg_color_widget): Replace deprecated macro GTK_IS_OPTION_MENU with
5865            GTK_IS_COMBO_BOX.
5866            (component_button_release_cb): Replace deprecated gdk_window_get_size
5867            with gdk_drawable_get_size.
5868    
5869            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
5870            (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
5871            Replace deprecated gtk_radio_button_group with
5872            gtk_radio_button_get_group.
5873    
5874            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
5875            (Java_gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer_remove): Likewise.
5876    
5877            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
5878            (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Replace deprecated
5879            gtk_type_new with gtk_drawing_area_new.
5880    
5881            * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5882            (Java_gnu_java_awt_peer_gtk_GdkGraphics_copyState): Replace deprecated
5883            gdk_*_ref with g_object_ref.
5884            (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II): Likewise.
5885            Replace deprecated gdk_rgb_get_cmap with gdk_rgb_get_colormap.
5886            (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage): Replace
5887            deprecated gdk_*_ref with g_object_ref.
5888            (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked): Likewise.
5889            (Java_gnu_java_awt_peer_gtk_GdkGraphics_dispose): Replace deprecated
5890            gdk_*_unref with g_object_unref.
5891            (Java_gnu_java_awt_peer_gtk_GdkGraphics_copyArea): Replace deprecated
5892            gdk_window_copy_area with gdk_draw_drawable.
5893            (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor): Replace deprecated
5894            gdk_color_alloc with gdk_colormap_alloc_color.
5895    
5896    2005-09-22  Anthony Balkissoon  <abalkiss@redhat.com>
5897    
5898            * javax/swing/text/Utilities.java:
5899            (getWordEnd): Implemented.
5900            (getWordStart): Implemented.
5901    
5902    2005-09-22  Keith SEitz  <keiths@redhat.com>
5903    
5904            * gnu/classpath/jdwp/event/filters/StepFilter.java (StepFilter): Do not test
5905            for null thread ID -- just test if it has not been garbage collected.
5906            * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java (ThreadOnlyFilter):
5907            Likewise.
5908    
5909    2005-09-22  Lillian Angel  <langel@redhat.com>
5910    
5911            * javax/swing/JPopupMenu.java
5912            (setVisible): Size of menu should always be the preferred
5913            size. It was sometimes cutting of the accelerator.
5914            * javax/swing/plaf/basic/BasicMenuItemUI.java:
5915            Increased defaultAcceleratorLabelGap field to 10, to
5916            make menuItem more readable.
5917    
5918    2005-09-22  Anthony Balkissoon  <abalkiss@redhat.com>
5919    
5920            * javax/swing/text/Utilities.java:
5921            (getPreviousWord): Fixed incorrect logic.  Use preceding() instead of
5922            following(), previous() instead of next().
5923    
5924    2005-09-22  Anthony Balkissoon  <abalkiss@redhat.com>
5925    
5926            * gnu/java/text/BaseBreakIterator.java:
5927            (following): Don't restore old CharacterIterator index.
5928    
5929    2005-09-22  Tom Tromey  <tromey@redhat.com>
5930    
5931            * javax/swing/JList.java (AccessibleJList): New constructor.
5932    
5933    2005-09-22  Tom Tromey  <tromey@redhat.com>
5934    
5935            * java/net/ServerSocket.java (accept): Use correct security manager
5936            call.
5937    
5938    2005-09-22  Anthony Balkissoon  <abalkiss@redhat.com>
5939    
5940            * javax/swing/text/Utilities.java:
5941            (getNextWord): Implemented.
5942            (getPreviousWord): Implemented.
5943    
5944    2005-09-22  Lillian Angel  <langel@redhat.com>
5945    
5946            * javax/swing/plaf/MetalLookAndFeel.java
5947            (initComponentDefaults): Changed back to original
5948            values.
5949    
5950    2005-09-22  Lillian Angel  <langel@redhat.com>
5951    
5952            * javax/swing/ToolTipManager.java
5953            (showTip): Moved tooltip location adjustments to a
5954            helper method.
5955            (adjustLocation): New helper method.
5956            * javax/swing/plaf/basic/BasicLookAndFeel.java
5957            (initComponentDefaults): Fixed defaults for Table,
5958            TableHeader, Tree to match JDK.
5959            * javax/swing/plaf/MetalLookAndFeel.java
5960            (initComponentDefaults): Fixed defaults for Table and
5961            TableHeader to match JDK.      
5962            * javax/swing/plaf/basic/BasicToolTipUI.java
5963            (defaultBorder): Removed, along with inner class. Not needed.
5964            (installDefaults): Changed border to be the default border in
5965            L&F.
5966    
5967    2005-09-22  Roman Kennke  <kennke@aicas.com>
5968    
5969            * javax/swing/JSpinner.java
5970            (ListEditor): New inner class. Provides an editor for the
5971            SpinnerListModel.
5972    
5973    2005-09-22  Tom Tromey  <tromey@redhat.com>
5974    
5975            * java/io/FileWriter.java (FileWriter): Typo fix.
5976    
5977    2005-09-22  Roman Kennke  <kennke@aicas.com>
5978    
5979            * javax/swing/JApplet.java
5980            (accessibleContext): Made field protected as specified.
5981            * javax/swing/JButton.java
5982            (accessibleContext): Removed field. The inherited JComponents
5983            accessibleContext field should be used instead.
5984            * javax/swing/JLabel.java
5985            (accessibleContext): Removed field. The inherited JComponents
5986            accessibleContext field should be used instead.
5987            * javax/swing/JRootPane.java
5988            (JRootPane): Removed unnecessary setDoubleBuffered() call.
5989    
5990    2005-09-22  Anthony Balkissoon  <abalkiss@redhat.com>
5991    
5992            * javax/swing/text/html/HTML.java:
5993            (SYNTHETIC): Renamed variable SYNTETIC to SYNTHETIC.
5994            (Tag): Changed comment for static Tag IMPLIED.
5995    
5996    2005-09-22  Roman Kennke  <kennke@aicas.com>
5997    
5998            * javax/swing/JViewport.java
5999            (JViewport): Initialize cached fields for blitting.
6000            (setViewPosition): Repaint viewport.
6001            (revalidate): Set damaged flag. Used for blitting.
6002            (reshape): Likewise.
6003            (paint): New method. Decide which paint method to use.
6004            (computeBlit): New method. Computes the parameters for blitting.
6005            (paintSimple): New method. Performs painting in simple mode.
6006            (paintBackingStore): New method. Performs painting in backingstore
6007            mode.
6008            (paintBlit): New method. Performs painting in blit mode. For
6009            now this falls back to backing store mode.
6010            * javax/swing/plaf/basic/BasicViewportUI.java
6011            (ChangeListener): Removed inner class.
6012            (installDefaults): Load default for background color. Changed
6013            signature to protected.
6014            (installListeners): Removed method.
6015            (uninstallDefaults): Changed signature to protected.
6016            (installUI): Call installDefaults().
6017            (uninstallUI): Call uninstallDefaults().
6018            (getPreferredSize): Removed.
6019            (paint): Removed.
6020            (paintSimple): Removed.
6021            (paintBackingStore): Removed.
6022    
6023    2005-09-22  Roman Kennke  <kennke@aicas.com>
6024    
6025            * javax/swing/JComponent.java
6026            (AccessibleJComponent.addPropertyChangeListener): Partly omplemented.
6027            (AccessibleJComponent.getAccessibleStateSet): Partly implemented.
6028            (doubleBuffered): Default value of this field is true.
6029            (paint): Moved double buffer painting stuff to separate method.
6030            (paintChildren): Don't call into AWT painting code here. This allows
6031            for a small optimization.
6032            (paintImmediately): Don't go up to the parent window, try to start
6033            painting on the nearest JRootPane if possible.
6034            (paintImmediately2): New method. Actually performs repainting
6035            on the repaint root.
6036            (paintDoubleBuffered): New method. Performs painting using
6037            a double buffer.
6038            (paintSimple): New method. Performs painting without buffer.
6039    
6040    2005-09-22  David Gilbert  <david.gilbert@object-refinery.com>
6041    
6042            * javax/swing/filechooser/FileFilter.java: reformatted and added API
6043            docs.
6044    
6045  2005-09-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>  2005-09-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6046    
6047          * gnu/classpath/ByteArray.java,          * gnu/classpath/ByteArray.java,
# Line 576  Line 6093 
6093          * vm/reference/java/lang/VMPackage.java:          * vm/reference/java/lang/VMPackage.java:
6094          Fixed address within GPL.          Fixed address within GPL.
6095                    
6096    2005-09-21  Lillian Angel  <langel@redhat.com>
6097    
6098            * javax/swing/ToolTipManager.java
6099            (showTip): Fixed location of tooltip. Sometimes
6100            the ToolTip was being cut off.
6101    
6102    2005-09-21  Mark Wielaard  <mark@klomp.org>
6103    
6104            * gnu/classpath/ByteArray.java: Reindent boilerplate.
6105    
6106    2005-09-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6107    
6108            * gnu/classpath/ByteArray.java,
6109            * gnu/javax/crypto/DiffieHellmanImpl.java,
6110            * gnu/javax/crypto/GnuDHPrivateKey.java,
6111            * gnu/javax/crypto/RSACipherImpl.java:
6112            Fixed address within GPL license.
6113    
6114    2005-09-21  Mark Wielaard  <mark@klomp.org>
6115    
6116            * lib/split-for-gcj.sh: Cut list to 3 package levels deep.
6117    
6118    2005-09-21  Anthony Balkissoon  <abalkiss@redhat.com>
6119    
6120            * javax/swing/text/html/HTML.java:
6121            (Tag): Changed name of IMPLIED Tag from "implied" to "p-implied" to
6122            match the JDK.
6123            * javax/swing/text/html/HTMLDocument.java:
6124            (AdditionalComments): New field.
6125    
6126    2005-09-21  Anthony Balkissoon  <abalkiss@redhat.com>
6127    
6128            * javax/swing/text/html/HTMLDocument.java:
6129            (getBase): Implemented.
6130            (setBase): Implemented.
6131            (getPreservesUnknownTags): Implemented.
6132            (setPreservesUnknownTags): Implemented.
6133            (BlockElement): New class partially implemented.
6134    
6135    2005-09-21  Tom Tromey  <tromey@redhat.com>
6136    
6137            * java/awt/BorderLayout.java: Reverted field reordering.
6138    
6139    2005-09-21  Lillian Angel  <langel@redhat.com>
6140    
6141            * javax/swing/JTable.java
6142            (distributeSpill): Fixed a NPE.
6143            * javax/swing/ToolTipManager.java
6144            (mouseExited): No need to do this stuff, removed code.
6145            (showTip): Revalidating and repainting too much, removed.
6146            (hideTip): Likewise.
6147    
6148    2005-09-21  Tom Tromey  <tromey@redhat.com>
6149    
6150            * java/awt/BorderLayout.java (invalidateLayout): Updated comment.
6151            (setBounds): Likewise.
6152            (MIN, MAX, PREF): Moved nearer top of file.
6153            (getLayoutComponent): New methods.
6154            (getConstraints): New method.
6155            (vgap, hgap, north, south, east, west): Reordered fields to conform
6156            to serialization spec.
6157    
6158    2005-09-21  Anthony Balkissoon  <abalkiss@redhat.com>
6159    
6160            * javax/swing/text/html/HTMLDocument.java:
6161            (LeafIterator): New class.
6162            (getIterator): Implemented.
6163            (Iterator): New abstract class.
6164    
6165    2005-09-21  Tom Tromey  <tromey@redhat.com>
6166    
6167            * java/math/BigDecimal.java (ZERO, ONE): Now public.  Updated
6168            javadoc.
6169            (TEN): New constant.
6170            * java/math/BigInteger.java (ZERO): Updated javadoc.
6171            (ONE): Likewise.
6172            (TEN): New constant.
6173    
6174    2005-09-21  Lillian Angel  <langel@redhat.com>
6175    
6176            Fixes Bug #23937
6177            * javax/swing/plaf/basic/BasicOptionPaneUI.java
6178            (propertyChange): When WANTS_INPUT_PROPERTY is changed,
6179            the buttons should be updated.
6180            (getButtons): Applied patch in bug report. Sets default
6181            buttons.
6182    
6183    2005-09-21  Lillian Angel  <langel@redhat.com>
6184    
6185            * javax/swing/ToolTipManager.java
6186            (showTip): Added code to move currentPoint to a new place.
6187            (getGoodPoint): Removed, not needed.
6188    
6189    2005-09-21  David Gilbert  <david.gilbert@object-refinery.com>
6190    
6191            * javax/swing/plaf/metal/MetalFileChooserUI.java: new file (partial
6192            implementation).
6193    
6194    2005-09-20  Lillian Angel  <langel@redhat.com>
6195    
6196            * javax/swing/JPopupMenu.java
6197            (setVisible): If HeavyWeightPopup, setLightWeightPopupEnabled
6198            is false.
6199            * javax/swing/ToolTipManager.java
6200            (showTip): Change so toolTips on lightWeightPopups are
6201            added different than those on heavyWeightPopups.
6202            (canToolTipFit): Removed. This is not needed/used.
6203    
6204    2005-09-20  Lillian Angel  <langel@redhat.com>
6205    
6206            * javax/swing/ToolTipManager.java
6207            (mouseMoved): Removed unneeded code. If the mouse
6208            moves into another component, then mouseEntered would
6209            do the same thing. Otherwise, it is not needed.
6210            (showTip): Fixed so that the containerPanel is an
6211            instance of Panel. Made code more efficent.
6212            Tooltips were causing weird problems with the
6213            JMenus.
6214            (getGoodPoint): Fixed to return a better location.
6215            * javax/swing/plaf/basic/BasicMenuBarUI.java
6216            (mouseClicked): Fixed to prevent a NPE.
6217    
6218    2005-09-20  Tom Tromey  <tromey@redhat.com>
6219    
6220            PR classpath/22906:
6221            * gnu/java/net/protocol/jar/Connection.java (get): Added useCaches
6222            argument.
6223            (connect): Updated.
6224    
6225    2005-09-20  Tom Tromey  <tromey@redhat.com>
6226    
6227            * javax/print/DocFlavor.java (serialVersionUID): Fixed typo.
6228    
6229    2005-09-19  Anthony Balkissoon  <abalkiss@redhat.com>
6230    
6231            * javax/swing/text/DefaultEditorKit.java:
6232            (write): Partially Implemented and made slight correction to API docs.
6233            * javax/swing/text/html/HTMLEditorKit.java:
6234            (createDefaultDocument): Override parent method because we need to
6235            return an HTMLDocument not a DefaultStyledDocument.
6236            
6237    2005-09-20  Roman Kennke  <kennke@aicas.com>
6238    
6239            Fixes PR #23900.
6240            * javax/swing/JLayeredPane.java
6241            (remove(int)): Removed repaint() call. This is unnecessary because
6242            already triggered by Container.remove().
6243            (remove(Component)): Removed this superfluous method. It's not
6244            in the specs and the functionality is already in Container.
6245            (paint): New method. Overridden in order to provide reasonable
6246            painting for JLayeredPanes.
6247    
6248    2005-09-20  Roman Kennke  <kennke@aicas.com>
6249    
6250            * javax/swing/plaf/basic/BasicTextUI.java
6251            (UpdateHandler): Renamed to PropertyChangeHandler. This name is
6252            closer to the purpose of this class.
6253            (PropertyChangeHandler.propertyChange): Delegate property change
6254            to propertyChange hook method in the enclosing BasicTextUI.
6255            (propertyChange): New protected method. This serves as a hook
6256            for subclasses to handle property changes in the text component.
6257            * javax/swing/plaf/basic/BasicTextFieldUI.java
6258            (properyChange): Handle editable property here and adjust background
6259            accordingly.
6260    
6261    2005-09-20  Roman Kennke  <kennke@aicas.com>
6262    
6263            * javax/swing/text/DefaultStyledDocument.java
6264            (getParagraphElement): If the position argument is out of the
6265            document's bounds, then the closest paragraph element must be
6266            returned. This is fixed.
6267    
6268    2005-09-20  Roman Kennke  <kennke@aicas.com>
6269    
6270            * javax/swing/JTable.java
6271            (resizeAndRepaint): New protected method.
6272    
6273    2005-09-20  Tom Tromey  <tromey@redhat.com>
6274    
6275            * javax/xml/namespace/QName.java: Now Serializable.
6276            (serialVersionUID): New field.
6277            (qName, hashCode): Now transient.
6278            (QName): Don't compute qName here.
6279            (equals): Now final.
6280            (hashCode): Simplified.
6281            (toString): Compute qName here.
6282    
6283    2005-09-20  Roman Kennke  <kennke@aicas.com>
6284    
6285            * javax/swing/plaf/metal/MetalBorders.java
6286            (getTextFieldBorder): This method must return an BorderUIResource
6287            instance. Fixed.
6288    
6289    2005-09-20  Mark Wielaard  <mark@klomp.org>
6290    
6291            Reported by Martin Cordova <martin.cordova@gmail.com>
6292            * native/jni/java-net/javanet.c (_javanet_accept): Throw
6293            SocketTimeoutException on EAGAIN timeout.
6294    
6295  2005-09-20  Roman Kennke  <kennke@aicas.com>  2005-09-20  Roman Kennke  <kennke@aicas.com>
6296    
6297          * javax/swing/plaf/basic/BasicButtonUI.java          * javax/swing/plaf/basic/BasicButtonUI.java
# Line 729  Line 6445 
6445          cast.  If acquireComponentForMouseEvent reveals we're going to          cast.  If acquireComponentForMouseEvent reveals we're going to
6446          re-dispatch this event to ourselves (and loop infinitely), return. Also          re-dispatch this event to ourselves (and loop infinitely), return. Also
6447          replaced contentPane by glassPane as the source argument to          replaced contentPane by glassPane as the source argument to
6448          SwingUtilities.convertMouseEvent since the glassPane is the real source.          SwingUtilities.convertMouseEvent since the glassPane is the real
6449            source.
6450    
6451  2005-09-19  David Gilbert  <david.gilbert@object-refinery.com>  2005-09-19  David Gilbert  <david.gilbert@object-refinery.com>
6452    
6453          * javax/swing/plaf/basic/BasicArrowButton.java          * javax/swing/plaf/basic/BasicArrowButton.java
# Line 4756  Line 10474 
10474          (setReference): New method.          (setReference): New method.
10475          * gnu/classpath/jdwp/id/ObjectId.java (getObject): New method.          * gnu/classpath/jdwp/id/ObjectId.java (getObject): New method.
10476          * gnu/classpath/jdwp/id/ReferenceTypeId.java (getType): New method.          * gnu/classpath/jdwp/id/ReferenceTypeId.java (getType): New method.
10477          * gnu/classpath/jdwp/id/StringId.java (getString): New method.          * gnu/classpath/jdwp/id/StriNgId.java (getString): New method.
10478          * gnu/classpath/jdwp/id/ThreadGroupId.java (getThreadGroup): New method.          * gnu/classpath/jdwp/id/ThreadGroupId.java (getThreadGroup): New method.
10479          * gnu/classpath/jdwp/id/ThreadId.java (getThread): New method.          * gnu/classpath/jdwp/id/ThreadId.java (getThread): New method.
10480    
# Line 16716  Line 22434 
22434          gnu/java/locale/LocaleInformation_gu_IN.java,          gnu/java/locale/LocaleInformation_gu_IN.java,
22435          gnu/java/locale/LocaleInformation_gv.java,          gnu/java/locale/LocaleInformation_gv.java,
22436          gnu/java/locale/LocaleInformation_gv_GB.java,          gnu/java/locale/LocaleInformation_gv_GB.java,
22437          gnu/java/locale/LocaleInformation_he.java,          gnujava/locale/LocaleInformation_he.java,
22438          gnu/java/locale/LocaleInformation_he_IL.java,          gnu/java/locale/LocaleInformation_he_IL.java,
22439          gnu/java/locale/LocaleInformation_hi.java,          gnu/java/locale/LocaleInformation_hi.java,
22440          gnu/java/locale/LocaleInformation_hi_IN.java,          gnu/java/locale/LocaleInformation_hi_IN.java,
# Line 17926  Line 23644 
23644          * java/util/logging/LogManager.java: Reformatted.          * java/util/logging/LogManager.java: Reformatted.
23645          (readConfiguration): If a logger for a key is not found, create one.          (readConfiguration): If a logger for a key is not found, create one.
23646    
23647  2005-02-16  Michael Koch  <konqueror@gmx.de>  2005-02-16 Michael Koch  <konqueror@gmx.de>
23648    
23649          * scripts/checkstyle-config.xml: Activate JavadocStyle and          * scripts/checkstyle-config.xml: Activate JavadocStyle and
23650          IllegalInstantiation tests.          IllegalInstantiation tests.

Legend:
Removed from v.1.2386.2.163  
changed lines
  Added in v.1.2386.2.164

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26