]>
Commit | Line | Data |
---|---|---|
09bddb92 MK |
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 | ||
093942ac MW |
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 | ||
53d26678 TT |
16 | 2004-09-23 Tom Tromey <tromey@redhat.com> |
17 | ||
51c9fed9 TT |
18 | PR java/17329: |
19 | * testsuite/libjava.compile/pr17329.java: New file. | |
20 | ||
53d26678 TT |
21 | PR java/17380: |
22 | * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and | |
23 | 9.2-implicit-7. | |
24 | ||
5b7a26f6 KC |
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 | ||
54805b23 KC |
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 | ||
d0259e11 DD |
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 | ||
aa8cb1ad TT |
46 | 2004-09-22 Tom Tromey <tromey@redhat.com> |
47 | ||
48 | PR libgcj/6182: | |
49 | * mauve-libgcj: Enable java.lang.Character tests. | |
50 | ||
733a7ed9 AT |
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 | ||
44bffd9f AT |
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 | ||
ecd16bf6 TT |
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 | ||
3a3d0225 TT |
82 | 2004-09-21 Tom Tromey <tromey@redhat.com> |
83 | ||
84 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): | |
85 | Indentation fix. | |
86 | ||
93880692 MK |
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 | ||
448a698b CM |
92 | 2004-09-21 Casey Marshall <csm@gnu.org> |
93 | ||
94 | * javax/crypto/MacSpi.java (clone): Provide meaningful | |
95 | implementation. | |
96 | ||
34f87940 TT |
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 | ||
f1b18462 AT |
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 | ||
9413382e SM |
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 | ||
936f1f06 AT |
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 | ||
6f5ce93b AT |
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 | ||
c36992ff MK |
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 | ||
72826319 RH |
295 | 2004-09-14 Richard Henderson <rth@redhat.com> |
296 | ||
297 | * java/lang/natPosixProcess.cc (waitForSignal): Ignore return | |
298 | value of sigsuspend. | |
299 | ||
3abcc195 TT |
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 | ||
bdd1aed4 MK |
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 | ||
a0be84dd ME |
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 | ||
bdbf6060 ME |
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 | ||
cad79bac MK |
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 | ||
8166c201 MK |
342 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
343 | ||
344 | * Makefile.in: Regenerate. | |
345 | ||
3cf735f6 MK |
346 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
347 | ||
348 | * Makefile.am: Reverted accidently commited stuff. | |
349 | * configure: Regenerated. | |
350 | ||
5123971a MK |
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 | ||
456d47b3 MK |
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 | ||
4166b036 AT |
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 | ||
c6614d3e MK |
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 | ||
6273ba37 MK |
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 | ||
93177580 MK |
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 | ||
2e8401ae BM |
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 | ||
56fa138b ME |
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 | ||
351cfd8b BM |
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 | ||
48d0dd75 KC |
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 | ||
321c496b DD |
440 | 2004-09-03 David Daney <ddaney@avtrex.com> |
441 | ||
442 | * include/mips-signal.h: Update copyright. | |
443 | ||
04efec81 DD |
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 | ||
57579172 GH |
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 | ||
e2ab6d12 TT |
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 | ||
1c340cb6 AT |
1626 | 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch> |
1627 | ||
1628 | * HACKING: Remove reference to special automake. No longer needed. | |
1629 | ||
b6e9851a TT |
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 | ||
05502144 TT |
1635 | 2004-08-30 Tom Tromey <tromey@redhat.com> |
1636 | ||
1637 | * java/rmi/server/UID.java (UID): Read `nextCount', not count. | |
1638 | ||
e7023b0f AT |
1639 | 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch> |
1640 | ||
1641 | * gnu/java/security/der/DEREncodingException.java: Remove whitespaces. | |
1642 | ||
2c64dead JF |
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 | ||
bd8a2e96 CM |
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 | ||
68760aee AT |
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 | ||
28839b70 CM |
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 | ||
6cd655a3 MW |
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 | ||
477a21f7 AJH |
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 | ||
ed347998 HB |
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 | ||
42348101 MW |
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 | ||
ed89de94 DD |
1764 | 2004-08-25 David Daney <daney@avtrex.com> |
1765 | ||
1766 | * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS. | |
1767 | * Makefile.in: Regenerated. | |
1768 | ||
8ba14152 BM |
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 | ||
0039c16d | 1778 | 2004-08-23 Hans Boehm <Hans.Boehm@hp.com> |
8ba14152 | 1779 | |
0039c16d HB |
1780 | * defineclass.cc: Include <stdio.h>. |
1781 | * java/lang/natClassLoader.cc: Include <stdio.h>. | |
1782 | ||
be2043db AT |
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 | ||
b7d9c3ae MK |
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 | ||
80d8905c MK |
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 | ||
cad90591 MK |
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 | ||
e3f92d3b MK |
1806 | 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com> |
1807 | Michael Koch <konqueror@gmx.de> | |
1808 | ||
438c7f23 BM |
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: | |
e3f92d3b MK |
1812 | Regenerated. |
1813 | ||
476a918f TT |
1814 | 2004-08-19 Tom Tromey <tromey@redhat.com> |
1815 | ||
1816 | * java/net/DatagramSocket.java: Fixed typo. | |
1817 | ||
bb0452b1 BM |
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 | ||
b4b3435e BM |
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 | ||
720086cd DD |
1833 | 2004-08-18 David Daney <ddaney@avtrex.com> |
1834 | ||
1835 | * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend | |
1836 | instead of sigwait. | |
1837 | ||
baeff970 MK |
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 | ||
0e5b1376 TT |
1843 | 2004-08-16 Tom Tromey <tromey@redhat.com> |
1844 | ||
1845 | PR java/8473: | |
1846 | * testsuite/libjava.jacks/jacks.xfail: Removed passing test. | |
1847 | ||
be170ef2 MK |
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 | ||
7614fd28 BM |
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 | ||
1c5192e4 AT |
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 | ||
4109fe85 BM |
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 | ||
d7945faf BM |
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 | ||
73389fa4 BM |
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 | ||
28e99c62 HB |
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 | ||
faa03cf1 DD |
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 | ||
c597ef4e DN |
1943 | 2004-08-12 Diego Novillo <dnovillo@redhat.com> |
1944 | ||
1945 | PR tree-optimization/16867 | |
1946 | * testsuite/libjava.lang/PR16867.java: New test. | |
1947 | ||
b4d49f49 PB |
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 | ||
7e04b67b AH |
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 | ||
48a8c565 AT |
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 | ||
26be638d AH |
1981 | 2004-08-04 Andrew Haley <aph@redhat.com> |
1982 | ||
1983 | * java/security/BasicPermission.java: Don't check wildcards. | |
1984 | ||
614c0fc2 TF |
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 | ||
ff78c80b TF |
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 | ||
76207f7c AH |
2002 | 2004-08-04 Andrew Haley <aph@redhat.com> |
2003 | ||
2004 | * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with | |
2005 | debugging. | |
2006 | ||
aed6152d NN |
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 | ||
ed698112 NN |
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 | ||
8e9031ec TT |
2027 | 2004-08-03 Tom Tromey <tromey@redhat.com> |
2028 | ||
2029 | * jni.cc: Reindented. | |
2030 | ||
474f5417 BM |
2031 | 2004-08-02 Bryce McKinlay <mckinlay@redhat.com> |
2032 | ||
2033 | * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat. | |
2034 | ||
899deeca BM |
2035 | 2004-08-02 Bryce McKinlay <mckinlay@redhat.com> |
2036 | ||
2037 | * testsuite/libjava.compile/PR16701.java: New test. | |
2038 | ||
b828123e AJH |
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 | ||
5b5662ee DS |
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 | ||
f370ef24 MK |
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 | ||
2afed683 MK |
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 | ||
a639e504 MK |
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 | ||
1cc49b13 DT |
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 | ||
4d4fed15 BM |
2109 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
2110 | ||
2111 | * README: Remove obsolete info. Update bug URL. | |
2112 | * THANKS: Updated. | |
e90bcbf5 | 2113 | * NEWS: Updated with news up to GCC 3.4 release. |
4d4fed15 | 2114 | |
64d696b6 BM |
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 | ||
f0faf24b BM |
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 | ||
ce961468 BM |
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 | ||
0954f3eb BM |
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 | ||
d078f7c0 BM |
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 | ||
8b66a9e9 BM |
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 | ||
ffe4e037 BM |
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 | ||
ef05818b TF |
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 | ||
ae066484 BM |
2188 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
2189 | ||
ec5c28ec BM |
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. | |
ae066484 BM |
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> | |
694e657a MW |
2213 | |
2214 | * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file | |
2215 | missed in last commit. | |
2216 | ||
392abf6b MW |
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 | ||
6d97cb60 MW |
2228 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
2229 | ||
2230 | * gnu/java/net/DefaultContentHandlerFactory.java: New dummy | |
2231 | implementation. | |
2232 | ||
f1f90ae0 BM |
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 | ||
8e99fb4f GH |
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. | |
8e99fb4f GH |
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 | ||
eecbcf54 BM |
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 | ||
f82bb1be BM |
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 | ||
f6bbce40 BM |
3414 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
3415 | ||
3416 | * java/net/Socket.java (getImpl): Now private. Remove comment. | |
3417 | ||
8246c778 BM |
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 | ||
b4ffdef7 BM |
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 | ||
963ddbd5 PB |
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 | ||
60557047 MK |
3441 | 2004-07-18 Matthias Klose <doko@debian.org> |
3442 | ||
3443 | * configure.in: Substitute target_noncanonical. | |
3444 | * configure: Regenerate | |
3445 | ||
1792f52d MK |
3446 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
3447 | ||
3448 | * java/lang/String.java: Fixed javadocs all over. | |
3449 | ||
baa61e09 MK |
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 | ||
6fd3cc05 MW |
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 | ||
320e32f6 MK |
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 | ||
10c383a4 MW |
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 | ||
2ccc5a95 MK |
3503 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
3504 | ||
3505 | * gnu/java/nio/channels/FileChannelImpl.java | |
3506 | (finalize): Added javadoc. | |
3507 | ||
61ce29b1 GL |
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 | ||
651ba822 MK |
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 | ||
e3fe5b9c MK |
3522 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
3523 | ||
3524 | * java/security/Security.java: Fixed javadocs all over. | |
3525 | ||
316a1df4 MK |
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 | ||
c0f43fa7 RE |
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 | ||
4c86f325 NN |
3543 | 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org> |
3544 | ||
b764adea NN |
3545 | * configure.in: Use build_noncanonical rather than build_alias. |
3546 | * configure: Rebuild. | |
3547 | ||
f11d297f NN |
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 | ||
4c86f325 NN |
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 | ||
bc03b358 NN |
3560 | 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org> |
3561 | ||
ed2e3d33 NN |
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 | ||
bc03b358 NN |
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 | ||
cbd7a79b BM |
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 | ||
b2281cb3 NN |
3588 | 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org> |
3589 | ||
36609570 NN |
3590 | * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into... |
3591 | * configure.in: ...here. | |
3592 | * aclocal.m4: Regenerate. | |
3593 | * configure: Regenerate. | |
3594 | ||
b2281cb3 NN |
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 | ||
b845ed9f BM |
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 | ||
ade1907d JQ |
3609 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
3610 | ||
3611 | * java/beans/EventHandler.java: Remove debugging statements. | |
3612 | ||
12e8e7ea JQ |
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 | ||
7cb73054 AT |
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 | ||
220a826e UW |
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 | ||
c1b4f64d MK |
3639 | 2004-07-14 Michael Koch <konqueror@gmx.de> |
3640 | Matthias Klose <doko@debian.org> | |
3641 | ||
12e8e7ea | 3642 | * java/awt/im/InputContext.java: Initialize in, line. |
c1b4f64d | 3643 | |
5549179f UW |
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 | ||
6187fd28 BM |
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 | ||
7a1c3d48 BM |
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 | ||
717b2091 SG |
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 | ||
31a7b755 BM |
3683 | 2004-07-11 Bryce McKinlay <mckinlay@redhat.com> |
3684 | ||
abd1b60d | 3685 | PR libgcj/16478 |
31a7b755 BM |
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 | ||
eeb32988 MW |
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 | ||
bbb362e6 UW |
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 | ||
33dc5b0b BM |
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 | ||
a4548f27 BM |
3715 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
3716 | ||
3717 | * gcj/javaprims.h: Regenerate CNI namespace definitions. | |
3718 | ||
8f0ce8da IK |
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 | ||
3ee7acd1 BM |
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 | ||
284d6a1f BM |
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 | ||
21f56031 BM |
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 | ||
42c00752 BM |
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 | ||
6e342fc1 BM |
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 | ||
1f33f6b4 MK |
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 | ||
771aacd3 MK |
3798 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
3799 | ||
3800 | * java/security/AccessControlContext.java, | |
3801 | java/security/SecureClassLoader.java: | |
3802 | Fixed javadocs. | |
3803 | ||
3d5f053c MK |
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 | ||
d642571f MK |
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 | ||
3042e24b MK |
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 | ||
4a738a82 GL |
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 | ||
28e0ee76 DT |
3839 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
3840 | ||
3841 | * java/text/DateFormat.java (parse): | |
3842 | Improved javadoc. Improved exception message. | |
3843 | ||
2e54a860 MW |
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 | ||
23c41c08 DT |
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 | ||
e484d7d5 MK |
3888 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
3889 | ||
3890 | * gnu/regexp/CharIndexedInputStream.java: | |
3891 | Reordered imports to match classpath. | |
3892 | ||
3e518ab0 MK |
3893 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
3894 | ||
3895 | * gnu/java/awt/EmbeddedWindow.java: | |
3896 | Load native library for setWindowPeer method. | |
3897 | ||
8c5ac2c4 RC |
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 | ||
0bd24153 PB |
3905 | 2004-07-07 Per Bothner <per@bothner.com> |
3906 | ||
fedf5454 PB |
3907 | * Makefile.am: Add rules to build libgij from just gij.cc. |
3908 | ||
0bd24153 PB |
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 | ||
0e497b6c AT |
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 | ||
c09bade6 ME |
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 | ||
23f99379 | 3926 | 2004-07-05 Anthony Green <green@redhat.com> |
0e497b6c | 3927 | |
23f99379 AG |
3928 | * java/io/File.java (toURI): Merge from Classpath. |
3929 | ||
a1433c46 BM |
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. | |
0e497b6c | 3936 | |
a86f0372 BM |
3937 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
3938 | ||
3939 | * java/util/Locale.java (readObject): Intern strings read from object | |
3940 | stream. | |
3941 | ||
74fa958e MK |
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 | ||
94fbf267 | 3952 | 2004-07-03 Mark Wielaard <mark@klomp.org> |
0e497b6c | 3953 | Anthony Green <green@redhat.com> |
94fbf267 AG |
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 | ||
b5349c07 BM |
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 | ||
f8a57be8 GK |
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 | ||
dcfbe7c7 JQ |
3983 | 2004-06-30 Jerry Quinn <jlquinn@optonline.net> |
3984 | ||
3985 | * java/beans/Statement.java (doExecute): Fix formatting. | |
3986 | ||
8319dc87 PB |
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 | ||
b4bbd47e BM |
3993 | 2004-06-29 Bryce McKinlay <mckinlay@redhat.com> |
3994 | ||
3995 | * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249. | |
3996 | ||
b5493719 BM |
3997 | 2004-06-28 Bryce McKinlay <mckinlay@redhat.com> |
3998 | ||
b4bbd47e | 3999 | * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6. |
b5493719 | 4000 | |
7b63e340 JQ |
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 | ||
01036503 MW |
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 | ||
ce6230c4 MW |
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 | ||
66a74d2a MW |
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 | ||
d168da74 AT |
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 | ||
cc21f43e BM |
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 | ||
eb8163ab BM |
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 | ||
f50aa505 BM |
4055 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
4056 | ||
4057 | PR libgcj/16134: | |
e9cb3dac BM |
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. | |
f50aa505 | 4061 | |
deb3d52f AH |
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 | ||
cfc74dce AT |
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 | ||
bd760894 RM |
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 | ||
6ca77e6f RM |
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 | ||
67a69e82 GH |
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 | ||
4dfcdad1 GH |
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 | ||
794c3bee AG |
5247 | 2004-06-17 Anthony Green <green@redhat.com> |
5248 | ||
1616280e AG |
5249 | * java/util/zip/ZipFile.java (getInputStream): Return null if |
5250 | entry not found. | |
5251 | ||
794c3bee AG |
5252 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extension |
5253 | directory contents to the class path. | |
5254 | ||
d1238423 AH |
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 | ||
f1c3e0a6 AJ |
5260 | 2004-06-14 Andreas Jaeger <aj@suse.de> |
5261 | ||
5262 | * configure.in: Support --enable-version-specific-runtime-libs. | |
5263 | * configure: Regenerated. | |
5264 | ||
84b1d821 BM |
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 | ||
df94fa14 AH |
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 | ||
ff6ea709 MW |
5285 | 2004-06-12 Mark Wielaard <mark@klomp.org> |
5286 | ||
5287 | * javax/swing/RepaintManager.java | |
5288 | (paintDirtyRegions): Use entrySet(), not values(). | |
5289 | ||
d1ee8381 MW |
5290 | 2004-06-10 Mark Wielaard <mark@klomp.org> |
5291 | ||
5292 | * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to | |
5293 | NoSuchMethodError. | |
5294 | ||
b092552d JQ |
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 | ||
618df745 TT |
5306 | 2004-06-10 Tom Tromey <tromey@redhat.com> |
5307 | ||
5308 | * interpret.cc (run): Handle wide fload. | |
5309 | ||
648b6075 JQ |
5310 | 2004-06-06 Jerry Quinn <jlquinn@optonline.net> |
5311 | ||
5312 | * java/util/zip/ZipEntry.java (setTime): Remove scaling. | |
5313 | ||
9fc3ed51 MK |
5314 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
5315 | ||
5316 | * javax/swing/SwingConstants.java | |
5317 | (NEXT): New constant. | |
5318 | (PREVIOUS): Likewise. | |
5319 | ||
c6dd0441 MK |
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 | ||
53ef271f MK |
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 | ||
26f4ba86 OR |
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 | ||
c05e85e2 MK |
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 | ||
6ef44cfd MK |
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 | ||
1900c4c6 MW |
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 | ||
57807c31 MK |
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 | ||
f7dbd56c MK |
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 | ||
44a4b8db OR |
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 | ||
58128b9d MK |
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 | ||
771b9ca3 MK |
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 | ||
7a70d70c MW |
5425 | 2004-05-30 Mark Wielaard <mark@klomp.org> |
5426 | ||
5427 | * java/awt/Toolkit.java (loadSystemColors): Implement. | |
5428 | ||
289f9db7 MK |
5429 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
5430 | ||
071917b0 MK |
5431 | * java/lang/System.java: Reordered imports. |
5432 | ||
5433 | 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org> | |
5434 | ||
289f9db7 MK |
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 | ||
1b2545bc MK |
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 | ||
74c2dbf7 MK |
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 | ||
27d14326 MK |
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 | ||
933592af MK |
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 | ||
5ba95354 RM |
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 | ||
ca60dce2 BM |
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 | ||
b9f065be JQ |
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 | ||
a4171ce1 MK |
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 | ||
c5d2de6b GH |
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 | ||
2140214f JQ |
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 | ||
17abdabc BM |
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 | ||
0fa13661 AG |
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 | ||
0f22079e AG |
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 | ||
9152dcf4 MW |
6111 | 2004-05-16 Mark Wielaard <mark@klomp.org> |
6112 | ||
6113 | * java/io/Writer.java (Writer(Object)): Check for null lock object. | |
6114 | ||
fb0e7ec0 MW |
6115 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
6116 | ||
6117 | * doc/cni.sgml: Removed, merged into gcj.texi. | |
6118 | ||
85ff6f62 MW |
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 | ||
f437e359 MW |
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 | ||
ae0d0d59 TT |
6320 | 2004-05-14 Tom Tromey <tromey@redhat.com> |
6321 | ||
6322 | * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage', | |
6323 | not `XGraphicsConfiguration.XOffScreenImage'. | |
6324 | ||
1cd29ad2 SG |
6325 | 2004-05-14 Scott Gilbertson <scottg@mantatest.com> |
6326 | ||
6327 | * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap. | |
6328 | ||
a01a235c SA |
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 | ||
8f0b9daa MK |
6335 | 2004-05-11 Michael Koch <konqueror@gmx.de> |
6336 | ||
6337 | * gnu/java/net/natPlainSocketImplPosix.cc | |
6338 | (read): Fixed typo in expression. | |
6339 | ||
3f68457e AT |
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 | ||
731d47a6 RM |
6353 | 2004-05-10 Ranjit Mathew <rmathew@hotmail.com> |
6354 | ||
6355 | * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current | |
6356 | reality. | |
6357 | ||
8e31e128 RM |
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 | ||
61af3d86 JQ |
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 | ||
579f9640 BM |
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 | ||
0a215a11 MK |
6385 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
6386 | ||
6387 | * java/util/logging/Level.java | |
6388 | (parse): Use == instead of String.equals(). | |
6389 | ||
e51f7aeb BM |
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 | ||
c8395524 MK |
6398 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
6399 | ||
6400 | * javax/swing/table/TableColumn.java: | |
6401 | Reformated. | |
6402 | ||
c8b86f1a MK |
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 | ||
9f2eefb7 MK |
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 | ||
45505d4d MK |
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 | ||
74e94435 BM |
6441 | 2004-05-05 Bryce McKinlay <mckinlay@redhat.com> |
6442 | ||
6443 | * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary() | |
6444 | call. | |
6445 | ||
68ea5833 MW |
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 | ||
880fa238 MK |
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 | ||
4a93a226 MK |
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 | ||
aaec686e TT |
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 | ||
b1210ca2 MW |
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 | ||
a54f498a TT |
6531 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
6532 | ||
6533 | * java/io/BufferedReader.java (skip): Removed unused | |
6534 | variable. | |
6535 | ||
e8430418 MK |
6536 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
6537 | ||
6538 | * java/awt/FileDialog.java: Import java.io.Serializable explicitly. | |
6539 | ||
f32c742c DT |
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 | ||
d70bd7ff TT |
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 | ||
2225a42a GL |
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 | ||
1f646142 GL |
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 | ||
8cf1edb3 GL |
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 | ||
aff9d141 DT |
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 | ||
933522fb MK |
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 | ||
27c2c3ec IP |
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 | ||
a31d9d6c MK |
6650 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
6651 | ||
6652 | * gnu/java/text/CharacterBreakIterator.java | |
6653 | (previous): Removed unused variable. | |
6654 | ||
065afdfa GL |
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 | ||
af62fd12 MW |
6670 | 2004-05-04 Mark Wielaard <mark@klomp.org> |
6671 | ||
53c87e49 | 6672 | * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method. |
af62fd12 | 6673 | |
a3c44036 AT |
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 | ||
007265b8 MW |
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 | ||
a00d3b3c MW |
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 | ||
7b68f0bf TT |
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 | ||
493b3c9c MK |
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 | ||
55ce9c52 RM |
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 | ||
2d99c042 RS |
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 | ||
c1fcbbc3 RM |
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 | ||
6f0b1fa5 JQ |
6762 | 2004-04-24 Jerry Quinn <jlquinn@optonline.net> |
6763 | ||
6764 | * java/text/CollationElementIterator.java (reset): Reset | |
6765 | lookahead variables. | |
6766 | ||
99a88816 MW |
6767 | 2004-04-23 Mark Wielaard <mark@klomp.org> |
6768 | ||
6769 | * jni/classpath/jcl.c: Changed C++ comments into C comments. | |
6770 | ||
b4e7ef8d DT |
6771 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
6772 | ||
6773 | * java/sql/DriverManager.java: | |
6774 | Cleaned up imports. | |
6775 | ||
e9d34968 MK |
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 | ||
87939d70 MK |
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 | ||
5d837a58 DT |
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 | ||
ace7ed7c DT |
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 | ||
ae522139 MW |
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 | ||
838a4849 MK |
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 | ||
fe2235d1 DT |
6866 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
6867 | ||
6868 | * javax/security/auth/x500/X500Principal.java: | |
6869 | Cleaned up imports. | |
6870 | ||
b7db3d0a DT |
6871 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
6872 | ||
6873 | * javax/swing/JSlider.java: | |
6874 | Fixed HTML tags in comments. | |
6875 | ||
32bfc773 DT |
6876 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
6877 | ||
6878 | * javax/accessibility/AccessibleText.java: | |
6879 | Cleaned up imports. | |
6880 | ||
e930d01a MK |
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 | ||
5d79367d MK |
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 | ||
c0dce235 DT |
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 | ||
5c09d725 MK |
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 | ||
83ef3f2b JQ |
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 | ||
746ecc78 BM |
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 | ||
86a80fc3 MK |
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 | ||
6e90ed19 MK |
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 | ||
96d22b12 MK |
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 | ||
ca17d211 MK |
6998 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
6999 | ||
7000 | * java/util/Properties.java | |
7001 | (load): Fix wrongly merged fix. | |
7002 | ||
60e957d0 MW |
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 | ||
27dd18cf DT |
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 | ||
2635995a MW |
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 | ||
1c3d6bb2 MW |
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 | ||
387fa012 MK |
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 | ||
bf9f06ae MK |
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 | ||
8a6c1d29 MK |
7086 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7087 | ||
7088 | * java/nio/channels/Channels.java: | |
7089 | Merged coding style with GNU classpath. | |
7090 | ||
f5874634 MK |
7091 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7092 | ||
7093 | * java/net/ServerSocket.java | |
7094 | Merged coding style from GNU classpath. | |
7095 | ||
90cb5151 MK |
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 | ||
5ede96a4 IP |
7102 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
7103 | ||
7104 | * java/awt/event/MouseEvent.java (<init>): fixed field assignment | |
7105 | ||
391d8ef5 MK |
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 ä in api | |
7120 | documentation. | |
7121 | ||
92e1fe67 MK |
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 | ||
08c5d757 MK |
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 | ||
a17c9f2e MK |
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 | ||
0fc920c8 MK |
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 | ||
f6d49f66 MK |
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 | ||
cf6f7d55 MK |
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 | ||
9f714d5e MK |
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 | ||
23f0ecff MK |
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 | ||
2c4d54e6 MK |
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 | ||
5589f3e5 MK |
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 | ||
0150fc22 MK |
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 | ||
7431acbe MK |
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 | ||
7f6f517f MW |
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 | ||
8ecb0346 MK |
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 | ||
f5310108 BM |
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 | ||
afd7c0dc MW |
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 | ||
bf7ad402 BM |
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 | ||
31e632d3 GH |
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 | ||
245c3c04 BM |
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 | ||
d7afe286 BM |
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 | ||
84264cb6 RM |
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 | ||
2b6b5c35 MK |
7791 | 2004-04-01 Michael Koch <konqueror@gmx.de> |
7792 | ||
7793 | * java/lang/SecurityManager.java | |
7794 | (checkAwtEventQueueAccess): Implemented. | |
7795 | ||
1c19eacc GB |
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 | ||
99b43239 PM |
7801 | 2004-03-26 Peter Moon <peterm@miraculum.com> |
7802 | ||
7803 | * java/text/NumberFormat.java: Fix spelling of setCurrency | |
7804 | method. | |
7805 | ||
95e59f1a AG |
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 | ||
de205e06 IK |
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 | ||
bdf11d55 JF |
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 | ||
0d13be1e MK |
7836 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
7837 | ||
7838 | * java/net/URLConnection.java: Merged copyright year with classpath. | |
7839 | ||
f903e73b NF |
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 | ||
7f5773c6 MK |
7876 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
7877 | ||
7878 | * java/net/InetAddress.java | |
7879 | (getLocalHostname): Added javadoc. | |
7880 | ||
ab16524d PB |
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 | ||
0fca95f5 PB |
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 | ||
edb3d426 MW |
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 | ||
b121dcb5 JF |
7905 | 2004-03-19 Jeroen Frijters <jeroen@frijters.net> |
7906 | ||
7907 | * java/lang/ThreadGroup.java (list): Changed print to println. | |
7908 | ||
44b20223 MW |
7909 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
7910 | ||
7911 | * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc | |
7912 | happy. | |
7913 | ||
f94b0887 RC |
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 | ||
d511a273 MW |
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 | ||
9c6637c8 MK |
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 | ||
165c9b04 RO |
7956 | 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7957 | ||
7958 | * verify.cc: Undef PC. | |
7959 | ||
138f5109 MK |
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 | ||
acc63e4c RO |
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 | ||
86881a7b GH |
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 |