]> gcc.gnu.org Git - gcc.git/blob - libjava/ChangeLog
1-in.cc: XFAIL more arm simulator targets.
[gcc.git] / libjava / ChangeLog
1 2004-09-23 Michael Koch <konqueror@gmx.de>
2
3 * java/applet/AppletContext.java,
4 java/applet/Applet.java,
5 java/applet/AppletStub.java,
6 java/applet/AudioClip.java:
7 Jalopied and checkstyle clean.
8
9 2004-09-23 Mark Wielaard <mark@klomp.org>
10
11 * java/util/Collections.java
12 (binarySearch(List, Object, Comparator)): Explicitly
13 reverse direction in list iterator.
14 (rotate): Just return when list is empty.
15
16 2004-09-23 Tom Tromey <tromey@redhat.com>
17
18 PR java/17329:
19 * testsuite/libjava.compile/pr17329.java: New file.
20
21 PR java/17380:
22 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
23 9.2-implicit-7.
24
25 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
26
27 * Makefile.am: Run aclocal with -I ../config
28 * acinclude.m4: Delete macros picked up from ../config and tidy.
29 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
30 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
31 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
32
33 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
34
35 * aclocal.m4: Regenerate with aclocal 1.9.2.
36 * configure: Regenerate.
37 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
38 * include/Makefile.in, testsuite/Makefile.in: Likewise.
39
40 2004-09-22 David Daney <ddaney@avtrex.com>
41
42 PR libgcj/17623
43 * java/net/URL.java (URL): Copy userInfo from context.
44 (getUserInfo): Return cached userInfo if present.
45
46 2004-09-22 Tom Tromey <tromey@redhat.com>
47
48 PR libgcj/6182:
49 * mauve-libgcj: Enable java.lang.Character tests.
50
51 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
52
53 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
54 dependencies.
55 (lib_org_ietf_jgss_la_LIBADD): Likewise.
56 * Makefile.in: Regenerated.
57
58 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
59
60 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
61 * configure: Regenerate.
62 * include/config.h.in: Likewise.
63 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
64 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
65 macro to gtkpeer.h.
66 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
67 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
68 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
69 architectures.
70 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
71 Likewise.
72
73 2004-09-22 Tom Tromey <tromey@redhat.com>
74
75 PR libgcj/14446:
76 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
77 when comparing CRCs.
78 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
79 field.
80 (read()): New overload.
81
82 2004-09-21 Tom Tromey <tromey@redhat.com>
83
84 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
85 Indentation fix.
86
87 2004-09-21 Michael Koch <konqueror@gmx.de>
88
89 * java/net/Socket.java
90 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
91
92 2004-09-21 Casey Marshall <csm@gnu.org>
93
94 * javax/crypto/MacSpi.java (clone): Provide meaningful
95 implementation.
96
97 2004-09-21 Tom Tromey <tromey@redhat.com>
98
99 PR libgcj/16869:
100 * Makefile.in: Rebuilt.
101 * Makefile.am (MOSTLYCLEANFILES): Removed.
102 (mostlyclean-local): Remove header files.
103
104 2004-09-21 Casey Marshall <csm@gnu.org>
105
106 * java/security/cert/X509CRLSelector.java:
107 (match): remove unreachable try-catch clauses.
108 Reported by: Dalibor Topic <robilad@kaffe.org>
109
110 2004-09-21 Mark Wielaard <mark@klomp.org>
111
112 * java/util/TreeMap.java (root): Don't initialize.
113 (TreeMap(Comparator)): Call fabricateTree(0).
114 (fabricateTree): Initialize root and size when count is 0.
115
116 2004-09-21 Sven de Marothy <sven@physto.se>
117
118 * java/nio/ByteBuffer.java (hashCode): Implemented.
119 * java/nio/CharBuffer.java: Likewise.
120 * java/nio/DoubleBuffer.java: Likewise.
121 * java/nio/FloatBuffer.java: Likewise.
122 * java/nio/LongBuffer.java: Likewise.
123 * java/nio/IntBuffer.java: Likewise.
124 * java/nio/ShortBuffer.java: Likewise.
125
126 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
127
128 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
129
130 2004-09-21 Michael Koch <konqueror@gmx.de>
131
132 * javax/net/ssl/SSLServerSocket.java:
133 Removed comment about "Do not edit this file, it's generated.".
134
135 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
136
137 Import the big Crypto/Jessie/Security merge from Classpath.
138
139 * Makefile.am: Add imported files.
140 * Makefile.in: Regenerate.
141
142 2004-08-14 Casey Marshall <csm@gnu.org>
143
144 The Big Crypto Merge of 2004.
145
146 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
147 Crypto's version.
148
149 Files imported from GNU Crypto.
150 * javax/crypto/BadPaddingException.java
151 * javax/crypto/Cipher.java
152 * javax/crypto/CipherInputStream.java
153 * javax/crypto/CipherOutputStream.java
154 * javax/crypto/CipherSpi.java
155 * javax/crypto/EncryptedPrivateKeyInfo.java
156 * javax/crypto/ExemptionMechanism.java
157 * javax/crypto/ExemptionMechanismException.java
158 * javax/crypto/ExemptionMechanismSpi.java
159 * javax/crypto/IllegalBlockSizeException.java
160 * javax/crypto/KeyAgreement.java
161 * javax/crypto/KeyAgreementSpi.java
162 * javax/crypto/KeyGenerator.java
163 * javax/crypto/KeyGeneratorSpi.java
164 * javax/crypto/Mac.java
165 * javax/crypto/MacSpi.java
166 * javax/crypto/Makefile.am
167 * javax/crypto/NoSuchPaddingException.java
168 * javax/crypto/NullCipher.java
169 * javax/crypto/NullCipherImpl.java
170 * javax/crypto/SealedObject.java
171 * javax/crypto/SecretKey.java
172 * javax/crypto/SecretKeyFactory.java
173 * javax/crypto/SecretKeyFactorySpi.java
174 * javax/crypto/ShortBufferException.java
175 * javax/crypto/interfaces/DHKey.java
176 * javax/crypto/interfaces/DHPrivateKey.java
177 * javax/crypto/interfaces/DHPublicKey.java
178 * javax/crypto/interfaces/PBEKey.java
179 * javax/crypto/spec/DESKeySpec.java
180 * javax/crypto/spec/DESedeKeySpec.java
181 * javax/crypto/spec/DHGenParameterSpec.java
182 * javax/crypto/spec/DHParameterSpec.java
183 * javax/crypto/spec/DHPrivateKeySpec.java
184 * javax/crypto/spec/DHPublicKeySpec.java
185 * javax/crypto/spec/IvParameterSpec.java
186 * javax/crypto/spec/PBEKeySpec.java
187 * javax/crypto/spec/PBEParameterSpec.java
188 * javax/crypto/spec/RC2ParameterSpec.java
189 * javax/crypto/spec/RC5ParameterSpec.java
190 * javax/crypto/spec/SecretKeySpec.java
191 * javax/security/auth/AuthPermission.java
192 * javax/security/auth/DestroyFailedException.java
193 * javax/security/auth/Destroyable.java
194 * javax/security/auth/Policy.java
195 * javax/security/auth/PrivateCredentialPermission.java
196 * javax/security/auth/RefreshFailedException.java
197 * javax/security/auth/Refreshable.java
198 * javax/security/auth/Subject.java
199 * javax/security/auth/SubjectDomainCombiner.java
200 * javax/security/auth/callback/Callback.java
201 * javax/security/auth/callback/CallbackHandler.java
202 * javax/security/auth/callback/ChoiceCallback.java
203 * javax/security/auth/callback/ConfirmationCallback.java
204 * javax/security/auth/callback/LanguageCallback.java
205 * javax/security/auth/callback/NameCallback.java
206 * javax/security/auth/callback/PasswordCallback.java
207 * javax/security/auth/callback/TextInputCallback.java
208 * javax/security/auth/callback/TextOutputCallback.java
209 * javax/security/auth/callback/UnsupportedCallbackException.java
210 * javax/security/auth/login/AccountExpiredException.java
211 * javax/security/auth/login/AppConfigurationEntry.java
212 * javax/security/auth/login/Configuration.java
213 * javax/security/auth/login/CredentialExpiredException.java
214 * javax/security/auth/login/FailedLoginException.java
215 * javax/security/auth/login/LoginContext.java
216 * javax/security/auth/login/LoginException.java
217 * javax/security/auth/login/NullConfiguration.java
218 * javax/security/auth/x500/X500PrivateCredential.java
219 * javax/security/sasl/AuthenticationException.java
220 * javax/security/sasl/AuthorizeCallback.java
221 * javax/security/sasl/RealmCallback.java
222 * javax/security/sasl/RealmChoiceCallback.java
223 * javax/security/sasl/Sasl.java
224 * javax/security/sasl/SaslClient.java
225 * javax/security/sasl/SaslClientFactory.java
226 * javax/security/sasl/SaslException.java
227 * javax/security/sasl/SaslServer.java
228 * javax/security/sasl/SaslServerFactory.java
229 * org/ietf/jgss/ChannelBinding.java
230 * org/ietf/jgss/GSSContext.java
231 * org/ietf/jgss/GSSCredential.java
232 * org/ietf/jgss/GSSException.java
233 * org/ietf/jgss/GSSManager.java
234 * org/ietf/jgss/GSSName.java
235 * org/ietf/jgss/MessageProp.java
236 * org/ietf/jgss/Oid.java
237 * org/ietf/jgss/MessagesBundle.properties
238
239 Files imported from Jessie <http://www.nongnu.org/jessie/>
240 * javax/net/ServerSocketFactory.java
241 * javax/net/SocketFactory.java
242 * javax/net/VanillaServerSocketFactory.java
243 * javax/net/VanillaSocketFactory.java
244 * javax/net/ssl/HandshakeCompletedEvent.java
245 * javax/net/ssl/HandshakeCompletedListener.java
246 * javax/net/ssl/HostnameVerifier.java
247 * javax/net/ssl/HttpsURLConnection.java
248 * javax/net/ssl/KeyManager.java
249 * javax/net/ssl/KeyManagerFactory.java
250 * javax/net/ssl/KeyManagerFactorySpi.java
251 * javax/net/ssl/ManagerFactoryParameters.java
252 * javax/net/ssl/SSLContext.java
253 * javax/net/ssl/SSLContextSpi.java
254 * javax/net/ssl/SSLException.java
255 * javax/net/ssl/SSLHandshakeException.java
256 * javax/net/ssl/SSLKeyException.java
257 * javax/net/ssl/SSLPeerUnverifiedException.java
258 * javax/net/ssl/SSLPermission.java
259 * javax/net/ssl/SSLProtocolException.java
260 * javax/net/ssl/SSLServerSocket.java
261 * javax/net/ssl/SSLServerSocketFactory.java
262 * javax/net/ssl/SSLSession.java
263 * javax/net/ssl/SSLSessionBindingEvent.java
264 * javax/net/ssl/SSLSessionBindingListener.java
265 * javax/net/ssl/SSLSessionContext.java
266 * javax/net/ssl/SSLSocket.java
267 * javax/net/ssl/SSLSocketFactory.java
268 * javax/net/ssl/TrivialHostnameVerifier.java
269 * javax/net/ssl/TrustManager.java
270 * javax/net/ssl/TrustManagerFactory.java
271 * javax/net/ssl/TrustManagerFactorySpi.java
272 * javax/net/ssl/X509KeyManager.java
273 * javax/net/ssl/X509TrustManager.java
274 * javax/security/cert/Certificate.java
275 * javax/security/cert/CertificateEncodingException.java
276 * javax/security/cert/CertificateException.java
277 * javax/security/cert/CertificateExpiredException.java
278 * javax/security/cert/CertificateNotYetValidException.java
279 * javax/security/cert/CertificateParsingException.java
280 * javax/security/cert/X509CertBridge.java
281 * javax/security/cert/X509Certificate.java
282
283 2004-08-20 Casey Marshall <csm@gnu.org>
284
285 * java/security/cert/X509CRLSelector.java: New file.
286 * java/security/cert/X509CertSelector.java: New file.
287
288 2004-09-15 Michael Koch <konqueror@gmx.de>
289
290 * gnu/java/net/protocol/file/Handler.java
291 (openConnection): Don't throw exception if host part for file: URI is
292 present. setURL() keeps file: protocol if ftp: protocol is not
293 available.
294
295 2004-09-14 Richard Henderson <rth@redhat.com>
296
297 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
298 value of sigsuspend.
299
300 2004-09-12 Tom Tromey <tromey@redhat.com>
301
302 * javax/naming/CompoundName.java (CompoundName): Don't check for
303 separator in "flat" case.
304
305 2004-09-12 Michael Koch <konqueror@gmx.de>
306
307 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
308 AM_CONFIG_HEADER by AC_CONFIG_FILES.
309 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
310 Regenerate.
311
312 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
313
314 PR libgcj/14751
315 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
316 handle in newly-allocated _Jv_Thread_t.
317 (_Jv_ThreadDestroyData): Close thread handle.
318 (_Jv_ThreadStart): Remove obsolete comment.
319 Store handle of newly-created thread in _Jv_Thread_t.
320 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
321 before including <windows.h>
322 #define _Jv_HaveCondDestroy
323
324 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
325
326 * java/lang/natThread.cc (finalize_native): Destroy
327 join conditional variable and mutex if these destroy
328 operations are supported.
329
330 2004-09-10 Dalibor Topic <robilad@kaffe.org>
331
332 * gnu/java/net/protocol/file/Connection.java (permission): New field.
333 (DEFAULT_PERMISSION): New constant.
334 (Connection): Create a FilePermission with permission to read file.
335
336 2004-09-10 Michael Koch <konqueror@gmx.de>
337
338 * gnu/java/net/protocol/file/Connection.java
339 (getLastModified): Moved around.
340 (getPermission): Return stored permission.
341
342 2004-09-10 Michael Koch <konqueror@gmx.de>
343
344 * Makefile.in: Regenerate.
345
346 2004-09-10 Michael Koch <konqueror@gmx.de>
347
348 * Makefile.am: Reverted accidently commited stuff.
349 * configure: Regenerated.
350
351 2004-09-10 Michael Koch <konqueror@gmx.de>
352
353 * gnu/java/net/protocol/file/Connection.java
354 (lineSeparator): Made non-final.
355 (static): Removed.
356 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
357 instead of StringBufferInputStream.
358
359 2004-09-10 Michael Koch <konqueror@gmx.de>
360
361 * gnu/java/net/protocol/file/Connection.java
362 (connect): Handle file is a directory case.
363
364 2004-09-10 Michael Koch <konqueror@gmx.de>
365
366 * Makefile.am
367 (xlib_includes): Removed.
368 (AM_CPPFLAGS): Renamed from INCLUDES.
369 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
370 * Makefile.in: Regenerate.
371
372 2004-09-09 Michael Koch <konqueror@gmx.de>
373
374 * java/security/ProtectionDomain.java,
375 * java/util/PropertyPermissionCollection.java:
376 Fixed javadocs all over.
377
378 2004-09-09 Sven de Marothy <sven@physto.se>
379
380 Patch from David Gilbert <david.gilbert@object-refinery.com>
381 * java/lang/Comparable.java: Fixed documentation errors.
382 * java/util/Arrays.java: Likewise.
383
384 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
385
386 * java/net/Inet4Address.java
387 (Inet4Address): Added comment to serialization UID.
388 * java/text/Format.java
389 (Format): Added comment to serialization UID.
390
391 2004-09-09 Michael Koch <konqueror@gmx.de>
392
393 * java/lang/System.java
394 (err): Fixed javadoci to point to setErr() and not setOut().
395
396 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
397
398 (normalizePath): Added special case for windows systems.
399
400 2004-09-09 Michael Koch <konqueror@gmx.de>
401
402 * java/io/File.java
403 (dupSeparator): Made private.
404 (File(URI)): New constructor.
405 (getParentFile): Fixed javadoc.
406 (createTempFile): Reformated.
407 (setReadOnly): Added comment.
408 (deleteOnExit): Merged javadoc with classpath version.
409
410 2004-09-09 Michael Koch <konqueror@gmx.de>
411
412 * Makefile.am: Don't try to include deps.mk.
413 * Makefile.in: Regenerated.
414
415 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
416
417 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
418 .d files.
419 * configure: Rebuilt.
420
421 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
422
423 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
424 Changed pfn from static local to local.
425
426 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
427 H.J. Lu <hongjiu.lu@intel.com>
428
429 PR libgcj/17290
430 * Makefile.am (GCJCOMPILE): Remove definition.
431 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
432 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
433 * Makefile.in: Rebuilt.
434
435 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
436
437 * configure.ac (enable-gc-debug): Update help for new syntax.
438 * configure: Regenerate.
439
440 2004-09-03 David Daney <ddaney@avtrex.com>
441
442 * include/mips-signal.h: Update copyright.
443
444 2004-09-03 David Daney <ddaney@avtrex.com>
445
446 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
447 * include/mips-signal.h: Added HANDLE_FPE support.
448
449 2004-08-31 Michael Koch <konqueror@gmx.de>
450
451 * javax/swing/plaf/basic/BasicTextAreaUI.java
452 (create): New method.
453 * javax/swing/text/DefaultHighlighter.java
454 (DefaultHighlightPainter.debugRect): Removed.
455 * javax/swing/text/StyleContext.java
456 (DEFAULT_STYLE): New field.
457
458 2004-08-31 Michael Koch <konqueror@gmx.de>
459
460 * javax/swing/plaf/basic/BasicLookAndFeel.java
461 (initComponentDefaults): Add keybindings for selection.backward and
462 selection-forward for text components.
463 * javax/swing/plaf/basic/BasicTextUI.java
464 (paintSafely): Paint highlight only when something is actually
465 selected.
466 * javax/swing/text/DefaultCaret.java
467 (handleHighlight): New method.
468 (setSelectionVisible): Don't do anything when nothing changes.
469 Handle highlight.
470 (moveDot): Reimplemented. Handle highlight.
471 (setDot): Set mark too. Handle highlight.
472 (getSelectionPainter): New method.
473 * javax/swing/text/DefaultEditorKit.java
474 (defaultActions): Added new actions for text selection.
475 * javax/swing/text/DefaultHighlighter.java
476 (DefaultHighlightPainter): New inner class.
477 (DefaultPainter): New field.
478 (paint): Implemented.
479 * javax/swing/text/PlainView.java
480 (paint): Don't draw background here again.
481 * javax/swing/text/Utilities.java
482 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
483 (drawTabbedText): Likewise.
484
485 2004-08-31 Graydon Hoare <graydon@redhat.com>
486
487 * javax/swing/JComponent.java
488 (resetKeyboardActions): Add null checks.
489
490 2004-08-31 Graydon Hoare <graydon@redhat.com>
491
492 * javax/swing/DefaultButtonModel.java:
493 Skip group notification when no group is set.
494
495 2004-08-31 Graydon Hoare <graydon@redhat.com>
496
497 * javax/swing/JColorChooser.java:
498 Make a couple inner classes static, for jikes.
499
500 2004-08-31 Michael Koch <konqueror@gmx.de>
501
502 * javax/swing/plaf/basic/BasicTextUI.java
503 (RottView.modelToView): New method.
504 (UpdateHandler): Renamed from EventHandler.
505 (updateHandler): Renamed from eventHandler.
506 (modelToView): Implemented.
507 * javax/swing/text/AbstractDocument.java
508 (BranchElement.getElement): Return null for non-existing indeces.
509 (BranchElement.getElementIndex): Return 0 in some corner cases.
510 * javax/swing/text/FieldView.java
511 (modelToView): New method.
512 * javax/swing/text/PlainView.java
513 (modelToView): Made public.
514
515 2004-08-31 Kim Ho <kho@redhat.com>
516
517 * Makefile.am: New files.
518 * Makefile.in: Regenerate.
519 * gcj/Makefile.in: Regenerate.
520 * include/Makefile.in: Regenerate.
521 * java/awt/Color.java: Fix documentation.
522 (RGBtoHSB): Use floats for conversions.
523 * javax/swing/ButtonGroup.java: Run Jalopy.
524 (setSelected): Reimplement.
525 * javax/swing/DefaultButtonModel.java: Run Jalopy.
526 (changeState): Let ButtonGroup know that the button
527 is changing state.
528 * javax/swing/JColorChooser.java: Implement.
529 * javax/swing/JLabel.java: Run Jalopy.
530 * javax/swing/JSpinner.java: Run Jalopy.
531 (setValue): New method.
532 * javax/swing/JTabbedPane.java: Run Jalopy.
533 (removeTabAt): Call correct remove method.
534 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
535 (getPreviousValue): Compare minimum value.
536 * javax/swing/Timer.java: Run Jalopy.
537 (run): Comment out println.
538 * javax/swing/ToolTipManager.java:
539 (mouseMoved): Get new tooltip text for location.
540 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
541 Jalopy and Javadoc.
542 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
543 Implement.
544 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
545 Run Jalopy.
546 (setSelectedColor): Fire ChangeEvent.
547 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
548 New file. Implement.
549 * javax/swing/colorchooser/DefaultPreviewPanel.java:
550 Ditto.
551 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
552 Ditto.
553 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
554 Ditto.
555 * javax/swing/plaf/basic/BasicArrowButton.java:
556 (getArrow): Fix size of upward pointing button.
557 * javax/swing/plaf/basic/BasicColorChooserUI.java:
558 Implement.
559 * javax/swing/plaf/basic/BasicSliderUI.java:
560 (getWidthOfWidestLabel): Use preferred dimensions.
561 (getHeightOfTallestLabel): Ditto.
562 * javax/swing/plaf/basic/BasicSpinnerUI.java:
563 Run Jalopy.
564 (mousePressed): Disable changes to spinner if it is not enabled.
565 * testsuite/Makefile.in: Regenerate.
566
567
568 2004-08-31 Michael Koch <konqueror@gmx.de>
569
570 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
571 javax/swing/plaf/basic/BasicTableUI.java:
572 Added copyright notice.
573
574 2004-08-31 Olga Rodimina <rodimina@redhat.com>
575
576 * Makefile.am: Added new files.
577 * Makefile.in: Regenerate.
578 * javax/swing/ComboBoxEditor.java: Added javadocs.
579 * javax/swing/ComboBoxModel.java: Likewise.
580 * javax/swing/DefaultComboBoxModel.java: Implemented.
581 * javax/swing/DefaultListCellRenderer.java: Added javadocs
582 and ran through jalopy to fix formatting style.
583 (getListCellRendererComponent): Use appropriate border
584 if renderer has focus and use noFocusBorder when it doesn't.
585 * javax/swing/JComboBox.java: Implemented.
586 * javax/swing/JList.java:
587 (locationToIndex): New Method. Implemented.
588 (indexToLocation): New Method.
589 * javax/swing/JPopupMenu.java:
590 (visible): New field.
591 (isVisible): Changed to use new field above.
592 (setVisible): Likewise.
593 * javax/swing/MutableComboBoxModel.java: Added javadocs.
594 * javax/swing/plaf/basic/BasicArrowButton.java:
595 (shadow): Changed default color to Color.gray.
596 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
597 UI delegate for JComboBox.
598 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
599 Popup menu containing list of JComboBox's items.
600 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
601 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
602 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
603 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
604 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
605 (popupMenuWillBecomeVisible): Set selected path to the first
606 element only if it is of type MenuElement. Also fix formatting
607 style.
608 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
609 methods signatures.
610
611 2004-08-31 Michael Koch <konqueror@gmx.de>
612
613 * javax/swing/text/AbstractDocument.java
614 (createBranchElement): Use new constructor of BranchElement.
615 (createLeafElement): Renamed arguments.
616 (getRootElements): Implemented.
617 (BranchElement.start): Removed.
618 (BranchElement.end): Likewise.
619 (BranchElement.BranchElement): Fixed arguments.
620 (BranchElement.getEndOffset): Reimplemented.
621 (BranchElement.getStartOffset): Likewis.
622 * javax/swing/text/DefaultCaret.java
623 (paint): Draw simple vertical line as caret instead of a rectangle.
624 * javax/swing/text/JTextComponent.java
625 (setText): Use doc directly.
626 * javax/swing/text/PlainView.java
627 (nextTabStop): Implemented.
628 * javax/swing/text/Utilities.java
629 (drawTabbedText): nextTabStop() returns an absolute x position.
630 (getTabbedTextWidth): Likewise.
631
632 2004-08-31 Graydon Hoare <graydon@redhat.com>
633
634 * java/awt/Component.java
635 (isFocusTraversable): Predicate on isLightweight()
636 (setFocusable): Set isFocusTraversableOverridden.
637 (requestFocus): Predicate peer dispatch on !isLightweight()
638 (requestFocusInWindow): Likewise.
639 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
640 * java/awt/Container.java
641 (dispatchEventImpl): Predicate on event mask.
642 (LightweightDispatcher): Remove focus machinery.
643 * java/awt/DefaultFocusTraversalPolicy.java
644 (accept): Expand predicate to include isFocusable().
645 * java/awt/DefaultKeyboardFocusManager.java:
646 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
647 * java/awt/KeyboardFocusManager.java
648 (redispatchEvent): Synchronize on event to prevent feedback.
649 * javax/swing/AbstractButton.java
650 (ButtonFocusListener): Remove class.
651 (init): Set focusPainted, focusable.
652 * javax/swing/ActionMap.java (get): Check parent for null.
653 * javax/swing/InputMap.java (get): Likewise.
654 * javax/swing/JComponent.java
655 (inputMap_whenFocused): New InputMap.
656 (inputMap_whenAncestorOfFocused): Likewise.
657 (inputMap_whenInFocusedWindow): Likewise.
658 (getActionForKeyStroke): Rewrite.
659 (getConditionForKeystroke): Likewise.
660 (ActionListenerProxy): New private class.
661 (setInputMap): Implement.
662 (getInputMap): Likewise.
663 (setActionMap): Likewise.
664 (getActionMap): Likewise.
665 (processComponentKeyEvent): New empty method.
666 (processKeyEvent): Implement.
667 (processKeyBinding): Likewise.
668 (resetKeyboardActions): Rewrite.
669 * javax/swing/KeyStroke.java: Rewrite.
670 * javax/swing/SwingUtilities.java
671 (notifyAction): Implement.
672 (replaceUIActionMap): Likewise.
673 (replaceUIInputMap): Likewise.
674 * javax/swing/plaf/basic/BasicButtonListener.java
675 (focusGained): Implement.
676 (focusLost): Repaint if focusPainted().
677 (installKeyboardActions): Install pressed / released actions.
678 (uninstallKeyboardActions): Implement.
679 * javax/swing/plaf/basic/BasicButtonUI.java
680 (focusColor): New field.
681 (installDefaults): Load focus color, install input map.
682 (installKeyboardActions): Implement.
683 (uninstallKeyboardActions): Likewise.
684 (paintFocus): Rewrite.
685 * javax/swing/plaf/basic/BasicLookAndFeel.java
686 (Button.focus): New default, midPurple.
687 * javax/swing/plaf/basic/BasicTextUI.java
688 (kit): Make static.
689 (installUI): Get doc from kit, load defaults.
690 (getKeymapName): Implement.
691 (createKeymap): Likewise.
692 (installKeyboardActions): Likewise.
693 (getInputMap): Likewise.
694 (getActionMap): Likewise.
695 (createActionMap): Likewise.
696 * javax/swing/text/AbstractDocument.java
697 (getStartPosition): Implement.
698 (getEndPosition): Likewise.
699 * javax/swing/text/DefaultEditorKit.java
700 (CopyAction): New class.
701 (CutAction): Likewise.
702 (DefaultKeyTypedAction): Likewise.
703 (InsertBreakAction): Likewise.
704 (InsertContentAction): Likewise.
705 (InsertTabAction): Likewise.
706 (PasteAction): Likewise.
707 (defaultActions): New static table.
708 (createCaret): Implement.
709 (getActions): Likewise.
710 * javax/swing/text/JTextComponent.java
711 (KeymapWrapper): New private class.
712 (KeymapActionMap): Likewise.
713 (DefaultKeymap): New class.
714 (keymaps): New static table.
715 (keymap): New field.
716 (getKeymap): Implement.
717 (removeKeymap): Likewise.
718 (addKeymap): Likewise.
719 (setKeymap): Likewise.
720 (loadKeymap): Likewise.
721 (getActions): Likewise.
722 (margin): New field.
723 (JTextComponent): Build and install default keymap.
724 * javax/swing/text/TextAction.java
725 (textAction): Call super properly.
726 (getTextComponent): Implement.
727 * javax/swing/text/Utilities.java
728 (drawTabbedText): Adjust position by ascent.
729
730 2004-08-31 David Jee <djee@redhat.com>
731
732 PR AWT/17156
733
734 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
735 (setEnabled): Make it a native method.
736 * java/awt/DefaultKeyboardFocusManager.java
737 (postProcessKeyEvent): Only post event if the menu item
738 is active.
739 * java/awt/MenuItem.java:
740 Private field 'enabled' should be true by default.
741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
742 (setEnabled): New function.
743
744 2004-08-31 David Jee <djee@redhat.com>
745
746 PR AWT/17059
747
748 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
749 (nativeSetHelpMenu): New native method declaration.
750 (addHelpMenu): Call nativeSetHelpMenu().
751 (addMenu): Remove.
752 * java/awt/MenuBar.java
753 (setHelpMenu): Call addNotify() on the new help menu.
754 (add): Call addNotify() on the new menu.
755 (addNotify): Set the help menu if one exists.
756 * java/awt/peer/MenuBarPeer.java
757 (addMenu): Remove.
758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
759 (nativeSetHelpMenu): New method.
760
761 2004-08-31 Graydon Hoare <graydon@redhat.com>
762
763 * Makefile.am: Add new files.
764 * Makefile.in: Regenerate.
765 * javax/swing/Box.java: Fix setting of layout in ctor.
766 * javax/swing/JScrollPane.java: Scroll headers as well.
767 * javax/swing/JTable.java: Reimplement.
768 * javax/swing/JViewPort.java: Only add non-null children.
769 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
770 * javax/swing/Timer.java: Fix stopping null waker.
771 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
772 * javax/swing/plaf/basic/BasicTableUI.java: New file.
773 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
774 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
775 * javax/swing/table/DefaultTableModel.java: Clean up.
776 * javax/swing/table/JTableHeader.java: Implement.
777
778 2004-08-31 Mark Wielaard <mark@klomp.org>
779
780 * javax/swing/JSpinner.java (getChangeListeners): Remove double
781 semi-colon.
782
783 2004-08-31 Mark Wielaard <mark@klomp.org>
784
785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
786 Declare variables at top of functions/block.
787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
788
789 2004-08-31 Mark Wielaard <mark@klomp.org>
790
791 * java/lang/Rectangle.java (intersects): Check r.width and r.height
792 first.
793
794 2004-08-31 Michael Koch <konqueror@gmx.de>
795
796 * javax/swing/text/PlainView.java
797 (selectedColor): New field.
798 (unselectedColor): Likewise.
799 (font): Likewise.
800 (updateMetrics): New method.
801 (lineToRect): Likewise.
802 (modelToView): Likewise.
803 (drawSelectedText): Use color from JTextComponent ad draw with
804 Utilities class.
805 (drawUnselectedText): Likewise.
806 (paint): Initialize helper fields.
807 * javax/swing/text/View.java
808 (getChildAllocation): New method.
809 (getViewIndex): Likewise.
810 (getToolTipText): Likewise.
811
812 2004-08-31 Michael Koch <konqueror@gmx.de>
813
814 * javax/swing/text/Utilities.java
815 (drawTabbedText): Reimplemented.
816 (getTabbedTextWidth): Likewise.
817
818 2004-08-31 Michael Koch <konqueror@gmx.de>
819
820 * javax/swing/plaf/basic/BasicTextUI.java
821 (installDefaults): Install caret and highlighter.
822 (modelToView): Use Bias.Forward when calling sibling.
823 * javax/swing/text/AbstractDocument.java
824 (ElementEdit): Implements DocumentEvent.ElementChange.
825 (ElementEdit.ElementEdit): New method.
826 (ElementEdit.getChildrenAdded): Likewise.
827 (ElementEdit.getChildrenRemoved): Likewise.
828 (ElementEdit.getElement): Likewise.
829 (ElementEdit.getIndex): Likewise.
830 * javax/swing/text/DefaultCaret.java
831 (color): Removed.
832 (textComponent): Renamed from parent, made private.
833 (selectionVisible): Renamed from vis_sel, made private.
834 (blinkRate): Renamed from blink, made private.
835 (magicCaretPosition): Renamed from magic, made private.
836 (visible): Renamed from vis, made private.
837 (dot): Made private.
838 (mark): Likewise.
839 (deinstall): Remove as MouseMotionListener.
840 (install): Initialize textComponent first. Add as MouseMotionListener.
841 (paint): Reimplemented.
842 * javax/swing/text/JTextComponent.java
843 (setCaret): Deinstall old caret, install new one and fire property
844 change after setting property.
845 (setHighlighter): Deinstall old highlighter, install new one and fire
846 property change after setting property.
847 (setCaretColor): Fire property change after setting property.
848 (setDisabledTextColor): Likewise.
849 (setSelectedTextColor): Likewise.
850 (setSelectionColor): Likewise.
851 (modelToView): New method.
852
853 2004-08-31 Michael Koch <konqueror@gmx.de>
854
855 * javax/swing/text/AbstractDocument.java
856 (getText): Simplified.
857 * javax/swing/text/Segment.java
858 (current): New field.
859 (current): Reimplemented.
860 (first): Likewise.
861 (getIndex): Likewise.
862 (last): Likewise.
863 (next): Likewise.
864 (previous): Likewise.
865 (setIndex): Likewise.
866
867 2004-08-31 Michael Koch <konqueror@gmx.de>
868
869 * javax/swing/plaf/basic/BasicButtonUI.java
870 (defaultTextIconGap): Made protected.
871 (defaultTextShiftOffset): Likewise.
872 (textShiftOffset): New field.
873 (clearTextShiftOffset): New method.
874 (getTextShiftOffset): Likewise.
875 (setTextShiftOffset): Likewise.
876
877 2004-08-31 Michael Koch <konqueror@gmx.de>
878
879 * javax/swing/plaf/basic/BasicTextUI.java
880 (installUI): Add eventHandler as property listener.
881 (uninstallUI): remove eventHandler as propert listener.
882 (installDefaults): Added comment.
883 (installListeners): Likewise.
884 (installKeyboardActions): Likewise.
885 (uninstallDefaults): Likewise.
886 (uninstallListeners): Likewise.
887 (uninstallKeyboardActions): Likewise.
888
889 2004-08-31 Michael Koch <konqueror@gmx.de>
890
891 * javax/swing/text/AbstractDocument.java:
892 Fixed some typos in comments.
893 (insertString): Reimplemented.
894 (remove): Likewise.
895 (replace): New method.
896 (children): Dont use fully qualified class name.
897 (DefaultDocumentEvent.offset): Renamed from off.
898 (DefaultDocumentEvent.length): Renamed from len.
899 (DefaultDocumentEvent.type): New field.
900 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
901 (DefaultDocumentEvent.getType): Implemented.
902
903 2004-08-31 Michael Koch <konqueror@gmx.de>
904
905 * javax/swing/plaf/basic/BasicTextUI.java
906 (RootView.textComponent): Removed.
907 (RootView.RootView): Don't initialize textComponent.
908 (RootView.getViewFactory): New method.
909 (EventHandler): New inner class.
910 (rootView): Initialize at instance creation.
911 (eventHandler): New field.
912 (installUI): Don't create view hierarchy directly,
913 call modelChanged() instead.
914 (modelChanged): New method.
915 * javax/swing/text/JTextComponent.java
916 (setDocument): Fire property change event.
917
918 2004-08-31 Michael Koch <konqueror@gmx.de>
919
920 * javax/swing/plaf/basic/BasicTextUI.java
921 (RootView.paint): Removed debug output.
922 (paintSafely): Draw highlighter before text.
923 (paintBackground): Use background color of text component.
924 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
925 Reformatted.
926
927 2004-08-31 Michael Koch <konqueror@gmx.de>
928
929 * javax/swing/plaf/basic/BasicToolBarUI.java
930 (BasicToolBarUI): Fixed arguments for constructor.
931 (createUI): Fixed creation of object.
932
933 2004-08-31 Michael Koch <konqueror@gmx.de>
934
935 * javax/swing/DefaultListSelectionModel.java
936 (fireValueChanged): Renamed from fireSelectionValueChanged,
937 made protected.
938
939 2004-08-31 Michael Koch <konqueror@gmx.de>
940
941 * javax/swing/text/TabSet.java
942 (TabSet): Implements java.io.Serializable.
943 * javax/swing/text/TabStop.java
944 (TabStop): Implements java.io.Serializable.
945 (TabStop): Made public.
946
947 2004-08-31 Michael Koch <konqueror@gmx.de>
948
949 * javax/swing/JComponent.java
950 (setUI): Fire PropertyChange.
951 * javax/swing/JLabel.java
952 (text): Renamed from labelText.
953 (horizontalAlignment): New default vlaue.
954 (icon): Renamed from activeIcon.
955 (displayedMnemonic): Renamed from mnemonicKey, added default value.
956 (displayedMnemonicIndex): Renamed from underlineChar.
957 (setDisplayedMnemonic): Reimplemented.
958 * javax/swing/JRadioButton.java
959 (JRadioButton): New constructors.
960 * javax/swing/JTextField.java
961 (JTextField): Throw exception if colums < 0, initialitialz
962 this.columns directly and initialize document with text conditionally.
963
964 2004-08-31 Michael Koch <konqueror@gmx.de>
965
966 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
967 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
968 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
969 * javax/swing/text/FieldView.java
970 (paint): Just call super method for now.
971 * Makefile.am: Added new files.
972 * Makefile.in: Regenerated.
973
974 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
975
976 * javax/swing/AbstractSpinnerModel.java,
977 javax/swing/JSpinner.java,
978 javax/swing/SpinnerNumberModel.java,
979 javax/swing/plaf/basic/BasicSpinnerUI.java:
980 New files.
981 * javax/swing/plaf/basic/BasicLookAndFeel.java
982 (initClassDefaults): Added defaults for BasicSpinnerUI.
983
984 2004-08-31 Michael Koch <konqueror@gmx.de>
985
986 * Makefile.am: Added new files.
987 * Makefile.in: Regenerated.
988
989 2004-08-31 Michael Koch <konqueror@gmx.de>
990
991 * javax/swing/TransferHandler.java,
992 javax/swing/plaf/basic/ComboPopup.java: New files
993 * Makefile.am: Added javax/swing/TransferHandler.java and
994 javax/swing/plaf/basic/ComboPopup.java
995 * Makefile.in: Regenerated.
996
997 2004-08-31 Roman Kennke <roman@ontographics.com>
998
999 * javax/swing/text/Utilities.java: New file.
1000
1001 2004-08-31 Michael Koch <konqueror@gmx.de>
1002
1003 * Makefile.am: Added javax/swing/text/Utilities.java.
1004 * Makefile.in: Regenerated.
1005
1006 2004-08-31 Graydon Hoare <graydon@redhat.com>
1007
1008 * javax/swing/text/SimpleAttributeSet.java: New file.
1009 * javax/swing/text/StyleConstants.java: New file.
1010 * javax/swing/text/StyleContext.java: New file.
1011 * javax/swing/text/TabSet.java: New file.
1012 * javax/swing/text/TabStop.java: New file.
1013 * javax/swing/text/AbstactDocument.java:
1014 (AbstractElement): Implement attribute support.
1015 * javax/swing/text/AttributeSet.java
1016 (NameAttribute): New static field.
1017 (ResolveAttribute): New static field.
1018 * Makefile.am: Update for new files.
1019 * Makefile.in: Regenerate.
1020
1021 2004-08-31 Craig Black <craig.black@aonix.com>
1022
1023 * gnu/java/awt/peer/gtk/GdkGraphics.java
1024 (drawImage): Add support for scaling pixmaps.
1025 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1026 (copyAndScalePixmap): New native method.
1027
1028 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1029
1030 PR AWT/16121
1031 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1032 type-punning compiler warnings using unions.
1033 (throw): Replace bzero with memset.
1034
1035 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1036 Thomas Fitzsimmons <fitzsim@redhat.com>
1037
1038 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1039 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1040 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1041 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1042 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1043
1044 2004-08-31 Mark Wielaard <mark@klomp.org>
1045
1046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1047 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1048 and stdlib.h, not gtkpeer.h.
1049 (*vm): New static variable.
1050 (areaPreparedID): Make static.
1051 (areaUpdatedID): Likewise.
1052 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1053 (area_prepared): Likewise.
1054 (area_updated): Likewise.
1055 (closed): Likewise.
1056 (initStaticState): Initialize *vm javaVM.
1057 (pumpBytes): Use given env, not global gdk_env.
1058
1059 2004-08-31 Mark Wielaard <mark@klomp.org>
1060
1061 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1062 comments.
1063
1064 2004-08-31 Sven de Marothy <sven@physto.se>
1065
1066 * java/awt/geom/CubicCurve2D.java: Reindent.
1067 (contains): Implemented.
1068 (intersects): Implemented.
1069 * java/awt/geom/QuadCurve2D.java: Likewise.
1070 * java/awt/geom/GeneralPath.java: Reindent and document.
1071 Fully (re)implemented using separate xpoints and ypoints
1072 float[] coords.
1073 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1074
1075 2004-08-31 Michael Koch <konqueror@gmx.de>
1076
1077 * javax/swing/JMenuItem.java
1078 (getMenuDragMouseListeners): New method.
1079 (getMenuKeyListeners): Likewise.
1080
1081 2004-08-31 Michael Koch <konqueror@gmx.de>
1082
1083 * javax/swing/AbstractButton.java
1084 (model): Made protected.
1085 (actionListener): Likewise.
1086 (changeListener): Likewise.
1087 (itemListener): Likewise.
1088 (multiClickThreshhold): New field.
1089 (getActionListeners): New method.
1090 (getChangeListeners): Likewise.
1091 (getItemListeners): Likewise.
1092 (fireItemStateChanged): Simplified implementation.
1093 (fireActionPerformed): Likewise.
1094 (fireStateChanged): Likewise.
1095 (getMultiClickThreshhold): New method.
1096 (setMultiClickThreshhold): Likewise.
1097
1098 2004-08-31 Tom Tromey <tromey@redhat.com>
1099
1100 * java/awt/image/Kernel.java (clone): Use super.clone().
1101
1102 2004-08-31 David Jee <djee@redhat.com>
1103
1104 PR AWT/16682
1105 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1106 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1107 (nativeSetIconImageFromData): New native method declaration.
1108 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1109 * gnu/java/awt/peer/gtk/GtkImage.java
1110 (getPixelCache): New method.
1111 (getColorModel): New method.
1112 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1113 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1114 (free_pixbuf_data): New helper function.
1115 (nativeSetIconImageFromData): New function.
1116
1117 2004-08-31 Graydon Hoare <graydon@redhat.com>
1118
1119 PR SWING/16576
1120 * javax/swing/JLayeredPane.java
1121 (setLayer): Permit changing layer after addition.
1122 (setPosition): Permit over-length positions.
1123 (layerToRange): Compare intValue()s.
1124 * javax/swing/Box.java (createHorizontalBox): Implement.
1125 (createRigidArea): Likewise.
1126 (createVerticalBox): Likewise.
1127
1128 2004-08-31 Kim Ho <kho@redhat.com>
1129
1130 * java/awt/Component.java:
1131 (processMouseEvent): Consume event after
1132 listeners process it.
1133 (processMouseMotionEvent): ditto.
1134 (processMouseWheelEvent): ditto.
1135 * java/awt/Container.java:
1136 (acquireComponentForMouseEvent):
1137 Do not dispatch to events that have been
1138 removed from the Container.
1139 (handleEvent): Consume the MouseEvents.
1140 * javax/swing/RepaintManager.java:
1141 (paintDirtyRegions): Do not add to list of
1142 damaged areas if the component has no root.
1143
1144 2004-08-31 Michael Koch <konqueror@gmx.de>
1145
1146 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1147
1148 2004-08-31 Mark Wielaard <mark@klomp.org>
1149
1150 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1151 null when a MissingResourceException is thrown. Should never happen.
1152
1153 2004-08-31 Mark Wielaard <mark@klomp.org>
1154
1155 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1156 when argument is null.
1157
1158 2004-08-31 Mark Wielaard <mark@klomp.org>
1159
1160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1161 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1162 Define hid at start of function.
1163 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1164 Likewise.
1165
1166 2004-08-31 Mark Wielaard <mark@klomp.org>
1167
1168 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1169 * javax/swing/JButton.java: Reindent.
1170 * javax/swing/JCheckBox.java: Reindent.
1171
1172 2004-08-31 Mark Wielaard <mark@klomp.org>
1173
1174 * Makefile.am (gtk_c_source_files): Added
1175 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1176 (gtk_awt_peer_sources): Added
1177 gnu/java/awt/peer/gtk/GThreadMutex.java and
1178 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1179 * Makefile.in: Regenerated.
1180
1181 2004-08-31 Archie Cobbs <archie@dellroad.org>
1182
1183 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1184
1185 2004-08-31 Steven Augart <augart@watson.ibm.com>
1186
1187 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1188 Added jfieldID, jmethodID.
1189
1190 2004-08-31 Mark Wielaard <mark@klomp.org>
1191
1192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1193 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1194 gdk_env before calling any gdk or gtk function.
1195
1196 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1197 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1198 (run): Set gtkInitCalled.
1199
1200 2004-08-31 Steven Augart <augart@watson.ibm.com>
1201
1202 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1203 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1204
1205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1206 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1207 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1208 init_glib_threads.
1209 (init_glib_threads): New function.
1210
1211 2004-08-31 Mark Wielaard <mark@klomp.org>
1212
1213 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1214 PRIORITY when not already defined in header file.
1215
1216 2004-08-31 Mark Wielaard <mark@klomp.org>
1217
1218 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1219 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1220
1221 2004-08-31 Steven Augart <augart@watson.ibm.com>
1222
1223 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1224 Implemented missing functions for GTK2.
1225 Added error handling.
1226 Renamed static functions out of the g_ namespace.
1227 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1228 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1229 Rewrote global-reference code.
1230 Eliminated cascading errors.
1231 (mutex_trylock_jni_impl) Fully implemented.
1232 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1233 resolution.
1234 (setup_cache) New function.
1235 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1236 bug where they were not unlocking the GMutex associated with the
1237 condition variable during the wait on that condition variable.
1238
1239 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1240 native/jni/gtk-peer/gthread-jni.c,
1241 native/jni/gtk-peer/gthread-jni.h
1242 (g_thread_jni_functions): Renamed to ...
1243 (portable_native_sync_jni_functions): this name.
1244 (gdk_vm): Renamed to...
1245 (the_vm): this name.
1246
1247 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1248 (gdk_vm): Removed duplicate definition.
1249 (gtkInit): Removed stray message to stdout.
1250 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1251 (gtkInit): Fix a const assignment bug.
1252 (gtkInit): Simplified code.
1253
1254 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1255 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1256 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1257 gnu/java/awt/peer/gtk/GThreadMutex.java:
1258 New files.
1259
1260 2004-08-31 Mark Wielaard <mark@klomp.org>
1261
1262 * javax/swing/Box.java: Put FIXME comment above class declaration.
1263 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1264 * javax/swing/JCheckBox.java: Likewise.
1265 * javax/swing/JDialog.java: Likewise.
1266 * javax/swing/JRadioButton.java: Likewise.
1267 * javax/swing/JToggleButton.java: Likewise.
1268 * javax/swing/UIManager.java: Likewise.
1269 * javax/swing/border/TitledBorder.java: Likewise.
1270 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1271 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1272 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1273 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1274 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1275 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1276 * javax/swing/text/JTextComponent.java: Likewise.
1277
1278 2004-08-31 David Jee <djee@redhat.com>
1279
1280 PR AWT/16682
1281 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1282 (setIconImage): Add a FIXME for unhandled cases.
1283
1284 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1285
1286 PR AWT/16040
1287 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1288 getModifiers. Replace old button masks with new ones.
1289 * gnu/awt/xlib/XEventLoop.java: Likewise.
1290 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1291 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1292 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1293 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1294 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1295 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1296 * java/awt/Component.java: Replace old modifier masks with new
1297 ones.
1298 * java/awt/Container.java: Call getModifiersEx, not
1299 getModifiers.
1300 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1301 old modifier masks.
1302 * javax/swing/JMenuItem.java: Replace old button masks with new
1303 ones.
1304 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1305 getModifiers.
1306 * javax/swing/SwingUtilities.java: Likewise.
1307 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1308 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1310 mask macros with new ones.
1311 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1312 macros with new ones representing new masks.
1313
1314 2004-08-31 Craig Black <craig.black@aonix.com>
1315
1316 * gnu/java/awt/peer/gtk/GdkGraphics.java
1317 (drawRoundRect): Implemented.
1318 (fillRoundRect): Implemented.
1319 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1320 (drawRoundRect): Reimplemented to match GdkGraphics.
1321 (fillRoundRect): Reimplemented to match GdkGraphics.
1322
1323 2004-08-31 Mark Wielaard <mark@klomp.org>
1324
1325 * Makefile.in: Regenerated.
1326
1327 2004-08-31 Michael Koch <konqueror@gmx.de>
1328
1329 * gnu/java/awt/EmbeddedWindow.java
1330 (addNotify): Use AccessController to allow execution of privileged
1331 code.
1332
1333 2004-08-31 Michael Koch <konqueror@gmx.de>
1334
1335 * gnu/java/awt/EmbeddedWindow.java
1336 (static): Removed.
1337 (addNotify): Set peer via reflection.
1338 (setWindowPeer): Removed.
1339 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1340 * Makefile.am (nat_source_files):
1341 Removed gnu/java/awt/natEmbeddedWindow.cc.
1342
1343 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1344
1345 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1346 and gnu/java/security/action/SetAccessibleAction.java.
1347
1348 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1349
1350 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1351 Renamed from 'setName'. New 2-argument form with default value.
1352 (run): Pass default 'value' parameter to System.getProperty().
1353 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1354 typos.
1355
1356 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1357
1358 * gnu/java/security/action/GetPropertyAction.java: New class.
1359 * gnu/java/security/action/SetAccessibleAction.java: New class.
1360
1361 2004-08-31 David Jee <djee@redhat.com>
1362
1363 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1364 (setIconImage): Check if image is null.
1365
1366 2004-08-31 David Jee <djee@redhat.com>
1367
1368 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1369 (create): Set the icon image.
1370 (nativeSetIconImage): New native method declaration.
1371 (setIconImage): Implement.
1372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1373 (nativeSetIconImage): New function.
1374
1375 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1376
1377 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1378 (filenameFilterCallback): Declare local variable accepted before use.
1379
1380 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1381
1382 * gnu/java/awt/ComponentDataBlitOp.java:
1383 Cleaned up imports.
1384
1385 2004-08-31 Tom Tromey <tromey@redhat.com>
1386
1387 * gnu/java/awt/peer/GLightweightPeer.java,
1388 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1389 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1390 javax/swing/JScrollPane.java: Removed
1391 redundant imports.
1392
1393 2004-08-31 David Jee <djee@redhat.com>
1394
1395 * java/awt/DefaultKeyboardFocusManager.java
1396 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1397 event. Fix shift modifier checking.
1398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1399 (accel_attach): Remove.
1400 (setupAccelGroup): Remove calls to accel_attach.
1401
1402 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1403
1404 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1405 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1406
1407 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1408 GtkArgList.java.
1409 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1410 * Makefile.in: Regenerate.
1411 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1412 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1413 (create(String)): New method.
1414 (create): Call new create method.
1415 (getArgs): Remove method.
1416 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1417 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1418 (nativeCreate): Rename to create.
1419 (gtkSetLabel): Rename to gtkButtonSetLabel.
1420 (gtkToggleButtonSetActive): New method.
1421 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1422 (setState): Replace set call with gtkToggleButtonSetActive.
1423 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1424 (getArgs): Remove method.
1425 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1426 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1427 (gtkWidgetSetSensitive): New method.
1428 (gtkWidgetSetParent): Likewise.
1429 (GtkComponentPeer): Call setParent, setComponentBounds and
1430 setVisibleAndEnabled.
1431 (setParent): New method.
1432 (setComponentBounds): New method.
1433 (setVisibleAndEnabled): New method.
1434 (setEnabled): Call gtkWidgetSetSensitive.
1435 (getArgs): Remove method.
1436 Remove all set methods.
1437 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1438 gtkWindowSetModal, setTitle and setResizable.
1439 (getArgs): Remove method.
1440 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1441 (setComponentBounds): New method.
1442 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1443 Replace set call with gtkWindowSetResizable.
1444 (getArgs): Remove method.
1445 (create): Call setTitle and setResizable.
1446 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1447 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1448 (gtkWindowSetTitle): New method.
1449 (gtkWindowSetResizable): New method.
1450 (gtkWindowSetModal): New method.
1451 (setParent): New method.
1452 (setVisibleAndEnabled): New method.
1453 (getArgs): Remove method.
1454 (setTitle): Call gtkWindowSetTitle.
1455 (setResizable): Call gtkWindowSetResizable.
1456 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1457 and off locking instrumentation.
1458
1459 2004-08-31 Kim Ho <kho@redhat.com>
1460
1461 * Makefile.am: Add new file.
1462 * Makefile.in: Regenerate.
1463 * gcj/Makefile.in: Regenerate
1464 * include/Makefile.in:
1465 * java/awt/Container.java:
1466 (acquireComponentForMouseEvent): Respect
1467 the event mask when looking for candidate.
1468 * javax/swing/JComponent.java:
1469 Remove toolTip field.
1470 (createToolTip): Create a tooltip on demand.
1471 (setToolTipText): Register with the ToolTipManager.
1472 (getToolTipText(MouseEvent)): Return getToolTipText().
1473 * javax/swing/JToolTip.java: Implement.
1474 * javax/swing/Timer.java: Jalopy.
1475 (restart): Call stop, then start.
1476 (stop): Interrupt the timer rather than wait for
1477 the timer to come to a stop naturally.
1478 * javax/swing/ToolTipManager.java: Implement.
1479 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1480 Change ToolTip.background color.
1481 * javax/swing/plaf/basic/BasicToolTipUI.java:
1482 Implement.
1483 * testsuite/Makefile.in: Regenerate
1484
1485 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1486
1487 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1488 constructor param comments.
1489
1490 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1491
1492 * java/awt/Component.java: Document AWT 1.0 event handler
1493 methods.
1494
1495 2004-08-31 Roman Kennke <roman@ontographics.com>
1496
1497 * javax/swing/Box.java:
1498 (createGlue): Implemented
1499 (createHorizontalGlue): Implemented
1500 (createHorizontalStrut): Implemented
1501 (createVerticalGlue): Implemented
1502 (createVerticalStrut): Implemented
1503
1504 2004-08-31 David Jee <djee@redhat.com>
1505
1506 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1507 (GtkChoicePeer): Do not automatically select first item.
1508 (getHistory): Remove.
1509 (nativeGetSelected): New method.
1510 (nativeRemoveAll): New method.
1511 (add): Use nativeGetSelected() instead of getHistory().
1512 (remove): Likewise.
1513 (removeAll): Call nativeRemoveAll().
1514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1515 (create): Migrate to GtkComboBox.
1516 (append): Likewise.
1517 (nativeAdd): Likewise.
1518 (nativeRemove): Likewise.
1519 (select): Likewise.
1520 (nativeRemoveAll): New method.
1521 (nativeGetSelected): New method.
1522 (selection_changed): New method.
1523 (getHistory): Remove.
1524 (item_activate): Remove.
1525 (item_removed): Remove.
1526 (connect_choice_item_selectable_hook): Remove.
1527
1528 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1529
1530 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1531 variable in setEditable call.
1532
1533 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1534 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1535 (gtkWidgetSetBackground): New method.
1536 (gtkWidgetSetForeground): Likewise.
1537 (create): Set peer's editable state based on awtComponent's.
1538
1539 * java/awt/Button.java (Button()): Use empty string rather than
1540 null in no-label constructor.
1541
1542 2004-08-31 Roman Kennke <roman@ontographics.com>
1543
1544 * javax/swing/BoxLayout.java: Reimplement.
1545
1546 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1547
1548 * gnu/java/awt/peer/gtk/GdkGraphics.java,
1549 gnu_java_awt_peer_gtk_GdkGraphics.c
1550 (initState(GtkComponentPeer)): Don't return array of colour
1551 values.
1552 (GdkGraphics(int,int)): Set default font to size 12.
1553 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1554 component's foreground colour.
1555 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1556 gnu_java_awt_peer_gtk_GdkGraphics2D.c
1557 (initState(GtkComponentPeer)): Don't return array of colour
1558 values.
1559 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1560 colours to component's colours.
1561 (current_colors_of_widget): Remove function.
1562 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1563 Return a new graphics object.
1564 * java/awt/Font.java (toString): Fix format.
1565 * java/awt/Graphics.java (toString): Likewise.
1566
1567 2004-08-31 Craig Black <craig.black@aonix.com>
1568
1569 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1570 (addTearOff): New function.
1571 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1572 New native method.
1573 (init): Call addTearOff() when menu.isTearOff().
1574
1575 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1576
1577 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1578 Default implementation.
1579 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1580 Implement using GdkPixbufDecoder.
1581
1582 2004-08-31 David Jee <djee@redhat.com>
1583
1584 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1585 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1586 setting the size of GtkFileDialogPeers.
1587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1588 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1589 use their default sizes rather than their natural requisitions.
1590
1591 2004-08-31 Michael Koch <konqueror@gmx.de>
1592
1593 * javax/swing/JFormattedTextField.java
1594 (JFormattedTextField): Implemented.
1595 * javax/swing/text/DefaultEditorKit.java
1596 (BeepAction): New inner class.
1597 * javax/swing/text/Segment.java
1598 (partialReturn): New field.
1599 (setPartialReturn): New method.
1600 (isPartialReturn): Likewise.
1601 * javax/swing/text/View.java
1602 (createFragment): Fixed typo.
1603 (getStartOffset): New method.
1604 (getEndOffset): Likewise.
1605
1606 2004-08-31 Michael Koch <konqueror@gmx.de>
1607
1608 * javax/swing/table/DefaultTableColumnModel.java
1609 (serialVersionUID): Made private.
1610 (listenerList): Initialize.
1611 (changeEvent): Initialize.
1612 * javax/swing/table/JTableHeader.java
1613 (JTableHeader): New constructors.
1614 (createDefaultColumnModel): New method.
1615 * javax/swing/table/TableColumn.java
1616 (setHeaderRenderer): Simplified code.
1617 (setCellRenderer): Likewise.
1618 (setWidth): Likewise.
1619
1620 2004-08-31 Tom Tromey <tromey@redhat.com>
1621
1622 * java/text/AttributedString.java (AttributedString): Use
1623 ArrayList to build array of attribute ranges. Don't use
1624 `attribs' before it is set.
1625
1626 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1627
1628 * HACKING: Remove reference to special automake. No longer needed.
1629
1630 2004-08-30 Tom Tromey <tromey@redhat.com>
1631
1632 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1633 return result from `add'.
1634
1635 2004-08-30 Tom Tromey <tromey@redhat.com>
1636
1637 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1638
1639 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
1640
1641 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1642
1643 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
1644
1645 * java/io/File.java File(String,String): Fixed handling of empty
1646 path.
1647
1648 2004-08-30 Casey Marshall <csm@gnu.org>
1649
1650 Author e-mail updated for all files.
1651 * gnu/java/security/OID.java (equals): Test if the aurgment is an
1652 instance of OID.
1653 (compareTo): Use `equals'.
1654 * gnu/java/security/der/BitString.java (equals): Test if the
1655 argument is an instance of BitString.
1656 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
1657 class final. Made fields private.
1658 (<init>): New constructor.
1659 (skip): New method.
1660 (makeString): Made static; don't use NIO.
1661 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1662 * gnu/java/security/der/DERWriter.java: Fixed imports.
1663 (writeString): Don't use NIO.
1664 (toIso88591, toUtf16Be, toUtf8): New methods.
1665 * gnu/java/security/der/DERValue.java: Formatting changes only.
1666 * gnu/java/security/der/DER.java: Likewise.
1667
1668 2004-08-30 Tom Tromey <tromey@redhat.com>
1669
1670 * java/nio/CharBuffer.java (put): Fix typo.
1671 * java/nio/DoubleBuffer.java (put): Fix typo.
1672 * java/nio/FloatBuffer.java (put): Fix typo.
1673 * java/nio/IntBuffer.java (put): Fix typo.
1674 * java/nio/LongBuffer.java (put): Fix typo.
1675 * java/nio/ShortBuffer.java (put): Fix typo.
1676
1677 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
1678
1679 * java/nio/ByteBuffer.java (put): Fix typo.
1680
1681 2004-08-30 Casey Marshall <csm@gnu.org>
1682
1683 * java/security/DummyKeyPairGenerator.java (clone): Removed
1684 useless instanceof check.
1685 * java/security/DummyMessageDigest.java (clone): Likewise.
1686 * java/security/DummySignature.java (clone): Likewise.
1687 * java/security/MessageDigest.java (clone): Remove useless
1688 instanceof check.
1689 * java/security/MessageDigestSpi.java (clone): Likewise.
1690 * java/security/Signature.java (clone): Provide meaningful
1691 implementation.
1692 * java/security/SignatureSpi.java (clone): Likewise.
1693
1694 2004-08-29 Mark Wielaard <mark@klomp.org>
1695
1696 * java/util/Arrays.java
1697 (sort(byte[], int, int)): Check fromIndex < 0.
1698 (sort(char[], int, int)): Likewise.
1699 (sort(short[], int, int)): Likewise.
1700 (sort(int[], int, int)): Likewise.
1701 (sort(long[], int, int)): Likewise.
1702 (sort(float[], int, int)): Likewise.
1703 (sort(double[], int, int)): Likewise.
1704 (sort(Object[], int, int, Comparator)): Likewise.
1705 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
1706 (qsort(char[], int, int)): Likewise.
1707 (qsort(short[], int, int)): Likewise.
1708 (qsort(int[], int, int)): Likewise.
1709 (qsort(long[], int, int)): Likewise.
1710 (qsort(float[], int, int)): Likewise.
1711 (qsort(double[], int, int)): Likewise.
1712
1713 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
1714
1715 * java/util/AbstractCollection.java, java/util/AbstractList.java,
1716 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
1717 java/util/ArrayList.java, java/util/Arrays.java,
1718 java/util/BitSet.java, java/util/Calendar.java,
1719 java/util/Collection.java, java/util/ListIterator.java,
1720 java/util/Map.java, java/util/SortedSet.java:
1721 Added additional exceptions to documentation, along
1722 with some additions and corrections.
1723
1724 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
1725
1726 * configure.ac: Handle --enable-gc-debug.
1727 * configure: Regenerate.
1728 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
1729 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
1730 Rearrange include file order.
1731 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
1732 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
1733 (disable_gc_mutex): Delete along with all references.
1734 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
1735 adjust for debug header size.
1736 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
1737 debug case.
1738 (_Jv_AllocArray): Declare min_heap_addr only if needed.
1739 (gcj_describe_type_fn): New.
1740 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
1741 Register gcj_describe_type_fn.
1742 * include/boehm-gc.h:
1743 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
1744 Don't define, but declare, for debug case.
1745 * java/lang/natObject.cc:
1746 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
1747
1748 2004-08-26 Mark Wielaard <mark@klomp.org>
1749
1750 Fixes PR libgcj/17002:
1751 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
1752 a TimeZoneId string and then try to convert that to a TimeZone with
1753 getDefaultSystemTimeZone(String).
1754 (timezones0): Changed type from Hashtable to HashMap.
1755 (timezones): Create HashMap, not Hashtable.
1756 (getDefaultTimeZone): New method, rewritten from CNI version.
1757 (readTimeZoneFile): New method.
1758 (readtzFile): Likewise.
1759 (skipFully): Likewise.
1760 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
1761 getDefaultTimeZoneId and rewritten.
1762 (getDefaultTimeZoneId): Rewritten in java.
1763
1764 2004-08-25 David Daney <daney@avtrex.com>
1765
1766 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
1767 * Makefile.in: Regenerated.
1768
1769 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
1770
1771 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
1772 only if jvmpi is enabled.
1773 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
1774 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
1775 (_Jv_AllocString): Likewise.
1776 (_Jv_AllocPtrFreeObject): Likewise.
1777
1778 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
1779
1780 * defineclass.cc: Include <stdio.h>.
1781 * java/lang/natClassLoader.cc: Include <stdio.h>.
1782
1783 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
1784 Michael Koch <konqueror@gmx.de>
1785
1786 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
1787 * Makefile.in: Regenerated.
1788
1789 2004-08-20 Michael Koch <konqueror@gmx.de>
1790
1791 * configure.ac: Replaced all AC_TRY_COMPILE macros with
1792 AC_COMPILE_IFELSE macros.
1793
1794 2004-08-20 Michael Koch <konqueror@gmx.de>
1795
1796 * configure.in: Renamed to configure.ac.
1797 * configure.ac: New file.
1798 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
1799 include/config.h.in, testsuite/Makefile.in: Regenerated.
1800
1801 2004-08-20 Michael Koch <konqueror@gmx.de>
1802
1803 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
1804 * aclocal.m4, configure: Regenerated.
1805
1806 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1807 Michael Koch <konqueror@gmx.de>
1808
1809 * configure.in, Makefile.am: Ported to automake 1.9.
1810 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
1811 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
1812 Regenerated.
1813
1814 2004-08-19 Tom Tromey <tromey@redhat.com>
1815
1816 * java/net/DatagramSocket.java: Fixed typo.
1817
1818 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
1819
1820 PR libgcj/17081
1821 * java/net/URI.java (string): New field. Make all other fields
1822 transient.
1823 (readObject): Implemented.
1824 (writeObject): Implemented.
1825 (URI): Set 'string'.
1826
1827 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
1828
1829 PR libgcj/17079
1830 * java/util/logging/Handler.java (isLoggable): Accept record if its
1831 log level equals the threshold level. From Robin Green.
1832
1833 2004-08-18 David Daney <ddaney@avtrex.com>
1834
1835 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
1836 instead of sigwait.
1837
1838 2004-08-17 Michael Koch <konqueror@gmx.de>
1839
1840 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
1841 * Makefile.in: Regenerated.
1842
1843 2004-08-16 Tom Tromey <tromey@redhat.com>
1844
1845 PR java/8473:
1846 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
1847
1848 2004-08-16 Michael Koch <konqueror@gmx.de>
1849
1850 * Makefile.am
1851 (math_c_files): Renamed from c_files.
1852 (math_c_source_files): Renamed from c_source_files.
1853 * Makefile.in,
1854 gcj/Makefile.in,
1855 include/Makefile.in,
1856 testsuite/Makefile.in: Regenerated.
1857
1858 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
1859
1860 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
1861 to avoid autoconf warning.
1862 * configure: Rebuilt.
1863
1864 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
1865
1866 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
1867 localhostAddress to loopbackAddress.
1868 * java/net/natInetAddressWin32.cc (lookup): Likewise.
1869
1870 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1871
1872 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
1873 boehm-gc's include dirs.
1874 * configure: Rebuilt.
1875 * include/boehm-gc.h: Include gc_config.h.
1876
1877 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1878
1879 * java/net/InetAddress.java (loopbackAddress): Renamed from
1880 localhostAddress.
1881 (getByName): Return loopback address for null hostname, without
1882 security check. Use lookup(), not getAllByName.
1883 (getAllByName): Return loopback address for null hostname, without
1884 security check.
1885 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
1886 check here.
1887
1888 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
1889
1890 PR libgcj/17020
1891 Reported by Robin Green.
1892 * defineclass.cc (handleField): Don't throw exception on unrecognised
1893 modifier. Add FIXME comments for spec compliance.
1894 (handleMethod): Likewise.
1895
1896 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
1897
1898 PR libgcj/16662
1899 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
1900 (Almost everywhere): add LOG calls, fix, add comments.
1901 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
1902 Add explicit check for LOCKED bit in slow case (PR 16662).
1903 (_Jv_MonitorExit): Add casts in debug-only code.
1904 Always release LOCKED bit before throwing exception.
1905 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
1906 isn't. Handle easy cases without lock acquisition.
1907 (Object::wait): Use NotifyAll for lock inflation.
1908
1909 2004-08-12 David Daney <ddaney@avtrex.com>
1910
1911 * testsuite/libjava.lang/Process_1.java: New test.
1912 * testsuite/libjava.lang/Process_2.java: New test.
1913 * testsuite/libjava.lang/Process_3.java: New test.
1914 * testsuite/libjava.lang/Process_4.java: New test.
1915 * testsuite/libjava.lang/Process_5.java: New test.
1916 * testsuite/libjava.lang/Process_6.java: New test.
1917 * testsuite/libjava.lang/Process_1.out: Expected result.
1918 * testsuite/libjava.lang/Process_2.out: Expected result.
1919 * testsuite/libjava.lang/Process_3.out: Expected result.
1920 * testsuite/libjava.lang/Process_4.out: Expected result.
1921 * testsuite/libjava.lang/Process_5.out: Expected result.
1922 * testsuite/libjava.lang/Process_6.out: Expected result.
1923
1924 2004-08-12 David Daney <ddaney@avtrex.com>
1925
1926 PR libgcj/11801
1927 * java/lang/PosixProcess.java: Rewrote.
1928 * java/lang/natPosixProcess.cc: Rewrote.
1929 * java/lang/Runtime.java (execInternal): Declare throws IOException.
1930 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
1931 * posix-threads.cc (block_sigchld) New function.
1932 (_Jv_ThreadRegister) Use it.
1933 (_Jv_ThreadStart) Use it.
1934 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
1935 * Makefile.am: ... to specify extra native headers.
1936 * configure: Regenerated.
1937 * include/config.h: Regenerated.
1938 * Makefile.in: Regenerated.
1939 * gcj/Makefile.in: Regenerated.
1940 * include/Makefile.in: Regenerated.
1941 * testsuite/Makefile.in: Regenerated.
1942
1943 2004-08-12 Diego Novillo <dnovillo@redhat.com>
1944
1945 PR tree-optimization/16867
1946 * testsuite/libjava.lang/PR16867.java: New test.
1947
1948 2004-08-09 Per Bothner <per@bothner.com>
1949
1950 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
1951 with private fields and access methods.
1952 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
1953 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
1954 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
1955 ( _Jv_makeUtf8Const): Rewrite using new constructors.
1956 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
1957 * defineclass.cc: Use new _Utf8Const access/convenience methods.
1958 * jni.cc: Likewise.
1959 * resolve.cc: Likewise.
1960 * gcj/field.h: Likewise.
1961 * include/jvm.h: Likewise.
1962 * java/lang/Class.h: Likewise.
1963 * java/lang/natClass.cc: Likwise.
1964 * java/lang/natClassLoader.cc: Likewise
1965 * java/lang/reflect/natMethod.cc: Likewise
1966 * verify.cc: Likewise.
1967 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
1968 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
1969
1970 2004-08-10 Andrew Haley <aph@redhat.com>
1971
1972 * testsuite/libjava.lang/err14.java: New file.
1973 * testsuite/libjava.lang/err14.out: New file.
1974
1975 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
1976
1977 * Makefile.am: Fix missing rename from x_nat_headers to
1978 xlib_nat_headers.
1979 * Makefile.in: Regenerated.
1980
1981 2004-08-04 Andrew Haley <aph@redhat.com>
1982
1983 * java/security/BasicPermission.java: Don't check wildcards.
1984
1985 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1986 Michael Koch <konqueror@gmx.de>
1987
1988 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
1989 * configure.in: Replaced all usages of AC_LINK_FILES by
1990 AC_CONFIG_LINKS.
1991 * aclocal.m4,
1992 configure: Regenerated.
1993
1994 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1995 Michael Koch <konqueror@gmx.de>
1996
1997 * acconfig.h: Removed.
1998 * Makefile.am: Rename variables for xlib peer to include xlib and
1999 gtk_c_headers to gtk_jni_headers.
2000 * Makefile.in: Regenerated.
2001
2002 2004-08-04 Andrew Haley <aph@redhat.com>
2003
2004 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2005 debugging.
2006
2007 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2008
2009 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2010 Replace most top level 'dnl' comments with '#' comments, conforming
2011 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2012 help strings.
2013 * configure: Rebuilt.
2014
2015 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2016
2017 * acinclude.m4: Include no-executables.m4.
2018 * aclocal.m4: Rebuild.
2019 * configure.in: Convert to the autoconf 2.59 version of
2020 of the no-executables hack, and also of the nonstandard CXX
2021 hack and the multilibbed CC and CXX hack. Change prerequisite
2022 to autoconf 2.59.
2023 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2024 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2025 testsuite/Makefile.in: Regenerate.
2026
2027 2004-08-03 Tom Tromey <tromey@redhat.com>
2028
2029 * jni.cc: Reindented.
2030
2031 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2032
2033 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2034
2035 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2036
2037 * testsuite/libjava.compile/PR16701.java: New test.
2038
2039 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2040
2041 * java/util/Collection.java, java/util/List.java,
2042 java/util/Map.java, java/util/Set.java,
2043 java/util/SortedMap.java, java/util/SortedSet.java:
2044 Added additional exceptions to documentation.
2045
2046 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2047
2048 PR libgcj/16814
2049 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2050 * configure. Regenerate.
2051 * include/win32.h: Explicitly include winsock2.h
2052 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2053 Winsock api.
2054
2055 2004-07-30 Michael Koch <konqueror@gmx.de>
2056
2057 * java/util/zip/GZIPInputStream.java
2058 (GZIPInputStream): Increase buffer size to 4k.
2059 * java/util/zip/GZIPOutputStream.java
2060 (GZIPOutputStream): Likewise.
2061 * java/util/zip/Inflater.java
2062 (setInput): Merged formating with GNU classpath.
2063 * java/util/zip/InflaterInputStream.java
2064 (InflaterInputStream): Increase buffer size to 4k.
2065 (fill): Throw exception if stream ends early.
2066 (read): Merged endless-loop with GNU classpath.
2067 (skip): Increase buffer size to 2k.
2068
2069 2004-07-30 Michael Koch <konqueror@gmx.de>
2070
2071 * gnu/java/awt/EmbeddedWindow.java
2072 (addNotify): Use AccessController to allow execution of privileged
2073 code.
2074
2075 2004-07-29 Michael Koch <konqueror@gmx.de>
2076
2077 * gnu/java/lang/MainThread.java:
2078 Explicitely import used classes.
2079 (args): Make it type String[].
2080
2081 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2082
2083 * gnu/java/awt/ComponentDataBlitOp.java,
2084 gnu/java/beans/ExplicitBeanInfo.java,
2085 gnu/java/beans/IntrospectionIncubator.java,
2086 gnu/java/beans/editors/ColorEditor.java,
2087 gnu/java/beans/editors/FontEditor.java,
2088 gnu/java/beans/editors/NativeBooleanEditor.java,
2089 gnu/java/beans/editors/NativeByteEditor.java,
2090 gnu/java/beans/editors/NativeDoubleEditor.java,
2091 gnu/java/beans/editors/NativeFloatEditor.java,
2092 gnu/java/beans/editors/NativeIntEditor.java,
2093 gnu/java/beans/editors/NativeLongEditor.java,
2094 gnu/java/beans/editors/NativeShortEditor.java,
2095 gnu/java/beans/editors/StringEditor.java,
2096 gnu/java/io/ClassLoaderObjectInputStream.java,
2097 gnu/java/io/decode/Decoder.java,
2098 gnu/java/io/encode/Encoder.java,
2099 gnu/java/lang/ClassHelper.java,
2100 gnu/java/locale/Calendar.java,
2101 gnu/java/locale/Calendar_de.java,
2102 gnu/java/locale/Calendar_en.java,
2103 gnu/java/locale/Calendar_nl.java,
2104 gnu/java/locale/LocaleInformation_de.java,
2105 gnu/java/locale/LocaleInformation_en.java,
2106 gnu/java/locale/LocaleInformation_nl.java:
2107 Cleaned up imports.
2108
2109 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2110
2111 * README: Remove obsolete info. Update bug URL.
2112 * THANKS: Updated.
2113 * NEWS: Updated with news up to GCC 3.4 release.
2114
2115 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2116
2117 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2118 Renamed from 'setName'. New 2-argument form with default value.
2119 (run): Pass default 'value' parameter to System.getProperty().
2120 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2121 typos.
2122 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2123 not 'setName'.
2124
2125 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2126
2127 * configure.in: Check for minimum GTK version 2.4 requirement.
2128 * configure: Rebuilt.
2129
2130 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2131
2132 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2133 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2134 Reduce sleep time.
2135 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2136 compiler bug.
2137 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2138 address. Reduce sleep times. Synchronize with target threads before
2139 attempting to interrupt them. Don't try to calibrate yeild count,
2140 instead, always loop for a fixed time.
2141 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2142 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2143 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2144 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2145 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2146 * testsuite/libjava.lang/pr179.java: Likewise.
2147 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2148 time. Remove upper bounds check on sleep time.
2149
2150 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2151
2152 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2153 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2154
2155 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2156
2157 * java/io/File.java (toURI): Throw RuntimeException, not
2158 InternalError.
2159 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2160 class name, not instance.
2161
2162 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2163
2164 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2165 and gnu/java/security/action/SetAccessibleAction.java.
2166 * Makefile.in: Rebuilt.
2167
2168 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2169
2170 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2171 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2172 _Jv_InitPrimClass.
2173 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2174 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2175 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2176
2177 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2178
2179 * Makefile.am: Replace jar, rmic and rmiregistry references with
2180 gjar, grmic and grmiregistry.
2181 * configure.in: Likewise.
2182 * Makefile.in: Regenerate.
2183 * configure: Likewise.
2184 * gcj/Makefile.in: Likewise.
2185 * include/Makefile.in: Likewise.
2186 * testsuite/Makefile.in: Likewise.
2187
2188 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2189
2190 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2191 for privileged getProperty calls.
2192 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2193 SetAccessibleAction instead of anonymous class for doPrivileged call.
2194 (getMethod): Likewise.
2195 (setAccessible): New field. PrivilegedAction object to use when
2196 calling setAccessible.
2197 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2198 SetAccessibleAction instead of anonymous class for diPrivileged call.
2199 (setFields): Likewise.
2200 (getClassUID): Likewise.
2201 (findMethod): Likewise.
2202 * gnu/java/security/action/GetPropertyAction.java: New class.
2203 * gnu/java/security/action/SetAccessibleAction.java: New class.
2204
2205 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2206
2207 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2208 for final fields.
2209 * testsuite/libjava.lang/Serialization.java: New test.
2210 * testsuite/libjava.lang/Serialization.out: New.
2211
2212 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2213
2214 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2215 missed in last commit.
2216
2217 2004-07-23 Mark Wielaard <mark@klomp.org>
2218
2219 * java/lang/System.java (static): Set http.agent system property when
2220 not yet set.
2221 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2222 from system property inside AccessController.doPrivileged() call.
2223 (proxyPort): Made package private.
2224 (proxyInUse): Likewise.
2225 (proxyHost): Likewise.
2226 (userAgent): Likewise.
2227
2228 2004-07-23 Mark Wielaard <mark@klomp.org>
2229
2230 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2231 implementation.
2232
2233 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2234
2235 * Makefile.am (ordinary_java_source_files): Add
2236 DefaultContentHandlerFactory.java.
2237 * Makefile.in: Rebuilt.
2238 * java/net/URLConnection.java (defaultFactory): New field.
2239 (getContent):
2240 (getContentHandler): Renamed from 'setContentHandler'. Try
2241 defaultFactory after user-set factory, if any. Search for content
2242 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2243 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2244 Implemented.
2245 (getLastModified): Implemented.
2246 (getPermission): Create file permission here, instead of in
2247 constructor.
2248 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2249 Implemented.
2250 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2251 Implemented.
2252 (getLastModified): Implemented.
2253 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2254 Default implementation.
2255 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2256 Implement using GdkPixbufDecoder.
2257
2258 2004-07-21 Michael Koch <konqueror@gmx.de>
2259
2260 * javax/swing/JTextArea.java
2261 (setLineWrap): Fire property change event after new value is set.
2262 (setTabSize): Likewise.
2263
2264 2004-07-21 Michael Koch <konqueror@gmx.de>
2265
2266 * javax/swing/JTable.java
2267 (autoCreateColumnsFromModel): New field.
2268 (autoResizeMode): Likewise.
2269 (cellEditor): Likewise.
2270 (cellSelectionEnabled): Likewise.
2271 (columnModel): Likewise.
2272 (dataModel): Likewise.
2273 (defaultEditorsByColumnClass): Likewise.
2274 (defaultRenderersByColumnClass): Likewise.
2275 (editingColumn): Likewise.
2276 (editingRow): Likewise.
2277 (gridColor): Likewise.
2278 (preferredViewportSize): Likewise.
2279 (rowHeight): Likewise.
2280 (rowMargin): Likewise.
2281 (rowSelectionAllowed): Likewise.
2282 (selectionBackground): Likewise.
2283 (selectionForeground): Likewise.
2284 (selectionModel): Likewise.
2285 (showHorizontalLines): Likewise.
2286 (showVerticalLines): Likewise.
2287 (tableHeader): Likewise.
2288 (JTable): Implemented.
2289 (getColumnModel): Likewise.
2290 (getSelectedRow): Likewise.
2291 (getSelectionModel): Likewise.
2292 (setModel): Likewise.
2293 (setSelectionModel): Likewise.
2294 (createScrollPaneForTable): New method.
2295 (createDefaultDataModel): Likewise.
2296 (createDefaultListSelectionModel): Likewise.
2297 (getModel): Likewise.
2298 (getTableHeader): Likewise.
2299 (setTableHeader): Likewise.
2300 (getColumnSelectionAllowed): Likewise.
2301 (setColumnSelectionAllowed): Likewise.
2302 (getRowSelectionAllowed): Likewise.
2303 (setRowSelectionAllowed): Likewise.
2304 (getAutoResizeMode): Likewise.
2305 (setAutoResizeMode): Likewise.
2306 (getColumnCount): Likewise.
2307 (getRowCount): Likewise.
2308 (getCellRenderer): Likewise.
2309 * javax/swing/JTree.java
2310 (cellRenderer): New field.
2311 (editable): Likewise.
2312 (rootVisible): Likewise.
2313 (showsRootHandles): Likewise.
2314 (getModel): New method.
2315 (setModel): Likewise.
2316 (isEditable): Likewise.
2317 (setEditable): Likewise.
2318 (isRootVisbile): Likewise.
2319 (setRootVisible): Likewise.
2320 (getShowsRootHandles): Likewise.
2321 (setShowRootHandles): Likewise.
2322 (getCellRenderer): Likewise.
2323 (setCellRenderer): Likewise.
2324
2325 2004-07-21 Michael Koch <konqueror@gmx.de>
2326
2327 * javax/swing/JFormattedTextField.java
2328 (setDocument): Implemented.
2329 * javax/swing/JRootPane.java:
2330 Fixed javadocs.
2331 * javax/swing/JTable.java
2332 (getDefaultRenderer): New method.
2333 * javax/swing/JTextField.java
2334 (setFont): Likewise.
2335 (getPreferredSize): Likewise.
2336 * javax/swing/JToggleButton.java
2337 (getAccessibleContext): Fix javadoc.
2338 * javax/swing/JTree.java:
2339 Add some javadocs.
2340 * javax/swing/JViewport.java:
2341 Likewise.
2342
2343 2004-07-21 David Jee <djee@redhat.com>
2344
2345 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2346 Collect all native method declaration at the top.
2347 (create): Set the filename filter if necessary.
2348 (setDirectory): Call nativeSetDirectory().
2349 (setFilenameFilter): Implement.
2350 (filenameFilterCallback): New method.
2351 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2352 (create): Configure dialog to show hidden files.
2353 (filenameFilterCallback): New function.
2354 (nativeSetFilenameFilter): New function.
2355 (nativeSetDirectory): New function.
2356
2357 2004-07-21 Kim Ho <kho@redhat.com>
2358
2359 * javax/swing/plaf/basic/BasicSliderUI.java:
2360 Ran Jalopy.
2361 (paintTrack): Fill the track before painting
2362 the borders.
2363
2364 2004-07-21 Graydon Hoare <graydon@redhat.com>
2365
2366 patch from Roman Kennke <roman@ontographics.com>
2367 * javax/swing/Spring.java: New file.
2368 * javax/swing/SpringLayout.java: New file.
2369 * Makefile.am: Add new files.
2370 * Makefile.in: Regenerate.
2371
2372 2004-07-21 Graydon Hoare <graydon@redhat.com>
2373
2374 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2375 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2376 * javax/swing/ScrollPaneLayout.java: Likewise.
2377
2378 2004-07-21 Kim Ho <kho@redhat.com>
2379
2380 * javax/swing/DefaultDesktopManager.java:
2381 (findMinimum): Removed.
2382 (resizeFrame): Trust the UI to pass valid
2383 bounds.
2384 * javax/swing/JOptionPane.java:
2385 Implemented showInternalXXXDialog methods.
2386 (startModal): New method.
2387 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2388 (BorderListener::mouseDragged): Verify that the new
2389 bounds are valid before passing them to the DesktopManager.
2390 (preferredLayoutSize): Delegate
2391 to getSize.
2392 (minimumLayoutSize): Ditto.
2393 (getSize): New method.
2394 (GlassPaneDispatcher): Reimplemented by copying
2395 a stripped down LightweightDispatcher from Container.
2396 (getMinimumSize): Call minimumLayoutSize.
2397 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2398 Ran Jalopy.
2399 (mousePressed): Add ability to properly close
2400 JInternalFrames.
2401 * javax/swing/plaf/basic/BasicToolBarUI.java:
2402 (DragWindow): Set owner for DragWindow.
2403
2404 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2405
2406 * java/awt/image/ShortLookupTable.java: New file.
2407 * java/awt/image/ByteLookupTable.java: New file.
2408 * Makefile.am: Added new files.
2409 * Makefile.in: Regenerated.
2410
2411 2004-07-21 David Jee <djee@redhat.com>
2412
2413 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2414 (create(GtkContainerPeer)): New native method.
2415 (create()): Call native create(), passing in the parent frame
2416 as the paramter. Natively set the current file and directory.
2417 (setFile): Construct an absolute filename before passing it to
2418 the native peer.
2419 (nativeGetDirectory): New method.
2420 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2421 (window_closed): Removed.
2422 (ok_clicked): Likewise.
2423 (cancel_clicked): Likewise.
2424 (handle_response): New method.
2425 (create): Use GtkFileChooserDialog.
2426 (connectSignals): Connect to handle_response.
2427 (nativeGetDirectory): New method.
2428 (nativeSetFile): Use GtkFileChooserDialog.
2429
2430 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2431
2432 * java/awt/image/LookupTable.java: New file.
2433 * Makefile.am: Added new file.
2434 * Makefile.in: Regenerated.
2435
2436 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2437
2438 * java/awt/image/Kernel.java: New file.
2439 * Makefile.am: Added new file.
2440 * Makefile.in: Regenerated.
2441
2442 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2443
2444 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2445 * javax/swing/JMenu.java: Likewise.
2446 * javax/swing/JMenuBar.java: Likewise.
2447 (MARGIN_CHANGED_PROPERTY): New property.
2448 (setMargin): Implemented.
2449 * javax/swing/JMenuItem.java: Fixed javadocs.
2450 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2451 (LABEL_CHANGED_PROPERTY): New property.
2452 (add): changed to use createActionComponent.
2453 (createActionComponent): Implemented.
2454 (setLabel): Fire PropertyChangeEvent if label property
2455 changes.
2456 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2457 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2458 (ContainerHandler): Repaint if margin property has changed.
2459 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2460 (installUI): Call installComponents().
2461 (uninstallUI): Call uinstallComponents().
2462 * javax/swing/plaf/basic/BasicMenuUI.java:
2463 Fixed javadocs.
2464 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2465 Likewise.
2466
2467 2004-07-21 Kim Ho <kho@redhat.com>
2468
2469 * javax/swing/plaf/basic/BasicToolBarUI.java:
2470 (DragWindow): Use the right constructor.
2471
2472 2004-07-21 Kim Ho <kho@redhat.com>
2473
2474 * javax/swing/JToolBar.java:
2475 (layoutContainer): Use getComponents.
2476 * javax/swing/plaf/basic/BasicToolBarUI.java:
2477 (DragWindow): Don't use SwingUtilities'
2478 getOwnerFrame
2479 (ToolBarDialog): ditto.
2480
2481 2004-07-21 Kim Ho <kho@redhat.com>
2482
2483 * javax/swing/JRootPane.java:
2484 Ran jalopy.
2485 (layoutContainer): Set the glasspane's size to
2486 be the same as the content pane.
2487 (createGlassPane): Set opaque property to false.
2488
2489 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2490
2491 * java/awt/Component.java (requestFocus()): Don't handle Panels
2492 specially.
2493 (requestFocus(boolean)): Likewise.
2494 (requestFocusInWindow(boolean)): Likewise.
2495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2496 Set GTK_CAN_FOCUS flag.
2497
2498 2004-07-21 Kim Ho <kho@redhat.com>
2499
2500 * Makefile.am: Added new file.
2501 * Makefile.in: Regenerated.
2502 * gcj/Makefile.in: Regenerated.
2503 * include/Makefile.in: Regenerated.
2504 * javax/swing/AbstractButton.java:
2505 Add rollOverEnabled property.
2506 (setRolloverEnabled): Use new property.
2507 (isRolloverEnabled): Use new property.
2508 * javax/swing/JTabbedPane.java:
2509 (setComponent): Remove useless JTabbedPane.this.
2510 * javax/swing/JToolBar.java: Finish implementation.
2511 * javax/swing/plaf/basic/BasicArrowButton.java:
2512 (paint): Moved border painting to a border.
2513 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2514 Change JToolBar look and feel defaults.
2515 * javax/swing/plaf/basic/BasicOptionPaneUI.java
2516 (actionPerformed): Return Integer index instead of name.
2517 (addButtonComponents): Check to see if component is
2518 JButton last.
2519 (createMessageArea): Don't use components that are not
2520 completed yet.
2521 (getIconForType): Use temporary icons.
2522 * javax/swing/plaf/basic/BasicSliderUI.java:
2523 (mousePressed): Do not return if it's on thumb.
2524 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2525 (paintMinorTickForVertSlider): ditto.
2526 (paintMajorTickForHorizSlider): ditto.
2527 (paintMajorTickForVertSlider): ditto.
2528 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2529 Add a border around the SplitPaneDivider.
2530 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2531 Remove comments.
2532 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2533 New file. Implemented.
2534 * javax/swing/plaf/basic/BasicToolBarUI.java:
2535 Implemented.
2536 * testsuite/Makefile.in: Regenerated.
2537
2538 2004-07-21 Graydon Hoare <graydon@redhat.com>
2539
2540 * javax/swing/Timer.java (run): Queue events each time cycle.
2541
2542 2004-07-21 David Jee <djee@redhat.com>
2543
2544 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2545 (imageComplete): Call image.imageComplete().
2546 * java/awt/image/MemoryImageSource.java:
2547 Reimplement consumers as a Vector instead of a Hashtable. This is
2548 because enumeration on a Hashtable is not thread-safe.
2549 (addConsumer): Adapt to Vector consumers.
2550 (isConsumer): Adapt to Vector consumers.
2551 (removeConsumer): Adapt to Vector consumers.
2552 (startProduction): Adapt to Vector consumers. Call imageComplete()
2553 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2554 (newPixels): Adapt to Vector consumers.
2555 (sendPicture): Set the color model of the image consumer.
2556 (newPixels(IIII)): Adapt to Vector consumers.
2557 (newPixels(IIIIB)): Adapt to Vector consumers.
2558
2559 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2560
2561 * java/awt/Component.java (deliverEvent): Implement.
2562 (postEvent): Implement.
2563 (handleEvent): Implement.
2564 (translateEvent): New method.
2565 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
2566 * java/awt/Container.java (deliverEvent): Implement.
2567 * java/awt/Event.java (paramString): Fix formatting.
2568 * java/awt/Font.java (toString): Likewise.
2569 * java/awt/Window.java (postEvent): Implement.
2570
2571 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2572
2573 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2574 Set window's focus owner upon receiving a FOCUS_LOST event.
2575 * java/awt/Window.java (Window()): Refocus the previously
2576 focused component within the window when the window regains the
2577 top-level focus.
2578 (setFocusOwner): New method.
2579 * java/awt/Component.java (requestFocus): Add FIXME.
2580
2581 * libgcj.pc.in: Remove library flags.
2582
2583 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2584
2585 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2586 MOUSE_PRESSED event.
2587 * java/awt/Component.java (requestFocus()): Handle Panel
2588 specially. Post FOCUS_LOST event on opposite component.
2589 (requestFocus(boolean)): Likewise.
2590 (requestFocusInWindow(boolean)): Likewise.
2591 (paramString): Reorder dimension fields.
2592 * java/awt/Container.java (paramString): Fix string format.
2593 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2594 Handle FOCUS_LOST events. Don't handle Windows specially. Only
2595 process key events if the focus owner is non-null.
2596 (dispatchKeyEvent): Likewise.
2597 * java/awt/Frame.java (paramString): Fix formatting.
2598 (generateName): New method.
2599 (getUniqueLong): Likewise.
2600 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2601 the temporary focus owner is null. If so, return the permanent
2602 focus owner.
2603 * java/awt/Panel.java (generateName): New method.
2604 (getUniqueLong): Likewise.
2605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2606 signal handling to make callbacks more specific.
2607
2608 2004-07-21 Michael Koch <konqueror@gmx.de>
2609
2610 * javax/swing/text/Position.java
2611 (Bias): Implemented.
2612
2613 2004-07-21 Michael Koch <konqueror@gmx.de>
2614
2615 * javax/swing/LookAndFeel.java
2616 (provideErrorFeedback): New method.
2617
2618 2004-07-21 Michael Koch <konqueror@gmx.de>
2619
2620 * javax/swing/JTextArea.java
2621 (tabSize): New field.
2622 (getTabSize): New method.
2623 (setTabSize): Likewise.
2624
2625 2004-07-21 Michael Koch <konqueror@gmx.de>
2626
2627 * javax/swing/ActionMap.java:
2628 Fixed javadocs all over.
2629 (serialVersionUID): Made private.
2630 (parent): Don't explicitely initialize with default value.
2631 (get): SImplified.
2632 (keys): Reimplemented.
2633 (allKeys): Likewise.
2634 (convertSet): Removed.
2635 * javax/swing/ComponentInputMap.java:
2636 Fixed javadocs all over.
2637 (ComponentInputMap): Implemented.
2638 (put): Likewise.
2639 (clear): Likewise.
2640 (remove): Likewise.
2641 (SetParent): Likewise.
2642 (getComponent): Likewise.
2643 * javax/swing/InputMap.java:
2644 Fixed javadocs all over.
2645 (serialVersionUID): Made private.
2646 (parent): Don't explicitely initialize with default value.
2647 (get): SImplified.
2648 (keys): Reimplemented.
2649 (allKeys): Likewise.
2650 (convertSet): Removed.
2651
2652 2004-07-21 Michael Koch <konqueror@gmx.de>
2653
2654 * javax/swing/ActionMap.java,
2655 javax/swing/ComponentInputMap.java,
2656 javax/swing/InputMap.java,
2657 javax/swing/table/DefaultTableColumnModel.java,
2658 javax/swing/table/TableColumn.java,
2659 javax/swing/table/TableColumnModel.java,
2660 javax/swing/table/TableModel.java,
2661 javax/swing/text/AbstractDocument.java,
2662 javax/swing/text/TextAction.java:
2663 Reformated.
2664
2665 2004-07-21 Graydon Hoare <graydon@redhat.com>
2666
2667 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
2668 Make method non-static.
2669 * javax/swing/AbstractButton.java:
2670 Rename fields to match property names where possible.
2671 (iconTextGap): New property.
2672 * javax/swing/JCheckBox.java: Match AbstractButton changes.
2673 (init) New method, call from after various constructors.
2674 * javax/swing/JComponent.java (revalidate):
2675 Invalidate before queueing repair.
2676 * javax/swing/JList.java (getPreferredScrollableViewportSize):
2677 Reimplement in terms of visibleRowCount property.
2678 * javax/swing/JMenuButton.java: Match AbstractButton changes.
2679 * javax/swing/JScrollPane.java (createScrollListener):
2680 Remove tracing chatter.
2681 * javax/swing/JToggleButton.java: Match AbstractButton changes.
2682 * javax/swing/RepaintManager.java (addInvalidComponent):
2683 Don't invalidate.
2684 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2685 calculations.
2686 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
2687 Mimic sun behavior on top left/right positioning.
2688 * javax/swing/ViewportLayout.java (preferredLayoutSize):
2689 Remove mistaken use of preferredScrollableViewportSize here.
2690 (layoutContainer): Use view's preferred size as basis.
2691 * javax/swing/plaf/basic/BasicButtonUI.java:
2692 Set, get, and use textIconGap property.
2693 (paint) Paint text returned from layout (with ellipsis).
2694 * javax/swing/plaf/basic/BasicListUI.java:
2695 Remove tracing chatter, correct various minor calculations.
2696 (getCellBounds): Update layout state before calculating.
2697 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
2698 Use margin default similar to sun's.
2699 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
2700 (createIncreaseIcon): Center icon, minimize margins.
2701 (createDecreaseIcon): Likewise.
2702 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
2703 Implement.
2704 (installUI): Call it.
2705 (uninstallDefaults): Implement.
2706 (uninstallUI): Call it.
2707 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
2708 Call existing Window constructor.
2709 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
2710 Set clip before painting.
2711
2712 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2713
2714 * javax/swing/JMenuItem.java:
2715 (processMouseEvent): Reimplemented to deal with
2716 mouse drag events.
2717 (createMenuDragMouseEvent): New private helper method.
2718 Creates MenuDragMouseEvent.
2719 * javax/swing/MenuSelectionManager.java
2720 (componentForPoint): Implemented.
2721 (isComponentPartOfCurrentMenu): Made public.
2722 (processMouseEvent): Reimplemented to deal with
2723 mouse drag events.
2724 (setSelectedPath): Corrected small mistake that caused
2725 path to be set incorrectly.
2726 (getPath): If given component is JMenu then also add this
2727 menu's popup menu to the selected path.
2728 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2729 (getPath): Ditto.
2730 (getPreferredSize): Call getPreferredMenuItemSize().
2731 (getPreferredItemSize): Moved code from getPreferredSize to here.
2732 (installListeners): Install MouseMotionListeners.
2733 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
2734 if mouse wasn't released in the bounds of this menu item.
2735 (MenuDragMouseHandler): Implemented.
2736 * javax/swing/plaf/basic/BasicMenuUI.java:
2737 (installListeners): Install MouseMotionListener and
2738 MenuDrageMouseListener.
2739 (MenuDragMouseHandler): Implemented.
2740 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2741 (uninstallListeners): Implemented.
2742
2743 2004-07-21 Michael Koch <konqueror@gmx.de>
2744
2745 * javax/swing/JCheckBox.java: Reformated.
2746 (JCheckBox): Fixed all constructors.
2747 (isBorderPaintedFlat): New method.
2748 (setBorderPaintedFlat): New method.
2749 * javax/swing/JEditorPane.java
2750 (createEditorKitForContentType): Made public.
2751 (scrollToReference): Likewise.
2752 * javax/swing/JTextArea.java
2753 (setLineWrap): Fire property change.
2754 * javax/swing/JToggleButton.java
2755 (JToggleButton): New constructor.
2756 (JToggleButton): Simplified.
2757 * javax/swing/text/AttributeSet.java
2758 (FontAttribute): Renamed from FontCharacterAttribute.
2759 * javax/swing/text/JTextComponent.java
2760 (KeyBinBinding): Added javadoc.
2761 (JTextComponent): Likewise.
2762 (getAccessibleContext): Fixed javadoc.
2763 * javax/swing/text/View.java
2764 (View): Added javadoc.
2765 * javax/swing/text/TabableView.java: New file.
2766 * Makefile.am: Added javax/swing/text/TabableView.java.
2767 * Makefile.in: Regenerated.
2768
2769 2004-07-21 Graydon Hoare <graydon@redhat.com>
2770
2771 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
2772 * gnu/java/awt/peer/gtk/GtkToolkit.java
2773 (GtkErrorImage): New helper class.
2774 (bufferedImageOrError): New helper method.
2775 (createImage): Use it.
2776
2777 2004-07-21 David Jee <djee@redhat.com>
2778
2779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2780 (setCaretPosition): Scroll the text view so the new caret position
2781 is visible on screen.
2782
2783 2004-07-21 David Jee <djee@redhat.com>
2784
2785 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
2786 (setBounds): Do not validate awtComponent here.
2787 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2788 (getPreferredSize): New method.
2789 * java/awt/ScrollPane.java
2790 (ScrollPane): Set default size to 100x100.
2791 (addNotify): If child is not a Panel, wrap it with a new Panel.
2792 (paramString): Implement.
2793
2794 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2795
2796 * javax/swing/JMenu.java:
2797 (setSelected): Display popup menu only if this menu
2798 is showing on the screen.
2799 * javax/swing/JPopupMenu.java:
2800 (processMouseEvent): Added comment.
2801 (processKeyEvent): Likewise.
2802 * javax/swing/MenuSelectionManager.java:
2803 (clearSelectedPath): Only fireStateChanged() after
2804 selected path was changed, not before.
2805 (setSelectedPath): Likewise.
2806 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2807 (paintMenuItem): Corrected position of menu item's
2808 icon.
2809 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2810 (installUI): Correct setDefaultLightWeightPopupEnabled call.
2811 (popupMenuCanceled): Reimplemented.
2812 (popupMenuWillBecomeVisible): Select first menu item by default
2813 when displaying free floating popup menus.
2814 (TopWindowListener): Reimplemented.
2815
2816 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2817
2818 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
2819 Panel from being painted twice when it is first shown.
2820
2821 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2822
2823 * java/awt/Window.java: Reverted changes from my
2824 previous patch for creating window without an owner.
2825 * javax/swing/SwingUtilities.java:
2826 (SwingUtilities.OwnerFrame): made static.
2827 (OwnerFrame.setVisible): New method. Overridden with
2828 empty implementation.
2829 (OwnerFrame.isShowing): New method. Ovverridden
2830 to return always true.
2831
2832 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2833
2834 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2835 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2836 (GtkComponentPeer): Remove temporary try/catch block.
2837 (setVisible): Call show and hide.
2838 (show): Make native.
2839 (hide): Likewise.
2840 (getArgs): Don't add "visible" argument.
2841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2842 (property_notify_predicate): Return Bool instead of int.
2843 (find_layout): New function.
2844 (connectJObject): Call find_layout.
2845 (connectSignals): Likewise.
2846 (moveLayout): Likewise.
2847 (gtkLayoutSetVisible): Likewise.
2848
2849 2004-07-21 Mark Wielaard <mark@klomp.org>
2850
2851 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
2852 on notifier object before calling notifyAll().
2853
2854 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2855
2856 * java/awt/Window.java: Changed constructors to use new
2857 method that is described below. Constructors call this
2858 methods only if newly created window should have an owner.
2859 (setWindowOwner): New method. Implementation for
2860 this method is moved from this(owner,configuration).
2861 * javax/swing/JWindow.java:
2862 (JWindow): Reimplement to use SwingUtilities.ownerFrame
2863 instead of owner.
2864 * javax/swing/SwingUtilities.java:
2865 (ownerFrame): Change type of this field to OwnerFrame.
2866 (getOwnerFrame): Changed to return object of type OwnerFrame.
2867 (SwingUtilities.OwnerFrame): New class. Represents owner
2868 of a Window that is not provided with one.
2869
2870 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2871
2872 * javax/swing/AbstractButton.java:
2873 (configurePropertiesFromAction): Set action command
2874 to button's text by default if action command is not
2875 explicitely specified.
2876 * javax/swing/JMenu.java: Remove unnecessary listener
2877 and methods relevant to it.
2878 (setSelected): Reimplemented.
2879 (menuSelectionChanged): Moved most part of implementation to
2880 setSelected() and call it instead.
2881 * javax/swing/JMenuItem.java:
2882 (init): Comment out statement that sets paint_border to false.
2883 (configurePropertiesFromAction): Do not set accelerator
2884 for JMenu.
2885 (menuSelectionChanged): Change selected index in the selection
2886 model of menu item's parent.
2887 * javax/swing/JPopupMenu.java:
2888 (remove): Set constraints.fill field to GridBagConstraints.BOTH
2889 instead of GridBagConstraints.HORIZONTAL.
2890 (insert): Likewise.
2891 (createActionChangeListener): Implemented.
2892 (setVisible): Correct location of HeavyWeightMenu and
2893 don't firePopupMenuCanceled().
2894 (menuSelectionChanged): Implemented.
2895 (ActionChangeListener): New Listener. Implemented.
2896 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2897 (BasicMenuBarUI.ContainerHandler): Implemented.
2898 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2899 (paintMenuItem): Uncommented out code that paints
2900 icon, now that icons are working properly.
2901 (PropertyChangeListener): Implemented.
2902 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2903 Added javadocs.
2904 (topWindowListener): New field.
2905 (Constructor): initialize topWindowListener.
2906 (BasicPopupMenuUI.TopWindowListener): Implemented.
2907 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
2908 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
2909 Implemented.
2910
2911 2004-07-21 Michael Koch <konqueror@gmx.de>
2912
2913 * javax/swing/plaf/basic/BasicButtonUI.java
2914 (paintFocus): Fixed method signature.
2915 (paintButtonPressed): Likewise.
2916 (paintButtonNormal): Likewise.
2917 (paintText): New method.
2918 * javax/swing/plaf/basic/BasicLabelUI.java
2919 (paint): Re-indented.
2920 * javax/swing/plaf/basic/BasicTextUI.java
2921 (installUI): Set parent textComponent to opaque.
2922 * javax/swing/text/DefaultHighlighter.java
2923 (checkPositions): New helper method.
2924 (addHighlight): Throws BadLocationException, check positions.
2925 (changeHighlight): Likewise.
2926 * javax/swing/text/EditorKit.java
2927 (EditorKit): Implements Serializable.
2928 * javax/swing/text/JTextComponent.java
2929 (getUI): Added javadoc.
2930 (setUI): Likewise.
2931 (upadteUI): Added javadoc, don't revalidate and repaint.
2932
2933 2004-07-21 David Jee <djee@redhat.com>
2934
2935 * java/awt/GridBagLayout.java
2936 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
2937 * javax/swing/AbstractButton.java
2938 (setText): Reindent.
2939 * javax/swing/RepaintManager.java
2940 (addInvalidComponent): Find the first ancestor that isValidateRoot().
2941
2942 2004-07-21 Michael Koch <konqueror@gmx.de>
2943
2944 * javax/swing/JFormattedTextField.java
2945 (value): New field.
2946 (JFormattedTextField): Implemented.
2947 (getValue): Likewise.
2948 (setValue): Likewise.
2949 * javax/swing/LookAndFeel.java
2950 (getSupportsWindowDecorations): New method.
2951 * javax/swing/UIDefaults.java:
2952 Use java.beans.PropertyChangeSupport instead of doing all ourself.
2953 (addPropertyChangeListener): Made public.
2954 (addResourceBundle): Likewise.
2955 (removeResourceBundle): Likewise.
2956 (setDefaultLocale): Likewise.
2957 * javax/swing/plaf/basic/BasicRootPaneUI.java
2958 (BasicRootPaneUI): Implements PropertyChangeListener.
2959 (propertyChange): New method.
2960 * javax/swing/plaf/basic/BasicTextUI.java
2961 (BasicHighlighter): New inner class.
2962 (createHighlighter): New method.
2963 * javax/swing/plaf/basic/BasicToolBarUI.java
2964 (DragWindow): Extends java.awt.Window.
2965 * javax/swing/text/JTextComponent.java
2966 (getDocument): Removed debug output.
2967 * javax/swing/plaf/basic/BasicTextFieldUI.java,
2968 javax/swing/text/DefaultHighlighter.java,
2969 javax/swing/text/FieldView.java,
2970 javax/swing/text/PlainView.java: New files.
2971 * Makefile.am: Added new files.
2972 * Makefile.in: Regenerated.
2973
2974 2004-07-21 Michael Koch <konqueror@gmx.de>
2975
2976 * javax/swing/JEditorPane.java
2977 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
2978 (createEditorKitForContentType): Likewise.
2979 * javax/swing/text/DefaultEditorKit.java
2980 (serialVersionUID): Added constant field.
2981 (EndOfLineStringPropery): Fixed typo.
2982 (DefaultEditorKit): New constructor.
2983 * javax/swing/text/Segment.java:
2984 Import java.text.CharacterIterator.
2985 * javax/swing/text/CharacterIterator.java,
2986 javax/swing/text/PlainEditorKit.java: Removed.
2987 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
2988 javax/swing/text/PlainEditorKit.java.
2989 * Makefile.in: Regenerated.
2990
2991 2004-07-21 Michael Koch <konqueror@gmx.de>
2992
2993 * javax/swing/JButton.java,
2994 javax/swing/text/DefaultEditorKit.java,
2995 javax/swing/text/EditorKit.java,
2996 javax/swing/text/Segment.java,
2997 javax/swing/text/StyledEditorKit.java:
2998 Reformatted.
2999
3000 2004-07-21 Michael Koch <konqueror@gmx.de>
3001
3002 * javax/swing/ImageIcon.java
3003 (file): Removed.
3004 (description): Renamed from descr.
3005 (ImageIcon): Added missing constructors.
3006 (setParent): Removed.
3007 (setImageObserver): New method.
3008 (getImageObserver): New method.
3009 (paintIcon): Handle observer = null.
3010 * javax/swing/JButton.java
3011 (removeNotify): Fixed javadoc.
3012 (updateUI): Simplified.
3013 * javax/swing/JRootPane.java
3014 (serialVersionUID): New constant field.
3015 * javax/swing/UIManager.java:
3016 Fixed javadocs all over.
3017 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3018 * javax/swing/text/AbstractDocument.java
3019 (createPosition): Throws BadLocationException.
3020 (getText): Likewise.
3021 (remove): Likewise.
3022 * javax/swing/text/ComponentView.java
3023 (modelToView): Likewise.
3024 * javax/swing/text/DefaultEditorKit.java:
3025 Made all public methods public.
3026 (read): Throws BadLocationException and IOException.
3027 (write): Likewise.
3028 * javax/swing/text/EditorKit.java:
3029 Made all public methods public.
3030 (serialVersionUID): New constant field.
3031 (clone): New method.
3032 (read): Throws BadLocationException and IOException.
3033 (write): Likewise.
3034 * javax/swing/text/Segment.java
3035 (array): Made public.
3036 (count): Likewise.
3037 (offset): Likewise.
3038 (Segment): New constructors.
3039 (clone): Reimplemented.
3040 * javax/swing/text/StyledEditorKit.java
3041 (serialVersionUID): New constant field.
3042
3043 2004-07-21 Graydon Hoare <graydon@redhat.com>
3044
3045 * java/awt/image/BufferedImage.java
3046 (getSource): Implement.
3047 * javax/swing/ImageIcon.java
3048 (ImageIcon): Implement ctor.
3049 * javax/swing/ScrollPaneLayout.java
3050 (preferredLayoutSize): Be more careful about nulls.
3051
3052 2004-07-21 Michael Koch <konqueror@gmx.de>
3053
3054 * javax/swing/text/AttributeSet.java
3055 (CharacterAttribute): New interface
3056 (ColorAttribute): Likewise.
3057 (FontCharacterAttribute): Likewise.
3058 (ParagraphAttribute): Likewise.
3059 * javax/swing/text/DefaultCaret.java
3060 (moveCaret): New method.
3061 (positionCaret): Likewise.
3062 (repaint): Made protected.
3063 * javax/swing/text/JTextComponent.java
3064 (KeyBinding): Made it static.
3065 * javax/swing/text/View.java
3066 (getContainer): Honor parent == null.
3067
3068 2004-07-21 Michael Koch <konqueror@gmx.de>
3069
3070 * javax/swing/text/AbstractDocument.java:
3071 Reformatted.
3072
3073 2004-07-21 Michael Koch <konqueror@gmx.de>
3074
3075 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3076 Import javax.swing.UIManager explicitely.
3077 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3078 (ScrollingButton): Made it static.
3079
3080 2004-07-21 Michael Koch <konqueror@gmx.de>
3081
3082 * javax/swing/UIDefaults.java
3083 (ActiveValue): Made public.
3084 (LazyValue): Likewise.
3085 * javax/swing/plaf/basic/BasicTextUI.java
3086 (RootView): Reintroduced.
3087 (view): Removed.
3088 (rootView): New field.
3089 (installUI): Create document if needed, initialize rootView.
3090 (uninstallUI): Hanle rootView.
3091 (paint): Likewise.
3092 (getRootView): Likewise.
3093 (setView): Likewise.
3094 * javax/swing/text/DefaultCaret.java:
3095 Renamed all "evt" variables to "event".
3096
3097 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3098
3099 * libgcj.spec.in: Add -l-java-util-logging.
3100
3101 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3102
3103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3104 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3105 gtk-xft-dpi can no calculate the right value.
3106 (dpi_changed_cb): Mark *pspec as unsused.
3107
3108 2004-07-21 David Jee <djee@redhat.com>
3109
3110 * java/awt/Component.java
3111 (move): Delegate to setBounds().
3112 (resize): Likewise.
3113 (reshape): Fix so it repaints parent and self only when necessary.
3114
3115 2004-07-21 David Jee <djee@redhat.com>
3116
3117 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3118 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3119 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3120 (setVisible): Likewise.
3121 (show): Likewise.
3122 (hide): Likewise.
3123 (getArgs): Likewise.
3124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3125 (property_notify_predicate): Likewise.
3126 (find_layout): Likewise.
3127 (connectJObject): Likewise.
3128 (connectSignals): Likewise.
3129 (moveLayout): Likewise.
3130 (gtkLayoutSetVisible): Likewise.
3131
3132 2004-07-21 Graydon Hoare <graydon@redhat.com>
3133
3134 * Makefile.am
3135 (jv_convert_LDADD):
3136 (gij_LDADD):
3137 (rmic_LDADD):
3138 (rmiregistry_LDADD): Add lib-java-util-logging.la
3139 * Makefile.in: Regenerate.
3140
3141 2004-07-21 Michael Koch <konqueror@gmx.de>
3142
3143 * javax/swing/text/AbstractDocument.java
3144 (replace): Dont use protected method of java.util.Vector directly.
3145
3146 2004-07-21 Michael Koch <konqueror@gmx.de>
3147
3148 * javax/swing/plaf/basic/BasicTextUI.java
3149 (installUI): Call specialized install methods.
3150 (installDefaults): New method.
3151 (installListeners): Likewise.
3152 (installKeyboardActions): Likewise.
3153 (uninstallUI): Likewise.
3154 (uninstallDefaults): New method.
3155 (uninstallListeners): Likewise.
3156 (uninstallKeyboardActions): Likewise.
3157 (getPropertyPrefix): New abstract method.
3158 (paint): Made final, just call paintSafely().
3159 (paintSavely): New method.
3160 (paintBackground): Likewise.
3161 (getVisibleEditorRect): Likewise.
3162 * javax/swing/text/LayeredHighlighter.java,
3163 javax/swing/text/TabExpander.java: New files.
3164 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3165 and javax/swing/text/TabExpander.java.
3166 * Makefile.in: Regenerated.
3167
3168 2004-07-21 Michael Koch <konqueror@gmx.de>
3169
3170 * javax/swing/plaf/basic/BasicTextUI.java
3171 (BasicTextUI): Made abstract.
3172 (BasicCaret): New inner class.
3173 (view): Don't explicitely initialize with "null".
3174 (textComponent): New field.
3175 (textColor): Removed.
3176 (disabledTextColor): Removed.
3177 (normalBackgroundColor): Removed.
3178 (RootView): Removed commented out inner class.
3179 (createUI): Removed.
3180 (createCaret): New method.
3181 (getComponent): Likewise.
3182 (installUI): Initialize textComponent only.
3183 (getPreferredSize): Use installed JTextComponent.
3184 (setView): New method.
3185 (create): Likewise.
3186 * javax/swing/text/JTextComponent.java
3187 (highlighter): New field.
3188 (caretColor): Likewise.
3189 (disabledTextColor): Likewise.
3190 (seletedTextColor): Likewise.
3191 (selectionColor): Likewise.
3192 (setUI): New method.
3193 (getCaretColor): Likewise.
3194 (setCaretColor): Likewise.
3195 (getDisabledColor): Likewise.
3196 (setDisabledColor): Likewise.
3197 (getSelectedTextColor): Likewise.
3198 (setSelectedTextColor): Likewise.
3199 (getSelectionColor): Likewise.
3200 (setSelectionColor): Likewise.
3201 (getHighlighter): Likewise.
3202 (setHighlighter): Likewise.
3203 (replaceSelection): Likewise.
3204
3205 2004-07-21 Michael Koch <konqueror@gmx.de>
3206
3207 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3208 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3209 * javax/swing/plaf/basic/BasicToolBarUI.java
3210 (BasicToolBarUI): Implements SwingConstants.
3211
3212 2004-07-21 Michael Koch <konqueror@gmx.de>
3213
3214 * javax/swing/JPopupMenu.java: Removed CVS tags.
3215 * javax/swing/UIDefaults.java: Reformatted.
3216 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3217 Explicitely import used classes.
3218
3219 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3220
3221 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3222 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3223 (GtkComponentPeer): Remove temporary try/catch block.
3224 (setVisible): Call show and hide.
3225 (show): Make native.
3226 (hide): Likewise.
3227 (getArgs): Don't add "visible" argument.
3228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3229 (property_notify_predicate): Return Bool instead of int.
3230 (find_layout): New function.
3231 (connectJObject): Call find_layout.
3232 (connectSignals): Likewise.
3233 (moveLayout): Likewise.
3234 (gtkLayoutSetVisible): Likewise.
3235
3236 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3237
3238 * javax/swing/AbstractButton.java:
3239 (setDisplayedMnemonicIndex): Check if button
3240 text is not null before checking its length.
3241 * javax/swing/JMenuItem.java:
3242 (processMouseEvent): Disarm menu item if mouse has
3243 exited it.
3244 * javax/swing/plaf/basic/BasicMenuUI.java:
3245 (MouseInputHandler.mouseEntered): Do not raise
3246 popup menu if this menu is already selected.
3247 (MouseInputHandler.mousePressed): Do not fire
3248 MenuEvents.
3249 (MenuHandler): Implemented.
3250
3251 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3252
3253 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3254 (getSelectedObjects): Implemented.
3255 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3256 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3257 Added javadoc for few methods.
3258 (processMouseEvent): Made public.
3259 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3260 (processMouseEvent): Likewise.
3261
3262 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3263
3264 * javax/swing/AbstractButton.java:
3265 (init): Set display mnemonic index to -1.
3266 (setMnemonic(char)): Use setMnemonic(int).
3267 (setMnemonic(int)): Set display mnemonic index.
3268 (getDisplayedMnemonicIndex): Change method signature
3269 by removing 'index' parameter.
3270 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3271 Added default for Menu.selectionBackground.
3272 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3273 (paintMenuItem): Change background color of the selected
3274 menu item.
3275 (paintText): Paint differently when menu item is disabled.
3276 Also paint mnemonic if it appears in the menu item's label.
3277 (paintAccelerator): Paint accelerator differently
3278 if menu item is disabled.
3279 * javax/swing/plaf/basic/BasicMenuUI.java:
3280 (installDefaults): Install defaults for
3281 selectionForeground and selectionBackground.
3282 (uninstallDefaults): Uninstall defauls for
3283 selectionForeground and selectionBackground.
3284
3285 2004-07-21 Michael Koch <konqueror@gmx.de>
3286
3287 * javax/swing/text/AbstractDocument.java
3288 (BranchElement): Implemented.
3289 (LeafElement): Implemented.
3290 * javax/swing/text/DefaultCaret.java:
3291 Import used classes.
3292 (serialVersionUID): New constant.
3293 * javax/swing/text/JTextComponent.java
3294 (AccessibleJTextComponent): Removed dead declaration.
3295 (caretPos): Removed.
3296 (setCaret): New method.
3297 * javax/swing/text/PlainDocument.java
3298 (rootElement): New field.
3299 (PlainDocument): Initialize rootElement.
3300 (createDefaultRoot): New method.
3301 (getDefaultRootElement): Implemented.
3302 * javax/swing/text/View.java: Reformatted.
3303 * javax/swing/text/ViewFactory.java
3304 (create): Added javadoc.
3305
3306 2004-07-21 Michael Koch <konqueror@gmx.de>
3307
3308 * javax/swing/ToolTipManager.java: Reformatted.
3309
3310 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3311
3312 * javax/swing/AbstractButton.java
3313 (changeEvent): New field.
3314 (fireItemStateChanged): Change source of the event
3315 to 'this' before firing it to button listeners.
3316 (fireActionPerformed): Likewise.
3317 (fireStateChanged): Likewise.
3318 (createActionListener): Do not set source
3319 of the event to AbstractButton.
3320 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3321 (ContainerHandler.componentAdded): Removed
3322 print out statement.
3323 (ContainerHandler.componentRemoved): Likewise.
3324
3325 2004-07-21 Michael Koch <konqueror@gmx.de>
3326
3327 * javax/swing/text/Highlighter.java: New file.
3328 * Makefile.am: Added javax/swing/text/Highlighter.java.
3329 * Makefile.in: Regenerated.
3330
3331 2004-07-21 Michael Koch <konqueror@gmx.de>
3332
3333 * javax/swing/ToolTipManager.java
3334 (stillInsideTimerAction): Fixed constructor arguments.
3335 (outsideTimerAction): Likewise.
3336 (insideTimerAction): Likewise.
3337
3338 2004-07-21 Michael Koch <konqueror@gmx.de>
3339
3340 * javax/swing/JButton.java: Reformatted.
3341 * javax/swing/JFormattedTextField.java
3342 (getUIClassID): Implemented.
3343 * javax/swing/JRootPane.java
3344 (serialVersionUID): New constant.
3345 * javax/swing/JTextField.java
3346 (align): New field.
3347 (JTextField): Simplified.
3348 (getUIClassID): New method.
3349 (getActionListeners): Added @since tag.
3350 (setColumns): Invalidate layout and repaint.
3351 (getHorizontalAlignment): New method.
3352 (setHorizontalAlignment): New method.
3353 (selectAll): Removed.
3354 * javax/swing/SwingUtilities.java
3355 (getAncestorOfClass): Removed redundant @see tag.
3356 (isLeftMouseButton): Fixed implementation.
3357 (isMiddleMouseButton): Likewise.
3358 (isRightMouseButton): Likewise.
3359 * javax/swing/text/AbstractDocument.java
3360 (AttributeContext.addAttribute): New method.
3361 (AttributeContext.addAttributes): New method.
3362 (AttributeContext.getEmptySet): New method.
3363 (AttributeContext.reclaim): New method.
3364 (AttributeContext.removeAttribute): New method.
3365 (AttributeContext.removeAttributes): New method.
3366 * javax/swing/text/Document.java
3367 (createPosition): Throws BadLocationException.
3368 (getText): Likewise.
3369 (remove): Likewise.
3370 * javax/swing/text/JTextComponent.java
3371 (getText): Return null if no document is set. Catch
3372 BadLocationException.
3373 (getUI): Return ui.
3374 (updateUI): Simplified.
3375
3376 2004-07-21 Michael Koch <konqueror@gmx.de>
3377
3378 * javax/swing/JButton.java
3379 (removeNotify): Fixed javadoc.
3380 (updateUI): Simplified.
3381
3382 2004-07-21 David Jee <djee@redhat.com>
3383
3384 * gnu/java/awt/image/ImageDecoder.java
3385 (startProduction): Only add consumer if it's not added yet.
3386 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3387 (GdkPixbufDecoder): Don't call initState() here.
3388 (produce): Call initState() here, to ensure area_prepared and
3389 area_updated signals are properly connected.
3390 * gnu/java/awt/peer/gtk/GtkImage.java
3391 (setColorModel): Use equals() to compare ColorModel objects.
3392 (setPixels): Likewise.
3393 * java/awt/image/ColorModel.java
3394 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3395 * java/awt/image/RGBImageFilter.java
3396 (setColorModel): Set consumer's color model.
3397 (setPixels): Use equals() to compare ColorModel objects.
3398
3399 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3400
3401 * java/net/URLConnection.java (position): New field.
3402 (dateFormat1, dateFormat2, dateFormat3): Removed.
3403 (dateFormats): New field.
3404 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3405 each time instead of re-allocating.
3406 (initializeDateFormats): Initialize 'dateFormats'.
3407
3408 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3409
3410 PR libgcj/16591
3411 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3412 is defined.
3413
3414 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3415
3416 * java/net/Socket.java (getImpl): Now private. Remove comment.
3417
3418 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3419
3420 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3421 of chained Writer when calling super-constructor.
3422 * java/io/FilterWriter.java (FilterWriter): Likewise.
3423 * java/io/PrintWriter.java (PrintWriter): Likewise.
3424
3425 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3426
3427 * prims.cc (process_gcj_properties): Don't increment i within LHS
3428 of assignment.
3429
3430 2004-07-19 Per Bothner <per@bothner.com>
3431
3432 Print -verbose:message on "loading", not initialization.
3433 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3434 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3435 gcj::verbose_class_flag.
3436 * java/lang/natClass.cc (initializeClass): Don't print message here.
3437 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3438 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3439 (_Jv_PrepareCompiledClass): Likewise.
3440
3441 2004-07-18 Matthias Klose <doko@debian.org>
3442
3443 * configure.in: Substitute target_noncanonical.
3444 * configure: Regenerate
3445
3446 2004-07-17 Michael Koch <konqueror@gmx.de>
3447
3448 * java/lang/String.java: Fixed javadocs all over.
3449
3450 2004-07-17 Mark Wielaard <mark@klomp.org>
3451
3452 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3453 when size is smaller.
3454 * java/io/RandomAccessFile.java (setLength): Use truncate for
3455 shrinking the file and seek plus write for expanding the file.
3456
3457 2004-07-17 Michael Koch <konqueror@gmx.de>
3458
3459 * gnu/java/nio/channels/natFileChannelPosix.cc
3460 (implTruncate): Always save current position. Only reposition file
3461 pointer to where we started if not beyond new lenght. Reposition file
3462 pointer to file length if it points beyond the end of file.
3463
3464 2004-07-17 Mark Wielaard <mark@klomp.org>
3465
3466 * javax/swing/Box.java: Put FIXME comment above class declaration.
3467 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3468 * javax/swing/JCheckBox.java: Likewise.
3469 * javax/swing/JDialog.java: Likewise.
3470 * javax/swing/JRadioButton.java: Likewise.
3471 * javax/swing/JToggleButton.java: Likewise.
3472 * javax/swing/UIManager.java: Likewise.
3473 * javax/swing/border/TitledBorder.java: Likewise.
3474 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3475 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3476 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3477 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3478 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3479 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3480 * javax/swing/text/JTextComponent.java: Likewise.
3481
3482 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3483
3484 * java/net/DatagramPacket.java (setAddress): Removed check for
3485 null address.
3486
3487 2004-07-17 Michael Koch <konqueror@gmx.de>
3488
3489 * java/net/DatagramSocket.java
3490 (getLocalAddress): Check if socket is bound or not.
3491 * java/net/Socket.java
3492 (getLocalAddrss): Check if socket is bound or not.
3493 (getPort): Return -1 when not connected. Dont check getImpl() for
3494 null.
3495 (setReuseAddress): Check if socket is closed.
3496 (isConnected): Check if getImpl() returns null.
3497
3498 2004-07-17 Mark Wielaard <mark@klomp.org>
3499
3500 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3501 on notifier object before calling notifyAll().
3502
3503 2004-07-17 Michael Koch <konqueror@gmx.de>
3504
3505 * gnu/java/nio/channels/FileChannelImpl.java
3506 (finalize): Added javadoc.
3507
3508 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
3509
3510 * java/text/CollationElementIterator.java
3511 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3512 (setText): Use ArrayList instead of Vector.
3513
3514 2004-07-17 Michael Koch <konqueror@gmx.de>
3515
3516 * java/nio/ByteOrder.java
3517 (static): Removed. Not needed.
3518 Thanks to Patrick Reali for noticing.
3519 * java/nio/charset/CharsetDecoder.java
3520 (decode): Fix for classpath bug #9177: Reset state before flipping.
3521
3522 2004-07-17 Michael Koch <konqueror@gmx.de>
3523
3524 * java/security/Security.java: Fixed javadocs all over.
3525
3526 2004-07-17 Michael Koch <konqueror@gmx.de>
3527
3528 * gnu/java/awt/EmbeddedWindow.java
3529 (static): Removed.
3530 (addNotify): Set peer via reflection.
3531 (setWindowPeer): Removed.
3532 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3533 * Makefile.am (nat_source_files):
3534 Removed gnu/java/awt/natEmbeddedWindow.cc.
3535 * Makefile.in: Regenerated.
3536
3537 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
3538
3539 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3540 assignment.
3541 * configure: Regenerated.
3542
3543 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
3544
3545 * configure.in: Use build_noncanonical rather than build_alias.
3546 * configure: Rebuild.
3547
3548 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3549 by logic refactoring. Move default definition of NATIVE closer
3550 to first alternate definition.
3551 * configure: Regenerate.
3552
3553 * Makefile.am: Set ZIP and GCJH directly using autoconf.
3554 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3555 gcj/Makefile.in: Regenerate.
3556 * configure.in: Set ZIP and GCJH. Remove redundant condition
3557 in AM_CONDITIONAL(NATIVE,...)
3558 * configure: Regenerate.
3559
3560 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
3561
3562 * configure.in: Use target_noncanonical rather than
3563 target_alias for forward-compatibility with autoconf 2.59.
3564 * configure: Regenerate.
3565 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3566 testsuite/Makefile.am: Substitute target_noncanonical.
3567 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3568 testsuite/Makefile.in: Regenerate.
3569
3570 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3571 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3572 * acinclude.m4: Include acx.m4.
3573 * aclocal.m4: Regenerate.
3574 * configure: Regenerate.
3575
3576 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
3577
3578 PR libgcj/16574
3579 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3580 (decimalFormat): New static variable.
3581 (sbuf): Likewise.
3582 (getTime): New. Override Date.getTime().
3583 (toString): Synchronize. Use decimalFormat to format nanos value
3584 correctly. Truncate extra zeros.
3585 (before): Compare getNanos() only if getTime() is equal.
3586 (after): Likewise.
3587
3588 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
3589
3590 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3591 * configure.in: ...here.
3592 * aclocal.m4: Regenerate.
3593 * configure: Regenerate.
3594
3595 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3596 * configure: Rebuilt with autoconf 2.13.
3597 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3598 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3599
3600 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
3601
3602 PR libgcj/16204
3603 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3604 large file support.
3605 * Makefile.in: Rebuilt.
3606 * testsuite/libjava.lang/LargeFile.java: New test case.
3607 * testsuite/libjava.lang/LargeFile.out: New file.
3608
3609 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3610
3611 * java/beans/EventHandler.java: Remove debugging statements.
3612
3613 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
3614
3615 * java/beans/EventHandler.java: New file.
3616 * Makefile.am (awt_java_source_files): Add EventHandler.java.
3617 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3618 testsuite/Makefile.in: Regenerate.
3619
3620 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
3621
3622 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3623 flag to the gcj_setup.
3624 (gcj_jacks_run): Check tclsh version and launch jacks directly with
3625 the tclsh.
3626 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3627 deprecation flag change. 58 XFAILS removed.
3628
3629 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
3630
3631 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
3632 -fno-use-divide-subroutine.
3633 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3634 (HANDLE_FPE): Define.
3635 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3636 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3637 (HANDLE_DIVIDE_OVERFLOW): Define.
3638
3639 2004-07-14 Michael Koch <konqueror@gmx.de>
3640 Matthias Klose <doko@debian.org>
3641
3642 * java/awt/im/InputContext.java: Initialize in, line.
3643
3644 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
3645
3646 * interpret.cc (run): Correctly access libffi return values of
3647 integral smaller-than-int type; these are implicitly promoted.
3648
3649 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
3650
3651 PR libgcj/7587
3652 * interpret.cc (compile_mutex): New.
3653 (_Jv_InitInterpreter): New. Initialize compile_mutex.
3654 (run): Lock compile_mutex before calling compile() if compilation is
3655 required.
3656 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3657 * include/java-interp.h (_Jv_InitInterpreter): Declare.
3658
3659 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
3660
3661 PR libgcj/15713
3662 * include/jvm.h (_Jv_value): New union type.
3663 * gcj/field.h (_Jv_Field): Add new _addr union field variants
3664 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
3665 union members.
3666
3667 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
3668
3669 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3670 * gnu/awt/xlib/XOffScreenImage.java
3671 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3672 constructor argument. Add constructor using ImageProducer.
3673 (getSource): Implement.
3674 (imageComplete): New method.
3675 (setColorModel): New method.
3676 (setDimensions): New method.
3677 (setHints): New method.
3678 (setPixels): New method.
3679 (setProperties): New method.
3680 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
3681 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3682
3683 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
3684
3685 PR libgcj/16478
3686 * prims.cc (_Jv_CreateJavaVM): Fix comment.
3687 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
3688 (finalizerReady): Now native.
3689 (run): Likewise.
3690 (runFinalizers): Removed.
3691 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
3692 a primitive lock, and don't hold it while running the finalizers.
3693 (runFinalizers): Implement. Don't aquire any Java lock.
3694 (finalizerReady): Use lock primitives to signal finalizer thread.
3695
3696 2004-07-11 Mark Wielaard <mark@klomp.org>
3697
3698 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
3699 * java/net/URLStreamHandler.java (parseURL): When url file part
3700 doesn't contain a '/' just ignore context.
3701
3702 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
3703
3704 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
3705 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3706 (MAKE_THROW_FRAME): Do not modify PSW address.
3707 (INIT_SEGV): Install SIGINFO-style signal handler.
3708 (INIT_FPE): Likewise.
3709
3710 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3711
3712 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
3713 status. 21 xfail's removed, 1 added.
3714
3715 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
3716
3717 * gcj/javaprims.h: Regenerate CNI namespace definitions.
3718
3719 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
3720
3721 * java/text/MessageFormat.java
3722 (formatInternal): Append "{n}" if argument n is unavailable.
3723 (format(Object, StringBuffer, FieldPosition)): This
3724 should be equivalent to format(Object[],
3725 StringBuffer, FieldPosition).
3726
3727 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3728
3729 * java.util.Calendar.java (cache): New private static field. Cached
3730 mappings of locales->calendar classes.
3731 (ctorArgTypes): New private static field. Singleton argument for
3732 calendar class constructor lookup.
3733 (getInstance): Cache Locale->Calendar class mappings using HashMap.
3734 Optimize by bypassing reflection instantiation for the
3735 GregorianCalendar case.
3736
3737 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3738
3739 * java/util/Calendar.java: Use getSystemClassLoader as argument for
3740 ResourceBundle.getBundle() calls.
3741 * java/util/GregorianCalendar.java: Likewise.
3742 * java/util/Currency.java: Likewise.
3743 * java/text/BreakIterator.java: Likewise.
3744 * java/text/Collator.java: Likewise.
3745 * java/text/DateFormat.java: Likewise.
3746 * java/text/DateFormatSymbols.java: Likewise.
3747 * java/text/DecimalFormatSymbols.java: Likewise.
3748 * java/text/NumberFormat.java: Likewise.
3749 * java/awt/Window.java: Likewise.
3750
3751 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3752
3753 * java/util/ResourceBundle.java (bundleCache): Renamed from
3754 resourceBundleCache. Update comments.
3755 (getObject): Don't catch MissingResourceException.
3756 (getBundle(String)): Remove 'final'. Use system classloader if
3757 getCallingClassLoader returned null.
3758 (getBundle(String, Locale)): Likewise.
3759 (BundleKey): New private class. HashMap key for bundle cache lookup.
3760 (lookupKey): New. Singleton instance of BundleKey.
3761 (nullEntry): New. Cache entry to represent failed lookups.
3762 (getBundle(String, Locale, ClassLoader)): Re-written to use new
3763 caching strategy, no-allocation lookup, and new tryBundle methods.
3764 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
3765 name using given classloader.
3766 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
3767 baseName for given Locale and attempt to load bundle.
3768
3769 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3770
3771 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
3772 illegal protected method calls.
3773
3774 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
3775
3776 Fix or remove some bogus test cases.
3777 * testsuite/libjava.compile/pr10459_2.java: Removed.
3778 * testsuite/libjava.compile/pr10459.java: Test using its own method,
3779 not Object.clone().
3780 * testsuite/libjava.compile/inner_data.java: Test against its own
3781 protected field.
3782
3783 2004-07-09 Michael Koch <konqueror@gmx.de>
3784
3785 * scripts/unicode-muncher.pl: Updated to version 2.1
3786 from GNU classpath. Added some clarifications on where to find the
3787 needed files from www.unicode.org.
3788 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
3789 gnu/gcj/convert/UnicodeData-3.0.0.txt:
3790 Removed, these can directly be downloaded from www.unicode.org if
3791 needed.
3792 * gnu/java/lang/CharData.java: Regenerated.
3793 * include/java-chartables.h: Regenerated.
3794 * Makefile.am (ordinary_java_source_files):
3795 Removed gnu/java/lang/CharData.java.
3796 * Makefile.in: Regenerated.
3797
3798 2004-07-09 Michael Koch <konqueror@gmx.de>
3799
3800 * java/security/AccessControlContext.java,
3801 java/security/SecureClassLoader.java:
3802 Fixed javadocs.
3803
3804 2004-07-09 Michael Koch <konqueror@gmx.de>
3805
3806 * java/io/ObjectInputStream.java (readFields): Use long datatype
3807 when shifting byte values more then 24 bits left.
3808
3809 2004-07-09 Michael Koch <konqueror@gmx.de>
3810
3811 * java/util/zip/DeflaterOutputStream.java,
3812 java/util/zip/GZIPInputStream.java,
3813 java/util/zip/GZIPOutputStream.java,
3814 java/util/zip/InflaterInputStream.java:
3815 Reformatted. Added javadocs. Reordered all stuff.
3816 Renamed variables to be more clear.
3817
3818 2004-07-09 Michael Koch <konqueror@gmx.de>
3819
3820 * javax/imageio/IIOException.java,
3821 javax/imageio/event/IIOReadProgressListener.java,
3822 javax/imageio/event/IIOReadUpdateListener.java,
3823 javax/imageio/event/IIOReadWarningListener.java,
3824 javax/imageio/event/IIOWriteProgressListener.java,
3825 javax/imageio/event/IIOWriteWarningListener.java:
3826 New files.
3827 * Makefile.am: Added new files.
3828 * Makefile.in: Regenerated.
3829
3830 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
3831
3832 * java/text/RuleBasedCollator.java
3833 (mergeRules): Use ArrayList instead of Vector.
3834 (subParseString): likewise.
3835 (parseString): likewise.
3836 (buildCollationVector): likewise.
3837 (getCollationKey): likewise.
3838
3839 2004-07-09 Dalibor Topic <robilad@kaffe.org>
3840
3841 * java/text/DateFormat.java (parse):
3842 Improved javadoc. Improved exception message.
3843
3844 2004-07-09 Mark Wielaard <mark@klomp.org>
3845
3846 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
3847 interrupted() method to clear interupt flag of our Thread.
3848
3849 2004-07-09 Dalibor Topic <robilad@kaffe.org>
3850
3851 * java/nio/Buffer.java,
3852 java/nio/ByteBuffer.java,
3853 java/nio/ByteBufferHelper.java,
3854 java/nio/ByteBufferImpl.java,
3855 java/nio/CharBuffer.java,
3856 java/nio/CharBufferImpl.java,
3857 java/nio/CharViewBufferImpl.java,
3858 java/nio/DirectByteBufferImpl.java,
3859 java/nio/DoubleBuffer.java,
3860 java/nio/DoubleBufferImpl.java,
3861 java/nio/DoubleViewBufferImpl.java,
3862 java/nio/FloatBuffer.java,
3863 java/nio/FloatBufferImpl.java,
3864 java/nio/FloatViewBufferImpl.java,
3865 java/nio/IntBuffer.java,
3866 java/nio/IntBufferImpl.java,
3867 java/nio/IntViewBufferImpl.java,
3868 java/nio/LongBuffer.java,
3869 java/nio/LongBufferImpl.java,
3870 java/nio/LongViewBufferImpl.java,
3871 java/nio/MappedByteBufferImpl.java,
3872 java/nio/ShortBuffer.java,
3873 java/nio/ShortBufferImpl.java,
3874 java/nio/ShortViewBufferImpl.java:
3875 Fixed javadocs all over. Improved input error
3876 checking.
3877
3878 * java/nio/Buffer.java
3879 (checkForUnderflow, checkForOverflow, checkIndex,
3880 checkIfReadOnly, checkArraySize): New helper methods
3881 for error checking.
3882
3883 * java/nio/ByteBufferHelper.java
3884 (checkRemainingForRead, checkRemainingForWrite,
3885 checkAvailableForRead, checkAvailableForWrite): Removed
3886 no longer needed methods.
3887
3888 2004-07-09 Michael Koch <konqueror@gmx.de>
3889
3890 * gnu/regexp/CharIndexedInputStream.java:
3891 Reordered imports to match classpath.
3892
3893 2004-07-09 Michael Koch <konqueror@gmx.de>
3894
3895 * gnu/java/awt/EmbeddedWindow.java:
3896 Load native library for setWindowPeer method.
3897
3898 2004-07-08 Randolph Chung <tausq@debian.org>
3899
3900 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
3901 * configure: Regenerate.
3902 * configure.host: Set can_unwind_signal for hppa*-linux.
3903 * include/pa-signal.h: New file.
3904
3905 2004-07-07 Per Bothner <per@bothner.com>
3906
3907 * Makefile.am: Add rules to build libgij from just gij.cc.
3908
3909 * include/jvm.h (namespace jcj): Declare verbose_class_flag
3910 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
3911 (initializeClass): If verbose_class_flag, print message.
3912 * gij.cc (main): Handle -verbose:class flag.
3913
3914 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
3915
3916 * configure.host: Enable hash synchronization on Darwin.
3917 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
3918 ';', since this is a comment on Darwin.
3919 (compare_and_swap_release): Likewise.
3920
3921 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
3922
3923 * java/net/URLStreamHandler.java (parseURL): Canonicalize
3924 file portion of URL in addition to spec for file: protocol.
3925
3926 2004-07-05 Anthony Green <green@redhat.com>
3927
3928 * java/io/File.java (toURI): Merge from Classpath.
3929
3930 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
3931
3932 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
3933 before passing to URL constructor. Rethrow any MalformedURLException
3934 as a RuntimeException. Catch MalformedURLException specifically, not
3935 all exceptions.
3936
3937 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
3938
3939 * java/util/Locale.java (readObject): Intern strings read from object
3940 stream.
3941
3942 2004-07-04 Michael Koch <konqueror@gmx.de>
3943
3944 * gnu/gcj/runtime/FirstThread.java,
3945 gnu/gcj/runtime/natFirstThread.cc: Removed.
3946 * gnu/java/lang/MainThread.java,
3947 gnu/java/lang/natMainThread.cc: New files.
3948 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
3949 * Makefile.am: Added new files and removed deleted ones.
3950 * Makefile.in: Regenerated.
3951
3952 2004-07-03 Mark Wielaard <mark@klomp.org>
3953 Anthony Green <green@redhat.com>
3954
3955 * java/net/URL.java (getFile): Clarify return value doc.
3956 (getPath): Return null if file is empty - not empty String.
3957 (set): Convert protocol to lower case before doing anything.
3958 Only change the protocol handler if it's different.
3959
3960 2004-07-03 Anthony Green <green@redhat.com>
3961
3962 * java/net/URL.java (URL): Convert protocol to lower case before
3963 doing anything, so we getURLStreamHandler() with the proper value.
3964
3965 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
3966
3967 * java/util/Locale.java (hashcode): Made transient.
3968 (hashCode): No longer synchronized.
3969 (equals): Remove comment.
3970 (writeObject): No longer synchronized. Implement using writeObject
3971 calls instead of tweaking hashCode field. Update doc.
3972 (readObject): Implement using readObject calls.
3973
3974 2004-06-26 Geoffrey Keating <geoffk@apple.com>
3975 Andreas Tobler <a.tobler@schweiz.ch>
3976
3977 * configure.host (powerpc-*-darwin*): New case, define
3978 can_unwind_signal.
3979 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
3980 * configure: Regenerate.
3981 * include/darwin-signal.h: New.
3982
3983 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
3984
3985 * java/beans/Statement.java (doExecute): Fix formatting.
3986
3987 2004-06-29 Per Bothner <per@bothner.com>
3988
3989 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
3990 etc etc): Remove needless parenthesis, which causes __stdcall__
3991 attribute on MinGW to get ignored.
3992
3993 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
3994
3995 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
3996
3997 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
3998
3999 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4000
4001 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4002
4003 * java/beans/Expression.java: New file.
4004 * java/beans/Statement.java: New file.
4005 * Makefile.am: Added new files.
4006 * Makefile.in: Re-generate.
4007
4008 2004-06-27 Mark Wielaard <mark@klomp.org>
4009
4010 * java/io/FilePermission.java (usingPerms): Removed.
4011 (actionsString): Made final.
4012 (cachePerms): Renamed to checkPerms.
4013 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4014 on action String.
4015 (FilePermission): Check arguments, call checkPerms().
4016 (equals): Remove cachePerms() call.
4017 (implies): Likewise.
4018
4019 2004-06-27 Mark Wielaard <mark@klomp.org>
4020
4021 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4022 final field.
4023 (sendRequest): Use new field in user-agent http agent.
4024
4025 2004-06-27 Mark Wielaard <mark@klomp.org>
4026
4027 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4028 when argument is null.
4029
4030 2004-06-26 Mark Wielaard <mark@klomp.org>
4031
4032 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4033 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4034 GetMethodID call.
4035 (cancel_clicked): Likewise.
4036
4037 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4038
4039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4040 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4041 can not calculate the right value.
4042 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4043
4044 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4045
4046 * testsuite/libjava.jacks/jacks.xfail: Remove
4047 15.9.1-qualified-concrete-20.
4048
4049 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4050
4051 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4052 encoding name to iconv.
4053 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4054
4055 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4056
4057 PR libgcj/16134:
4058 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4059 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4060 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4061
4062 2004-06-21 Andrew Haley <aph@redhat.com>
4063
4064 * java/io/ObjectOutputStream.java: Add DEBUG statements
4065 everywhere.
4066 (dumpElementln): New method.
4067 (depth): New field.
4068 * java/io/ObjectInputStream.java
4069 (currentClassLoader): Make native.
4070 (callersClassLoader): New field.
4071 (depth): New field.
4072 (readObject): ENDBLOCKDATA is generated if the class has a write
4073 method, not if it has a read method.
4074 (readObject): Save and restore this.currentObject and
4075 this.currentObjectStreamClass around calls to callReadMethod().
4076 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4077 method.
4078
4079 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4080
4081 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4082 darwin.
4083
4084 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4085
4086 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4087 if desired, before the default class loader is initialised.
4088 Call INIT_SEGV only if HANDLE_SEGV is defined.
4089
4090 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4091
4092 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4093 directory only if it actually exists.
4094
4095 2004-06-18 Graydon Hoare <graydon@redhat.com>
4096
4097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4098 Fix up non-ansi comments.
4099
4100 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4101
4102 * javax/swing/text/AbstractDocument.java: Adding missing import
4103 for javax.swing.event.EventListenerList.
4104 * javax/swing/text/DefaultCaret.java: Likewise.
4105
4106 2004-06-17 Michael Koch <konqueror@gmx.de>
4107
4108 * javax/swing/JToolBar.java
4109 (name): Removed.
4110 (JToolBar): Use Component.setName(String) instead of doing it all
4111 alone.
4112 * javax/swing/Timer.java
4113 (queueEvent): Added missing modifier.
4114
4115 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4116
4117 * Makefile.am: Added new file.
4118 * Makefile.in: Re-generate.
4119 * javax/swing/JMenu.java:
4120 (insertSeparator): Implemented.
4121 * javax/swing/JPopupMenu.java:
4122 (JPopupMenu.Separator): Implemented.
4123 * javax/swing/MenuSelectionManager.java:
4124 (processMouseEvent): Use java.awt.Component
4125 for event source instead of javax.swing.JComponent.
4126 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4127 New File. Implemented.
4128
4129 2004-06-16 David Jee <djee@redhat.com>
4130
4131 * java/awt/GridBagLayout.java
4132 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4133 Make sure pos_x and pos_y are never negative.
4134
4135 2004-04-16 Andrew Overholt <overholt@redhat.com>
4136
4137 * Makefile.am: Add new file.
4138 * Makefile.in: Re-generate.
4139 * javax/swing/JToolBar.java
4140 Partially implemented.
4141 * javax/swing/plaf/basic/BasicToolBarUI.java
4142 New file. Partially implemented.
4143
4144 2004-06-16 Graydon Hoare <graydon@redhat.com>
4145
4146 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4147 (setComposite): Accept AlphaComposite arguments.
4148 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4149 (createBufferedImage): Add new overloads.
4150 * gnu/java/awt/peer/gtk/GtkToolkit.java
4151 (createImage): Use GdkPixbufDecoder.createBufferedImage
4152 when useGraphics2D() is true.
4153 (getImage): Delegate to createImage.
4154 * javax/swing/JList.java
4155 (isSelectionEmpty):
4156 (getFirstVisibleIndex):
4157 (getLastVisibleIndex):
4158 (setSelectedValue):
4159 (ensureIndexIsVisible): New methods.
4160 * javax/swing/Timer.java: Reimplement.
4161
4162 2004-06-16 Michael Koch <konqueror@gmx.de>
4163
4164 * javax/swing/text/AbstractDocument.java
4165 (AbstracElement): Made public, implements java.io.Serializable.
4166 (AttributeContext): Made public.
4167 (BranchElement): Likewise.
4168 (Content): Likewise.
4169 (DefaultDocumentEvent): Made public, extends
4170 javax.swing.undo.CompoundEdit.
4171 (ElementEdit): Made public, extends
4172 javax.swing.undo.AbstractUndoableEdit.
4173 (LeafElement): Made public.
4174 (LeafElement.LeafElement): Made public.
4175
4176 2004-06-16 Michael Koch <konqueror@gmx.de>
4177
4178 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4179 methods (that were obviously never be intended to get included hi this
4180 class. Added some methods too.
4181
4182 2004-06-16 Michael Koch <konqueror@gmx.de>
4183
4184 * javax/swing/text/PlainDocument.java
4185 (serialVersionUID): New constant.
4186 (lineLimitAttribute): Likewise.
4187 (tabSizeAttribute): Likewise.
4188 (tabSize): New field.
4189 (PlainDocument): Made public.
4190 (PlainDocument): New constructor.
4191
4192 2004-06-16 Michael Koch <konqueror@gmx.de>
4193
4194 * javax/swing/text/AbstractDocument.java
4195 (insertString): Throws BadLocationException.
4196 * javax/swing/text/Document.java
4197 (insertString): Likewise.
4198 * javax/swing/text/JTextComponent.java:
4199 Javadocs and comments cleaned up.
4200
4201 2004-06-16 Michael Koch <konqueror@gmx.de>
4202
4203 * javax/swing/event/UndoableEditListener.java: Reformatted.
4204 * javax/swing/text/AbstractDocument.java
4205 (AbstractDocument): Implements java.io.Serializable.
4206 (doc_list): Removed.
4207 (undo_list): Removed.
4208 (AbstractElement.serialVerionUID): New field.
4209 (BranchElement.serialVerionUID): Likewise.
4210 (DefaultDocumentEvent.serialVerionUID): Likewise.
4211 (ElementEdit.serialVerionUID): Likewise.
4212 (LeafElement.serialVerionUID): Likewise.
4213 (serialVerionUID): Likewise.
4214 (BAD_LOCATION): New constant.
4215 (BidiElementName): Likewise.
4216 (ContentElementName): Likewise.
4217 (ParagraphElementName): Likewise.
4218 (SectionElementName): Likewise.
4219 (ElementNameAttribute): Likewise.
4220 (AbstractDocument): Made protected.
4221 (AbstractDocument): New construtor.
4222 (listenerList): New field.
4223 (fireChangedUpdate): Implemented.
4224 (fireInsertUpdate): Likewise.
4225 (fireRemoveUpdate): Likewise.
4226 (fireUndoableEditUpdate): Likewise.
4227 (getListeners): Likewise.
4228 (addDocumentListener): Likewise.
4229 (removeDocumentListener): Likewise.
4230 (addUndoableEditListener): Likewise.
4231 (removeUndoableEditListener): Likewise.
4232 (getDocumentListeners): New method.
4233 (getUndoableEditListeners): Likewise.
4234 (getAsynchronousLoadPriority): Made public.
4235 (getBidiRootElement): Likewise.
4236 (setAsynchronousLoadPriority): Likewise.
4237 (setDocumentProperties): Likewise.
4238 * javax/swing/text/BadLocationException.java
4239 (serialVerionUID): New field.
4240 * javax/swing/text/DefaultCaret.java
4241 (changeEvent): New field.
4242 (listenerList): Likewise.
4243 (changes): Removed.
4244 (addChangeListener): Reimplemented.
4245 (removeChangeListener): Likewise.
4246 (getListeners): New method.
4247 (getChangeListeners): Likwise.
4248 (getComponent): Likewise.
4249 * javax/swing/text/GapContent.java
4250 (GapContent): Implements java.io.Serializable.
4251 (serialVerionUID): New field.
4252
4253 2004-06-16 Michael Koch <konqueror@gmx.de>
4254
4255 * javax/swing/JTree.java
4256 (treeModel): New field.
4257 (JTree): New constructors, one existing one made public.
4258 (createTreeModel): New method.
4259 (addTreeExpansionListener): Likewise.
4260 (removeTreeExpansionListener): Likewise.
4261 (getTreeExpansionListeners): Likewise.
4262 (fireTreeCollapsed): Likewise.
4263 (fireTreeExpanded): Likewise.
4264 (addTreeSelectionListener): Likewise.
4265 (removeTreeSelectionListener): Likewise.
4266 (getTreeSelectionListeners): Likewise.
4267 (fireValueChanged): Likewise.
4268 (addTreeWillExpandListener): Likewise.
4269 (removeTreeWillExpandListener): Likewise.
4270 (getTreeWillExpandListeners): Likewise.
4271 (fireTreeWillCollapse): Likewise.
4272 (fireTreeWillExpand): Likewise.
4273
4274 2004-06-16 Michael Koch <konqueror@gmx.de>
4275
4276 * javax/swing/JTree.java: Reformatted.
4277
4278 2004-06-16 Michael Koch <konqueror@gmx.de>
4279
4280 * javax/swing/JTextArea.java: New file.
4281 * javax/swing/JTextField.java
4282 (actions): Removed.
4283 (notifyAction): New constant.
4284 (columns): New field.
4285 (JTextField): New constructors.
4286 (createDefaultModel): New method.
4287 (addActionListener): Reimplmemented.
4288 (removeActionListener): Reimplemented.
4289 (getActionListeners): New method.
4290 (fireActionPerformed): New method.
4291 (getColumns): New method.
4292 (setColumne): New method.
4293 * javax/swing/text/JTextComponent.java
4294 (AccessibleJTextComponent.serialVersionUID): New field.
4295 (serialVersionUID): Likewise.
4296 (DEFAULT_KEYMAP): Likewise.
4297 (FOCUS_ACCELERATOR_KEY): Likewise.
4298 (doc): Made private.
4299 (icon_gap): Likewise.
4300 (icon): Likewise.
4301 (align): Likewise.
4302 (JTextComponent): Some constructors removed.
4303 (getScrollableTracksViewportHeight): New method.
4304 (getScrollableTracksViewportWidth): Likewise.
4305 * Makefile.am: Added javax/swing/JTextArea.java.
4306 * Makefile.in: Regenerated.
4307
4308 2004-06-15 Graydon Hoare <graydon@redhat.com>
4309
4310 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4311 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4312 * javax/swing/JViewport.java
4313 (getExtentSize): Return size rather than preferred size.
4314 (toViewCoordinates): New methods.
4315 (getViewSize): Return size rather than preferred size.
4316 (setViewSize): Note view size as set.
4317 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4318 * javax/swing/plaf/basic/BasicScrollBarUI.java
4319 (getPreferredSize): Don't redo layout.
4320 * javax/swing/plaf/basic/BasicViewportUI.java
4321 (paint): Translate image properly and eat exceptions.
4322
4323 2004-06-15 Kim Ho <kho@redhat.com>
4324
4325 * javax/swing/JTabbedPane.java
4326 (setComponent): Remove old component and
4327 add new component.
4328 (setSelectedIndex): Don't operate on the
4329 components if they're null. Don't set index
4330 on the model if the index is the same.
4331 (insertTab): Don't add or hide the component
4332 if it's null. Repaint the container.
4333 * javax/swing/plaf/basic/BasicLookAndFeel.java
4334 Change colors for TabbedPane.
4335 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4336 (mousePressed): Re-layout and paint the component.
4337 (layoutContainer): Don't set location on the view.
4338 (ScrollingViewport::paint): Remove.
4339
4340 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4341
4342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4343 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4344
4345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4346 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4347 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4348 critical region.
4349 (drawLine): Call gdk_flush before leaving GDK critical region.
4350 (fillRect): Likewise.
4351 (drawRect): Likewise.
4352 (copyArea): Likewise.
4353 (copyPixmap): Likewise.
4354 (clearRect): Likewise.
4355 (drawArc): Likewise.
4356 (drawPolyline): Likewise.
4357 (drawPolygon): Likewise.
4358 (fillPolygon): Likewise.
4359 (fillArc): Likewise.
4360 (drawOval): Likewise.
4361 (fillOval): Likewise.
4362
4363 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4364 style parameter.
4365 (GdkFontMetrics): Add style argument to initState call.
4366 (stringWidth(String,int,int,String)): Add style parameter.
4367 (stringWidth(String)): Add style argument to stringWidth call.
4368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4369 (initState): Set pango font style and weight based on AWT style
4370 parameter. Pass default GTK language to
4371 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4372 simply dividing by PANGO_SCALE.
4373 (stringWidth): Set pango font style and weight based on AWT style
4374 parameter.
4375
4376 * java/awt/Button.java (next_button_number): New field.
4377 (paramString): Change output.
4378 (generateName): New method.
4379 (getUniqueLong): New method.
4380
4381 2004-06-14 Kim Ho <kho@redhat.com>
4382
4383 * javax/swing/JTabbedPane.java:
4384 (setComponentAt): Set the component, not
4385 the enabled status.
4386 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4387 (actionPerformed): Let deiconize catch exception.
4388
4389 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4390
4391 * javax/swing/JPopupMenu.java:
4392 (setVisible): Corrected location of a
4393 heavyweight popup menu.
4394
4395 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4396
4397 * javax/swing/MenuSelectionManager.java:
4398 Ran through jalopy to fix formatting style.
4399
4400 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4401
4402 * javax/swing/JLayeredPane.java:
4403 (remove): Revalidate and repaint layered pane after
4404 the component was removed.
4405 javax/swing/JMenu.java:
4406 (setVisible): Display popup menu at the user location,
4407 if one was set by the user.
4408 (setMenuLocation): Reimplemented. Fixed javadoc.
4409 * javax/swing/JMenuBar.java: Added javadoc.
4410 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4411 (MODEL_CHANGED_PROPERTY): New Property.
4412 (isSelected): Implemented.
4413 (setBorderPainted): Fire PropertyChangeEvent
4414 if paintBorder property changes.
4415 (setSelected): Implemented.
4416 (setSelectionModel): Implemented.
4417 * javax/swing/JPopupMenu.java: Added Javadoc
4418 (pack): Implemented.
4419 (setVisible): Reimplemented.
4420 (show): Fixed location.
4421 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4422 Container instead of JPanel.
4423 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4424 (clearSelectedPath): Reimplemented to clear selectedPath
4425 in reverse order.
4426 (processMouseEvent): Reimplemented.
4427 (setSelectedPath): Fire stateChange event indicating that
4428 selected menu path has changed.
4429 (getPath): Change to use ArrayList instead of Vector.
4430 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4431 (installUI): call installKeyboardActions().
4432 (uninstallUI): call uninstallKeyboardActions().
4433
4434 2004-06-13 Michael Koch <konqueror@gmx.de>
4435
4436 * javax/swing/text/DefaultCaret.java,
4437 javax/swing/text/BadLocationException.java:
4438 Reformatted.
4439
4440 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4441
4442 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4443 DEFAULT_COLS): New variables.
4444 (create): Don't allow 0 rows or 0 columns. Instead, set the
4445 values to DEFAULT_ROWS or DEFAULT_COLS.
4446 (getMinimumSize): Likewise.
4447 (getPreferredSize): Likewise.
4448 (minimumSize): Likewise.
4449 (preferredSize): Likewise.
4450 (create): Set peer's editable state.
4451 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4452 zero. Update javadocs.
4453 (TextArea(String)): Likewise.
4454 (TextArea(int,int)): Fix javadocs.
4455 (TextArea(String,int,int,int)): Only throw exception if one of
4456 rows or columns is zero. Fix javadocs.
4457
4458 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4459
4460 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4461 addition to Components.
4462
4463 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4464 wasn't consumed by normal processing, send it to the parent
4465 menu.
4466
4467 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4468 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4469 translation.
4470
4471 2004-06-11 David Jee <djee@redhat.com>
4472
4473 * java/awt/MediaTracker.java
4474 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4475 (addImage(Image,int,int,int)): Likewise.
4476
4477 2004-06-11 Michael Koch <konqueror@gmx.de>
4478
4479 * javax/swing/text/AbstractDocument.java,
4480 javax/swing/text/Document.java,
4481 javax/swing/text/GapContent.java,
4482 javax/swing/text/JTextComponent.java,
4483 javax/swing/text/PlainDocument.java:
4484 Reformatted.
4485
4486 2004-06-11 Michael Koch <konqueror@gmx.de>
4487
4488 * javax/swing/JRootPane.java
4489 (AccessibleJRootPane.serialVersionUID): New field.
4490 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4491 (AccessibleJRootPane.getAccessibleRole): New method.
4492 (RootLayout): Implements Serializable.
4493 (RootLayout.serialVersionUID): New field.
4494 (RootLayout.RootLayout): New constructor.
4495 (setJMenuBar): Made public.
4496 (getJMenuBar): Likewise.
4497 (JRootPane): Likewise.
4498 (createContentPane): Likewise.
4499 (createGlassPane): Likewise.
4500 (createLayeredPane): Likewise.
4501
4502 2004-06-11 Michael Koch <konqueror@gmx.de>
4503
4504 * javax/swing/SwingUtilities.java
4505 (isLeftMouseButton): Fixed javadoc.
4506 (isMiddleMouseButton): Likewise.
4507 (isRightMouseButton): Likewise.
4508
4509 2004-06-11 Michael Koch <konqueror@gmx.de>
4510
4511 * javax/swing/JScrollPane.java
4512 (serialVersionUID): New field.
4513 (columnHeader): Made protected.
4514 (rowHeader): Likewise.
4515 (lowerLeft): Likewise.
4516 (lowerRight): Likewise.
4517 (upperLeft): Likewise.
4518 (upperRight): Likewise.
4519 (horizontalScrollBar): Likewise.
4520 (horizontalScrollBarPolicy): Likewise.
4521 (verticalScrollBar): Likewise.
4522 (verticalScrollBarPolicy): Likewise.
4523 (viewport): Likewise.
4524
4525 2004-06-11 Michael Koch <konqueror@gmx.de>
4526
4527 * javax/swing/LookAndFeel.java: Fixed javadocs.
4528
4529 2004-06-11 Michael Koch <konqueror@gmx.de>
4530
4531 * javax/swing/JEditorPane.java: Fixed javadocs.
4532 (JEditorPane): Removed redundant call to to this().
4533 (fireHyperlinkUpdate): Implemented.
4534
4535 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4536
4537 * javax/swing/JMenu.java: Fixed file name
4538 in the file comment.
4539
4540 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4541
4542 * javax/swing/JMenu.java: Added javadoc.
4543 (JMenu): Added MenuChangeListener to listen to
4544 ChangeEvents occuring in menu's model.
4545 (insert): Throw IllegalArgumentException if
4546 index is less than 0
4547 (setSelected): Reimplement.
4548 (setPopupMenuVisible): Call menu's model isEnabled()
4549 (setDelay): Throw IllegalArgumentException if
4550 given amount of delay is less than 0.
4551 (createActionComponent): Implemented.
4552 (createActionChangeListener): Implemented.
4553 (addSeparator): Implemented.
4554 (getItem): Throw IllegalArgumentException if index is
4555 less than 0.
4556 (getItemCount): Implemented.
4557 (fireMenuSelected): Changed to use menuEvent.
4558 (fireMenuDeselected): Likewise.
4559 (fireMenuCanceled): Likewise.
4560 (setAccelerator): Changed to throw an error if this
4561 method is used.
4562 (doClick): Implemented.
4563 (JMenu.ActionChangedListener): New inner class to handle
4564 PropertyChangeEvents occuring in the actions associated with menu.
4565 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4566 (BasicMenuUI): Added PropertyChangeListener to the menu.
4567 (createChangeListener): Implemented.
4568 (createMenuDragMouseListener): Likewise.
4569 (createMenuKeyListener): Likewise.
4570 (createPropertyChangeListener): Likewise.
4571 (uninstallListeners): Likewise.
4572 (BasicMenuUI.MouseInputHandler): Reimplemented.
4573 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4574 (BasicMenuUI.ChangeHandler): Likewise.
4575 (BasicMenuUI.MenuDragMouseHandler): Likewise.
4576 (BasicMenuUI.MenuKeyHandler): Likewise.
4577
4578 2004-06-10 David Jee <djee@redhat.com>
4579
4580 * java/awt/MediaTracker.java
4581 (imageUpdate): Only do notifyAll() if the image is complete.
4582
4583 2004-06-10 Olga Rodimina <rodimina@redhat.com>
4584
4585 * javax/swing/JApplet.java:
4586 (getJMenuBar): Made public.
4587 (setJMenuBar): Likewise.
4588 * javax/swing/JFrame.java:
4589 (getJMenuBar): Made public.
4590 (setJMenuBar): Likewise.
4591 * javax/swing/JWindow.java:
4592 (getJMenuBar): Removed.
4593 (setJMenuBar): Removed.
4594
4595 2004-06-10 Michael Koch <konqueror@gmx.de>
4596
4597 * javax/swing/JEditorPane.java
4598 (createEditorKitForContentType): Fixed visibility.
4599 (fireHyperlinkUpdate): Likewise.
4600 (getContentType): Likewise.
4601 (getEditorKit): Likewise.
4602 (getEditorKitForContentType): Likewise.
4603 (getPage): Likewise.
4604 (read): Likewise.
4605 (registerEditorKitForContentTyoe): Likewise.
4606 (replaceSelection): Likewise.
4607 (setContentType): Likewise.
4608 (setEditorKit): Likewise.
4609 (setPage): Likewise.
4610
4611 2004-06-10 Michael Koch <konqueror@gmx.de>
4612
4613 * javax/swing/Timer.java
4614 (Timer): New constructor.
4615 * javax/swing/plaf/basic/BasicProgressBarUI.java
4616 (animationTimer): Don't initialize at construction.
4617 (startAnimationTimer): Added since tag.
4618 (stopAnimationTimer): Likewise.
4619 (installUI): Use new Timer constructor.
4620 * javax/swing/plaf/basic/BasicScrollBarUI.java
4621 (installUI): Likewise.
4622 * javax/swing/plaf/basic/BasicSliderUI.java
4623 (installUI): Likewise.
4624
4625 2004-06-10 Michael Koch <konqueror@gmx.de>
4626
4627 * javax/swing/ButtonGroup.java
4628 (serialVersionUID): Made private.
4629 (buttons): Renamed from v, added javadoc.
4630 (sel): Added javadoc.
4631 (ButtonGroup): Likewise.
4632 (add): Likewise.
4633 (remove): Likewise.
4634 (getElements): Likewise.
4635 (getSelection): Likewise.
4636 (setSelected): Likewise.
4637 (isSelected): Likewise.
4638 (getButtonCount): Likewise.
4639
4640 2004-06-10 Michael Koch <konqueror@gmx.de>
4641
4642 * javax/swing/ButtonGroup.java,
4643 javax/swing/ImageIcon.java,
4644 javax/swing/JEditorPane.java,
4645 javax/swing/JRootPane.java,
4646 javax/swing/JTextField.java,
4647 javax/swing/LookAndFeel.java,
4648 javax/swing/plaf/basic/BasicTextUI.java:
4649 Reindented.
4650
4651 2004-06-10 Michael Koch <konqueror@gmx.de>
4652
4653 * javax/swing/text/Style.java: Added javadocs.
4654
4655 2004-06-10 Michael Koch <konqueror@gmx.de>
4656
4657 * javax/swing/JComponent.java
4658 (fireVetoableChange): Removed redundant cast.
4659 * javax/swing/JLabel.java
4660 (getDisabledIcon): Save icon for next call.
4661
4662 2004-06-10 Michael Koch <konqueror@gmx.de>
4663
4664 * javax/swing/KeyStroke.java
4665 (getKeyStroke(char,boolean)): Marked deprecated.
4666
4667 2004-06-10 Michael Koch <konqueror@gmx.de>
4668
4669 * javax/swing/DefaultCellEditor.java,
4670 javax/swing/GrayFilter.java,
4671 javax/swing/event/DocumentEvent.java,
4672 javax/swing/text/JTextComponent.java,
4673 javax/swing/text/MutableAttributeSet.java:
4674 Reindented.
4675
4676 2004-06-10 Michael Koch <konqueror@gmx.de>
4677
4678 * javax/swing/plaf/BorderUIResource.java:
4679 Added serialVersionUID all over.
4680
4681 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
4682
4683 * javax/swing/undo/UndoManager.java: Re-written from scratch.
4684
4685 2004-06-10 Michael Koch <konqueror@gmx.de>
4686
4687 * javax/swing/table/DefaultTableCellRenderer.java
4688 (noFocusBorder): Initialize directly.
4689
4690 2004-06-10 Michael Koch <konqueror@gmx.de>
4691
4692 * javax/swing/plaf/basic/BasicArrowButton.java
4693 (setDirection): Use method argument.
4694
4695 2004-06-10 Michael Koch <konqueror@gmx.de>
4696
4697 * javax/swing/plaf/BorderUIResource.java,
4698 javax/swing/plaf/ComponentUI.java,
4699 javax/swing/undo/CompoundEdit.java,
4700 javax/swing/undo/StateEdit.java:
4701 Fixed javadocs all over.
4702
4703 2004-06-10 Michael Koch <konqueror@gmx.de>
4704
4705 * javax/swing/DefaultButtonModel.java
4706 (ARMED): Made public final, fixed value.
4707 (ENABLED): Likewise.
4708 (PRESSED): Likewise.
4709 (ROLLOVER): Likewise.
4710 (SELECTED): Likewise.
4711 (stateMask): Initialize directly.
4712 (listenerList): Likewise.
4713 (mnemonic): Likewise.
4714 (fireStateChanged): Removed argument, use changeEvent as event.
4715 All places where this method is called are fixed too.
4716 (getActionCommant): Fixed javadoc.
4717 (setGroup): Fixed javadoc.
4718 (getGroup): New method.
4719
4720 2004-06-09 Olga Rodimina <rodimina@redhat.com>
4721
4722 * javax/swing/AbstractButton.java
4723 (AbstractButton): Use init() to initialize the button.
4724 (init): New Method. Initializes AbstractButton.
4725 * javax/swing/JMenuItem.java: Documented.
4726 (JMenuItem): Reimplemented.
4727 (init): Implemented.
4728 (setEnabled): Changed to call super.setEnabled()
4729 (processMouseEvent): Reimplemented.
4730 (fireMenuKeyPressed): Implemented.
4731 (fireMenuKeyReleased): Implemented.
4732 (fireMenuKeyTyped): Implemented.
4733 (menuSelectionChanged): disarm the model if the menu item was
4734 deselected.
4735 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
4736 (getPath): Change to use ArrayList instead of Vector.
4737 (getPreferredSize): Renamed variable.
4738 (paintMenuItem): Paint margin area of menu item.
4739 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
4740 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
4741 menu item's bounds before clearing the selection.
4742
4743 2004-06-09 David Jee <djee@redhat.com>
4744
4745 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4746 (GtkTextComponentPeer): Set caret position to 0.
4747 * java/awt/TextComponent.java
4748 (setText): Set caret position to 0.
4749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4750 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
4751 Handle GtkScrolledWindow separately. Fix signal handler blocking.
4752 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
4753 Likewise.
4754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4755 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
4756 visible.
4757
4758 2004-06-09 Kim Ho <kho@redhat.com>
4759
4760 * Makefile.am: New files
4761 * Makefile.in: Regenerated
4762 * java/awt/Container.java
4763 (getComponentAt): Removed.
4764 * javax/swing/AbstractAction.java
4765 (ENABLED_PROPERTY): New property.
4766 (putValue): Fire PropertyChangeEvents.
4767 (setEnabled): ditto.
4768 (firePropertyChange): Javadoc and implement
4769 convenience method.
4770 * javax/swing/AbstractButton.java
4771 (setAction): Don't create PropertyChangeListener
4772 if new Action is null.
4773 (setIcon): Don't set icon till after comparing
4774 it.
4775 (configurePropertiesFromAction): Check mnemonic
4776 key before calling intValue().
4777 (createActionPropertyChangeListener): Check
4778 properties rather than bulk change.
4779 * javax/swing/DefaultDesktopManager.java:
4780 Implement.
4781 * javax/swing/DesktopManager.java:
4782 Jalopy and javadoc.
4783 * javax/swing/JComponent.java
4784 (fireVetoableChange): Implement.
4785 (paintImmediately): Use root component.
4786 * javax/swing/JDesktopPane.java: Implement
4787 * javax/swing/JInternalFrame.java: Implement
4788 * javax/swing/JLabel.java
4789 (getDisabledIcon): Return grayscaled icon if
4790 no disabled icon specified.
4791 * javax/swing/JMenuBar.java
4792 (getComponentAtIndex): Use getComponent
4793 * javax/swing/JOptionPane.java
4794 (getDesktopPaneForComponent): Use SwingUtilities'
4795 getAncestorOfClass
4796 (getFrameForComponent): ditto.
4797 * javax/swing/JSplitPane.java
4798 (remove): Use getComponent.
4799 * javax/swing/SwingUtilities.java
4800 (convertPoint): Implement.
4801 * javax/swing/plaf/basic/BasicButtonUI.java
4802 (paintButtonNormal): Check opaqueness before
4803 filling background.
4804 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
4805 Implement
4806 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
4807 Implement.
4808 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
4809 Implement.
4810 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4811 Implement.
4812 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4813 Change InternalFrame and Desktop colors.
4814
4815 2004-06-09 David Jee <djee@redhat.com>
4816
4817 * java/awt/Container.java
4818 (remove): Do not set component to invisible.
4819
4820 2004-06-09 Michael Koch <konqueror@gmx.de>
4821
4822 * javax/swing/tree/DefaultMutableTreeNode.java
4823 (getLeafCount): Renamed enum to e.
4824
4825 2004-06-09 Michael Koch <konqueror@gmx.de>
4826
4827 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
4828 (positionForMouseEvent): Removed redundant semicolon.
4829 (continueDrag): Use method arguments.
4830
4831 2004-06-09 Michael Koch <konqueror@gmx.de>
4832
4833 * javax/swing/border/TitledBorder.java,
4834 javax/swing/filechooser/FileSystemView.java,
4835 javax/swing/plaf/basic/BasicButtonListener.java,
4836 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4837 javax/swing/plaf/basic/BasicLabelUI.java,
4838 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4839 javax/swing/plaf/basic/BasicScrollBarUI.java,
4840 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4841 javax/swing/plaf/basic/BasicSliderUI.java,
4842 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4843 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4844 javax/swing/table/JTableHeader.java,
4845 javax/swing/text/AbstractDocument.java,
4846 javax/swing/text/DefaultCaret.java,
4847 javax/swing/text/StyledEditorKit.java,
4848 javax/swing/tree/DefaultTreeCellEditor.java:
4849 Reworked import statements.
4850
4851 2004-06-08 Graydon Hoare <graydon@redhat.com>
4852
4853 * javax/swing/Box.java: Temporarily comment out code
4854 broken due to visibility bug.
4855
4856 2004-06-09 Michael Koch <konqueror@gmx.de>
4857
4858 * javax/swing/ImageIcon.java
4859 (ImageIcon): Added missing constructor.
4860
4861 2004-06-08 Michael Koch <konqueror@gmx.de>
4862
4863 * javax/swing/JToggleButton.java
4864 (JToggleButton): New constructor.
4865 (getAccessibleContext): Moved documentation into javadoc.
4866 (getUIClassID): Likewise.
4867
4868 2004-06-08 Michael Koch <konqueror@gmx.de>
4869
4870 * javax/swing/AbstractButton.java
4871 (getDisabledIcon): Create disabled icon if none exists yet.
4872
4873 2004-06-08 Michael Koch <konqueror@gmx.de>
4874
4875 * javax/swing/plaf/basic/BasicLookAndFeel.java
4876 (initClassDefaults): Added FormattedTextFieldUI.
4877 (loadResourceBundle): Renamed enum to e.
4878
4879 2004-06-08 Michael Koch <konqueror@gmx.de>
4880
4881 * javax/swing/plaf/basic/BasicButtonUI.java
4882 (paintIcon): Simplified.
4883 (paintText): Paint disabled button correctly.
4884
4885 2004-06-08 Michael Koch <konqueror@gmx.de>
4886
4887 * javax/swing/JComponent.java
4888 (createToolTip): Use official JToolTip API.
4889
4890 2004-06-08 Michael Koch <konqueror@gmx.de>
4891
4892 * javax/swing/JToolTip.java
4893 (JToolTip): No arguments in API.
4894 (setTipText): New method.
4895
4896 2004-06-08 Michael Koch <konqueror@gmx.de>
4897
4898 * javax/swing/SwingUtilities.java
4899 (isLeftMouseButton): New method.
4900 (isMiddleMouseButton): New method.
4901 (isRightMouseButton): New method.
4902
4903 2004-06-08 Michael Koch <konqueror@gmx.de>
4904
4905 * javax/swing/AbstractButton.java,
4906 javax/swing/CellRendererPane.java,
4907 javax/swing/JCheckBoxMenuItem.java,
4908 javax/swing/JColorChooser.java,
4909 javax/swing/JComboBox.java,
4910 javax/swing/JComponent.java,
4911 javax/swing/JDesktopPane.java,
4912 javax/swing/JFileChooser.java,
4913 javax/swing/JMenu.java,
4914 javax/swing/JMenuItem.java,
4915 javax/swing/JOptionPane.java,
4916 javax/swing/JPasswordField.java,
4917 javax/swing/JPopupMenu.java,
4918 javax/swing/JProgressBar.java,
4919 javax/swing/JRadioButtonMenuItem.java,
4920 javax/swing/JScrollBar.java,
4921 javax/swing/JSeparator.java,
4922 javax/swing/JSlider.java,
4923 javax/swing/JSplitPane.java,
4924 javax/swing/JTabbedPane.java,
4925 javax/swing/JTextField.java,
4926 javax/swing/JToolBar.java,
4927 javax/swing/text/JTextComponent.java:
4928 Fixed all constructors of accessibility classes.
4929
4930 2004-06-08 Michael Koch <konqueror@gmx.de>
4931
4932 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
4933 over.
4934
4935 2004-06-08 Michael Koch <konqueror@gmx.de>
4936
4937 * javax/swing/Box.java
4938 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
4939 (AccessibleBoxFiller.serialVersionUID): New member variable.
4940 * javax/swing/DefaultButtonModel.java
4941 (stateMask): Made protected.
4942 (listenerList): Likewise.
4943 (changeEvent): Likewise.
4944 (group): Likewise.
4945 (mnemonic): Likewise.
4946 (actionCommand): Likewise.
4947 (getListeners): New method.
4948 (getActionListeners): New method.
4949 (getItemListeners): New method.
4950 (getChangeListeners): New method.
4951 (fireItemStateChanged): Simplified.
4952 (fireActionPerformed): Simplified.
4953 (fireStateChanged): Simplified.
4954 * javax/swing/JFrame.java
4955 (JFrame): Implements WindowContants.
4956 (HIDE_ON_CLOSE): Removed.
4957 (EXIT_ON_CLOSE): Removed.
4958 (DISPOSE_ON_CLOSE): Removed.
4959 (DO_NOTHING_ON_CLOSE): Removed.
4960 (processWindowEvent): Exit with code 0.
4961 (setDefaultCloseOperation): Do security check before setting value.
4962 * javax/swing/JOptionPane.java
4963 (message): Initialize only in constructor.
4964 * javax/swing/JToolTip.java: Removed unused imports.
4965 * javax/swing/JViewport.java
4966 (serialVersionUID): New member variable.
4967 (SIMPLE_SCROLL_MODE): Made final, fixed value.
4968 (BLIT_SCROLL_MODE): Likewise.
4969 (BACKINGSTORE_SCROLL_MODE): Likewise.
4970 (scrollUnderway): Made protected.
4971 (isViewSizeSet): Likewise.
4972 * javax/swing/ListModel.java: Fixed javadoc.
4973 * javax/swing/Popup.java: Likewise.
4974 * javax/swing/RepaintManager.java
4975 (paintDirtyRegions): Don't use internal classes of
4976 java.util.AbstractMap.
4977 * javax/swing/ScrollPaneConstants.java: Reindented.
4978 * javax/swing/ScrollPaneLayout.java
4979 (viewport): Made protected.
4980 (verticalScrollBar): Made protected, renamed to vsb.
4981 (horizontalScrollBar): Made protected, renamed to hsb.
4982 (rowHeader): Made protected, renamed to rowHead.
4983 (columnHeader): Made protected, renamed to colHead.
4984 (lowerLeft): Made protected.
4985 (lowerRight): Made protected.
4986 (upperLeft): Made protected.
4987 (upperRight): Made protected.
4988 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
4989 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
4990
4991 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
4992
4993 * java/awt/MediaTracker.java (imageUpdate): Only set status to
4994 LOADING if flags has SOMEBITS set.
4995
4996 2004-06-07 Michael Koch <konqueror@gmx.de>
4997
4998 * javax/swing/AbstractButton.java: Reorganized imports.
4999 * javax/swing/ActionMap.java: Likewise.
5000 * javax/swing/DefaultButtonModel.java: Likewise.
5001 * javax/swing/DefaultListModel.java: Likewise.
5002 * javax/swing/ImageIcon.java: Likewise.
5003 (serialVersionUID): New member variable.
5004 * javax/swing/JComboBox.java: Reorganized imports.
5005 * javax/swing/JComponent.java: Likewise.
5006 (ui): Made protected.
5007 (listenerList): Made protected.
5008 (TOOL_TIP_TEXT_KEY): New constant.
5009 (scrollRectToVisible): Removed redundant null check.
5010 * javax/swing/JFrame.java: Reorganized imports.
5011 * javax/swing/JInternalFrame.java: Reorganized imports.
5012 * javax/swing/JProgressBar.java: Likewise.
5013 * javax/swing/JRootPane.java: Likewise.
5014 * javax/swing/JScrollBar.java: Likewise.
5015 * javax/swing/JSeparator.java: Likewise.
5016 * javax/swing/JSlider.java: Likewise.
5017 * javax/swing/JTabbedPane.java: Likewise.
5018 * javax/swing/JTextField.java: Likewise.
5019 * javax/swing/JToolBar.java: Likewise.
5020 * javax/swing/JTree.java: Likewise.
5021 * javax/swing/JViewport.java: Likewise.
5022 * javax/swing/JWindow.java: Likewise.
5023 * javax/swing/KeyStroke.java: Likewise.
5024 * javax/swing/LookAndFeel.java: Likewise.
5025 * javax/swing/MenuSelectionManager.java: Likewise.
5026 * javax/swing/SwingUtilities.java: Likewise.
5027 * javax/swing/Timer.java: Likewise.
5028 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5029 * javax/swing/JList.java
5030 (HORIZONTAL_WRAP): Made final, fixed value.
5031 (VERTICAL): Likewise.
5032 (VERTICAL_WRAP): Likewise.
5033
5034 2004-06-07 Michael Koch <konqueror@gmx.de>
5035
5036 * javax/swing/AbstractButton.java
5037 (serialVersionUID): New member variable.
5038 (AccessibleAbstractButton.serialVersionUID): Likewise.
5039 (AbstractButton): Made public.
5040 * javax/swing/Box.java
5041 (AccessibleBox.serialVersionUID): New member variable.
5042 (Filler.serialVersionUID): Likewise.
5043 * javax/swing/DefaultListSelectionModel.java
5044 (serialVersionUID): Likewise.
5045 * javax/swing/JApplet.java
5046 (serialVersionUID): Likewise.
5047 * javax/swing/JCheckBox.java
5048 (serialVersionUID): Likewise.
5049 * javax/swing/JCheckBoxMenuItem.java
5050 (serialVersionUID): Likewise.
5051 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5052 * javax/swing/JColorChooser.java
5053 (serialVersionUID): Likewise.
5054 (AccessibleJColorChooser.serialVersionUID): Likewise.
5055 * javax/swing/JComponent.java
5056 (serialVersionUID): Made private.
5057 (AccessibleJComponent.serialVersionUID): New member variable.
5058 * javax/swing/JDesktopPane.java
5059 (serialVersionUID): Likewise.
5060 * javax/swing/JDialog.java
5061 (serialVersionUID): Likewise.
5062 * javax/swing/JFormattedTextField.java
5063 (serialVersionUID): Fixed value.
5064 * javax/swing/JFrame.java
5065 (serialVersionUID): New member variable.
5066 (getDefaultCloseOpertation): Made public.
5067 * javax/swing/JLayeredPane.java
5068 (serialVersionUID): Likewise.
5069 (LAYER_PROPERTY): Made final, fixed value.
5070 (JLayeredPane): Made public.
5071 * javax/swing/JMenu.java
5072 (AccessibleJMenu.serialVersionUID): New member variable.
5073 (WinListener.serialVersionUID): Likewise.
5074 * javax/swing/JMenuBar.java
5075 (serialVersionUID): Likewise.
5076 (getComponentAtIndex): Added @deprecated tag.
5077 * javax/swing/JMenuItem.java
5078 (serialVersionUID): New member variable.
5079 (AccessibleJMenuItem.serialVersionUID): Likewise.
5080 * javax/swing/JOptionPane.java
5081 (serialVersionUID): Likewise.
5082 (AccessibleJOptionPane.serialVersionUID): Likewise.
5083 * javax/swing/JPopupMenu.java
5084 (serialVersionUID): Likewise.
5085 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5086 (getPopupMenuListeners): New method.
5087 (getComponentAtIndex): Added @deprecated tag.
5088 * javax/swing/JProgressBar.java
5089 (serialVersionUID): New member variable.
5090 (AccessibleJProgressBar.serialVersionUID): Likewise.
5091 * javax/swing/JRadioButton.java
5092 (serialVersionUID): Likewise.
5093 * javax/swing/JRadioButtonMenuItem.java
5094 (serialVersionUID): Likewise.
5095 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5096 * javax/swing/JScrollBar.java
5097 (serialVersionUID): Likewise.
5098 (AccessibleJScrollBar.serialVersionUID): Likewise.
5099 * javax/swing/JSeparator.java
5100 (serialVersionUID): Likewise.
5101 (AccessibleJSeparator.serialVersionUID): Likewise.
5102 * javax/swing/JSlider.java: Fixed javadocs.
5103 (AccessibleJSlider.serialVersionUID): New member variable.
5104 * javax/swing/JSplitPane.java: Added copyright statement.
5105 (serialVersionUID): New member variable.
5106 (AccessibleJSplitPane.serialVersionUID): Likewise.
5107 * javax/swing/JTabbedPane.java
5108 (serialVersionUID): Likewise.
5109 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5110 (ModelListener.serialVersionUID): Likewise.
5111 (ModelListener.ModelListener): New constructor.
5112 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5113 (WRAP_TAB_LAYOUT): Likewise.
5114 * javax/swing/JTable.java
5115 (serialVersionUID): New member variable.
5116 * javax/swing/JToggleButton.java
5117 (serialVersionUID): Likewise.
5118 (ToggleButtonModel): Made static.
5119 (ToggleButtonModel.serialVersionUID): New member variable.
5120 * javax/swing/JToolTip.java
5121 (serialVersionUID): Likewise.
5122 * javax/swing/JTree.java
5123 (serialVersionUID): Likewise.
5124 * javax/swing/JWindow.java
5125 (serialVersionUID): Likewise.
5126 * javax/swing/Timer.java
5127 (serialVersionUID): Likewise.
5128
5129 2004-06-06 Michael Koch <konqueror@gmx.de>
5130
5131 * javax/swing/SwingConstants.java
5132 (NEXT): New constant.
5133 (PREVIOUS): Likewise.
5134 * javax/swing/UIManager.java
5135 (LookAndFeel): Made public.
5136 (LookAndFeel.getClassName): Likewise.
5137 (LookAndFeel.getName): Likewise.
5138
5139 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5140
5141 * javax/swing/JCheckBoxMenuItem.java:
5142 Removed CVS tags.
5143 * javax/swing/JMenu.java: Likewise.
5144 * javax/swing/JMenuBar.java: Likewise.
5145 * javax/swing/JMenuItem.java: Likewise.
5146 * javax/swing/JPopupMenu.java: Likewise.
5147 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5148 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5149 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5150 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5151 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5152 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5153 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5154
5155 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5156
5157 * javax/swing/plaf/basic/BasicMenuUI.java:
5158 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5159 Call getPath() from super class instead.
5160
5161 2004-05-31 David Jee <djee@redhat.com>
5162
5163 * java/awt/Container.java
5164 (remove): Set component visibility to false after removing it.
5165
5166 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5167
5168 * java/awt/Component.java (getForeground): Return SystemColor if
5169 parent is null.
5170 (getBackground): Likewise.
5171
5172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5173 (item_highlighted): New function.
5174 (connectSignals): Set item_highlighted as list's select
5175 function.
5176
5177 * java/applet/Applet.java: Revert changes from 2004-04-29,
5178 2004-03-15 and 2004-03-14.
5179
5180 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5181 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5182 factor.
5183
5184 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5185 "Dialog" as the default font.
5186 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5187 Likewise.
5188 * java/awt/Component.java (getFont): Return "Dialog" font by
5189 default.
5190 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5191 Multiply size argument to pango_font_description_set_size by the
5192 DPI conversion factor rather than by PANGO_SCALE.
5193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5194 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5197 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5203 Divide baseline y coordinate by DPI conversion factor rather
5204 than by PANGO_SCALE.
5205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5206 (area_prepared): Fix typo.
5207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5208 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5210 (dpi_conversion_factor): New global variable.
5211 (init_dpi_conversion_factor): New function to calculate and
5212 track DPI conversion factor.
5213 (dpi_changed_cb): New callback.
5214 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5215
5216 2004-05-27 David Jee <djee@redhat.com>
5217
5218 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5219 (getGraphics): Return a new GdkGraphics instance.
5220 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5221 (getGraphics): Call super.getGraphics().
5222
5223 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5224
5225 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5226 (setNativeBounds): Clamp width and height values to >= 0.
5227
5228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5229 (find_fg_color_widget): Handle GtkOptionMenu specially.
5230
5231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5232 (pre_event_handler): Only post configure events to visible
5233 top-level windows.
5234
5235 2004-05-26 David Jee <djee@redhat.com>
5236
5237 * java/awt/BorderLayout.java
5238 (layoutContainer): Fix size calculations.
5239
5240 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5241
5242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5243 (window_wm_protocols_filter): Remove function.
5244 (create): Remove filter that removes WM_TAKE_FOCUS client
5245 messages.
5246
5247 2004-06-17 Anthony Green <green@redhat.com>
5248
5249 * java/util/zip/ZipFile.java (getInputStream): Return null if
5250 entry not found.
5251
5252 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5253 directory contents to the class path.
5254
5255 2004-06-15 Andrew Haley <aph@redhat.com>
5256
5257 * java/lang/natSystem.cc (getenv0): Don't assume environment
5258 variable is Latin 1 coded.
5259
5260 2004-06-14 Andreas Jaeger <aj@suse.de>
5261
5262 * configure.in: Support --enable-version-specific-runtime-libs.
5263 * configure: Regenerated.
5264
5265 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5266
5267 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5268 to pass ClassLoader argument.
5269 * java/util/GregorianCalendar.java: Likewise.
5270 * java/util/Currency.java: Likewise.
5271 * java/text/BreakIterator.java: Likewise.
5272 * java/text/Collator.java: Likewise.
5273 * java/text/DateFormat.java: Likewise.
5274 * java/text/DateFormatSymbols.java: Likewise.
5275 * java/text/DecimalFormatSymbols.java: Likewise.
5276 * java/text/NumberFormat.java: Likewise.
5277 * java/awt/Window.java: Likewise.
5278
5279 2004-06-14 Andrew Haley <aph@redhat.com>
5280
5281 * java/lang/System.java: (getenv0): New method.
5282 (getenv): Add security check. Do the right thing.
5283 * java/lang/natSystem.cc (getenv0): New method.
5284
5285 2004-06-12 Mark Wielaard <mark@klomp.org>
5286
5287 * javax/swing/RepaintManager.java
5288 (paintDirtyRegions): Use entrySet(), not values().
5289
5290 2004-06-10 Mark Wielaard <mark@klomp.org>
5291
5292 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5293 NoSuchMethodError.
5294
5295 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5296
5297 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5298 when we already know the answer.
5299 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5300 (setStartRule,setEndRule): Don't take abs of day number.
5301 (getOffset): Clarify docs. Add argument checks.
5302 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5303 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5304 endTimeMode.
5305
5306 2004-06-10 Tom Tromey <tromey@redhat.com>
5307
5308 * interpret.cc (run): Handle wide fload.
5309
5310 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5311
5312 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5313
5314 2004-06-05 Michael Koch <konqueror@gmx.de>
5315
5316 * javax/swing/SwingConstants.java
5317 (NEXT): New constant.
5318 (PREVIOUS): Likewise.
5319
5320 2004-06-05 Michael Koch <konqueror@gmx.de>
5321
5322 * javax/swing/UIManager.java
5323 (LookAndFeel): Made public.
5324 (LookAndFeel.getName): Likewise.
5325 (LookAndFeel.getClassName): Likewise.
5326
5327 2004-06-03 Michael Koch <konqueror@gmx.de>
5328
5329 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5330 (requestFocus): Revert last changes.
5331 (gtkRequestFocus): Removed.
5332 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5333 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5334 Renamed to ...
5335 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5336 Reverted last patch.
5337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5338 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5339 Reverted comment change.
5340
5341 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5342
5343 * javax/swing/JCheckBoxMenuItem.java:
5344 Removed CVS tags.
5345 * javax/swing/JMenu.java: Likewise.
5346 * javax/swing/JMenuBar.java: Likewise.
5347 * javax/swing/JMenuItem.java: Likewise.
5348 * javax/swing/JPopupMenu.java: Likewise.
5349 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5350 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5351 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5352 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5353 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5354 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5355 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5356
5357 2004-06-01 Tom Tromey <tromey@redhat.com>
5358
5359 * java/io/ObjectStreamField.java: Cleaned up imports.
5360
5361 2004-06-01 Michael Koch <konqueror@gmx.de>
5362
5363 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5364
5365 2004-06-01 Mark Wielaard <mark@klomp.org>
5366
5367 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5368
5369 2004-06-01 Michael Koch <konqueror@gmx.de>
5370
5371 * java/security/Security.java
5372 (insertProviderAt): Use equals() instead of ==.
5373 (removeProvicer): Likewise.
5374 (getProvider): Likewise.
5375 * java/security/Signature.java
5376 (sign): Don't set state to UNINITIALIZED.
5377 (verify): Likewise.
5378
5379 2004-06-01 Mark Wielaard <mark@klomp.org>
5380
5381 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5382 Implement by calling gtkRequestFocus.
5383 (gtkRequestFocus): New native method.
5384 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5385 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5386 Renamed to ...
5387 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5388 New function name.
5389 (filter_expose_event_handler):
5390 Mark static.
5391 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5392 (menu_pos): Mark static.
5393
5394 2004-06-01 Michael Koch <konqueror@gmx.de>
5395
5396 * java/text/CollationElementIterator.java,
5397 java/text/CollationKey.java,
5398 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5399 * testsuite/libjava.mauve/xfails: Removed all
5400 java.text.CollationElementIterator tests.
5401
5402 2004-06-01 Michael Koch <konqueror@gmx.de>
5403
5404 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5405 version.
5406 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5407 Java 1.5 keyword usage.
5408
5409 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5410
5411 * javax/swing/plaf/basic/BasicMenuUI.java:
5412 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5413 Call getPath() from super class instead.
5414
5415 2004-05-31 Michael Koch <konqueror@gmx.de>
5416
5417 * java/io/SequenceInputStream.java:
5418 Rename enum to e because enum is a keyword in Java 1.5.
5419
5420 2004-05-31 Michael Koch <konqueror@gmx.de>
5421
5422 * gnu/java/rmi/rmic/CompilerProcess.java:
5423 Fixed javadoc to by XHTML compliant.
5424
5425 2004-05-30 Mark Wielaard <mark@klomp.org>
5426
5427 * java/awt/Toolkit.java (loadSystemColors): Implement.
5428
5429 2004-05-30 Michael Koch <konqueror@gmx.de>
5430
5431 * java/lang/System.java: Reordered imports.
5432
5433 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5434
5435 * java/text/DecimalFormat.java
5436 (parse): Fixed parsing of decimal strings. Number of maximum
5437 digits to be read should now work.
5438 * java/text/SimpleDateFormat.java
5439 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5440 formatter. This fixes DateFormatTest.
5441
5442 2004-05-30 Michael Koch <konqueror@gmx.de>
5443
5444 * java/nio/Buffer.java
5445 (limit): Fixed off by one error.
5446 * java/nio/CharBuffer.java
5447 (wrap): Fixed arguments, added javadocs.
5448
5449 2004-05-30 Michael Koch <konqueror@gmx.de>
5450
5451 * gnu/java/beans/BeanInfoEmbryo.java,
5452 java/awt/im/InputContext.java,
5453 javax/swing/tree/DefaultMutableTreeNode.java:
5454 Rename enum to e because enum is a keyword in Java 1.5.
5455
5456 2004-05-30 Michael Koch <konqueror@gmx.de>
5457
5458 * gnu/java/math/MPN.java,
5459 java/awt/geom/Arc2D.java:
5460 Fixed javadocs all over.
5461
5462 2004-05-30 Michael Koch <konqueror@gmx.de>
5463
5464 * java/awt/DefaultKeyboardFocusManager.java
5465 (dispatchEvent): Call method to get key event dispatchers.
5466 (dispatchKeyEvent): Call method to get key event post processors.
5467 * javax/swing/JComponent.java
5468 (listenerList): Made protected.
5469 * javax/swing/JOptionPane.java
5470 (message): Don't initialize.
5471 (JOptionPane): Set message text.
5472 * javax/swing/JPopupMenu.java
5473 (show): Fixed typo in argument name.
5474 * javax/swing/RepaintManager.java
5475 (paintDirtyRegions): Use public API of java.util.Map.
5476 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5477 (positionForMouseEvent): Removed redundant ';'.
5478 (continueDrag): Use method arguments.
5479
5480 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5481
5482 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5483 results.
5484
5485 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5486
5487 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5488 _Jv_AllocBytes.
5489 * gnu/gcj/RawDataManaged.java: New file.
5490 * java/lang/Thread.java (data): Declare as RawDataManaged.
5491 * java/lang/natThread.cc (init_native): Cast natThread data to
5492 RawDataManaged, not jobject.
5493 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5494 * Makefile.in: Rebuilt.
5495
5496 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
5497
5498 * java/util/SimpleTimeZone.java: Reverting my last change until I
5499 can fix it properly.
5500
5501 2004-05-27 Michael Koch <konqueror@gmx.de>
5502
5503 * javax/swing/JPopupMenu.java
5504 (isVisible): Do not use visible directly.
5505 (setVisible): Likewise.
5506 * javax/swing/JWindow.java
5507 (JWindow): call accessible constructor.
5508 * javax/swing/RepaintManager.java
5509 (paintDirtyRegions): Use public methods to obtain iterator.
5510
5511 2004-05-25 David Jee <djee@redhat.com>
5512
5513 * java/awt/Container.java
5514 (remove): Set component's parent to null only after we removed the
5515 component from its parent's layout manager.
5516
5517 2004-05-25 David Jee <djee@redhat.com>
5518
5519 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5520 (GtkComponentPeer): Set bounds regardless of whether awtComponent
5521 is valid.
5522 * gnu/java/awt/peer/gtk/GtkListPeer.java
5523 (getSize): Change native method declaration.
5524 (minimumSize): Pass visible row count into getSize().
5525 (preferredSize): Likewise.
5526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5527 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5528 natural size. Use visible row count to determine the final height
5529 value to return.
5530
5531 2004-05-21 Graydon Hoare <graydon@redhat.com>
5532
5533 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5534 (setClip): Minor correction to order of operations.
5535
5536 * javax/swing/JScrollPane.java: Extend sketchy implementation.
5537 * javax/swing/ScrollPaneLayout.java: Likewise.
5538 * javax/swing/JViewPort.java: Likewise.
5539 * javax/swing/ViewportLayout.java: Likewise.
5540
5541 * javax/swing/JComponent.java: Rewrite.
5542 * javax/swing/RepaintManager.java: Likewise.
5543
5544 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5545 * javax/swing/JList.java
5546 (setSelectedIndices):
5547 (getSelectedIndices):
5548 (getSelectedValues): New functions.
5549 (getPreferredScrollableViewportSize): Return preferred size.
5550 (getScrollableUnitIncrement):
5551 (getScrollableBlockIncrement): Initial implementations.
5552 * javax/swing/JRootPane.java: Clean up slightly.
5553 (getUI):
5554 (setUI):
5555 (updateUI):
5556 (getUIClassID):
5557 (isValidateRoot): Add overrides from JComponent.
5558 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5559 * javax/swing/UIManager.java (getDimension): Return the dimension.
5560
5561 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5562 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5563 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5564 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5565 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5566 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5567 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5568 * javax/swing/plaf/basic/BasicRootPaneUI.java:
5569 Likewise, and set background.
5570 * javax/swing/plaf/basic/BasicListUI.java:
5571 Likewise, and improve a bit.
5572 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5573 Likewise, and adjust calculations.
5574 * javax/swing/plaf/basic/BasicViewportUI.java:
5575 Likewise, and improve a bit.
5576 * javax/swing/plaf/basic/BasicLookAndFeel.java
5577 (Button.margin): Shrink.
5578
5579 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5580 Hack to set horizontal always, workaround pango.
5581
5582 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5584 Synchronize more often, check cairo status after ops,
5585 handle changes to cairo pattern API, check for disposal.
5586
5587 2004-05-21 Olga Rodimina <rodimina@redhat.com>
5588
5589 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5590 (BasicMenuItemUI): Create propertyChangeListener.
5591 (getPath):Implemented.
5592 (installListeners): Add propertyChangeListener to menuItem.
5593 (uninstallListeners): Remove propertyChangeListener from menuItem.
5594 (update): Implemented.
5595 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5596 (mouseEntered): Take insets of popup menu into account when
5597 calculating position of popup menu.
5598
5599 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5600
5601 * Makefile.am: Added new file.
5602 * Makefile.in: Regenerate.
5603 * javax/swing/JMenuBar.java:
5604 Started implementation.
5605 * javax/swing/JPopupMenu.java:
5606 (setVisible): Fixed location of lightweight/mediumweight
5607 popup menu.
5608 (show): Fixed location of PopupMenu.
5609 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5610 New file. UI Delegate for JMenuBar.
5611 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5612 (mouseEntered): Corrected position of the submenu.
5613
5614 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5615
5616 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5617 to _gtk_accel_group_attach.
5618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5619 Likewise.
5620
5621 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5622 package access. Don't override setFont.
5623 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5624 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5625 gtkWidgetRequestFocus package access.
5626 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5627 setFont.
5628 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5629 Give gtkWidgetRequestFocus package access.
5630 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5631 gtkWidgetRequestFocus package access. Don't override setFont.
5632 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5633 setFont.
5634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5635 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5636 region.
5637 (gtkSetFont): Likewise.
5638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5639 Implement.
5640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5641 (gtkSetFont): Whitespace fix.
5642
5643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5644 (gtkWidgetSetUsize): Remove method.
5645
5646 2004-05-18 David Jee <djee@redhat.com>
5647
5648 * java/awt/image/MemoryImageSource.java
5649 (newPixels(int,int,int,int,boolean)): Set only the specified
5650 rectangle of pixels.
5651 (newPixels(byte[],ColorModel,int,int)): Implement.
5652 (newPixels(int[],ColorModel,int,int)): Implement.
5653
5654 2004-05-18 Olga Rodimina <rodimina@redhat.com>
5655
5656 * Makefile.am: Added new file.
5657 * Makefile.in: Regenerate.
5658 * javax/swing/JMenu.java: Started
5659 implementation.
5660 * javax/swing/JPopupMenu.java:
5661 (insert): If specified index is -1, then
5662 add component at the end.
5663 (isPopupTrigger): Reimplemented.
5664 (JPopupMenu.LightWeightPopup): setBounds
5665 of the lightWeightPopup before adding it
5666 to the layeredPane.
5667 (javax/swing/plaf/basic/BasicIconFactory.java):
5668 (getMenuArrowIcon): Implemented.
5669 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5670 (getPreferredSize): Add size of the arrow icon
5671 if this menu item is instance of JMenu.
5672 (paintMenuItem): Paint arrow icon if this
5673 menu item is a submenu.
5674 * javax/swing/plaf/basic/BasicMenuUI.java:
5675 New File. UI Delegate for JMenu.
5676
5677 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5678
5679 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5680 Post KEY_TYPED events.
5681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5682 (generates_key_typed_event): Remove function.
5683
5684 2004-05-17 Olga Rodimina <rodimina@redhat.com>
5685
5686 * javax/swing/JRootPane.java
5687 (JRootPane.RootLayout): Reimplemented to
5688 set bounds of contentPane and menuBar.
5689 (setJMenuBar): Add menu bar to the layered pane.
5690 (createLayeredPane): Set layout of layeredPane
5691 to null.
5692 * javax/swing/JLayeredPane.java:
5693 (addImpl): Calculate index of the component in the
5694 layeredPane according to the specified position within
5695 the layer.
5696
5697 2004-05-17 David Jee <djee@redhat.com>
5698
5699 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5700 (setPixels): Change color model to the default model after
5701 converting pixels.
5702 * java/awt/image/MemoryImageSource.java
5703 (newPixels): Set only the specified rectangle of pixels.
5704
5705 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5706
5707 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
5708 -l-java-beans -l-javax-accessibility -l-javax-swing.
5709
5710 * java/awt/AWTEvent.java (toString): Print source's name rather
5711 than the source itself.
5712
5713 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5714
5715 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
5716 native.
5717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5718 (gdk_color_to_java_color): New function.
5719 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
5720
5721 2004-05-12 David Jee <djee@redhat.com>
5722
5723 * java/awt/image/RGBImageFilter.java:
5724 Initialize origmodel as null.
5725 (makeColor): Fix pixel component order.
5726 (filterRGBPixels): Fix pixel iteration.
5727 (setPixels): Add extra checks for index color model. Convert pixels
5728 to default color model if necessary.
5729 (convertColorModelToDefault): New override method for byte pixels.
5730 (convertColorModelToDefault): For int pixels, fix pixel iteration.
5731 (makeColorbyDefaultCM): New override method for byte pixels.
5732 (makeColorbyDefaultCM): For int pixel, add color model as argument.
5733 (makeColor): Fix pixel component order.
5734
5735 2004-05-11 Kim Ho <kho@redhat.com>
5736
5737 * javax/swing/Box.java:
5738 Comment out more parts of Box.Filler.
5739
5740 2004-05-11 Kim Ho <kho@redhat.com>
5741
5742 * javax/swing/Box.java:
5743 Remove reference to AccessibleAWTComponent so
5744 it compiles again.
5745
5746 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
5747
5748 * gnu/java/awt/peer/gtk/GtkListPeer.java,
5749 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
5750 implementation of list peer to use GtkTreeView instead of
5751 deprecated GtkCList.
5752
5753 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5754
5755 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5756 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
5757 (handleEvent): Remove keyChar argument to
5758 gtkWidgetDispatchKeyEvent calls.
5759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
5760 compiler warnings.
5761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
5762 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
5763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5764 Likewise.
5765
5766 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5767
5768 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5769 (gtkWidgetRequestFocus): Mark protected.
5770 (GtkComponentPeer): Only set the peer's bounds if its component
5771 is valid.
5772 * java/awt/Component.java (static): Set the default keyboard
5773 focus manager.
5774 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
5775 requestFocusInWindow(temporary)): Don't request focus if the
5776 component is not showing. Get tree lock before traversing
5777 component hierarchy.
5778 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5779 Only set the global focus owner if it is not a Window.
5780 (processKeyEvent): Consume keystrokes associated with the focus
5781 traversal keystroke.
5782 (focusPreviousComponent, focusNextComponent, upFocusCycle,
5783 downFocusCycle): Call requestFocusInWindow instead of
5784 requestFocus.
5785 * java/awt/EventDispatchThread.java (run): Move setting of
5786 default keyboard focus manager to Component.java.
5787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5788 (awt_keycode_to_keysym): New function.
5789 (gtkWidgetDispatchKeyEvent): Finish implementation.
5790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5791 (pre_event_handler): Add FIXME comment.
5792
5793 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5794 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5795 (gtkWidgetRequestFocus): New method.
5796 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
5797 disable Tab and Shift-Tab keystrokes.
5798 (addNotify, appendText, insertText, replaceText): Simplify peer
5799 retrieval code.
5800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5801 (connectSignals): Remove connections to "commit" signals.
5802 Remove C++-style comments.
5803
5804 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5805 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5806 (handleEvent): Activate GTK button when the space bar key is
5807 pressed.
5808 (gtkActivate): New method.
5809
5810 2004-05-06 David Jee <djee@redhat.com>
5811
5812 * java/awt/image/CropImageFilter.java
5813 (setPixels): Implement for byte array pixels.
5814 * java/awt/image/ReplicateScaleFilter.java
5815 (setPixels): Implement for byte array pixels.
5816 (replicatePixels): Overload for byte array pixels.
5817
5818 2004-05-06 Kim Ho <kho@redhat.com>
5819
5820 * javax/swing/Box.java:
5821 (getAccessibleContext): Return an instance of the
5822 correct class.
5823
5824 2004-05-05 David Jee <djee@redhat.com>
5825
5826 * gnu/java/awt/peer/gtk/GdkGraphics.java
5827 (drawImage): When component is null, use SystemColor.window as
5828 the default bgcolor.
5829 * gnu/java/awt/peer/gtk/GtkImage.java
5830 (setPixels): We can avoid iterating through the pixel rows only
5831 when height is 1.
5832 * java/awt/Image.java
5833 (getScaledInstance): Partially implement.
5834 * java/awt/image/CropImageFilter.java
5835 (setProperties): Fix "filter" property.
5836 (setPixels): Implement.
5837 * java/awt/image/ReplicateScaleFilter.java
5838 (setDimensions): Use scaled dimensions.
5839 (setPixels): Implement.
5840 (replicatePixels): New method.
5841
5842 2004-05-05 David Jee <djee@redhat.com>
5843
5844 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5845 (convertPixels): If either pixels or model is null, return null.
5846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
5847 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
5848 is null, do nothing and return.
5849
5850 2004-05-03 Kim Ho <kho@redhat.com>
5851
5852 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
5853 (getGraphics): Like GtkFramePeer, the Graphics
5854 object needs to be translate to account for
5855 window decorations.
5856 (postMouseEvent): New method. Account for
5857 translation.
5858 (postExposeEvent): ditto.
5859 * javax/swing/Box.java: Stubbed.
5860 * javax/swing/JDialog.java: Ran through jalopy
5861 to fix indentation.
5862 (JDialog): Call SwingUtilities' getOwnerFrame
5863 for null owners.
5864 (setLayout): Check isRootPaneCheckingEnabled
5865 * javax/swing/JOptionPane.java: Re-implemented.
5866 * javax/swing/SwingUtilities.java:
5867 (getOwnerFrame): Static method to grab a default
5868 owner frame for Dialogs that don't specify owners.
5869 * javax/swing/event/SwingPropertyChangeSupport.java:
5870 (firePropertyChange): Fix early exit condition.
5871 * javax/swing/plaf/basic/BasicLabelUI.java:
5872 (paint): Avoid painting text if it is null
5873 or empty.
5874 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5875 Implement.
5876
5877 2004-05-03 Olga Rodimina <rodimina@redhat.com>
5878
5879 * Makefile.am: Added new file.
5880 * Makefile.in: Regenerate.
5881 * javax/swing/JPopupMenu.java:
5882 Started implementation.
5883 * javax/swing/JWindow.java
5884 (JWindow): call super() if parent for window
5885 is not specified.
5886 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
5887 New File. UI Delegate for JPopupMenu.
5888
5889 2004-04-30 Olga Rodimina <rodimina@redhat.com>
5890
5891 * javax/swing/JApplet.java: Indicated that JApplet
5892 implements RootPaneContainer and made method of this
5893 interface public.
5894 * javax/swing/JFrame.java: Ditto.
5895 * javax/swing/JWindow.java: Ditto.
5896
5897 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
5898
5899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5900 (nativeSetBounds): Call gdk_window_move in addition to
5901 gtk_window_move.
5902
5903 * java/applet/Applet.java (preferredSize): Call parent's
5904 preferredSize if the applet stub is null.
5905 (minimumSize): Likewise for parent's minimumSize.
5906
5907 2004-04-27 Olga Rodimina <rodimina@redhat.com>
5908
5909 * javax/swing/JMenuItem.java
5910 (createActionPropertyChangeListener): Implemented.
5911 (processMouseEvent): Ditto.
5912 (fireMenuDragMouseEntered): Ditto.
5913 (fireMenuDragMouseExited): Ditto.
5914 (fireMenuDragMouseDragged): Ditto.
5915 (fireMenuDragMouseReleased): Ditto.
5916 (menuSelectionChanged): Ditto.
5917 (getSubElements): Ditto.
5918 (getComponent): Ditto.
5919 (addMenuDragMouseListener): Ditto.
5920 (removeMenuDragMouseListener):Ditto.
5921 (addMenuKeyListener): Ditto.
5922 (removeMenuKeyListener): Ditto.
5923 * javax/swing/plaf/basic/BasicMenuItemUI.java
5924 (doClick): Imlemented.
5925 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
5926 Don't handle mouse events here. Pass them to
5927 MenuSelectionManager.
5928
5929 2004-04-26 Olga Rodimina <rodimina@redhat.com>
5930 Used correct version of jalopy configuration
5931 file to fix style in the files below.
5932
5933 2004-04-26 Olga Rodimina <rodimina@redhat.com>
5934
5935 * javax/swing/JCheckBoxMenuItem.java:
5936 Fixed style and removed unnecessary comments.
5937 * javax/swing/JMenuItem.java: Ditto.
5938 * javax/swing/JRadioButtonMenuItem.java: Ditto.
5939 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
5940 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
5941 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
5942
5943 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5944
5945 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
5946 C-style.
5947
5948 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
5949
5950 * java/awt/ContainerOrderFocusTraversalPolicy.java
5951 (getComponentAfter): Start from current component and work up
5952 the component hierarchy until an acceptable component is found.
5953 Synchronize on tree lock.
5954 (getComponentBefore): Likewise.
5955
5956 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5957
5958 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
5959 focus-related debugging messages.
5960 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
5961 * java/awt/EventDispatchThread.java: Likewise.
5962 * java/awt/KeyboardFocusManager.java: Likewise.
5963 * java/awt/Window.java: Likewise.
5964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5965 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
5966
5967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
5968 new C++-style comments to C-style comments.
5969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
5970
5971 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5972 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5973 (handleEvent): Dispatch key press and key release events to
5974 backing widget.
5975 (requestFocus): Post a FOCUS_GAINED event to the event queue.
5976 (gtkWidgetRequestFocus): New method.
5977 (gtkWidgetDispatchKeyEvent): Likewise.
5978 * java/awt/Component.java (requestFocus, requestFocus(boolean),
5979 requestFocusInWindow, requestFocusInWindow(boolean),
5980 getFocusCycleRootAncestor, nextFocus, transferFocus,
5981 transferFocusBackward, transferFocusUpCycle, hasFocus,
5982 isFocusOwner): Implement and document focus-handling methods.
5983 (setFocusTraversalKeys): Inherit focus traversal keys when
5984 keystrokes argument is null. Fix focus-handling documentation
5985 throughout class.
5986 * java/awt/Container.java (setFocusTraversalKeys,
5987 getFocusTraversalKeys, areFocusTraversalKeysSet,
5988 isFocusCycleRoot, setFocusTraversalPolicy,
5989 getFocusTraversalPolicy, isFocusTraversalPolicySet,
5990 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
5991 Implement and document focus-handling methods.
5992 (transferFocusBackward): Remove method.
5993 (readObject, writeObject): Implement and document serialization
5994 methods.
5995 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
5996 and document.
5997 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
5998 document.
5999 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6000 partially document.
6001 * java/awt/EventDispatchThread.java (run): Set default keyboard
6002 focus manager. Attempt to dispatch each event to the keyboard
6003 focus manager before normal dispatch.
6004 * java/awt/KeyboardFocusManager.java: Implement and partially
6005 document.
6006 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6007 (show): Focus initial component when window is shown for the
6008 first time.
6009 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6010 (pre_event_handler): Replace complex key press and key release
6011 logic with simple callbacks into GtkComponentPeer.
6012 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6013
6014 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6015
6016 * javax/swing/MenuSelectionManager.java
6017 (componentForPoint): Added new method.
6018 (defaultManager): New Method. Implemented.
6019 (getSelectedPath): Ditto.
6020 (isComponentPartOfCurrentMenu): Ditto.
6021 (processKeyEvent): Added new method.
6022 (processMouseEvent): New Method. Implemented.
6023 (setSelectedPath): Ditto.
6024 (getPath): Ditto.
6025
6026 2004-04-19 Kim Ho <kho@redhat.com>
6027
6028 * java/awt/Container.java:
6029 (remove): Set the component's parent to null.
6030 (getComponentAt): Implement.
6031 * javax/swing/JComponent.java:
6032 (JComponent): Initialize defaultLocale
6033 (getDefaultLocale): Implement.
6034 (setDefaultLocale): ditto.
6035 * javax/swing/JSlider.java:
6036 (JSlider): Fix calculation of value.
6037 * javax/swing/JSplitPane.java: Implement.
6038 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6039 Change SplitPane's default divider size.
6040 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6041 (paint): Remove unused code.
6042 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6043 Added comments and ran through jalopy.
6044 (setBasicSplitPaneUI): Get reference to hidden divider
6045 and set up one touch buttons if necessary.
6046 (setBorder): Fire propertyChangeEvent only if
6047 borders are different.
6048 (getPreferredSize): Defer to layout manager.
6049 (propertyChange): Implement.
6050 (oneTouchExpandableChanged): ditto.
6051 (createLeftOneTouchButton): Use BasicArrowButton.
6052 (createRightOneTouchButton): ditto.
6053 (moveDividerTo): New method. Moves the divider
6054 to a set location based on the last divider location.
6055 (BasicSplitPaneDivider::MouseHandler): Implement.
6056 (BasicSplitPaneDivider::OneTouchButton): Removed.
6057 (BasicSplitPaneDivider::DragController): Implement.
6058 (BasicSplitPaneDivider::VerticalDragController):
6059 ditto.
6060 (BasicSplitPaneDivider::DividerLayout): ditto.
6061 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6062 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6063 (calculateLayoutInfo): Don't show component if it's
6064 null.
6065 (paintTab): Fix title paint logic.
6066
6067 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6068
6069 PR libgcj/8321
6070 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6071 (setStartRule,setEndRule): Don't take abs of day number.
6072 (getOffset): Clarify docs. Add argument checks.
6073 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6074 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6075 endTimeMode.
6076 * testsuite/libjava.mauve/xfails
6077 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6078
6079 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6080
6081 Layout interfaces during preparation, not initialization.
6082 * java/lang/natClass.cc (initializeClass): Move
6083 _Jv_LayoutInterfaceMethods call...
6084 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6085
6086 2004-05-19 Anthony Green <green@localhost.localdomain>
6087
6088 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6089 gnu.javax.rmi code.
6090 * Makefile.in: Rebuilt.
6091 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6092 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6093 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6094 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6095 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6096 gnu/javax/rmi/CORBA/DelegateFactory.java,
6097 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6098 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6099 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6100 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6101 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6102 gnu/javax/rmi/PortableServer.java: Remove files.
6103
6104 2004-05-19 Anthony Green <green@redhat.com>
6105
6106 * Makefile.am: Define JAVA_EXT_DIRS.
6107 * Makefile.in: Rebuilt.
6108 * java/lang/natRuntime.cc (insertSystemProperties): Set
6109 java.ext.dirs property.
6110
6111 2004-05-16 Mark Wielaard <mark@klomp.org>
6112
6113 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6114
6115 2004-05-15 Mark Wielaard <mark@klomp.org>
6116
6117 * doc/cni.sgml: Removed, merged into gcj.texi.
6118
6119 2004-05-15 Mark Wielaard <mark@klomp.org>
6120
6121 * Makefile.am (ordinary_java_source_files): Add new javax.print
6122 classes.
6123 * Makefile.in: Regenerated.
6124
6125 2004-05-15 Michael Koch <konqueror@gmx.de>
6126
6127 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6128 javax/print/attribute/standard/DateTimeAtCreation.java,
6129 javax/print/attribute/standard/DateTimeAtProcessing.java,
6130 javax/print/attribute/standard/DocumentName.java,
6131 javax/print/attribute/standard/JobHoldUntil.java,
6132 javax/print/attribute/standard/JobImpressionsCompleted.java,
6133 javax/print/attribute/standard/JobMessageFromOperator.java,
6134 javax/print/attribute/standard/JobName.java,
6135 javax/print/attribute/standard/JobOriginatingUserName.java,
6136 javax/print/attribute/standard/JobPriority.java,
6137 javax/print/attribute/standard/JobPrioritySupported.java,
6138 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6139 javax/print/attribute/standard/OutputDeviceAssigned.java,
6140 javax/print/attribute/standard/PrinterInfo.java,
6141 javax/print/attribute/standard/PrinterLocation.java,
6142 javax/print/attribute/standard/PrinterMakeAndModel.java,
6143 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6144 javax/print/attribute/standard/PrinterName.java,
6145 javax/print/attribute/standard/QueuedJobCount.java,
6146 javax/print/attribute/standard/RequestingUserName.java:
6147 Fixed javadocs all over.
6148
6149 2004-05-15 Michael Koch <konqueror@gmx.de>
6150
6151 * javax/print/DocFlavor.java,
6152 javax/print/attribute/standard/ColorSupported.java,
6153 javax/print/attribute/standard/Compression.java,
6154 javax/print/attribute/standard/CopiesSupported.java,
6155 javax/print/attribute/standard/Fidelity.java,
6156 javax/print/attribute/standard/Finishings.java,
6157 javax/print/attribute/standard/JobImpressionsSupported.java,
6158 javax/print/attribute/standard/JobKOctetsSupported.java,
6159 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6160 javax/print/attribute/standard/JobSheets.java,
6161 javax/print/attribute/standard/JobState.java,
6162 javax/print/attribute/standard/JobStateReason.java,
6163 javax/print/attribute/standard/JobStateReasons.java,
6164 javax/print/attribute/standard/Media.java,
6165 javax/print/attribute/standard/MediaSizeName.java,
6166 javax/print/attribute/standard/MultipleDocumentHandling.java,
6167 javax/print/attribute/standard/NumberUpSupported.java,
6168 javax/print/attribute/standard/OrientationRequested.java,
6169 javax/print/attribute/standard/PDLOverrideSupported.java,
6170 javax/print/attribute/standard/PageRanges.java,
6171 javax/print/attribute/standard/PresentationDirection.java,
6172 javax/print/attribute/standard/PrintQuality.java,
6173 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6174 javax/print/attribute/standard/PrinterMoreInfo.java,
6175 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6176 javax/print/attribute/standard/PrinterResolution.java,
6177 javax/print/attribute/standard/PrinterState.java,
6178 javax/print/attribute/standard/PrinterStateReason.java,
6179 javax/print/attribute/standard/PrinterStateReasons.java,
6180 javax/print/attribute/standard/PrinterURI.java,
6181 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6182 javax/print/attribute/standard/Severity.java,
6183 javax/print/attribute/standard/SheetCollate.java,
6184 javax/print/attribute/standard/Sides.java:
6185 Added serialVersionUID and removed final keyword where it doenst
6186 belong.
6187
6188 2004-05-15 Michael Koch <konqueror@gmx.de>
6189
6190 * javax/print/PrintServiceLookup.java: New file.
6191
6192 2004-05-15 Michael Koch <konqueror@gmx.de>
6193
6194 * javax/print/DocFlavor.java:
6195 Implemented all flavor classes.
6196
6197 2004-05-15 Michael Koch <konqueror@gmx.de>
6198
6199 * javax/print/attribute/standard/ColorSupported.java,
6200 javax/print/attribute/standard/Compression.java,
6201 javax/print/attribute/standard/CopiesSupported.java,
6202 javax/print/attribute/standard/Fidelity.java,
6203 javax/print/attribute/standard/Finishings.java,
6204 javax/print/attribute/standard/JobImpressionsSupported.java,
6205 javax/print/attribute/standard/JobKOctetsSupported.java,
6206 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6207 javax/print/attribute/standard/JobSheets.java,
6208 javax/print/attribute/standard/JobState.java,
6209 javax/print/attribute/standard/JobStateReason.java,
6210 javax/print/attribute/standard/JobStateReasons.java,
6211 javax/print/attribute/standard/Media.java,
6212 javax/print/attribute/standard/MediaSizeName.java,
6213 javax/print/attribute/standard/MultipleDocumentHandling.java,
6214 javax/print/attribute/standard/NumberUpSupported.java,
6215 javax/print/attribute/standard/OrientationRequested.java,
6216 javax/print/attribute/standard/PDLOverrideSupported.java,
6217 javax/print/attribute/standard/PageRanges.java,
6218 javax/print/attribute/standard/PresentationDirection.java,
6219 javax/print/attribute/standard/PrintQuality.java,
6220 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6221 javax/print/attribute/standard/PrinterMoreInfo.java,
6222 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6223 javax/print/attribute/standard/PrinterResolution.java,
6224 javax/print/attribute/standard/PrinterState.java,
6225 javax/print/attribute/standard/PrinterStateReason.java,
6226 javax/print/attribute/standard/PrinterStateReasons.java,
6227 javax/print/attribute/standard/PrinterURI.java,
6228 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6229 javax/print/attribute/standard/Severity.java,
6230 javax/print/attribute/standard/SheetCollate.java,
6231 javax/print/attribute/standard/Sides.java: New files.
6232
6233 2004-05-15 Michael Koch <konqueror@gmx.de>
6234
6235 * javax/print/Doc.java
6236 (getPrintData): Throws IOException.
6237 (getReaderForText): Likewise.
6238 (getStreamForBytes): Likewise.
6239 * javax/print/DocFlavor.java:
6240 Fixed filename in copyright.
6241 (serialVersionUID): New field.
6242 * javax/print/ServiceUIFactory.java:
6243 Made all constants final.
6244 * javax/print/AttributeException.java
6245 javax/print/MultiDoc.java
6246 javax/print/MultiDocPrintJob.java
6247 javax/print/MultiDocPrintService.java
6248 javax/print/StreamPrintService.java
6249 javax/print/URIException.java: New files.
6250 * javax/print/Makefile.am
6251 (EXTRA_DIST): Added all new files.
6252
6253 2004-05-15 Michael Koch <konqueror@gmx.de>
6254
6255 * javax/print/attribute/standard/Copies.java,
6256 javax/print/attribute/standard/DateTimeAtCompleted.java,
6257 javax/print/attribute/standard/DateTimeAtCreation.java,
6258 javax/print/attribute/standard/DateTimeAtProcessing.java,
6259 javax/print/attribute/standard/DocumentName.java,
6260 javax/print/attribute/standard/JobHoldUntil.java,
6261 javax/print/attribute/standard/JobImpressions.java,
6262 javax/print/attribute/standard/JobImpressionsCompleted.java,
6263 javax/print/attribute/standard/JobKOctets.java,
6264 javax/print/attribute/standard/JobKOctetsProcessed.java,
6265 javax/print/attribute/standard/JobMediaSheets.java,
6266 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6267 javax/print/attribute/standard/JobMessageFromOperator.java,
6268 javax/print/attribute/standard/JobName.java,
6269 javax/print/attribute/standard/JobOriginatingUserName.java,
6270 javax/print/attribute/standard/JobPriority.java,
6271 javax/print/attribute/standard/JobPrioritySupported.java,
6272 javax/print/attribute/standard/NumberOfDocuments.java,
6273 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6274 javax/print/attribute/standard/NumberUp.java,
6275 javax/print/attribute/standard/OutputDeviceAssigned.java,
6276 javax/print/attribute/standard/PagesPerMinute.java,
6277 javax/print/attribute/standard/PagesPerMinuteColor.java:
6278 Fixed @return tag all over.
6279
6280 2004-05-15 Michael Koch <konqueror@gmx.de>
6281
6282 * javax/print/attribute/AttributeSetUtilities.java
6283 (verifyCategoryForValue): Fixed typo in javadoc.
6284 * javax/print/attribute/HashAttributeSet.java
6285 (containsKey): Fixed @return tag.
6286 (comtainsValue): Likewise.
6287 (equals): Likewise.
6288 * javax/print/attribute/IntegerSyntax.java
6289 (equals): Likewise.
6290 * javax/print/attribute/ResolutionSyntax.java
6291 (equals): Likewise.
6292 (getCrossFeedResolution): Removed unused code.
6293 (getFeedResolution): Likewise.
6294 * javax/print/attribute/SetOfIntegerSyntax.java
6295 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6296 (equals): Fixed @return tag.
6297 * javax/print/attribute/TextSyntax.java
6298 (TextSyntax): Take locale into account.
6299 (hashCode): Better implementation.
6300
6301 2004-05-15 Michael Koch <konqueror@gmx.de>
6302
6303 * javax/print/CancelablePrintJob.java,
6304 javax/print/Doc.java,
6305 javax/print/DocFlavor.java,
6306 javax/print/DocPrintJob.java,
6307 javax/print/FlavorException.java,
6308 javax/print/PrintException.java,
6309 javax/print/PrintService.java,
6310 javax/print/ServiceUIFactory.java: New files.
6311
6312 2004-05-15 Mark Wielaard <mark@klomp.org>
6313
6314 * gnu/regexp/CharIndexedReader.java: Removed.
6315 * gnu/regexp/REFilterReader.java: Likewise.
6316 * gnu/regexp/RETokenLookAhead.java: Likewise.
6317 * Makefile.am (ordinary_java_source_files): Remove above classes.
6318 * Makefile.in: Regenerated.
6319
6320 2004-05-14 Tom Tromey <tromey@redhat.com>
6321
6322 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6323 not `XGraphicsConfiguration.XOffScreenImage'.
6324
6325 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6326
6327 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6328
6329 2004-05-14 Steven Augart <augart@watson.ibm.com>
6330
6331 * include/jni.h (_Jv_func): Removed.
6332 (struct JNINativeInterface): Use `void *' for reserved slots.
6333 (struct JNIInvokeInterface): Likewise.
6334
6335 2004-05-11 Michael Koch <konqueror@gmx.de>
6336
6337 * gnu/java/net/natPlainSocketImplPosix.cc
6338 (read): Fixed typo in expression.
6339
6340 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6341
6342 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6343 ld_library_additions. Adjust all calls to libjava_invoke to match
6344 the new argument.
6345
6346 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6347 path to cxxflagslist.
6348 Pass path of libstdc++ to libjava_invoke.
6349
6350 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6351 libjava_invoke arguments.
6352
6353 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6354
6355 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6356 reality.
6357
6358 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6359
6360 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6361 main binary against the JNI shared library.
6362
6363 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6364
6365 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6366 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6367 (SimpleTimeZone): Tweak docs. Add new variation.
6368 (setStartRule,setEndRule): Add new variations. Use
6369 startTimeMode and endTimeMode.
6370
6371 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6372
6373 * java/util/Calendar.java (getActualMinimum,
6374 getActualMaximum): Remove abstract. Implement.
6375
6376 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6377
6378 Run the jni tests using the interpreter.
6379 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6380 options_cxx to shared lib compile command.
6381 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6382 they are used to link the shared lib, not the main binary.
6383 Use libjava_invoke to run gij.
6384
6385 2004-05-06 Michael Koch <konqueror@gmx.de>
6386
6387 * java/util/logging/Level.java
6388 (parse): Use == instead of String.equals().
6389
6390 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6391
6392 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6393 verify_field_signature and verify_method_signature, not
6394 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6395 (_Jv_ClassReader::handleField): Likewise.
6396 (_Jv_ClassReader::handleMethod): Likewise.
6397
6398 2004-05-06 Michael Koch <konqueror@gmx.de>
6399
6400 * javax/swing/table/TableColumn.java:
6401 Reformated.
6402
6403 2004-05-06 Michael Koch <konqueror@gmx.de>
6404
6405 * javax/imageio/spi/ImageReaderWriterSpi.java
6406 (ImageReaderWriterSpi): Made it public.
6407 * javax/imageio/stream/ImageInputStream.java:
6408 Clean up imports.
6409
6410 2004-05-06 Michael Koch <konqueror@gmx.de>
6411
6412 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6413 Removed empty line.
6414
6415 2004-05-06 Michael Koch <konqueror@gmx.de>
6416
6417 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6418 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6419 New files.
6420 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6421 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6423 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6424 their own source file.
6425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6426 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6427 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6429 (create): Define variable on top of function.
6430 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6431 (menu_pos): Prototyped.
6432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6433 (setTitle): Removed.
6434 * jni/gtk-peer/gthread-jni.c
6435 (gdk_threads_wake): Removed.
6436 * Makefile.am (gtk_c_source_files): Added new files
6437 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6438 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6439 * Makefile.in: Regenerated.
6440
6441 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6442
6443 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6444 call.
6445
6446 2004-05-05 Mark Wielaard <mark@klomp.org>
6447
6448 * javax/swing/AbstractButton.java: Replace special HTML entities with
6449 ASCII equivalent.
6450 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6451 * javax/swing/DefaultButtonModel.java: Likewise.
6452 * javax/swing/DefaultListModel.java: Likewise.
6453 * javax/swing/JList.java: Likewise.
6454 * javax/swing/JSlider.java: Likewise.
6455 * javax/swing/ListModel.java: Likewise.
6456 * javax/swing/Popup.java: Likewise.
6457 * javax/swing/SwingUtilities.java: Likewise.
6458
6459 2004-05-05 Michael Koch <konqueror@gmx.de>
6460
6461 * javax/swing/AbstractButton.java,
6462 javax/swing/ActionMap.java,
6463 javax/swing/DefaultButtonModel.java,
6464 javax/swing/DefaultListModel.java,
6465 javax/swing/ImageIcon.java,
6466 javax/swing/JComboBox.java,
6467 javax/swing/JComponent.java,
6468 javax/swing/JFrame.java,
6469 javax/swing/JInternalFrame.java,
6470 javax/swing/JMenuBar.java,
6471 javax/swing/JMenuItem.java,
6472 javax/swing/JOptionPane.java,
6473 javax/swing/JProgressBar.java,
6474 javax/swing/JRootPane.java,
6475 javax/swing/JScrollBar.java,
6476 javax/swing/JScrollPane.java,
6477 javax/swing/JSeparator.java,
6478 javax/swing/JSlider.java,
6479 javax/swing/JTabbedPane.java,
6480 javax/swing/JTable.java,
6481 javax/swing/JTextField.java,
6482 javax/swing/JToolBar.java,
6483 javax/swing/JToolTip.java,
6484 javax/swing/JTree.java,
6485 javax/swing/JViewport.java,
6486 javax/swing/JWindow.java,
6487 javax/swing/KeyStroke.java,
6488 javax/swing/LookAndFeel.java,
6489 javax/swing/SwingUtilities.java,
6490 javax/swing/Timer.java,
6491 javax/swing/ToolTipManager.java,
6492 javax/swing/UIDefaults.java,
6493 javax/swing/border/TitledBorder.java,
6494 javax/swing/filechooser/FileSystemView.java,
6495 javax/swing/plaf/basic/BasicButtonListener.java,
6496 javax/swing/plaf/basic/BasicButtonUI.java,
6497 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6498 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6499 javax/swing/plaf/basic/BasicLabelUI.java,
6500 javax/swing/plaf/basic/BasicMenuItemUI.java,
6501 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6502 javax/swing/plaf/basic/BasicRootPaneUI.java,
6503 javax/swing/plaf/basic/BasicScrollBarUI.java,
6504 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6505 javax/swing/plaf/basic/BasicSliderUI.java,
6506 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6507 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6508 javax/swing/table/JTableHeader.java,
6509 javax/swing/text/AbstractDocument.java,
6510 javax/swing/text/DefaultCaret.java,
6511 javax/swing/text/StyledEditorKit.java,
6512 javax/swing/tree/DefaultTreeCellEditor.java:
6513 Cleaned up imports.
6514
6515 2004-05-05 Michael Koch <konqueror@gmx.de>
6516
6517 * java/util/prefs/AbstractPreferences.java
6518 (AbstractPreferences): Added parenthesis for clarity.
6519 Closes classpath bug #7940.
6520
6521 2004-05-05 Tom Tromey <tromey@redhat.com>
6522
6523 * javax/naming/CompoundName.java (endsWith): Look at correct
6524 element of source name.
6525
6526 2004-05-05 Mark Wielaard <mark@klomp.org>
6527
6528 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6529 * java/util/HashMap.java (rehash): Add entry at start of bucket.
6530
6531 2004-05-05 Tom Tromey <tromey@redhat.com>
6532
6533 * java/io/BufferedReader.java (skip): Removed unused
6534 variable.
6535
6536 2004-05-05 Michael Koch <konqueror@gmx.de>
6537
6538 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6539
6540 2004-05-05 Dalibor Topic <robilad@kaffe.org>
6541
6542 * java/text/AttributedString.java,
6543 java/text/AttributedStringIterator.java,
6544 java/text/Collator.java,
6545 java/text/DecimalFormatSymbols.java,
6546 java/text/NumberFormat.java,
6547 java/text/RuleBasedCollator.java:
6548 Cleaned up imports.
6549
6550 2004-05-05 Tom Tromey <tromey@redhat.com>
6551
6552 * java/text/Format.java: Cleaned up imports.
6553 * java/text/DecimalFormat.java: Cleaned up imports.
6554 * java/security/SecureRandom.java: Cleaned up imports.
6555 (SecureRandom): Removed unused variable.
6556 * java/security/UnresolvedPermission.java: Cleaned up imports.
6557 * java/util/Date.java (parse): Removed unused variable.
6558 * java/util/ResourceBundle.java: Cleaned up imports.
6559 (getBundle): Removed unused variable.
6560 (tryBundle): Likewise.
6561 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6562
6563 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6564
6565 * java/text/SimpleDateFormat.java:
6566 (formatWithAttribute): New method. It implements
6567 the formatting process with attributes.
6568 (format): Use formatWithAttribute.
6569 (formatToCharacterIterator): New method. Use
6570 formatWithAttribute.
6571
6572 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6573
6574 * java/text/MessageFormat.java:
6575 (class Field): New class.
6576 (formatToCharacterIterator): New method.
6577 (format): Use formatInternal now.
6578 (formatInternal): New method. String formatter should
6579 be done here (with attributes). Attributes merging supported.
6580 (parse): More documentation.
6581 (getFormatsByArgumentIndex): New method.
6582 (setFormatByArgumentIndex): New method.
6583 (setFormatsByArgumentIndex): New method.
6584
6585 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6586
6587 * java/text/DecimalFormat.java
6588 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6589 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6590 (parse): Fixed handling of exponentiation notation and grouping.
6591
6592 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
6593
6594 * java/text/DecimalFormat.java
6595 (scanFix): Build attribute array. Fixed error reporting.
6596 (applyPatternWithSymbols): Store attributes for the prefix and
6597 suffix.
6598 (formatInternal): New method. Changed the way the string is
6599 computed. Implemented attributes. Cleant up rounding in
6600 exponential notation.
6601 (format): Use formatInternal.
6602 (formatToCharacterIterator): New method.
6603 (exponentRound, negativePrefixRanges, positivePrefixRanges,
6604 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6605 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6606 New fields.
6607
6608 2004-05-04 Dalibor Topic <robilad@kaffe.org>
6609
6610 * java/security/interfaces/DSAKeyPairGenerator.java,
6611 java/security/interfaces/DSAPrivateKey.java,
6612 java/security/interfaces/DSAPublicKey.java,
6613 java/security/interfaces/RSAPrivateKey.java,
6614 java/security/interfaces/RSAPublicKey.java:
6615 Cleaned up imports.
6616
6617 2004-05-04 Michael Koch <konqueror@gmx.de>
6618
6619 * java/nio/ByteBuffer.java,
6620 java/nio/CharBuffer.java,
6621 java/nio/DoubleBuffer.java,
6622 java/nio/FloatBuffer.java,
6623 java/nio/IntBuffer.java,
6624 java/nio/LongBuffer.java,
6625 java/nio/ShortBuffer.java:
6626 (compareTo): Fixed bogus implementation in all buffer classes.
6627
6628 2004-05-04 Ingo Proetel <proetel@aicas.com>
6629
6630 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6631 32 bit pixels not 8 bit pixels.
6632 (isCompatibleRaster): Added javadoc comment.
6633
6634 2004-05-04 Ingo Proetel <proetel@aicas.com>
6635
6636 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6637 scanline stride.
6638
6639 2004-05-04 Ingo Proetel <proetel@aicas.com>
6640
6641 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6642 (getColorModel): Return the actual color model.
6643 (getRaster): Implemented.
6644 (ColorRaster): New inner class.
6645 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6646 a PaintContext.
6647 * java/awt/Color.java (<init>): Make exception more verbose.
6648 (createContext): Use ColorModel when creating a PaintContext.
6649
6650 2004-05-04 Michael Koch <konqueror@gmx.de>
6651
6652 * gnu/java/text/CharacterBreakIterator.java
6653 (previous): Removed unused variable.
6654
6655 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
6656
6657 * gnu/java/text/FormatBuffer.java,
6658 gnu/java/text/AttributedFormatBuffer.java,
6659 gnu/java/text/StringFormatBuffer.java: New classes to implement
6660 attributed iterators in java.text.
6661 * gnu/java/text/FormatCharacterIterator.java: Moved
6662 from java/text as it is an internal class.
6663 * java/text/FormatCharacterIterator.java: Removed.
6664 * java/text/Format.java:
6665 Import gnu.java.text.FormatCharacterIterator.
6666 * Makefile.am (java_source_files): Added new files.
6667 * Makefile.in: Regenerated.
6668
6669
6670 2004-05-04 Mark Wielaard <mark@klomp.org>
6671
6672 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
6673
6674 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
6675
6676 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
6677 * Makefile.in: Rebuilt.
6678
6679 2004-05-03 Mark Wielaard <mark@klomp.org>
6680
6681 * gnu/java/security/der/DERReader.java: Call static methods staticly.
6682 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
6683 * java/net/URL.java
6684 (set(String, String, int, String, String, String, String, String)):
6685 Assign this.file to path or path + "?" + query.
6686 * java/util/Arrays.java: Call static methods staticly.
6687 * java/util/zip/ZipEntry.java: Likewise.
6688 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
6689 dir to this.direction.
6690 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
6691 Assign static field only once.
6692 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
6693
6694 2004-05-03 Mark Wielaard <mark@klomp.org>
6695
6696 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
6697 unused variables hScrollbarHeight and vScrollbarWidth.
6698 (preferredSize): Likewise.
6699 * gnu/java/security/provider/DSAParameters.java (engineToString):
6700 Removed unused call to System.getProperty("line.seperator");
6701 * java/security/Security.java (loadProviders): Return result.
6702
6703 2004-05-03 Tom Tromey <tromey@redhat.com>
6704
6705 * java/net/URLStreamHandler.java (toExternalForm): Removed
6706 unused variables.
6707 unused constructor.
6708 * java/math/BigDecimal.java (divide): Removed unused variable.
6709 * java/lang/Throwable.java: Cleaned up imports.
6710 * java/lang/ClassLoader.java: Cleaned up imports.
6711 * java/io/FilePermission.java (implies): Removed unused
6712 variable.
6713 * java/awt/TextComponent.java: Removed unused import.
6714 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
6715 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
6716 * gnu/java/text/WordBreakIterator.java: Removed unused import.
6717 * gnu/java/text/SentenceBreakIterator.java: Removed unused
6718 import.
6719 * gnu/java/text/LineBreakIterator.java: Removed unused import.
6720 * gnu/java/text/CharacterBreakIterator.java: Removed
6721 unused import.
6722 * gnu/java/security/provider/DSAKeyPairGenerator.java:
6723 Cleaned up imports.
6724 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
6725 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
6726 unused method.
6727 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
6728 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
6729 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
6730 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
6731 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
6732 (lookupProviders): Removed unused variable.
6733 (loadNextServiceProvider): Likewise.
6734 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
6735
6736 2004-05-03 Michael Koch <konqueror@gmx.de>
6737
6738 Fixes PR libgcj/14695:
6739 * java/net/NetworkInterface.java
6740 (getByName): Return null when no interface was found.
6741
6742 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
6743 Tom Tromey <tromey@redhat.com>
6744
6745 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
6746 additional option "-Wmissing-prototypes" for compiling C sources.
6747 Print actual filename for pass/fail rather than $name.c.
6748 * testsuite/libjava.jni/PR15133.java: New testcase file.
6749 * testsuite/libjava.jni/PR15133.c: Likewise.
6750 * testsuite/libjava.jni/PR15133.out: Likewise.
6751
6752 2004-04-30 Roger Sayle <roger@eyesopen.com>
6753
6754 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
6755 ceil and floor.
6756
6757 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
6758
6759 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
6760 limit the maximum heap size to avoid unnecessary thrashing.
6761
6762 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
6763
6764 * java/text/CollationElementIterator.java (reset): Reset
6765 lookahead variables.
6766
6767 2004-04-23 Mark Wielaard <mark@klomp.org>
6768
6769 * jni/classpath/jcl.c: Changed C++ comments into C comments.
6770
6771 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6772
6773 * java/sql/DriverManager.java:
6774 Cleaned up imports.
6775
6776 2004-04-23 Michael Koch <konqueror@gmx.de>
6777
6778 * java/net/URL.java
6779 (hashcode): Don't initialize with default value explicitely.
6780 (getContent): Removed redundant "final" keyword.
6781 (openStream): Likewise.
6782 (getURLStreamHandler): Fixed coding style.
6783 * java/net/URLConnection.java
6784 (defaultAllowUserInteraction): Don't initialize with default value
6785 explicitely.
6786 (connected): Likewise.
6787 (doOutput): Likewise.
6788 (ifModifiedSince): Likewise.
6789 (dateformats_initialized): Likewise.
6790 (setURLStreamHander): Use StreamTokenizer where it belongs to.
6791
6792 2004-04-23 Michael Koch <konqueror@gmx.de>
6793
6794 * gnu/java/nio/channels/FileChannelImpl.java
6795 (SET, CUR): Unused, removed.
6796 (read): Implement here directly.
6797 (implRead): Removed.
6798 (write): Implement here directly.
6799 (implWrite): Removed.
6800
6801 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6802
6803 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6804 javax/rmi/CORBA/Stub.java,
6805 javax/rmi/CORBA/Util.java,
6806 javax/rmi/CORBA/ValueHandler.java,
6807 javax/rmi/CORBA/ValueHandler.java,
6808 javax/rmi/PortableRemoteObject.java:
6809 Cleaned up imports.
6810
6811 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6812
6813 * java/util/jar/JarFile.java,
6814 java/util/jar/JarInputStream.java,
6815 java/util/jar/JarOutputStream.java,
6816 java/util/jar/Manifest.java:
6817 Cleaned up imports.
6818
6819 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6820
6821 * java/util/ArrayList.java,
6822 java/util/Calendar.java,
6823 java/util/Currency.java,
6824 java/util/HashMap.java,
6825 java/util/HashSet.java,
6826 java/util/Hashtable.java,
6827 java/util/LinkedList.java,
6828 java/util/Properties.java,
6829 java/util/PropertyPermission.java,
6830 java/util/TimeZone.java,
6831 java/util/TreeMap.java,
6832 java/util/TreeSet.java,
6833 java/util/Vector.java,
6834 java/util/WeakHashMap.java:
6835 Cleaned up imports.
6836
6837 2004-04-23 Dalibor Topic <robilad@kaffe.org>
6838
6839 * java/util/logging/FileHandler.java,
6840 java/util/logging/Formatter.java,
6841 java/util/logging/Handler.java,
6842 java/util/logging/Logger.java,
6843 java/util/logging/SimpleFormatter.java,
6844 java/util/logging/XMLFormatter.java:
6845 Cleaned up imports.
6846
6847 2004-04-22 Mark Wielaard <mark@klomp.org>
6848
6849 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
6850 -Wno-long-long flags variable.
6851 (gtk_c_files): Use PEDANTIC_CFLAGS.
6852 * Makefile.in: Regenerated.
6853
6854 2004-04-22 Mark Wielaard <mark@klomp.org>
6855
6856 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6857 Changed C++ comments into C comments.
6858 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
6859 Likewise.
6860
6861 2004-04-22 Michael Koch <konqueror@gmx.de>
6862
6863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6864 Merged copyright year with GNU classpath.
6865
6866 2004-04-22 Dalibor Topic <robilad@kaffe.org>
6867
6868 * javax/security/auth/x500/X500Principal.java:
6869 Cleaned up imports.
6870
6871 2004-04-22 Dalibor Topic <robilad@kaffe.org>
6872
6873 * javax/swing/JSlider.java:
6874 Fixed HTML tags in comments.
6875
6876 2004-04-22 Dalibor Topic <robilad@kaffe.org>
6877
6878 * javax/accessibility/AccessibleText.java:
6879 Cleaned up imports.
6880
6881 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
6882
6883 * java/net/URLStreamHandler.java
6884 (parseURL): Convert the file path to using '/' instead of native
6885 file separator.
6886
6887 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
6888
6889 * java/net/URL.java
6890 (userInfo): New field.
6891 (URL): Set authority to the right value.
6892 (setURL): Fixed authority and file initialization.
6893 * java/net/URLStreamHandler.java
6894 (parseURL): Take care of the query tag. Build authority.
6895 (toExternalForm): Fixed URL building using authority.
6896
6897 2004-04-22 Michael Koch <konqueror@gmx.de>
6898
6899 * java/net/Socket.java
6900 (impl): Made package-private.
6901 * java/net/ServerSocket.java
6902 (implAccept): Access Socket.impl field directly.
6903
6904 2004-04-22 Dalibor Topic <robilad@kaffe.org>
6905
6906 * java/util/prefs/Preferences.java,
6907 java/util/prefs/InvalidPreferencesFormatException.java,
6908 java/util/prefs/BackingStoreException.java,
6909 java/util/prefs/AbstractPreferences.java:
6910 Cleaned up imports.
6911
6912 2004-04-22 Dalibor Topic <robilad@kaffe.org>
6913
6914 * java/util/regex/Matcher.java,
6915 java/util/regex/Pattern.java:
6916 Cleaned up imports.
6917
6918 2004-04-22 Michael Koch <konqueror@gmx.de>
6919
6920 * java/nio/charset/IllegalCharsetNameException.java
6921 (charsetName): Made private.
6922 (IllegalCharsetNameException): Added @param tag to javadoc.
6923 (getCharsetName): Added @return tag to javadoc.
6924 * java/nio/charset/MalformedInputException.java
6925 (MalformedInputException): Added @param tag to javadoc.
6926 (getInputLength): Revised method description, added @return tag.
6927 (getMessage): Added @return tag.
6928
6929 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
6930
6931 * java/awt/Font.java (deriveFont): Implement missing variants.
6932 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
6933 missing variants.
6934
6935 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
6936
6937 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
6938 Set method->index values for interface methods to their itable index.
6939 (initializeClass): Call _Jv_LayoutInterfaceMethods.
6940
6941 2004-04-21 Michael Koch <konqueror@gmx.de>
6942
6943 * java/nio/DirectByteBufferImpl.java
6944 (shiftDown): Made static, give address as argument and
6945 provide a convenience method that overwrites shiftDown in
6946 ByteBufferImpl and calls the native shiftDown.
6947 * java/nio/MappedByteBufferImpl.java
6948 (): Use optimized method in DirectByteBufferImpl.
6949 * java/nio/natDirectByteBufferImpl.cc
6950 (shiftDown): Changed method signature. Removed usage of array_offset.
6951
6952 2004-04-21 Michael Koch <konqueror@gmx.de>
6953
6954 * gnu/java/net/natPlainSocketImplPosix.cc
6955 (SocketInputStream::read): Make sure returned data is a byte value.
6956
6957 2004-04-21 Michael Koch <konqueror@gmx.de>
6958
6959 * gnu/classpath/ServiceFactory.java,
6960 gnu/classpath/ServiceProviderLoadingAction.java,
6961 javax/imageio/ImageReader.java,
6962 javax/imageio/ImageTranscoder.java,
6963 javax/imageio/ImageWriter.java,
6964 javax/imageio/package.html,
6965 javax/imageio/spi/IIOServiceProvider.java,
6966 javax/imageio/spi/ImageInputStreamSpi.java,
6967 javax/imageio/spi/ImageOutputStreamSpi.java,
6968 javax/imageio/spi/ImageReaderWriterSpi.java,
6969 javax/imageio/spi/ImageTranscoderSpi.java,
6970 javax/imageio/spi/RegisterableService.java,
6971 javax/imageio/spi/ServiceRegistry.java,
6972 javax/imageio/spi/package.html,
6973 javax/imageio/stream/IIOByteBuffer.java,
6974 javax/imageio/stream/ImageInputStream.java,
6975 javax/imageio/stream/ImageOutputStream.java,
6976 javax/imageio/stream/package.html:
6977 New files.
6978 * Makefile.am
6979 (ordinary_java_source_files): Added
6980 gnu/classpath/ServiceFactory.java and
6981 gnu/classpath/ServiceProviderLoadingAction.java.
6982 (javax_source_files): Added
6983 javax/imageio/ImageReader.java,
6984 javax/imageio/ImageTranscoder.java,
6985 javax/imageio/ImageWriter.java,
6986 javax/imageio/spi/IIOServiceProvider.java,
6987 javax/imageio/spi/ImageInputStreamSpi.java,
6988 javax/imageio/spi/ImageOutputStreamSpi.java,
6989 javax/imageio/spi/ImageReaderWriterSpi.java,
6990 javax/imageio/spi/ImageTranscoderSpi.java,
6991 javax/imageio/spi/RegisterableService.java,
6992 javax/imageio/spi/ServiceRegistry.java,
6993 javax/imageio/stream/IIOByteBuffer.java,
6994 javax/imageio/stream/ImageInputStream.java and
6995 javax/imageio/stream/ImageOutputStream.java.
6996 * Makefile.in: Regenerated.
6997
6998 2004-04-21 Michael Koch <konqueror@gmx.de>
6999
7000 * java/util/Properties.java
7001 (load): Fix wrongly merged fix.
7002
7003 2004-04-21 Mark Wielaard <mark@klomp.org>
7004
7005 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7006 malloc and free buf.
7007
7008 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7009
7010 * javax/naming/AuthenticationException.java,
7011 javax/naming/AuthenticationNotSupportedException.java,
7012 javax/naming/CannotProceedException.java,
7013 javax/naming/CommunicationException.java,
7014 javax/naming/CompoundName.java,
7015 javax/naming/ConfigurationException.java,
7016 javax/naming/ContextNotEmptyException.java,
7017 javax/naming/InitialContext.java,
7018 javax/naming/InsufficientResourcesException.java,
7019 javax/naming/InterruptedNamingException.java,
7020 javax/naming/LimitExceededException.java,
7021 javax/naming/LinkException.java,
7022 javax/naming/LinkLoopException.java,
7023 javax/naming/LinkRef.java,
7024 javax/naming/MalformedLinkException.java,
7025 javax/naming/Name.java,
7026 javax/naming/NameAlreadyBoundException.java,
7027 javax/naming/NameNotFoundException.java,
7028 javax/naming/NamingSecurityException.java,
7029 javax/naming/NoInitialContextException.java,
7030 javax/naming/NoPermissionException.java,
7031 javax/naming/NotContextException.java,
7032 javax/naming/PartialResultException.java,
7033 javax/naming/ReferralException.java,
7034 javax/naming/ServiceUnavailableException.java,
7035 javax/naming/SizeLimitExceededException.java,
7036 javax/naming/TimeLimitExceededException.java,
7037 javax/naming/directory/Attribute.java,
7038 javax/naming/directory/Attributes.java,
7039 javax/naming/directory/SearchResult.java,
7040 javax/naming/event/NamingExceptionEvent.java,
7041 javax/naming/spi/ResolveResult.java:
7042 Cleaned up imports.
7043
7044 2004-04-21 Mark Wielaard <mark@klomp.org>
7045
7046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7047 Changed C++ comments into C comments. Removed commented out code.
7048 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7049 Likewise.
7050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7051 Likewise.
7052 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7053 Likewise.
7054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7055 Likewise.
7056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7057 Likewise.
7058 * native/jni/gtk-peer/gthread-jni.c:
7059 Likewise.
7060
7061 2004-04-21 Mark Wielaard <mark@klomp.org>
7062
7063 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7064 static fields defined in interface.
7065 * javax/awt/JDialog.java: Likewise.
7066 (JDialog): Make constructors public.
7067 (getDefaultCloseOperation): Make public.
7068 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7069 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7070 * javax/swing/JViewport.java (JViewport): Make constructor public.
7071
7072 2004-04-21 Michael Koch <konqueror@gmx.de>
7073
7074 * java/util/Map.java
7075 (Entry): Removed redundant "static" modifier.
7076 * java/text/AttributedCharacterIterator.java:
7077 Updated copyright year.
7078
7079 2004-04-20 Michael Koch <konqueror@gmx.de>
7080
7081 * javax/naming/directory/SearchControls.java:
7082 Don't explicitely extend java.lang.Object.
7083 * javax/naming/spi/DirStateFactory.java:
7084 Merged copyright year with GNU classpath.
7085
7086 2004-04-20 Michael Koch <konqueror@gmx.de>
7087
7088 * java/nio/channels/Channels.java:
7089 Merged coding style with GNU classpath.
7090
7091 2004-04-20 Michael Koch <konqueror@gmx.de>
7092
7093 * java/net/ServerSocket.java
7094 Merged coding style from GNU classpath.
7095
7096 2004-04-20 Michael Koch <konqueror@gmx.de>
7097
7098 * java/io/BufferedWriter.java:
7099 Reordered variables to be at top of the class.
7100 (localFlush): Removed redundant final keyword.
7101
7102 2004-04-20 Ingo Proetel <proetel@aicas.com>
7103
7104 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7105
7106 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7107
7108 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7109 for percent and permill check.
7110
7111 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7112
7113 * java/text/FieldPosition.java
7114 (FieldPosition) Constructor now behaves as it should according
7115 to the java documentation.
7116
7117 2004-04-20 Mark Wielaard <mark@klomp.org>
7118
7119 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7120 documentation.
7121
7122 2004-04-20 Michael Koch <konqueror@gmx.de>
7123
7124 * java/nio/Buffer.java,
7125 java/nio/channels/AlreadyConnectedException.java,
7126 java/nio/channels/AsynchronousCloseException.java,
7127 java/nio/channels/ByteChannel.java,
7128 java/nio/channels/CancelledKeyException.java,
7129 java/nio/channels/Channel.java,
7130 java/nio/channels/Channels.java,
7131 java/nio/channels/ClosedByInterruptException.java,
7132 java/nio/channels/ClosedChannelException.java,
7133 java/nio/channels/ClosedSelectorException.java,
7134 java/nio/channels/ConnectionPendingException.java,
7135 java/nio/channels/DatagramChannel.java,
7136 java/nio/channels/FileChannel.java,
7137 java/nio/channels/FileLock.java,
7138 java/nio/channels/FileLockInterruptionException.java,
7139 java/nio/channels/GatheringByteChannel.java,
7140 java/nio/channels/IllegalBlockingModeException.java,
7141 java/nio/channels/IllegalSelectorException.java,
7142 java/nio/channels/InterruptibleChannel.java,
7143 java/nio/channels/NoConnectionPendingException.java,
7144 java/nio/channels/NonReadableChannelException.java,
7145 java/nio/channels/NonWritableChannelException.java,
7146 java/nio/channels/NotYetBoundException.java,
7147 java/nio/channels/NotYetConnectedException.java,
7148 java/nio/channels/OverlappingFileLockException.java,
7149 java/nio/channels/Pipe.java,
7150 java/nio/channels/ReadableByteChannel.java,
7151 java/nio/channels/ScatteringByteChannel.java,
7152 java/nio/channels/SelectableChannel.java,
7153 java/nio/channels/SelectionKey.java,
7154 java/nio/channels/Selector.java,
7155 java/nio/channels/ServerSocketChannel.java,
7156 java/nio/channels/SocketChannel.java,
7157 java/nio/channels/UnresolvedAddressException.java,
7158 java/nio/channels/UnsupportedAddressTypeException.java,
7159 java/nio/channels/WritableByteChannel.java,
7160 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7161 java/nio/channels/spi/AbstractSelectableChannel.java,
7162 java/nio/channels/spi/AbstractSelectionKey.java,
7163 java/nio/channels/spi/AbstractSelector.java,
7164 java/nio/channels/spi/SelectorProvider.java,
7165 java/nio/charset/spi/CharsetProvider.java:
7166 Fixed javadocs and jalopied all over java.nio.
7167
7168 2004-04-20 Michael Koch <konqueror@gmx.de>
7169
7170 * java/nio/ByteBufferImpl.java,
7171 java/nio/CharBufferImpl.java,
7172 java/nio/DirectByteBufferImpl.java,
7173 java/nio/DoubleBufferImpl.java,
7174 java/nio/DoubleViewBufferImpl.java,
7175 java/nio/FloatBufferImpl.java,
7176 java/nio/FloatViewBufferImpl.java,
7177 java/nio/IntBufferImpl.java,
7178 java/nio/IntViewBufferImpl.java,
7179 java/nio/LongBufferImpl.java,
7180 java/nio/LongViewBufferImpl.java,
7181 java/nio/MappedByteBufferImpl.java,
7182 java/nio/ShortBufferImpl.java,
7183 java/nio/ShortViewBufferImpl.java:
7184 Made sure all classes are final and removed final keyword from all
7185 methods.
7186
7187 2004-04-20 Michael Koch <konqueror@gmx.de>
7188
7189 * java/rmi/MarshalledObject.java,
7190 java/rmi/Naming.java,
7191 java/rmi/RemoteException.java,
7192 java/rmi/activation/ActivationException.java,
7193 java/rmi/server/ServerCloneException.java,
7194 java/security/AccessController.java,
7195 java/security/AlgorithmParameterGenerator.java,
7196 java/security/AlgorithmParameters.java,
7197 java/security/CodeSource.java,
7198 java/security/Identity.java,
7199 java/security/IdentityScope.java,
7200 java/security/KeyPairGenerator.java,
7201 java/security/KeyStore.java,
7202 java/security/Security.java,
7203 java/security/Signature.java,
7204 java/security/SignatureSpi.java,
7205 java/security/SignedObject.java,
7206 java/security/spec/DSAParameterSpec.java,
7207 java/security/spec/DSAPrivateKeySpec.java,
7208 java/security/spec/DSAPublicKeySpec.java,
7209 java/sql/Array.java,
7210 java/sql/DatabaseMetaData.java,
7211 java/sql/ResultSet.java,
7212 java/text/ChoiceFormat.java,
7213 java/text/CollationElementIterator.java,
7214 java/text/CollationKey.java,
7215 java/text/Collator.java,
7216 java/text/DateFormat.java,
7217 java/text/DateFormatSymbols.java,
7218 java/text/DecimalFormatSymbols.java,
7219 java/text/Format.java,
7220 java/text/ParsePosition.java,
7221 java/text/RuleBasedCollator.java,
7222 java/text/SimpleDateFormat.java,
7223 java/text/StringCharacterIterator.java,
7224 java/util/Collections.java,
7225 java/util/PropertyResourceBundle.java,
7226 java/util/ResourceBundle.java,
7227 java/util/StringTokenizer.java,
7228 java/util/jar/Attributes.java,
7229 java/util/logging/ConsoleHandler.java,
7230 java/util/logging/LogManager.java,
7231 java/util/logging/MemoryHandler.java,
7232 java/util/logging/SocketHandler.java,
7233 javax/naming/NamingException.java:
7234 Fixed javadoc, coding style and argument names all over.
7235
7236 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7237
7238 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7239 constructor. (valid) Added null check.
7240
7241 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7242
7243 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7244 * java/io/FileOutputStream.java
7245 (FileOutputStream) Reorganized constructors. Constructors now
7246 check whether the given path is directory.
7247
7248 2004-04-20 Michael Koch <konqueror@gmx.de>
7249
7250 * java/net/Authenticator.java,
7251 java/net/BindException.java,
7252 java/net/ConnectException.java,
7253 java/net/ContentHandler.java,
7254 java/net/ContentHandlerFactory.java,
7255 java/net/DatagramPacket.java,
7256 java/net/DatagramSocket.java,
7257 java/net/DatagramSocketImpl.java,
7258 java/net/DatagramSocketImplFactory.java,
7259 java/net/FileNameMap.java,
7260 java/net/HttpURLConnection.java,
7261 java/net/Inet4Address.java,
7262 java/net/Inet6Address.java,
7263 java/net/InetAddress.java,
7264 java/net/InetSocketAddress.java,
7265 java/net/JarURLConnection.java,
7266 java/net/MalformedURLException.java,
7267 java/net/MulticastSocket.java,
7268 java/net/NetPermission.java,
7269 java/net/NetworkInterface.java,
7270 java/net/NoRouteToHostException.java,
7271 java/net/PasswordAuthentication.java,
7272 java/net/PortUnreachableException.java,
7273 java/net/ProtocolException.java,
7274 java/net/ServerSocket.java,
7275 java/net/Socket.java,
7276 java/net/SocketAddress.java,
7277 java/net/SocketException.java,
7278 java/net/SocketImpl.java,
7279 java/net/SocketImplFactory.java,
7280 java/net/SocketOptions.java,
7281 java/net/SocketPermission.java,
7282 java/net/SocketTimeoutException.java,
7283 java/net/URI.java,
7284 java/net/URISyntaxException.java,
7285 java/net/URL.java,
7286 java/net/URLClassLoader.java,
7287 java/net/URLConnection.java,
7288 java/net/URLDecoder.java,
7289 java/net/URLEncoder.java,
7290 java/net/URLStreamHandler.java,
7291 java/net/URLStreamHandlerFactory.java,
7292 java/net/UnknownHostException.java,
7293 java/net/UnknownServiceException.java:
7294 Fixed javadocs, coding style and argument names all over.
7295
7296 2004-04-20 Michael Koch <konqueror@gmx.de>
7297
7298 * java/lang/Byte.java,
7299 java/lang/CharSequence.java,
7300 java/lang/ClassLoader.java,
7301 java/lang/Compiler.java,
7302 java/lang/Double.java,
7303 java/lang/Float.java,
7304 java/lang/Integer.java,
7305 java/lang/Long.java,
7306 java/lang/Math.java,
7307 java/lang/Number.java,
7308 java/lang/Package.java,
7309 java/lang/Runtime.java,
7310 java/lang/RuntimePermission.java,
7311 java/lang/SecurityManager.java,
7312 java/lang/Short.java,
7313 java/lang/StringBuffer.java,
7314 java/lang/System.java,
7315 java/lang/ThreadGroup.java,
7316 java/lang/Throwable.java,
7317 java/lang/reflect/InvocationHandler.java,
7318 java/lang/reflect/Proxy.java:
7319 Fixed javadocs, coding style and argument names all over.
7320
7321 2004-04-20 Michael Koch <konqueror@gmx.de>
7322
7323 * java/io/BufferedWriter.java,
7324 java/io/ByteArrayInputStream.java,
7325 java/io/CharArrayWriter.java,
7326 java/io/DataInput.java,
7327 java/io/DataInputStream.java,
7328 java/io/File.java,
7329 java/io/FilterInputStream.java,
7330 java/io/InputStream.java,
7331 java/io/InputStreamReader.java,
7332 java/io/ObjectInputStream.java,
7333 java/io/ObjectStreamClass.java,
7334 java/io/PipedInputStream.java,
7335 java/io/PipedReader.java,
7336 java/io/PushbackInputStream.java,
7337 java/io/PushbackReader.java,
7338 java/io/RandomAccessFile.java,
7339 java/io/SerializablePermission.java,
7340 java/io/StreamTokenizer.java,
7341 java/io/StringWriter.java,
7342 java/io/WriteAbortedException.java,
7343 java/io/Writer.java:
7344 Fixed javadocs all over, rename arguments to match javadocs,
7345 fixed coding style.
7346
7347 2004-04-20 Ingo Proetel <proetel@aicas.com>
7348
7349 * java/awt/FontMetrics.java:
7350 (charsWidth): fixed accumulation of total_width
7351 (getWidth): simple default implementation
7352 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7353 in Rectangle constructor.
7354 * java/awt/image/Raster.java (toString): Added method.
7355 * java/awt/image/SampleModel.java (<init>): Added error cause
7356 information to thrown exception.
7357 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7358 New method.
7359 (setDataElements): New method.
7360 (setPixels): New method.
7361 (toString): New method.
7362
7363 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7364
7365 * java/awt/image/ComponentColorModel.java
7366 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7367 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7368 Mauve tests on this method. Improved documentation.
7369
7370 2004-04-20 Michael Koch <konqueror@gmx.de>
7371
7372 * javax/swing/JLayeredPane.java,
7373 javax/swing/plaf/BorderUIResource.java,
7374 javax/swing/plaf/ComponentUI.java,
7375 javax/swing/undo/CompoundEdit.java,
7376 javax/swing/undo/StateEdit.java:
7377 Fixed HTML tags in javadocs all over.
7378
7379 2004-04-20 Michael Koch <konqueror@gmx.de>
7380
7381 * javax/print/attribute/EnumSyntax.java
7382 (getOffset): Made protected.
7383 * javax/print/attribute/HashAttributeSet.java
7384 (HashAttributeSet): Likewise.
7385 * javax/print/attribute/ResolutionSyntax.java
7386 (getFeedResolution): Fixed typo in exception name.
7387 (getCrossFeedResolution): Likewise.
7388 * javax/print/attribute/SetOfIntegerSyntax.java
7389 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7390 * javax/print/attribute/TextSyntax.java
7391 (TextSyntax): Handle locale correctly.
7392 (hashCode): Calc better hashcode value.
7393 (equals): Fixed @return tag.
7394 (toString): New method.
7395
7396 2004-04-20 Michael Koch <konqueror@gmx.de>
7397
7398 * gnu/java/nio/FileLockImpl.java
7399 (static): Removed, not needed anymore.
7400 * gnu/java/nio/channels/FileChannelImpl.java
7401 (FileChannelImpl): Made final.
7402 (mode): Made private.
7403 (READ, WRITE, APPEND): Made public.
7404 (EXCL, SYNC, DSYNC): Likewise.
7405 (static): Load native JNI library, when needed.
7406 (length): Unused, removed.
7407 (available): Made public.
7408 (implPosition): Throws IOException.
7409 (seek): Likewise.
7410 (implTruncate): Likewise.
7411 (unlock): Likewise.
7412 (lock): Likewise.
7413
7414 2004-04-20 Michael Koch <konqueror@gmx.de>
7415
7416 * java/awt/AWTPermission.java,
7417 java/awt/Component.java,
7418 java/awt/ComponentOrientation.java,,
7419 java/awt/Dialog.java,
7420 java/awt/FontMetrics.java,
7421 java/awt/Graphics.java,
7422 java/awt/datatransfer/DataFlavor.java,
7423 java/beans/Introspector.java,
7424 java/beans/PropertyEditor.java,
7425 java/beans/PropertyEditorManager.java,
7426 java/beans/beancontext/BeanContextServiceProvider.java:
7427 Fixed HTML tags in javadocs all over.
7428
7429 2004-04-20 Mark Wielaard <mark@klomp.org>
7430
7431 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7432 MissingResourceException is thrown.
7433 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7434 null when a MissingResourceException is thrown. Should never happen.
7435
7436 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7437
7438 * java/awt/image/DataBufferShort.java,
7439 java/awt/image/DataBufferFloat.java,
7440 java/awt/image/DataBufferDouble.java,
7441 java/awt/image/PixelInterleavedSampleModel.java: New files.
7442 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7443 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7444
7445 2004-04-20 Michael Koch <konqueror@gmx.de>
7446
7447 * Makefile.am (java_source_files): Added
7448 java/awt/image/DataBufferDouble.java,
7449 java/awt/image/DataBufferFloat.java,
7450 java/awt/image/DataBufferShort.java and
7451 java/awt/image/PixelInterleavedSampleModel.java.
7452 * Makefile.in: Regenerated.
7453
7454 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7455
7456 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7457 undocumented CNI calls.
7458 * include/java-interp.h (_Jv_InterpClass): No longer
7459 extends java.lang.Class.
7460 * java/lang/Class.h (Class): Add new field `aux_info'.
7461 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7462 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7463 Use Class->aux_info instead.
7464 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7465 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7466 Use Class->aux_info instead.
7467 * java/io/natObjectInputStream.cc (allocateObject): Use
7468 _Jv_AllocObject.
7469 * java/lang/natClass.cc (newInstance): Likewise.
7470 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7471 * java/lang/natObject.cc (clone): Likewise.
7472 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7473 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7474 JvAllocObject. Allocate klass->aux_info here for interpreted
7475 class.
7476
7477 2004-04-17 Mark Wielaard <mark@klomp.org>
7478
7479 * javax/swing/JToggleButton.java (ToggleButtonModel):
7480 Make public static inner class.
7481 * javax/swing/JTabbedPane.java (setComponentAt):
7482 Call Page.setComponent().
7483 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7484 (WRAP_TAB_LAYOUT): Make public, value is 0.
7485 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7486 Make private static inner class.
7487
7488 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7489
7490 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7491 arguments to match new signature. Remove FIXME comments.
7492
7493 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
7494
7495 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7496 Remove method.
7497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7498 unused code.
7499
7500 2004-04-02 Olga Rodimina <rodimina@redhat.com>
7501
7502 * Makefile.am: Added new file.
7503 * Makefile.in: Regenerate.
7504 * javax/swing/ImageIcon.java:
7505 (ImageIcon(file)): set description of the icon
7506 to the file name
7507 * javax/swing/JCheckBoxMenuItem.java:
7508 Mostly Implemented. Work in progress.
7509 * javax/swing/JRadioButtonMenuItem.java:
7510 Reimplement constructors to use JToggleButtonModel.
7511 * javax/swing/plaf/basic/BasicIconFactory.java:
7512 (getCheckBoxMenuItemIcon): return check box
7513 icon.
7514 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7515 paint menu item selected only when it is armed and
7516 pressed.
7517
7518 2004-04-02 David Jee <djee@redhat.com>
7519
7520 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7521 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7522 * java/awt/Component.java
7523 (add): Set the parent of the popup as this component.
7524 * java/awt/PopupMenu.java
7525 (addNotify): Create popup menu when peer is null.
7526 (show): Call addNotify() if peer is null.
7527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7528 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7529 argument for gtk_menu_popup() as zero. This causes the popup menu to
7530 respond to any mouse button.
7531
7532 2004-03-31 Olga Rodimina <rodimina@redhat.com>
7533
7534 * Makefile.am: Added new file.
7535 * Makefile.in: Regenerate.
7536 * javax/swing/JRadioButtonMenuItem.java:
7537 Implemented.
7538 * javax/swing/plaf/basic/BasicIconFactory.java:
7539 (getRadioButtonMenuItemIcon): Return
7540 radio button icon.
7541 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7542 (getPreferredSize): Add size of checkIcon if it
7543 exists.
7544 (installDefaults): Don't initialize checkIcon.
7545 It's value will be set in subclasses.
7546 (uninstallDefaults): remove uninstallation of
7547 checkIcon.
7548 (paint): Moved code to paintMenuItem().
7549 (paintMenuItem): Implemented.
7550 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7551 UI delegate for JRadioButtonMenuItem.
7552
7553 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7554
7555 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7556 Corrected position of the accelerator.
7557
7558 2004-03-29 Olga Rodimina <rodimina@redhat.com>
7559
7560 * Makefile.am: Added new file.
7561 * Makefile.in: Regenerate.
7562 * javax/swing/JMenuItem.java: Partly
7563 implemented. Work in progress
7564 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7565 Changed default value of acceleratorDelimiter.
7566 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7567 New class. Partly implemented.
7568
7569 2004-03-26 Mark Wielaard <mark@klomp.org>
7570
7571 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7572 (item_activate): Declare label before use.
7573 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7574 (gtkSetFont): Removed unused variable label.
7575 (addExposeFilter): Declare variables before use.
7576 (removeExposeFilter): Likewise.
7577 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7578 (ok_clicked): Declare str_fileName before use.
7579
7580 2004-03-26 David Jee <djee@redhat.com>
7581
7582 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7583 (addSeparator): Remove.
7584 * java/awt/Menu.java
7585 (separator): Remove static final MenuItem field.
7586 (separatorLabel): New static final String field.
7587 (addSeparator): Do not use peer method; use add(MenuItem) instead.
7588 Use separatorLabel to denote that it is a separator.
7589 (insertSeparator): Create a new MenuItem with separatorLabel, instead
7590 of reusing the static separator instance, because a MenuItem instance
7591 can't be added more than once without being cloned.
7592 * java/awt/peer/MenuPeer.java
7593 (addSeparator): Remove from interface.
7594
7595 2004-03-26 David Jee <djee@redhat.com>
7596
7597 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7598 (connectSignals): New native method declaration.
7599 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7600 * java/awt/MenuItem.java
7601 (getActionCommand): Return the label if the action command is not set.
7602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7603 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7604 gtk_menu_shell_append().
7605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7606 (item_activate): Fix argument type.
7607 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7608 signal here.
7609 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7610 method.
7611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7612 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7613 given. Add the menu widget's top-level GtkWindow to the global window
7614 group, so it can grab the pointer.
7615 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7616 gtk_menu_shell_append().
7617
7618 2004-03-23 Graydon Hoare <graydon@redhat.com>
7619
7620 * java/text/AttributedString.java
7621 (addAttribute): Fix off-by-one.
7622 (getIterator): Likewise.
7623 * java/text/AttributedStringIterator.java
7624 (getRunLimit): Correct logic.
7625 (getRunStart): Likewise.
7626 (getAttribute): Fix inequality.
7627 (getAttributes): Likewise.
7628 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7629
7630 2004-03-23 Kim Ho <kho@redhat.com>
7631
7632 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7633 (calculateSizes): Return real width and height.
7634
7635 2004-03-23 Kim Ho <kho@redhat.com>
7636
7637 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7638 (calculateTabRects): Set the selectedRun before
7639 trying to rotate tabs.
7640
7641 2004-03-23 Kim Ho <kho@redhat.com>
7642
7643 * Makefile.am: New file
7644 * Makefile.in: Regenerate
7645 * java/awt/Graphics.java: (drawRect):
7646 Draw to the correct point.
7647 * javax/swing/DefaultSingleSelectionModel.java
7648 (isSelected): Return true if the selected index
7649 is not -1.
7650 * javax/swing/JLabel.java: Do not change mnemonic
7651 index if text is null.
7652 * javax/swing/JProgressBar.java: Use JComponent's
7653 EventListenerList.
7654 * javax/swing/JScrollBar.java: Ditto.
7655 * javax/swing/JSlider.java: Ditto.
7656 * javax/swing/JTabbedPane.java: Reimplement.
7657 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7658 Add defaults for TabbedPane.
7659 * javax/swing/plaf/basic/BasicArrowButton.java:
7660 Implement
7661 * javax/swing/plaf/basic/BasicProgressBarUI.java:
7662 (paintDeterminate): Don't paint String if it's
7663 empty.
7664 (paintIndeterminate): ditto.
7665 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7666 Reimplement.
7667
7668 2004-03-19 Michael Koch <konqueror@gmx.de>
7669
7670 * java/awt/image/AffineTransformOp.java
7671 (AffineTransformOp): Made public.
7672 * javax/swing/JComponent.java
7673 (listenerList): Made protected.
7674 (accessibleContext): Likewise.
7675 * javax/swing/JList.java
7676 (valueChanged): Dont use internal fields of ListSelectionEvent.
7677 * javax/swing/JViewport.java
7678 (getView): Dont use internal fields of Component.
7679 (addImpl): Likewise.
7680 * javax/swing/Timer.java
7681 (isRunning): Made public.
7682 (start): Likewise.
7683 (stop): Likewise.
7684 * javax/swing/UIDefaults.java
7685 (getInt): Made public.
7686 * javax/swing/plaf/basic/BasicListUI.java
7687 (mousePressed): Dont use internal fields of MouseEvent.
7688 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7689 * javax/swing/plaf/basic/BasicScrollBarUI.java
7690 (arrowIcon): Made static.
7691 * javax/swing/plaf/basic/BasicViewportUI.java
7692 (stateChanged): Dont use internal field on ChangeEvent.
7693 * javax/swing/text/JTextComponent.java
7694 (getUI): Call UIManager.getUI().
7695 (updateUI): Use getUI().
7696
7697 2004-03-19 Graydon Hoare <graydon@redhat.com>
7698
7699 * javax/swing/JComponent.java: Turn off double buffer by default.
7700 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
7701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7702 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
7703 Use cairo to copy areas.
7704 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
7705 Initialize and set clip region.
7706
7707 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7708
7709 * java/applet/Applet.java (preferredSize): Override deprecated
7710 variant of getPreferredSize.
7711 (minimumSize): Override deprecated variant of getMinimumSize.
7712
7713 2004-03-15 Olga Rodimina <rodimina@redhat.com>
7714
7715 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7716 (drawImage(img,xform,bgcolor,obs)): New Method.
7717 Helper function that every drawImage method will
7718 use.
7719 (drawRaster): Added new parameter, bgcolor. All
7720 transparent pixels are changed to bgcolor before
7721 image is drawn.
7722 (drawRenderedImage): Fixed to use changed drawRaster().
7723 (drawImage(image,xform,obs): Fixed to use new helper function
7724 (drawImage(image,op,x,y)): Ditto.
7725 (drawImage (img,x,y,observer)): Ditto.
7726 ((PainterThread) bgcolor): New Field.
7727 ((PainterThread) (setPixels)): Changed all transparent pixels
7728 to bgcolor.
7729 (drawImage(img,x,y,width,height,bgcolor,observer)):
7730 Fixed FIXME - all the transparent pixels are
7731 changed to the specified bgcolor.
7732 (drawImage(img, x, y, width, height, observer): Changed to
7733 use function above.
7734 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
7735 Fixed FIXME- changed all transparent pixels to bgcolor.
7736 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
7737 Changed to use function above.
7738
7739 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7740
7741 * java/applet/Applet.java (dimensions): New field.
7742 (getDimensions): New method.
7743 (getPreferredSize): Call getDimensions.
7744 (getMinimumSize): Likewise.
7745
7746 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7747
7748 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
7749 * jni/classpath/jnilink.c: Likewise.
7750
7751 * java/applet/Applet.java (getPreferredSize): New method.
7752 (getMinimumSize): New method.
7753
7754 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
7755
7756 * prims.cc (_Jv_AllocObject): Remove `size' argument.
7757 (_Jv_AllocObjectNoFinalizer): Likewise.
7758 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
7759 (_Jv_AllocPtrFreeObject): Likewise.
7760 (_Jv_AllocString): Moved from natString.cc. Call collector interface
7761 directly even in the JVMPI case.
7762 * gcj/cni.h (JvAllocObject): Remove `size' argument from
7763 _Jv_AllocObject calls.
7764 * gcj/javaprims.h: Update prototypes.
7765 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
7766 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
7767 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
7768
7769 2004-04-14 Andrew Haley <aph@redhat.com>
7770 Bryce McKinlay <mckinlay@redhat.com>
7771
7772 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
7773 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
7774 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
7775
7776 * testsuite/libjava.lang/InvokeInterface.java: New file.
7777 * testsuite/libjava.lang/InvokeInterface.out: New file.
7778
7779 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
7780
7781 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
7782 modified lookup().
7783 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
7784 StackTraceElement directly.
7785 (newElement): New native helper method to create StackTraceElement
7786 bypassing Java access control.
7787 (createStackTraceElement): Use newElement() instead of directly
7788 calling StackTraceElement's constructor.
7789 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
7790
7791 2004-04-01 Michael Koch <konqueror@gmx.de>
7792
7793 * java/lang/SecurityManager.java
7794 (checkAwtEventQueueAccess): Implemented.
7795
7796 2004-04-01 Gary Benson <gbenson@redhat.com>
7797
7798 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
7799 (_Jv_SearchMethodInClass): Likewise.
7800
7801 2004-03-26 Peter Moon <peterm@miraculum.com>
7802
7803 * java/text/NumberFormat.java: Fix spelling of setCurrency
7804 method.
7805
7806 2004-03-21 Anthony Green <green@redhat.com>
7807
7808 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
7809 recursion when searching for the system ClassLoader.
7810
7811 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
7812
7813 * java/net/ServerSocket.java
7814 (accept): Close the socket when error occured.
7815
7816 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
7817
7818 * java/net/URI.java (parseURI): Added unquoting.
7819 (unquote): New method.
7820 (quoteAuthority): Implemented.
7821 (quote(String,String)): New method.
7822 (quotePath): Implemented.
7823 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
7824 (getSchemeSpecificPart): Removed FIXME comment.
7825 (getRawAuthority): Return new rawAuthority field.
7826 (getAuthority): Removed FIXME comment.
7827 (getRawUserInfo): Return new rawUserInfo field.
7828 (getUserInfo): Removed FIXME comment.
7829 (getRawPath): Return new rawPath field.
7830 (getPath): Removed FIXME comment.
7831 (getRawQuery): Return new rawQuery field.
7832 (getQuery): Removed FIXME comment.
7833 (getRawFragment): Return new rawFragment field.
7834 (getFragment): Removed FIXME comment.
7835
7836 2004-03-20 Michael Koch <konqueror@gmx.de>
7837
7838 * java/net/URLConnection.java: Merged copyright year with classpath.
7839
7840 2004-03-20 Norbert Frese <postfach@nfrese.net>
7841
7842 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
7843 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
7844 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
7845 rmi-message.
7846 (getObjectInputStream): Return object reference, throw IOException if null.
7847 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
7848 (getObjectOutputStream): Return object reference, throw IOException if null.
7849 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
7850 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
7851 (UnicastConnectionManager): Throw RemoteException if port is not available.
7852 (getInstance): Throw RemoteException.
7853 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
7854 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
7855 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
7856 Collect Exceptions which are returned by a rmi-call and fix void returns.
7857 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
7858 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
7859 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
7860 (dispatch): Answer ping messages which are sent by other java implementions.
7861 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
7862 for every rmi-message and fix void return problems.
7863 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
7864 (UnicastServerRef): Throw RemoteException.
7865 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
7866 In some situations it is necessary to export a subclass of the class which has the _Stub.
7867 For instance when the class with has the _Stub is abstract.
7868 (findStubSkelClass): New method which looks for the class which has the _Stub.
7869 (getClientHost): Implementated.
7870 * gcc/libjava/java/rmi/server/RemoteServer.java
7871 (getClientHost): Implementated.
7872 * gcc/libjava/Makefile.am (rmi_java_source_files):
7873 Added gnu/java/rmi/server/RMIIncomingThread.java.
7874 * Makefile.in: Regenerated.
7875
7876 2004-03-20 Michael Koch <konqueror@gmx.de>
7877
7878 * java/net/InetAddress.java
7879 (getLocalHostname): Added javadoc.
7880
7881 2004-03-19 Per Bothner <per@bothner.com>
7882
7883 * configure.in: FILE variable overrides FLATFORM when linking
7884 natFileChannelXXX.cc.
7885
7886 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
7887 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
7888
7889 2004-03-19 Per Bothner <per@bothner.com>
7890
7891 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
7892 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
7893 * Makefile.am: Update accordingly.
7894 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
7895 as aliases for UnicodeLittle and UnicodeBig.
7896
7897 2004-03-20 Mark Wielaard <mark@klomp.org>
7898
7899 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7900 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
7901 Don't access ws when it is null.
7902 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
7903 Likewise.
7904
7905 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
7906
7907 * java/lang/ThreadGroup.java (list): Changed print to println.
7908
7909 2004-03-19 Mark Wielaard <mark@klomp.org>
7910
7911 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
7912 happy.
7913
7914 2004-02-10 Randolph Chung <tausq@debian.org>
7915
7916 * configure.in: Build java for hppa target.
7917 * configure: Regenerate.
7918 * libjava/configure.host (hppa-*): Add target.
7919 * libjava/sysdeps/pa/lock.h: New file.
7920
7921 2004-03-19 Mark Wielaard <mark@klomp.org>
7922
7923 Reported by Stephen Crawley
7924 * java/io/FilePermission.java (implies): Use String.length() -1 to
7925 access last char of String.
7926
7927 2004-03-19 Michael Koch <konqueror@gmx.de>
7928
7929 * java/awt/image/AffineTransformOp.java
7930 (AffineTransformOp): Made public.
7931 * javax/swing/JComponent.java
7932 (listenerList): Made protected.
7933 (accessibleContext): Likewise.
7934 * javax/swing/JList.java
7935 (valueChanged): Dont use internal fields of ListSelectionEvent.
7936 * javax/swing/JViewport.java
7937 (getView): Dont use internal fields of Component.
7938 (addImpl): Likewise.
7939 * javax/swing/Timer.java
7940 (isRunning): Made public.
7941 (start): Likewise.
7942 (stop): Likewise.
7943 * javax/swing/UIDefaults.java
7944 (getInt): Made public.
7945 * javax/swing/plaf/basic/BasicListUI.java
7946 (mousePressed): Dont use internal fields of MouseEvent.
7947 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
7948 * javax/swing/plaf/basic/BasicScrollBarUI.java
7949 (arrowIcon): Made static.
7950 * javax/swing/plaf/basic/BasicViewportUI.java
7951 (stateChanged): Dont use internal field on ChangeEvent.
7952 * javax/swing/text/JTextComponent.java
7953 (getUI): Call UIManager.getUI().
7954 (updateUI): Use getUI().
7955
7956 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7957
7958 * verify.cc: Undef PC.
7959
7960 2004-03-18 Michael Koch <konqueror@gmx.de>
7961
7962 * java/nio/channels/spi/AbstractSelectableChannel.java
7963 (keys): Initialize at declaration.
7964 (locate): keys cant be null.
7965 (add): Removed.
7966 (addSelectionKey): New method.
7967 (removeSelectionKey): New method.
7968 * java/nio/channels/spi/AbstractSelectionKey.java
7969 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
7970 * java/nio/channels/spi/AbstractSelector.java
7971 (provider): Javadoc added.
7972 (cancelledKeys): Javadoc added.
7973 (cancelKey): Javadoc added, add key to cancelledKeys.
7974 (deregister): Implemented.
7975
7976 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7977
7978 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
7979 MAP_FAILED to void *.
7980
7981 2004-03-12 Graydon Hoare <graydon@redhat.com>
7982
7983 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
7984 * javax/swing/JComponent.java (paint): Use persistent double buffer.
7985 * javax/swing/JList.java (ListListener): Revalidate on changes.
7986 * javax/swing/JScrollPane.java: Reimplement.
7987 * javax/swing/JViewport.java: Reimplement.
7988 * javax/swing/ScrollPaneLayout.java: Reimplement.
7989 * javax/swing/ViewportLayout.java: Tidy up.
7990 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
7991 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
7992 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
7993 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
7994 backing store only.
7995
7996 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
7997
7998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7999 (window_wm_protocols_filter): New function.
8000 (window_focus_in_cb): Remove function.
8001 (window_focus_out_cb): Likewise.
8002 (window_focus_or_active_state_change_cb): New function.
8003 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8004 (connectSignals): Don't attach handlers to focus-in-event or
8005 focus-out-event signals. Handle notify signal.
8006
8007 2004-03-11 David Jee <djee@redhat.com>
8008
8009 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8010 (gtkSetLabel): New native method declaration.
8011 (setLabel): Use gtkSetLabel.
8012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8013 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8014
8015 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8016
8017 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8018 black when color argument is null.
8019
8020 2004-03-10 Kim Ho <kho@redhat.com>
8021
8022 * java/awt/Container.java: Remove check
8023 for drag events.
8024
8025 2004-03-10 Kim Ho <kho@redhat.com>
8026
8027 * java/awt/Container.java: (visitChild):
8028 Remove candidate clip. Use the component
8029 clip to intersect.
8030 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8031 (handleEvent): Use the PaintEvent's clip.
8032
8033 2004-03-10 Kim Ho <kho@redhat.com>
8034
8035 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8036 (handleEvent): Don't set the clip for the
8037 Graphics object.
8038
8039 2004-03-09 Graydon Hoare <graydon@redhat.com>
8040
8041 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8042 Fix double <-> fixed macros, reset font transform.
8043 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8044 Likewise.
8045
8046 2004-03-09  Kim Ho <kho@redhat.com>
8047
8048 * java/awt/Container.java: (visitChild): Move
8049 the x and y coordinate of the component rectangle
8050 to correct position.
8051 (handleEvent): Forward drag events to the pressed
8052 component.
8053 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8054 Fix comments.
8055 (ArrowButtonListener::mousePressed): Stop the
8056 existing timer.
8057 (mouseDragged): Implement.
8058 (TrackListener::mousePressed): Only react if
8059 the press doesn't occur on the thumb, otherwise
8060 just set the offset.
8061 (TrackListener::mouseReleased): Unset the isAdjusting
8062 value.
8063 (createIncreaseIcon): Switch icon.
8064 (createDecreaseIcon): Switch icon.
8065 (calculatePreferredSize): Use width.
8066 (getThumbBounds): Use the top as the lower value.
8067 (layoutVScrollBar): Switch the button locations.
8068 (paintIncreaseHighlight): Paint correct side of thumb.
8069 (paintDecreaseHighlight): ditto.
8070 (valueForYPosition): Use top as the lower value.
8071 * javax/swing/plaf/basic/BasicSliderUI.java:
8072 Fix comments.
8073 (mouseDragged): Implement.
8074 (mousePressed): Only react when the thumb isn't
8075 pressed, otherwise just set offset.
8076 (mouseReleased): Handle a release of the thumb.
8077 (scrollDueToClickInTrack): Stop the timer first.
8078 * javax/swing/JProgressBar.java:
8079 (setString): Fix change condition.
8080 * javax/swing/JSeparator.java:
8081 Remove println's.
8082
8083 2004-03-08 David Jee <djee@redhat.com>
8084
8085 * java/awt/image/AffineTransformOp.java:
8086 (filter): Use Graphics2D interface instead of directly using the
8087 GdkGraphics2D peer.
8088
8089 2004-03-05 David Jee <djee@redhat.com>
8090
8091 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8092 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8093 * java/awt/Container.java
8094 (acquireComponentForMouseEvent): Fixed.
8095 (handleEvent): Fixed.
8096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8097 (state_to_awt_mods_with_button_states): New method.
8098 (pre_event_handler): Fixed mouse event generation.
8099
8100 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8101
8102 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8103 (GdkGraphics2D (BufferedImage)): Initialize
8104 pixmap associated with specified BufferedImage.
8105 (setPaint): Changed implementation of Texture
8106 Paint to use AffineTransformOp.
8107 * java/awt/image/AffineTransformOp.java
8108 (createCompatibleDestRaster): Throw RasterFormatException
8109 if resulting width or height of raster is 0.
8110
8111 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8112
8113 * java/awt/image/AffineTransformOp.java:
8114 Removed unnecessary field interpolationType.
8115 Formatted some of the lines to be consistent with
8116 the GNU style.
8117 (AffineTransformOp): Create new RenderingHints
8118 containing specified interpolation type.
8119 (createCompatibleDestImage): Implemented.
8120 (createCompatibleDestRaster): Implemented.
8121 (filter): Implemented.
8122 (getBounds2D(BufferedImage)): Implemented.
8123 (getBounds2D(Raster)): Implemented.
8124 (getInterpolationType): Get interpolation value from
8125 rendering hints.
8126
8127 2004-03-04 David Jee <djee@redhat.com>
8128
8129 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8130 (setFont): Check if child peers are null.
8131
8132 2004-03-04 Graydon Hoare <graydon@redhat.com>
8133
8134 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8135 .libs in -L option.
8136 (libjava_arguments): Add new libraries to argument list.
8137
8138 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8139
8140 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8141 * Makefile.in: Re-generated.
8142 * java/awt/image/AffineTransformOp.java: New Class.
8143
8144 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8145
8146 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8147 (setPaint): Interpret correctly TexturePaint's
8148 anchor rectangle.
8149 (drawImage): Fixed scale factors of the affine
8150 transform.
8151
8152 2004-02-27 David Jee <djee@redhat.com>
8153
8154 * gnu/java/awt/peer/gtk/GdkGraphics.java
8155 (GdkGraphics(Component)): Inherit font from component.
8156 (drawString): Use font style.
8157 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8158 (gtkSetFont): New native method declaration.
8159 (setFont): New method.
8160 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8161 (gtkSetFont): New native method declaration.
8162 (setFont): Call new native method gtkSetFont.
8163 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8164 (setFont): For all child components who do not their fonts set,
8165 set their peers' fonts with this container's font.
8166 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8167 Move all native method declarations to the top for readability.
8168 (gtkSetFont): New native method declaration.
8169 (setFont): New method.
8170 * java/awt/Component.java
8171 (setFont): Invalidate after setting the font.
8172 * java/awt/Container.java
8173 (invalidateTree): New method.
8174 (setFont): Invalidate the container tree after setting the font.
8175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8176 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8178 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8179 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8180 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8182 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8183
8184 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8185
8186 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8187 (updateBufferedImage): New helper function.
8188 Updates BufferedImage in memory if it was changed.
8189 (draw): changed to update BufferedImage in memory after
8190 this drawing operation
8191 (fill): Ditto.
8192 (draw3DRect): Ditto.
8193 (fill3DRect): Ditto.
8194 (clearRect): Ditto.
8195 (drawRaster): Ditto.
8196 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8197 no affine transformation.
8198 (drawGlyphVector): Ditto.
8199
8200 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8201
8202 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8203 (isBufferedImageGraphics): New Helper function.
8204 Returns true if this graphics2d can be used to draw
8205 into buffered image and false otherwise.
8206 (updateImagePixels): New Helper function.
8207 Updates pixels in the BufferedImage.
8208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8209 (getImagePixels): New function. Returns pixels
8210 of the buffered image associated with
8211 this Graphics2D.
8212
8213 2004-02-26 David Jee <djee@redhat.com>
8214
8215 * java/awt/BorderLayout.java
8216 (layoutContainer): Fix width and height calculations to ensure
8217 that they're non-negative.
8218 * java/awt/Component.java
8219 (setBackground): If c is null, inherit from closest ancestor whose
8220 background color is set.
8221
8222 2004-02-26  Kim Ho  <kho@redhat.com>
8223
8224 * Makefile.am: Add new files.
8225 * Makefile.in: Re-generate.
8226 * javax/swing/JProgressBar.java:
8227 (JProgressBar(int, int int)): Throw
8228 IllegalArgumentException if orientation is
8229 invalid.
8230 (JProgressBar(BoundedRangeModel)): Create
8231 ChangeListener and register it. UpdateUI.
8232 (getChangeListeners): Implement.
8233 (setModel): Reset ChangeListener.
8234 * javax/swing/JScrollBar.java: Implement.
8235 * javax/swing/JSeparator.java: Implement.
8236 * javax/swing/JSlider.java:
8237 (JSlider(int, int, int, int)): Throw
8238 IllegalArgumentException if orientation
8239 is invalid.
8240 (getChangeListeners): Fix method name.
8241 * javax/swing/SwingUtilities.java:
8242 (layoutCompoundLabel): If there is no text,
8243 set the text rectangle dimensions to 0.
8244 * javax/swing/plaf/basic/BasicButtonUI.java:
8245 (paint): If there is no text, don't paint it.
8246 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8247 Implement.
8248 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8249 Implement.
8250 * javax/swing/plaf/basic/BasicSliderUI.java:
8251 (propertyChange): If the model changes, change
8252 the listeners accordingly.
8253
8254 2004-02-25 Graydon Hoare <graydon@redhat.com>
8255
8256 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8257 * javax/swing/JList.java: Reimplement.
8258 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8259 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8260 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8261 * javax/swing/ListModel.java: Javadoc.
8262 * javax/swing/ListSelectionModel.java: Add missing methods.
8263 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8264 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8265 * javax/swing/ListModel.java: Javadoc and corrections.
8266 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8267
8268 2004-02-25 David Jee <djee@redhat.com>
8269
8270 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8271 (GtkFontPeer): Change default size to 12.
8272 * gnu/java/awt/peer/gtk/GtkToolkit.java
8273 (getFontPeer): Change default size to 12.
8274 (getClasspathFontPeer): Likewise. Set default name to "Default".
8275 * java/awt/Font.java
8276 (Font(Map)): Call Font(String,Map).
8277 (Font(String,Map)): If attrs is null, initialize it as an empty
8278 HashMap, which will ensure that the Font will get default attributes.
8279
8280 2004-02-25 David Jee <djee@redhat.com>
8281
8282 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8283 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8284 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8285 * gnu/java/awt/peer/gtk/GtkToolkit.java
8286 (getFontPeer(String,int)): Call the new overload method with size 1.
8287 (getFontPeer(String,int,int)): New method. Overloaded with size
8288 attribute.
8289 (getClasspathFontPeer): Set the size of the font.
8290
8291 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8292
8293 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8294 (bimage): New field.
8295 (GdkGraphics2D): New Constructor. Constructs Graphics
8296 object that can be used to draw into the Buffered Image.
8297 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8298 (GdkGraphicsEnvironment): Fixed to include public
8299 keyword.
8300 (createGraphics): Implemented.
8301 * gnu/java/awt/peer/gtk/GtkToolkit.java
8302 (getLocalGraphicsEnvironment): Implemented.
8303 * java/awt/GraphicsEnvironment.java:
8304 (getLocalGraphicsEnvironment): Implemented.
8305 * java/awt/image/BufferedImage.java:
8306 (createGraphics): Implemented.
8307
8308 2004-02-24 David Jee <djee@redhat.com>
8309
8310 * java/awt/Component.java
8311 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8312 * java/awt/Container.java
8313 (addNotifyContainerChildren): Fix event enabling.
8314
8315 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8316
8317 * Makefile.am: Added
8318 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8319 * Makefile.in: Re-generated.
8320 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8321 New Class.
8322
8323 2004-02-19 Kim Ho <kho@redhat.com>
8324
8325 * Makefile.am: Add BasicProgressBarUI
8326 * Makefile.in: Regenerate.
8327 * javax/swing/JProgressBar.java:
8328 Re-implement.
8329 * javax/swing/plaf/basic/BasicLookAndFeel.java
8330 Add constants for JProgressBar.
8331 * javax/swing/plaf/basic/BasicProgressBarUI.java
8332 Implement.
8333 * javax/swing/plaf/basic/BasicSliderUI.java
8334 Change comments.
8335 (calculateGeometry): New method
8336 (paint): Remove unnecessary size calculations.
8337
8338 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8339
8340 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8341 (drawRaster): Fixed small error that caused
8342 imageToUser transformation to be set incorrectly.
8343 (toString): Implemented.
8344
8345 2004-02-18 David Jee <djee@redhat.com>
8346
8347 * java/awt/CardLayout.java
8348 (addLayoutComponent): Show the first component added as the default.
8349 (removeLayoutComponent): After removing, show the next component.
8350 (gotoComponent): If there is only one component, show it and return.
8351
8352 2004-02-18 Kim Ho <kho@redhat.com>
8353
8354 * javax/swing/JSlider.java: Re-order
8355 modifiers.
8356 * javax/swing/JLabel.java: Re-order
8357 modifiers.
8358 * javax/swing/JComponent.java:
8359 (addPropertyChangeListener):
8360 Implement.
8361 (removePropertyChangeListener):
8362 ditto.
8363 (firePropertyChangeEvent):
8364 ditto.
8365
8366 2004-02-17 David Jee <djee@redhat.com>
8367
8368 * java/awt/Component.java
8369 (show): Dispatch ComponentEvent via system event queue.
8370 (hide): Likewise.
8371 (move): Likewise.
8372 (resize): Likewise.
8373 (reshape): Likewise.
8374 * java/awt/Window.java
8375 (setBoundsCallback): Likewise.
8376
8377 2004-02-17 David Jee <djee@redhat.com>
8378
8379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8380 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8381 Use gtk_widget_set_size_request() instead of the deprecated
8382 gtk_widget_set_usize().
8383
8384 2004-02-17 Kim Ho <kho@redhat.com>
8385
8386 * javax/swing/JSlider.java: Fix comments and
8387 make property strings constants.
8388 (createStandardLabels): Use the labels
8389 preferred size as bounds.
8390 * javax/swing/plaf/basic/BasicSliderUI.java
8391 Fix comments.
8392 (ScrollHandler::actionPerformed): Don't
8393 calculate the timer stop value. Let the
8394 MouseListeners find the stop location.
8395 (getPreferredHorizontalSize): Re-implement.
8396 (getPreferredVerticalSize): ditto.
8397 (getMinimumHorizontalSize): ditto.
8398 (getMinimumVerticalSize): ditto.
8399 (getPreferredSize): ditto.
8400 (getMinimumSize): ditto.
8401 (getMaximumSize): ditto.
8402 (paintTicks): Use doubles to find the
8403 tick location.
8404 (paintHorizontalLabel):  Use preferredSize
8405 as initial width and height.
8406 (paintVerticalLabel): ditto.
8407
8408 2004-02-17 Kim Ho <kho@redhat.com>
8409
8410 * javax/swing/JLabel.java: Changed
8411 property strings to constants.
8412 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8413 New property.
8414 (setText): Change mnemonic index if
8415 text is too short.
8416 (setDisplayedMnemonicIndex): Fire property
8417 change event.
8418 (getDisplayedMnemonicIndex): Remove check
8419 against short text.
8420
8421 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8422
8423 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8424 (drawImage(img,xform,obs)): Invert xform before
8425 passing the xform to cairo.
8426 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8427 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8428 implemented.
8429 (drawImage (img,x,y,w,h,obs)): Implemented.
8430 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8431 bgcolor,obs)): Partly implemented.
8432 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8433 Implemented.
8434 * java/awt/image/BufferedImage.java:
8435 (copyData): if dest is null, create raster with same
8436 dimensions as the current image.
8437
8438 2004-02-16 Graydon Hoare <graydon@redhat.com>
8439
8440 * javax/swing/plaf/basic/BasicLabelUI.java
8441 (getPreferredSize): Use layoutCL.
8442 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8443 (getPreferredButtonSize): Start with empty view rect, layout using
8444 component's preferred alignment.
8445 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8446 List defaults.
8447
8448 2004-02-16 David Jee <djee@redhat.com>
8449
8450 * java/awt/Component.java
8451 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8452 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8453 (move): Erase old bounds and repaint new bounds. Dispatch
8454 COMPONENT_MOVED ComponentEvent.
8455 (resize): Erase old bounds and repaint new bounds. Dispatch
8456 COMPONENT_RESIZED ComponentEvent.
8457 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8458 ComponentEvents.
8459 * java/awt/Window.java
8460 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8461 ComponentEvents.
8462
8463 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8464
8465 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8466 (setRenderingHint): Added implementation of
8467 Interpolation rendering hints.
8468 (setRenderingHints): Ditto.
8469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8470 (drawPixels): fixed to allow user to choose type
8471 of filtering that should be used when displaying images.
8472 (cairoSurfaceSetFilter): New method. Sets filter type for
8473 interpolation of pixel values.
8474
8475 2004-02-16 David Jee <djee@redhat.com>
8476
8477 * java/awt/GridBagLayout.java
8478 (calcCellSizes): Rows or columns with zero sizes should still be
8479 considered for extra space distribution.
8480
8481 2004-02-16 Kim Ho <kho@redhat.com>
8482
8483 * javax/swing/JLabel.java: Re-implement.
8484 * javax/swing/plaf/basic/BasicLabelUI.java
8485 Re-implement.
8486 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8487 Added constant.
8488
8489 2004-02-16  Kim Ho  <kho@redhat.com>
8490
8491 * javax/swing/JSlider.java: Fix indentation and comments.
8492 (setModel): Remove null check to conform with Sun's.
8493 (setOrientation): Throw exception if not
8494 HORIZONTAL or VERTICAL.
8495 (getInverted): Use private variable instead of
8496 ComponentOrientation.
8497 (setInverted): ditto.
8498 * javax/swing/plaf/basic/BasicSliderUI.java:
8499 Fix indentation and comments.
8500 (propertyChange): Remove check for inverted slider, handle
8501 in main paint.
8502 (getMinimumSize): Return preferred size.
8503 (getMaximumSize): ditto.
8504 (calculateFocusRect): Don't relocate rectangle.
8505 (drawInverted): Return XOR of the slider's inversion and
8506 the component's orientation.
8507 (paint): Update leftToRightCache
8508
8509 2004-02-13 David Jee <djee@redhat.com>
8510
8511 * java/awt/GridBagLayout.java
8512 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8513 code to helper methods.
8514 (sortBySpan): New helper method.
8515 (distributeSizeAndWeight): Likewise.
8516 (calcCellWeights): Likewise.
8517 (calcCellSizes): Add comments.
8518
8519 2004-02-13 David Jee <djee@redhat.com>
8520
8521 * java/awt/Component.java
8522 (show): Only do something if component is invisible at the moment.
8523 (hide): Only do something if component is visible at the moment.
8524 (reshape): If lightweight, erase old bounds and repaint new bounds.
8525
8526 2004-02-13  Kim Ho  <kho@redhat.com>
8527
8528 * Makefile.am: Updated for new file.
8529 * Makefile.in: Regenerated.
8530 * javax/swing/JSlider.java: Reimplement.
8531 * javax/swing/SwingUtilities.java
8532 (layoutCompoundLabel): Use icon height
8533 instead of width.
8534 (paintComponent): Implement.
8535 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8536 Add JSlider defaults.
8537 * javax/swing/plaf/basic/BasicSliderUI.java:
8538 Implement. New file.
8539
8540 2004-03-17 Michael Koch <konqueror@gmx.de>
8541
8542 * gnu/java/net/PlainDatagramSocketImpl.java
8543 (RECEIVE_LOCK): New member field.
8544 (SEND_LOCK): New member field.
8545 (send0): New method.
8546 (send): Synchronize on SEND_LOCK.
8547 (receive0): New method.
8548 (receive): Synchronize on RECEIVE_LOCK.
8549 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8550 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8551 gnu/java/net/natPlainDatagramSocketImplWin32.cc
8552 (send0): Renamed from send.
8553 (receive0): Renamed from receive.
8554 2004-03-17 Michael Koch <konqueror@gmx.de>
8555
8556 * gnu/java/net/natPlainSocketImplPosix.cc
8557 (write): Just call write(jbyteArray, offset, len).
8558 (read): Just call read(jbyteArray, offset, len).
8559
8560 2004-03-16 Michael Koch <konqueror@gmx.de>
8561
8562 * javax/swing/JTabbedPane.java
8563 (serialVersionUID): New field.
8564
8565 2004-03-16 Norbert Frese <postfach@nfrese.net>
8566
8567 * java/net/InetAddress.java
8568 (getByName): Handle hostname == "" case.
8569
8570 2004-03-16 Dalibor Topic <robilad@kaffe.org>
8571
8572 Reported by: Adam Heath <doogie@debian.org>
8573 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8574 class loader.
8575
8576 2004-03-15 Michael Koch <konqueror@gmx.de>
8577
8578 * java/util/Locale.java: Reverting my last patch
8579 and add a comment why the original version was okay.
8580
8581 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
8582
8583 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8584 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8585 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8586 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8587
8588 2004-03-12 Michael Koch <konqueror@gmx.de>
8589
8590 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8591
8592 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8593
8594 * java/net/URI.java (toURL): Implemented.
8595
8596 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
8597
8598 * java/net/URI.java
8599 (URI_REGEXP) updated to contain scheme specific part.
8600 (SCHEME_SPEC_PART_GROUP) new constant.
8601 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8602 updated to make room for SCHEME_SPEC_PART_GROUP.
8603 (parseURI) parse scheme specific part.
8604 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8605 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8606 getQuery, getFragment) implemented.
8607
8608 2004-03-12 Dalibor Topic <robilad@kaffe.org>
8609
8610 * libraries/javalib/java/net/URI.java
8611 partially implemented using java.util.regex.
8612 (URI_REGEXP) new constant. Used to parse URIs.
8613 (SCHEME_GROUP) new constant representing index of scheme group
8614 in parsed URI.
8615 (AUTHORITY_GROUP) new constant representing index of authority
8616 group in parsed URI.
8617 (PATH_GROUP) new constant representing index of path group in
8618 parsed URI.
8619 (QUERY_GROUP) new constant representing index of query group in
8620 parsed URI.
8621 (FRAGMENT_GROUP) new constant representing index of fragment
8622 group in parsed URI.
8623 (getURIGroup) new static utility method.
8624 (parseURI) implemented.
8625 (quote) stub for new static utility method.
8626 (quoteAuthority) stub for new static utility method.
8627 (quoteHost) stub for new static utility method.
8628 (quotePath) stub for new static utility method.
8629 (quoteUserInfo) stub for new static utility method.
8630 (URI) implemented.
8631 (create) don't throw URISyntaxException. Implemented.
8632 (toString) implemented.
8633
8634 2004-03-12 Michael Koch <konqueror@gmx.de>
8635
8636 * java/net/HttpURLConnection.java
8637 (getResponseCode): Fix another typo in javadoc.
8638
8639 2004-03-11 Michael Koch <konqueror@gmx.de>
8640
8641 * java/util/logging/Level.java
8642 (parse): Use String.equals() instead of ==.
8643
8644 2004-03-11 Michael Koch <konqueror@gmx.de>
8645
8646 * gnu/java/net/protocol/jar/Connection.java
8647 (getContentLength): New method.
8648
8649 2004-03-11 Michael Koch <konqueror@gmx.de>
8650
8651 * gnu/java/net/PlainSocketImpl.java:
8652 Reformated to merge better with classpath's version.
8653
8654 2004-03-11 Michael Koch <konqueror@gmx.de>
8655
8656 * java/util/Locale.java
8657 (getISO3Language): Use String.equals() instead of ==.
8658 (getISO3Country): Likewise.
8659
8660 2004-03-11 Dalibor Topic <robilad@kaffe.org>
8661
8662 * java/text/AttributedString.java
8663 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
8664 Use HashMap instead of Hashtable since value can be null, and
8665 you can not store a null value in a Hashtable.
8666
8667 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8668
8669 * java/text/AttributedStringIterator.java
8670 (getAllAttributesKey): Return only keys concerned
8671 by the current iterator.
8672 (getAttributes): Use strict inequality for
8673 end_index.
8674
8675 2004-03-11 Michael Koch <konqueror@gmx.de>
8676
8677 * java/net/HttpURLConnection.java:
8678 Fixed typo in javadoc.
8679
8680 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
8681
8682 * java/io/BufferedInputStream.java (marktarget): New field for max
8683 mark limit.
8684 (CHUNKSIZE): New constant for incremental mark buffer allocation.
8685 (mark): Use new fields.
8686 (read): Likewise.
8687 (read(byte[],int,int)): Likewise.
8688 (skip): Likewise.
8689 (refill): Likewise.
8690
8691 2004-03-11 Mark Wielaard <mark@klomp.org>
8692
8693 * java/beans/BeanDescriptor.java (BeanDescriptor):
8694 Set the FeatureDescriptor programmatic name.
8695
8696 2004-03-11 Michael Koch <konqueror@gmx.de>
8697
8698 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
8699 This file was was just copied form java/io/natFileDescriptorEcos.cc
8700 and never changed to compile correctly.
8701
8702 2004-03-11 Michael Koch <konqueror@gmx.de>
8703
8704 * gnu/java/nio/PipeImpl.java
8705 (SourceChannelImpl): Made final.
8706 (read): Implemented.
8707 (SinkChannelImpl): Made final.
8708 (write): Implemented.
8709
8710 2004-03-11 Michael Koch <konqueror@gmx.de>
8711
8712 * gnu/java/net/PlainDatagramSocketImpl.java:
8713 Reformated to match classpath's version more.
8714
8715 2004-03-11 Michael Koch <konqueror@gmx.de>
8716
8717 * gnu/java/awt/peer/ClasspathFontPeer.java:
8718 Fixed javadoc to be correct xhtml.
8719 * gnu/java/awt/peer/gtk/GtkArgList.java
8720 (add): Use Boolean.valueOf() instead of new Boolean().
8721
8722 2004-03-09 Michael Koch <konqueror@gmx.de>
8723
8724 * java/lang/Thread.java
8725 (runnable): Moved around.
8726 (daemon): Renamed from daemon_flag.
8727 (contextClassLoader): Renamed from context_class_loader.
8728 (Thread): Reordered constructors.
8729 (activeCount): Use group directly.
8730 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
8731 (holdsLock): Reworked javadoc.
8732 (setDaemon): Reworked.
8733 * java/lang/natThread.cc
8734 (destroy): Removed.
8735
8736 2004-03-08 Anthony Green <green@redhat.com>
8737
8738 * Makefile.am: Build property resource files into libgcj.
8739 * Makefile.in: Rebuilt.
8740 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8741 java/util/regex/PatternSyntaxException.java,
8742 gnu/regexp/CharIndexed.java,
8743 gnu/regexp/CharIndexedCharArray.java,
8744 gnu/regexp/CharIndexedInputStream.java,
8745 gnu/regexp/CharIndexedReader.java,
8746 gnu/regexp/CharIndexedString.java,
8747 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
8748 gnu/regexp/REException.java,
8749 gnu/regexp/REFilterInputStream.java,
8750 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
8751 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
8752 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
8753 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
8754 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
8755 gnu/regexp/RETokenLookAhead.java,
8756 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
8757 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
8758 gnu/regexp/RETokenStart.java,
8759 gnu/regexp/RETokenWordBoundary.java,
8760 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
8761
8762 2004-03-03 Per Bothner <per@bothner.com>
8763
8764 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
8765 Optimize when argument is a FileChannelImpl.
8766 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
8767 New native methods.
8768 * java/nio/channels/natChannels.cc: New file for new native methods.
8769 * Makefile.am: Update accordingly.
8770
8771 2004-03-02 Jan Hubicka <jh@suse.cz>
8772
8773 * configure.host: Pass -fno-omit-frame-pointer for i386.
8774 * configure.in: Likewise.
8775 * configure: Regenerate.
8776
8777 2004-03-01 Per Bothner <per@bothner.com>
8778
8779 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
8780
8781 2004-02-29 Per Bothner <per@bothner.com>
8782
8783 * java/nio/channels/FileChannelImpl.java: Moved to package
8784 gnu/java/nio/channels, since we need to refer to it from java.io.
8785 * java/nio/channels/natFileChannelImpl.cc: Removed file.
8786 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
8787 from java/nio/channels. Don't depend on FileDescriptor.
8788 (in, out, err): New static fields.
8789 (mode): New field.
8790 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
8791 from FileDescriptor.
8792 (by): Removed MappedByteBuffer field.
8793 (map): New working implementation.
8794 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
8795 some code "ported" from natFileDescriptoPosix.cc.
8796 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
8797 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
8798 * java/io/FileDescriptor.java: Implement on top of FileChannel.
8799 Remove native methods.
8800 * Makefile.am, configure.in: Updated accordingly.
8801
8802 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
8803 (ch): New FileChannelImpl field. Update constructor to match.
8804 (releaseImpl): Remove native method. Instead ...
8805 (release): Call unlock on channel.
8806 * gnu/java/nio/natFileLockImpl.cc: Removed file.
8807
8808 * java/io/natFileDescriptorEcos.cc: Remove file.
8809 * java/io/natFileDescriptorPosix.cc: Remove file.
8810 * java/io/natFileDescriptorWin32.cc: Remove file.
8811 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
8812 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
8813 (<init>(FileChannelImpl)): New package-private constructor.
8814 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
8815 (available, close, read, skip): Implement using FileChannelImpl.
8816 (getFD): Allocate FileDescriptor if needed.
8817 (getChannel): Is now trivial.
8818 * java/io/FileOutputStream.java: Corresponding changes.
8819 * java/io/RandomAccessFile.java: Corresponding changes.
8820
8821 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
8822 unmapImpl): New dummy methods, to be overridden by subclass.
8823 (finalize, isLoaded, load, force): New methods.
8824 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
8825 Now works, at least for read mapping.
8826
8827 * java/lang/natPosixProcess.cc (startProcess): Implement standard
8828 streams using FileChannelImpl, not FileDescriptor.
8829 * java/lang/natWin32Process.cc (startProcess): Likewise.
8830
8831 2004-02-28 Michael Koch <konqueror@gmx.de>
8832
8833 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
8834 wrong code.
8835
8836 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
8837
8838 * java/io/ObjectInputStream.java
8839 (readClassDescriptor): Keep elements of the mapping non null.
8840 (checkTypeConsistency): New method.
8841 (readFields): Fixed main loop and base logic. Small reindentation.
8842 * java/io/ObjectStreamField.java
8843 (lookupField): New method to update the field reference.
8844 (checkFieldType): New method.
8845 * java/io/ObjectStreamClass.java
8846 (setClass, setFields): Call lookupField when building the field
8847 database. Check the real field type.
8848
8849 2004-02-28 Michael Koch <konqueror@gmx.de>
8850
8851 * java/nio/ByteOrder.java
8852 (nativeOrder): Use equals() to compare strings.
8853
8854 2004-02-26 Michael Koch <konqueror@gmx.de>
8855
8856 * gnu/java/nio/FileLockImpl.java
8857 (finalize): Made protected.
8858 * java/nio/channels/FileChannel.java
8859 (MapMode.READ_ONLY): Made final.
8860 (MapMode.READ_WRITE): Made final.
8861 (MapMode.PRIVATE): Made final.
8862 * java/nio/channels/SocketChannel.java
8863 (open): Simplified code.
8864 * java/nio/channels/spi/AbstractSelectableChannel.java
8865 (registered): Unused, removed.
8866 (keyFor): Check channel is open, only locate key
8867 and not add a new one.
8868 (register): Don't delete attachments.
8869
8870 2004-02-26 Michael Koch <konqueror@gmx.de>
8871
8872 * gnu/java/awt/ComponentDataBlitOp.java
8873 (INSTANCE): Made final.
8874 * gnu/java/awt/image/ImageDecoder.java:
8875 Reworked imports.
8876 (cm): Unused, removed.
8877
8878 2004-02-26 Michael Koch <konqueror@gmx.de>
8879
8880 * gnu/java/nio/DatagramChannelImpl.java
8881 (send): Check if target address is resolved.
8882
8883 2004-02-26 Michael Koch <konqueror@gmx.de>
8884
8885 * Makefile.am: Generate and install headers for inner classes in
8886 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
8887 * Makefile.in: Regenerated.
8888
8889 2004-02-24 Anthony Green <green@redhat.com>
8890
8891 * java/lang/StringBuffer.java: No need to NULL out remainder of
8892 buffer since ensureCapacity_unsynchronized will have done this for
8893 us.
8894
8895 2004-02-20 Michael Koch <konqueror@gmx.de>
8896
8897 * gnu/java/net/protocol/jar/Handler.java
8898 (): Removed unneeded check for file != null. java.net.URL.getFile()
8899 returns an empty string but never null.
8900
8901 2004-02-20 Michael Koch <konqueror@gmx.de>
8902
8903 * gnu/gcj/convert/Convert.java
8904 (main): Use equals() to compare strings.
8905
8906 2004-02-20 Michael Koch <konqueror@gmx.de>
8907
8908 * javax/swing/AbstractButton.java: Made several constants final.
8909 (getRolloverSelectedIcon): Made public.
8910 (getSelectedIcon): Made public.
8911
8912 2004-02-16 Per Bothner <per@bothner.com>
8913
8914 * java/nio/CharBufferImpl.java: Inline super constructor.
8915 * java/nio/DoubleBufferImpl.java: Likewise.
8916 * java/nio/FloatBufferImpl.java: Likewise.
8917 * java/nio/IntBufferImpl.java: Likewise.
8918 * java/nio/LongBufferImpl.java: Likewise.
8919 * java/nio/ShortBufferImpl.java: Likewise.
8920 * java/nio/CharBuffer.java: Remove unused constructor.
8921 * java/nio/DoubleBuffer.java: Likewise.
8922 * java/nio/FloatBuffer.java: Likewise.
8923 * java/nio/IntBuffer.java: Likewise.
8924 * java/nio/LongBuffer.java: Likewise.
8925 * java/nio/ShortBuffer.java: Likewise.
8926 * java/nio/CharViewBufferImpl.java: New convenience constructor.
8927 Fix buggy call to super constructor.
8928 * java/nio/DoubleViewBufferImpl.java: Likewise.
8929 * java/nio/FloatViewBufferImpl.java: Likewise.
8930 * java/nio/IntViewBufferImpl.java: Likewise.
8931 * java/nio/LongViewBufferImpl.java: Likewise.
8932 * java/nio/ShortViewBufferImpl.java: Likewise.
8933
8934 * java/nio/ByteBuffer.java (endian): Make non-private so other
8935 java.nio classes can inherit it.
8936 (<init>): Don't bother clearing array_offset.
8937 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
8938 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
8939 Remove redundant test.
8940
8941 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
8942 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
8943 Use new XxxViewBufferImpl constructors.
8944 * java/nio/MappedByteBufferImpl.java: Likewise.
8945 * java/nio/DirectByteBufferImpl.java: Likewise.
8946
8947 * java/nio/ByteBufferImpl.java: Remove one constructor.
8948 Inline super in remaining constructor.
8949 * java/nio/ByteBuffer.java: Remove unused constructor.
8950
8951 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
8952
8953 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
8954 * java/nio/DirectByteBufferImpl.java (owner): New field.
8955 (offset): Remove unused field.
8956 (<init>): Modify one and add another constructor. Change callers.
8957 (allocateDirect): Removed - not used.
8958 (getImpl, putImpl): Make static and pass address explicitly,
8959 to make them useful for MappedByteBufferImpl.
8960 (get, put): Check for underflow. Modify for new getImpl.
8961 (getImpl): New native method where target is array.
8962 (get(byte[],int,int)): Use the above.
8963 (adjustAddress): New static native method.
8964 (slice, duplicate, asReadOnly): New implementations.
8965 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
8966 adjustAddress): New or updated native methods.
8967
8968 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
8969
8970 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
8971 overflow of fieldmapping.
8972
8973 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
8974
8975 * javax/swing/undo/UndoManager.java: Re-written from scratch.
8976
8977 2004-02-14 Per Bothner <per@bothner.com>
8978
8979 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
8980 Set closed before calling implCloseChannel, as in the spec.
8981
8982 2004-02-09 Graydon Hoare <graydon@redhat.com>
8983
8984 * javax/swing/ToggleButtonModel.java: Remove dead class.
8985 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
8986 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
8987 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
8988 * Makefile.am: Update for new and removed files.
8989 * Makefile.in: Regenerate.
8990
8991 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
8992 * javax/swing/AbstractButton.java
8993 (AbstractButton): Initialize fields correctly in ctor.
8994 * javax/swing/JCheckbox.java
8995 (JCheckBox): Override painting flags.
8996 * javax/swing/DefaultButtonModel.java: Conform to sun.
8997 * javax/swing/JComponent.java (paint): Fill with background color
8998 if available.
8999 (processComponentKeyEvent)
9000 (processFocusEvent)
9001 (processKeyEvent)
9002 (processMouseMotionEvent): Remove event-consuming empty methods.
9003 (getUIClassID): Return "ComponentUI" not "JComponent"
9004 * javax/swing/JFrame.java: Remove some debugging chatter.
9005 (JFrame): Subscribe to window events.
9006 * javax/swing/JRadioButton.java
9007 (JRadioButton): Override painting flags.
9008 * javax/swing/JRootPane.java
9009 (JRootPane): Set background from UIDefaults.
9010 * javax/swing/JToggleButton.java
9011 (ToggleButtonModel): New inner class.
9012 (JToggleButton): Override layout alighment.
9013 * javax/swing/SwingUtilities.java:
9014 (getLocalBounds): Return width and height, not x and y.
9015 (calculateInnerArea): Use local bounds, not bounds.
9016 (layoutCompoundLabel): Provide overridden form.
9017 (layoutCompoundLabel): Correct bugs.
9018 * javax/swing/UIDefaults.java: Correct comment.
9019 * javax/swing/plaf/basic/BasicButtonUI.java:
9020 Move most logic into defaults, external listener.
9021 (paintIcon): Implement icon painting.
9022 (paint): Fix state painting to conform to changes in model.
9023 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9024 Remove most dead/wrong methods.
9025 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9026 * javax/swing/plaf/basic/BasicIconFactory.java:
9027 (DummyIcon): New class.
9028 (getMenuItemCheckIcon)
9029 (getMenuItemArrowIcon)
9030 (getMenuArrowIcon)
9031 (getCheckBoxMenuItemIcon)
9032 (getRadioButtonMenuItemIcon)
9033 (createEmptyFrameIcon): Return DummyIcons, not null.
9034 (getCheckBoxIcon): Implement an icon that looks like sun's.
9035 (getRadioButtonIcon): Implement an icon that looks like sun's.
9036 * javax/swing/plaf/basic/BasicLookAndFeel.java
9037 (initComponentDefaults): Fix impossible values, add some missing.
9038 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9039 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9040 Remove most dead/wrong methods.
9041 (icon): New field.
9042 (getDefaultIcon): New method.
9043 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9044 Remove most dead/wrong methods.
9045 * javax/swing/plaf/metal/MetalLookAndFeel.java
9046 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9047 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9048 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9049 Implement "clearing" as drawing, when on pixmap drawables.
9050
9051 * javax/swing/JButton.java (getUIClassID):
9052 * javax/swing/JCheckBox.java (getUIClassID):
9053 * javax/swing/JEditorPane.java (getUIClassID):
9054 * javax/swing/JLabel.java (getUIClassID):
9055 * javax/swing/JList.java (getUIClassID):
9056 * javax/swing/JOptionPane.java (getUIClassID):
9057 * javax/swing/JPanel.java (getUIClassID):
9058 * javax/swing/JPasswordField.java (uiClassID):
9059 * javax/swing/JRadioButton.java (getUIClassID):
9060 * javax/swing/JRootPane.java (getUIClassID):
9061 * javax/swing/JScrollPane.java (getUIClassID):
9062 * javax/swing/JTabbedPane.java (getUIClassID):
9063 * javax/swing/JToggleButton.java (getUIClassID):
9064 * javax/swing/JTree.java (getUIClassID):
9065 * javax/swing/JViewport.java (getUIClassID):
9066 * javax/swing/text/JTextComponent.java (getUIClassID):
9067 Return "fooUI" not "Jfoo"
9068
9069 2004-02-11 Michael Koch <konqueror@gmx.de>
9070
9071 * java/net/DatagramSocket.java
9072 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9073 Boolean object.
9074 (setBroadcast): Likewise.
9075 * java/net/MulticastSocket.java
9076 (setLoopbackMode): Likewise.
9077 * java/net/ServerSocket.java
9078 (setReuseAddress): Likewise.
9079 * java/net/Socket.java
9080 (setTcpNoDelay): Likewise.
9081 (setSoLinger): Likewise.
9082 (setOOBInline): Likewise.
9083 (setKeepAlive): Likewise.
9084 (setReuseAddress): Likewise.
9085 * java/net/URLConnection.java
9086 (setContentHandler): Replace == with equals().
9087 * java/net/URLStreamHandler.java
9088 (hostSEquals): Fix checking host addresses.
9089 (toExternalForm): Dont check protocol for null. We know already its
9090 not null.
9091
9092 2004-02-10 David Jee <djee@redhat.com>
9093
9094 * java/awt/BorderLayout.java
9095 (calcCompSize): Invisible components get zero dimensions.
9096 * java/awt/Button.java
9097 (setLabel): Set actionCommand.
9098 * java/awt/Component.java
9099 (show): Invalidate component and parent container.
9100 (hide): Likewise.
9101
9102 2004-02-10 David Jee <djee@redhat.com>
9103
9104 * java/awt/GridBagLayout.java
9105 (GridBagLayout): New private field, internalcomptable.
9106 (lookupInternalConstraints): New method.
9107 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9108 (GetLayoutInfo): Reimplement.
9109 (calcCellSizes): Ignore rows/columns with size 0.
9110
9111 2004-02-10 Michael Koch <konqueror@gmx.de>
9112
9113 * gnu/java/awt/EmbeddedWindow.java
9114 (setHandle): Use java.awt.Component.getPeer() instead of
9115 java.awt.Component.peer directly.
9116
9117 2004-02-10 David Jee <djee@redhat.com>
9118
9119 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9120 (gtkSetLabel): New native method definition.
9121 (setLabel): Use gtkSetLabel.
9122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9123 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9124
9125 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9126
9127 * include/powerpc-signal.h: Revert 2004-01-21 change.
9128 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9129 from syscall for ppc32 versions.
9130
9131 2004-02-08 Per Bothner <per@bothner.com>
9132
9133 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9134 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9135 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9136 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9137 Pass ByteOrder parameter to most methods, since the underlying
9138 ByteBuffer's order isn't always what we should use.
9139 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9140 * java/nio/DirectByteBufferImpl.java: Likewise.
9141 Use ByteBufferHelper methods.
9142 * java/nio/MappedByteBufferImpl.java: Likewise.
9143 (compact): Use shiftDown.
9144 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9145 (get, put): Use ByteBufferHelper.
9146 (compact): Use new shiftDown method.
9147 (duplicate(boolean)): New helper method.
9148 (duplicate, asReadOnlyBuffer): Use it.
9149 (order): Return endian field.
9150 * java/nio/DoubleViewBufferImpl.java: Likewise.
9151 * java/nio/FloatViewBufferImpl.java: Likewise.
9152 * java/nio/IntViewBufferImpl.java: Likewise.
9153 * java/nio/LongViewBufferImpl.java: Likewise.
9154 * java/nio/ShortViewBufferImpl.java: Likewise.
9155 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9156 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9157 (compact): Re-implement using shiftDown.
9158
9159 2004-02-08 Andreas Jaeger <aj@suse.de>
9160
9161 * include/x86_64-signal.h: Fix typo.
9162
9163 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9164
9165 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9166 qualifier to _regs.
9167 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9168
9169 2004-02-06 Michael Koch <konqueror@gmx.de>
9170
9171 * java/io/ObjectInputStream.java
9172 (currentClassLoader): Reverted to old version of this method.
9173
9174 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9175
9176 * java/io/ObjectInputStream.java: Made all calls
9177 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9178 use cached info from ObjectStreamClass. (readClassDescriptor):
9179 Cache more information in ObjectStreamClass. (processResolution,
9180 readFields): Use cached info from ObjectStreamClass.
9181 (newObject): Throw exception instead of returning null for failure.
9182 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9183 setCharField, setDoubleField, setFloatField, setIntField,
9184 setLongField, setShortField, setObjectField, readObjectParams):
9185 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9186 check.
9187 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9188 (setClass): Added call to cacheMethods() (findMethod): New method.
9189 (cacheMethods): New method. (ObjectStreamClass): Added call to
9190 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9191 AccessController.doPrivileged to invoke setAccessible.
9192 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9193 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9194 New fields.
9195 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9196 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9197 isPrimitive): Made safe for cases where type == null.
9198 (setBooleanField, setByteField, setCharField, setShortField,
9199 setIntField, setLongField, setFloatField, setDoubleField,
9200 setObjectField): New methods.
9201
9202 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9203
9204 * java/awt/Component.java (getFont): Return a default font
9205 instead of null.
9206
9207 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9208 (Scrollbar (int, int, int, int, int)): Make default page
9209 increment 10.
9210 (setValues): Only call peer.setValues if one of the values has
9211 changed.
9212 (generateName): New method.
9213 (getUniqueLong): New method.
9214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9215 (range_scrollbar): Remove structure.
9216 (post_adjustment_event): Remove function.
9217 (post_change_event): Accept jobject argument.
9218 (create): Cast jints to gdoubles. Round scrollbar values to the
9219 nearest integer. Clamp min, max and value settings.
9220 (connectJObject): Connect hook to widget->window.
9221 (connectSignals): Remove range_scrollbar structure variables.
9222 Remove "move-slider" connection. Pass global peer reference to
9223 "value-changed" callback.
9224 (setLineIncrement): Cast jint value to gdouble.
9225 (setPageIncrement): Likewise.
9226 (setValues): Likewise. Clamp min, max and value settings.
9227
9228 2004-02-05 Michael Koch <konqueror@gmx.de>
9229
9230 * javax/swing/AbstractCellEditor.java
9231 (getCellEditorValue): Removed.
9232 * javax/swing/Box.java: Reformated.
9233 (serialVersionUID): New field.
9234 * javax/swing/ButtonGroup.java:
9235 Removed some weird whitespace.
9236 * javax/swing/CellEditor.java: Reformated.
9237 * javax/swing/CellRendererPane.java
9238 (serialVersionUID): New field.
9239 (AccessibleCellRendererPaneserialVersionUID): New field.
9240 * javax/swing/DefaultListModel.java
9241 (serialVersionUID): New field.
9242 * javax/swing/JEditorPane.java
9243 (serialVersionUID): New field.
9244 (setPage): Throws IOException.
9245 (addHyperlinkListener): Implemented.
9246 (removeHyperlinkListener): Implemented.
9247 (getHyperlinkListener): New method.
9248 * javax/swing/JFileChooser.java
9249 (serialVersionUID): New field.
9250 (AccessibleJFileChooser.serialVersionUID): New field.
9251 (addActionListener): Implemented.
9252 (removeActionListener): Implemented.
9253 (getActionListeners): New method.
9254 * javax/swing/JFormattedTextField.java
9255 (serialVersionUID): New field.
9256 (AbstractFormatter.serialVersionUID): New field.
9257 (clone): Throws CloneNotSupportedException
9258 (setEditValid): Add missing argument.
9259 (stringToValue): Throws ParseExcpetion.
9260 (valueToString): Throws ParseException.
9261 (commitEdit): Throws ParseException.
9262 * javax/swing/JLabel.java
9263 (serialVersionUID): New field.
9264 * javax/swing/JList.java
9265 (serialVersionUID): New field.
9266 (addListSelectionListener): Reformated.
9267 (removeListSelectionListener): Reformated.
9268 (getListSelectionListeners): New method.
9269 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9270 Reformated.
9271 (serialVersionUID): New field.
9272 * javax/swing/table/AbstractTableModel.java
9273 (getValueAt): Removed.
9274 (getColumnCount): Removed.
9275 (getRowCount): Removed.
9276
9277 2004-02-05 Michael Koch <konqueror@gmx.de>
9278
9279 * java/awt/datatransfer/DataFlavor.java
9280 (imageFlavor): Javadoc added.
9281 (javaJVMLocalObjectType): Fixed.
9282
9283 2004-02-05 Michael Koch <konqueror@gmx.de>
9284
9285 * java/lang/Thread.java
9286 (Thread): Reordered.
9287 (setContextClassLoader): Fixed javadoc comment.
9288 (setPriority): Reordered.
9289 (yield): Reordered.
9290 (initialize_native): Reordered.
9291 (gen_name): Reordered.
9292
9293 2004-02-05 Michael Koch <konqueror@gmx.de>
9294
9295 * java/lang/Thread.java: Reordered fields, reformated much code,
9296 no functional changes, some variables renamed, javadoc comments
9297 merged.
9298
9299 2004-02-05 Michael Koch <konqueror@gmx.de>
9300
9301 * java/util/zip/Deflater.java,
9302 java/util/zip/DeflaterOutputStream.java,
9303 java/util/zip/GZIPInputStream.java:
9304 Reformated and javadoc comments merged from classpath.
9305
9306 2004-02-05 Michael Koch <konqueror@gmx.de>
9307
9308 * gnu/java/nio/NIOServerSocket.java
9309 (impl): Unused, removed.
9310 * gnu/java/nio/SocketChannelImpl.java
9311 (finnishConnect): Don't throw NoConnectionPendingException if not
9312 connected or no connection pending.
9313
9314 2004-02-02 Graydon Hoare <graydon@redhat.com>
9315
9316 * javax/swing/SwingUtilities.java: Many new functions.
9317 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9318 * javax/swing/basic/BasicGraphicsUtils.java
9319 (getPreferredButtonSize): Start layout from top-left corner.
9320
9321 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9322
9323 * java/awt/geom/AffineTransform.java:
9324 Corrected comments on the field definitions for
9325 m11 and m10.
9326 (shear): Fixed few errors that caused shear
9327 transformation to be performed incorrectly.
9328 (createInverse): Fixed to return correct
9329 inverse of the given matrix.
9330
9331 2004-02-03 Tom Tromey <tromey@redhat.com>
9332
9333 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9334 PATH or LD_LIBRARY_PATH is not set in parent environment.
9335
9336 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9337
9338 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9339 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9340 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9341 java/awt/Component.java, java/awt/Container.java,
9342 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9343 java/awt/LayoutManager2.java, java/awt/List.java,
9344 java/awt/Menu.java, java/awt/MenuBar.java,
9345 java/awt/MenuItem.java, java/awt/Polygon.java,
9346 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9347 java/awt/Scrollbar.java, java/awt/TextArea.java,
9348 java/awt/TextField.java,
9349 java/awt/image/renderable/RenderContext.java,
9350 javax/swing/JApplet.java: Fix handling of alias methods, where a
9351 method has been deprecated in favour of a new one with the same
9352 funtion but a different name. Put the method implementation in
9353 the deprecated method and have the new method call the
9354 deprecated one. Make all other code call the new method.
9355
9356 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9357
9358 * gnu/java/nio/DatagramChannelImpl.java
9359 (inChannelOperation): New field.
9360 (isInChannelOperation): New accessor.
9361 (setInChannelOperation): New modifier.
9362 (receive): Use capacity() - position() of destination
9363 buffer instead of remaining(). Set and reset our "in
9364 channel operation indicator" before and after delegating
9365 the receive to our datagram socket. Removed testing code.
9366 Update destination buffer's current position if it is
9367 backed by a byte array (hasArray() is true).
9368 (send): Set and reset our "in channel operation indicator"
9369 before and after delegating the send to our datagram socket.
9370 Removed testing code. Update source buffer's current position
9371 if it is backed by a byte array (hasArray() is true).
9372 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9373 Use capacity() - position() of destination buffer instead
9374 of remaining().
9375 * java/net/DatagramSocket.java (receive): Don't throw an
9376 IllegalBlockingModeException if we have a non-blocking
9377 channel which initiated this operation.
9378 (send): Likewise.
9379
9380 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9381
9382 * configure.in: Add pkgconfig check for glib and gthread.
9383 * configure: Regenerate.
9384
9385 2004-02-01 Michael Koch <konqueror@gmx.de>
9386
9387 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9388 arguments.
9389 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9390 * verify.cc (debug_print): Mark 'fmt' unused.
9391
9392 2004-01-30 Michael Koch <konqueror@gmx.de>
9393
9394 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9395 * configure: Regenerated.
9396 * glib-2.0.m4: Removed.
9397 * gtk-2.0.m4: Removed.
9398 * libart.m4: Removed.
9399 * pkg.m4: New file.
9400
9401 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9402
9403 * gnu/java/net/PlainSocketImpl.java
9404 (inChannelOperation): New field.
9405 (isInChannelOperation): New accessor.
9406 (setInChannelOperation): New modifier.
9407 * gnu/java/nio/ServerSocketChannelImpl.java
9408 (accept): Set and reset our server socket's PlainSocketImpl's
9409 "in channel operation" indicator before and after delegating
9410 the accept to our server socket.
9411 * gnu/java/nio/SocketChannelImpl.java
9412 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9413 operation" indicator before and after delegating the operation to
9414 our socket.
9415 (read): Likewise.
9416 (write): Likewise.
9417 * java/net/ServerSocket.java (implAccept): Don't throw an
9418 IllegalBlockingModeException if we have a non-blocking
9419 channel which initiated this accept operation.
9420 * java/net/Socket.java (connect): Don't throw an
9421 IllegalBlockingModeException if we have a non-blocking
9422 channel which initiated this connect operation.
9423 * java/nio/channels/spi/AbstractSelectableChannel.java
9424 (configureBlocking): Only call implConfigureBlocking() if
9425 the desired blocking mode is different from our current one.
9426
9427 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9428
9429 * java/io/BufferedReader.java (sbuf): New field.
9430 (readLine): Use String.valueOf instead of new String() as per
9431 Per Bothner's suggestion. Use instance sbuf field instead of a
9432 local StringBuffer instance.
9433 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9434 caller's buffer to refill().
9435 (read(void)): Pass our internal work buffer to refill if our
9436 input queue is empty.
9437 (refill): Changed return type to int. Use the specified buffer
9438 instead of our work buffer as per Bryce McKinlay's suggestion.
9439 Return the number of characters read or -1 for EOF.
9440
9441 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9442
9443 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9444
9445 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9446
9447 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9448 * Makefile.in: Re-generated.
9449 * gnu/awt/xlib/XFontPeer.java: New file.
9450 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9451 (setClip): Commented out debug printout.
9452 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9453 (getFontPeer): Return XFontPeer.
9454 (getLocalGraphicsEnvironment): New method.
9455 (getClasspathFontPeer): New method.
9456 (createFont): New method.
9457
9458 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9459
9460 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9461 return null.
9462
9463 2004-01-29 Kim Ho <kho@redhat.com>
9464
9465 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9466 (gtkLayoutSetVisible): New method
9467 (setMenuBar): Hide layout before setting MenuBar
9468 and reshow it after.
9469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9470 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9471
9472 2004-01-28 Michael Koch <konqueror@gmx.de>
9473
9474 * gnu/java/lang/ClassHelper.java
9475 (getPackagePortion): Removed.
9476
9477 2004-01-28 Michael Koch <konqueror@gmx.de>
9478
9479 * javax/swing/JComponent.java
9480 (listenerList): Initalize globally.
9481 (ancestor_list): Removed.
9482 (veto_list): Removed.
9483 (change_list): Removed.
9484 (get_veto_list): Removed.
9485 (get_change_list): Removed.
9486 (get_ancestor_list): Removed.
9487 (removeAncestorListener): Reimplemented.
9488 (removePropertyChangeListener): Likewise.
9489 (removeVetoableChangeListener): Likewise.
9490 (addAncestorListener): Likewise.
9491 (addPropertyChangeListener): Likewise.
9492 (addVetoableChangeListener): Likewise.
9493 (getListeners): New method.
9494 (getAncestorListeners): Likewise.
9495 (getVetoableChangeListeners): Likewise.
9496 (fireVetoableChange): Throws PropertyVetoException.
9497 * javax/swing/JEditorPane.java
9498 (JEditorPane): Throws IOException.
9499
9500 2004-01-28 David Jee <djee@redhat.com>
9501
9502 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9503 (create): Set the default foreground color to
9504 java.awt.SystemColor.windowText.
9505
9506 2004-01-27 Michael Koch <konqueror@gmx.de>
9507
9508 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9509 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9510 Reindented to merge with classpath.
9511
9512 2004-01-27 David Jee <djee@redhat.com>
9513
9514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9515 (addExposeFilter): Handle GtkFramePeer separately.
9516 (removeExposeFilter): Likewise.
9517
9518 2004-01-27 Michael Koch <konqueror@gmx.de>
9519
9520 * gnu/java/net/protocol/http/Connection.java
9521 (getOutputStream): Fixed typo.
9522
9523 2004-01-27 Michael Koch <konqueror@gmx.de>
9524
9525 * java/lang/Class.java
9526 (getConstructor): Removed SecurityException from throws clause.
9527 (_getConstructors): Likewise.
9528 (getConstructors): Likewise.
9529 (getDeclaredConstructor): Likewise.
9530 (getDeclaredClasses): Likewise.
9531 (getDeclaredConstructors): Likewise.
9532 (getDeclaredField): Likewise.
9533 (getDeclaredMethod): Likewise.
9534 (getDeclaredMethods): Likewise.
9535 (getField): Likewise.
9536 (getMethod): Likewise.
9537 (getMethods): Likewise.
9538
9539 2004-01-27 Kim Ho <kho@redhat.com>
9540
9541 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9542 (removeMenuBarPeer): Remove MenuBarPeer argument.
9543 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9544 (dispose): Call native method.
9545 * java/awt/Frame.java (setMenuBar): Create and remove
9546 MenuBar peers only if the Frame has a peer.
9547 (addNotify): Create the MenuBar peer if one exists.
9548 (removeNotify): Remove MenuBar peer if one exists.
9549 * java/awt/Menu.java: Fix imports.
9550 (addNotify): Don't use full class name.
9551 (removeNotify): Call removeNotify on all children.
9552 * java/awt/MenuBar.java (removeNotify): Call
9553 removeNotify on all children.
9554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9555 (removeMenuBarPeer): Remove MenuBarPeer argument.
9556 Iterate through children to find the Frame's MenuBar.
9557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9558 New file.
9559 (dispose): Remove references to the MenuComponent.
9560
9561 2004-01-27 Michael Koch <konqueror@gmx.de>
9562
9563 * javax/swing/AbstractCellEditor.java: Reformated.
9564 * javax/swing/DefaultListSelectionModel.java
9565 (listenerList): Made protected.
9566 (addListSelectionListener): Javadoc added.
9567 (removeListSelectionListener): Likewise.
9568 (getListeners): Likewise.
9569 (getListSelectionListeners): Likewise.
9570 * javax/swing/JComboBox.java: Merged copyright year.
9571 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9572
9573 2004-01-26 Andrew Haley <aph@redhat.com>
9574
9575 * javax/swing/table/JTableHeader.java: Extend JComponent
9576
9577 2004-01-26 Kim Ho <kho@redhat.com>
9578
9579 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9580 Fix spacing.
9581
9582 2004-01-26 Kim Ho <kho@redhat.com>
9583
9584 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9585 method.
9586 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9587 height and let the Layout Managers readjust anything that
9588 needs to move.
9589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9590 (moveLayout): New method. Shift everything in the Gtk
9591 layout in the Y direction by an offset.
9592
9593 2004-01-26 David Jee <djee@redhat.com>
9594
9595 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9596 (handleEvent): Implemented. Handles PaintEvents.
9597 (paint): Implemented. Use GTK native methods to queue updates
9598 for this heavyweight peer.
9599 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9600 (handleEvent): Removed.
9601 * java/awt/Component.java
9602 (paint): Implemented. Explictly paint the heavyweight peer.
9603 (update): Clear the background for heavyweight components.
9604 (paintAll): No need to call peer.paint() anymore.
9605 (processEvent): Don't process PaintEvents here. It's now done in
9606 the peer's handleEvent().
9607 (processPaintEvent): Removed.
9608 * java/awt/Container.java
9609 (paint): No need to call super.paint(). Visit heavyweight
9610 children as well.
9611 (update): Don't clear the background here. It's done in
9612 Component.update().
9613 (visitChildren): Added check to not recurse into Containers.
9614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9615 (filter_expose_event_handler): New method. Filter unwanted
9616 expose events while painting heavyweight peers.
9617 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9618 New method. Connect filter and block pre_event_handler.
9619 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9620 New method. Disconnect filter and unblock pre_event_handler.
9621 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9622 New method. Invalidate and update given area.
9623 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9624 (pre_event_handler): Add checks for unwanted expose events.
9625
9626 2004-01-26 David Jee <djee@redhat.com>
9627
9628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9629 (find_bg_color_widget): For GtkButton, return its child.
9630
9631 2004-01-26 Kim Ho <kho@redhat.com>
9632
9633 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9634 private.
9635 (setMenuBar): Grab MenuBar height and change insets.
9636 (setBounds): Account for MenuBar height.
9637 (postInsetsChangedEvent): Ditto.
9638 (postSizeAllocateEvent): Remove.
9639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9640 (menubar_resize_cb): Remove
9641 (setMenuBarPeer): Remove callback.
9642 (getMenuBarHeight): Use size requisition instead of
9643 allocation.
9644
9645 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9646
9647 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
9648 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9649 when peer is null.
9650 (setColumns): Remove FIXME -- peer will retrieve number of
9651 columns by calling getColumns.
9652 (setRows): Likewise for number of rows.
9653 (next_text_number): New field.
9654 (paramString): Fix param string.
9655 (generateName): New method.
9656 (getUniqueLong): New method.
9657
9658 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9659
9660 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
9661 image observer of image loading status.
9662 (getImage (String)): Start image production.
9663 (getImage (URL)): Likewise.
9664
9665 2004-01-25 Michael Koch <konqueror@gmx.de>
9666
9667 * java/lang/Class.java: Imports reworked, reformated.
9668 (Class): Javadoc added.
9669 (forName): Likewise.
9670 (getClasses): Likewise.
9671 (getClassLoader): Likewise.
9672 (getComponentType): Likewise.
9673 (getConstructor): Likewise.
9674 (getConstructors): Likewise.
9675 (getDeclaredConstructor): Likewise.
9676 (getDeclaredClasses): Likewise.
9677 (getDeclaredConstructors): Likewise.
9678 (getDeclaredField): Likewise.
9679 (getDeclaredMethod): Likewise.
9680 (getDeclaredMethods): Likewise.
9681 (getDeclaringClass): Likewise.
9682 (getField): Likewise.
9683 (getInterfaces): Likewise.
9684 (getMethod): Likewise.
9685 (getMethods): Likewise.
9686 (getModifiers): Likewise.
9687 (getName): Likewise.
9688 (getResource): Likewise.
9689 (getResourceAsStream): Likewise.
9690 (getSigners): Likewise.
9691 (setSigners): Likewise.
9692 (getSuperclass): Likewise.
9693 (isArray): Likewise.
9694 (isAssignableFrom): Likewise.
9695 (isInstance): Likewise.
9696 (isInterface): Likewise.
9697 (isPrimitive): Likewise.
9698 (newInstance): Likewise.
9699 (getProtectionDomain): Likewise.
9700 (toString): Likewise.
9701 (Class): Moved.
9702 (initializeClass): Likewise.
9703 (finalize): Likewise.
9704
9705 2004-01-24 Michael Koch <konqueror@gmx.de>
9706
9707 * gnu/java/net/protocol/jar/Connection.java
9708 (hdrHash): Removed.
9709 (hdrVec): Removed.
9710 (gotHeaders): Removed.
9711 (getHeaderField): Removed.
9712 (getHeaderFields): Removed.
9713 (getHeaderFieldKey): Removed.
9714 (getKey): Removed.
9715 (getField): Removed.
9716 (getHeaders): Removed.
9717
9718 2004-01-24 Michael Koch <konqueror@gmx.de>
9719
9720 * Makefile.am: Added library version to gtk peer lib.
9721 * Makefile.in: Regenerated.
9722
9723 2004-01-24 Michael Koch <konqueror@gmx.de>
9724
9725 * java/util/zip/InflaterInputStream.java: Merged class documentation
9726 with classpath.
9727
9728 2004-01-21 Jakub Jelinek <jakub@redhat.com>
9729
9730 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
9731 header. For __powerpc64__ provide the default-signal.h definitions
9732 for now.
9733 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
9734 instead of the dummy definitions.
9735 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
9736 (powerpc64*-*): Remove with_libffi_default.
9737 Only add -mminimal-toc for 64-bit compilations.
9738 * configure.in: Use powerpc-signal.h on powerpc64 as well.
9739 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
9740 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
9741 * configure: Rebuilt.
9742
9743 2004-01-23 Michael Koch <konqueror@gmx.de>
9744
9745 * gnu/java/nio/FileLockImpl.java: Compile fixes.
9746
9747 2004-01-23 Michael Koch <konqueror@gmx.de>
9748
9749 * java/lang/VMClassLoader.java: Reworked imports.
9750
9751 2004-01-23 Michael Koch <konqueror@gmx.de>
9752
9753 * javax/swing/AbstractAction.java: Reformated.
9754
9755 2004-01-23 Michael Koch <konqueror@gmx.de>
9756
9757 * java/text/CollationElementIterator.java:
9758 (setText): New method.
9759
9760 2004-01-23 Michael Koch <konqueror@gmx.de>
9761
9762 * gnu/java/nio/FileLockImpl.java:
9763 Fixed filename in copyright.
9764 (released): Removed.
9765 (finalize): New method.
9766 * gnu/java/nio/natFileLockImpl.cc
9767 (releaseImpl): Implemented.
9768 * java/nio/channels/FileChannelImpl.java:
9769 Reworked imports.
9770 (lock): Implemented.
9771 (lockImpl): New method.
9772 (tryLock): Implemented.
9773 (tryLockImpl): New method.
9774 * java/nio/channels/natFileChannelImpl.cc
9775 (lockImpl): New method.
9776 (tryLockImpl): New method.
9777
9778 2004-01-23 Michael Koch <konqueror@gmx.de>
9779
9780 * java/io/FileDescriptor.java
9781 (lock): New method.
9782 (tryLock): New method.
9783 (unlock): New method.
9784 * java/io/natFileDescriptorEcos.cc
9785 (lock): New method.
9786 (tryLock): New method.
9787 (unlock): New method.
9788 * java/io/natFileDescriptorPosix.cc
9789 (lock): New method.
9790 (tryLock): New method.
9791 (unlock): New method.
9792 * java/io/natFileDescriptorWin32.cc
9793 (lock): New method.
9794 (tryLock): New method.
9795 (unlock): New method.
9796
9797 2004-01-23 Michael Koch <konqueror@gmx.de>
9798
9799 * java/io/FileDescriptor.java
9800 (sync): Moved around, added javadoc.
9801 (valid): Likewise.
9802 (open): Likewise.
9803 (write): Likewise.
9804 (close): Likewise.
9805 (setLength): Likewise.
9806 (seek): Likewise.
9807 (getLength): Likewise.
9808 (getFilePointer): Likewise.
9809 (read): Likewise.
9810 (available): Likewise.
9811 (finalize): Likewise.
9812
9813 2004-01-23 Michael Koch <konqueror@gmx.de>
9814
9815 * javax/swing/AbstractAction.java: Reformated.
9816 (getPropertyChangeListeners): New method.
9817 * javax/swing/AbstractCellEditor.java: Reformated.
9818 (getCellEditorListeners): New method.
9819 * javax/swing/DefaultListSelectionModel.java
9820 (listenerList): New field.
9821 (listeners): Removed.
9822 (get_listeners): Removed.
9823 (addListSelectionListener): Rewritten.
9824 (removeListSelectionListener): Rewritten.
9825 (getListSelectionListeners): New method.
9826 (getListeners): New method.
9827 * javax/swing/JComboBox.java: Imports reworked.
9828 (addActionListener): Implemented.
9829 (removeActionListener): Implemented.
9830 (addItemListener): Implemented.
9831 (removeItemListener): Implemented.
9832 (addPopupMenuListener): Implemented.
9833 (removePopupMenuListener): Implemented.
9834 (getActionListeners): New method.
9835 (getItemListeners): New method.
9836 (getPopupMenuListeners): New method.
9837
9838 2004-01-23 Michael Koch <konqueror@gmx.de>
9839
9840 * gnu/java/net/protocol/http/Connection.java
9841 (connect): Don't initialize bufferedOutputStream if not needed.
9842 (sendRequest): Set property for content length if content is present.
9843 Write content only if present.
9844 (getOutputStream): Check if already connected, dont connect,
9845 initalize bufferedOutputStream if needed.
9846
9847 2004-01-23 Michael Koch <konqueror@gmx.de>
9848
9849 * java/io/FileDescriptor.java
9850 (in, out, err): Added javadoc.
9851 (static): Merged loading code.
9852 (fd, position): Moved around.
9853
9854 2004-01-23 Michael Koch <konqueror@gmx.de>
9855
9856 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
9857 New file.
9858
9859 2004-01-23 Michael Koch <konqueror@gmx.de>
9860
9861 * java/lang/Class.java,
9862 java/lang/Object.java,
9863 java/lang/Thread.java: Merged copyright with classpath.
9864
9865 2004-01-23 Michael Koch <konqueror@gmx.de>
9866
9867 * java/io/FileDescriptor.java: Merged copyright with classpath to
9868 start merging this class.
9869
9870 2004-01-22 Tom Tromey <tromey@redhat.com>
9871
9872 PR libgcj/13107:
9873 * testsuite/libjava.lang/pr13107_2.xfail: New file.
9874 * testsuite/libjava.lang/pr13107_3.xfail: New file.
9875 * testsuite/libjava.lang/pr13107_3.java: New file.
9876 * testsuite/libjava.lang/pr13107_3.out: New file.
9877 * testsuite/libjava.lang/pr13107_2.java: New file.
9878 * testsuite/libjava.lang/pr13107_2.out: New file.
9879 * testsuite/libjava.lang/pr13107.java: New file.
9880 * testsuite/libjava.lang/pr13107.out: New file.
9881 * verify.cc (jsr_ptrs): Removed.
9882 (entry_points): Likewise.
9883 (struct subr_info): Likewise.
9884 (struct subr_entry_info): Likewise.
9885 (type_val::unused_by_subroutine_type): Likewise.
9886 (type::merge): Don't handle unused_by_subroutine_type.
9887 (type::print): Likewise.
9888 (state::flags): Removed.
9889 (state::subroutine): Likewise.
9890 (state::seen_subrs): Likewise.
9891 (state::NO_STACK): Likewise.
9892 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
9893 (state): Updated all methods.
9894 (state::clean_subrs): Removed.
9895 (state::state): Removed `ret_semantics' flag.
9896 (state::copy): Likewise.
9897 (state::add_subr): Removed.
9898 (state::enter_subroutine): Likewise.
9899 (type::set_return_address): New method.
9900 (handle_jsr_insn): Set return address on the type. Always
9901 invalidate PC after call.
9902 (check_nonrecursive_call): Removed.
9903 (~_Jv_BytecodeVerifier): Updated.
9904 (branch_prepass): Removed special handling of jsr.
9905 (note_branch_target): Likewise.
9906 (get_subroutine): Removed.
9907 (state::merge): Don't merge subroutines and don't handle
9908 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
9909 (state::note_variable): Removed.
9910 (state::is_unmerged_ret_state): Likewise.
9911 (state::print): Updated.
9912 (set_variable): Likewise.
9913 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
9914 and jsr_semantics arguments. Updated for new reverification
9915 list.
9916 (pop_jump): Rewrote.
9917 (construct_primitive_array_type): Updated.
9918 (state::next): Removed.
9919 (INVALID_STATE): New define.
9920 (state::INVALID): Removed.
9921 (state::NO_NEXT): New value.
9922 (state::pc, state::next): New fields.
9923 (state::get_pc): New method.
9924 (next_verify_pc): Removed.
9925 (next_verify_state): New field.
9926 (verify_instructions_0): Always check for falling off end.
9927 (linked): New type.
9928 (linked_utf8): Removed.
9929 (states): Changed type.
9930 (type::state_mergeable_p): New method.
9931 (state::state_mergeable_p): Likewise.
9932 (handle_ret_insn): Removed most code.
9933 (state::reverify): New method.
9934 (add_new_state): Likewise.
9935 (state::set_pc): Likewise.
9936
9937 2004-01-22 Jeff Sturm <jsturm@one-point.com>
9938
9939 PR java/13733
9940 * testsuite/libjava.compile/PR13733.java: New file.
9941 * testsuite/libjava.compile/PR13733.xfail: New file.
9942
9943 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
9944 Michael Koch <konqueror@gmx.de>
9945
9946 * javax/swing/table/DefaultTableCellRenderer.java
9947 (DefaultTableCellRenderer): Added javadoc for the class and for
9948 the constructor, Border instance, create an EmptyBorder.
9949 (UIResource): Removed the comment at the end of the class
9950 (setForeground): New method.
9951 (setBackground): New method.
9952 (updateUI): New method.
9953 (getTableCellRendererComponent): Rewritten with the help of
9954 dvholten and Stephane Meslin-Weber.
9955 (validate): New method.
9956 (repaint): New method.
9957 (firePropertyChange): New method.
9958 (setValue): New method.
9959
9960 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9961
9962 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9963 (connectJObject): Replace printf calls with g_assert statements.
9964 Move property-notify-event signal connection to ...
9965 (connectSignals): Connect property-notify-event signal. Iterate
9966 through the vbox's children to find layout.
9967
9968 2004-01-22 Graydon Hoare <graydon@redhat.com>
9969
9970 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
9971 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9972 Predicate static initialization on GtkToolkit.useGraphics2D().
9973 * java/awt/Component.java (processPaintEvent): Consume event.
9974 * javax/swing/AbstractButton.java: Reimplement, document.
9975 * javax/swing/DefaultButtonModel.java: Reimplement, document.
9976 * javax/swing/JComponent.java (paint): Use double buffer.
9977 (listenerList): Enable member.
9978 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
9979 * javax/swing/JToggleButton.java
9980 (JToggleButton): Modify model constructor.
9981 * javax/swing/SwingUtilities.java
9982 (layoutCompoundLabel): Adjust arithmetic.
9983 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
9984 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9985 (getPreferredButtonSize): Include margins in calculation.
9986 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9987 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
9988 Receive up events from subordinate layout component.
9989
9990 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
9991
9992 * java/awt/Component.java (show): Set visible to true before
9993 showing the peer.
9994
9995 2004-01-21 Kim Ho <kho@redhat.com>
9996
9997 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
9998 Fix comments.
9999 (removeMenuBarPeer): Make package private.
10000 (setMenuBarPeer): Make package private.
10001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10002 (menubar_resize_cb): Mark attributes unused.
10003 (getMenuBarHeight): ditto.
10004
10005 2004-01-21 David Jee <djee@redhat.com>
10006
10007 * java/awt/Container.java
10008 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10009 dispatching MOUSE_ENTERED event twice. Translate the point for
10010 the mouse event target before dispatching the event.
10011
10012 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10013
10014 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10015 lib_org_w3c_dom_la_LDFLAGS): New.
10016 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10017 * Makefile.in: Rebuilt.
10018
10019 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10020
10021 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10022 Calculate proper offsets for heavyweight components packed in
10023 lightweight containers.
10024
10025 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10026 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10027 (native create): Add width parameter.
10028 (create): Calculate text entry width based on current font's
10029 metrics and number of columns. Set TextField's font if not
10030 already set. Call native create.
10031 (gtkEntryGetBorderWidth): New native method.
10032 (gtkEntryGetSize): Remove method.
10033 (getMinimumSize): Call minimumSize.
10034 (getPreferredSize): Call preferredSize.
10035 (minimumSize): Calculate minimum size based on backing
10036 GtkEntry's borders, font metrics and number of columns.
10037 (preferredSize): Likewise for preferred size.
10038 (get_border_width): New static function.
10039
10040 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10041 Override GtkWindowPeer's setResizable method to account for menu
10042 bar height when setting the frame's size.
10043
10044 2004-01-19 Matthias Klose <doko@debian.org>
10045
10046 * libtool-version: Increased `current' to 6.
10047
10048 2004-01-19 Kim Ho <kho@redhat.com>
10049
10050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10051 (connectJObject): Iterate through the vbox's children to find layout.
10052
10053 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10054
10055 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10056 isDispatchThread method to replace wrong test condition.
10057
10058 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10059
10060 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10061 events to the queue out of order by acquiring locks in the proper
10062 order and not by releasing one before acquiring the other.
10063
10064 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10065
10066 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10067 visible so that dialog can be reused.
10068
10069 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10070
10071 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10072 events may be handled by any queue in the stack.
10073
10074 2004-01-19 Kim Ho <kho@redhat.com>
10075
10076 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10077 MenuBarPeer parameter.
10078 (removeMenuBarPeer): New native method.
10079 (setMenuBar): Call remove if menu bar is null. Adjust insets
10080 appropriately.
10081 (postSizeAllocateEvent): New method. Called when menu bar size is
10082 allocated. Adjust insets and redo layout.
10083 (GtkFramePeer): Set menu bar during frame creation.
10084 (postConfigureEvent): Adjust position and size to accomodate
10085 menu bar.
10086 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10087 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10088 (addNotify): Create the peer if it doesn't exist and call addNotify
10089 for the menu's items.
10090 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10091 * java/awt/MenuItem.java (addNotify): Create the peer if it
10092 doesn't exist.
10093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10094 (removeMenuBarPeer): New method. Remove menu bar on the current
10095 frame.
10096 (setMenuBarPeer): Add the menu bar to the current frame and the
10097 callback for size-allocate events on the menu bar.
10098 (getMenuBarHeight): Add menu bar parameter.
10099 (menubar_resize_cb): New callback method for postSizeAllocate events.
10100
10101 Also: Fix indentation on last ChangeLog entry.
10102
10103 2004-01-16 Kim Ho <kho@redhat.com>
10104
10105 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10106 (gtkWidgetGetDimensions): Remove.
10107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10108 (gtkWidgetGetDimensions): Remove.
10109
10110 2004-01-16 Tom Tromey <tromey@redhat.com>
10111
10112 * java/awt/Container.java: Typo and indentation fixes.
10113
10114 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10115 * java/lang/natVMClassLoader.cc: ...here. New file.
10116 * Makefile.in: Rebuilt.
10117 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10118
10119 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10120
10121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10122 Discard GDK_ENTER_NOTIFY related to ungrabs.
10123
10124 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10125
10126 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10127 is called for an intermediate queue.
10128
10129 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10130
10131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10132 (window_property_changed_cb): Set id_set.
10133
10134 2004-01-16 Kim Ho <kho@redhat.com>
10135
10136 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10137 it is a FileDialog and has dimensions of 0 by 0, then the initial
10138 size is set to size request plus insets.
10139 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10140 (gtkWidgetGetDimensions): Override method.
10141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10142 (gtkWidgetGetDimensions): Override method. Returns size request plus
10143 insets.
10144
10145 2004-01-16 Andrew Haley <aph@redhat.com>
10146
10147 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10148 * sysdep/i386/locks.h: Likewise.
10149
10150 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10151
10152 * java/awt/EventDispatchThread.java (run): Stop running when
10153 interrupted.
10154 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10155 Reset the queue after transferring its contents.
10156 (push): Start a new dispatch thread if none is running.
10157
10158 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10159
10160 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10161 (doPolygon): set fill rule of polygon to
10162 WIND_EVEN_ODD by default.
10163
10164 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10165
10166 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10167 Implemented rendering hints related methods.
10168 (getDefaultHints): New helper method. Returns
10169 default rendering hints.
10170 (walkPath): changed to normalize path if
10171 the KEY_STROKE_CONTROL key is in "normalize" mode.
10172 (draw3DRect): changed coordinates of rectangle by +0.5
10173 if in "normalize" mode.
10174
10175 2004-01-15 Tom Tromey <tromey@redhat.com>
10176
10177 * Makefile.in: Rebuilt.
10178 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10179 (%.lo: %.java) Filter out StackTrace.lo.
10180
10181 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10182
10183 * configure.in: Add in AC_PREREQ(2.13)
10184 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10185 FIXME comment.
10186
10187 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10188 Tom Tromey <tromey@redhat.com>
10189
10190 PR libgcj/12001:
10191 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10192 array to superclass.
10193 (init): Changed interface; add URLs here.
10194 (initialize): New static method.
10195 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10196 (_Jv_RunMain): ... not here.
10197
10198 2004-01-14 Michael Koch <konqueror@gmx.de>
10199
10200 * java/text/MessageFormat.java:
10201 Added descriptions to exceptions.
10202 This fixes PR libgcj/2429.
10203
10204 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10205
10206 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10207 (push): Make sure push is performed at the top of the thread stack.
10208
10209 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10210
10211 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10212 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10213 (native create): Add width and height parameters. Set text
10214 view's size request according to new parameters.
10215 (create): Calculate text view size based on current font's
10216 metrics and number of rows and columns. Set TextArea's font if
10217 not already set. Call native create.
10218 (getMinimumSize): Call minimumSize.
10219 (getPreferredSize): Call preferredSize.
10220 (getHScrollbarHeight): New method.
10221 (getVScrollbarWidth): New method.
10222 (minimumSize): Calculate minimum size based on scrollbar
10223 visibility, scrollbar sizes, font metrics and number of rows and
10224 columns.
10225 (preferredSize): Likewise for preferred size.
10226 (gtkTextGetSize): Remove method.
10227
10228 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10229
10230 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10231 (initializeInsets): Remove method.
10232 (GtkComponentPeer): Initialize insets field. Remove call to
10233 initializeInsets.
10234 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10235 Remove method.
10236 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10237 Remove method.
10238 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10239 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10240 (latestInsets): Remove field.
10241 (native create): Add insets parameter. Call
10242 window_get_frame_extents. Set the window's default size and
10243 size request based on its frame extents.
10244 (create): Initialize insets.
10245 (postInsetsChangedEvent): New method.
10246 (postConfigureEvent): Remove parameters top, left, bottom,
10247 right. Remove insets-related logic.
10248 (connectJObject): Handle property-notify-event.
10249 (window_get_frame_extents, request_frame_extents,
10250 property_notify_predicate, window_property_changed_cb): New
10251 static functions.
10252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10253 (pre_event_handler): Remove insets-related logic for configure
10254 events.
10255 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10256 Update postConfigureEvent signature.
10257
10258 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10259
10260 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10261 to handle Window "Closing" events.
10262
10263 2004-01-13  David Jee  <djee@redhat.com>
10264
10265 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10266 (setBackground): New method. Children with no explicitly-set
10267 background will be repainted with the parent container's new
10268 background color.
10269
10270 2004-01-13  David Jee  <djee@redhat.com>
10271
10272 * Makefile.am: Add BitwiseXORComposite.java.
10273 * Makefile.in: Regenerated.
10274 * gcj/Makefile.in: Regenerated.
10275 * include/Makefile.in: Regenerated.
10276 * testsuite/Makefile.in: Regenerated.
10277
10278 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10279
10280 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10281 not show modal dialogs twice and so that it allows showing a modal
10282 dialog from another modal dialog.
10283
10284 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10285
10286 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10287 and run secondary dispatch thread to process event queue while this
10288 thread is blocked.
10289
10290 2004-01-12 Graydon Hoare <graydon@redhat.com>
10291
10292 * gnu/java/awt/gtk/GdkGraphics2D.java
10293 (static): Check GtkToolkit before initializing static state.
10294 (Graphics2D): Don't construct transform with 0.5 unit offset.
10295
10296 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10297
10298 * gnu/java/awt/BitwiseXORComposite.java: Add.
10299 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10300 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10301 (BitwiseXORComposite): Remove inner class.
10302
10303 2004-01-11 Michael Koch <konqueror@gmx.de>
10304
10305 * gnu/java/lang/reflect/TypeSignature.java
10306 (getEncodingOfClass): Documentation fixed.
10307 (getClassForEncoding): Give class loader to Class.forName().
10308 Documentation fixed.
10309
10310 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10311
10312 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10313
10314 2004-01-11 Michael Koch <konqueror@gmx.de>
10315
10316 * javax/swing/undo/StateEditable.java
10317 (RCSID): Removed redundant modifiers.
10318
10319 2004-01-10 Michael Koch <konqueror@gmx.de>
10320
10321 * javax/print/attribute/EnumSyntax.java
10322 (getStringTable): Made protected.
10323 (getEnumValueTable): Likewise.
10324 * javax/print/attribute/standard/JobKOctetsProcessed.java
10325 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10326 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10327 (JobMediaSheetsCompleted): Made class final.
10328 * javax/print/attribute/standard/OutputDeviceAssigned.java
10329 (getName): Fixed typo.
10330 * javax/print/attribute/standard/RequestingUserName.java
10331 (serialVersionUID): Fixed value.
10332
10333 2004-01-10 Michael Koch <konqueror@gmx.de>
10334
10335 * javax/swing/plaf/basic/BasicButtonUI.java,
10336 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10337 javax/swing/plaf/basic/BasicListUI.java,
10338 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10339 javax/swing/plaf/basic/BasicPanelUI.java,
10340 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10341 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10342 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10343 javax/swing/plaf/basic/BasicViewportUI.java:
10344 Fixed import statements.
10345
10346 2004-01-10 Michael Koch <konqueror@gmx.de>
10347
10348 * gnu/java/awt/image/ImageDecoder.java
10349 (produce): Made public.
10350 * gnu/java/awt/peer/GLightweightPeer.java,
10351 gnu/java/awt/peer/gtk/GtkToolkit.java:
10352 Reformated.
10353
10354 2004-01-10 Michael Koch <konqueror@gmx.de>
10355
10356 * javax/swing/JRadioButtonMenuItem.java,
10357 javax/swing/JSeparator.java,
10358 javax/swing/JSplitPane.java,
10359 javax/swing/JTextPane.java,
10360 javax/swing/JToolBar.java,
10361 javax/swing/ListCellRenderer.java,
10362 javax/swing/ListModel.java,
10363 javax/swing/MenuElement.java,
10364 javax/swing/OverlayLayout.java,
10365 javax/swing/ProgressMonitor.java,
10366 javax/swing/ProgressMonitorInputStream.java,
10367 javax/swing/Renderer.java,
10368 javax/swing/RootPaneContainer.java,
10369 javax/swing/Scrollable.java,
10370 javax/swing/SingleSelectionModel.java,
10371 javax/swing/ToolTipManager.java,
10372 javax/swing/ViewportLayout.java,
10373 javax/swing/event/DocumentEvent.java,
10374 javax/swing/event/SwingPropertyChangeSupport.java,
10375 javax/swing/event/TreeSelectionEvent.java,
10376 javax/swing/event/UndoableEditEvent.java,
10377 javax/swing/text/AbstractDocument.java,
10378 javax/swing/text/AttributeSet.java,
10379 javax/swing/text/Caret.java,
10380 javax/swing/text/ComponentView.java,
10381 javax/swing/text/DefaultCaret.java,
10382 javax/swing/text/DefaultEditorKit.java,
10383 javax/swing/text/Document.java,
10384 javax/swing/text/EditorKit.java,
10385 javax/swing/text/GapContent.java,
10386 javax/swing/text/Keymap.java,
10387 javax/swing/text/MutableAttributeSet.java,
10388 javax/swing/text/PlainEditorKit.java,
10389 javax/swing/text/Segment.java,
10390 javax/swing/text/Style.java,
10391 javax/swing/text/StyledDocument.java,
10392 javax/swing/text/StyledEditorKit.java,
10393 javax/swing/text/TextAction.java,
10394 javax/swing/text/View.java: Fixed import statements.
10395
10396 2004-01-08 Graydon Hoare <graydon@redhat.com>
10397
10398 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10399 djee@redhat.com's recent inverse ordering of Container elements.
10400
10401 2004-01-09 Michael Koch <konqueror@gmx.de>
10402
10403 * gnu/java/lang/ArrayHelper.java
10404 (equalsArray): Removed.
10405
10406 2004-01-09 Andrew Haley <aph@redhat.com>
10407
10408 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10409 a Utf8Const field before looking at its class.
10410
10411 2004-01-09 Michael Koch <konqueror@gmx.de>
10412
10413 * javax/print/attribute/standard/DocumentName.java,
10414 javax/print/attribute/standard/JobHoldUntil.java,
10415 javax/print/attribute/standard/JobMessageFromOperator.java,
10416 javax/print/attribute/standard/JobName.java,
10417 javax/print/attribute/standard/JobOriginatingUserName.java,
10418 javax/print/attribute/standard/OutputDeviceAssigned.java,
10419 javax/print/attribute/standard/PrinterInfo.java,
10420 javax/print/attribute/standard/PrinterLocation.java,
10421 javax/print/attribute/standard/PrinterMakeAndModel.java,
10422 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10423 javax/print/attribute/standard/PrinterName.java,
10424 javax/print/attribute/standard/RequestingUserName.java: New files.
10425 * Makefile.am (javax_source_files): Added new files.
10426 * Makefile.in: Regenerated.
10427
10428 2004-01-09 Michael Koch <konqueror@gmx.de>
10429
10430 * javax/swing/AbstractAction.java,
10431 javax/swing/AbstractSet.java,
10432 javax/swing/Action.java,
10433 javax/swing/ActionMap.java,
10434 javax/swing/BoundedRangeModel.java,
10435 javax/swing/ButtonModel.java,
10436 javax/swing/CellEditor.java,
10437 javax/swing/CellRendererPane.java,
10438 javax/swing/ComboBoxEditor.java,
10439 javax/swing/DebugGraphics.java,
10440 javax/swing/DefaultCellEditor.java,
10441 javax/swing/DefaultCellRenderer.java,
10442 javax/swing/DefaultComboBoxModel.java,
10443 javax/swing/DefaultDesktopManager.java,
10444 javax/swing/DefaultFocusManager.java,
10445 javax/swing/DefaultListCellRenderer.java,
10446 javax/swing/Icon.java,
10447 javax/swing/JButton.java,
10448 javax/swing/JCheckBoxMenuItem.java,
10449 javax/swing/JDesktopPane.java,
10450 javax/swing/JEditorPane.java,
10451 javax/swing/JMenu.java,
10452 javax/swing/JPanel.java,
10453 javax/swing/JPasswordField.java,
10454 javax/swing/JPopupMenu.java,
10455 javax/swing/JProgressBar.java: Reworked imports.
10456
10457 2004-01-09 Michael Koch <konqueror@gmx.de>
10458
10459 * java/awt/geom/PathIterator.java
10460 (WIND_EVEN_ODD): Removed redundant modifiers.
10461 (WIND_NON_ZERO): Likewise.
10462 (SEG_MOVETO): Likewise.
10463 (SEG_LINETO): Likewise.
10464 (SEG_QUADTO): Likewise.
10465 (SEG_CUBICTO): Likewise.
10466 (SEG_CLOSE): Likewise.
10467 * java/awt/image/SinglePixelPackedSampleModel.java:
10468 Removed redundant semicolon.
10469 * java/io/ObjectInputStream.java
10470 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10471 * java/util/logging/Filter.java
10472 (isLoggable): Removed redundant modifier.
10473 * java/util/logging/LogManager.java:
10474 Removed redundant semicolon.
10475 * java/util/logging/XMLFormatter.java
10476 (format): Removed unused variable "key".
10477
10478 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10479
10480 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10481 New name for the former setFile native method.
10482 (setFile): New method.
10483 (setDirectory): Implemented.
10484 (connectSignals): New native method.
10485 (setFilenameFilter): Improve comment.
10486 (getGraphics): Comment.
10487 (gtkHideFileDialog): New method.
10488 (gtkDisposeFileDialog): New method.
10489 (gtkSetFilename): New method.
10490 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10491 for FileDialog for now.
10492 (hide): New method.
10493 (dispose): New method.
10494 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10495 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10496 deprecated creation functions. Make dialog modal. Add it to the
10497 window group.
10498 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10499 function.
10500 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10501 Rename to...
10502 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10503 name.
10504 (window_closed): New function.
10505 (ok_clicked): New function.
10506 (cancel_clicked): New function.
10507
10508 2004-01-08 Michael Koch <konqueror@gmx.de>
10509
10510 * javax/swing/JLayeredPane.java: Revert changes to standard
10511 boilerplate, reworked imports.
10512
10513 2004-01-07 Tom Tromey <tromey@redhat.com>
10514
10515 PR libgcj/13439:
10516 * verify.cc (state::merge): Copy changed locals out of subroutine
10517 in NO_STACK case.
10518 (state::FLAG_CHANGED): New const.
10519 (state::FLAG_UNUSED): Likewise.
10520 (state::local_changed): Removed. Updated all users.
10521 (state::flags): New field.
10522 (state::merge): Added jsr_semantics argument, more logic.
10523 (push_jump_merge): Added jsr_semantics argument.
10524 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10525 merging through the jsr instruction.
10526
10527 2004-01-07 Tom Tromey <tromey@redhat.com>
10528
10529 * scripts/MakeDefaultMimeTypes.java: Use \n, not
10530 backslash-newline.
10531
10532 2004-01-07 Graydon Hoare <graydon@redhat.com>
10533
10534 * java/awt/Container.java (LightweightDispatcher): Implement.
10535 (visitChild): Reuse graphics object.
10536 (dispatchEventImpl): Optionally dispatch to lightweight.
10537 (addNotifyContainerChildren): Build LightweightDispatcher.
10538
10539 2004-01-07 David Jee <djee@redhat.com>
10540
10541 * java/awt/Container.java
10542 (update): Clear only the clipped region, instead of clearing the
10543 entire Container.
10544 (visitChildren): Visit children in descending order.
10545
10546 2004-01-07 Michael Koch <konqueror@gmx.de>
10547
10548 * java/lang/reflect/Array.java: Merged documentation with classpath.
10549
10550 2004-01-07 Michael Koch <konqueror@gmx.de>
10551
10552 * java/text/CollationElementIterator.java
10553 (textIndex): Renamed from index.
10554 * java/text/CollationKey.java
10555 (collator): New member.
10556 (CollationKey): New argument for parent collator.
10557 (equals): Check for same collator, source string and key array.
10558 * java/text/RuleBasedCollator.java:
10559 Reformated.
10560 (RuleBasedCollator): Don't re-initialize frenchAccents with default
10561 value.
10562 (getCollationElementIterator): Rewritten.
10563 (getCollationKey): Added new argument to CollationKey constructor.
10564
10565 2004-01-07 Michael Koch <konqueror@gmx.de>
10566
10567 * gnu/java/nio/DatagramChannelImpl.java
10568 (blocking): Removed.
10569 (DatagramChannelImpl): Call configureBlocking().
10570 (implConfigureBlocking): Dont initialize blocking.
10571 * gnu/java/nio/ServerSocketChannelImpl.java
10572 (blocking): Removed.
10573 (ServerSocketChannelImpl): Call configureBlocking().
10574 (implConfigureBlocking): Dont initialize blocking.
10575 * gnu/java/nio/SocketChannelImpl.java
10576 (blocking): Removed.
10577 (SocketChannelImpl): Call configureBlocking().
10578 (implConfigureBlocking): Dont initialize blocking.
10579 (connect): Use isBlocking().
10580 * java/nio/channels/spi/AbstractSelectableChannel.java
10581 (configureBlocking): Use blockingLock() instead of LOCK.
10582 Set blocking after successfully called implConfigureBlocking().
10583 (register): Use blockingLock() instead of LOCK.
10584
10585 2004-01-07 Michael Koch <konqueror@gmx.de>
10586
10587 * java/net/ServerSocket.java (isBound): Fixed documentation.
10588
10589 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
10590
10591 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10592 (changeEvent): Create event object on demand.
10593 (DefaultBoundedRangeModel, toString, setValue, setExtent,
10594 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10595 fireStateChanged): Re-written.
10596 * javax/swing/event/EventListenerList.java: Reformatted, document
10597 typical usage.
10598 (toString): Implemented.
10599 (getListeners): Re-written.
10600 (remove): Re-written.
10601 (add): Re-written.
10602 (NO_LISTENERS): New singleton field.
10603 (listenerList): Declare as transient; document.
10604 (serialVersionUID): Document.
10605 (getListenerCount(Class)): More efficient implementation,
10606 also accepts null argument. Improve Javadoc.
10607 (getListenerCount()): Remove unnecessary cast; docfix.
10608 * javax/swing/undo/UndoableEditSupport.java:
10609 Re-format, document.
10610 (UndoableEditSupport): Set realSource field. Improve documentation.
10611 (_postEdit): Iterate over cloned listener vector.
10612 (toString): Don't emit realSource.
10613 (beginUpdate, endUpdate): Support nested updates.
10614 (postEdit): Use compound edit if present.
10615
10616 2004-01-06 Graydon Hoare <graydon@redhat.com>
10617
10618 * java/awt/Container.java (swapComponents): Add forgotten
10619 function, required for JLayeredPane change.
10620
10621 2004-01-06 Michael Koch <konqueror@gmx.de>
10622
10623 * java/text/CollationElementIterator.java: Reformated.
10624 (CollationElementIterator): Changed order of arguments.
10625 * java/text/RuleBasedCollator.java
10626 (RuleBasedCollator): Merged class documentation.
10627 (CollationElement): Added documentation.
10628 (compare): Reformated, renamed arguments.
10629 (equals): Likewise.
10630 (getCollationElementIterator): Likewise.
10631 (getCollationKey): Likewise.
10632
10633 2004-01-06 Graydon Hoare <graydon@redhat.com>
10634
10635 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10636
10637 2004-01-06 Michael Koch <konqueror@gmx.de>
10638
10639 * gnu/java/net/protocol/file/Connection.java:
10640 Reformated copyright.
10641 (hdrHash): Removed.
10642 (hdrVec): Removed.
10643 (gotHeaders): Removed.
10644 (getHeaderField): Removed.
10645 (getHeaderField): Removed.
10646 (getHeaderFieldKey): Removed.
10647 (getKey): Removed.
10648 (getField): Removed.
10649 (getHeaders): Removed.
10650
10651 2004-01-06 Michael Koch <konqueror@gmx.de>
10652
10653 * javax/print/attribute/standard/DateTimeAtCompleted.java,
10654 javax/print/attribute/standard/DateTimeAtCreation.java,
10655 javax/print/attribute/standard/DateTimeAtProcessing.java,
10656 javax/print/attribute/standard/JobImpressionsCompleted.java,
10657 javax/print/attribute/standard/JobKOctets.java,
10658 javax/print/attribute/standard/JobKOctetsProcessed.java,
10659 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
10660 javax/print/attribute/standard/JobPrioritySupported.java: New files.
10661 * Makefile.am (javax_source_files): Added new files.
10662 * Makefile.in: Regenerated.
10663
10664 2004-01-06 Michael Koch <konqueror@gmx.de>
10665
10666 * java/net/URLConnection.java
10667 (contentHandler): Removed.
10668 (locale): Removed.
10669 (getHeaderFields): Return an empty map instead of null.
10670 (getContent): Connect if needed, renamed "cType" to "type" and
10671 "contentHandler" to "ch" and made it a local variable.
10672 (getPermission): Don't use package in class name.
10673 (setDefaultRequestProperty): Fixed typo in documentation.
10674 (initializeDateFormats): Made locale a local variable.
10675
10676 2004-01-06 Michael Koch <konqueror@gmx.de>
10677
10678 * java/lang/Package.java
10679 (getPackage): Get the current class loader directly.
10680 * java/lang/SecurityManager.java
10681 (currentLoadedClass): Dont iterate over class contexts.
10682 (classLoaderDepth): Don't check class loaders if everything is allowed.
10683
10684 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10685
10686 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10687 (pre_event_handler): Set all insets to 0 when a Configure event
10688 is received for a GtkPlug.
10689 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
10690 Make handle long, not int.
10691 (EmbeddedWindow()): New constructor.
10692 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
10693 long, not int.
10694 (setHandle): New method.
10695 (getHandle): Return long, not int.
10696 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
10697 declaration.
10698 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
10699 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
10700 (create(long)): Take long parameter, not int. Cast gtk_plug_new
10701 argument to GdkNativeWindow.
10702 (construct): New method.
10703 (embed): New method.
10704
10705 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10706 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
10707 (create(int, int)): New method.
10708 (create): Call new create method.
10709 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
10710 methods.
10711 (childResized): Remove native implementation. Implement in
10712 Java.
10713 (getHScrollbarHeight, getVScrollbarWidth): Call
10714 gtk_widget_size_request to get scrollbar dimensions.
10715 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
10716 call getVScrollbarWidth and getHScrollbarHeight when vertical
10717 and horizontal scrollbars respectively are needed.
10718 (doLayout): Enlarge child if it is smaller than the viewport.
10719
10720 2004-01-05 Fernando Nasser <fnasser@redhat.com>
10721
10722 * java/awt/Dialog.java (constructor): Accept null title as per spec.
10723 * java/awt/FileDialog.java (constructor): Throw exception on invalid
10724 argument as per spec.
10725
10726 2004-01-05 Fernando Nasser <fnasser@redhat.com>
10727
10728 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
10729 (insert): Ditto.
10730 (remove): Ditto. Also, Check for valid argument.
10731 (removeAll): Use peer interface method.
10732 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
10733 native add function.
10734 (nativeRemove): New name for native remove function.
10735 (getHistory): New native function.
10736 (constructor): Generate ItemEvent.
10737 (add): Ditto, if selection is changed.
10738 (remove): Ditto, ditto.
10739 (removeAll): Add implementation.
10740 (handleEvent): Remove. Dead code.
10741 (choicePostItemEvent): Add comment.
10742 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10743 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
10744 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
10745 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
10746 comments and fix condition to change selection.
10747 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
10748 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
10749 remove all capability.
10750 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
10751 (item_activate): Add cast to remove compiler warning.
10752
10753 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10754
10755 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10756 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10757 (getPreferredSize): Call preferredSize.
10758 (preferredSize): Call gtkWidgetGetPreferredDimensions.
10759 (getMinimumSize): Call minimumSize.
10760 (minimumSize): Call gtkWidgetGetPreferredDimensions.
10761 (gtkWidgetGetDimensions): Return the peer widget's current size
10762 request.
10763 (gtkWidgetGetPreferredDimensions): Return the peer widget's
10764 natural size request.
10765
10766 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
10767
10768 Thanks to Brian Gough <bjg@network-theory.com>
10769 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
10770 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
10771
10772 2004-01-04 Matthias Klose <doko@debian.org>
10773
10774 * aclocal.m4: Rebuilt using "aclocal -I .".
10775 * configure: Rebuilt.
10776
10777 2004-01-03 Per Bothner <per@bothner.com>
10778
10779 * java/util/Date.java (parse): Fix a number of problems.
10780 (skipParens): Remove no-longer-needed method.
10781
This page took 0.48624 seconds and 6 git commands to generate.