OSDN Git Service

bb05c53795be46d4a71ca3891a856bd8e66cc1eb
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-09-21  Tom Tromey  <tromey@redhat.com>
2
3         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
4         Indentation fix.
5
6 2004-09-21  Michael Koch  <konqueror@gmx.de>
7
8         * java/net/Socket.java
9         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
10
11 2004-09-21  Casey Marshall  <csm@gnu.org>
12
13         * javax/crypto/MacSpi.java (clone): Provide meaningful
14         implementation.
15
16 2004-09-21  Tom Tromey  <tromey@redhat.com>
17
18         PR libgcj/16869:
19         * Makefile.in: Rebuilt.
20         * Makefile.am (MOSTLYCLEANFILES): Removed.
21         (mostlyclean-local): Remove header files.
22
23 2004-09-21  Casey Marshall  <csm@gnu.org>
24
25         * java/security/cert/X509CRLSelector.java:
26         (match): remove unreachable try-catch clauses.
27         Reported by: Dalibor Topic <robilad@kaffe.org>
28
29 2004-09-21  Mark Wielaard  <mark@klomp.org>
30
31         * java/util/TreeMap.java (root): Don't initialize.
32         (TreeMap(Comparator)): Call fabricateTree(0).
33         (fabricateTree): Initialize root and size when count is 0.
34
35 2004-09-21  Sven de Marothy <sven@physto.se>
36
37         * java/nio/ByteBuffer.java (hashCode): Implemented.
38         * java/nio/CharBuffer.java: Likewise.
39         * java/nio/DoubleBuffer.java: Likewise.
40         * java/nio/FloatBuffer.java: Likewise.
41         * java/nio/LongBuffer.java: Likewise.
42         * java/nio/IntBuffer.java: Likewise.
43         * java/nio/ShortBuffer.java: Likewise.
44
45 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
46
47         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
48
49 2004-09-21  Michael Koch  <konqueror@gmx.de>
50
51         * javax/net/ssl/SSLServerSocket.java:
52         Removed comment about "Do not edit this file, it's generated.".
53
54 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
55
56         Import the big Crypto/Jessie/Security merge from Classpath.
57
58         * Makefile.am: Add imported files.
59         * Makefile.in: Regenerate.
60
61         2004-08-14  Casey Marshall <csm@gnu.org>
62
63         The Big Crypto Merge of 2004.
64
65         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
66         Crypto's version.
67
68         Files imported from GNU Crypto.
69         * javax/crypto/BadPaddingException.java
70         * javax/crypto/Cipher.java
71         * javax/crypto/CipherInputStream.java
72         * javax/crypto/CipherOutputStream.java
73         * javax/crypto/CipherSpi.java
74         * javax/crypto/EncryptedPrivateKeyInfo.java
75         * javax/crypto/ExemptionMechanism.java
76         * javax/crypto/ExemptionMechanismException.java
77         * javax/crypto/ExemptionMechanismSpi.java
78         * javax/crypto/IllegalBlockSizeException.java
79         * javax/crypto/KeyAgreement.java
80         * javax/crypto/KeyAgreementSpi.java
81         * javax/crypto/KeyGenerator.java
82         * javax/crypto/KeyGeneratorSpi.java
83         * javax/crypto/Mac.java
84         * javax/crypto/MacSpi.java
85         * javax/crypto/Makefile.am
86         * javax/crypto/NoSuchPaddingException.java
87         * javax/crypto/NullCipher.java
88         * javax/crypto/NullCipherImpl.java
89         * javax/crypto/SealedObject.java
90         * javax/crypto/SecretKey.java
91         * javax/crypto/SecretKeyFactory.java
92         * javax/crypto/SecretKeyFactorySpi.java
93         * javax/crypto/ShortBufferException.java
94         * javax/crypto/interfaces/DHKey.java
95         * javax/crypto/interfaces/DHPrivateKey.java
96         * javax/crypto/interfaces/DHPublicKey.java
97         * javax/crypto/interfaces/PBEKey.java
98         * javax/crypto/spec/DESKeySpec.java
99         * javax/crypto/spec/DESedeKeySpec.java
100         * javax/crypto/spec/DHGenParameterSpec.java
101         * javax/crypto/spec/DHParameterSpec.java
102         * javax/crypto/spec/DHPrivateKeySpec.java
103         * javax/crypto/spec/DHPublicKeySpec.java
104         * javax/crypto/spec/IvParameterSpec.java
105         * javax/crypto/spec/PBEKeySpec.java
106         * javax/crypto/spec/PBEParameterSpec.java
107         * javax/crypto/spec/RC2ParameterSpec.java
108         * javax/crypto/spec/RC5ParameterSpec.java
109         * javax/crypto/spec/SecretKeySpec.java
110         * javax/security/auth/AuthPermission.java
111         * javax/security/auth/DestroyFailedException.java
112         * javax/security/auth/Destroyable.java
113         * javax/security/auth/Policy.java
114         * javax/security/auth/PrivateCredentialPermission.java
115         * javax/security/auth/RefreshFailedException.java
116         * javax/security/auth/Refreshable.java
117         * javax/security/auth/Subject.java
118         * javax/security/auth/SubjectDomainCombiner.java
119         * javax/security/auth/callback/Callback.java
120         * javax/security/auth/callback/CallbackHandler.java
121         * javax/security/auth/callback/ChoiceCallback.java
122         * javax/security/auth/callback/ConfirmationCallback.java
123         * javax/security/auth/callback/LanguageCallback.java
124         * javax/security/auth/callback/NameCallback.java
125         * javax/security/auth/callback/PasswordCallback.java
126         * javax/security/auth/callback/TextInputCallback.java
127         * javax/security/auth/callback/TextOutputCallback.java
128         * javax/security/auth/callback/UnsupportedCallbackException.java
129         * javax/security/auth/login/AccountExpiredException.java
130         * javax/security/auth/login/AppConfigurationEntry.java
131         * javax/security/auth/login/Configuration.java
132         * javax/security/auth/login/CredentialExpiredException.java
133         * javax/security/auth/login/FailedLoginException.java
134         * javax/security/auth/login/LoginContext.java
135         * javax/security/auth/login/LoginException.java
136         * javax/security/auth/login/NullConfiguration.java
137         * javax/security/auth/x500/X500PrivateCredential.java
138         * javax/security/sasl/AuthenticationException.java
139         * javax/security/sasl/AuthorizeCallback.java
140         * javax/security/sasl/RealmCallback.java
141         * javax/security/sasl/RealmChoiceCallback.java
142         * javax/security/sasl/Sasl.java
143         * javax/security/sasl/SaslClient.java
144         * javax/security/sasl/SaslClientFactory.java
145         * javax/security/sasl/SaslException.java
146         * javax/security/sasl/SaslServer.java
147         * javax/security/sasl/SaslServerFactory.java
148         * org/ietf/jgss/ChannelBinding.java
149         * org/ietf/jgss/GSSContext.java
150         * org/ietf/jgss/GSSCredential.java
151         * org/ietf/jgss/GSSException.java
152         * org/ietf/jgss/GSSManager.java
153         * org/ietf/jgss/GSSName.java
154         * org/ietf/jgss/MessageProp.java
155         * org/ietf/jgss/Oid.java
156         * org/ietf/jgss/MessagesBundle.properties
157
158         Files imported from Jessie <http://www.nongnu.org/jessie/>
159         * javax/net/ServerSocketFactory.java
160         * javax/net/SocketFactory.java
161         * javax/net/VanillaServerSocketFactory.java
162         * javax/net/VanillaSocketFactory.java
163         * javax/net/ssl/HandshakeCompletedEvent.java
164         * javax/net/ssl/HandshakeCompletedListener.java
165         * javax/net/ssl/HostnameVerifier.java
166         * javax/net/ssl/HttpsURLConnection.java
167         * javax/net/ssl/KeyManager.java
168         * javax/net/ssl/KeyManagerFactory.java
169         * javax/net/ssl/KeyManagerFactorySpi.java
170         * javax/net/ssl/ManagerFactoryParameters.java
171         * javax/net/ssl/SSLContext.java
172         * javax/net/ssl/SSLContextSpi.java
173         * javax/net/ssl/SSLException.java
174         * javax/net/ssl/SSLHandshakeException.java
175         * javax/net/ssl/SSLKeyException.java
176         * javax/net/ssl/SSLPeerUnverifiedException.java
177         * javax/net/ssl/SSLPermission.java
178         * javax/net/ssl/SSLProtocolException.java
179         * javax/net/ssl/SSLServerSocket.java
180         * javax/net/ssl/SSLServerSocketFactory.java
181         * javax/net/ssl/SSLSession.java
182         * javax/net/ssl/SSLSessionBindingEvent.java
183         * javax/net/ssl/SSLSessionBindingListener.java
184         * javax/net/ssl/SSLSessionContext.java
185         * javax/net/ssl/SSLSocket.java
186         * javax/net/ssl/SSLSocketFactory.java
187         * javax/net/ssl/TrivialHostnameVerifier.java
188         * javax/net/ssl/TrustManager.java
189         * javax/net/ssl/TrustManagerFactory.java
190         * javax/net/ssl/TrustManagerFactorySpi.java
191         * javax/net/ssl/X509KeyManager.java
192         * javax/net/ssl/X509TrustManager.java
193         * javax/security/cert/Certificate.java
194         * javax/security/cert/CertificateEncodingException.java
195         * javax/security/cert/CertificateException.java
196         * javax/security/cert/CertificateExpiredException.java
197         * javax/security/cert/CertificateNotYetValidException.java
198         * javax/security/cert/CertificateParsingException.java
199         * javax/security/cert/X509CertBridge.java
200         * javax/security/cert/X509Certificate.java
201
202         2004-08-20  Casey Marshall  <csm@gnu.org>
203
204         * java/security/cert/X509CRLSelector.java: New file.
205         * java/security/cert/X509CertSelector.java: New file.
206
207 2004-09-15  Michael Koch  <konqueror@gmx.de>
208
209         * gnu/java/net/protocol/file/Handler.java
210         (openConnection): Don't throw exception if host part for file: URI is
211         present. setURL() keeps file: protocol if ftp: protocol is not
212         available.
213
214 2004-09-14  Richard Henderson  <rth@redhat.com>
215
216         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
217         value of sigsuspend.
218
219 2004-09-12  Tom Tromey  <tromey@redhat.com>
220
221         * javax/naming/CompoundName.java (CompoundName): Don't check for
222         separator in "flat" case.
223
224 2004-09-12  Michael Koch  <konqueror@gmx.de>
225
226         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
227         AM_CONFIG_HEADER by AC_CONFIG_FILES.
228         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
229         Regenerate.
230
231 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
232
233         PR libgcj/14751
234         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
235         handle in newly-allocated _Jv_Thread_t.
236         (_Jv_ThreadDestroyData): Close thread handle.
237         (_Jv_ThreadStart): Remove obsolete comment.
238         Store handle of newly-created thread in _Jv_Thread_t.
239         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
240         before including <windows.h>
241         #define _Jv_HaveCondDestroy
242
243 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
244
245         * java/lang/natThread.cc (finalize_native): Destroy
246         join conditional variable and mutex if these destroy
247         operations are supported.
248
249 2004-09-10  Dalibor Topic <robilad@kaffe.org>
250
251         * gnu/java/net/protocol/file/Connection.java (permission): New field.
252         (DEFAULT_PERMISSION): New constant.
253         (Connection): Create a FilePermission with permission to read file.
254
255 2004-09-10  Michael Koch  <konqueror@gmx.de>
256
257         * gnu/java/net/protocol/file/Connection.java
258         (getLastModified): Moved around.
259         (getPermission): Return stored permission.
260
261 2004-09-10  Michael Koch  <konqueror@gmx.de>
262
263         * Makefile.in: Regenerate.
264
265 2004-09-10  Michael Koch  <konqueror@gmx.de>
266
267         * Makefile.am: Reverted accidently commited stuff.
268         * configure: Regenerated.
269
270 2004-09-10  Michael Koch  <konqueror@gmx.de>
271
272         * gnu/java/net/protocol/file/Connection.java
273         (lineSeparator): Made non-final.
274         (static): Removed.
275         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
276         instead of StringBufferInputStream.
277
278 2004-09-10  Michael Koch  <konqueror@gmx.de>
279
280         * gnu/java/net/protocol/file/Connection.java
281         (connect): Handle file is a directory case.
282
283 2004-09-10  Michael Koch  <konqueror@gmx.de>
284
285         * Makefile.am
286         (xlib_includes): Removed.
287         (AM_CPPFLAGS): Renamed from INCLUDES.
288         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
289         * Makefile.in: Regenerate.
290
291 2004-09-09  Michael Koch  <konqueror@gmx.de>
292
293         * java/security/ProtectionDomain.java,
294         * java/util/PropertyPermissionCollection.java:
295         Fixed javadocs all over.
296
297 2004-09-09  Sven de Marothy  <sven@physto.se>
298
299         Patch from David Gilbert <david.gilbert@object-refinery.com>
300         * java/lang/Comparable.java: Fixed documentation errors.
301         * java/util/Arrays.java: Likewise.
302
303 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
304
305         * java/net/Inet4Address.java
306         (Inet4Address): Added comment to serialization UID.
307         * java/text/Format.java
308         (Format): Added comment to serialization UID.
309
310 2004-09-09  Michael Koch  <konqueror@gmx.de>
311
312         * java/lang/System.java
313         (err): Fixed javadoci to point to setErr() and not setOut().
314
315 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
316
317         (normalizePath): Added special case for windows systems.
318
319 2004-09-09  Michael Koch  <konqueror@gmx.de>
320
321         * java/io/File.java
322         (dupSeparator): Made private.
323         (File(URI)): New constructor.
324         (getParentFile): Fixed javadoc.
325         (createTempFile): Reformated.
326         (setReadOnly): Added comment.
327         (deleteOnExit): Merged javadoc with classpath version.
328
329 2004-09-09  Michael Koch  <konqueror@gmx.de>
330
331         * Makefile.am: Don't try to include deps.mk.
332         * Makefile.in: Regenerated.
333
334 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
335
336         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
337         .d files.
338         * configure: Rebuilt.
339
340 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
341
342         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
343         Changed pfn from static local to local.
344
345 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
346             H.J. Lu  <hongjiu.lu@intel.com>
347
348         PR libgcj/17290
349         * Makefile.am (GCJCOMPILE): Remove definition.
350         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
351         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
352         * Makefile.in: Rebuilt.
353
354 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
355
356         * configure.ac (enable-gc-debug): Update help for new syntax.
357         * configure: Regenerate.
358
359 2004-09-03  David Daney  <ddaney@avtrex.com>
360
361         * include/mips-signal.h: Update copyright.
362
363 2004-09-03  David Daney  <ddaney@avtrex.com>
364
365         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
366         * include/mips-signal.h: Added HANDLE_FPE support.
367         
368 2004-08-31  Michael Koch  <konqueror@gmx.de>
369
370         * javax/swing/plaf/basic/BasicTextAreaUI.java
371         (create): New method.
372         * javax/swing/text/DefaultHighlighter.java
373         (DefaultHighlightPainter.debugRect): Removed.
374         * javax/swing/text/StyleContext.java
375         (DEFAULT_STYLE): New field.
376
377 2004-08-31  Michael Koch  <konqueror@gmx.de>
378
379         * javax/swing/plaf/basic/BasicLookAndFeel.java
380         (initComponentDefaults): Add keybindings for selection.backward and
381         selection-forward for text components.
382         * javax/swing/plaf/basic/BasicTextUI.java
383         (paintSafely): Paint highlight only when something is actually
384         selected.
385         * javax/swing/text/DefaultCaret.java
386         (handleHighlight): New method.
387         (setSelectionVisible): Don't do anything when nothing changes.
388         Handle highlight.
389         (moveDot): Reimplemented. Handle highlight.
390         (setDot): Set mark too. Handle highlight.
391         (getSelectionPainter): New method.
392         * javax/swing/text/DefaultEditorKit.java
393         (defaultActions): Added new actions for text selection.
394         * javax/swing/text/DefaultHighlighter.java
395         (DefaultHighlightPainter): New inner class.
396         (DefaultPainter): New field.
397         (paint): Implemented.
398         * javax/swing/text/PlainView.java
399         (paint): Don't draw background here again.
400         * javax/swing/text/Utilities.java
401         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
402         (drawTabbedText): Likewise.
403
404 2004-08-31  Graydon Hoare  <graydon@redhat.com>
405
406         * javax/swing/JComponent.java
407         (resetKeyboardActions): Add null checks.
408
409 2004-08-31  Graydon Hoare  <graydon@redhat.com>
410
411         * javax/swing/DefaultButtonModel.java:
412         Skip group notification when no group is set.
413
414 2004-08-31  Graydon Hoare  <graydon@redhat.com>
415
416         * javax/swing/JColorChooser.java: 
417         Make a couple inner classes static, for jikes.
418
419 2004-08-31  Michael Koch  <konqueror@gmx.de>
420
421         * javax/swing/plaf/basic/BasicTextUI.java
422         (RottView.modelToView): New method.
423         (UpdateHandler): Renamed from EventHandler.
424         (updateHandler): Renamed from eventHandler.
425         (modelToView): Implemented.
426         * javax/swing/text/AbstractDocument.java
427         (BranchElement.getElement): Return null for non-existing indeces.
428         (BranchElement.getElementIndex): Return 0 in some corner cases.
429         * javax/swing/text/FieldView.java
430         (modelToView): New method.
431         * javax/swing/text/PlainView.java
432         (modelToView): Made public.
433
434 2004-08-31  Kim Ho  <kho@redhat.com>
435
436         * Makefile.am: New files.
437         * Makefile.in: Regenerate.
438         * gcj/Makefile.in: Regenerate.
439         * include/Makefile.in: Regenerate.
440         * java/awt/Color.java: Fix documentation.
441         (RGBtoHSB): Use floats for conversions.
442         * javax/swing/ButtonGroup.java: Run Jalopy.
443         (setSelected): Reimplement.
444         * javax/swing/DefaultButtonModel.java: Run Jalopy.
445         (changeState): Let ButtonGroup know that the button 
446         is changing state.
447         * javax/swing/JColorChooser.java: Implement.
448         * javax/swing/JLabel.java: Run Jalopy.
449         * javax/swing/JSpinner.java: Run Jalopy.
450         (setValue): New method.
451         * javax/swing/JTabbedPane.java: Run Jalopy.
452         (removeTabAt): Call correct remove method.
453         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
454         (getPreviousValue): Compare minimum value.
455         * javax/swing/Timer.java: Run Jalopy.
456         (run): Comment out println.
457         * javax/swing/ToolTipManager.java:
458         (mouseMoved): Get new tooltip text for location.
459         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
460         Jalopy and Javadoc.
461         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
462         Implement.
463         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
464         Run Jalopy.
465         (setSelectedColor): Fire ChangeEvent.
466         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
467         New file. Implement.
468         * javax/swing/colorchooser/DefaultPreviewPanel.java:
469         Ditto.
470         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
471         Ditto.
472         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
473         Ditto.
474         * javax/swing/plaf/basic/BasicArrowButton.java:
475         (getArrow): Fix size of upward pointing button.
476         * javax/swing/plaf/basic/BasicColorChooserUI.java:
477         Implement.
478         * javax/swing/plaf/basic/BasicSliderUI.java:
479         (getWidthOfWidestLabel): Use preferred dimensions.
480         (getHeightOfTallestLabel): Ditto.
481         * javax/swing/plaf/basic/BasicSpinnerUI.java:
482         Run Jalopy.
483         (mousePressed): Disable changes to spinner if it is not enabled.
484         * testsuite/Makefile.in: Regenerate.
485
486
487 2004-08-31  Michael Koch  <konqueror@gmx.de>
488
489         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
490         javax/swing/plaf/basic/BasicTableUI.java:
491         Added copyright notice.
492
493 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
494
495         * Makefile.am: Added new files.
496         * Makefile.in: Regenerate.
497         * javax/swing/ComboBoxEditor.java: Added javadocs.
498         * javax/swing/ComboBoxModel.java: Likewise.
499         * javax/swing/DefaultComboBoxModel.java: Implemented.
500         * javax/swing/DefaultListCellRenderer.java: Added javadocs
501         and ran through jalopy to fix formatting style.
502         (getListCellRendererComponent): Use appropriate border
503         if renderer has focus and use noFocusBorder when it doesn't.
504         * javax/swing/JComboBox.java: Implemented.
505         * javax/swing/JList.java:
506         (locationToIndex): New Method. Implemented.
507         (indexToLocation): New Method.
508         * javax/swing/JPopupMenu.java: 
509         (visible): New field.
510         (isVisible): Changed to use new field above.
511         (setVisible): Likewise.
512         * javax/swing/MutableComboBoxModel.java: Added javadocs.
513         * javax/swing/plaf/basic/BasicArrowButton.java: 
514         (shadow): Changed default color to Color.gray.
515         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
516         UI delegate for JComboBox.
517         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
518         Popup menu containing list of JComboBox's items.
519         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
520         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
521         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
522         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
523         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
524         (popupMenuWillBecomeVisible): Set selected path to the first
525         element only if it is of type MenuElement. Also fix formatting
526         style.
527         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
528         methods signatures.
529         
530 2004-08-31  Michael Koch  <konqueror@gmx.de>
531
532         * javax/swing/text/AbstractDocument.java
533         (createBranchElement): Use new constructor of BranchElement.
534         (createLeafElement): Renamed arguments.
535         (getRootElements): Implemented.
536         (BranchElement.start): Removed.
537         (BranchElement.end): Likewise.
538         (BranchElement.BranchElement): Fixed arguments.
539         (BranchElement.getEndOffset): Reimplemented.
540         (BranchElement.getStartOffset): Likewis.
541         * javax/swing/text/DefaultCaret.java
542         (paint): Draw simple vertical line as caret instead of a rectangle.
543         * javax/swing/text/JTextComponent.java
544         (setText): Use doc directly.
545         * javax/swing/text/PlainView.java
546         (nextTabStop): Implemented.
547         * javax/swing/text/Utilities.java
548         (drawTabbedText): nextTabStop() returns an absolute x position.
549         (getTabbedTextWidth): Likewise.
550
551 2004-08-31  Graydon Hoare  <graydon@redhat.com>
552
553         * java/awt/Component.java 
554         (isFocusTraversable): Predicate on isLightweight()
555         (setFocusable): Set isFocusTraversableOverridden.
556         (requestFocus): Predicate peer dispatch on !isLightweight()
557         (requestFocusInWindow): Likewise.
558         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
559         * java/awt/Container.java
560         (dispatchEventImpl): Predicate on event mask.
561         (LightweightDispatcher): Remove focus machinery.
562         * java/awt/DefaultFocusTraversalPolicy.java
563         (accept): Expand predicate to include isFocusable(). 
564         * java/awt/DefaultKeyboardFocusManager.java:
565         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
566         * java/awt/KeyboardFocusManager.java
567         (redispatchEvent): Synchronize on event to prevent feedback.
568         * javax/swing/AbstractButton.java
569         (ButtonFocusListener): Remove class.
570         (init): Set focusPainted, focusable.
571         * javax/swing/ActionMap.java (get): Check parent for null. 
572         * javax/swing/InputMap.java (get): Likewise. 
573         * javax/swing/JComponent.java
574         (inputMap_whenFocused): New InputMap.
575         (inputMap_whenAncestorOfFocused): Likewise.
576         (inputMap_whenInFocusedWindow): Likewise.
577         (getActionForKeyStroke): Rewrite.
578         (getConditionForKeystroke): Likewise.
579         (ActionListenerProxy): New private class.
580         (setInputMap): Implement.
581         (getInputMap): Likewise.
582         (setActionMap): Likewise.
583         (getActionMap): Likewise.
584         (processComponentKeyEvent): New empty method.
585         (processKeyEvent): Implement.
586         (processKeyBinding): Likewise.
587         (resetKeyboardActions): Rewrite.
588         * javax/swing/KeyStroke.java: Rewrite.
589         * javax/swing/SwingUtilities.java
590         (notifyAction): Implement.
591         (replaceUIActionMap): Likewise.
592         (replaceUIInputMap): Likewise.
593         * javax/swing/plaf/basic/BasicButtonListener.java
594         (focusGained): Implement.
595         (focusLost): Repaint if focusPainted().
596         (installKeyboardActions): Install pressed / released actions.
597         (uninstallKeyboardActions): Implement.
598         * javax/swing/plaf/basic/BasicButtonUI.java
599         (focusColor): New field.
600         (installDefaults): Load focus color, install input map.
601         (installKeyboardActions): Implement.
602         (uninstallKeyboardActions): Likewise.
603         (paintFocus): Rewrite.
604         * javax/swing/plaf/basic/BasicLookAndFeel.java
605         (Button.focus): New default, midPurple. 
606         * javax/swing/plaf/basic/BasicTextUI.java
607         (kit): Make static.
608         (installUI): Get doc from kit, load defaults.
609         (getKeymapName): Implement.
610         (createKeymap): Likewise.
611         (installKeyboardActions): Likewise.
612         (getInputMap): Likewise.
613         (getActionMap): Likewise.
614         (createActionMap): Likewise.
615         * javax/swing/text/AbstractDocument.java
616         (getStartPosition): Implement.
617         (getEndPosition): Likewise.
618         * javax/swing/text/DefaultEditorKit.java
619         (CopyAction): New class.
620         (CutAction): Likewise.
621         (DefaultKeyTypedAction): Likewise.
622         (InsertBreakAction): Likewise.
623         (InsertContentAction): Likewise.
624         (InsertTabAction): Likewise.
625         (PasteAction): Likewise.
626         (defaultActions): New static table.
627         (createCaret): Implement.
628         (getActions): Likewise.
629         * javax/swing/text/JTextComponent.java
630         (KeymapWrapper): New private class.
631         (KeymapActionMap): Likewise.
632         (DefaultKeymap): New class.
633         (keymaps): New static table.
634         (keymap): New field.
635         (getKeymap): Implement.
636         (removeKeymap): Likewise.
637         (addKeymap): Likewise.
638         (setKeymap): Likewise.
639         (loadKeymap): Likewise.
640         (getActions): Likewise.
641         (margin): New field.
642         (JTextComponent): Build and install default keymap.
643         * javax/swing/text/TextAction.java
644         (textAction): Call super properly.
645         (getTextComponent): Implement.
646         * javax/swing/text/Utilities.java
647         (drawTabbedText): Adjust position by ascent.
648
649 2004-08-31  David Jee  <djee@redhat.com>
650
651         PR AWT/17156
652
653         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
654         (setEnabled): Make it a native method.
655         * java/awt/DefaultKeyboardFocusManager.java
656         (postProcessKeyEvent): Only post event if the menu item
657         is active.
658         * java/awt/MenuItem.java:
659         Private field 'enabled' should be true by default.
660         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
661         (setEnabled): New function.
662
663 2004-08-31  David Jee  <djee@redhat.com>
664
665         PR AWT/17059
666
667         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
668         (nativeSetHelpMenu): New native method declaration.
669         (addHelpMenu): Call nativeSetHelpMenu().
670         (addMenu): Remove.
671         * java/awt/MenuBar.java
672         (setHelpMenu): Call addNotify() on the new help menu.
673         (add): Call addNotify() on the new menu.
674         (addNotify): Set the help menu if one exists.
675         * java/awt/peer/MenuBarPeer.java
676         (addMenu): Remove.
677         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
678         (nativeSetHelpMenu): New method.
679
680 2004-08-31  Graydon Hoare  <graydon@redhat.com>
681
682         * Makefile.am: Add new files.
683         * Makefile.in: Regenerate.
684         * javax/swing/Box.java: Fix setting of layout in ctor.
685         * javax/swing/JScrollPane.java: Scroll headers as well.
686         * javax/swing/JTable.java: Reimplement.
687         * javax/swing/JViewPort.java: Only add non-null children.
688         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
689         * javax/swing/Timer.java: Fix stopping null waker.
690         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
691         * javax/swing/plaf/basic/BasicTableUI.java: New file.
692         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
693         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
694         * javax/swing/table/DefaultTableModel.java: Clean up.
695         * javax/swing/table/JTableHeader.java: Implement.
696
697 2004-08-31  Mark Wielaard  <mark@klomp.org>
698
699         * javax/swing/JSpinner.java (getChangeListeners): Remove double
700         semi-colon.
701
702 2004-08-31  Mark Wielaard  <mark@klomp.org>
703
704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
705         Declare variables at top of functions/block.
706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
707
708 2004-08-31  Mark Wielaard  <mark@klomp.org>
709
710         * java/lang/Rectangle.java (intersects): Check r.width and r.height
711         first.
712
713 2004-08-31  Michael Koch  <konqueror@gmx.de>
714
715         * javax/swing/text/PlainView.java
716         (selectedColor): New field.
717         (unselectedColor): Likewise.
718         (font): Likewise.
719         (updateMetrics): New method.
720         (lineToRect): Likewise.
721         (modelToView): Likewise.
722         (drawSelectedText): Use color from JTextComponent ad draw with
723         Utilities class.
724         (drawUnselectedText): Likewise.
725         (paint): Initialize helper fields.
726         * javax/swing/text/View.java
727         (getChildAllocation): New method.
728         (getViewIndex): Likewise.
729         (getToolTipText): Likewise.
730
731 2004-08-31  Michael Koch  <konqueror@gmx.de>
732
733         * javax/swing/text/Utilities.java
734         (drawTabbedText): Reimplemented.
735         (getTabbedTextWidth): Likewise.
736
737 2004-08-31  Michael Koch  <konqueror@gmx.de>
738
739         * javax/swing/plaf/basic/BasicTextUI.java
740         (installDefaults): Install caret and highlighter.
741         (modelToView): Use Bias.Forward when calling sibling.
742         * javax/swing/text/AbstractDocument.java
743         (ElementEdit): Implements DocumentEvent.ElementChange.
744         (ElementEdit.ElementEdit): New method.
745         (ElementEdit.getChildrenAdded): Likewise.
746         (ElementEdit.getChildrenRemoved): Likewise.
747         (ElementEdit.getElement): Likewise.
748         (ElementEdit.getIndex): Likewise.
749         * javax/swing/text/DefaultCaret.java
750         (color): Removed.
751         (textComponent): Renamed from parent, made private.
752         (selectionVisible): Renamed from vis_sel, made private.
753         (blinkRate): Renamed from blink, made private.
754         (magicCaretPosition): Renamed from magic, made private.
755         (visible): Renamed from vis, made private.
756         (dot): Made private.
757         (mark): Likewise.
758         (deinstall): Remove as MouseMotionListener.
759         (install): Initialize textComponent first. Add as MouseMotionListener.
760         (paint): Reimplemented.
761         * javax/swing/text/JTextComponent.java
762         (setCaret): Deinstall old caret, install new one and fire property
763         change after setting property.
764         (setHighlighter): Deinstall old highlighter, install new one and fire
765         property change after setting property.
766         (setCaretColor): Fire property change after setting property.
767         (setDisabledTextColor): Likewise.
768         (setSelectedTextColor): Likewise.
769         (setSelectionColor): Likewise.
770         (modelToView): New method.
771
772 2004-08-31  Michael Koch  <konqueror@gmx.de>
773
774         * javax/swing/text/AbstractDocument.java
775         (getText): Simplified.
776         * javax/swing/text/Segment.java
777         (current): New field.
778         (current): Reimplemented.
779         (first): Likewise.
780         (getIndex): Likewise.
781         (last): Likewise.
782         (next): Likewise.
783         (previous): Likewise.
784         (setIndex): Likewise.
785
786 2004-08-31  Michael Koch  <konqueror@gmx.de>
787
788         * javax/swing/plaf/basic/BasicButtonUI.java
789         (defaultTextIconGap): Made protected.
790         (defaultTextShiftOffset): Likewise.
791         (textShiftOffset): New field.
792         (clearTextShiftOffset): New method.
793         (getTextShiftOffset): Likewise.
794         (setTextShiftOffset): Likewise.
795
796 2004-08-31  Michael Koch  <konqueror@gmx.de>
797
798         * javax/swing/plaf/basic/BasicTextUI.java
799         (installUI): Add eventHandler as property listener.
800         (uninstallUI): remove eventHandler as propert listener.
801         (installDefaults): Added comment.
802         (installListeners): Likewise.
803         (installKeyboardActions): Likewise.
804         (uninstallDefaults): Likewise.
805         (uninstallListeners): Likewise.
806         (uninstallKeyboardActions): Likewise.
807
808 2004-08-31  Michael Koch  <konqueror@gmx.de>
809
810         * javax/swing/text/AbstractDocument.java:
811         Fixed some typos in comments.
812         (insertString): Reimplemented.
813         (remove): Likewise.
814         (replace): New method.
815         (children): Dont use fully qualified class name.
816         (DefaultDocumentEvent.offset): Renamed from off.
817         (DefaultDocumentEvent.length): Renamed from len.
818         (DefaultDocumentEvent.type): New field.
819         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
820         (DefaultDocumentEvent.getType): Implemented.
821
822 2004-08-31  Michael Koch  <konqueror@gmx.de>
823
824         * javax/swing/plaf/basic/BasicTextUI.java
825         (RootView.textComponent): Removed.
826         (RootView.RootView): Don't initialize textComponent.
827         (RootView.getViewFactory): New method.
828         (EventHandler): New inner class.
829         (rootView): Initialize at instance creation.
830         (eventHandler): New field.
831         (installUI): Don't create view hierarchy directly,
832         call modelChanged() instead.
833         (modelChanged): New method.
834         * javax/swing/text/JTextComponent.java
835         (setDocument): Fire property change event.
836
837 2004-08-31  Michael Koch  <konqueror@gmx.de>
838
839         * javax/swing/plaf/basic/BasicTextUI.java
840         (RootView.paint): Removed debug output.
841         (paintSafely): Draw highlighter before text.
842         (paintBackground): Use background color of text component.
843         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
844         Reformatted.
845
846 2004-08-31  Michael Koch  <konqueror@gmx.de>
847
848         * javax/swing/plaf/basic/BasicToolBarUI.java
849         (BasicToolBarUI): Fixed arguments for constructor.
850         (createUI): Fixed creation of object.
851
852 2004-08-31  Michael Koch  <konqueror@gmx.de>
853
854         * javax/swing/DefaultListSelectionModel.java
855         (fireValueChanged): Renamed from fireSelectionValueChanged,
856         made protected.
857
858 2004-08-31  Michael Koch  <konqueror@gmx.de>
859
860         * javax/swing/text/TabSet.java
861         (TabSet): Implements java.io.Serializable.
862         * javax/swing/text/TabStop.java
863         (TabStop): Implements java.io.Serializable.
864         (TabStop): Made public.
865
866 2004-08-31  Michael Koch  <konqueror@gmx.de>
867
868         * javax/swing/JComponent.java
869         (setUI): Fire PropertyChange.
870         * javax/swing/JLabel.java
871         (text): Renamed from labelText.
872         (horizontalAlignment): New default vlaue.
873         (icon): Renamed from activeIcon.
874         (displayedMnemonic): Renamed from mnemonicKey, added default value.
875         (displayedMnemonicIndex): Renamed from underlineChar.
876         (setDisplayedMnemonic): Reimplemented.
877         * javax/swing/JRadioButton.java
878         (JRadioButton): New constructors.
879         * javax/swing/JTextField.java
880         (JTextField): Throw exception if colums < 0, initialitialz
881         this.columns directly and initialize document with text conditionally.
882
883 2004-08-31  Michael Koch  <konqueror@gmx.de>
884
885         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
886         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
887         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
888         * javax/swing/text/FieldView.java
889         (paint): Just call super method for now.
890         * Makefile.am: Added new files.
891         * Makefile.in: Regenerated.
892
893 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
894
895         * javax/swing/AbstractSpinnerModel.java,
896         javax/swing/JSpinner.java,
897         javax/swing/SpinnerNumberModel.java,
898         javax/swing/plaf/basic/BasicSpinnerUI.java:
899         New files.
900         * javax/swing/plaf/basic/BasicLookAndFeel.java
901         (initClassDefaults): Added defaults for BasicSpinnerUI.
902
903 2004-08-31  Michael Koch  <konqueror@gmx.de>
904
905         * Makefile.am: Added new files.
906         * Makefile.in: Regenerated.
907
908 2004-08-31  Michael Koch  <konqueror@gmx.de>
909
910         * javax/swing/TransferHandler.java,
911         javax/swing/plaf/basic/ComboPopup.java: New files
912         * Makefile.am: Added javax/swing/TransferHandler.java and
913         javax/swing/plaf/basic/ComboPopup.java
914         * Makefile.in: Regenerated.
915
916 2004-08-31  Roman Kennke  <roman@ontographics.com>
917
918         * javax/swing/text/Utilities.java: New file.
919
920 2004-08-31  Michael Koch  <konqueror@gmx.de>
921
922         * Makefile.am: Added javax/swing/text/Utilities.java.
923         * Makefile.in: Regenerated.
924
925 2004-08-31  Graydon Hoare  <graydon@redhat.com>
926
927         * javax/swing/text/SimpleAttributeSet.java: New file.
928         * javax/swing/text/StyleConstants.java: New file.
929         * javax/swing/text/StyleContext.java: New file.
930         * javax/swing/text/TabSet.java: New file.
931         * javax/swing/text/TabStop.java: New file.
932         * javax/swing/text/AbstactDocument.java:
933         (AbstractElement): Implement attribute support.
934         * javax/swing/text/AttributeSet.java
935         (NameAttribute): New static field.
936         (ResolveAttribute): New static field.
937         * Makefile.am: Update for new files.
938         * Makefile.in: Regenerate.
939
940 2004-08-31  Craig Black  <craig.black@aonix.com>
941
942         * gnu/java/awt/peer/gtk/GdkGraphics.java 
943         (drawImage): Add support for scaling pixmaps.
944         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
945         (copyAndScalePixmap): New native method.
946  
947 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
948
949         PR AWT/16121
950         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
951         type-punning compiler warnings using unions.
952         (throw): Replace bzero with memset.
953
954 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
955             Thomas Fitzsimmons  <fitzsim@redhat.com>
956
957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
958         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
959         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
961         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
962
963 2004-08-31  Mark Wielaard  <mark@klomp.org>
964
965         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
966         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
967         and stdlib.h, not gtkpeer.h.
968         (*vm): New static variable.
969         (areaPreparedID): Make static.
970         (areaUpdatedID): Likewise.
971         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
972         (area_prepared): Likewise.
973         (area_updated): Likewise.
974         (closed): Likewise.
975         (initStaticState): Initialize *vm javaVM.
976         (pumpBytes): Use given env, not global gdk_env.
977
978 2004-08-31  Mark Wielaard  <mark@klomp.org>
979
980         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
981         comments.
982
983 2004-08-31  Sven de Marothy  <sven@physto.se>
984
985         * java/awt/geom/CubicCurve2D.java: Reindent.
986         (contains): Implemented.
987         (intersects): Implemented.
988         * java/awt/geom/QuadCurve2D.java: Likewise.
989         * java/awt/geom/GeneralPath.java: Reindent and document.
990         Fully (re)implemented using separate xpoints and ypoints
991         float[] coords.
992         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
993
994 2004-08-31  Michael Koch  <konqueror@gmx.de>
995
996         * javax/swing/JMenuItem.java
997         (getMenuDragMouseListeners): New method.
998         (getMenuKeyListeners): Likewise.
999
1000 2004-08-31  Michael Koch  <konqueror@gmx.de>
1001
1002         * javax/swing/AbstractButton.java
1003         (model): Made protected.
1004         (actionListener): Likewise.
1005         (changeListener): Likewise.
1006         (itemListener): Likewise.
1007         (multiClickThreshhold): New field.
1008         (getActionListeners): New method.
1009         (getChangeListeners): Likewise.
1010         (getItemListeners): Likewise.
1011         (fireItemStateChanged): Simplified implementation.
1012         (fireActionPerformed): Likewise.
1013         (fireStateChanged): Likewise.
1014         (getMultiClickThreshhold): New method.
1015         (setMultiClickThreshhold): Likewise.
1016
1017 2004-08-31  Tom Tromey  <tromey@redhat.com>
1018
1019         * java/awt/image/Kernel.java (clone): Use super.clone().
1020
1021 2004-08-31  David Jee  <djee@redhat.com>
1022
1023         PR AWT/16682
1024         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1025         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1026         (nativeSetIconImageFromData): New native method declaration.
1027         (setIconImage): Handle images not produced from GdkPixbufDecoder.
1028         * gnu/java/awt/peer/gtk/GtkImage.java
1029         (getPixelCache): New method.
1030         (getColorModel): New method.
1031         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1032         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1033         (free_pixbuf_data): New helper function.
1034         (nativeSetIconImageFromData): New function.
1035
1036 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1037
1038         PR SWING/16576
1039         * javax/swing/JLayeredPane.java 
1040         (setLayer): Permit changing layer after addition.
1041         (setPosition): Permit over-length positions.
1042         (layerToRange): Compare intValue()s.
1043         * javax/swing/Box.java (createHorizontalBox): Implement.
1044         (createRigidArea): Likewise.
1045         (createVerticalBox): Likewise.
1046
1047 2004-08-31  Kim Ho  <kho@redhat.com>
1048
1049         * java/awt/Component.java:
1050         (processMouseEvent): Consume event after
1051         listeners process it.
1052         (processMouseMotionEvent): ditto.
1053         (processMouseWheelEvent): ditto.
1054         * java/awt/Container.java:
1055         (acquireComponentForMouseEvent):
1056         Do not dispatch to events that have been
1057         removed from the Container.
1058         (handleEvent): Consume the MouseEvents.
1059         * javax/swing/RepaintManager.java:
1060         (paintDirtyRegions): Do not add to list of 
1061         damaged areas if the component has no root.
1062
1063 2004-08-31  Michael Koch  <konqueror@gmx.de>
1064
1065         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1066
1067 2004-08-31  Mark Wielaard  <mark@klomp.org>
1068
1069         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1070         null when a MissingResourceException is thrown. Should never happen.
1071
1072 2004-08-31  Mark Wielaard  <mark@klomp.org>
1073
1074         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1075         when argument is null.
1076
1077 2004-08-31  Mark Wielaard  <mark@klomp.org>
1078
1079         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1080         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1081         Define hid at start of function.
1082         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1083         Likewise.
1084
1085 2004-08-31  Mark Wielaard  <mark@klomp.org>
1086
1087         * gnu/java/awt/EmbeddedWindow.java: Reindent.
1088         * javax/swing/JButton.java: Reindent.
1089         * javax/swing/JCheckBox.java: Reindent.
1090
1091 2004-08-31  Mark Wielaard  <mark@klomp.org>
1092
1093         * Makefile.am (gtk_c_source_files): Added
1094         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1095         (gtk_awt_peer_sources): Added
1096         gnu/java/awt/peer/gtk/GThreadMutex.java and
1097         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1098         * Makefile.in: Regenerated.
1099
1100 2004-08-31  Archie Cobbs  <archie@dellroad.org>
1101
1102         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1103
1104 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1105
1106         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
1107         Added jfieldID, jmethodID.
1108
1109 2004-08-31  Mark Wielaard  <mark@klomp.org>
1110
1111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1112         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1113         gdk_env before calling any gdk or gtk function.
1114
1115         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1116         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1117         (run): Set gtkInitCalled.
1118
1119 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1120
1121         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
1122         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1123
1124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1125         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1126         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
1127         init_glib_threads. 
1128         (init_glib_threads): New function.
1129
1130 2004-08-31  Mark Wielaard  <mark@klomp.org>
1131
1132         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1133         PRIORITY when not already defined in header file.
1134
1135 2004-08-31  Mark Wielaard  <mark@klomp.org>
1136
1137         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1138         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1139
1140 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1141
1142         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1143         Implemented missing functions for GTK2.
1144         Added error handling.
1145         Renamed static functions out of the g_ namespace.
1146         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
1147         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1148         Rewrote global-reference code.
1149         Eliminated cascading errors.
1150         (mutex_trylock_jni_impl) Fully implemented.
1151         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1152         resolution.
1153         (setup_cache) New function.
1154         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1155         bug where they were not unlocking the GMutex associated with the
1156         condition variable during the wait on that condition variable.
1157
1158         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1159         native/jni/gtk-peer/gthread-jni.c,
1160         native/jni/gtk-peer/gthread-jni.h
1161         (g_thread_jni_functions): Renamed to ...
1162         (portable_native_sync_jni_functions): this name.
1163         (gdk_vm): Renamed to...
1164         (the_vm): this name.
1165
1166         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1167         (gdk_vm): Removed duplicate definition.
1168         (gtkInit): Removed stray message to stdout.
1169         (gtkInit): Use g_malloc and g_free instead of malloc and free.
1170         (gtkInit): Fix a const assignment bug.
1171         (gtkInit): Simplified code.
1172
1173         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1174         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1175         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1176         gnu/java/awt/peer/gtk/GThreadMutex.java:
1177         New files.
1178
1179 2004-08-31  Mark Wielaard  <mark@klomp.org>
1180
1181         * javax/swing/Box.java: Put FIXME comment above class declaration.
1182         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1183         * javax/swing/JCheckBox.java: Likewise.
1184         * javax/swing/JDialog.java: Likewise.
1185         * javax/swing/JRadioButton.java: Likewise.
1186         * javax/swing/JToggleButton.java: Likewise.
1187         * javax/swing/UIManager.java: Likewise.
1188         * javax/swing/border/TitledBorder.java: Likewise.
1189         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1190         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1191         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1192         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1193         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1194         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1195         * javax/swing/text/JTextComponent.java: Likewise.
1196
1197 2004-08-31  David Jee  <djee@redhat.com>
1198
1199         PR AWT/16682
1200         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1201         (setIconImage): Add a FIXME for unhandled cases.
1202
1203 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1204
1205         PR AWT/16040
1206         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1207         getModifiers.  Replace old button masks with new ones.
1208         * gnu/awt/xlib/XEventLoop.java: Likewise.
1209         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1210         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1211         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1212         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1213         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1214         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1215         * java/awt/Component.java: Replace old modifier masks with new
1216         ones.
1217         * java/awt/Container.java: Call getModifiersEx, not
1218         getModifiers.
1219         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
1220         old modifier masks.
1221         * javax/swing/JMenuItem.java: Replace old button masks with new
1222         ones.
1223         * javax/swing/KeyStroke.java: Call getModifiersEx, not
1224         getModifiers.
1225         * javax/swing/SwingUtilities.java: Likewise.
1226         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1227         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1229         mask macros with new ones.
1230         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1231         macros with new ones representing new masks.
1232
1233 2004-08-31  Craig Black  <craig.black@aonix.com>
1234
1235         * gnu/java/awt/peer/gtk/GdkGraphics.java
1236         (drawRoundRect): Implemented.
1237         (fillRoundRect): Implemented.
1238         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1239         (drawRoundRect): Reimplemented to match GdkGraphics.
1240         (fillRoundRect): Reimplemented to match GdkGraphics.
1241
1242 2004-08-31  Mark Wielaard  <mark@klomp.org>
1243
1244         * Makefile.in: Regenerated.
1245
1246 2004-08-31  Michael Koch  <konqueror@gmx.de>
1247
1248         * gnu/java/awt/EmbeddedWindow.java
1249         (addNotify): Use AccessController to allow execution of privileged
1250         code.
1251
1252 2004-08-31  Michael Koch  <konqueror@gmx.de>
1253
1254         * gnu/java/awt/EmbeddedWindow.java
1255         (static): Removed.
1256         (addNotify): Set peer via reflection.
1257         (setWindowPeer): Removed.
1258         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1259         * Makefile.am (nat_source_files):
1260         Removed gnu/java/awt/natEmbeddedWindow.cc.
1261
1262 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1263
1264         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
1265         and gnu/java/security/action/SetAccessibleAction.java.
1266
1267 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1268
1269         * gnu/java/security/action/GetPropertyAction.java (setParameters):
1270         Renamed from 'setName'. New 2-argument form with default value.
1271         (run): Pass default 'value' parameter to System.getProperty().
1272         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1273         typos.
1274
1275 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1276
1277         * gnu/java/security/action/GetPropertyAction.java: New class.
1278         * gnu/java/security/action/SetAccessibleAction.java: New class.
1279
1280 2004-08-31  David Jee  <djee@redhat.com>
1281
1282         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1283         (setIconImage): Check if image is null.
1284
1285 2004-08-31  David Jee  <djee@redhat.com>
1286
1287         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1288         (create): Set the icon image.
1289         (nativeSetIconImage): New native method declaration.
1290         (setIconImage): Implement.
1291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1292         (nativeSetIconImage): New function.
1293
1294 2004-08-31  Dalibor Topic <robilad@kaffe.org>
1295
1296         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1297         (filenameFilterCallback): Declare local variable accepted before use.
1298
1299 2004-08-31  Dalibor Topic <robilad@kaffe.org>
1300
1301         * gnu/java/awt/ComponentDataBlitOp.java:
1302         Cleaned up imports.
1303
1304 2004-08-31  Tom Tromey  <tromey@redhat.com>
1305
1306         * gnu/java/awt/peer/GLightweightPeer.java,
1307         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1308         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1309         javax/swing/JScrollPane.java: Removed
1310         redundant imports.
1311
1312 2004-08-31  David Jee  <djee@redhat.com>
1313
1314         * java/awt/DefaultKeyboardFocusManager.java
1315         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1316         event.  Fix shift modifier checking.
1317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1318         (accel_attach): Remove.
1319         (setupAccelGroup): Remove calls to accel_attach.
1320
1321 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1322
1323         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1324         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1325
1326         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1327         GtkArgList.java.
1328         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1329         * Makefile.in: Regenerate.
1330         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1331         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1332         (create(String)): New method.
1333         (create): Call new create method.
1334         (getArgs): Remove method.
1335         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1336         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
1337         (nativeCreate): Rename to create.
1338         (gtkSetLabel): Rename to gtkButtonSetLabel.
1339         (gtkToggleButtonSetActive): New method.
1340         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1341         (setState): Replace set call with gtkToggleButtonSetActive.
1342         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1343         (getArgs): Remove method.
1344         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1346         (gtkWidgetSetSensitive): New method.
1347         (gtkWidgetSetParent): Likewise.
1348         (GtkComponentPeer): Call setParent, setComponentBounds and
1349         setVisibleAndEnabled.
1350         (setParent): New method.
1351         (setComponentBounds): New method.
1352         (setVisibleAndEnabled): New method.
1353         (setEnabled): Call gtkWidgetSetSensitive.
1354         (getArgs): Remove method.
1355         Remove all set methods.
1356         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1357         gtkWindowSetModal, setTitle and setResizable.
1358         (getArgs): Remove method.
1359         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1360         (setComponentBounds): New method.
1361         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1362         Replace set call with gtkWindowSetResizable.
1363         (getArgs): Remove method.
1364         (create): Call setTitle and setResizable.
1365         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1366         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1367         (gtkWindowSetTitle): New method.
1368         (gtkWindowSetResizable): New method.
1369         (gtkWindowSetModal): New method.
1370         (setParent): New method.
1371         (setVisibleAndEnabled): New method.
1372         (getArgs): Remove method.
1373         (setTitle): Call gtkWindowSetTitle.
1374         (setResizable): Call gtkWindowSetResizable.
1375         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1376         and off locking instrumentation.
1377
1378 2004-08-31  Kim Ho  <kho@redhat.com>
1379
1380         * Makefile.am: Add new file.
1381         * Makefile.in: Regenerate.
1382         * gcj/Makefile.in: Regenerate
1383         * include/Makefile.in:
1384         * java/awt/Container.java:
1385         (acquireComponentForMouseEvent): Respect 
1386         the event mask when looking for candidate.
1387         * javax/swing/JComponent.java:
1388         Remove toolTip field.
1389         (createToolTip): Create a tooltip on demand.
1390         (setToolTipText): Register with the ToolTipManager.
1391         (getToolTipText(MouseEvent)): Return getToolTipText().
1392         * javax/swing/JToolTip.java: Implement.
1393         * javax/swing/Timer.java: Jalopy.
1394         (restart): Call stop, then start.
1395         (stop): Interrupt the timer rather than wait for
1396         the timer to come to a stop naturally.
1397         * javax/swing/ToolTipManager.java: Implement.
1398         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1399         Change ToolTip.background color.
1400         * javax/swing/plaf/basic/BasicToolTipUI.java:
1401         Implement.
1402         * testsuite/Makefile.in: Regenerate
1403
1404 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
1405
1406         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1407         constructor param comments.
1408
1409 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1410
1411         * java/awt/Component.java: Document AWT 1.0 event handler
1412         methods.
1413
1414 2004-08-31  Roman Kennke  <roman@ontographics.com>
1415
1416         * javax/swing/Box.java:
1417         (createGlue): Implemented
1418         (createHorizontalGlue): Implemented
1419         (createHorizontalStrut): Implemented
1420         (createVerticalGlue): Implemented
1421         (createVerticalStrut): Implemented
1422
1423 2004-08-31  David Jee  <djee@redhat.com>
1424
1425         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1426         (GtkChoicePeer): Do not automatically select first item.
1427         (getHistory): Remove.
1428         (nativeGetSelected): New method.
1429         (nativeRemoveAll): New method.
1430         (add): Use nativeGetSelected() instead of getHistory().
1431         (remove): Likewise.
1432         (removeAll): Call nativeRemoveAll().
1433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1434         (create): Migrate to GtkComboBox.
1435         (append): Likewise.
1436         (nativeAdd): Likewise.
1437         (nativeRemove): Likewise.
1438         (select): Likewise.
1439         (nativeRemoveAll): New method.
1440         (nativeGetSelected): New method.
1441         (selection_changed): New method.
1442         (getHistory): Remove.
1443         (item_activate): Remove.
1444         (item_removed): Remove.
1445         (connect_choice_item_selectable_hook): Remove.
1446
1447 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1448
1449         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1450         variable in setEditable call.
1451
1452         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1453         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1454         (gtkWidgetSetBackground): New method.
1455         (gtkWidgetSetForeground): Likewise.
1456         (create): Set peer's editable state based on awtComponent's.
1457
1458         * java/awt/Button.java (Button()): Use empty string rather than
1459         null in no-label constructor.
1460
1461 2004-08-31  Roman Kennke  <roman@ontographics.com>
1462
1463         * javax/swing/BoxLayout.java: Reimplement.
1464
1465 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1466
1467         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1468         gnu_java_awt_peer_gtk_GdkGraphics.c
1469         (initState(GtkComponentPeer)): Don't return array of colour
1470         values.
1471         (GdkGraphics(int,int)): Set default font to size 12.
1472         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1473         component's foreground colour.
1474         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1475         gnu_java_awt_peer_gtk_GdkGraphics2D.c
1476         (initState(GtkComponentPeer)): Don't return array of colour
1477         values.
1478         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1479         colours to component's colours.
1480         (current_colors_of_widget): Remove function.
1481         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1482         Return a new graphics object.
1483         * java/awt/Font.java (toString): Fix format.
1484         * java/awt/Graphics.java (toString): Likewise.
1485
1486 2004-08-31  Craig Black  <craig.black@aonix.com>
1487
1488         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1489         (addTearOff): New function.
1490         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1491         New native method.
1492         (init): Call addTearOff() when menu.isTearOff().
1493
1494 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1495
1496         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1497         Default implementation.
1498         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1499         Implement using GdkPixbufDecoder.
1500
1501 2004-08-31  David Jee  <djee@redhat.com>
1502
1503         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1504         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1505         setting the size of GtkFileDialogPeers.
1506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1507         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1508         use their default sizes rather than their natural requisitions.
1509
1510 2004-08-31  Michael Koch  <konqueror@gmx.de>
1511
1512         * javax/swing/JFormattedTextField.java
1513         (JFormattedTextField): Implemented.
1514         * javax/swing/text/DefaultEditorKit.java
1515         (BeepAction): New inner class.
1516         * javax/swing/text/Segment.java
1517         (partialReturn): New field.
1518         (setPartialReturn): New method.
1519         (isPartialReturn): Likewise.
1520         * javax/swing/text/View.java
1521         (createFragment): Fixed typo.
1522         (getStartOffset): New method.
1523         (getEndOffset): Likewise.
1524
1525 2004-08-31  Michael Koch  <konqueror@gmx.de>
1526
1527         * javax/swing/table/DefaultTableColumnModel.java
1528         (serialVersionUID): Made private.
1529         (listenerList): Initialize.
1530         (changeEvent): Initialize.
1531         * javax/swing/table/JTableHeader.java
1532         (JTableHeader): New constructors.
1533         (createDefaultColumnModel): New method.
1534         * javax/swing/table/TableColumn.java
1535         (setHeaderRenderer): Simplified code.
1536         (setCellRenderer): Likewise.
1537         (setWidth): Likewise.
1538
1539 2004-08-31  Tom Tromey  <tromey@redhat.com>
1540
1541         * java/text/AttributedString.java (AttributedString): Use
1542         ArrayList to build array of attribute ranges.  Don't use
1543         `attribs' before it is set.
1544
1545 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
1546
1547         * HACKING: Remove reference to special automake. No longer needed.
1548
1549 2004-08-30  Tom Tromey  <tromey@redhat.com>
1550
1551         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1552         return result from `add'.
1553
1554 2004-08-30  Tom Tromey  <tromey@redhat.com>
1555
1556         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1557
1558 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
1559
1560         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1561
1562 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
1563
1564         * java/io/File.java File(String,String): Fixed handling of empty
1565         path.
1566
1567 2004-08-30  Casey Marshall  <csm@gnu.org>
1568
1569         Author e-mail updated for all files.
1570         * gnu/java/security/OID.java (equals): Test if the aurgment is an
1571         instance of OID.
1572         (compareTo): Use `equals'.
1573         * gnu/java/security/der/BitString.java (equals): Test if the
1574         argument is an instance of BitString.
1575         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
1576         class final. Made fields private.
1577         (<init>): New constructor.
1578         (skip): New method.
1579         (makeString): Made static; don't use NIO.
1580         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1581         * gnu/java/security/der/DERWriter.java: Fixed imports.
1582         (writeString): Don't use NIO.
1583         (toIso88591, toUtf16Be, toUtf8): New methods.
1584         * gnu/java/security/der/DERValue.java: Formatting changes only.
1585         * gnu/java/security/der/DER.java: Likewise.
1586
1587 2004-08-30  Tom Tromey  <tromey@redhat.com>
1588
1589         * java/nio/CharBuffer.java (put): Fix typo.
1590         * java/nio/DoubleBuffer.java (put): Fix typo.
1591         * java/nio/FloatBuffer.java (put): Fix typo.
1592         * java/nio/IntBuffer.java (put): Fix typo.
1593         * java/nio/LongBuffer.java (put): Fix typo.
1594         * java/nio/ShortBuffer.java (put): Fix typo.
1595
1596 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
1597
1598         * java/nio/ByteBuffer.java (put): Fix typo.
1599
1600 2004-08-30  Casey Marshall  <csm@gnu.org>
1601
1602         * java/security/DummyKeyPairGenerator.java (clone): Removed
1603         useless instanceof check.
1604         * java/security/DummyMessageDigest.java (clone): Likewise.
1605         * java/security/DummySignature.java (clone): Likewise.
1606         * java/security/MessageDigest.java (clone): Remove useless
1607         instanceof check.
1608         * java/security/MessageDigestSpi.java (clone): Likewise.
1609         * java/security/Signature.java (clone): Provide meaningful
1610         implementation.
1611         * java/security/SignatureSpi.java (clone): Likewise.
1612
1613 2004-08-29  Mark Wielaard  <mark@klomp.org>
1614
1615         * java/util/Arrays.java
1616         (sort(byte[], int, int)): Check fromIndex < 0.
1617         (sort(char[], int, int)): Likewise.
1618         (sort(short[], int, int)): Likewise.
1619         (sort(int[], int, int)): Likewise.
1620         (sort(long[], int, int)): Likewise.
1621         (sort(float[], int, int)): Likewise.
1622         (sort(double[], int, int)): Likewise.
1623         (sort(Object[], int, int, Comparator)): Likewise.
1624         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
1625         (qsort(char[], int, int)): Likewise.
1626         (qsort(short[], int, int)): Likewise.
1627         (qsort(int[], int, int)): Likewise.
1628         (qsort(long[], int, int)): Likewise.
1629         (qsort(float[], int, int)): Likewise.
1630         (qsort(double[], int, int)): Likewise.
1631
1632 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1633
1634         * java/util/AbstractCollection.java, java/util/AbstractList.java,
1635         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
1636         java/util/ArrayList.java, java/util/Arrays.java,
1637         java/util/BitSet.java, java/util/Calendar.java,
1638         java/util/Collection.java, java/util/ListIterator.java,
1639         java/util/Map.java, java/util/SortedSet.java:
1640         Added additional exceptions to documentation, along
1641         with some additions and corrections.
1642
1643 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
1644
1645         * configure.ac: Handle --enable-gc-debug.
1646         * configure: Regenerate.
1647         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
1648         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
1649         Rearrange include file order.
1650         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
1651         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
1652         (disable_gc_mutex): Delete along with all references.
1653         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
1654         adjust for debug header size.
1655         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
1656         debug case.
1657         (_Jv_AllocArray): Declare min_heap_addr only if needed.
1658         (gcj_describe_type_fn): New.
1659         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
1660         Register gcj_describe_type_fn.
1661         * include/boehm-gc.h:
1662         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
1663         Don't define, but declare, for debug case.
1664         * java/lang/natObject.cc:
1665         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
1666
1667 2004-08-26  Mark Wielaard  <mark@klomp.org>
1668
1669         Fixes PR libgcj/17002:
1670         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
1671         a TimeZoneId string and then try to convert that to a TimeZone with
1672         getDefaultSystemTimeZone(String).
1673         (timezones0): Changed type from Hashtable to HashMap.
1674         (timezones): Create HashMap, not Hashtable.
1675         (getDefaultTimeZone): New method, rewritten from CNI version.
1676         (readTimeZoneFile): New method.
1677         (readtzFile): Likewise.
1678         (skipFully): Likewise.
1679         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
1680         getDefaultTimeZoneId and rewritten.
1681         (getDefaultTimeZoneId): Rewritten in java.
1682         
1683 2004-08-25  David Daney  <daney@avtrex.com>
1684
1685         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
1686         * Makefile.in: Regenerated.
1687
1688 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
1689
1690         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
1691         only if jvmpi is enabled.
1692         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
1693         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
1694         (_Jv_AllocString): Likewise.
1695         (_Jv_AllocPtrFreeObject): Likewise.     
1696
1697 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
1698
1699         * defineclass.cc: Include <stdio.h>.
1700         * java/lang/natClassLoader.cc: Include <stdio.h>.
1701
1702 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
1703             Michael Koch  <konqueror@gmx.de>
1704
1705         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
1706         * Makefile.in: Regenerated.
1707
1708 2004-08-20  Michael Koch  <konqueror@gmx.de>
1709
1710         * configure.ac: Replaced all AC_TRY_COMPILE macros with
1711         AC_COMPILE_IFELSE macros.
1712
1713 2004-08-20  Michael Koch  <konqueror@gmx.de>
1714
1715         * configure.in: Renamed to configure.ac.
1716         * configure.ac: New file.
1717         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
1718         include/config.h.in, testsuite/Makefile.in: Regenerated.
1719
1720 2004-08-20  Michael Koch  <konqueror@gmx.de>
1721
1722         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
1723         * aclocal.m4, configure: Regenerated.
1724
1725 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1726             Michael Koch  <konqueror@gmx.de>
1727
1728         * configure.in, Makefile.am: Ported to automake 1.9.
1729         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
1730         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
1731         Regenerated.
1732
1733 2004-08-19  Tom Tromey  <tromey@redhat.com>
1734
1735         * java/net/DatagramSocket.java: Fixed typo.
1736
1737 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
1738
1739         PR libgcj/17081
1740         * java/net/URI.java (string): New field. Make all other fields
1741         transient.
1742         (readObject): Implemented.
1743         (writeObject): Implemented.
1744         (URI): Set 'string'.
1745
1746 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
1747
1748         PR libgcj/17079
1749         * java/util/logging/Handler.java (isLoggable): Accept record if its
1750         log level equals the threshold level. From Robin Green.
1751
1752 2004-08-18  David Daney  <ddaney@avtrex.com>
1753
1754         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
1755         instead of sigwait.
1756
1757 2004-08-17  Michael Koch  <konqueror@gmx.de>
1758
1759         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
1760         * Makefile.in: Regenerated.
1761
1762 2004-08-16  Tom Tromey  <tromey@redhat.com>
1763
1764         PR java/8473:
1765         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
1766
1767 2004-08-16  Michael Koch  <konqueror@gmx.de>
1768
1769         * Makefile.am
1770         (math_c_files): Renamed from c_files.
1771         (math_c_source_files): Renamed from c_source_files.
1772         * Makefile.in,
1773         gcj/Makefile.in,
1774         include/Makefile.in,
1775         testsuite/Makefile.in: Regenerated.
1776
1777 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
1778
1779         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
1780         to avoid autoconf warning.
1781         * configure: Rebuilt.
1782
1783 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
1784
1785         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
1786         localhostAddress to loopbackAddress.
1787         * java/net/natInetAddressWin32.cc (lookup): Likewise.
1788
1789 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
1790
1791         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
1792         boehm-gc's include dirs.
1793         * configure: Rebuilt.
1794         * include/boehm-gc.h: Include gc_config.h.
1795
1796 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
1797
1798         * java/net/InetAddress.java (loopbackAddress): Renamed from 
1799         localhostAddress.
1800         (getByName): Return loopback address for null hostname, without
1801         security check. Use lookup(), not getAllByName.
1802         (getAllByName): Return loopback address for null hostname, without
1803         security check.
1804         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
1805         check here.
1806
1807 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
1808
1809         PR libgcj/17020
1810         Reported by Robin Green.
1811         * defineclass.cc (handleField): Don't throw exception on unrecognised
1812         modifier. Add FIXME comments for spec compliance.
1813         (handleMethod): Likewise.
1814
1815 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
1816
1817         PR libgcj/16662
1818         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
1819         (Almost everywhere): add LOG calls, fix, add comments.
1820         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
1821         Add explicit check for LOCKED bit in slow case (PR 16662).
1822         (_Jv_MonitorExit): Add casts in debug-only code.
1823         Always release LOCKED bit before throwing exception.
1824         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
1825         isn't.  Handle easy cases without lock acquisition.
1826         (Object::wait): Use NotifyAll for lock inflation.
1827
1828 2004-08-12  David Daney  <ddaney@avtrex.com>
1829
1830         * testsuite/libjava.lang/Process_1.java: New test.
1831         * testsuite/libjava.lang/Process_2.java: New test.
1832         * testsuite/libjava.lang/Process_3.java: New test.
1833         * testsuite/libjava.lang/Process_4.java: New test.
1834         * testsuite/libjava.lang/Process_5.java: New test.
1835         * testsuite/libjava.lang/Process_6.java: New test.
1836         * testsuite/libjava.lang/Process_1.out: Expected result.
1837         * testsuite/libjava.lang/Process_2.out: Expected result.
1838         * testsuite/libjava.lang/Process_3.out: Expected result.
1839         * testsuite/libjava.lang/Process_4.out: Expected result.
1840         * testsuite/libjava.lang/Process_5.out: Expected result.
1841         * testsuite/libjava.lang/Process_6.out: Expected result.
1842
1843 2004-08-12  David Daney  <ddaney@avtrex.com>
1844
1845         PR libgcj/11801
1846         * java/lang/PosixProcess.java: Rewrote.
1847         * java/lang/natPosixProcess.cc: Rewrote.
1848         * java/lang/Runtime.java (execInternal): Declare throws IOException.
1849         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
1850         * posix-threads.cc (block_sigchld) New function.
1851         (_Jv_ThreadRegister) Use it.
1852         (_Jv_ThreadStart) Use it.
1853         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
1854         * Makefile.am: ... to specify extra native headers.
1855         * configure: Regenerated.
1856         * include/config.h: Regenerated.
1857         * Makefile.in: Regenerated.
1858         * gcj/Makefile.in: Regenerated.
1859         * include/Makefile.in: Regenerated.
1860         * testsuite/Makefile.in: Regenerated.
1861
1862 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
1863
1864         PR tree-optimization/16867
1865         * testsuite/libjava.lang/PR16867.java: New test.
1866
1867 2004-08-09  Per Bothner  <per@bothner.com>
1868
1869         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
1870         with private fields and access methods.
1871         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
1872         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
1873         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
1874         ( _Jv_makeUtf8Const): Rewrite using new constructors.
1875         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
1876         * defineclass.cc: Use new _Utf8Const access/convenience methods.
1877         * jni.cc: Likewise.
1878         * resolve.cc: Likewise.
1879         * gcj/field.h: Likewise.
1880         * include/jvm.h: Likewise.
1881         * java/lang/Class.h: Likewise.
1882         * java/lang/natClass.cc: Likwise.
1883         * java/lang/natClassLoader.cc: Likewise
1884         * java/lang/reflect/natMethod.cc: Likewise
1885         * verify.cc: Likewise.
1886         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
1887         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
1888
1889 2004-08-10  Andrew Haley  <aph@redhat.com>
1890
1891         * testsuite/libjava.lang/err14.java: New file.
1892         * testsuite/libjava.lang/err14.out: New file.
1893
1894 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
1895
1896         * Makefile.am: Fix missing rename from x_nat_headers to 
1897         xlib_nat_headers.
1898         * Makefile.in: Regenerated.
1899
1900 2004-08-04  Andrew Haley  <aph@redhat.com>
1901
1902         * java/security/BasicPermission.java: Don't check wildcards.
1903
1904 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
1905             Michael Koch  <konqueror@gmx.de>
1906
1907         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
1908         * configure.in: Replaced all usages of AC_LINK_FILES by
1909         AC_CONFIG_LINKS.
1910         * aclocal.m4,
1911         configure: Regenerated.
1912
1913 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1914             Michael Koch  <konqueror@gmx.de>
1915
1916         * acconfig.h: Removed.
1917         * Makefile.am: Rename variables for xlib peer to include xlib and
1918         gtk_c_headers to gtk_jni_headers.
1919         * Makefile.in: Regenerated.
1920
1921 2004-08-04  Andrew Haley  <aph@redhat.com>
1922
1923         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
1924         debugging.
1925
1926 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
1927
1928         * configure.in: Eliminate uses of changequote (mostly by quoting []).
1929         Replace most top level 'dnl' comments with '#' comments, conforming
1930         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
1931         help strings.
1932         * configure: Rebuilt.
1933
1934 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
1935
1936         * acinclude.m4: Include no-executables.m4.
1937         * aclocal.m4: Rebuild.
1938         * configure.in: Convert to the autoconf 2.59 version of
1939         of the no-executables hack, and also of the nonstandard CXX
1940         hack and the multilibbed CC and CXX hack.  Change prerequisite
1941         to autoconf 2.59.
1942         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
1943         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1944         testsuite/Makefile.in: Regenerate.
1945
1946 2004-08-03  Tom Tromey  <tromey@redhat.com>
1947
1948         * jni.cc: Reindented.
1949
1950 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
1951
1952         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
1953
1954 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
1955
1956         * testsuite/libjava.compile/PR16701.java: New test.
1957
1958 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1959
1960         * java/util/Collection.java, java/util/List.java,
1961         java/util/Map.java, java/util/Set.java,
1962         java/util/SortedMap.java, java/util/SortedSet.java:
1963         Added additional exceptions to documentation.
1964
1965 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
1966
1967         PR libgcj/16814
1968         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
1969         * configure. Regenerate.
1970         * include/win32.h: Explicitly include winsock2.h
1971         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
1972         Winsock api.
1973
1974 2004-07-30  Michael Koch  <konqueror@gmx.de>
1975
1976         * java/util/zip/GZIPInputStream.java
1977         (GZIPInputStream): Increase buffer size to 4k.
1978         * java/util/zip/GZIPOutputStream.java
1979         (GZIPOutputStream): Likewise.
1980         * java/util/zip/Inflater.java
1981         (setInput): Merged formating with GNU classpath.
1982         * java/util/zip/InflaterInputStream.java
1983         (InflaterInputStream): Increase buffer size to 4k.
1984         (fill): Throw exception if stream ends early.
1985         (read): Merged endless-loop with GNU classpath.
1986         (skip): Increase buffer size to 2k.
1987
1988 2004-07-30  Michael Koch  <konqueror@gmx.de>
1989
1990         * gnu/java/awt/EmbeddedWindow.java
1991         (addNotify): Use AccessController to allow execution of privileged
1992         code.
1993
1994 2004-07-29  Michael Koch  <konqueror@gmx.de>
1995
1996         * gnu/java/lang/MainThread.java:
1997         Explicitely import used classes.
1998         (args): Make it type String[].
1999
2000 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2001
2002         * gnu/java/awt/ComponentDataBlitOp.java,
2003         gnu/java/beans/ExplicitBeanInfo.java,
2004         gnu/java/beans/IntrospectionIncubator.java,
2005         gnu/java/beans/editors/ColorEditor.java,
2006         gnu/java/beans/editors/FontEditor.java,
2007         gnu/java/beans/editors/NativeBooleanEditor.java,
2008         gnu/java/beans/editors/NativeByteEditor.java,
2009         gnu/java/beans/editors/NativeDoubleEditor.java,
2010         gnu/java/beans/editors/NativeFloatEditor.java,
2011         gnu/java/beans/editors/NativeIntEditor.java,
2012         gnu/java/beans/editors/NativeLongEditor.java,
2013         gnu/java/beans/editors/NativeShortEditor.java,
2014         gnu/java/beans/editors/StringEditor.java,
2015         gnu/java/io/ClassLoaderObjectInputStream.java,
2016         gnu/java/io/decode/Decoder.java,
2017         gnu/java/io/encode/Encoder.java,
2018         gnu/java/lang/ClassHelper.java,
2019         gnu/java/locale/Calendar.java,
2020         gnu/java/locale/Calendar_de.java,
2021         gnu/java/locale/Calendar_en.java,
2022         gnu/java/locale/Calendar_nl.java,
2023         gnu/java/locale/LocaleInformation_de.java,
2024         gnu/java/locale/LocaleInformation_en.java,
2025         gnu/java/locale/LocaleInformation_nl.java:
2026         Cleaned up imports.
2027
2028 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2029
2030         * README: Remove obsolete info. Update bug URL.
2031         * THANKS: Updated.
2032         * NEWS: Updated with news up to GCC 3.4 release.
2033
2034 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2035
2036         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2037         Renamed from 'setName'. New 2-argument form with default value.
2038         (run): Pass default 'value' parameter to System.getProperty().
2039         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2040         typos.
2041         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2042         not 'setName'.
2043
2044 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2045
2046         * configure.in: Check for minimum GTK version 2.4 requirement.
2047         * configure: Rebuilt.
2048
2049 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2050
2051         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2052         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2053         Reduce sleep time.
2054         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2055         compiler bug.
2056         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
2057         address. Reduce sleep times. Synchronize with target threads before
2058         attempting to interrupt them. Don't try to calibrate yeild count,
2059         instead, always loop for a fixed time.
2060         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2061         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2062         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2063         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2064         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2065         * testsuite/libjava.lang/pr179.java: Likewise.
2066         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2067         time. Remove upper bounds check on sleep time. 
2068
2069 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2070
2071         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2072         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
2073
2074 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2075
2076         * java/io/File.java (toURI): Throw RuntimeException, not 
2077         InternalError.
2078         * java/lang/Runtime.java (exit): Qualify static sleep() call with
2079         class name, not instance.
2080
2081 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
2082
2083         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2084         and gnu/java/security/action/SetAccessibleAction.java.
2085         * Makefile.in: Rebuilt.
2086
2087 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2088
2089         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2090         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2091         _Jv_InitPrimClass.
2092         (DECLARE_PRIM_TYPE): Don't declare array vtables.
2093         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2094         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2095
2096 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2097
2098         * Makefile.am: Replace jar, rmic and rmiregistry references with
2099         gjar, grmic and grmiregistry.
2100         * configure.in: Likewise.
2101         * Makefile.in: Regenerate.
2102         * configure: Likewise.
2103         * gcj/Makefile.in: Likewise.
2104         * include/Makefile.in: Likewise.
2105         * testsuite/Makefile.in: Likewise.
2106
2107 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2108
2109         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2110         for privileged getProperty calls.
2111         * java/io/ObjectOutputStream.java (getField): No longer static. Use
2112         SetAccessibleAction instead of anonymous class for doPrivileged call.
2113         (getMethod): Likewise.
2114         (setAccessible): New field. PrivilegedAction object to use when
2115         calling setAccessible.
2116         * java/io/ObjectStreamClass.java (calculateOffsets): Use
2117         SetAccessibleAction instead of anonymous class for diPrivileged call.
2118         (setFields): Likewise.
2119         (getClassUID): Likewise.
2120         (findMethod): Likewise.
2121         * gnu/java/security/action/GetPropertyAction.java: New class.
2122         * gnu/java/security/action/SetAccessibleAction.java: New class. 
2123
2124 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2125
2126         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2127         for final fields.
2128         * testsuite/libjava.lang/Serialization.java: New test.
2129         * testsuite/libjava.lang/Serialization.out: New.
2130
2131 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2132
2133         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2134         missed in last commit.
2135
2136 2004-07-23  Mark Wielaard  <mark@klomp.org>
2137
2138         * java/lang/System.java (static): Set http.agent system property when
2139         not yet set.
2140         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2141         from system property inside AccessController.doPrivileged() call.
2142         (proxyPort): Made package private.
2143         (proxyInUse): Likewise.
2144         (proxyHost): Likewise.
2145         (userAgent): Likewise.
2146
2147 2004-07-23  Mark Wielaard  <mark@klomp.org>
2148
2149         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2150         implementation.
2151
2152 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
2153
2154         * Makefile.am (ordinary_java_source_files): Add
2155         DefaultContentHandlerFactory.java.
2156         * Makefile.in: Rebuilt.
2157         * java/net/URLConnection.java (defaultFactory): New field.
2158         (getContent): 
2159         (getContentHandler): Renamed from 'setContentHandler'. Try 
2160         defaultFactory after user-set factory, if any. Search for content 
2161         handler implementations in gnu.java.net.content, not gnu.gcj.content.
2162         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2163         Implemented.
2164         (getLastModified): Implemented.
2165         (getPermission): Create file permission here, instead of in
2166         constructor.
2167         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2168         Implemented.
2169         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2170         Implemented.
2171         (getLastModified): Implemented.
2172         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2173         Default implementation.
2174         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2175         Implement using GdkPixbufDecoder.
2176         
2177 2004-07-21  Michael Koch  <konqueror@gmx.de>
2178
2179         * javax/swing/JTextArea.java
2180         (setLineWrap): Fire property change event after new value is set.
2181         (setTabSize): Likewise.
2182
2183 2004-07-21  Michael Koch  <konqueror@gmx.de>
2184
2185         * javax/swing/JTable.java
2186         (autoCreateColumnsFromModel): New field.
2187         (autoResizeMode): Likewise.
2188         (cellEditor): Likewise.
2189         (cellSelectionEnabled): Likewise.
2190         (columnModel): Likewise.
2191         (dataModel): Likewise.
2192         (defaultEditorsByColumnClass): Likewise.
2193         (defaultRenderersByColumnClass): Likewise.
2194         (editingColumn): Likewise.
2195         (editingRow): Likewise.
2196         (gridColor): Likewise.
2197         (preferredViewportSize): Likewise.
2198         (rowHeight): Likewise.
2199         (rowMargin): Likewise.
2200         (rowSelectionAllowed): Likewise.
2201         (selectionBackground): Likewise.
2202         (selectionForeground): Likewise.
2203         (selectionModel): Likewise.
2204         (showHorizontalLines): Likewise.
2205         (showVerticalLines): Likewise.
2206         (tableHeader): Likewise.
2207         (JTable): Implemented.
2208         (getColumnModel): Likewise.
2209         (getSelectedRow): Likewise.
2210         (getSelectionModel): Likewise.
2211         (setModel): Likewise.
2212         (setSelectionModel): Likewise.
2213         (createScrollPaneForTable): New method.
2214         (createDefaultDataModel): Likewise.
2215         (createDefaultListSelectionModel): Likewise.
2216         (getModel): Likewise.
2217         (getTableHeader): Likewise.
2218         (setTableHeader): Likewise.
2219         (getColumnSelectionAllowed): Likewise.
2220         (setColumnSelectionAllowed): Likewise.
2221         (getRowSelectionAllowed): Likewise.
2222         (setRowSelectionAllowed): Likewise.
2223         (getAutoResizeMode): Likewise.
2224         (setAutoResizeMode): Likewise.
2225         (getColumnCount): Likewise.
2226         (getRowCount): Likewise.
2227         (getCellRenderer): Likewise.
2228         * javax/swing/JTree.java
2229         (cellRenderer): New field.
2230         (editable): Likewise.
2231         (rootVisible): Likewise.
2232         (showsRootHandles): Likewise.
2233         (getModel): New method.
2234         (setModel): Likewise.
2235         (isEditable): Likewise.
2236         (setEditable): Likewise.
2237         (isRootVisbile): Likewise.
2238         (setRootVisible): Likewise.
2239         (getShowsRootHandles): Likewise.
2240         (setShowRootHandles): Likewise.
2241         (getCellRenderer): Likewise.
2242         (setCellRenderer): Likewise.
2243
2244 2004-07-21  Michael Koch  <konqueror@gmx.de>
2245
2246         * javax/swing/JFormattedTextField.java
2247         (setDocument): Implemented.
2248         * javax/swing/JRootPane.java:
2249         Fixed javadocs.
2250         * javax/swing/JTable.java
2251         (getDefaultRenderer): New method.
2252         * javax/swing/JTextField.java
2253         (setFont): Likewise.
2254         (getPreferredSize): Likewise.
2255         * javax/swing/JToggleButton.java
2256         (getAccessibleContext): Fix javadoc.
2257         * javax/swing/JTree.java:
2258         Add some javadocs.
2259         * javax/swing/JViewport.java:
2260         Likewise.
2261
2262 2004-07-21  David Jee  <djee@redhat.com>
2263
2264         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2265         Collect all native method declaration at the top.
2266         (create): Set the filename filter if necessary.
2267         (setDirectory): Call nativeSetDirectory().
2268         (setFilenameFilter): Implement.
2269         (filenameFilterCallback): New method.
2270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2271         (create): Configure dialog to show hidden files.
2272         (filenameFilterCallback): New function. 
2273         (nativeSetFilenameFilter): New function.
2274         (nativeSetDirectory): New function.
2275
2276 2004-07-21  Kim Ho  <kho@redhat.com>
2277
2278         * javax/swing/plaf/basic/BasicSliderUI.java:
2279         Ran Jalopy.
2280         (paintTrack): Fill the track before painting
2281         the borders.
2282
2283 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2284
2285         patch from Roman Kennke <roman@ontographics.com>
2286         * javax/swing/Spring.java: New file.
2287         * javax/swing/SpringLayout.java: New file.
2288         * Makefile.am: Add new files.
2289         * Makefile.in: Regenerate.
2290
2291 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2292
2293         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2294         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2295         * javax/swing/ScrollPaneLayout.java: Likewise.
2296
2297 2004-07-21  Kim Ho  <kho@redhat.com>
2298
2299         * javax/swing/DefaultDesktopManager.java:
2300         (findMinimum): Removed.
2301         (resizeFrame): Trust the UI to pass valid 
2302         bounds.
2303         * javax/swing/JOptionPane.java:
2304         Implemented showInternalXXXDialog methods.
2305         (startModal): New method.
2306         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2307         (BorderListener::mouseDragged): Verify that the new 
2308         bounds are valid before passing them to the DesktopManager.
2309         (preferredLayoutSize): Delegate
2310         to getSize.
2311         (minimumLayoutSize): Ditto.
2312         (getSize): New method.
2313         (GlassPaneDispatcher): Reimplemented by copying 
2314         a stripped down LightweightDispatcher from Container.
2315         (getMinimumSize): Call minimumLayoutSize.
2316         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2317         Ran Jalopy.
2318         (mousePressed): Add ability to properly close 
2319         JInternalFrames.
2320         * javax/swing/plaf/basic/BasicToolBarUI.java:
2321         (DragWindow): Set owner for DragWindow.
2322
2323 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2324
2325         * java/awt/image/ShortLookupTable.java: New file.
2326         * java/awt/image/ByteLookupTable.java: New file.
2327         * Makefile.am: Added new files.
2328         * Makefile.in: Regenerated.
2329
2330 2004-07-21  David Jee  <djee@redhat.com>
2331
2332         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2333         (create(GtkContainerPeer)): New native method.
2334         (create()): Call native create(), passing in the parent frame
2335         as the paramter. Natively set the current file and directory.
2336         (setFile): Construct an absolute filename before passing it to
2337         the native peer.
2338         (nativeGetDirectory): New method.
2339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2340         (window_closed): Removed.
2341         (ok_clicked): Likewise.
2342         (cancel_clicked): Likewise.
2343         (handle_response): New method.
2344         (create): Use GtkFileChooserDialog.
2345         (connectSignals): Connect to handle_response.
2346         (nativeGetDirectory): New method.
2347         (nativeSetFile): Use GtkFileChooserDialog.
2348
2349 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2350
2351         * java/awt/image/LookupTable.java: New file.
2352         * Makefile.am: Added new file.
2353         * Makefile.in: Regenerated.
2354
2355 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2356
2357         * java/awt/image/Kernel.java: New file.
2358         * Makefile.am: Added new file.
2359         * Makefile.in: Regenerated.
2360
2361 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
2362
2363         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2364         * javax/swing/JMenu.java: Likewise.
2365         * javax/swing/JMenuBar.java: Likewise.
2366         (MARGIN_CHANGED_PROPERTY): New property.
2367         (setMargin): Implemented.
2368         * javax/swing/JMenuItem.java: Fixed javadocs.
2369         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2370         (LABEL_CHANGED_PROPERTY): New property.
2371         (add): changed to use createActionComponent.
2372         (createActionComponent): Implemented.   
2373         (setLabel): Fire PropertyChangeEvent if label property
2374         changes.
2375         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2376         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2377         (ContainerHandler): Repaint if margin property has changed.
2378         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2379         (installUI): Call installComponents().
2380         (uninstallUI): Call uinstallComponents().
2381         * javax/swing/plaf/basic/BasicMenuUI.java:
2382         Fixed javadocs.
2383         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2384         Likewise.
2385
2386 2004-07-21  Kim Ho  <kho@redhat.com>
2387
2388         * javax/swing/plaf/basic/BasicToolBarUI.java:
2389         (DragWindow): Use the right constructor.
2390
2391 2004-07-21  Kim Ho  <kho@redhat.com>
2392
2393         * javax/swing/JToolBar.java:
2394         (layoutContainer): Use getComponents.
2395         * javax/swing/plaf/basic/BasicToolBarUI.java:
2396         (DragWindow): Don't use SwingUtilities' 
2397         getOwnerFrame
2398         (ToolBarDialog): ditto.
2399
2400 2004-07-21  Kim Ho  <kho@redhat.com>
2401
2402         * javax/swing/JRootPane.java:
2403         Ran jalopy.
2404         (layoutContainer): Set the glasspane's size to 
2405         be the same as the content pane.
2406         (createGlassPane): Set opaque property to false.
2407
2408 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2409
2410         * java/awt/Component.java (requestFocus()): Don't handle Panels
2411         specially.
2412         (requestFocus(boolean)): Likewise.
2413         (requestFocusInWindow(boolean)): Likewise.
2414         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2415         Set GTK_CAN_FOCUS flag.
2416
2417 2004-07-21  Kim Ho  <kho@redhat.com>
2418
2419         * Makefile.am: Added new file.
2420         * Makefile.in: Regenerated.
2421         * gcj/Makefile.in: Regenerated.
2422         * include/Makefile.in: Regenerated.
2423         * javax/swing/AbstractButton.java:
2424         Add rollOverEnabled property.
2425         (setRolloverEnabled): Use new property.
2426         (isRolloverEnabled): Use new property.
2427         * javax/swing/JTabbedPane.java:
2428         (setComponent): Remove useless JTabbedPane.this.
2429         * javax/swing/JToolBar.java: Finish implementation.
2430         * javax/swing/plaf/basic/BasicArrowButton.java:
2431         (paint): Moved border painting to a border.
2432         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2433         Change JToolBar look and feel defaults.
2434         * javax/swing/plaf/basic/BasicOptionPaneUI.java
2435         (actionPerformed): Return Integer index instead of name.
2436         (addButtonComponents): Check to see if component is
2437         JButton last.
2438         (createMessageArea): Don't use components that are not
2439         completed yet.
2440         (getIconForType): Use temporary icons.
2441         * javax/swing/plaf/basic/BasicSliderUI.java:
2442         (mousePressed): Do not return if it's on thumb.
2443         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2444         (paintMinorTickForVertSlider): ditto.
2445         (paintMajorTickForHorizSlider): ditto.
2446         (paintMajorTickForVertSlider): ditto.
2447         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2448         Add a border around the SplitPaneDivider.
2449         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2450         Remove comments.
2451         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2452         New file. Implemented.
2453         * javax/swing/plaf/basic/BasicToolBarUI.java:
2454         Implemented.
2455         * testsuite/Makefile.in: Regenerated.
2456
2457 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2458
2459         * javax/swing/Timer.java (run): Queue events each time cycle.
2460
2461 2004-07-21  David Jee  <djee@redhat.com>
2462
2463         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2464         (imageComplete): Call image.imageComplete().
2465         * java/awt/image/MemoryImageSource.java:
2466         Reimplement consumers as a Vector instead of a Hashtable.  This is
2467         because enumeration on a Hashtable is not thread-safe.
2468         (addConsumer): Adapt to Vector consumers.
2469         (isConsumer): Adapt to Vector consumers.
2470         (removeConsumer): Adapt to Vector consumers.
2471         (startProduction): Adapt to Vector consumers. Call imageComplete()
2472         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2473         (newPixels): Adapt to Vector consumers.
2474         (sendPicture): Set the color model of the image consumer.
2475         (newPixels(IIII)): Adapt to Vector consumers.
2476         (newPixels(IIIIB)): Adapt to Vector consumers.
2477
2478 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2479
2480         * java/awt/Component.java (deliverEvent): Implement.
2481         (postEvent): Implement.
2482         (handleEvent): Implement.
2483         (translateEvent): New method.
2484         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
2485         * java/awt/Container.java (deliverEvent): Implement.
2486         * java/awt/Event.java (paramString): Fix formatting.
2487         * java/awt/Font.java (toString): Likewise.
2488         * java/awt/Window.java (postEvent): Implement.
2489
2490 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2491
2492         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2493         Set window's focus owner upon receiving a FOCUS_LOST event.
2494         * java/awt/Window.java (Window()): Refocus the previously
2495         focused component within the window when the window regains the
2496         top-level focus.
2497         (setFocusOwner): New method.
2498         * java/awt/Component.java (requestFocus): Add FIXME.
2499
2500         * libgcj.pc.in: Remove library flags.
2501
2502 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2503
2504         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2505         MOUSE_PRESSED event.
2506         * java/awt/Component.java (requestFocus()): Handle Panel
2507         specially.  Post FOCUS_LOST event on opposite component.
2508         (requestFocus(boolean)): Likewise.
2509         (requestFocusInWindow(boolean)): Likewise.
2510         (paramString): Reorder dimension fields.
2511         * java/awt/Container.java (paramString): Fix string format.
2512         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2513         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
2514         process key events if the focus owner is non-null.
2515         (dispatchKeyEvent): Likewise.
2516         * java/awt/Frame.java (paramString): Fix formatting.
2517         (generateName): New method.
2518         (getUniqueLong): Likewise.
2519         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2520         the temporary focus owner is null.  If so, return the permanent
2521         focus owner.
2522         * java/awt/Panel.java (generateName): New method.
2523         (getUniqueLong): Likewise.
2524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2525         signal handling to make callbacks more specific.
2526
2527 2004-07-21  Michael Koch  <konqueror@gmx.de>
2528
2529         * javax/swing/text/Position.java
2530         (Bias): Implemented.
2531
2532 2004-07-21  Michael Koch  <konqueror@gmx.de>
2533
2534         * javax/swing/LookAndFeel.java
2535         (provideErrorFeedback): New method.
2536
2537 2004-07-21  Michael Koch  <konqueror@gmx.de>
2538
2539         * javax/swing/JTextArea.java
2540         (tabSize): New field.
2541         (getTabSize): New method.
2542         (setTabSize): Likewise.
2543
2544 2004-07-21  Michael Koch  <konqueror@gmx.de>
2545
2546         * javax/swing/ActionMap.java:
2547         Fixed javadocs all over.
2548         (serialVersionUID): Made private.
2549         (parent): Don't explicitely initialize with default value.
2550         (get): SImplified.
2551         (keys): Reimplemented.
2552         (allKeys): Likewise.
2553         (convertSet): Removed.
2554         * javax/swing/ComponentInputMap.java:
2555         Fixed javadocs all over.
2556         (ComponentInputMap): Implemented.
2557         (put): Likewise.
2558         (clear): Likewise.
2559         (remove): Likewise.
2560         (SetParent): Likewise.
2561         (getComponent): Likewise.
2562         * javax/swing/InputMap.java:
2563         Fixed javadocs all over.
2564         (serialVersionUID): Made private.
2565         (parent): Don't explicitely initialize with default value.
2566         (get): SImplified.
2567         (keys): Reimplemented.
2568         (allKeys): Likewise.
2569         (convertSet): Removed.
2570
2571 2004-07-21  Michael Koch  <konqueror@gmx.de>
2572
2573         * javax/swing/ActionMap.java,
2574         javax/swing/ComponentInputMap.java,
2575         javax/swing/InputMap.java,
2576         javax/swing/table/DefaultTableColumnModel.java,
2577         javax/swing/table/TableColumn.java,
2578         javax/swing/table/TableColumnModel.java,
2579         javax/swing/table/TableModel.java,
2580         javax/swing/text/AbstractDocument.java,
2581         javax/swing/text/TextAction.java:
2582         Reformated.
2583
2584 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2585
2586         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
2587         Make method non-static.
2588         * javax/swing/AbstractButton.java:
2589         Rename fields to match property names where possible.
2590         (iconTextGap): New property.
2591         * javax/swing/JCheckBox.java: Match AbstractButton changes.
2592         (init) New method, call from after various constructors.
2593         * javax/swing/JComponent.java (revalidate): 
2594         Invalidate before queueing repair.
2595         * javax/swing/JList.java (getPreferredScrollableViewportSize):
2596         Reimplement in terms of visibleRowCount property.
2597         * javax/swing/JMenuButton.java: Match AbstractButton changes.
2598         * javax/swing/JScrollPane.java (createScrollListener): 
2599         Remove tracing chatter.
2600         * javax/swing/JToggleButton.java: Match AbstractButton changes.
2601         * javax/swing/RepaintManager.java (addInvalidComponent): 
2602         Don't invalidate.
2603         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2604         calculations.
2605         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
2606         Mimic sun behavior on top left/right positioning.
2607         * javax/swing/ViewportLayout.java (preferredLayoutSize):
2608         Remove mistaken use of preferredScrollableViewportSize here.
2609         (layoutContainer): Use view's preferred size as basis.
2610         * javax/swing/plaf/basic/BasicButtonUI.java:
2611         Set, get, and use textIconGap property.
2612         (paint) Paint text returned from layout (with ellipsis).
2613         * javax/swing/plaf/basic/BasicListUI.java:
2614         Remove tracing chatter, correct various minor calculations.
2615         (getCellBounds): Update layout state before calculating.
2616         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
2617         Use margin default similar to sun's.    
2618         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
2619         (createIncreaseIcon): Center icon, minimize margins.
2620         (createDecreaseIcon): Likewise.
2621         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
2622         Implement.
2623         (installUI): Call it.
2624         (uninstallDefaults): Implement.
2625         (uninstallUI): Call it.
2626         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
2627         Call existing Window constructor.
2628         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
2629         Set clip before painting.
2630
2631 2004-07-21  Olga Rodimina <rodimina@redhat.com>
2632         
2633         * javax/swing/JMenuItem.java:
2634         (processMouseEvent): Reimplemented to deal with
2635         mouse drag events.
2636         (createMenuDragMouseEvent): New private helper method.
2637         Creates MenuDragMouseEvent.
2638         * javax/swing/MenuSelectionManager.java
2639         (componentForPoint): Implemented.
2640         (isComponentPartOfCurrentMenu): Made public.
2641         (processMouseEvent): Reimplemented to deal with 
2642         mouse drag events.
2643         (setSelectedPath): Corrected small mistake that caused
2644         path to be set incorrectly.
2645         (getPath): If given component is JMenu then also add this
2646         menu's popup menu to the selected path.
2647         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2648         (getPath): Ditto.
2649         (getPreferredSize): Call getPreferredMenuItemSize().
2650         (getPreferredItemSize): Moved code from getPreferredSize to here.
2651         (installListeners): Install MouseMotionListeners.
2652         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
2653         if mouse wasn't released in the bounds of this menu item.
2654         (MenuDragMouseHandler): Implemented.
2655         * javax/swing/plaf/basic/BasicMenuUI.java:
2656         (installListeners): Install MouseMotionListener and 
2657         MenuDrageMouseListener.
2658         (MenuDragMouseHandler): Implemented.
2659         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2660         (uninstallListeners): Implemented.
2661         
2662 2004-07-21  Michael Koch  <konqueror@gmx.de>
2663
2664         * javax/swing/JCheckBox.java: Reformated.
2665         (JCheckBox): Fixed all constructors.
2666         (isBorderPaintedFlat): New method.
2667         (setBorderPaintedFlat): New method.
2668         * javax/swing/JEditorPane.java
2669         (createEditorKitForContentType): Made public.
2670         (scrollToReference): Likewise.
2671         * javax/swing/JTextArea.java
2672         (setLineWrap): Fire property change.
2673         * javax/swing/JToggleButton.java
2674         (JToggleButton): New constructor.
2675         (JToggleButton): Simplified.
2676         * javax/swing/text/AttributeSet.java
2677         (FontAttribute): Renamed from FontCharacterAttribute.
2678         * javax/swing/text/JTextComponent.java
2679         (KeyBinBinding): Added javadoc.
2680         (JTextComponent): Likewise.
2681         (getAccessibleContext): Fixed javadoc.
2682         * javax/swing/text/View.java
2683         (View): Added javadoc.
2684         * javax/swing/text/TabableView.java: New file.
2685         * Makefile.am: Added javax/swing/text/TabableView.java.
2686         * Makefile.in: Regenerated.
2687
2688 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2689
2690         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
2691         * gnu/java/awt/peer/gtk/GtkToolkit.java 
2692         (GtkErrorImage): New helper class.
2693         (bufferedImageOrError): New helper method.
2694         (createImage): Use it.
2695
2696 2004-07-21  David Jee  <djee@redhat.com>
2697
2698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2699         (setCaretPosition): Scroll the text view so the new caret position
2700         is visible on screen.
2701
2702 2004-07-21  David Jee  <djee@redhat.com>
2703
2704         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
2705         (setBounds): Do not validate awtComponent here.
2706         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2707         (getPreferredSize): New method.
2708         * java/awt/ScrollPane.java
2709         (ScrollPane): Set default size to 100x100.
2710         (addNotify): If child is not a Panel, wrap it with a new Panel.
2711         (paramString): Implement.
2712
2713 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
2714
2715         * javax/swing/JMenu.java:
2716         (setSelected): Display popup menu only if this menu 
2717         is showing on the screen.
2718         * javax/swing/JPopupMenu.java:
2719         (processMouseEvent): Added comment.
2720         (processKeyEvent): Likewise.
2721         * javax/swing/MenuSelectionManager.java:
2722         (clearSelectedPath): Only fireStateChanged() after
2723         selected path was changed, not before.
2724         (setSelectedPath): Likewise.
2725         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2726         (paintMenuItem): Corrected position of menu item's
2727         icon.
2728         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2729         (installUI): Correct setDefaultLightWeightPopupEnabled call.
2730         (popupMenuCanceled): Reimplemented.
2731         (popupMenuWillBecomeVisible): Select first menu item by default 
2732         when displaying free floating popup menus.
2733         (TopWindowListener): Reimplemented.
2734
2735 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2736
2737         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
2738         Panel from being painted twice when it is first shown.
2739
2740 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
2741
2742         * java/awt/Window.java: Reverted changes from my 
2743         previous patch for creating window without an owner.
2744         * javax/swing/SwingUtilities.java: 
2745         (SwingUtilities.OwnerFrame): made static.
2746         (OwnerFrame.setVisible): New method. Overridden with
2747         empty implementation.
2748         (OwnerFrame.isShowing): New method. Ovverridden
2749         to return always true.
2750
2751 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2752
2753         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2754         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2755         (GtkComponentPeer): Remove temporary try/catch block.
2756         (setVisible): Call show and hide.
2757         (show): Make native.
2758         (hide): Likewise.
2759         (getArgs): Don't add "visible" argument.
2760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2761         (property_notify_predicate): Return Bool instead of int.
2762         (find_layout): New function.
2763         (connectJObject): Call find_layout.
2764         (connectSignals): Likewise.
2765         (moveLayout): Likewise.
2766         (gtkLayoutSetVisible): Likewise.
2767
2768 2004-07-21  Mark Wielaard  <mark@klomp.org>
2769
2770         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
2771         on notifier object before calling notifyAll().
2772
2773 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
2774
2775         * java/awt/Window.java: Changed constructors to use new
2776         method that is described below. Constructors call this
2777         methods only if newly created window should have an owner.
2778         (setWindowOwner): New method. Implementation for
2779         this method is moved from this(owner,configuration).
2780         * javax/swing/JWindow.java:
2781         (JWindow): Reimplement to use SwingUtilities.ownerFrame
2782         instead of owner.
2783         * javax/swing/SwingUtilities.java:
2784         (ownerFrame): Change type of this field to OwnerFrame.
2785         (getOwnerFrame): Changed to return object of type OwnerFrame.
2786         (SwingUtilities.OwnerFrame): New class. Represents owner
2787         of a Window that is not provided with one.
2788
2789 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
2790
2791         *  javax/swing/AbstractButton.java: 
2792         (configurePropertiesFromAction): Set action command
2793         to button's text by default if action command is not 
2794         explicitely specified.
2795         * javax/swing/JMenu.java: Remove unnecessary listener
2796         and methods relevant to it.
2797         (setSelected): Reimplemented.
2798         (menuSelectionChanged): Moved most part of implementation to
2799         setSelected() and call it instead.
2800         * javax/swing/JMenuItem.java: 
2801         (init): Comment out statement that sets paint_border to false.
2802         (configurePropertiesFromAction): Do not set accelerator
2803         for JMenu.
2804         (menuSelectionChanged): Change selected index in the selection
2805         model of menu item's parent.
2806         * javax/swing/JPopupMenu.java:
2807         (remove): Set constraints.fill field to GridBagConstraints.BOTH
2808         instead of GridBagConstraints.HORIZONTAL.
2809         (insert): Likewise.
2810         (createActionChangeListener): Implemented.
2811         (setVisible): Correct location of HeavyWeightMenu and 
2812         don't firePopupMenuCanceled().
2813         (menuSelectionChanged): Implemented.
2814         (ActionChangeListener): New Listener. Implemented.
2815         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2816         (BasicMenuBarUI.ContainerHandler): Implemented.
2817         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2818         (paintMenuItem): Uncommented out code that paints 
2819         icon, now that icons are working properly.
2820         (PropertyChangeListener): Implemented.
2821         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2822         Added javadocs.
2823         (topWindowListener): New field.
2824         (Constructor): initialize topWindowListener.
2825         (BasicPopupMenuUI.TopWindowListener): Implemented.      
2826         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
2827         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
2828         Implemented.
2829
2830 2004-07-21  Michael Koch  <konqueror@gmx.de>
2831
2832         * javax/swing/plaf/basic/BasicButtonUI.java
2833         (paintFocus): Fixed method signature.
2834         (paintButtonPressed): Likewise.
2835         (paintButtonNormal): Likewise.
2836         (paintText): New method.
2837         * javax/swing/plaf/basic/BasicLabelUI.java
2838         (paint): Re-indented.
2839         * javax/swing/plaf/basic/BasicTextUI.java
2840         (installUI): Set parent textComponent to opaque.
2841         * javax/swing/text/DefaultHighlighter.java
2842         (checkPositions): New helper method.
2843         (addHighlight): Throws BadLocationException, check positions.
2844         (changeHighlight): Likewise.
2845         * javax/swing/text/EditorKit.java
2846         (EditorKit): Implements Serializable.
2847         * javax/swing/text/JTextComponent.java
2848         (getUI): Added javadoc.
2849         (setUI): Likewise.
2850         (upadteUI): Added javadoc, don't revalidate and repaint.
2851
2852 2004-07-21  David Jee  <djee@redhat.com>
2853
2854         * java/awt/GridBagLayout.java
2855         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
2856         * javax/swing/AbstractButton.java
2857         (setText): Reindent.
2858         * javax/swing/RepaintManager.java
2859         (addInvalidComponent): Find the first ancestor that isValidateRoot().
2860
2861 2004-07-21  Michael Koch  <konqueror@gmx.de>
2862
2863         * javax/swing/JFormattedTextField.java
2864         (value): New field.
2865         (JFormattedTextField): Implemented.
2866         (getValue): Likewise.
2867         (setValue): Likewise.
2868         * javax/swing/LookAndFeel.java
2869         (getSupportsWindowDecorations): New method.
2870         * javax/swing/UIDefaults.java:
2871         Use java.beans.PropertyChangeSupport instead of doing all ourself.
2872         (addPropertyChangeListener): Made public.
2873         (addResourceBundle): Likewise.
2874         (removeResourceBundle): Likewise.
2875         (setDefaultLocale): Likewise.
2876         * javax/swing/plaf/basic/BasicRootPaneUI.java
2877         (BasicRootPaneUI): Implements PropertyChangeListener.
2878         (propertyChange): New method.
2879         * javax/swing/plaf/basic/BasicTextUI.java
2880         (BasicHighlighter): New inner class.
2881         (createHighlighter): New method.
2882         * javax/swing/plaf/basic/BasicToolBarUI.java
2883         (DragWindow): Extends java.awt.Window.
2884         * javax/swing/text/JTextComponent.java
2885         (getDocument): Removed debug output.
2886         * javax/swing/plaf/basic/BasicTextFieldUI.java,
2887         javax/swing/text/DefaultHighlighter.java,
2888         javax/swing/text/FieldView.java,
2889         javax/swing/text/PlainView.java: New files.
2890         * Makefile.am: Added new files.
2891         * Makefile.in: Regenerated.
2892
2893 2004-07-21  Michael Koch  <konqueror@gmx.de>
2894
2895         * javax/swing/JEditorPane.java
2896         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
2897         (createEditorKitForContentType): Likewise.
2898         * javax/swing/text/DefaultEditorKit.java
2899         (serialVersionUID): Added constant field.
2900         (EndOfLineStringPropery): Fixed typo.
2901         (DefaultEditorKit): New constructor.
2902         * javax/swing/text/Segment.java:
2903         Import java.text.CharacterIterator.
2904         * javax/swing/text/CharacterIterator.java,
2905         javax/swing/text/PlainEditorKit.java: Removed.
2906         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
2907         javax/swing/text/PlainEditorKit.java.
2908         * Makefile.in: Regenerated.
2909
2910 2004-07-21  Michael Koch  <konqueror@gmx.de>
2911
2912         * javax/swing/JButton.java,
2913         javax/swing/text/DefaultEditorKit.java,
2914         javax/swing/text/EditorKit.java,
2915         javax/swing/text/Segment.java,
2916         javax/swing/text/StyledEditorKit.java:
2917         Reformatted.
2918
2919 2004-07-21  Michael Koch  <konqueror@gmx.de>
2920
2921         * javax/swing/ImageIcon.java
2922         (file): Removed.
2923         (description): Renamed from descr.
2924         (ImageIcon): Added missing constructors.
2925         (setParent): Removed.
2926         (setImageObserver): New method.
2927         (getImageObserver): New method.
2928         (paintIcon): Handle observer = null.
2929         * javax/swing/JButton.java
2930         (removeNotify): Fixed javadoc.
2931         (updateUI): Simplified.
2932         * javax/swing/JRootPane.java
2933         (serialVersionUID): New constant field.
2934         * javax/swing/UIManager.java:
2935         Fixed javadocs all over.
2936         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
2937         * javax/swing/text/AbstractDocument.java
2938         (createPosition): Throws BadLocationException.
2939         (getText): Likewise.
2940         (remove): Likewise.
2941         * javax/swing/text/ComponentView.java
2942         (modelToView): Likewise.
2943         * javax/swing/text/DefaultEditorKit.java:
2944         Made all public methods public.
2945         (read): Throws BadLocationException and IOException.
2946         (write): Likewise.
2947         * javax/swing/text/EditorKit.java:
2948         Made all public methods public.
2949         (serialVersionUID): New constant field.
2950         (clone): New method.
2951         (read): Throws BadLocationException and IOException.
2952         (write): Likewise.
2953         * javax/swing/text/Segment.java
2954         (array): Made public.
2955         (count): Likewise.
2956         (offset): Likewise.
2957         (Segment): New constructors.
2958         (clone): Reimplemented.
2959         * javax/swing/text/StyledEditorKit.java
2960         (serialVersionUID): New constant field.
2961
2962 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2963
2964         * java/awt/image/BufferedImage.java 
2965         (getSource): Implement.
2966         * javax/swing/ImageIcon.java 
2967         (ImageIcon): Implement ctor.
2968         * javax/swing/ScrollPaneLayout.java 
2969         (preferredLayoutSize): Be more careful about nulls.
2970
2971 2004-07-21  Michael Koch  <konqueror@gmx.de>
2972
2973         * javax/swing/text/AttributeSet.java
2974         (CharacterAttribute): New interface
2975         (ColorAttribute): Likewise.
2976         (FontCharacterAttribute): Likewise.
2977         (ParagraphAttribute): Likewise.
2978         * javax/swing/text/DefaultCaret.java
2979         (moveCaret): New method.
2980         (positionCaret): Likewise.
2981         (repaint): Made protected.
2982         * javax/swing/text/JTextComponent.java
2983         (KeyBinding): Made it static.
2984         * javax/swing/text/View.java
2985         (getContainer): Honor parent == null.
2986
2987 2004-07-21  Michael Koch  <konqueror@gmx.de>
2988
2989         * javax/swing/text/AbstractDocument.java:
2990         Reformatted.
2991
2992 2004-07-21  Michael Koch  <konqueror@gmx.de>
2993
2994         * javax/swing/plaf/basic/BasicRootPaneUI.java:
2995         Import javax.swing.UIManager explicitely.
2996         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2997         (ScrollingButton): Made it static.
2998
2999 2004-07-21  Michael Koch  <konqueror@gmx.de>
3000
3001         * javax/swing/UIDefaults.java
3002         (ActiveValue): Made public.
3003         (LazyValue): Likewise.
3004         * javax/swing/plaf/basic/BasicTextUI.java
3005         (RootView): Reintroduced.
3006         (view): Removed.
3007         (rootView): New field.
3008         (installUI): Create document if needed, initialize rootView.
3009         (uninstallUI): Hanle rootView.
3010         (paint): Likewise.
3011         (getRootView): Likewise.
3012         (setView): Likewise.
3013         * javax/swing/text/DefaultCaret.java:
3014         Renamed all "evt" variables to "event".
3015
3016 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3017
3018         * libgcj.spec.in: Add -l-java-util-logging.
3019
3020 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
3021
3022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3023         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3024         gtk-xft-dpi can no calculate the right value.
3025         (dpi_changed_cb): Mark *pspec as unsused.
3026
3027 2004-07-21  David Jee  <djee@redhat.com>
3028
3029         * java/awt/Component.java
3030         (move): Delegate to setBounds().
3031         (resize): Likewise.
3032         (reshape): Fix so it repaints parent and self only when necessary.
3033
3034 2004-07-21  David Jee  <djee@redhat.com>
3035
3036         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3037         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3038         (GtkComponentPeer): Revert previous patch from 2004-06-22.
3039         (setVisible): Likewise.
3040         (show): Likewise.
3041         (hide): Likewise.
3042         (getArgs): Likewise.
3043         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3044         (property_notify_predicate): Likewise.
3045         (find_layout): Likewise.
3046         (connectJObject): Likewise.
3047         (connectSignals): Likewise.
3048         (moveLayout): Likewise.
3049         (gtkLayoutSetVisible): Likewise.
3050
3051 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3052
3053         * Makefile.am
3054         (jv_convert_LDADD):
3055         (gij_LDADD):
3056         (rmic_LDADD):
3057         (rmiregistry_LDADD): Add lib-java-util-logging.la
3058         * Makefile.in: Regenerate.
3059
3060 2004-07-21  Michael Koch  <konqueror@gmx.de>
3061
3062         * javax/swing/text/AbstractDocument.java
3063         (replace): Dont use protected method of java.util.Vector directly.
3064
3065 2004-07-21  Michael Koch  <konqueror@gmx.de>
3066
3067         * javax/swing/plaf/basic/BasicTextUI.java
3068         (installUI): Call specialized install methods.
3069         (installDefaults): New method.
3070         (installListeners): Likewise.
3071         (installKeyboardActions): Likewise.
3072         (uninstallUI): Likewise.
3073         (uninstallDefaults): New method.
3074         (uninstallListeners): Likewise.
3075         (uninstallKeyboardActions): Likewise.
3076         (getPropertyPrefix): New abstract method.
3077         (paint): Made final, just call paintSafely().
3078         (paintSavely): New method.
3079         (paintBackground): Likewise.
3080         (getVisibleEditorRect): Likewise.
3081         * javax/swing/text/LayeredHighlighter.java,
3082         javax/swing/text/TabExpander.java: New files.
3083         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3084         and javax/swing/text/TabExpander.java.
3085         * Makefile.in: Regenerated.
3086
3087 2004-07-21  Michael Koch  <konqueror@gmx.de>
3088
3089         * javax/swing/plaf/basic/BasicTextUI.java
3090         (BasicTextUI): Made abstract.
3091         (BasicCaret): New inner class.
3092         (view): Don't explicitely initialize with "null".
3093         (textComponent): New field.
3094         (textColor): Removed.
3095         (disabledTextColor): Removed.
3096         (normalBackgroundColor): Removed.
3097         (RootView): Removed commented out inner class.
3098         (createUI): Removed.
3099         (createCaret): New method.
3100         (getComponent): Likewise.
3101         (installUI): Initialize textComponent only.
3102         (getPreferredSize): Use installed JTextComponent.
3103         (setView): New method.
3104         (create): Likewise.
3105         * javax/swing/text/JTextComponent.java
3106         (highlighter): New field.
3107         (caretColor): Likewise.
3108         (disabledTextColor): Likewise.
3109         (seletedTextColor): Likewise.
3110         (selectionColor): Likewise.
3111         (setUI): New method.
3112         (getCaretColor): Likewise.
3113         (setCaretColor): Likewise.
3114         (getDisabledColor): Likewise.
3115         (setDisabledColor): Likewise.
3116         (getSelectedTextColor): Likewise.
3117         (setSelectedTextColor): Likewise.
3118         (getSelectionColor): Likewise.
3119         (setSelectionColor): Likewise.
3120         (getHighlighter): Likewise.
3121         (setHighlighter): Likewise.
3122         (replaceSelection): Likewise.
3123
3124 2004-07-21  Michael Koch  <konqueror@gmx.de>
3125
3126         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3127         (BasicScrollPaneUI): Implements ScrollPaneConstants.
3128         * javax/swing/plaf/basic/BasicToolBarUI.java
3129         (BasicToolBarUI): Implements SwingConstants.
3130
3131 2004-07-21  Michael Koch  <konqueror@gmx.de>
3132
3133         * javax/swing/JPopupMenu.java: Removed CVS tags.
3134         * javax/swing/UIDefaults.java: Reformatted.
3135         * javax/swing/plaf/basic/BasicRootPaneUI.java:
3136         Explicitely import used classes.
3137
3138 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3139
3140         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3141         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3142         (GtkComponentPeer): Remove temporary try/catch block.
3143         (setVisible): Call show and hide.
3144         (show): Make native.
3145         (hide): Likewise.
3146         (getArgs): Don't add "visible" argument.
3147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3148         (property_notify_predicate): Return Bool instead of int.
3149         (find_layout): New function.
3150         (connectJObject): Call find_layout.
3151         (connectSignals): Likewise.
3152         (moveLayout): Likewise.
3153         (gtkLayoutSetVisible): Likewise.
3154
3155 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3156
3157         * javax/swing/AbstractButton.java:
3158         (setDisplayedMnemonicIndex): Check if button
3159         text is not null before checking its length.
3160         * javax/swing/JMenuItem.java:
3161         (processMouseEvent): Disarm menu item if mouse has
3162         exited it.
3163         * javax/swing/plaf/basic/BasicMenuUI.java:
3164         (MouseInputHandler.mouseEntered): Do not raise
3165         popup menu if this menu is already selected.
3166         (MouseInputHandler.mousePressed): Do not fire 
3167         MenuEvents.
3168         (MenuHandler): Implemented.     
3169
3170 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3171
3172         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3173         (getSelectedObjects): Implemented.
3174         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3175         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
3176         Added javadoc for few methods.
3177         (processMouseEvent): Made public.
3178         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3179         (processMouseEvent): Likewise.
3180
3181 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3182
3183         * javax/swing/AbstractButton.java:
3184         (init): Set display mnemonic index to -1.
3185         (setMnemonic(char)): Use setMnemonic(int).
3186         (setMnemonic(int)): Set display mnemonic index.
3187         (getDisplayedMnemonicIndex): Change method signature
3188         by removing 'index' parameter.
3189         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3190         Added default for Menu.selectionBackground.     
3191         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3192         (paintMenuItem): Change background color of the selected
3193         menu item.
3194         (paintText): Paint differently when menu item is disabled.
3195         Also paint mnemonic if it appears in the menu item's label.
3196         (paintAccelerator): Paint accelerator differently
3197         if menu item is disabled.
3198         * javax/swing/plaf/basic/BasicMenuUI.java:
3199         (installDefaults): Install defaults for 
3200         selectionForeground and selectionBackground.
3201         (uninstallDefaults): Uninstall defauls for 
3202         selectionForeground and selectionBackground.
3203
3204 2004-07-21  Michael Koch  <konqueror@gmx.de>
3205
3206         * javax/swing/text/AbstractDocument.java
3207         (BranchElement): Implemented.
3208         (LeafElement): Implemented.
3209         * javax/swing/text/DefaultCaret.java:
3210         Import used classes.
3211         (serialVersionUID): New constant.
3212         * javax/swing/text/JTextComponent.java
3213         (AccessibleJTextComponent): Removed dead declaration.
3214         (caretPos): Removed.
3215         (setCaret): New method.
3216         * javax/swing/text/PlainDocument.java
3217         (rootElement): New field.
3218         (PlainDocument): Initialize rootElement.
3219         (createDefaultRoot): New method.
3220         (getDefaultRootElement): Implemented.
3221         * javax/swing/text/View.java: Reformatted.
3222         * javax/swing/text/ViewFactory.java
3223         (create): Added javadoc.
3224
3225 2004-07-21  Michael Koch  <konqueror@gmx.de>
3226
3227         * javax/swing/ToolTipManager.java: Reformatted.
3228
3229 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
3230
3231         * javax/swing/AbstractButton.java
3232         (changeEvent): New field.
3233         (fireItemStateChanged): Change source of the event
3234         to 'this' before firing it to button listeners.
3235         (fireActionPerformed): Likewise.
3236         (fireStateChanged): Likewise.
3237         (createActionListener): Do not set source 
3238         of the event to AbstractButton.                                  
3239         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3240         (ContainerHandler.componentAdded): Removed 
3241         print out statement.
3242         (ContainerHandler.componentRemoved): Likewise.
3243
3244 2004-07-21  Michael Koch  <konqueror@gmx.de>
3245
3246         * javax/swing/text/Highlighter.java: New file.
3247         * Makefile.am: Added javax/swing/text/Highlighter.java.
3248         * Makefile.in: Regenerated.
3249
3250 2004-07-21  Michael Koch  <konqueror@gmx.de>
3251
3252         * javax/swing/ToolTipManager.java
3253         (stillInsideTimerAction): Fixed constructor arguments.
3254         (outsideTimerAction): Likewise.
3255         (insideTimerAction): Likewise.
3256
3257 2004-07-21  Michael Koch  <konqueror@gmx.de>
3258
3259         * javax/swing/JButton.java: Reformatted.
3260         * javax/swing/JFormattedTextField.java
3261         (getUIClassID): Implemented.
3262         * javax/swing/JRootPane.java
3263         (serialVersionUID): New constant.
3264         * javax/swing/JTextField.java
3265         (align): New field.
3266         (JTextField): Simplified.
3267         (getUIClassID): New method.
3268         (getActionListeners): Added @since tag.
3269         (setColumns): Invalidate layout and repaint.
3270         (getHorizontalAlignment): New method.
3271         (setHorizontalAlignment): New method.
3272         (selectAll): Removed.
3273         * javax/swing/SwingUtilities.java
3274         (getAncestorOfClass): Removed redundant @see tag.
3275         (isLeftMouseButton): Fixed implementation.
3276         (isMiddleMouseButton): Likewise.
3277         (isRightMouseButton): Likewise.
3278         * javax/swing/text/AbstractDocument.java
3279         (AttributeContext.addAttribute): New method.
3280         (AttributeContext.addAttributes): New method.
3281         (AttributeContext.getEmptySet): New method.
3282         (AttributeContext.reclaim): New method.
3283         (AttributeContext.removeAttribute): New method.
3284         (AttributeContext.removeAttributes): New method.
3285         * javax/swing/text/Document.java
3286         (createPosition): Throws BadLocationException.
3287         (getText): Likewise.
3288         (remove): Likewise.
3289         * javax/swing/text/JTextComponent.java
3290         (getText): Return null if no document is set. Catch
3291         BadLocationException.
3292         (getUI): Return ui.
3293         (updateUI): Simplified.
3294
3295 2004-07-21  Michael Koch  <konqueror@gmx.de>
3296
3297         * javax/swing/JButton.java
3298         (removeNotify): Fixed javadoc.
3299         (updateUI): Simplified.
3300
3301 2004-07-21  David Jee  <djee@redhat.com>
3302
3303         * gnu/java/awt/image/ImageDecoder.java
3304         (startProduction): Only add consumer if it's not added yet.
3305         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3306         (GdkPixbufDecoder): Don't call initState() here.
3307         (produce): Call initState() here, to ensure area_prepared and
3308         area_updated signals are properly connected.
3309         * gnu/java/awt/peer/gtk/GtkImage.java
3310         (setColorModel): Use equals() to compare ColorModel objects.
3311         (setPixels): Likewise.
3312         * java/awt/image/ColorModel.java
3313         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3314         * java/awt/image/RGBImageFilter.java
3315         (setColorModel): Set consumer's color model.
3316         (setPixels): Use equals() to compare ColorModel objects.
3317
3318 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
3319
3320         * java/net/URLConnection.java (position): New field.
3321         (dateFormat1, dateFormat2, dateFormat3): Removed.
3322         (dateFormats): New field.
3323         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3324         each time instead of re-allocating.
3325         (initializeDateFormats): Initialize 'dateFormats'.
3326
3327 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3328
3329         PR libgcj/16591
3330         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3331         is defined.
3332
3333 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3334
3335         * java/net/Socket.java (getImpl): Now private. Remove comment.
3336
3337 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3338
3339         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3340         of chained Writer when calling super-constructor.
3341         * java/io/FilterWriter.java (FilterWriter): Likewise.
3342         * java/io/PrintWriter.java (PrintWriter): Likewise.
3343
3344 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
3345
3346         * prims.cc (process_gcj_properties): Don't increment i within LHS
3347         of assignment.
3348
3349 2004-07-19  Per Bothner  <per@bothner.com>
3350
3351         Print -verbose:message on "loading", not initialization.
3352         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
3353         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
3354         gcj::verbose_class_flag.
3355         * java/lang/natClass.cc (initializeClass):  Don't print message here.
3356         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
3357         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3358         (_Jv_PrepareCompiledClass):  Likewise.
3359
3360 2004-07-18  Matthias Klose  <doko@debian.org>
3361
3362         * configure.in: Substitute target_noncanonical.
3363         * configure: Regenerate
3364
3365 2004-07-17  Michael Koch  <konqueror@gmx.de>
3366
3367         * java/lang/String.java: Fixed javadocs all over.
3368
3369 2004-07-17  Mark Wielaard  <mark@klomp.org>
3370
3371         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3372         when size is smaller.
3373         * java/io/RandomAccessFile.java (setLength): Use truncate for
3374         shrinking the file and seek plus write for expanding the file.
3375
3376 2004-07-17  Michael Koch  <konqueror@gmx.de>
3377
3378         * gnu/java/nio/channels/natFileChannelPosix.cc
3379         (implTruncate): Always save current position. Only reposition file
3380         pointer to where we started if not beyond new lenght. Reposition file
3381         pointer to file length if it points beyond the end of file.
3382
3383 2004-07-17  Mark Wielaard  <mark@klomp.org>
3384
3385         * javax/swing/Box.java: Put FIXME comment above class declaration.
3386         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3387         * javax/swing/JCheckBox.java: Likewise.
3388         * javax/swing/JDialog.java: Likewise.
3389         * javax/swing/JRadioButton.java: Likewise.
3390         * javax/swing/JToggleButton.java: Likewise.
3391         * javax/swing/UIManager.java: Likewise.
3392         * javax/swing/border/TitledBorder.java: Likewise.
3393         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3394         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3395         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3396         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3397         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3398         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3399         * javax/swing/text/JTextComponent.java: Likewise.
3400
3401 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
3402
3403         * java/net/DatagramPacket.java (setAddress): Removed check for
3404         null address.
3405
3406 2004-07-17  Michael Koch  <konqueror@gmx.de>
3407
3408         * java/net/DatagramSocket.java
3409         (getLocalAddress): Check if socket is bound or not.
3410         * java/net/Socket.java
3411         (getLocalAddrss): Check if socket is bound or not.
3412         (getPort): Return -1 when not connected. Dont check getImpl() for
3413         null.
3414         (setReuseAddress): Check if socket is closed.
3415         (isConnected): Check if getImpl() returns null.
3416
3417 2004-07-17  Mark Wielaard  <mark@klomp.org>
3418
3419         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3420         on notifier object before calling notifyAll().
3421
3422 2004-07-17  Michael Koch  <konqueror@gmx.de>
3423
3424         * gnu/java/nio/channels/FileChannelImpl.java
3425         (finalize): Added javadoc.
3426
3427 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
3428
3429         * java/text/CollationElementIterator.java
3430         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3431         (setText): Use ArrayList instead of Vector.
3432
3433 2004-07-17  Michael Koch  <konqueror@gmx.de>
3434
3435         * java/nio/ByteOrder.java
3436         (static): Removed. Not needed.
3437         Thanks to Patrick Reali for noticing.
3438         * java/nio/charset/CharsetDecoder.java
3439         (decode): Fix for classpath bug #9177: Reset state before flipping.
3440
3441 2004-07-17  Michael Koch  <konqueror@gmx.de>
3442
3443         * java/security/Security.java: Fixed javadocs all over.
3444
3445 2004-07-17  Michael Koch  <konqueror@gmx.de>
3446
3447         * gnu/java/awt/EmbeddedWindow.java
3448         (static): Removed.
3449         (addNotify): Set peer via reflection.
3450         (setWindowPeer): Removed.
3451         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3452         * Makefile.am (nat_source_files):
3453         Removed gnu/java/awt/natEmbeddedWindow.cc.
3454         * Makefile.in: Regenerated.
3455
3456 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
3457
3458         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3459         assignment.
3460         * configure: Regenerated.
3461
3462 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
3463
3464         * configure.in: Use build_noncanonical rather than build_alias.
3465         * configure: Rebuild.
3466
3467         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3468         by logic refactoring.  Move default definition of NATIVE closer
3469         to first alternate definition.
3470         * configure: Regenerate.
3471
3472         * Makefile.am: Set ZIP and GCJH directly using autoconf.
3473         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3474         gcj/Makefile.in: Regenerate.
3475         * configure.in: Set ZIP and GCJH.  Remove redundant condition
3476         in AM_CONDITIONAL(NATIVE,...)
3477         * configure: Regenerate.
3478
3479 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
3480
3481         * configure.in: Use target_noncanonical rather than
3482         target_alias for forward-compatibility with autoconf 2.59.
3483         * configure: Regenerate.
3484         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3485         testsuite/Makefile.am: Substitute target_noncanonical.
3486         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3487         testsuite/Makefile.in: Regenerate.
3488
3489         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3490         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3491         * acinclude.m4: Include acx.m4.
3492         * aclocal.m4: Regenerate.
3493         * configure: Regenerate.
3494
3495 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
3496
3497         PR libgcj/16574
3498         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3499         (decimalFormat): New static variable.
3500         (sbuf): Likewise.
3501         (getTime): New. Override Date.getTime().
3502         (toString): Synchronize. Use decimalFormat to format nanos value
3503         correctly. Truncate extra zeros.
3504         (before): Compare getNanos() only if getTime() is equal.
3505         (after): Likewise.
3506         
3507 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
3508
3509         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3510         * configure.in: ...here.
3511         * aclocal.m4: Regenerate.
3512         * configure: Regenerate.
3513
3514         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3515         * configure: Rebuilt with autoconf 2.13.
3516         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3517         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3518
3519 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
3520
3521         PR libgcj/16204
3522         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3523         large file support.
3524         * Makefile.in: Rebuilt.
3525         * testsuite/libjava.lang/LargeFile.java: New test case.
3526         * testsuite/libjava.lang/LargeFile.out: New file.
3527
3528 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
3529
3530         * java/beans/EventHandler.java: Remove debugging statements.
3531
3532 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
3533
3534         * java/beans/EventHandler.java: New file.
3535         * Makefile.am (awt_java_source_files): Add EventHandler.java.
3536         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3537         testsuite/Makefile.in: Regenerate.
3538
3539 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
3540
3541         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3542         flag to the gcj_setup.
3543         (gcj_jacks_run): Check tclsh version and launch jacks directly with
3544         the tclsh.
3545         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3546         deprecation flag change. 58 XFAILS removed.
3547
3548 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
3549
3550         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
3551         -fno-use-divide-subroutine.
3552         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3553         (HANDLE_FPE): Define.
3554         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3555         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3556         (HANDLE_DIVIDE_OVERFLOW): Define.
3557
3558 2004-07-14  Michael Koch  <konqueror@gmx.de> 
3559             Matthias Klose  <doko@debian.org> 
3560
3561         * java/awt/im/InputContext.java: Initialize in, line.
3562
3563 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
3564
3565         * interpret.cc (run): Correctly access libffi return values of
3566         integral smaller-than-int type; these are implicitly promoted.
3567
3568 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
3569
3570         PR libgcj/7587
3571         * interpret.cc (compile_mutex): New.
3572         (_Jv_InitInterpreter): New. Initialize compile_mutex.
3573         (run): Lock compile_mutex before calling compile() if compilation is
3574         required.
3575         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3576         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
3577
3578 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
3579
3580         PR libgcj/15713
3581         * include/jvm.h (_Jv_value): New union type.
3582         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
3583         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
3584         union members.
3585
3586 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
3587
3588         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3589         * gnu/awt/xlib/XOffScreenImage.java
3590           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3591           constructor argument. Add constructor using ImageProducer.
3592           (getSource): Implement.
3593           (imageComplete): New method.
3594           (setColorModel): New method.
3595           (setDimensions): New method.
3596           (setHints): New method.
3597           (setPixels): New method.
3598           (setProperties): New method.
3599         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
3600         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3601
3602 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
3603
3604         PR libgcj/16478 
3605         * prims.cc (_Jv_CreateJavaVM): Fix comment.
3606         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
3607         (finalizerReady): Now native.
3608         (run): Likewise.
3609         (runFinalizers): Removed.
3610         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
3611         a primitive lock, and don't hold it while running the finalizers.
3612         (runFinalizers): Implement. Don't aquire any Java lock.
3613         (finalizerReady): Use lock primitives to signal finalizer thread.
3614
3615 2004-07-11  Mark Wielaard  <mark@klomp.org>
3616
3617         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
3618         * java/net/URLStreamHandler.java (parseURL): When url file part
3619         doesn't contain a '/' just ignore context.
3620
3621 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
3622
3623         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
3624         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3625         (MAKE_THROW_FRAME): Do not modify PSW address.
3626         (INIT_SEGV): Install SIGINFO-style signal handler.
3627         (INIT_FPE): Likewise.
3628
3629 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
3630
3631         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
3632         status. 21 xfail's removed, 1 added.
3633
3634 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
3635
3636         * gcj/javaprims.h: Regenerate CNI namespace definitions.
3637
3638 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3639
3640         * java/text/MessageFormat.java
3641         (formatInternal): Append "{n}" if argument n is unavailable.
3642         (format(Object, StringBuffer, FieldPosition)): This
3643         should be equivalent to format(Object[],
3644         StringBuffer, FieldPosition).
3645
3646 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
3647
3648         * java.util.Calendar.java (cache): New private static field. Cached
3649         mappings of locales->calendar classes.
3650         (ctorArgTypes): New private static field. Singleton argument for
3651         calendar class constructor lookup.
3652         (getInstance): Cache Locale->Calendar class mappings using HashMap.
3653         Optimize by bypassing reflection instantiation for the 
3654         GregorianCalendar case.
3655
3656 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
3657
3658         * java/util/Calendar.java: Use getSystemClassLoader as argument for
3659         ResourceBundle.getBundle() calls.
3660         * java/util/GregorianCalendar.java: Likewise.
3661         * java/util/Currency.java: Likewise.
3662         * java/text/BreakIterator.java: Likewise.
3663         * java/text/Collator.java: Likewise.
3664         * java/text/DateFormat.java: Likewise.
3665         * java/text/DateFormatSymbols.java: Likewise.
3666         * java/text/DecimalFormatSymbols.java: Likewise.
3667         * java/text/NumberFormat.java: Likewise.
3668         * java/awt/Window.java: Likewise.       
3669
3670 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
3671
3672         * java/util/ResourceBundle.java (bundleCache): Renamed from
3673         resourceBundleCache. Update comments.
3674         (getObject): Don't catch MissingResourceException.
3675         (getBundle(String)): Remove 'final'. Use system classloader if
3676         getCallingClassLoader returned null.
3677         (getBundle(String, Locale)): Likewise.
3678         (BundleKey): New private class. HashMap key for bundle cache lookup.
3679         (lookupKey): New. Singleton instance of BundleKey.
3680         (nullEntry): New. Cache entry to represent failed lookups.
3681         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
3682         caching strategy, no-allocation lookup, and new tryBundle methods.
3683         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
3684         name using given classloader.
3685         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
3686         baseName for given Locale and attempt to load bundle.
3687
3688 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
3689
3690         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
3691         illegal protected method calls.
3692
3693 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
3694
3695         Fix or remove some bogus test cases.
3696         * testsuite/libjava.compile/pr10459_2.java: Removed.
3697         * testsuite/libjava.compile/pr10459.java: Test using its own method,
3698         not Object.clone().
3699         * testsuite/libjava.compile/inner_data.java: Test against its own
3700         protected field.
3701
3702 2004-07-09  Michael Koch  <konqueror@gmx.de>
3703
3704         * scripts/unicode-muncher.pl: Updated to version 2.1
3705         from GNU classpath. Added some clarifications on where to find the
3706         needed files from www.unicode.org.
3707         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
3708         gnu/gcj/convert/UnicodeData-3.0.0.txt:
3709         Removed, these can directly be downloaded from www.unicode.org if
3710         needed. 
3711         * gnu/java/lang/CharData.java: Regenerated.
3712         * include/java-chartables.h: Regenerated.
3713         * Makefile.am (ordinary_java_source_files):
3714         Removed gnu/java/lang/CharData.java.
3715         * Makefile.in: Regenerated.
3716
3717 2004-07-09  Michael Koch  <konqueror@gmx.de>
3718
3719         * java/security/AccessControlContext.java,
3720         java/security/SecureClassLoader.java:
3721         Fixed javadocs.
3722
3723 2004-07-09  Michael Koch  <konqueror@gmx.de>
3724
3725         * java/io/ObjectInputStream.java (readFields): Use long datatype
3726         when shifting byte values more then 24 bits left.
3727
3728 2004-07-09  Michael Koch  <konqueror@gmx.de>
3729
3730         * java/util/zip/DeflaterOutputStream.java,
3731         java/util/zip/GZIPInputStream.java,
3732         java/util/zip/GZIPOutputStream.java,
3733         java/util/zip/InflaterInputStream.java:
3734         Reformatted. Added javadocs. Reordered all stuff.
3735         Renamed variables to be more clear.
3736
3737 2004-07-09  Michael Koch  <konqueror@gmx.de>
3738
3739         * javax/imageio/IIOException.java,
3740         javax/imageio/event/IIOReadProgressListener.java,
3741         javax/imageio/event/IIOReadUpdateListener.java,
3742         javax/imageio/event/IIOReadWarningListener.java,
3743         javax/imageio/event/IIOWriteProgressListener.java,
3744         javax/imageio/event/IIOWriteWarningListener.java:
3745         New files.
3746         * Makefile.am: Added new files.
3747         * Makefile.in: Regenerated.
3748
3749 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
3750
3751         * java/text/RuleBasedCollator.java
3752         (mergeRules): Use ArrayList instead of Vector.
3753         (subParseString): likewise.
3754         (parseString): likewise.
3755         (buildCollationVector): likewise.
3756         (getCollationKey): likewise.
3757
3758 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
3759
3760         * java/text/DateFormat.java (parse):
3761         Improved javadoc. Improved exception message.
3762
3763 2004-07-09  Mark Wielaard  <mark@klomp.org>
3764
3765         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
3766         interrupted() method to clear interupt flag of our Thread.
3767
3768 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
3769
3770         * java/nio/Buffer.java,
3771         java/nio/ByteBuffer.java,
3772         java/nio/ByteBufferHelper.java,
3773         java/nio/ByteBufferImpl.java,
3774         java/nio/CharBuffer.java,
3775         java/nio/CharBufferImpl.java,
3776         java/nio/CharViewBufferImpl.java,
3777         java/nio/DirectByteBufferImpl.java,
3778         java/nio/DoubleBuffer.java,
3779         java/nio/DoubleBufferImpl.java,
3780         java/nio/DoubleViewBufferImpl.java,
3781         java/nio/FloatBuffer.java,
3782         java/nio/FloatBufferImpl.java,
3783         java/nio/FloatViewBufferImpl.java,
3784         java/nio/IntBuffer.java,
3785         java/nio/IntBufferImpl.java,
3786         java/nio/IntViewBufferImpl.java,
3787         java/nio/LongBuffer.java,
3788         java/nio/LongBufferImpl.java,
3789         java/nio/LongViewBufferImpl.java,
3790         java/nio/MappedByteBufferImpl.java,
3791         java/nio/ShortBuffer.java,
3792         java/nio/ShortBufferImpl.java,
3793         java/nio/ShortViewBufferImpl.java:
3794         Fixed javadocs all over. Improved input error
3795         checking.
3796
3797         * java/nio/Buffer.java
3798         (checkForUnderflow, checkForOverflow, checkIndex,
3799         checkIfReadOnly, checkArraySize): New helper methods
3800         for error checking.
3801
3802         * java/nio/ByteBufferHelper.java
3803         (checkRemainingForRead, checkRemainingForWrite,
3804         checkAvailableForRead, checkAvailableForWrite): Removed
3805         no longer needed methods.
3806
3807 2004-07-09  Michael Koch  <konqueror@gmx.de>
3808
3809         * gnu/regexp/CharIndexedInputStream.java:
3810         Reordered imports to match classpath.
3811
3812 2004-07-09  Michael Koch  <konqueror@gmx.de>
3813
3814         * gnu/java/awt/EmbeddedWindow.java:
3815         Load native library for setWindowPeer method.
3816
3817 2004-07-08  Randolph Chung  <tausq@debian.org>
3818
3819         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
3820         * configure: Regenerate.
3821         * configure.host: Set can_unwind_signal for hppa*-linux.
3822         * include/pa-signal.h: New file.
3823
3824 2004-07-07  Per Bothner  <per@bothner.com>
3825
3826         * Makefile.am:  Add rules to build libgij from just gij.cc.
3827
3828         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
3829         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
3830         (initializeClass):  If verbose_class_flag, print message.
3831         * gij.cc (main):  Handle -verbose:class flag.
3832
3833 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
3834
3835         * configure.host: Enable hash synchronization on Darwin.
3836         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
3837         ';', since this is a comment on Darwin.
3838         (compare_and_swap_release): Likewise.
3839
3840 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
3841
3842         * java/net/URLStreamHandler.java (parseURL): Canonicalize
3843         file portion of URL in addition to spec for file: protocol.
3844
3845 2004-07-05  Anthony Green  <green@redhat.com>
3846
3847         * java/io/File.java (toURI): Merge from Classpath.
3848
3849 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
3850
3851         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
3852         before passing to URL constructor. Rethrow any MalformedURLException
3853         as a RuntimeException. Catch MalformedURLException specifically, not
3854         all exceptions.
3855
3856 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
3857
3858         * java/util/Locale.java (readObject): Intern strings read from object
3859         stream.
3860
3861 2004-07-04  Michael Koch  <konqueror@gmx.de>
3862
3863         * gnu/gcj/runtime/FirstThread.java,
3864         gnu/gcj/runtime/natFirstThread.cc: Removed.
3865         * gnu/java/lang/MainThread.java,
3866         gnu/java/lang/natMainThread.cc: New files.
3867         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
3868         * Makefile.am: Added new files and removed deleted ones.
3869         * Makefile.in: Regenerated.
3870
3871 2004-07-03  Mark Wielaard  <mark@klomp.org>
3872             Anthony Green  <green@redhat.com>
3873
3874         * java/net/URL.java (getFile): Clarify return value doc.
3875         (getPath): Return null if file is empty - not empty String.
3876         (set): Convert protocol to lower case before doing anything.
3877         Only change the protocol handler if it's different.
3878
3879 2004-07-03  Anthony Green  <green@redhat.com>
3880
3881         * java/net/URL.java (URL): Convert protocol to lower case before
3882         doing anything, so we getURLStreamHandler() with the proper value.
3883
3884 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
3885
3886         * java/util/Locale.java (hashcode): Made transient.
3887         (hashCode): No longer synchronized.
3888         (equals): Remove comment.
3889         (writeObject): No longer synchronized. Implement using writeObject 
3890         calls instead of tweaking hashCode field. Update doc.
3891         (readObject): Implement using readObject calls.
3892
3893 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
3894             Andreas Tobler  <a.tobler@schweiz.ch>
3895
3896         * configure.host (powerpc-*-darwin*): New case, define
3897         can_unwind_signal.
3898         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
3899         * configure: Regenerate.
3900         * include/darwin-signal.h: New.
3901
3902 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
3903
3904         * java/beans/Statement.java (doExecute): Fix formatting.
3905
3906 2004-06-29  Per Bothner  <per@bothner.com>
3907
3908         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
3909         etc etc):  Remove needless parenthesis, which causes __stdcall__
3910         attribute on MinGW to get ignored.
3911
3912 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
3913
3914         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
3915
3916 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
3917
3918         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
3919
3920 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
3921
3922         * java/beans/Expression.java: New file.
3923         * java/beans/Statement.java: New file.
3924         * Makefile.am: Added new files.
3925         * Makefile.in: Re-generate.
3926
3927 2004-06-27 Mark Wielaard  <mark@klomp.org>
3928
3929         * java/io/FilePermission.java (usingPerms): Removed.
3930         (actionsString): Made final.
3931         (cachePerms): Renamed to checkPerms.
3932         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
3933         on action String.
3934         (FilePermission): Check arguments, call checkPerms().
3935         (equals): Remove cachePerms() call.
3936         (implies): Likewise.
3937
3938 2004-06-27  Mark Wielaard  <mark@klomp.org>
3939
3940         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
3941         final field.
3942         (sendRequest): Use new field in user-agent http agent.
3943
3944 2004-06-27  Mark Wielaard  <mark@klomp.org>
3945
3946         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
3947         when argument is null.
3948
3949 2004-06-26  Mark Wielaard  <mark@klomp.org>
3950
3951         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3952         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
3953         GetMethodID call.
3954         (cancel_clicked): Likewise.
3955
3956 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
3957
3958         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3959         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
3960         can not calculate the right value.
3961         (dpi_changed_cb): Likewise. Mark *pspec as unused.
3962
3963 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
3964
3965         * testsuite/libjava.jacks/jacks.xfail: Remove
3966         15.9.1-qualified-concrete-20.
3967
3968 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
3969
3970         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
3971         encoding name to iconv.
3972         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
3973
3974 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
3975
3976         PR libgcj/16134:
3977         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
3978         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
3979         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
3980
3981 2004-06-21  Andrew Haley  <aph@redhat.com>
3982
3983         * java/io/ObjectOutputStream.java: Add DEBUG statements
3984         everywhere.
3985         (dumpElementln): New method.
3986         (depth): New field.
3987         * java/io/ObjectInputStream.java
3988         (currentClassLoader): Make native.
3989         (callersClassLoader): New field.
3990         (depth): New field.
3991         (readObject): ENDBLOCKDATA is generated if the class has a write
3992         method, not if it has a read method.
3993         (readObject): Save and restore this.currentObject and
3994         this.currentObjectStreamClass around calls to callReadMethod().
3995         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
3996         method.
3997
3998 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
3999
4000         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4001         darwin.
4002
4003 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4004
4005         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4006         if desired, before the default class loader is initialised.
4007         Call INIT_SEGV only if HANDLE_SEGV is defined.
4008
4009 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4010
4011         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4012         directory only if it actually exists.
4013
4014 2004-06-18  Graydon Hoare  <graydon@redhat.com>
4015
4016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4017         Fix up non-ansi comments.
4018
4019 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4020
4021         * javax/swing/text/AbstractDocument.java: Adding missing import
4022         for javax.swing.event.EventListenerList.
4023         * javax/swing/text/DefaultCaret.java: Likewise.
4024
4025 2004-06-17  Michael Koch  <konqueror@gmx.de>
4026
4027         * javax/swing/JToolBar.java
4028         (name): Removed.
4029         (JToolBar): Use Component.setName(String) instead of doing it all
4030         alone.
4031         * javax/swing/Timer.java
4032         (queueEvent): Added missing modifier.
4033