]>
Commit | Line | Data |
---|---|---|
691e8c0f SM |
1 | 2004-10-18 Sven de Marothy <sven@physto.se> |
2 | ||
3 | * java/nio/ByteBufferHelper.java | |
4 | (putDouble): Use Double.toRawLongBits instead. | |
5 | ||
bc2fed82 MW |
6 | 2004-10-18 Mark Wielaard <mark@klomp.org> |
7 | Andrew Haley <aph@redhat.com> | |
8 | ||
9 | * testsuite/libjava.lang/ExtraClassLoader.java: New. | |
10 | ||
963ebe78 AH |
11 | 2004-10-18 Andrew Haley <aph@redhat.com> |
12 | ||
13 | PR java/18036: | |
14 | * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize | |
15 | and correct logic used to find interpreter. | |
16 | ||
e5871096 JF |
17 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> |
18 | ||
19 | * java/util/logging/LogManager.java | |
20 | (findAncestor): Fixed IndexOutOfBoundsException. | |
21 | ||
0736f19f MK |
22 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
23 | ||
24 | * java/io/BufferedInputStream.java: Fixed @author tag. | |
25 | (read): Simplified expression. | |
26 | (read): Merged javadoc a bit more. | |
27 | (read): Renamed 'remain' to 'totalBytesRead'. | |
28 | * java/io/DataInputStream.java, | |
29 | java/io/DataOutputStream.java, | |
30 | java/io/ObjectInputStream.java, | |
31 | java/io/ObjectOutputStream.java: | |
32 | Reworked modifier order. | |
33 | ||
df397ce2 MK |
34 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
35 | ||
36 | * java/net/Inet4Address.java: Merged file header and javadocs. | |
37 | * java/net/Inet6Address.java: Likewise. | |
38 | * java/net/InetAddress.java | |
39 | (getCanonicalHostName): Create Inet4Address object instead of | |
40 | InetAddress and add comment regarding IPv6. | |
41 | (toString): Simplified. | |
42 | ||
2c661756 MK |
43 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
44 | ||
45 | * gnu/java/net/protocol/http/Connection.java, | |
46 | java/nio/MappedByteBufferImpl.java, | |
47 | java/text/RuleBasedCollator.java, | |
48 | java/util/ResourceBundle.java: | |
49 | Reworked import statements. | |
50 | ||
51 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> | |
52 | ||
53 | * java/security/IdentityScope.java | |
54 | (systemScope): Removed useless initializer. | |
55 | * java/security/Policy.java | |
56 | (currentPolicy): Likewise. | |
57 | ||
33308026 MK |
58 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
59 | ||
60 | * java/lang/System.java: Revert accidential change. | |
61 | ||
2047d8e4 MK |
62 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
63 | ||
64 | * java/lang/Math.java, | |
65 | java/lang/Package.java, | |
66 | java/lang/Runtime.java, | |
67 | java/lang/StrictMath.java, | |
68 | java/lang/System.java, | |
69 | java/lang/Thread.java, | |
70 | java/lang/ThreadLocal.java, | |
71 | java/lang/Void.java: | |
72 | Reworked import statements, HTML in javadocs and modifier orders. | |
73 | ||
36071b5c JF |
74 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> |
75 | ||
76 | * java/util/Timer.java | |
77 | (nr): Removed useless initializer. | |
78 | * java/util/logging/LogRecord.java | |
79 | (lastSeqNum): Likewise. | |
80 | * javax/naming/spi/NamingManager.java | |
81 | (icfb, ofb): Likewise. | |
82 | ||
73aab3de MK |
83 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
84 | ||
85 | * gnu/java/net/PlainDatagramSocketImpl.java: | |
86 | Reworked import statements. | |
87 | * gnu/java/security/provider/DSAParameters.java: | |
88 | Fixed copyrigth years. | |
89 | * java/net/JarURLConnection.java: | |
90 | Fixed HTML in @author tags. | |
91 | ||
92 | ||
4e2721c3 MK |
93 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
94 | ||
95 | * java/rmi/activation/ActivationSystem.java | |
96 | (SYSTEM_PORT): Initialize with correct port number. | |
97 | ||
7b040d4c MK |
98 | 2004-10-18 Michael Koch <konqueror@gmx.de> |
99 | ||
100 | * java/lang/reflect/Proxy.java: Improved javadocs. | |
101 | ||
102 | 2004-10-18 Michael Koch <konqueror@gmx.de> | |
103 | ||
104 | * java/lang/reflect/AccessibleObject.java | |
105 | (checkPermission): Removed redundant final modifier. | |
106 | (secureSetAccessible): Likewise. | |
107 | * java/lang/reflect/Proxy.java: | |
108 | Reworked import statements. | |
109 | (generate): Removed redundant final modifier. | |
110 | * java/lang/reflect/ReflectPermission.java: | |
111 | Reorder package declaration and import statement. | |
112 | ||
113 | 2004-10-18 Jeroen Frijters <jeroen@frijters.net> | |
114 | ||
115 | * java/lang/reflect/Proxy.java | |
116 | (count): Removed useless initializer. | |
117 | ||
05dfb0b0 MK |
118 | 2004-10-17 Michael Koch <konqueror@gmx.de> |
119 | ||
120 | * java/net/BindException.java, | |
121 | java/net/ConnectException.java, | |
122 | java/net/ContentHandler.java, | |
123 | java/net/ContentHandlerFactory.java, | |
124 | java/net/DatagramPacket.java, | |
125 | java/net/DatagramSocket.java, | |
126 | java/net/DatagramSocketImpl.java, | |
127 | java/net/DatagramSocketImplFactory.java, | |
128 | java/net/FileNameMap.java, | |
129 | java/net/HttpURLConnection.java, | |
130 | java/net/MalformedURLException.java, | |
131 | java/net/MulticastSocket.java, | |
132 | java/net/NetworkInterface.java, | |
133 | java/net/NoRouteToHostException.java, | |
134 | java/net/PasswordAuthentication.java, | |
135 | java/net/PortUnreachableException.java, | |
136 | java/net/ProtocolException.java, | |
137 | java/net/ServerSocket.java, | |
138 | java/net/Socket.java, | |
139 | java/net/SocketException.java, | |
140 | java/net/SocketImpl.java, | |
141 | java/net/SocketImplFactory.java, | |
142 | java/net/SocketOptions.java, | |
143 | java/net/SocketPermission.java, | |
144 | java/net/SocketTimeoutException.java, | |
145 | java/net/URI.java, | |
146 | java/net/URISyntaxException.java, | |
147 | java/net/URL.java, | |
148 | java/net/URLDecoder.java, | |
149 | java/net/URLEncoder.java, | |
150 | java/net/URLStreamHandler.java, | |
151 | java/net/URLStreamHandlerFactory.java, | |
152 | java/net/UnknownHostException.java, | |
153 | java/net/UnknownServiceException.java: | |
154 | Big import statement and @author tag cleanup. | |
155 | ||
3238d4f9 MK |
156 | 2004-10-17 Michael Koch <konqueror@gmx.de> |
157 | ||
158 | * gnu/java/security/OID.java, | |
159 | gnu/java/security/provider/DSAParameters.java, | |
160 | gnu/java/security/provider/DSASignature.java, | |
161 | gnu/java/security/x509/X500DistinguishedName.java, | |
162 | gnu/java/security/x509/X509CRL.java: | |
163 | Import statements cleaned up. | |
164 | ||
410c47a4 MK |
165 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
166 | ||
167 | * gnu/java/nio/NIODatagramSocket.java, | |
168 | gnu/java/nio/ServerSocketChannelImpl.java: | |
169 | Reorganized import statements. | |
170 | ||
86b28213 MK |
171 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
172 | ||
173 | * gnu/java/rmi/RMIMarshalledObjectOutputStream.java | |
174 | gnu/java/rmi/rmic/RMIC.java, | |
175 | gnu/java/rmi/server/RMIHashes.java, | |
176 | gnu/java/rmi/server/RMIObjectInputStream.java, | |
177 | gnu/java/rmi/server/RMIObjectOutputStream.java, | |
178 | gnu/java/rmi/server/UnicastConnection.java, | |
179 | gnu/java/rmi/server/UnicastConnectionManager.java, | |
180 | gnu/java/rmi/server/UnicastRemoteCall.java, | |
181 | gnu/java/rmi/server/UnicastServer.java, | |
182 | gnu/java/rmi/server/UnicastServerRef.java, | |
183 | java/rmi/MarshalledObject.java, | |
184 | java/rmi/Naming.java, | |
185 | java/rmi/RMISecurityManager.java, | |
186 | java/rmi/Remote.java, | |
187 | java/rmi/activation/Activatable.java, | |
188 | java/rmi/activation/ActivationDesc.java, | |
189 | java/rmi/activation/ActivationGroup.java, | |
190 | java/rmi/activation/ActivationGroupDesc.java, | |
191 | java/rmi/activation/ActivationGroupID.java, | |
192 | java/rmi/activation/ActivationID.java, | |
193 | java/rmi/activation/ActivationInstantiator.java, | |
194 | java/rmi/activation/ActivationMonitor.java, | |
195 | java/rmi/activation/ActivationSystem.java, | |
196 | java/rmi/activation/Activator.java, | |
197 | java/rmi/dgc/DGC.java, | |
198 | java/rmi/dgc/Lease.java, | |
199 | java/rmi/dgc/VMID.java, | |
200 | java/rmi/registry/LocateRegistry.java, | |
201 | java/rmi/registry/Registry.java, | |
202 | java/rmi/registry/RegistryHandler.java, | |
203 | java/rmi/server/LoaderHandler.java, | |
204 | java/rmi/server/LogStream.java, | |
205 | java/rmi/server/ObjID.java, | |
206 | java/rmi/server/Operation.java, | |
207 | java/rmi/server/RMIClassLoader.java, | |
208 | java/rmi/server/RMIClassLoaderSpi.java, | |
209 | java/rmi/server/RMIClientSocketFactory.java, | |
210 | java/rmi/server/RMIFailureHandler.java, | |
211 | java/rmi/server/RMIServerSocketFactory.java, | |
212 | java/rmi/server/RMISocketFactory.java, | |
213 | java/rmi/server/RemoteCall.java, | |
214 | java/rmi/server/RemoteObject.java, | |
215 | java/rmi/server/RemoteRef.java, | |
216 | java/rmi/server/RemoteServer.java, | |
217 | java/rmi/server/RemoteStub.java, | |
218 | java/rmi/server/ServerRef.java, | |
219 | java/rmi/server/Skeleton.java, | |
220 | java/rmi/server/SkeletonMismatchException.java, | |
221 | java/rmi/server/UID.java, | |
222 | java/rmi/server/UnicastRemoteObject.java, | |
223 | java/rmi/server/Unreferenced.java: | |
224 | File headers and import statements cleaned up. | |
225 | ||
d8d3480a MK |
226 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
227 | ||
228 | * libjava/gnu/java/nio/charset/UTF_16.java, | |
229 | libjava/gnu/java/nio/charset/UTF_16BE.java, | |
230 | libjava/gnu/java/nio/charset/UTF_16LE.java, | |
231 | libjava/java/nio/ByteOrder.java, | |
232 | libjava/java/nio/MappedByteBuffer.java, | |
233 | libjava/java/nio/channels/Channels.java, | |
234 | libjava/java/nio/channels/spi/SelectorProvider.java, | |
235 | libjava/java/nio/charset/Charset.java: | |
236 | Cleanup. | |
237 | ||
752ef873 MK |
238 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
239 | ||
240 | * gnu/java/nio/charset/UTF_16Encoder.java | |
241 | (UTF_16Encoder): Fixed maxBytesPerChar handling. | |
242 | ||
7af8968e MK |
243 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
244 | ||
245 | * java/math/BigDecimal.java, java/math/BigInteger.java: | |
246 | Reorganized import statements, removed redundant and | |
247 | reorganized modifiers. | |
248 | ||
f3bf8475 MK |
249 | 2004-10-16 Michael Koch <konqueror@gmx.de> |
250 | ||
251 | * gnu/java/beans/ExplicitBeanInfo.java: | |
252 | Explicitely import java.awt.Image. | |
253 | (getIcon): Fixed off-by-one error. | |
254 | ||
b08fd659 AH |
255 | 2004-10-15 Andrew Haley <aph@redhat.com> |
256 | ||
257 | * Makefile.am (nat_files, xlib_nat_files): New. | |
258 | * Makefile.in: Regenerate. | |
259 | ||
ed674251 UW |
260 | 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com> |
261 | ||
262 | * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of | |
263 | ffi_raw_call if FFI_NATIVE_RAW_API is not defined. | |
264 | ||
180a373d AH |
265 | 2004-10-13 Andrew Haley <aph@redhat.com> |
266 | ||
267 | * interpret.cc (_Jv_InterpMethod::run): Initialize | |
268 | _Jv_StartOfInterpreter. | |
269 | (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed. | |
270 | (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables. | |
271 | * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use | |
272 | _Unwind_FindEnclosingFunction to discover whether PC is within the | |
273 | interpreter. | |
274 | ||
2abb138b RO |
275 | 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net> |
276 | ||
277 | PR libgcj/17903: | |
278 | * testsuite/libjava.lang/md5test.java: New file. | |
279 | * testsuite/libjava.lang/md5test.out: Likewise. | |
280 | * testsuite/libjava.lang/shatest.java: Likewise. | |
281 | * testsuite/libjava.lang/shatest.out: Likewise. | |
282 | ||
169bb110 RH |
283 | 2004-10-11 Richard Henderson <rth@redhat.com> |
284 | ||
285 | * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*. | |
286 | (_Jv_ThreadSelf): Use __builtin_thread_pointer. | |
287 | ||
0ba09d8f BM |
288 | 2004-10-08 Bryce McKinlay <mckinlay@redhat.com> |
289 | ||
290 | * java/util/Calendar.java (set): Invalidate DST_OFFSET | |
291 | field as a DST boundary may have been crossed. | |
292 | * java/util/GregorianCalendar.java (add): Throw | |
293 | IllegalArgumentException on attempt to add to DST_OFFSET or | |
294 | ZONE_OFFSET fields. Update javadoc. | |
295 | ||
0d2e6ffe MK |
296 | 2004-10-09 Michael Koch <konqueror@gmx.de> |
297 | ||
298 | * java/io/CharArrayWriter.java | |
299 | (resize): Removed redundant 'final' modifier. | |
300 | * java/io/DataInputStream.java | |
301 | (readFully): Throw IndexOutOfBoundsException of len < 0. | |
302 | * java/io/FileDescriptor.java, | |
303 | java/io/FileInputStream.java, | |
304 | java/io/FileOutputStream.java, | |
305 | java/io/ObjectOutputStream.java, | |
306 | java/io/ObjectStreamClass.java, | |
307 | java/io/PipedInputStream.java, | |
308 | java/io/RandomAccessFile.java: | |
309 | Reorganized import statements. | |
310 | ||
f507003a MK |
311 | 2004-10-09 Michael Koch <konqueror@gmx.de> |
312 | ||
313 | * gnu/java/rmi/rmic/RMIC.java, | |
314 | gnu/java/rmi/server/RMIHashes.java, | |
315 | gnu/java/rmi/server/RMIObjectInputStream.java, | |
316 | gnu/java/rmi/server/UnicastConnection.java, | |
317 | gnu/java/rmi/server/UnicastConnectionManager.java, | |
318 | gnu/java/rmi/server/UnicastRemoteCall.java, | |
319 | gnu/java/rmi/server/UnicastServerRef.java: | |
320 | Reworked import statements and fixed file headers. | |
321 | ||
56d6e6b1 LR |
322 | 2004-10-04 Loren J. Rittle <ljrittle@acm.org> |
323 | ||
324 | * configure.ac (*-*-freebsd[[1234]]*): Refine error message | |
325 | emission rule. | |
326 | * configure: Rebuilt. | |
327 | ||
02164889 TT |
328 | 2004-09-30 Tom Tromey <tromey@redhat.com> |
329 | ||
acfeef9c | 330 | * java/text/MessageFormat.java (Field): Constructor now |
02164889 TT |
331 | protected. |
332 | ||
26f7abae TT |
333 | 2004-09-30 Tom Tromey <tromey@redhat.com> |
334 | ||
335 | * javax/crypto/MacSpi.java: Fixed typo. | |
336 | ||
0aa36026 MK |
337 | 2004-09-30 Michael Koch <konqueror@gmx.de> |
338 | ||
339 | * java/net/InetAddress.java: Reformatted. | |
340 | (loopback): Initialize with Inet4Address object. | |
341 | (static): Initialize ANY_IF with Inet4Address object. | |
342 | (InetAddress): Removed unused package-private constructor. | |
343 | ||
57da15a4 MK |
344 | 2004-09-30 Michael Koch <konqueror@gmx.de> |
345 | ||
346 | * java/beans/Beans.java, | |
347 | java/beans/EventHandler.java, | |
348 | java/beans/EventSetDescriptor.java, | |
349 | java/beans/Introspector.java, | |
350 | java/beans/PropertyEditorManager.java, | |
351 | java/beans/beancontext/BeanContext.java, | |
352 | java/beans/beancontext/BeanContextChild.java, | |
353 | java/beans/beancontext/BeanContextChildSupport.java, | |
354 | java/beans/beancontext/BeanContextMembershipEvent.java: | |
355 | Reordered import statements and removed redundant modifiers. | |
356 | ||
c8dc36d6 TT |
357 | 2004-09-29 Tom Tromey <tromey@redhat.com> |
358 | ||
26aed923 TT |
359 | PR libgcj/17715: |
360 | * Makefile.in: Rebuilt. | |
361 | * Makefile.am (libgcj-@gcc_version@.jar): Include properties | |
362 | files. | |
363 | (all_property_files): New macro. | |
364 | ||
c8dc36d6 TT |
365 | * Makefile.in: Rebuilt. |
366 | * Makefile.am (ordinary_java_source_files): Re-sorted. | |
367 | (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la. | |
368 | ||
bd1c8428 TT |
369 | 2004-09-28 Tom Tromey <tromey@redhat.com> |
370 | ||
252d7884 TT |
371 | * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets. |
372 | ||
bd1c8428 TT |
373 | PR libgcj/17222: |
374 | * Makefile.am (libgcj.la): Restored. | |
375 | * Makefile.in: Rebuilt. | |
376 | ||
95b88040 MK |
377 | 2004-09-28 Michael Koch <konqueror@gmx.de> |
378 | ||
379 | * java/net/URLConnection.java: Reformatted. | |
380 | * java/net/URLClassLoader.java: Reformatted. | |
381 | (getContent): Reordered return of content. | |
382 | (getContentHandler): Don't check for null explicitely. | |
383 | ||
2c11433f MK |
384 | 2004-09-27 Michael Koch <konqueror@gmx.de> |
385 | ||
386 | * java/io/BufferedInputStream.java | |
387 | (BufferedInputStream): Added Jeroen Frijters to authors. | |
388 | (count): Don't explicitely initialize with default value. | |
389 | (pos): Likewise. | |
390 | (marklimit): Likewise. | |
391 | (read): Changed boolean expression to match GNU classpath' version. | |
392 | (reset): Add proper message to exception. | |
393 | (skip): Check for closed stream. | |
394 | (refill): Likewise. | |
395 | ||
c5fe8107 PB |
396 | 2004-09-26 Per Bothner <per@bothner.com> |
397 | ||
398 | * prims.cc (unblock_signal): Annotate signum with __unused__ to | |
399 | avoid warnings in the non-POSIX_VERSION case. | |
400 | Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE, | |
401 | so place it inside an #if block. | |
402 | * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__. | |
403 | * include/i386-signal.h (SIGNAL_HANDLER): Likewise | |
404 | * include/mips-signal.h (SIGNAL_HANDLER): Likewise | |
405 | * include/sparc-signal.h (SIGNAL_HANDLER): Likewise | |
406 | ||
08bc8777 PB |
407 | 2004-09-26 Per Bothner <per@bothner.com> |
408 | ||
409 | * prims.cc (process_gcj_properties): Optimization. | |
410 | ||
a22478ce PB |
411 | 2004-09-26 Per Bothner <per@bothner.com> |
412 | ||
413 | * java/util/Collections.java (sort): Copy from array in forwards | |
414 | order, rather than reverse order which may be much less efficient. | |
415 | ||
3bd2680e MW |
416 | 2004-09-26 Mark Wielaard <mark@klomp.org> |
417 | ||
418 | * java/lang/System.java (properties): Make package private. | |
419 | * java/lang/Throwable.java (StaticData.nl): Initialize through | |
420 | directly accessing System.properties.getProperty(). | |
421 | ||
422 | * java/lang/Throwable.java (nl): Remove static field. | |
423 | (StaticData): New private static inner class. | |
424 | (stackTraceStringBuffer): Use StaticData.nl. | |
425 | ||
59c86e4b CM |
426 | 2004-09-26 Casey Marshall <csm@gnu.org> |
427 | ||
428 | * java/security/ProtectionDomain.java | |
429 | (<init>(CodeSource,PermissionCollection)): set `staticBinding' to | |
430 | `true'. | |
431 | ||
432 | * java/security/SecureClassLoader.java | |
433 | (defineClass): make protection domain dynamically bound. | |
434 | (getPermissions): call `getCurrentPolicy' to avoid permission | |
435 | check. | |
436 | ||
ffe2e220 MW |
437 | 2004-09-25 Mark Wielaard <mark@klomp.org> |
438 | ||
439 | * Makefile.am (core_java_source_files): Add VMTimeZone.java. | |
440 | (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc. | |
441 | * Makefile.in: Regenerated. | |
442 | ||
443 | * gcj/javaprims.h: Regenerated. | |
444 | ||
445 | * java/util/TimeZone.java (defaultZone): Use VMTimeZone. | |
446 | (getDefaultTimeZone): Make package private. Check that GMToffset | |
447 | contains at least one digit. | |
448 | (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to | |
449 | VMTimeZone. | |
450 | * util/VMTimeZone.java: New file with above methods. | |
451 | ||
452 | * java/util/natTimeZone.cc: Removed (renamed). | |
453 | * java/util/natVMTimeZone.cc: Added (renamed). | |
454 | ||
455 | 2004-09-25 Jeroen Frijters <jeroen@frijters.net> | |
456 | ||
457 | * java/util/TimeZone.java | |
458 | (getDefaultTimeZone): Fixed test to distinguish between hours and | |
459 | minutes in specified timezone. | |
460 | ||
9b2b6c0f JF |
461 | 2004-09-25 Jeroen Frijters <jeroen@frijters.net> |
462 | ||
463 | * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed | |
464 | handling of default package. (generate): Removed confused comments | |
465 | and code about making Method and Field accessible. | |
466 | ||
4b2582f0 TT |
467 | 2004-09-25 Tom Tromey <tromey@redhat.com> |
468 | ||
469 | PR java/17500: | |
470 | * testsuite/libjava.compile/pr17500.java: New file. | |
471 | ||
27a92d68 SB |
472 | 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com> |
473 | Mark Wielaard <mark@klomp.org> | |
474 | ||
475 | * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support. | |
476 | * gnu/regexp/RETokenLookAhead.java: New file. | |
477 | ||
478 | * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java. | |
479 | * Makefile.in: Regenerated. | |
480 | ||
20319d32 MK |
481 | 2004-09-25 Michael Koch <konqueror@gmx.de> |
482 | ||
483 | * java/io/ObjectStreamField.java: | |
484 | Removed unused import statement. | |
485 | ||
0a08595a TT |
486 | 2004-09-24 Tom Tromey <tromey@redhat.com> |
487 | ||
013303df TT |
488 | PR java/15656: |
489 | * testsuite/libjava.compile/pr15656.xfail: New file. | |
490 | * testsuite/libjava.compile/pr15656.java: new file. | |
491 | ||
0a08595a TT |
492 | PR java/16789: |
493 | * testsuite/libjava.lang/pr16789.out: New file. | |
494 | * testsuite/libjava.lang/pr16789.java: New file. | |
495 | ||
0a41faf0 AH |
496 | 2004-09-24 Andrew Haley <aph@redhat.com> |
497 | ||
498 | PR java/16927 | |
499 | * testsuite/libjava.compile/AssertBug.java: New file. | |
500 | ||
c80a4b7e CM |
501 | 2004-09-24 Casey Marshall <csm@gnu.org> |
502 | ||
503 | * java/util/PropertyPermissionCollection.java | |
504 | (implies): avoid infinite loop. | |
505 | ||
7e53ab66 AJH |
506 | 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org> |
507 | ||
508 | * javax/security/auth/PrivateCredentialPermission.java | |
509 | (PrivateCredentialPermission): added serialization UID | |
510 | ||
511 | ||
c7c671b9 IP |
512 | 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com> |
513 | ||
514 | * gnu/java/rmi/server/UnicastServer.java | |
515 | (incomingMessageCall): Added code to handle Errors. | |
516 | * gnu/java/rmi/server/UnicastServerRef.java | |
517 | (incomingMessageCall): Added code to handle Errors. | |
518 | ||
519 | ||
66719604 TT |
520 | 2004-09-24 Tom Tromey <tromey@redhat.com> |
521 | ||
522 | * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap. | |
523 | (definedPackages): Likewise. | |
524 | ||
28c23a8c MK |
525 | 2004-09-24 Michael Koch <konqueror@gmx.de> |
526 | ||
527 | * java/io/ObjectInputStream.java: | |
528 | Re-ordered imports. | |
529 | ||
629a2d2b CM |
530 | 2004-09-24 Casey Marshall <csm@gnu.org> |
531 | ||
532 | * java/io/ObjectInputStream.java (callReadMethod): re-throw | |
533 | `ClassNotFoundException'. | |
534 | ||
73eb1309 JF |
535 | 2004-09-24 Jeroen Frijters <jeroen@frijters.net> |
536 | ||
537 | * java/io/ObjectInputStream.java (readObject): Delegate instantation | |
538 | of Externalizable classes to ObjectStreamClass. | |
539 | * java/io/ObjectStreamClass.java (newInstance): New method to | |
540 | instantiate Externalizable (while ignoring the accessibility of | |
541 | the constructor). (constructor): New field to cache the constructor. | |
542 | ||
8ac4bd37 MW |
543 | 2004-09-24 Mark Wielaard <mark@klomp.org> |
544 | ||
545 | * java/net/URL.java (systemClassLoader): New static field. | |
546 | (getURLStreamHandler): Always use system/application classloader | |
547 | for finding URLStreamhandler. Remove unecessary instanceof checks. | |
548 | ||
56a4b3e2 GL |
549 | 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org> |
550 | ||
551 | * java/net/URL.java | |
552 | (set): This method now matches the behaviour of the JDK. | |
553 | (DEFAULT_SEARCH_PATH): Added "gnu.inet". | |
554 | ||
5bb3fc27 MK |
555 | 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org> |
556 | ||
557 | * java/net/URL.java (URL): Delete whitespaces in the protocol string. | |
558 | ||
559 | 2004-09-24 Jeroen Frijters <jeroen@frijters.net> | |
560 | ||
561 | * java/net/URL.java (URL(String,String,int,String,URLStreamHandler): | |
562 | Don't set authority if host isn't specified. | |
563 | ||
9e54846f MK |
564 | 2004-09-24 Michael Koch <konqueror@gmx.de> |
565 | ||
566 | * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff. | |
567 | * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff. | |
568 | * gnu/java/nio/VMPipe.java, | |
569 | gnu/java/nio/VMSelector.java: | |
570 | New files. | |
571 | * gnu/java/nio/natPipeImplEcos.cc, | |
572 | gnu/java/nio/natPipeImplPosix.cc, | |
573 | gnu/java/nio/natPipeImplWin32.cc: | |
574 | Ported to VMPipe. | |
575 | * gnu/java/nio/natSelectorImplEcos.cc, | |
576 | gnu/java/nio/natSelectorImplPosix.cc, | |
577 | gnu/java/nio/natSelectorImplWin32.cc: | |
578 | Ported to VMSelector. | |
579 | * Makefile.am: Added new files gnu/java/nio/VMPipe.java and | |
580 | gnu/java/nio/VMSelector.java. | |
581 | * Makefile.in: Regenerated. | |
582 | ||
e6ab8dc2 JF |
583 | 2004-09-24 Jeroen Frijters <jeroen@frijters.net> |
584 | ||
585 | * java/lang/StackTraceElement.java | |
586 | (className): Renamed field to declaringClass to be compatible | |
587 | with Sun serialization format. | |
588 | ||
09bddb92 MK |
589 | 2004-09-23 Michael Koch <konqueror@gmx.de> |
590 | ||
591 | * java/applet/AppletContext.java, | |
592 | java/applet/Applet.java, | |
593 | java/applet/AppletStub.java, | |
594 | java/applet/AudioClip.java: | |
595 | Jalopied and checkstyle clean. | |
596 | ||
093942ac MW |
597 | 2004-09-23 Mark Wielaard <mark@klomp.org> |
598 | ||
599 | * java/util/Collections.java | |
600 | (binarySearch(List, Object, Comparator)): Explicitly | |
601 | reverse direction in list iterator. | |
602 | (rotate): Just return when list is empty. | |
603 | ||
53d26678 TT |
604 | 2004-09-23 Tom Tromey <tromey@redhat.com> |
605 | ||
51c9fed9 TT |
606 | PR java/17329: |
607 | * testsuite/libjava.compile/pr17329.java: New file. | |
608 | ||
53d26678 TT |
609 | PR java/17380: |
610 | * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and | |
611 | 9.2-implicit-7. | |
612 | ||
5b7a26f6 KC |
613 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
614 | ||
615 | * Makefile.am: Run aclocal with -I ../config | |
616 | * acinclude.m4: Delete macros picked up from ../config and tidy. | |
617 | (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete. | |
618 | * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate. | |
619 | * include/Makefile.in, testsuite/Makefile.in: Regenerate. | |
620 | ||
54805b23 KC |
621 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
622 | ||
623 | * aclocal.m4: Regenerate with aclocal 1.9.2. | |
624 | * configure: Regenerate. | |
625 | * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2. | |
626 | * include/Makefile.in, testsuite/Makefile.in: Likewise. | |
627 | ||
d0259e11 DD |
628 | 2004-09-22 David Daney <ddaney@avtrex.com> |
629 | ||
630 | PR libgcj/17623 | |
631 | * java/net/URL.java (URL): Copy userInfo from context. | |
632 | (getUserInfo): Return cached userInfo if present. | |
633 | ||
aa8cb1ad TT |
634 | 2004-09-22 Tom Tromey <tromey@redhat.com> |
635 | ||
636 | PR libgcj/6182: | |
637 | * mauve-libgcj: Enable java.lang.Character tests. | |
638 | ||
733a7ed9 AT |
639 | 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch> |
640 | ||
641 | * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing | |
642 | dependencies. | |
643 | (lib_org_ietf_jgss_la_LIBADD): Likewise. | |
644 | * Makefile.in: Regenerated. | |
645 | ||
44bffd9f AT |
646 | 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch> |
647 | ||
648 | * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN. | |
649 | * configure: Regenerate. | |
650 | * include/config.h.in: Likewise. | |
651 | * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels. | |
652 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32 | |
653 | macro to gtkpeer.h. | |
654 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
655 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert | |
656 | pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian | |
657 | architectures. | |
658 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated): | |
659 | Likewise. | |
660 | ||
ecd16bf6 TT |
661 | 2004-09-22 Tom Tromey <tromey@redhat.com> |
662 | ||
663 | PR libgcj/14446: | |
664 | * java/util/zip/GZIPInputStream.java (read): Avoid sign extension | |
665 | when comparing CRCs. | |
666 | * java/util/zip/InflaterInputStream.java (onebytebuffer): New | |
667 | field. | |
668 | (read()): New overload. | |
669 | ||
3a3d0225 TT |
670 | 2004-09-21 Tom Tromey <tromey@redhat.com> |
671 | ||
672 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): | |
673 | Indentation fix. | |
674 | ||
93880692 MK |
675 | 2004-09-21 Michael Koch <konqueror@gmx.de> |
676 | ||
677 | * java/net/Socket.java | |
678 | (getLocalAddress): Return InetAddress.ANY_IF if not bound yet. | |
679 | ||
448a698b CM |
680 | 2004-09-21 Casey Marshall <csm@gnu.org> |
681 | ||
682 | * javax/crypto/MacSpi.java (clone): Provide meaningful | |
683 | implementation. | |
684 | ||
34f87940 TT |
685 | 2004-09-21 Tom Tromey <tromey@redhat.com> |
686 | ||
687 | PR libgcj/16869: | |
688 | * Makefile.in: Rebuilt. | |
689 | * Makefile.am (MOSTLYCLEANFILES): Removed. | |
690 | (mostlyclean-local): Remove header files. | |
691 | ||
f1b18462 AT |
692 | 2004-09-21 Casey Marshall <csm@gnu.org> |
693 | ||
694 | * java/security/cert/X509CRLSelector.java: | |
695 | (match): remove unreachable try-catch clauses. | |
696 | Reported by: Dalibor Topic <robilad@kaffe.org> | |
697 | ||
698 | 2004-09-21 Mark Wielaard <mark@klomp.org> | |
699 | ||
700 | * java/util/TreeMap.java (root): Don't initialize. | |
701 | (TreeMap(Comparator)): Call fabricateTree(0). | |
702 | (fabricateTree): Initialize root and size when count is 0. | |
703 | ||
9413382e SM |
704 | 2004-09-21 Sven de Marothy <sven@physto.se> |
705 | ||
706 | * java/nio/ByteBuffer.java (hashCode): Implemented. | |
707 | * java/nio/CharBuffer.java: Likewise. | |
708 | * java/nio/DoubleBuffer.java: Likewise. | |
709 | * java/nio/FloatBuffer.java: Likewise. | |
710 | * java/nio/LongBuffer.java: Likewise. | |
711 | * java/nio/IntBuffer.java: Likewise. | |
712 | * java/nio/ShortBuffer.java: Likewise. | |
713 | ||
936f1f06 AT |
714 | 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch> |
715 | ||
716 | * javax/security/auth/x500/X500Principal.java: Fix some merge glitches. | |
717 | ||
718 | 2004-09-21 Michael Koch <konqueror@gmx.de> | |
719 | ||
720 | * javax/net/ssl/SSLServerSocket.java: | |
721 | Removed comment about "Do not edit this file, it's generated.". | |
722 | ||
6f5ce93b AT |
723 | 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch> |
724 | ||
725 | Import the big Crypto/Jessie/Security merge from Classpath. | |
726 | ||
727 | * Makefile.am: Add imported files. | |
728 | * Makefile.in: Regenerate. | |
729 | ||
730 | 2004-08-14 Casey Marshall <csm@gnu.org> | |
731 | ||
732 | The Big Crypto Merge of 2004. | |
733 | ||
734 | * javax/security/auth/x500/X500Principal.java: Replaced with GNU | |
735 | Crypto's version. | |
736 | ||
737 | Files imported from GNU Crypto. | |
738 | * javax/crypto/BadPaddingException.java | |
739 | * javax/crypto/Cipher.java | |
740 | * javax/crypto/CipherInputStream.java | |
741 | * javax/crypto/CipherOutputStream.java | |
742 | * javax/crypto/CipherSpi.java | |
743 | * javax/crypto/EncryptedPrivateKeyInfo.java | |
744 | * javax/crypto/ExemptionMechanism.java | |
745 | * javax/crypto/ExemptionMechanismException.java | |
746 | * javax/crypto/ExemptionMechanismSpi.java | |
747 | * javax/crypto/IllegalBlockSizeException.java | |
748 | * javax/crypto/KeyAgreement.java | |
749 | * javax/crypto/KeyAgreementSpi.java | |
750 | * javax/crypto/KeyGenerator.java | |
751 | * javax/crypto/KeyGeneratorSpi.java | |
752 | * javax/crypto/Mac.java | |
753 | * javax/crypto/MacSpi.java | |
754 | * javax/crypto/Makefile.am | |
755 | * javax/crypto/NoSuchPaddingException.java | |
756 | * javax/crypto/NullCipher.java | |
757 | * javax/crypto/NullCipherImpl.java | |
758 | * javax/crypto/SealedObject.java | |
759 | * javax/crypto/SecretKey.java | |
760 | * javax/crypto/SecretKeyFactory.java | |
761 | * javax/crypto/SecretKeyFactorySpi.java | |
762 | * javax/crypto/ShortBufferException.java | |
763 | * javax/crypto/interfaces/DHKey.java | |
764 | * javax/crypto/interfaces/DHPrivateKey.java | |
765 | * javax/crypto/interfaces/DHPublicKey.java | |
766 | * javax/crypto/interfaces/PBEKey.java | |
767 | * javax/crypto/spec/DESKeySpec.java | |
768 | * javax/crypto/spec/DESedeKeySpec.java | |
769 | * javax/crypto/spec/DHGenParameterSpec.java | |
770 | * javax/crypto/spec/DHParameterSpec.java | |
771 | * javax/crypto/spec/DHPrivateKeySpec.java | |
772 | * javax/crypto/spec/DHPublicKeySpec.java | |
773 | * javax/crypto/spec/IvParameterSpec.java | |
774 | * javax/crypto/spec/PBEKeySpec.java | |
775 | * javax/crypto/spec/PBEParameterSpec.java | |
776 | * javax/crypto/spec/RC2ParameterSpec.java | |
777 | * javax/crypto/spec/RC5ParameterSpec.java | |
778 | * javax/crypto/spec/SecretKeySpec.java | |
779 | * javax/security/auth/AuthPermission.java | |
780 | * javax/security/auth/DestroyFailedException.java | |
781 | * javax/security/auth/Destroyable.java | |
782 | * javax/security/auth/Policy.java | |
783 | * javax/security/auth/PrivateCredentialPermission.java | |
784 | * javax/security/auth/RefreshFailedException.java | |
785 | * javax/security/auth/Refreshable.java | |
786 | * javax/security/auth/Subject.java | |
787 | * javax/security/auth/SubjectDomainCombiner.java | |
788 | * javax/security/auth/callback/Callback.java | |
789 | * javax/security/auth/callback/CallbackHandler.java | |
790 | * javax/security/auth/callback/ChoiceCallback.java | |
791 | * javax/security/auth/callback/ConfirmationCallback.java | |
792 | * javax/security/auth/callback/LanguageCallback.java | |
793 | * javax/security/auth/callback/NameCallback.java | |
794 | * javax/security/auth/callback/PasswordCallback.java | |
795 | * javax/security/auth/callback/TextInputCallback.java | |
796 | * javax/security/auth/callback/TextOutputCallback.java | |
797 | * javax/security/auth/callback/UnsupportedCallbackException.java | |
798 | * javax/security/auth/login/AccountExpiredException.java | |
799 | * javax/security/auth/login/AppConfigurationEntry.java | |
800 | * javax/security/auth/login/Configuration.java | |
801 | * javax/security/auth/login/CredentialExpiredException.java | |
802 | * javax/security/auth/login/FailedLoginException.java | |
803 | * javax/security/auth/login/LoginContext.java | |
804 | * javax/security/auth/login/LoginException.java | |
805 | * javax/security/auth/login/NullConfiguration.java | |
806 | * javax/security/auth/x500/X500PrivateCredential.java | |
807 | * javax/security/sasl/AuthenticationException.java | |
808 | * javax/security/sasl/AuthorizeCallback.java | |
809 | * javax/security/sasl/RealmCallback.java | |
810 | * javax/security/sasl/RealmChoiceCallback.java | |
811 | * javax/security/sasl/Sasl.java | |
812 | * javax/security/sasl/SaslClient.java | |
813 | * javax/security/sasl/SaslClientFactory.java | |
814 | * javax/security/sasl/SaslException.java | |
815 | * javax/security/sasl/SaslServer.java | |
816 | * javax/security/sasl/SaslServerFactory.java | |
817 | * org/ietf/jgss/ChannelBinding.java | |
818 | * org/ietf/jgss/GSSContext.java | |
819 | * org/ietf/jgss/GSSCredential.java | |
820 | * org/ietf/jgss/GSSException.java | |
821 | * org/ietf/jgss/GSSManager.java | |
822 | * org/ietf/jgss/GSSName.java | |
823 | * org/ietf/jgss/MessageProp.java | |
824 | * org/ietf/jgss/Oid.java | |
825 | * org/ietf/jgss/MessagesBundle.properties | |
826 | ||
827 | Files imported from Jessie <http://www.nongnu.org/jessie/> | |
828 | * javax/net/ServerSocketFactory.java | |
829 | * javax/net/SocketFactory.java | |
830 | * javax/net/VanillaServerSocketFactory.java | |
831 | * javax/net/VanillaSocketFactory.java | |
832 | * javax/net/ssl/HandshakeCompletedEvent.java | |
833 | * javax/net/ssl/HandshakeCompletedListener.java | |
834 | * javax/net/ssl/HostnameVerifier.java | |
835 | * javax/net/ssl/HttpsURLConnection.java | |
836 | * javax/net/ssl/KeyManager.java | |
837 | * javax/net/ssl/KeyManagerFactory.java | |
838 | * javax/net/ssl/KeyManagerFactorySpi.java | |
839 | * javax/net/ssl/ManagerFactoryParameters.java | |
840 | * javax/net/ssl/SSLContext.java | |
841 | * javax/net/ssl/SSLContextSpi.java | |
842 | * javax/net/ssl/SSLException.java | |
843 | * javax/net/ssl/SSLHandshakeException.java | |
844 | * javax/net/ssl/SSLKeyException.java | |
845 | * javax/net/ssl/SSLPeerUnverifiedException.java | |
846 | * javax/net/ssl/SSLPermission.java | |
847 | * javax/net/ssl/SSLProtocolException.java | |
848 | * javax/net/ssl/SSLServerSocket.java | |
849 | * javax/net/ssl/SSLServerSocketFactory.java | |
850 | * javax/net/ssl/SSLSession.java | |
851 | * javax/net/ssl/SSLSessionBindingEvent.java | |
852 | * javax/net/ssl/SSLSessionBindingListener.java | |
853 | * javax/net/ssl/SSLSessionContext.java | |
854 | * javax/net/ssl/SSLSocket.java | |
855 | * javax/net/ssl/SSLSocketFactory.java | |
856 | * javax/net/ssl/TrivialHostnameVerifier.java | |
857 | * javax/net/ssl/TrustManager.java | |
858 | * javax/net/ssl/TrustManagerFactory.java | |
859 | * javax/net/ssl/TrustManagerFactorySpi.java | |
860 | * javax/net/ssl/X509KeyManager.java | |
861 | * javax/net/ssl/X509TrustManager.java | |
862 | * javax/security/cert/Certificate.java | |
863 | * javax/security/cert/CertificateEncodingException.java | |
864 | * javax/security/cert/CertificateException.java | |
865 | * javax/security/cert/CertificateExpiredException.java | |
866 | * javax/security/cert/CertificateNotYetValidException.java | |
867 | * javax/security/cert/CertificateParsingException.java | |
868 | * javax/security/cert/X509CertBridge.java | |
869 | * javax/security/cert/X509Certificate.java | |
870 | ||
871 | 2004-08-20 Casey Marshall <csm@gnu.org> | |
872 | ||
873 | * java/security/cert/X509CRLSelector.java: New file. | |
874 | * java/security/cert/X509CertSelector.java: New file. | |
875 | ||
c36992ff MK |
876 | 2004-09-15 Michael Koch <konqueror@gmx.de> |
877 | ||
878 | * gnu/java/net/protocol/file/Handler.java | |
879 | (openConnection): Don't throw exception if host part for file: URI is | |
880 | present. setURL() keeps file: protocol if ftp: protocol is not | |
881 | available. | |
882 | ||
72826319 RH |
883 | 2004-09-14 Richard Henderson <rth@redhat.com> |
884 | ||
885 | * java/lang/natPosixProcess.cc (waitForSignal): Ignore return | |
886 | value of sigsuspend. | |
887 | ||
3abcc195 TT |
888 | 2004-09-12 Tom Tromey <tromey@redhat.com> |
889 | ||
890 | * javax/naming/CompoundName.java (CompoundName): Don't check for | |
891 | separator in "flat" case. | |
892 | ||
bdd1aed4 MK |
893 | 2004-09-12 Michael Koch <konqueror@gmx.de> |
894 | ||
895 | * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces | |
896 | AM_CONFIG_HEADER by AC_CONFIG_FILES. | |
897 | * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure: | |
898 | Regenerate. | |
899 | ||
a0be84dd ME |
900 | 2004-09-11 Mohan Embar <gnustuff@thisiscool.com> |
901 | ||
902 | PR libgcj/14751 | |
903 | * win32-threads.cc (_Jv_ThreadInitData): Zero out thread | |
904 | handle in newly-allocated _Jv_Thread_t. | |
905 | (_Jv_ThreadDestroyData): Close thread handle. | |
906 | (_Jv_ThreadStart): Remove obsolete comment. | |
907 | Store handle of newly-created thread in _Jv_Thread_t. | |
908 | * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN | |
909 | before including <windows.h> | |
910 | #define _Jv_HaveCondDestroy | |
911 | ||
bdbf6060 ME |
912 | 2004-09-11 Mohan Embar <gnustuff@thisiscool.com> |
913 | ||
914 | * java/lang/natThread.cc (finalize_native): Destroy | |
915 | join conditional variable and mutex if these destroy | |
916 | operations are supported. | |
917 | ||
cad79bac MK |
918 | 2004-09-10 Dalibor Topic <robilad@kaffe.org> |
919 | ||
920 | * gnu/java/net/protocol/file/Connection.java (permission): New field. | |
921 | (DEFAULT_PERMISSION): New constant. | |
922 | (Connection): Create a FilePermission with permission to read file. | |
923 | ||
924 | 2004-09-10 Michael Koch <konqueror@gmx.de> | |
925 | ||
926 | * gnu/java/net/protocol/file/Connection.java | |
927 | (getLastModified): Moved around. | |
928 | (getPermission): Return stored permission. | |
929 | ||
8166c201 MK |
930 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
931 | ||
932 | * Makefile.in: Regenerate. | |
933 | ||
3cf735f6 MK |
934 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
935 | ||
936 | * Makefile.am: Reverted accidently commited stuff. | |
937 | * configure: Regenerated. | |
938 | ||
5123971a MK |
939 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
940 | ||
941 | * gnu/java/net/protocol/file/Connection.java | |
942 | (lineSeparator): Made non-final. | |
943 | (static): Removed. | |
944 | (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream | |
945 | instead of StringBufferInputStream. | |
946 | ||
947 | 2004-09-10 Michael Koch <konqueror@gmx.de> | |
948 | ||
949 | * gnu/java/net/protocol/file/Connection.java | |
950 | (connect): Handle file is a directory case. | |
951 | ||
456d47b3 MK |
952 | 2004-09-10 Michael Koch <konqueror@gmx.de> |
953 | ||
954 | * Makefile.am | |
955 | (xlib_includes): Removed. | |
956 | (AM_CPPFLAGS): Renamed from INCLUDES. | |
957 | (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable. | |
958 | * Makefile.in: Regenerate. | |
959 | ||
4166b036 AT |
960 | 2004-09-09 Michael Koch <konqueror@gmx.de> |
961 | ||
962 | * java/security/ProtectionDomain.java, | |
963 | * java/util/PropertyPermissionCollection.java: | |
964 | Fixed javadocs all over. | |
965 | ||
966 | 2004-09-09 Sven de Marothy <sven@physto.se> | |
967 | ||
968 | Patch from David Gilbert <david.gilbert@object-refinery.com> | |
969 | * java/lang/Comparable.java: Fixed documentation errors. | |
970 | * java/util/Arrays.java: Likewise. | |
971 | ||
972 | 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org> | |
973 | ||
974 | * java/net/Inet4Address.java | |
975 | (Inet4Address): Added comment to serialization UID. | |
976 | * java/text/Format.java | |
977 | (Format): Added comment to serialization UID. | |
978 | ||
c6614d3e MK |
979 | 2004-09-09 Michael Koch <konqueror@gmx.de> |
980 | ||
981 | * java/lang/System.java | |
982 | (err): Fixed javadoci to point to setErr() and not setOut(). | |
983 | ||
6273ba37 MK |
984 | 2004-09-09 Jeroen Frijters <jeroen@frijters.net> |
985 | ||
986 | (normalizePath): Added special case for windows systems. | |
987 | ||
988 | 2004-09-09 Michael Koch <konqueror@gmx.de> | |
989 | ||
990 | * java/io/File.java | |
991 | (dupSeparator): Made private. | |
992 | (File(URI)): New constructor. | |
993 | (getParentFile): Fixed javadoc. | |
994 | (createTempFile): Reformated. | |
995 | (setReadOnly): Added comment. | |
996 | (deleteOnExit): Merged javadoc with classpath version. | |
997 | ||
93177580 MK |
998 | 2004-09-09 Michael Koch <konqueror@gmx.de> |
999 | ||
1000 | * Makefile.am: Don't try to include deps.mk. | |
1001 | * Makefile.in: Regenerated. | |
1002 | ||
2e8401ae BM |
1003 | 2004-09-08 Bryce McKinlay <mckinlay@redhat.com> |
1004 | ||
1005 | * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and | |
1006 | .d files. | |
1007 | * configure: Rebuilt. | |
1008 | ||
56fa138b ME |
1009 | 2004-09-04 Mohan Embar <gnustuff@thisiscool.com> |
1010 | ||
1011 | * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces): | |
1012 | Changed pfn from static local to local. | |
1013 | ||
351cfd8b BM |
1014 | 2004-09-03 Bryce McKinlay <mckinlay@redhat.com> |
1015 | H.J. Lu <hongjiu.lu@intel.com> | |
1016 | ||
1017 | PR libgcj/17290 | |
1018 | * Makefile.am (GCJCOMPILE): Remove definition. | |
1019 | (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags. | |
1020 | Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets. | |
1021 | * Makefile.in: Rebuilt. | |
1022 | ||
48d0dd75 KC |
1023 | 2004-09-03 Kelley Cook <kcook@gcc.gnu.org> |
1024 | ||
1025 | * configure.ac (enable-gc-debug): Update help for new syntax. | |
1026 | * configure: Regenerate. | |
1027 | ||
321c496b DD |
1028 | 2004-09-03 David Daney <ddaney@avtrex.com> |
1029 | ||
1030 | * include/mips-signal.h: Update copyright. | |
1031 | ||
04efec81 DD |
1032 | 2004-09-03 David Daney <ddaney@avtrex.com> |
1033 | ||
1034 | * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*. | |
1035 | * include/mips-signal.h: Added HANDLE_FPE support. | |
1036 | ||
57579172 GH |
1037 | 2004-08-31 Michael Koch <konqueror@gmx.de> |
1038 | ||
1039 | * javax/swing/plaf/basic/BasicTextAreaUI.java | |
1040 | (create): New method. | |
1041 | * javax/swing/text/DefaultHighlighter.java | |
1042 | (DefaultHighlightPainter.debugRect): Removed. | |
1043 | * javax/swing/text/StyleContext.java | |
1044 | (DEFAULT_STYLE): New field. | |
1045 | ||
1046 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1047 | ||
1048 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
1049 | (initComponentDefaults): Add keybindings for selection.backward and | |
1050 | selection-forward for text components. | |
1051 | * javax/swing/plaf/basic/BasicTextUI.java | |
1052 | (paintSafely): Paint highlight only when something is actually | |
1053 | selected. | |
1054 | * javax/swing/text/DefaultCaret.java | |
1055 | (handleHighlight): New method. | |
1056 | (setSelectionVisible): Don't do anything when nothing changes. | |
1057 | Handle highlight. | |
1058 | (moveDot): Reimplemented. Handle highlight. | |
1059 | (setDot): Set mark too. Handle highlight. | |
1060 | (getSelectionPainter): New method. | |
1061 | * javax/swing/text/DefaultEditorKit.java | |
1062 | (defaultActions): Added new actions for text selection. | |
1063 | * javax/swing/text/DefaultHighlighter.java | |
1064 | (DefaultHighlightPainter): New inner class. | |
1065 | (DefaultPainter): New field. | |
1066 | (paint): Implemented. | |
1067 | * javax/swing/text/PlainView.java | |
1068 | (paint): Don't draw background here again. | |
1069 | * javax/swing/text/Utilities.java | |
1070 | (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize. | |
1071 | (drawTabbedText): Likewise. | |
1072 | ||
1073 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
1074 | ||
1075 | * javax/swing/JComponent.java | |
1076 | (resetKeyboardActions): Add null checks. | |
1077 | ||
1078 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
1079 | ||
1080 | * javax/swing/DefaultButtonModel.java: | |
1081 | Skip group notification when no group is set. | |
1082 | ||
1083 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
1084 | ||
1085 | * javax/swing/JColorChooser.java: | |
1086 | Make a couple inner classes static, for jikes. | |
1087 | ||
1088 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1089 | ||
1090 | * javax/swing/plaf/basic/BasicTextUI.java | |
1091 | (RottView.modelToView): New method. | |
1092 | (UpdateHandler): Renamed from EventHandler. | |
1093 | (updateHandler): Renamed from eventHandler. | |
1094 | (modelToView): Implemented. | |
1095 | * javax/swing/text/AbstractDocument.java | |
1096 | (BranchElement.getElement): Return null for non-existing indeces. | |
1097 | (BranchElement.getElementIndex): Return 0 in some corner cases. | |
1098 | * javax/swing/text/FieldView.java | |
1099 | (modelToView): New method. | |
1100 | * javax/swing/text/PlainView.java | |
1101 | (modelToView): Made public. | |
1102 | ||
1103 | 2004-08-31 Kim Ho <kho@redhat.com> | |
1104 | ||
1105 | * Makefile.am: New files. | |
1106 | * Makefile.in: Regenerate. | |
1107 | * gcj/Makefile.in: Regenerate. | |
1108 | * include/Makefile.in: Regenerate. | |
1109 | * java/awt/Color.java: Fix documentation. | |
1110 | (RGBtoHSB): Use floats for conversions. | |
1111 | * javax/swing/ButtonGroup.java: Run Jalopy. | |
1112 | (setSelected): Reimplement. | |
1113 | * javax/swing/DefaultButtonModel.java: Run Jalopy. | |
1114 | (changeState): Let ButtonGroup know that the button | |
1115 | is changing state. | |
1116 | * javax/swing/JColorChooser.java: Implement. | |
1117 | * javax/swing/JLabel.java: Run Jalopy. | |
1118 | * javax/swing/JSpinner.java: Run Jalopy. | |
1119 | (setValue): New method. | |
1120 | * javax/swing/JTabbedPane.java: Run Jalopy. | |
1121 | (removeTabAt): Call correct remove method. | |
1122 | * javax/swing/SpinnerNumberModel.java: Run Jalopy. | |
1123 | (getPreviousValue): Compare minimum value. | |
1124 | * javax/swing/Timer.java: Run Jalopy. | |
1125 | (run): Comment out println. | |
1126 | * javax/swing/ToolTipManager.java: | |
1127 | (mouseMoved): Get new tooltip text for location. | |
1128 | * javax/swing/colorchooser/AbstractColorChooserPanel.java: | |
1129 | Jalopy and Javadoc. | |
1130 | * javax/swing/colorchooser/ColorChooserComponentFactory.java: | |
1131 | Implement. | |
1132 | * javax/swing/colorchooser/DefaultColorSelectionModel.java: | |
1133 | Run Jalopy. | |
1134 | (setSelectedColor): Fire ChangeEvent. | |
1135 | * javax/swing/colorchooser/DefaultHSBChooserPanel.java: | |
1136 | New file. Implement. | |
1137 | * javax/swing/colorchooser/DefaultPreviewPanel.java: | |
1138 | Ditto. | |
1139 | * javax/swing/colorchooser/DefaultRGBChooserPanel.java: | |
1140 | Ditto. | |
1141 | * javax/swing/colorchooser/DefaultSwatchChooserPanel.java: | |
1142 | Ditto. | |
1143 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
1144 | (getArrow): Fix size of upward pointing button. | |
1145 | * javax/swing/plaf/basic/BasicColorChooserUI.java: | |
1146 | Implement. | |
1147 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
1148 | (getWidthOfWidestLabel): Use preferred dimensions. | |
1149 | (getHeightOfTallestLabel): Ditto. | |
1150 | * javax/swing/plaf/basic/BasicSpinnerUI.java: | |
1151 | Run Jalopy. | |
1152 | (mousePressed): Disable changes to spinner if it is not enabled. | |
1153 | * testsuite/Makefile.in: Regenerate. | |
1154 | ||
1155 | ||
1156 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1157 | ||
1158 | * javax/swing/plaf/basic/BasicTableHeaderUI.java, | |
1159 | javax/swing/plaf/basic/BasicTableUI.java: | |
1160 | Added copyright notice. | |
1161 | ||
1162 | 2004-08-31 Olga Rodimina <rodimina@redhat.com> | |
1163 | ||
1164 | * Makefile.am: Added new files. | |
1165 | * Makefile.in: Regenerate. | |
1166 | * javax/swing/ComboBoxEditor.java: Added javadocs. | |
1167 | * javax/swing/ComboBoxModel.java: Likewise. | |
1168 | * javax/swing/DefaultComboBoxModel.java: Implemented. | |
1169 | * javax/swing/DefaultListCellRenderer.java: Added javadocs | |
1170 | and ran through jalopy to fix formatting style. | |
1171 | (getListCellRendererComponent): Use appropriate border | |
1172 | if renderer has focus and use noFocusBorder when it doesn't. | |
1173 | * javax/swing/JComboBox.java: Implemented. | |
1174 | * javax/swing/JList.java: | |
1175 | (locationToIndex): New Method. Implemented. | |
1176 | (indexToLocation): New Method. | |
1177 | * javax/swing/JPopupMenu.java: | |
1178 | (visible): New field. | |
1179 | (isVisible): Changed to use new field above. | |
1180 | (setVisible): Likewise. | |
1181 | * javax/swing/MutableComboBoxModel.java: Added javadocs. | |
1182 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
1183 | (shadow): Changed default color to Color.gray. | |
1184 | * javax/swing/plaf/basic/BasicComboBoxUI.java: New File. | |
1185 | UI delegate for JComboBox. | |
1186 | * javax/swing/plaf/basic/BasicComboPopup.java: New File. | |
1187 | Popup menu containing list of JComboBox's items. | |
1188 | * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File. | |
1189 | * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File. | |
1190 | * javax/swing/plaf/basic/BasicComboBoxUI.java: New File. | |
1191 | * javax/swing/plaf/basic/BasicComboPopup.java: New File. | |
1192 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
1193 | (popupMenuWillBecomeVisible): Set selected path to the first | |
1194 | element only if it is of type MenuElement. Also fix formatting | |
1195 | style. | |
1196 | * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing | |
1197 | methods signatures. | |
1198 | ||
1199 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1200 | ||
1201 | * javax/swing/text/AbstractDocument.java | |
1202 | (createBranchElement): Use new constructor of BranchElement. | |
1203 | (createLeafElement): Renamed arguments. | |
1204 | (getRootElements): Implemented. | |
1205 | (BranchElement.start): Removed. | |
1206 | (BranchElement.end): Likewise. | |
1207 | (BranchElement.BranchElement): Fixed arguments. | |
1208 | (BranchElement.getEndOffset): Reimplemented. | |
1209 | (BranchElement.getStartOffset): Likewis. | |
1210 | * javax/swing/text/DefaultCaret.java | |
1211 | (paint): Draw simple vertical line as caret instead of a rectangle. | |
1212 | * javax/swing/text/JTextComponent.java | |
1213 | (setText): Use doc directly. | |
1214 | * javax/swing/text/PlainView.java | |
1215 | (nextTabStop): Implemented. | |
1216 | * javax/swing/text/Utilities.java | |
1217 | (drawTabbedText): nextTabStop() returns an absolute x position. | |
1218 | (getTabbedTextWidth): Likewise. | |
1219 | ||
1220 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
1221 | ||
1222 | * java/awt/Component.java | |
1223 | (isFocusTraversable): Predicate on isLightweight() | |
1224 | (setFocusable): Set isFocusTraversableOverridden. | |
1225 | (requestFocus): Predicate peer dispatch on !isLightweight() | |
1226 | (requestFocusInWindow): Likewise. | |
1227 | (dispatchEventImpl): Coordinate with KeyboardFocusManager. | |
1228 | * java/awt/Container.java | |
1229 | (dispatchEventImpl): Predicate on event mask. | |
1230 | (LightweightDispatcher): Remove focus machinery. | |
1231 | * java/awt/DefaultFocusTraversalPolicy.java | |
1232 | (accept): Expand predicate to include isFocusable(). | |
1233 | * java/awt/DefaultKeyboardFocusManager.java: | |
1234 | Globally change c.dispatchEvent(e) to redispatchEvent(c,e) | |
1235 | * java/awt/KeyboardFocusManager.java | |
1236 | (redispatchEvent): Synchronize on event to prevent feedback. | |
1237 | * javax/swing/AbstractButton.java | |
1238 | (ButtonFocusListener): Remove class. | |
1239 | (init): Set focusPainted, focusable. | |
1240 | * javax/swing/ActionMap.java (get): Check parent for null. | |
1241 | * javax/swing/InputMap.java (get): Likewise. | |
1242 | * javax/swing/JComponent.java | |
1243 | (inputMap_whenFocused): New InputMap. | |
1244 | (inputMap_whenAncestorOfFocused): Likewise. | |
1245 | (inputMap_whenInFocusedWindow): Likewise. | |
1246 | (getActionForKeyStroke): Rewrite. | |
1247 | (getConditionForKeystroke): Likewise. | |
1248 | (ActionListenerProxy): New private class. | |
1249 | (setInputMap): Implement. | |
1250 | (getInputMap): Likewise. | |
1251 | (setActionMap): Likewise. | |
1252 | (getActionMap): Likewise. | |
1253 | (processComponentKeyEvent): New empty method. | |
1254 | (processKeyEvent): Implement. | |
1255 | (processKeyBinding): Likewise. | |
1256 | (resetKeyboardActions): Rewrite. | |
1257 | * javax/swing/KeyStroke.java: Rewrite. | |
1258 | * javax/swing/SwingUtilities.java | |
1259 | (notifyAction): Implement. | |
1260 | (replaceUIActionMap): Likewise. | |
1261 | (replaceUIInputMap): Likewise. | |
1262 | * javax/swing/plaf/basic/BasicButtonListener.java | |
1263 | (focusGained): Implement. | |
1264 | (focusLost): Repaint if focusPainted(). | |
1265 | (installKeyboardActions): Install pressed / released actions. | |
1266 | (uninstallKeyboardActions): Implement. | |
1267 | * javax/swing/plaf/basic/BasicButtonUI.java | |
1268 | (focusColor): New field. | |
1269 | (installDefaults): Load focus color, install input map. | |
1270 | (installKeyboardActions): Implement. | |
1271 | (uninstallKeyboardActions): Likewise. | |
1272 | (paintFocus): Rewrite. | |
1273 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
1274 | (Button.focus): New default, midPurple. | |
1275 | * javax/swing/plaf/basic/BasicTextUI.java | |
1276 | (kit): Make static. | |
1277 | (installUI): Get doc from kit, load defaults. | |
1278 | (getKeymapName): Implement. | |
1279 | (createKeymap): Likewise. | |
1280 | (installKeyboardActions): Likewise. | |
1281 | (getInputMap): Likewise. | |
1282 | (getActionMap): Likewise. | |
1283 | (createActionMap): Likewise. | |
1284 | * javax/swing/text/AbstractDocument.java | |
1285 | (getStartPosition): Implement. | |
1286 | (getEndPosition): Likewise. | |
1287 | * javax/swing/text/DefaultEditorKit.java | |
1288 | (CopyAction): New class. | |
1289 | (CutAction): Likewise. | |
1290 | (DefaultKeyTypedAction): Likewise. | |
1291 | (InsertBreakAction): Likewise. | |
1292 | (InsertContentAction): Likewise. | |
1293 | (InsertTabAction): Likewise. | |
1294 | (PasteAction): Likewise. | |
1295 | (defaultActions): New static table. | |
1296 | (createCaret): Implement. | |
1297 | (getActions): Likewise. | |
1298 | * javax/swing/text/JTextComponent.java | |
1299 | (KeymapWrapper): New private class. | |
1300 | (KeymapActionMap): Likewise. | |
1301 | (DefaultKeymap): New class. | |
1302 | (keymaps): New static table. | |
1303 | (keymap): New field. | |
1304 | (getKeymap): Implement. | |
1305 | (removeKeymap): Likewise. | |
1306 | (addKeymap): Likewise. | |
1307 | (setKeymap): Likewise. | |
1308 | (loadKeymap): Likewise. | |
1309 | (getActions): Likewise. | |
1310 | (margin): New field. | |
1311 | (JTextComponent): Build and install default keymap. | |
1312 | * javax/swing/text/TextAction.java | |
1313 | (textAction): Call super properly. | |
1314 | (getTextComponent): Implement. | |
1315 | * javax/swing/text/Utilities.java | |
1316 | (drawTabbedText): Adjust position by ascent. | |
1317 | ||
1318 | 2004-08-31 David Jee <djee@redhat.com> | |
1319 | ||
1320 | PR AWT/17156 | |
1321 | ||
1322 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
1323 | (setEnabled): Make it a native method. | |
1324 | * java/awt/DefaultKeyboardFocusManager.java | |
1325 | (postProcessKeyEvent): Only post event if the menu item | |
1326 | is active. | |
1327 | * java/awt/MenuItem.java: | |
1328 | Private field 'enabled' should be true by default. | |
1329 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
1330 | (setEnabled): New function. | |
1331 | ||
1332 | 2004-08-31 David Jee <djee@redhat.com> | |
1333 | ||
1334 | PR AWT/17059 | |
1335 | ||
1336 | * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java | |
1337 | (nativeSetHelpMenu): New native method declaration. | |
1338 | (addHelpMenu): Call nativeSetHelpMenu(). | |
1339 | (addMenu): Remove. | |
1340 | * java/awt/MenuBar.java | |
1341 | (setHelpMenu): Call addNotify() on the new help menu. | |
1342 | (add): Call addNotify() on the new menu. | |
1343 | (addNotify): Set the help menu if one exists. | |
1344 | * java/awt/peer/MenuBarPeer.java | |
1345 | (addMenu): Remove. | |
1346 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
1347 | (nativeSetHelpMenu): New method. | |
1348 | ||
1349 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
1350 | ||
1351 | * Makefile.am: Add new files. | |
1352 | * Makefile.in: Regenerate. | |
1353 | * javax/swing/Box.java: Fix setting of layout in ctor. | |
1354 | * javax/swing/JScrollPane.java: Scroll headers as well. | |
1355 | * javax/swing/JTable.java: Reimplement. | |
1356 | * javax/swing/JViewPort.java: Only add non-null children. | |
1357 | * javax/swing/ScrollPaneLayout.java: Correct header calculations. | |
1358 | * javax/swing/Timer.java: Fix stopping null waker. | |
1359 | * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file. | |
1360 | * javax/swing/plaf/basic/BasicTableUI.java: New file. | |
1361 | * javax/swing/table/DefaultTableCellRenderer.java: Configure. | |
1362 | * javax/swing/table/DefaultTableColumnModel.java: Flesh out. | |
1363 | * javax/swing/table/DefaultTableModel.java: Clean up. | |
1364 | * javax/swing/table/JTableHeader.java: Implement. | |
1365 | ||
1366 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1367 | ||
1368 | * javax/swing/JSpinner.java (getChangeListeners): Remove double | |
1369 | semi-colon. | |
1370 | ||
1371 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1372 | ||
1373 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: | |
1374 | Declare variables at top of functions/block. | |
1375 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise. | |
1376 | ||
1377 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1378 | ||
1379 | * java/lang/Rectangle.java (intersects): Check r.width and r.height | |
1380 | first. | |
1381 | ||
1382 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1383 | ||
1384 | * javax/swing/text/PlainView.java | |
1385 | (selectedColor): New field. | |
1386 | (unselectedColor): Likewise. | |
1387 | (font): Likewise. | |
1388 | (updateMetrics): New method. | |
1389 | (lineToRect): Likewise. | |
1390 | (modelToView): Likewise. | |
1391 | (drawSelectedText): Use color from JTextComponent ad draw with | |
1392 | Utilities class. | |
1393 | (drawUnselectedText): Likewise. | |
1394 | (paint): Initialize helper fields. | |
1395 | * javax/swing/text/View.java | |
1396 | (getChildAllocation): New method. | |
1397 | (getViewIndex): Likewise. | |
1398 | (getToolTipText): Likewise. | |
1399 | ||
1400 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1401 | ||
1402 | * javax/swing/text/Utilities.java | |
1403 | (drawTabbedText): Reimplemented. | |
1404 | (getTabbedTextWidth): Likewise. | |
1405 | ||
1406 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1407 | ||
1408 | * javax/swing/plaf/basic/BasicTextUI.java | |
1409 | (installDefaults): Install caret and highlighter. | |
1410 | (modelToView): Use Bias.Forward when calling sibling. | |
1411 | * javax/swing/text/AbstractDocument.java | |
1412 | (ElementEdit): Implements DocumentEvent.ElementChange. | |
1413 | (ElementEdit.ElementEdit): New method. | |
1414 | (ElementEdit.getChildrenAdded): Likewise. | |
1415 | (ElementEdit.getChildrenRemoved): Likewise. | |
1416 | (ElementEdit.getElement): Likewise. | |
1417 | (ElementEdit.getIndex): Likewise. | |
1418 | * javax/swing/text/DefaultCaret.java | |
1419 | (color): Removed. | |
1420 | (textComponent): Renamed from parent, made private. | |
1421 | (selectionVisible): Renamed from vis_sel, made private. | |
1422 | (blinkRate): Renamed from blink, made private. | |
1423 | (magicCaretPosition): Renamed from magic, made private. | |
1424 | (visible): Renamed from vis, made private. | |
1425 | (dot): Made private. | |
1426 | (mark): Likewise. | |
1427 | (deinstall): Remove as MouseMotionListener. | |
1428 | (install): Initialize textComponent first. Add as MouseMotionListener. | |
1429 | (paint): Reimplemented. | |
1430 | * javax/swing/text/JTextComponent.java | |
1431 | (setCaret): Deinstall old caret, install new one and fire property | |
1432 | change after setting property. | |
1433 | (setHighlighter): Deinstall old highlighter, install new one and fire | |
1434 | property change after setting property. | |
1435 | (setCaretColor): Fire property change after setting property. | |
1436 | (setDisabledTextColor): Likewise. | |
1437 | (setSelectedTextColor): Likewise. | |
1438 | (setSelectionColor): Likewise. | |
1439 | (modelToView): New method. | |
1440 | ||
1441 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1442 | ||
1443 | * javax/swing/text/AbstractDocument.java | |
1444 | (getText): Simplified. | |
1445 | * javax/swing/text/Segment.java | |
1446 | (current): New field. | |
1447 | (current): Reimplemented. | |
1448 | (first): Likewise. | |
1449 | (getIndex): Likewise. | |
1450 | (last): Likewise. | |
1451 | (next): Likewise. | |
1452 | (previous): Likewise. | |
1453 | (setIndex): Likewise. | |
1454 | ||
1455 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1456 | ||
1457 | * javax/swing/plaf/basic/BasicButtonUI.java | |
1458 | (defaultTextIconGap): Made protected. | |
1459 | (defaultTextShiftOffset): Likewise. | |
1460 | (textShiftOffset): New field. | |
1461 | (clearTextShiftOffset): New method. | |
1462 | (getTextShiftOffset): Likewise. | |
1463 | (setTextShiftOffset): Likewise. | |
1464 | ||
1465 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1466 | ||
1467 | * javax/swing/plaf/basic/BasicTextUI.java | |
1468 | (installUI): Add eventHandler as property listener. | |
1469 | (uninstallUI): remove eventHandler as propert listener. | |
1470 | (installDefaults): Added comment. | |
1471 | (installListeners): Likewise. | |
1472 | (installKeyboardActions): Likewise. | |
1473 | (uninstallDefaults): Likewise. | |
1474 | (uninstallListeners): Likewise. | |
1475 | (uninstallKeyboardActions): Likewise. | |
1476 | ||
1477 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1478 | ||
1479 | * javax/swing/text/AbstractDocument.java: | |
1480 | Fixed some typos in comments. | |
1481 | (insertString): Reimplemented. | |
1482 | (remove): Likewise. | |
1483 | (replace): New method. | |
1484 | (children): Dont use fully qualified class name. | |
1485 | (DefaultDocumentEvent.offset): Renamed from off. | |
1486 | (DefaultDocumentEvent.length): Renamed from len. | |
1487 | (DefaultDocumentEvent.type): New field. | |
1488 | (DefaultDocumentEvent.DefaultDocumentEvent): New constructor. | |
1489 | (DefaultDocumentEvent.getType): Implemented. | |
1490 | ||
1491 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1492 | ||
1493 | * javax/swing/plaf/basic/BasicTextUI.java | |
1494 | (RootView.textComponent): Removed. | |
1495 | (RootView.RootView): Don't initialize textComponent. | |
1496 | (RootView.getViewFactory): New method. | |
1497 | (EventHandler): New inner class. | |
1498 | (rootView): Initialize at instance creation. | |
1499 | (eventHandler): New field. | |
1500 | (installUI): Don't create view hierarchy directly, | |
1501 | call modelChanged() instead. | |
1502 | (modelChanged): New method. | |
1503 | * javax/swing/text/JTextComponent.java | |
1504 | (setDocument): Fire property change event. | |
1505 | ||
1506 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1507 | ||
1508 | * javax/swing/plaf/basic/BasicTextUI.java | |
1509 | (RootView.paint): Removed debug output. | |
1510 | (paintSafely): Draw highlighter before text. | |
1511 | (paintBackground): Use background color of text component. | |
1512 | * javax/swing/plaf/basic/BasicToggleButtonUI.java: | |
1513 | Reformatted. | |
1514 | ||
1515 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1516 | ||
1517 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
1518 | (BasicToolBarUI): Fixed arguments for constructor. | |
1519 | (createUI): Fixed creation of object. | |
1520 | ||
1521 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1522 | ||
1523 | * javax/swing/DefaultListSelectionModel.java | |
1524 | (fireValueChanged): Renamed from fireSelectionValueChanged, | |
1525 | made protected. | |
1526 | ||
1527 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1528 | ||
1529 | * javax/swing/text/TabSet.java | |
1530 | (TabSet): Implements java.io.Serializable. | |
1531 | * javax/swing/text/TabStop.java | |
1532 | (TabStop): Implements java.io.Serializable. | |
1533 | (TabStop): Made public. | |
1534 | ||
1535 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1536 | ||
1537 | * javax/swing/JComponent.java | |
1538 | (setUI): Fire PropertyChange. | |
1539 | * javax/swing/JLabel.java | |
1540 | (text): Renamed from labelText. | |
1541 | (horizontalAlignment): New default vlaue. | |
1542 | (icon): Renamed from activeIcon. | |
1543 | (displayedMnemonic): Renamed from mnemonicKey, added default value. | |
1544 | (displayedMnemonicIndex): Renamed from underlineChar. | |
1545 | (setDisplayedMnemonic): Reimplemented. | |
1546 | * javax/swing/JRadioButton.java | |
1547 | (JRadioButton): New constructors. | |
1548 | * javax/swing/JTextField.java | |
1549 | (JTextField): Throw exception if colums < 0, initialitialz | |
1550 | this.columns directly and initialize document with text conditionally. | |
1551 | ||
1552 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1553 | ||
1554 | * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java, | |
1555 | javax/swing/plaf/basic/BasicPasswordFieldUI.java, | |
1556 | javax/swing/plaf/basic/BasicTextAreaUI.java: New files. | |
1557 | * javax/swing/text/FieldView.java | |
1558 | (paint): Just call super method for now. | |
1559 | * Makefile.am: Added new files. | |
1560 | * Makefile.in: Regenerated. | |
1561 | ||
1562 | 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org> | |
1563 | ||
1564 | * javax/swing/AbstractSpinnerModel.java, | |
1565 | javax/swing/JSpinner.java, | |
1566 | javax/swing/SpinnerNumberModel.java, | |
1567 | javax/swing/plaf/basic/BasicSpinnerUI.java: | |
1568 | New files. | |
1569 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
1570 | (initClassDefaults): Added defaults for BasicSpinnerUI. | |
1571 | ||
1572 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1573 | ||
1574 | * Makefile.am: Added new files. | |
1575 | * Makefile.in: Regenerated. | |
1576 | ||
1577 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1578 | ||
1579 | * javax/swing/TransferHandler.java, | |
1580 | javax/swing/plaf/basic/ComboPopup.java: New files | |
1581 | * Makefile.am: Added javax/swing/TransferHandler.java and | |
1582 | javax/swing/plaf/basic/ComboPopup.java | |
1583 | * Makefile.in: Regenerated. | |
1584 | ||
1585 | 2004-08-31 Roman Kennke <roman@ontographics.com> | |
1586 | ||
1587 | * javax/swing/text/Utilities.java: New file. | |
1588 | ||
1589 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1590 | ||
1591 | * Makefile.am: Added javax/swing/text/Utilities.java. | |
1592 | * Makefile.in: Regenerated. | |
1593 | ||
1594 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
1595 | ||
1596 | * javax/swing/text/SimpleAttributeSet.java: New file. | |
1597 | * javax/swing/text/StyleConstants.java: New file. | |
1598 | * javax/swing/text/StyleContext.java: New file. | |
1599 | * javax/swing/text/TabSet.java: New file. | |
1600 | * javax/swing/text/TabStop.java: New file. | |
1601 | * javax/swing/text/AbstactDocument.java: | |
1602 | (AbstractElement): Implement attribute support. | |
1603 | * javax/swing/text/AttributeSet.java | |
1604 | (NameAttribute): New static field. | |
1605 | (ResolveAttribute): New static field. | |
1606 | * Makefile.am: Update for new files. | |
1607 | * Makefile.in: Regenerate. | |
1608 | ||
1609 | 2004-08-31 Craig Black <craig.black@aonix.com> | |
1610 | ||
1611 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
1612 | (drawImage): Add support for scaling pixmaps. | |
1613 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c | |
1614 | (copyAndScalePixmap): New native method. | |
1615 | ||
1616 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1617 | ||
1618 | PR AWT/16121 | |
1619 | * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate | |
1620 | type-punning compiler warnings using unions. | |
1621 | (throw): Replace bzero with memset. | |
1622 | ||
1623 | 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch> | |
1624 | Thomas Fitzsimmons <fitzsim@redhat.com> | |
1625 | ||
1626 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move | |
1627 | NSA_PB macros to gtkpeer.h. Include gtkpeer.h. | |
1628 | * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here. | |
1629 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1630 | (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro. | |
1631 | ||
1632 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1633 | ||
1634 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: | |
1635 | #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h | |
1636 | and stdlib.h, not gtkpeer.h. | |
1637 | (*vm): New static variable. | |
1638 | (areaPreparedID): Make static. | |
1639 | (areaUpdatedID): Likewise. | |
1640 | (area_prepared): Get and use JNIEnv through stored JavaVM *vm. | |
1641 | (area_prepared): Likewise. | |
1642 | (area_updated): Likewise. | |
1643 | (closed): Likewise. | |
1644 | (initStaticState): Initialize *vm javaVM. | |
1645 | (pumpBytes): Use given env, not global gdk_env. | |
1646 | ||
1647 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1648 | ||
1649 | * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate | |
1650 | comments. | |
1651 | ||
1652 | 2004-08-31 Sven de Marothy <sven@physto.se> | |
1653 | ||
1654 | * java/awt/geom/CubicCurve2D.java: Reindent. | |
1655 | (contains): Implemented. | |
1656 | (intersects): Implemented. | |
1657 | * java/awt/geom/QuadCurve2D.java: Likewise. | |
1658 | * java/awt/geom/GeneralPath.java: Reindent and document. | |
1659 | Fully (re)implemented using separate xpoints and ypoints | |
1660 | float[] coords. | |
1661 | * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007). | |
1662 | ||
1663 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1664 | ||
1665 | * javax/swing/JMenuItem.java | |
1666 | (getMenuDragMouseListeners): New method. | |
1667 | (getMenuKeyListeners): Likewise. | |
1668 | ||
1669 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1670 | ||
1671 | * javax/swing/AbstractButton.java | |
1672 | (model): Made protected. | |
1673 | (actionListener): Likewise. | |
1674 | (changeListener): Likewise. | |
1675 | (itemListener): Likewise. | |
1676 | (multiClickThreshhold): New field. | |
1677 | (getActionListeners): New method. | |
1678 | (getChangeListeners): Likewise. | |
1679 | (getItemListeners): Likewise. | |
1680 | (fireItemStateChanged): Simplified implementation. | |
1681 | (fireActionPerformed): Likewise. | |
1682 | (fireStateChanged): Likewise. | |
1683 | (getMultiClickThreshhold): New method. | |
1684 | (setMultiClickThreshhold): Likewise. | |
1685 | ||
1686 | 2004-08-31 Tom Tromey <tromey@redhat.com> | |
1687 | ||
1688 | * java/awt/image/Kernel.java (clone): Use super.clone(). | |
1689 | ||
1690 | 2004-08-31 David Jee <djee@redhat.com> | |
1691 | ||
1692 | PR AWT/16682 | |
1693 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
1694 | (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder. | |
1695 | (nativeSetIconImageFromData): New native method declaration. | |
1696 | (setIconImage): Handle images not produced from GdkPixbufDecoder. | |
1697 | * gnu/java/awt/peer/gtk/GtkImage.java | |
1698 | (getPixelCache): New method. | |
1699 | (getColorModel): New method. | |
1700 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1701 | (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder. | |
1702 | (free_pixbuf_data): New helper function. | |
1703 | (nativeSetIconImageFromData): New function. | |
1704 | ||
1705 | 2004-08-31 Graydon Hoare <graydon@redhat.com> | |
1706 | ||
1707 | PR SWING/16576 | |
1708 | * javax/swing/JLayeredPane.java | |
1709 | (setLayer): Permit changing layer after addition. | |
1710 | (setPosition): Permit over-length positions. | |
1711 | (layerToRange): Compare intValue()s. | |
1712 | * javax/swing/Box.java (createHorizontalBox): Implement. | |
1713 | (createRigidArea): Likewise. | |
1714 | (createVerticalBox): Likewise. | |
1715 | ||
1716 | 2004-08-31 Kim Ho <kho@redhat.com> | |
1717 | ||
1718 | * java/awt/Component.java: | |
1719 | (processMouseEvent): Consume event after | |
1720 | listeners process it. | |
1721 | (processMouseMotionEvent): ditto. | |
1722 | (processMouseWheelEvent): ditto. | |
1723 | * java/awt/Container.java: | |
1724 | (acquireComponentForMouseEvent): | |
1725 | Do not dispatch to events that have been | |
1726 | removed from the Container. | |
1727 | (handleEvent): Consume the MouseEvents. | |
1728 | * javax/swing/RepaintManager.java: | |
1729 | (paintDirtyRegions): Do not add to list of | |
1730 | damaged areas if the component has no root. | |
1731 | ||
1732 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1733 | ||
1734 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports. | |
1735 | ||
1736 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1737 | ||
1738 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return | |
1739 | null when a MissingResourceException is thrown. Should never happen. | |
1740 | ||
1741 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1742 | ||
1743 | * java/awt/EventQueue.java (postEvent): Throw NullPointerException | |
1744 | when argument is null. | |
1745 | ||
1746 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1747 | ||
1748 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1749 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): | |
1750 | Define hid at start of function. | |
1751 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): | |
1752 | Likewise. | |
1753 | ||
1754 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1755 | ||
1756 | * gnu/java/awt/EmbeddedWindow.java: Reindent. | |
1757 | * javax/swing/JButton.java: Reindent. | |
1758 | * javax/swing/JCheckBox.java: Reindent. | |
1759 | ||
1760 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1761 | ||
1762 | * Makefile.am (gtk_c_source_files): Added | |
1763 | jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c. | |
1764 | (gtk_awt_peer_sources): Added | |
1765 | gnu/java/awt/peer/gtk/GThreadMutex.java and | |
1766 | gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java. | |
1767 | * Makefile.in: Regenerated. | |
1768 | ||
1769 | 2004-08-31 Archie Cobbs <archie@dellroad.org> | |
1770 | ||
1771 | * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files | |
1772 | ||
1773 | 2004-08-31 Steven Augart <augart@watson.ibm.com> | |
1774 | ||
1775 | * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): | |
1776 | Added jfieldID, jmethodID. | |
1777 | ||
1778 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1779 | ||
1780 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
1781 | (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize | |
1782 | gdk_env before calling any gdk or gtk function. | |
1783 | ||
1784 | * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field. | |
1785 | (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled. | |
1786 | (run): Set gtkInitCalled. | |
1787 | ||
1788 | 2004-08-31 Steven Augart <augart@watson.ibm.com> | |
1789 | ||
1790 | * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of | |
1791 | the gnu.classpath.awt.gtk.portable.native.sync system property to C. | |
1792 | ||
1793 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
1794 | (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument, | |
1795 | portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to | |
1796 | init_glib_threads. | |
1797 | (init_glib_threads): New function. | |
1798 | ||
1799 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1800 | ||
1801 | * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_ | |
1802 | PRIORITY when not already defined in header file. | |
1803 | ||
1804 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1805 | ||
1806 | * jni/gtk-peer/gthread-jni.c (setup_cache): Call | |
1807 | ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2. | |
1808 | ||
1809 | 2004-08-31 Steven Augart <augart@watson.ibm.com> | |
1810 | ||
1811 | * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes. | |
1812 | Implemented missing functions for GTK2. | |
1813 | Added error handling. | |
1814 | Renamed static functions out of the g_ namespace. | |
1815 | Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, | |
1816 | EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options. | |
1817 | Rewrote global-reference code. | |
1818 | Eliminated cascading errors. | |
1819 | (mutex_trylock_jni_impl) Fully implemented. | |
1820 | (cond_timed_wait_jni_impl) Went from millisecond to microsecond | |
1821 | resolution. | |
1822 | (setup_cache) New function. | |
1823 | (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed | |
1824 | bug where they were not unlocking the GMutex associated with the | |
1825 | condition variable during the wait on that condition variable. | |
1826 | ||
1827 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c, | |
1828 | native/jni/gtk-peer/gthread-jni.c, | |
1829 | native/jni/gtk-peer/gthread-jni.h | |
1830 | (g_thread_jni_functions): Renamed to ... | |
1831 | (portable_native_sync_jni_functions): this name. | |
1832 | (gdk_vm): Renamed to... | |
1833 | (the_vm): this name. | |
1834 | ||
1835 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
1836 | (gdk_vm): Removed duplicate definition. | |
1837 | (gtkInit): Removed stray message to stdout. | |
1838 | (gtkInit): Use g_malloc and g_free instead of malloc and free. | |
1839 | (gtkInit): Fix a const assignment bug. | |
1840 | (gtkInit): Simplified code. | |
1841 | ||
1842 | * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, | |
1843 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c, | |
1844 | native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, | |
1845 | gnu/java/awt/peer/gtk/GThreadMutex.java: | |
1846 | New files. | |
1847 | ||
1848 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1849 | ||
1850 | * javax/swing/Box.java: Put FIXME comment above class declaration. | |
1851 | * javax/swing/JButton.java: Remove illegal L&F HTML from comments. | |
1852 | * javax/swing/JCheckBox.java: Likewise. | |
1853 | * javax/swing/JDialog.java: Likewise. | |
1854 | * javax/swing/JRadioButton.java: Likewise. | |
1855 | * javax/swing/JToggleButton.java: Likewise. | |
1856 | * javax/swing/UIManager.java: Likewise. | |
1857 | * javax/swing/border/TitledBorder.java: Likewise. | |
1858 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
1859 | * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise. | |
1860 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise. | |
1861 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
1862 | * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise. | |
1863 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
1864 | * javax/swing/text/JTextComponent.java: Likewise. | |
1865 | ||
1866 | 2004-08-31 David Jee <djee@redhat.com> | |
1867 | ||
1868 | PR AWT/16682 | |
1869 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
1870 | (setIconImage): Add a FIXME for unhandled cases. | |
1871 | ||
1872 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1873 | ||
1874 | PR AWT/16040 | |
1875 | * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not | |
1876 | getModifiers. Replace old button masks with new ones. | |
1877 | * gnu/awt/xlib/XEventLoop.java: Likewise. | |
1878 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise. | |
1879 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
1880 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
1881 | * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise. | |
1882 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise. | |
1883 | * java/awt/AWTKeyStroke.java: Remove old modifier masks. | |
1884 | * java/awt/Component.java: Replace old modifier masks with new | |
1885 | ones. | |
1886 | * java/awt/Container.java: Call getModifiersEx, not | |
1887 | getModifiers. | |
1888 | * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove | |
1889 | old modifier masks. | |
1890 | * javax/swing/JMenuItem.java: Replace old button masks with new | |
1891 | ones. | |
1892 | * javax/swing/KeyStroke.java: Call getModifiersEx, not | |
1893 | getModifiers. | |
1894 | * javax/swing/SwingUtilities.java: Likewise. | |
1895 | * javax/swing/plaf/basic/BasicButtonListener.java: Likewise. | |
1896 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise. | |
1897 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old | |
1898 | mask macros with new ones. | |
1899 | * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask | |
1900 | macros with new ones representing new masks. | |
1901 | ||
1902 | 2004-08-31 Craig Black <craig.black@aonix.com> | |
1903 | ||
1904 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
1905 | (drawRoundRect): Implemented. | |
1906 | (fillRoundRect): Implemented. | |
1907 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
1908 | (drawRoundRect): Reimplemented to match GdkGraphics. | |
1909 | (fillRoundRect): Reimplemented to match GdkGraphics. | |
1910 | ||
1911 | 2004-08-31 Mark Wielaard <mark@klomp.org> | |
1912 | ||
1913 | * Makefile.in: Regenerated. | |
1914 | ||
1915 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1916 | ||
1917 | * gnu/java/awt/EmbeddedWindow.java | |
1918 | (addNotify): Use AccessController to allow execution of privileged | |
1919 | code. | |
1920 | ||
1921 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
1922 | ||
1923 | * gnu/java/awt/EmbeddedWindow.java | |
1924 | (static): Removed. | |
1925 | (addNotify): Set peer via reflection. | |
1926 | (setWindowPeer): Removed. | |
1927 | * gnu/java/awt/natEmbeddedWindow.cc: Removed. | |
1928 | * Makefile.am (nat_source_files): | |
1929 | Removed gnu/java/awt/natEmbeddedWindow.cc. | |
1930 | ||
1931 | 2004-08-31 Bryce McKinlay <mckinlay@redhat.com> | |
1932 | ||
1933 | * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java | |
1934 | and gnu/java/security/action/SetAccessibleAction.java. | |
1935 | ||
1936 | 2004-08-31 Bryce McKinlay <mckinlay@redhat.com> | |
1937 | ||
1938 | * gnu/java/security/action/GetPropertyAction.java (setParameters): | |
1939 | Renamed from 'setName'. New 2-argument form with default value. | |
1940 | (run): Pass default 'value' parameter to System.getProperty(). | |
1941 | * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc | |
1942 | typos. | |
1943 | ||
1944 | 2004-08-31 Bryce McKinlay <mckinlay@redhat.com> | |
1945 | ||
1946 | * gnu/java/security/action/GetPropertyAction.java: New class. | |
1947 | * gnu/java/security/action/SetAccessibleAction.java: New class. | |
1948 | ||
1949 | 2004-08-31 David Jee <djee@redhat.com> | |
1950 | ||
1951 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
1952 | (setIconImage): Check if image is null. | |
1953 | ||
1954 | 2004-08-31 David Jee <djee@redhat.com> | |
1955 | ||
1956 | * gnu/java/awt/peer/gtk/GtkFramePeer.java | |
1957 | (create): Set the icon image. | |
1958 | (nativeSetIconImage): New native method declaration. | |
1959 | (setIconImage): Implement. | |
1960 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1961 | (nativeSetIconImage): New function. | |
1962 | ||
1963 | 2004-08-31 Dalibor Topic <robilad@kaffe.org> | |
1964 | ||
1965 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
1966 | (filenameFilterCallback): Declare local variable accepted before use. | |
1967 | ||
1968 | 2004-08-31 Dalibor Topic <robilad@kaffe.org> | |
1969 | ||
1970 | * gnu/java/awt/ComponentDataBlitOp.java: | |
1971 | Cleaned up imports. | |
1972 | ||
1973 | 2004-08-31 Tom Tromey <tromey@redhat.com> | |
1974 | ||
1975 | * gnu/java/awt/peer/GLightweightPeer.java, | |
1976 | gnu/java/awt/peer/gtk/GdkGraphics2D.java, | |
1977 | gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
1978 | javax/swing/JScrollPane.java: Removed | |
1979 | redundant imports. | |
1980 | ||
1981 | 2004-08-31 David Jee <djee@redhat.com> | |
1982 | ||
1983 | * java/awt/DefaultKeyboardFocusManager.java | |
1984 | (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED | |
1985 | event. Fix shift modifier checking. | |
1986 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
1987 | (accel_attach): Remove. | |
1988 | (setupAccelGroup): Remove calls to accel_attach. | |
1989 | ||
1990 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1991 | ||
1992 | * gnu/java/awt/peer/gtk/GtkArg.java: Remove file. | |
1993 | * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file. | |
1994 | ||
1995 | * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and | |
1996 | GtkArgList.java. | |
1997 | (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS. | |
1998 | * Makefile.in: Regenerate. | |
1999 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
2000 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
2001 | (create(String)): New method. | |
2002 | (create): Call new create method. | |
2003 | (getArgs): Remove method. | |
2004 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, | |
2005 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
2006 | (nativeCreate): Rename to create. | |
2007 | (gtkSetLabel): Rename to gtkButtonSetLabel. | |
2008 | (gtkToggleButtonSetActive): New method. | |
2009 | (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel. | |
2010 | (setState): Replace set call with gtkToggleButtonSetActive. | |
2011 | (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel. | |
2012 | (getArgs): Remove method. | |
2013 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
2014 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
2015 | (gtkWidgetSetSensitive): New method. | |
2016 | (gtkWidgetSetParent): Likewise. | |
2017 | (GtkComponentPeer): Call setParent, setComponentBounds and | |
2018 | setVisibleAndEnabled. | |
2019 | (setParent): New method. | |
2020 | (setComponentBounds): New method. | |
2021 | (setVisibleAndEnabled): New method. | |
2022 | (setEnabled): Call gtkWidgetSetSensitive. | |
2023 | (getArgs): Remove method. | |
2024 | Remove all set methods. | |
2025 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call | |
2026 | gtkWindowSetModal, setTitle and setResizable. | |
2027 | (getArgs): Remove method. | |
2028 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
2029 | (setComponentBounds): New method. | |
2030 | * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable): | |
2031 | Replace set call with gtkWindowSetResizable. | |
2032 | (getArgs): Remove method. | |
2033 | (create): Call setTitle and setResizable. | |
2034 | * gnu/java/awt/peer/gtk/GtkWindowPeer.java, | |
2035 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
2036 | (gtkWindowSetTitle): New method. | |
2037 | (gtkWindowSetResizable): New method. | |
2038 | (gtkWindowSetModal): New method. | |
2039 | (setParent): New method. | |
2040 | (setVisibleAndEnabled): New method. | |
2041 | (getArgs): Remove method. | |
2042 | (setTitle): Call gtkWindowSetTitle. | |
2043 | (setResizable): Call gtkWindowSetResizable. | |
2044 | * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on | |
2045 | and off locking instrumentation. | |
2046 | ||
2047 | 2004-08-31 Kim Ho <kho@redhat.com> | |
2048 | ||
2049 | * Makefile.am: Add new file. | |
2050 | * Makefile.in: Regenerate. | |
2051 | * gcj/Makefile.in: Regenerate | |
2052 | * include/Makefile.in: | |
2053 | * java/awt/Container.java: | |
2054 | (acquireComponentForMouseEvent): Respect | |
2055 | the event mask when looking for candidate. | |
2056 | * javax/swing/JComponent.java: | |
2057 | Remove toolTip field. | |
2058 | (createToolTip): Create a tooltip on demand. | |
2059 | (setToolTipText): Register with the ToolTipManager. | |
2060 | (getToolTipText(MouseEvent)): Return getToolTipText(). | |
2061 | * javax/swing/JToolTip.java: Implement. | |
2062 | * javax/swing/Timer.java: Jalopy. | |
2063 | (restart): Call stop, then start. | |
2064 | (stop): Interrupt the timer rather than wait for | |
2065 | the timer to come to a stop naturally. | |
2066 | * javax/swing/ToolTipManager.java: Implement. | |
2067 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
2068 | Change ToolTip.background color. | |
2069 | * javax/swing/plaf/basic/BasicToolTipUI.java: | |
2070 | Implement. | |
2071 | * testsuite/Makefile.in: Regenerate | |
2072 | ||
2073 | 2004-08-31 Jerry Quinn <jlquinn@optonline.net> | |
2074 | ||
2075 | * java/awt/image/DirectColorModel.java (DirectColorModel): Fix | |
2076 | constructor param comments. | |
2077 | ||
2078 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2079 | ||
2080 | * java/awt/Component.java: Document AWT 1.0 event handler | |
2081 | methods. | |
2082 | ||
2083 | 2004-08-31 Roman Kennke <roman@ontographics.com> | |
2084 | ||
2085 | * javax/swing/Box.java: | |
2086 | (createGlue): Implemented | |
2087 | (createHorizontalGlue): Implemented | |
2088 | (createHorizontalStrut): Implemented | |
2089 | (createVerticalGlue): Implemented | |
2090 | (createVerticalStrut): Implemented | |
2091 | ||
2092 | 2004-08-31 David Jee <djee@redhat.com> | |
2093 | ||
2094 | * gnu/java/awt/peer/gtk/GtkChoicePeer.java | |
2095 | (GtkChoicePeer): Do not automatically select first item. | |
2096 | (getHistory): Remove. | |
2097 | (nativeGetSelected): New method. | |
2098 | (nativeRemoveAll): New method. | |
2099 | (add): Use nativeGetSelected() instead of getHistory(). | |
2100 | (remove): Likewise. | |
2101 | (removeAll): Call nativeRemoveAll(). | |
2102 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
2103 | (create): Migrate to GtkComboBox. | |
2104 | (append): Likewise. | |
2105 | (nativeAdd): Likewise. | |
2106 | (nativeRemove): Likewise. | |
2107 | (select): Likewise. | |
2108 | (nativeRemoveAll): New method. | |
2109 | (nativeGetSelected): New method. | |
2110 | (selection_changed): New method. | |
2111 | (getHistory): Remove. | |
2112 | (item_activate): Remove. | |
2113 | (item_removed): Remove. | |
2114 | (connect_choice_item_selectable_hook): Remove. | |
2115 | ||
2116 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2117 | ||
2118 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf | |
2119 | variable in setEditable call. | |
2120 | ||
2121 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, | |
2122 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | |
2123 | (gtkWidgetSetBackground): New method. | |
2124 | (gtkWidgetSetForeground): Likewise. | |
2125 | (create): Set peer's editable state based on awtComponent's. | |
2126 | ||
2127 | * java/awt/Button.java (Button()): Use empty string rather than | |
2128 | null in no-label constructor. | |
2129 | ||
2130 | 2004-08-31 Roman Kennke <roman@ontographics.com> | |
2131 | ||
2132 | * javax/swing/BoxLayout.java: Reimplement. | |
2133 | ||
2134 | 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2135 | ||
2136 | * gnu/java/awt/peer/gtk/GdkGraphics.java, | |
2137 | gnu_java_awt_peer_gtk_GdkGraphics.c | |
2138 | (initState(GtkComponentPeer)): Don't return array of colour | |
2139 | values. | |
2140 | (GdkGraphics(int,int)): Set default font to size 12. | |
2141 | (GdkGraphics(GtkComponentPeer)): Set graphics colour to | |
2142 | component's foreground colour. | |
2143 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java, | |
2144 | gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
2145 | (initState(GtkComponentPeer)): Don't return array of colour | |
2146 | values. | |
2147 | (GdkGraphics2D(GtkComponentPeer)): Set foreground and background | |
2148 | colours to component's colours. | |
2149 | (current_colors_of_widget): Remove function. | |
2150 | * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics): | |
2151 | Return a new graphics object. | |
2152 | * java/awt/Font.java (toString): Fix format. | |
2153 | * java/awt/Graphics.java (toString): Likewise. | |
2154 | ||
2155 | 2004-08-31 Craig Black <craig.black@aonix.com> | |
2156 | ||
2157 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
2158 | (addTearOff): New function. | |
2159 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff): | |
2160 | New native method. | |
2161 | (init): Call addTearOff() when menu.isTearOff(). | |
2162 | ||
2163 | 2004-08-31 Bryce McKinlay <mckinlay@redhat.com> | |
2164 | ||
2165 | * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New. | |
2166 | Default implementation. | |
2167 | * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New. | |
2168 | Implement using GdkPixbufDecoder. | |
2169 | ||
2170 | 2004-08-31 David Jee <djee@redhat.com> | |
2171 | ||
2172 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
2173 | (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for | |
2174 | setting the size of GtkFileDialogPeers. | |
2175 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
2176 | (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow, | |
2177 | use their default sizes rather than their natural requisitions. | |
2178 | ||
2179 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
2180 | ||
2181 | * javax/swing/JFormattedTextField.java | |
2182 | (JFormattedTextField): Implemented. | |
2183 | * javax/swing/text/DefaultEditorKit.java | |
2184 | (BeepAction): New inner class. | |
2185 | * javax/swing/text/Segment.java | |
2186 | (partialReturn): New field. | |
2187 | (setPartialReturn): New method. | |
2188 | (isPartialReturn): Likewise. | |
2189 | * javax/swing/text/View.java | |
2190 | (createFragment): Fixed typo. | |
2191 | (getStartOffset): New method. | |
2192 | (getEndOffset): Likewise. | |
2193 | ||
2194 | 2004-08-31 Michael Koch <konqueror@gmx.de> | |
2195 | ||
2196 | * javax/swing/table/DefaultTableColumnModel.java | |
2197 | (serialVersionUID): Made private. | |
2198 | (listenerList): Initialize. | |
2199 | (changeEvent): Initialize. | |
2200 | * javax/swing/table/JTableHeader.java | |
2201 | (JTableHeader): New constructors. | |
2202 | (createDefaultColumnModel): New method. | |
2203 | * javax/swing/table/TableColumn.java | |
2204 | (setHeaderRenderer): Simplified code. | |
2205 | (setCellRenderer): Likewise. | |
2206 | (setWidth): Likewise. | |
2207 | ||
e2ab6d12 TT |
2208 | 2004-08-31 Tom Tromey <tromey@redhat.com> |
2209 | ||
2210 | * java/text/AttributedString.java (AttributedString): Use | |
2211 | ArrayList to build array of attribute ranges. Don't use | |
2212 | `attribs' before it is set. | |
2213 | ||
1c340cb6 AT |
2214 | 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch> |
2215 | ||
2216 | * HACKING: Remove reference to special automake. No longer needed. | |
2217 | ||
b6e9851a TT |
2218 | 2004-08-30 Tom Tromey <tromey@redhat.com> |
2219 | ||
2220 | * gnu/java/security/util/Prime.java (generateRandomPrime): Use | |
2221 | return result from `add'. | |
2222 | ||
05502144 TT |
2223 | 2004-08-30 Tom Tromey <tromey@redhat.com> |
2224 | ||
2225 | * java/rmi/server/UID.java (UID): Read `nextCount', not count. | |
2226 | ||
e7023b0f AT |
2227 | 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch> |
2228 | ||
2229 | * gnu/java/security/der/DEREncodingException.java: Remove whitespaces. | |
2230 | ||
2c64dead JF |
2231 | 2004-08-30 Jeroen Frijters <jeroen@frijters.net> |
2232 | ||
2233 | * java/io/File.java File(String,String): Fixed handling of empty | |
2234 | path. | |
2235 | ||
bd8a2e96 CM |
2236 | 2004-08-30 Casey Marshall <csm@gnu.org> |
2237 | ||
2238 | Author e-mail updated for all files. | |
2239 | * gnu/java/security/OID.java (equals): Test if the aurgment is an | |
2240 | instance of OID. | |
2241 | (compareTo): Use `equals'. | |
2242 | * gnu/java/security/der/BitString.java (equals): Test if the | |
2243 | argument is an instance of BitString. | |
2244 | * gnu/java/security/der/DERReader.java: Removed NIO imports. Made | |
2245 | class final. Made fields private. | |
2246 | (<init>): New constructor. | |
2247 | (skip): New method. | |
2248 | (makeString): Made static; don't use NIO. | |
2249 | (fromIso88591, fromUtf16Be, fromUtf8): New methods. | |
2250 | * gnu/java/security/der/DERWriter.java: Fixed imports. | |
2251 | (writeString): Don't use NIO. | |
2252 | (toIso88591, toUtf16Be, toUtf8): New methods. | |
2253 | * gnu/java/security/der/DERValue.java: Formatting changes only. | |
2254 | * gnu/java/security/der/DER.java: Likewise. | |
2255 | ||
68760aee AT |
2256 | 2004-08-30 Tom Tromey <tromey@redhat.com> |
2257 | ||
2258 | * java/nio/CharBuffer.java (put): Fix typo. | |
2259 | * java/nio/DoubleBuffer.java (put): Fix typo. | |
2260 | * java/nio/FloatBuffer.java (put): Fix typo. | |
2261 | * java/nio/IntBuffer.java (put): Fix typo. | |
2262 | * java/nio/LongBuffer.java (put): Fix typo. | |
2263 | * java/nio/ShortBuffer.java (put): Fix typo. | |
2264 | ||
2265 | 2004-08-30 Florian Weimer <fw@deneb.enyo.de> | |
2266 | ||
2267 | * java/nio/ByteBuffer.java (put): Fix typo. | |
2268 | ||
28839b70 CM |
2269 | 2004-08-30 Casey Marshall <csm@gnu.org> |
2270 | ||
2271 | * java/security/DummyKeyPairGenerator.java (clone): Removed | |
2272 | useless instanceof check. | |
2273 | * java/security/DummyMessageDigest.java (clone): Likewise. | |
2274 | * java/security/DummySignature.java (clone): Likewise. | |
2275 | * java/security/MessageDigest.java (clone): Remove useless | |
2276 | instanceof check. | |
2277 | * java/security/MessageDigestSpi.java (clone): Likewise. | |
2278 | * java/security/Signature.java (clone): Provide meaningful | |
2279 | implementation. | |
2280 | * java/security/SignatureSpi.java (clone): Likewise. | |
2281 | ||
6cd655a3 MW |
2282 | 2004-08-29 Mark Wielaard <mark@klomp.org> |
2283 | ||
2284 | * java/util/Arrays.java | |
2285 | (sort(byte[], int, int)): Check fromIndex < 0. | |
2286 | (sort(char[], int, int)): Likewise. | |
2287 | (sort(short[], int, int)): Likewise. | |
2288 | (sort(int[], int, int)): Likewise. | |
2289 | (sort(long[], int, int)): Likewise. | |
2290 | (sort(float[], int, int)): Likewise. | |
2291 | (sort(double[], int, int)): Likewise. | |
2292 | (sort(Object[], int, int, Comparator)): Likewise. | |
2293 | (qsort(byte[], int, int)): Honor lower bound from in insertion sort. | |
2294 | (qsort(char[], int, int)): Likewise. | |
2295 | (qsort(short[], int, int)): Likewise. | |
2296 | (qsort(int[], int, int)): Likewise. | |
2297 | (qsort(long[], int, int)): Likewise. | |
2298 | (qsort(float[], int, int)): Likewise. | |
2299 | (qsort(double[], int, int)): Likewise. | |
2300 | ||
477a21f7 AJH |
2301 | 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org> |
2302 | ||
2303 | * java/util/AbstractCollection.java, java/util/AbstractList.java, | |
2304 | java/util/AbstractMap.java, java/util/AbstractSequentialList.java, | |
2305 | java/util/ArrayList.java, java/util/Arrays.java, | |
2306 | java/util/BitSet.java, java/util/Calendar.java, | |
2307 | java/util/Collection.java, java/util/ListIterator.java, | |
2308 | java/util/Map.java, java/util/SortedSet.java: | |
2309 | Added additional exceptions to documentation, along | |
2310 | with some additions and corrections. | |
2311 | ||
ed347998 HB |
2312 | 2004-08-27 Hans Boehm <Hans.Boehm@hp.com> |
2313 | ||
2314 | * configure.ac: Handle --enable-gc-debug. | |
2315 | * configure: Regenerate. | |
2316 | * include/config.h.in (LIBGCJ_GC_DEBUG): Add. | |
2317 | * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files. | |
2318 | Rearrange include file order. | |
2319 | (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set. | |
2320 | (GC_finalize_all, GC_debug_generic_malloc): Don't declare. | |
2321 | (disable_gc_mutex): Delete along with all references. | |
2322 | (_Jv_MarkObj, _Jv_MarkArray): Use public types, | |
2323 | adjust for debug header size. | |
2324 | (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for | |
2325 | debug case. | |
2326 | (_Jv_AllocArray): Declare min_heap_addr only if needed. | |
2327 | (gcj_describe_type_fn): New. | |
2328 | (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind. | |
2329 | Register gcj_describe_type_fn. | |
2330 | * include/boehm-gc.h: | |
2331 | (_Jv_AllocObj, _Jv_allocPtrFreeObj): | |
2332 | Don't define, but declare, for debug case. | |
2333 | * java/lang/natObject.cc: | |
2334 | (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set. | |
2335 | ||
42348101 MW |
2336 | 2004-08-26 Mark Wielaard <mark@klomp.org> |
2337 | ||
2338 | Fixes PR libgcj/17002: | |
2339 | * java/util/TimeZone.java (defaultZone): Try a couple of ways to get | |
2340 | a TimeZoneId string and then try to convert that to a TimeZone with | |
2341 | getDefaultSystemTimeZone(String). | |
2342 | (timezones0): Changed type from Hashtable to HashMap. | |
2343 | (timezones): Create HashMap, not Hashtable. | |
2344 | (getDefaultTimeZone): New method, rewritten from CNI version. | |
2345 | (readTimeZoneFile): New method. | |
2346 | (readtzFile): Likewise. | |
2347 | (skipFully): Likewise. | |
2348 | * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to | |
2349 | getDefaultTimeZoneId and rewritten. | |
2350 | (getDefaultTimeZoneId): Rewritten in java. | |
2351 | ||
ed89de94 DD |
2352 | 2004-08-25 David Daney <daney@avtrex.com> |
2353 | ||
2354 | * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS. | |
2355 | * Makefile.in: Regenerated. | |
2356 | ||
8ba14152 BM |
2357 | 2004-08-23 Bryce McKinlay <mckinlay@redhat.com> |
2358 | ||
2359 | * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc | |
2360 | only if jvmpi is enabled. | |
2361 | (jvmpi_notify_alloc): Don't check if jvmpi is enabled here. | |
2362 | (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC. | |
2363 | (_Jv_AllocString): Likewise. | |
2364 | (_Jv_AllocPtrFreeObject): Likewise. | |
2365 | ||
0039c16d | 2366 | 2004-08-23 Hans Boehm <Hans.Boehm@hp.com> |
8ba14152 | 2367 | |
0039c16d HB |
2368 | * defineclass.cc: Include <stdio.h>. |
2369 | * java/lang/natClassLoader.cc: Include <stdio.h>. | |
2370 | ||
be2043db AT |
2371 | 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch> |
2372 | Michael Koch <konqueror@gmx.de> | |
2373 | ||
2374 | * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added. | |
2375 | * Makefile.in: Regenerated. | |
2376 | ||
b7d9c3ae MK |
2377 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
2378 | ||
2379 | * configure.ac: Replaced all AC_TRY_COMPILE macros with | |
2380 | AC_COMPILE_IFELSE macros. | |
2381 | ||
80d8905c MK |
2382 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
2383 | ||
2384 | * configure.in: Renamed to configure.ac. | |
2385 | * configure.ac: New file. | |
2386 | * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in | |
2387 | include/config.h.in, testsuite/Makefile.in: Regenerated. | |
2388 | ||
cad90591 MK |
2389 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
2390 | ||
2391 | * configure.in: Rewrote some obsolete stuff for autoconf 2.59. | |
2392 | * aclocal.m4, configure: Regenerated. | |
2393 | ||
e3f92d3b MK |
2394 | 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com> |
2395 | Michael Koch <konqueror@gmx.de> | |
2396 | ||
438c7f23 BM |
2397 | * configure.in, Makefile.am: Ported to automake 1.9. |
2398 | * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, | |
2399 | include/Makefile.in, testsuite/Makefile.in, include/config.h.in: | |
e3f92d3b MK |
2400 | Regenerated. |
2401 | ||
476a918f TT |
2402 | 2004-08-19 Tom Tromey <tromey@redhat.com> |
2403 | ||
2404 | * java/net/DatagramSocket.java: Fixed typo. | |
2405 | ||
bb0452b1 BM |
2406 | 2004-08-18 Bryce McKinlay <mckinlay@redhat.com> |
2407 | ||
2408 | PR libgcj/17081 | |
2409 | * java/net/URI.java (string): New field. Make all other fields | |
2410 | transient. | |
2411 | (readObject): Implemented. | |
2412 | (writeObject): Implemented. | |
2413 | (URI): Set 'string'. | |
2414 | ||
b4b3435e BM |
2415 | 2004-08-18 Bryce McKinlay <mckinlay@redhat.com> |
2416 | ||
2417 | PR libgcj/17079 | |
2418 | * java/util/logging/Handler.java (isLoggable): Accept record if its | |
2419 | log level equals the threshold level. From Robin Green. | |
2420 | ||
720086cd DD |
2421 | 2004-08-18 David Daney <ddaney@avtrex.com> |
2422 | ||
2423 | * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend | |
2424 | instead of sigwait. | |
2425 | ||
baeff970 MK |
2426 | 2004-08-17 Michael Koch <konqueror@gmx.de> |
2427 | ||
2428 | * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read. | |
2429 | * Makefile.in: Regenerated. | |
2430 | ||
0e5b1376 TT |
2431 | 2004-08-16 Tom Tromey <tromey@redhat.com> |
2432 | ||
2433 | PR java/8473: | |
2434 | * testsuite/libjava.jacks/jacks.xfail: Removed passing test. | |
2435 | ||
be170ef2 MK |
2436 | 2004-08-16 Michael Koch <konqueror@gmx.de> |
2437 | ||
2438 | * Makefile.am | |
2439 | (math_c_files): Renamed from c_files. | |
2440 | (math_c_source_files): Renamed from c_source_files. | |
2441 | * Makefile.in, | |
2442 | gcj/Makefile.in, | |
2443 | include/Makefile.in, | |
2444 | testsuite/Makefile.in: Regenerated. | |
2445 | ||
7614fd28 BM |
2446 | 2004-08-16 Bryce McKinlay <mckinlay@redhat.com> |
2447 | ||
2448 | * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory | |
2449 | to avoid autoconf warning. | |
2450 | * configure: Rebuilt. | |
2451 | ||
1c5192e4 AT |
2452 | 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch> |
2453 | ||
2454 | * java/net/natInetAddressPosix.cc (lookup): Reflect rename of | |
2455 | localhostAddress to loopbackAddress. | |
2456 | * java/net/natInetAddressWin32.cc (lookup): Likewise. | |
2457 | ||
4109fe85 BM |
2458 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
2459 | ||
2460 | * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I | |
2461 | boehm-gc's include dirs. | |
2462 | * configure: Rebuilt. | |
2463 | * include/boehm-gc.h: Include gc_config.h. | |
2464 | ||
d7945faf BM |
2465 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
2466 | ||
2467 | * java/net/InetAddress.java (loopbackAddress): Renamed from | |
2468 | localhostAddress. | |
2469 | (getByName): Return loopback address for null hostname, without | |
2470 | security check. Use lookup(), not getAllByName. | |
2471 | (getAllByName): Return loopback address for null hostname, without | |
2472 | security check. | |
2473 | * java/net/natInetAddressPosix.cc (lookup): Don't perform security | |
2474 | check here. | |
2475 | ||
73389fa4 BM |
2476 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
2477 | ||
2478 | PR libgcj/17020 | |
2479 | Reported by Robin Green. | |
2480 | * defineclass.cc (handleField): Don't throw exception on unrecognised | |
2481 | modifier. Add FIXME comments for spec compliance. | |
2482 | (handleMethod): Likewise. | |
2483 | ||
28e99c62 HB |
2484 | 2004-08-10 Hans Boehm <Hans.Boehm@hp.com> |
2485 | ||
2486 | PR libgcj/16662 | |
2487 | * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing. | |
2488 | (Almost everywhere): add LOG calls, fix, add comments. | |
2489 | (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion. | |
2490 | Add explicit check for LOCKED bit in slow case (PR 16662). | |
2491 | (_Jv_MonitorExit): Add casts in debug-only code. | |
2492 | Always release LOCKED bit before throwing exception. | |
2493 | (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock | |
2494 | isn't. Handle easy cases without lock acquisition. | |
2495 | (Object::wait): Use NotifyAll for lock inflation. | |
2496 | ||
faa03cf1 DD |
2497 | 2004-08-12 David Daney <ddaney@avtrex.com> |
2498 | ||
2499 | * testsuite/libjava.lang/Process_1.java: New test. | |
2500 | * testsuite/libjava.lang/Process_2.java: New test. | |
2501 | * testsuite/libjava.lang/Process_3.java: New test. | |
2502 | * testsuite/libjava.lang/Process_4.java: New test. | |
2503 | * testsuite/libjava.lang/Process_5.java: New test. | |
2504 | * testsuite/libjava.lang/Process_6.java: New test. | |
2505 | * testsuite/libjava.lang/Process_1.out: Expected result. | |
2506 | * testsuite/libjava.lang/Process_2.out: Expected result. | |
2507 | * testsuite/libjava.lang/Process_3.out: Expected result. | |
2508 | * testsuite/libjava.lang/Process_4.out: Expected result. | |
2509 | * testsuite/libjava.lang/Process_5.out: Expected result. | |
2510 | * testsuite/libjava.lang/Process_6.out: Expected result. | |
2511 | ||
2512 | 2004-08-12 David Daney <ddaney@avtrex.com> | |
2513 | ||
2514 | PR libgcj/11801 | |
2515 | * java/lang/PosixProcess.java: Rewrote. | |
2516 | * java/lang/natPosixProcess.cc: Rewrote. | |
2517 | * java/lang/Runtime.java (execInternal): Declare throws IOException. | |
2518 | * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare. | |
2519 | * posix-threads.cc (block_sigchld) New function. | |
2520 | (_Jv_ThreadRegister) Use it. | |
2521 | (_Jv_ThreadStart) Use it. | |
2522 | * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in... | |
2523 | * Makefile.am: ... to specify extra native headers. | |
2524 | * configure: Regenerated. | |
2525 | * include/config.h: Regenerated. | |
2526 | * Makefile.in: Regenerated. | |
2527 | * gcj/Makefile.in: Regenerated. | |
2528 | * include/Makefile.in: Regenerated. | |
2529 | * testsuite/Makefile.in: Regenerated. | |
2530 | ||
c597ef4e DN |
2531 | 2004-08-12 Diego Novillo <dnovillo@redhat.com> |
2532 | ||
2533 | PR tree-optimization/16867 | |
2534 | * testsuite/libjava.lang/PR16867.java: New test. | |
2535 | ||
b4d49f49 PB |
2536 | 2004-08-09 Per Bothner <per@bothner.com> |
2537 | ||
2538 | * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class, | |
2539 | with private fields and access methods. | |
2540 | (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations. | |
2541 | * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h. | |
2542 | * prims.cc (_Jv_Utf8COnst::init): New method implementation. | |
2543 | ( _Jv_makeUtf8Const): Rewrite using new constructors. | |
2544 | (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static. | |
2545 | * defineclass.cc: Use new _Utf8Const access/convenience methods. | |
2546 | * jni.cc: Likewise. | |
2547 | * resolve.cc: Likewise. | |
2548 | * gcj/field.h: Likewise. | |
2549 | * include/jvm.h: Likewise. | |
2550 | * java/lang/Class.h: Likewise. | |
2551 | * java/lang/natClass.cc: Likwise. | |
2552 | * java/lang/natClassLoader.cc: Likewise | |
2553 | * java/lang/reflect/natMethod.cc: Likewise | |
2554 | * verify.cc: Likewise. | |
2555 | (_Jv_BytecodeVerifier::make_utf8_const): Optimize. | |
2556 | (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call. | |
2557 | ||
7e04b67b AH |
2558 | 2004-08-10 Andrew Haley <aph@redhat.com> |
2559 | ||
2560 | * testsuite/libjava.lang/err14.java: New file. | |
2561 | * testsuite/libjava.lang/err14.out: New file. | |
2562 | ||
48a8c565 AT |
2563 | 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch> |
2564 | ||
2565 | * Makefile.am: Fix missing rename from x_nat_headers to | |
2566 | xlib_nat_headers. | |
2567 | * Makefile.in: Regenerated. | |
2568 | ||
26be638d AH |
2569 | 2004-08-04 Andrew Haley <aph@redhat.com> |
2570 | ||
2571 | * java/security/BasicPermission.java: Don't check wildcards. | |
2572 | ||
614c0fc2 TF |
2573 | 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com> |
2574 | Michael Koch <konqueror@gmx.de> | |
2575 | ||
2576 | * acinclude.m4: Correctly quote PKG_CHECK_MODULES. | |
2577 | * configure.in: Replaced all usages of AC_LINK_FILES by | |
2578 | AC_CONFIG_LINKS. | |
2579 | * aclocal.m4, | |
2580 | configure: Regenerated. | |
2581 | ||
ff78c80b TF |
2582 | 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com> |
2583 | Michael Koch <konqueror@gmx.de> | |
2584 | ||
2585 | * acconfig.h: Removed. | |
2586 | * Makefile.am: Rename variables for xlib peer to include xlib and | |
2587 | gtk_c_headers to gtk_jni_headers. | |
2588 | * Makefile.in: Regenerated. | |
2589 | ||
76207f7c AH |
2590 | 2004-08-04 Andrew Haley <aph@redhat.com> |
2591 | ||
2592 | * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with | |
2593 | debugging. | |
2594 | ||
aed6152d NN |
2595 | 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org> |
2596 | ||
2597 | * configure.in: Eliminate uses of changequote (mostly by quoting []). | |
2598 | Replace most top level 'dnl' comments with '#' comments, conforming | |
2599 | to new autoconf style. Use AS_HELP_STRING throughout; improve a few | |
2600 | help strings. | |
2601 | * configure: Rebuilt. | |
2602 | ||
ed698112 NN |
2603 | 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org> |
2604 | ||
2605 | * acinclude.m4: Include no-executables.m4. | |
2606 | * aclocal.m4: Rebuild. | |
2607 | * configure.in: Convert to the autoconf 2.59 version of | |
2608 | of the no-executables hack, and also of the nonstandard CXX | |
2609 | hack and the multilibbed CC and CXX hack. Change prerequisite | |
2610 | to autoconf 2.59. | |
2611 | * configure: Rebuild with autoconf 2.59. (Woo-hoo!) | |
2612 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
2613 | testsuite/Makefile.in: Regenerate. | |
2614 | ||
8e9031ec TT |
2615 | 2004-08-03 Tom Tromey <tromey@redhat.com> |
2616 | ||
2617 | * jni.cc: Reindented. | |
2618 | ||
474f5417 BM |
2619 | 2004-08-02 Bryce McKinlay <mckinlay@redhat.com> |
2620 | ||
2621 | * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat. | |
2622 | ||
899deeca BM |
2623 | 2004-08-02 Bryce McKinlay <mckinlay@redhat.com> |
2624 | ||
2625 | * testsuite/libjava.compile/PR16701.java: New test. | |
2626 | ||
b828123e AJH |
2627 | 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org> |
2628 | ||
2629 | * java/util/Collection.java, java/util/List.java, | |
2630 | java/util/Map.java, java/util/Set.java, | |
2631 | java/util/SortedMap.java, java/util/SortedSet.java: | |
2632 | Added additional exceptions to documentation. | |
2633 | ||
5b5662ee DS |
2634 | 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net> |
2635 | ||
2636 | PR libgcj/16814 | |
2637 | * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32. | |
2638 | * configure. Regenerate. | |
2639 | * include/win32.h: Explicitly include winsock2.h | |
2640 | * win32.cc (_Jv_platform_initialize): Require version 2.2 of | |
2641 | Winsock api. | |
2642 | ||
f370ef24 MK |
2643 | 2004-07-30 Michael Koch <konqueror@gmx.de> |
2644 | ||
2645 | * java/util/zip/GZIPInputStream.java | |
2646 | (GZIPInputStream): Increase buffer size to 4k. | |
2647 | * java/util/zip/GZIPOutputStream.java | |
2648 | (GZIPOutputStream): Likewise. | |
2649 | * java/util/zip/Inflater.java | |
2650 | (setInput): Merged formating with GNU classpath. | |
2651 | * java/util/zip/InflaterInputStream.java | |
2652 | (InflaterInputStream): Increase buffer size to 4k. | |
2653 | (fill): Throw exception if stream ends early. | |
2654 | (read): Merged endless-loop with GNU classpath. | |
2655 | (skip): Increase buffer size to 2k. | |
2656 | ||
2afed683 MK |
2657 | 2004-07-30 Michael Koch <konqueror@gmx.de> |
2658 | ||
2659 | * gnu/java/awt/EmbeddedWindow.java | |
2660 | (addNotify): Use AccessController to allow execution of privileged | |
2661 | code. | |
2662 | ||
a639e504 MK |
2663 | 2004-07-29 Michael Koch <konqueror@gmx.de> |
2664 | ||
2665 | * gnu/java/lang/MainThread.java: | |
2666 | Explicitely import used classes. | |
2667 | (args): Make it type String[]. | |
2668 | ||
1cc49b13 DT |
2669 | 2004-07-29 Dalibor Topic <robilad@kaffe.org> |
2670 | ||
2671 | * gnu/java/awt/ComponentDataBlitOp.java, | |
2672 | gnu/java/beans/ExplicitBeanInfo.java, | |
2673 | gnu/java/beans/IntrospectionIncubator.java, | |
2674 | gnu/java/beans/editors/ColorEditor.java, | |
2675 | gnu/java/beans/editors/FontEditor.java, | |
2676 | gnu/java/beans/editors/NativeBooleanEditor.java, | |
2677 | gnu/java/beans/editors/NativeByteEditor.java, | |
2678 | gnu/java/beans/editors/NativeDoubleEditor.java, | |
2679 | gnu/java/beans/editors/NativeFloatEditor.java, | |
2680 | gnu/java/beans/editors/NativeIntEditor.java, | |
2681 | gnu/java/beans/editors/NativeLongEditor.java, | |
2682 | gnu/java/beans/editors/NativeShortEditor.java, | |
2683 | gnu/java/beans/editors/StringEditor.java, | |
2684 | gnu/java/io/ClassLoaderObjectInputStream.java, | |
2685 | gnu/java/io/decode/Decoder.java, | |
2686 | gnu/java/io/encode/Encoder.java, | |
2687 | gnu/java/lang/ClassHelper.java, | |
2688 | gnu/java/locale/Calendar.java, | |
2689 | gnu/java/locale/Calendar_de.java, | |
2690 | gnu/java/locale/Calendar_en.java, | |
2691 | gnu/java/locale/Calendar_nl.java, | |
2692 | gnu/java/locale/LocaleInformation_de.java, | |
2693 | gnu/java/locale/LocaleInformation_en.java, | |
2694 | gnu/java/locale/LocaleInformation_nl.java: | |
2695 | Cleaned up imports. | |
2696 | ||
4d4fed15 BM |
2697 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
2698 | ||
2699 | * README: Remove obsolete info. Update bug URL. | |
2700 | * THANKS: Updated. | |
e90bcbf5 | 2701 | * NEWS: Updated with news up to GCC 3.4 release. |
4d4fed15 | 2702 | |
64d696b6 BM |
2703 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
2704 | ||
2705 | * gnu/java/security/action/GetPropertyAction.java (setParameters): | |
2706 | Renamed from 'setName'. New 2-argument form with default value. | |
2707 | (run): Pass default 'value' parameter to System.getProperty(). | |
2708 | * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc | |
2709 | typos. | |
2710 | * gnu/java/net/protocol/http/Connection.java: Use 'setParameters' | |
2711 | not 'setName'. | |
2712 | ||
f0faf24b BM |
2713 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
2714 | ||
2715 | * configure.in: Check for minimum GTK version 2.4 requirement. | |
2716 | * configure: Rebuilt. | |
2717 | ||
ce961468 BM |
2718 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
2719 | ||
2720 | * testsuite/libjava.lang/TLtest.java: Reduce sleep time. | |
2721 | * testsuite/libjava.lang/Thread_Alive.java: Remove old email address. | |
2722 | Reduce sleep time. | |
2723 | * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around | |
2724 | compiler bug. | |
2725 | * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email | |
2726 | address. Reduce sleep times. Synchronize with target threads before | |
2727 | attempting to interrupt them. Don't try to calibrate yeild count, | |
2728 | instead, always loop for a fixed time. | |
2729 | * testsuite/libjava.lang/Thread_Join.java: Remove old email address. | |
2730 | * testsuite/libjava.lang/Thread_Monitor.java: Likewise. | |
2731 | * testsuite/libjava.lang/Thread_Wait.java: Likewise. | |
2732 | * testsuite/libjava.lang/Thread_Wait_2.java: Likewise. | |
2733 | * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise. | |
2734 | * testsuite/libjava.lang/pr179.java: Likewise. | |
2735 | * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep | |
2736 | time. Remove upper bounds check on sleep time. | |
2737 | ||
0954f3eb BM |
2738 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
2739 | ||
2740 | * testsuite/libjava.lang/Thread_HoldsLock.java: New test case. | |
2741 | * testsuite/libjava.lang/Thread_HoldsLock.out: New. | |
2742 | ||
d078f7c0 BM |
2743 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
2744 | ||
2745 | * java/io/File.java (toURI): Throw RuntimeException, not | |
2746 | InternalError. | |
2747 | * java/lang/Runtime.java (exit): Qualify static sleep() call with | |
2748 | class name, not instance. | |
2749 | ||
8b66a9e9 BM |
2750 | 2004-07-24 Bryce McKinlay <mckinlay@redhat.com> |
2751 | ||
2752 | * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java | |
2753 | and gnu/java/security/action/SetAccessibleAction.java. | |
2754 | * Makefile.in: Rebuilt. | |
2755 | ||
ffe4e037 BM |
2756 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
2757 | ||
2758 | * prims.cc (_Jv_InitPrimClass): Don't create an array class. | |
2759 | (_Jv_CreateJavaVM): Don't pass array vtable parameter to | |
2760 | _Jv_InitPrimClass. | |
2761 | (DECLARE_PRIM_TYPE): Don't declare array vtables. | |
2762 | * include/jvm.h (struct _Jv_ArrayVTable): Removed. | |
2763 | * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration. | |
2764 | ||
ef05818b TF |
2765 | 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> |
2766 | ||
2767 | * Makefile.am: Replace jar, rmic and rmiregistry references with | |
2768 | gjar, grmic and grmiregistry. | |
2769 | * configure.in: Likewise. | |
2770 | * Makefile.in: Regenerate. | |
2771 | * configure: Likewise. | |
2772 | * gcj/Makefile.in: Likewise. | |
2773 | * include/Makefile.in: Likewise. | |
2774 | * testsuite/Makefile.in: Likewise. | |
2775 | ||
ae066484 BM |
2776 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
2777 | ||
ec5c28ec BM |
2778 | * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction |
2779 | for privileged getProperty calls. | |
2780 | * java/io/ObjectOutputStream.java (getField): No longer static. Use | |
2781 | SetAccessibleAction instead of anonymous class for doPrivileged call. | |
2782 | (getMethod): Likewise. | |
2783 | (setAccessible): New field. PrivilegedAction object to use when | |
2784 | calling setAccessible. | |
2785 | * java/io/ObjectStreamClass.java (calculateOffsets): Use | |
2786 | SetAccessibleAction instead of anonymous class for diPrivileged call. | |
2787 | (setFields): Likewise. | |
2788 | (getClassUID): Likewise. | |
2789 | (findMethod): Likewise. | |
2790 | * gnu/java/security/action/GetPropertyAction.java: New class. | |
2791 | * gnu/java/security/action/SetAccessibleAction.java: New class. | |
2792 | ||
2793 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> | |
2794 | ||
2795 | * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset' | |
2796 | for final fields. | |
ae066484 BM |
2797 | * testsuite/libjava.lang/Serialization.java: New test. |
2798 | * testsuite/libjava.lang/Serialization.out: New. | |
2799 | ||
2800 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> | |
694e657a MW |
2801 | |
2802 | * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file | |
2803 | missed in last commit. | |
2804 | ||
392abf6b MW |
2805 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
2806 | ||
2807 | * java/lang/System.java (static): Set http.agent system property when | |
2808 | not yet set. | |
2809 | * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent | |
2810 | from system property inside AccessController.doPrivileged() call. | |
2811 | (proxyPort): Made package private. | |
2812 | (proxyInUse): Likewise. | |
2813 | (proxyHost): Likewise. | |
2814 | (userAgent): Likewise. | |
2815 | ||
6d97cb60 MW |
2816 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
2817 | ||
2818 | * gnu/java/net/DefaultContentHandlerFactory.java: New dummy | |
2819 | implementation. | |
2820 | ||
f1f90ae0 BM |
2821 | 2004-07-22 Bryce McKinlay <mckinlay@redhat.com> |
2822 | ||
2823 | * Makefile.am (ordinary_java_source_files): Add | |
2824 | DefaultContentHandlerFactory.java. | |
2825 | * Makefile.in: Rebuilt. | |
2826 | * java/net/URLConnection.java (defaultFactory): New field. | |
2827 | (getContent): | |
2828 | (getContentHandler): Renamed from 'setContentHandler'. Try | |
2829 | defaultFactory after user-set factory, if any. Search for content | |
2830 | handler implementations in gnu.java.net.content, not gnu.gcj.content. | |
2831 | * gnu/java/net/protocol/file/Connection.java (getHeaderField): | |
2832 | Implemented. | |
2833 | (getLastModified): Implemented. | |
2834 | (getPermission): Create file permission here, instead of in | |
2835 | constructor. | |
2836 | * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField): | |
2837 | Implemented. | |
2838 | * gnu/java/net/protocol/jar/Connection.java (getHeaderField): | |
2839 | Implemented. | |
2840 | (getLastModified): Implemented. | |
2841 | * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New. | |
2842 | Default implementation. | |
2843 | * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New. | |
2844 | Implement using GdkPixbufDecoder. | |
2845 | ||
8e99fb4f GH |
2846 | 2004-07-21 Michael Koch <konqueror@gmx.de> |
2847 | ||
2848 | * javax/swing/JTextArea.java | |
2849 | (setLineWrap): Fire property change event after new value is set. | |
2850 | (setTabSize): Likewise. | |
2851 | ||
2852 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
2853 | ||
2854 | * javax/swing/JTable.java | |
2855 | (autoCreateColumnsFromModel): New field. | |
2856 | (autoResizeMode): Likewise. | |
2857 | (cellEditor): Likewise. | |
2858 | (cellSelectionEnabled): Likewise. | |
2859 | (columnModel): Likewise. | |
2860 | (dataModel): Likewise. | |
2861 | (defaultEditorsByColumnClass): Likewise. | |
2862 | (defaultRenderersByColumnClass): Likewise. | |
2863 | (editingColumn): Likewise. | |
2864 | (editingRow): Likewise. | |
2865 | (gridColor): Likewise. | |
2866 | (preferredViewportSize): Likewise. | |
2867 | (rowHeight): Likewise. | |
2868 | (rowMargin): Likewise. | |
2869 | (rowSelectionAllowed): Likewise. | |
2870 | (selectionBackground): Likewise. | |
2871 | (selectionForeground): Likewise. | |
2872 | (selectionModel): Likewise. | |
2873 | (showHorizontalLines): Likewise. | |
2874 | (showVerticalLines): Likewise. | |
2875 | (tableHeader): Likewise. | |
2876 | (JTable): Implemented. | |
2877 | (getColumnModel): Likewise. | |
2878 | (getSelectedRow): Likewise. | |
2879 | (getSelectionModel): Likewise. | |
2880 | (setModel): Likewise. | |
2881 | (setSelectionModel): Likewise. | |
2882 | (createScrollPaneForTable): New method. | |
2883 | (createDefaultDataModel): Likewise. | |
2884 | (createDefaultListSelectionModel): Likewise. | |
2885 | (getModel): Likewise. | |
2886 | (getTableHeader): Likewise. | |
2887 | (setTableHeader): Likewise. | |
2888 | (getColumnSelectionAllowed): Likewise. | |
2889 | (setColumnSelectionAllowed): Likewise. | |
2890 | (getRowSelectionAllowed): Likewise. | |
2891 | (setRowSelectionAllowed): Likewise. | |
2892 | (getAutoResizeMode): Likewise. | |
2893 | (setAutoResizeMode): Likewise. | |
2894 | (getColumnCount): Likewise. | |
2895 | (getRowCount): Likewise. | |
2896 | (getCellRenderer): Likewise. | |
2897 | * javax/swing/JTree.java | |
2898 | (cellRenderer): New field. | |
2899 | (editable): Likewise. | |
2900 | (rootVisible): Likewise. | |
2901 | (showsRootHandles): Likewise. | |
2902 | (getModel): New method. | |
2903 | (setModel): Likewise. | |
2904 | (isEditable): Likewise. | |
2905 | (setEditable): Likewise. | |
2906 | (isRootVisbile): Likewise. | |
2907 | (setRootVisible): Likewise. | |
2908 | (getShowsRootHandles): Likewise. | |
2909 | (setShowRootHandles): Likewise. | |
2910 | (getCellRenderer): Likewise. | |
2911 | (setCellRenderer): Likewise. | |
2912 | ||
2913 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
2914 | ||
2915 | * javax/swing/JFormattedTextField.java | |
2916 | (setDocument): Implemented. | |
2917 | * javax/swing/JRootPane.java: | |
2918 | Fixed javadocs. | |
2919 | * javax/swing/JTable.java | |
2920 | (getDefaultRenderer): New method. | |
2921 | * javax/swing/JTextField.java | |
2922 | (setFont): Likewise. | |
2923 | (getPreferredSize): Likewise. | |
2924 | * javax/swing/JToggleButton.java | |
2925 | (getAccessibleContext): Fix javadoc. | |
2926 | * javax/swing/JTree.java: | |
2927 | Add some javadocs. | |
2928 | * javax/swing/JViewport.java: | |
2929 | Likewise. | |
2930 | ||
2931 | 2004-07-21 David Jee <djee@redhat.com> | |
2932 | ||
2933 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: | |
2934 | Collect all native method declaration at the top. | |
2935 | (create): Set the filename filter if necessary. | |
2936 | (setDirectory): Call nativeSetDirectory(). | |
2937 | (setFilenameFilter): Implement. | |
2938 | (filenameFilterCallback): New method. | |
2939 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
2940 | (create): Configure dialog to show hidden files. | |
2941 | (filenameFilterCallback): New function. | |
2942 | (nativeSetFilenameFilter): New function. | |
2943 | (nativeSetDirectory): New function. | |
2944 | ||
2945 | 2004-07-21 Kim Ho <kho@redhat.com> | |
2946 | ||
2947 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
2948 | Ran Jalopy. | |
2949 | (paintTrack): Fill the track before painting | |
2950 | the borders. | |
2951 | ||
2952 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
2953 | ||
2954 | patch from Roman Kennke <roman@ontographics.com> | |
2955 | * javax/swing/Spring.java: New file. | |
2956 | * javax/swing/SpringLayout.java: New file. | |
2957 | * Makefile.am: Add new files. | |
2958 | * Makefile.in: Regenerate. | |
2959 | ||
2960 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
2961 | ||
2962 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes. | |
2963 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
2964 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
2965 | ||
2966 | 2004-07-21 Kim Ho <kho@redhat.com> | |
2967 | ||
2968 | * javax/swing/DefaultDesktopManager.java: | |
2969 | (findMinimum): Removed. | |
2970 | (resizeFrame): Trust the UI to pass valid | |
2971 | bounds. | |
2972 | * javax/swing/JOptionPane.java: | |
2973 | Implemented showInternalXXXDialog methods. | |
2974 | (startModal): New method. | |
2975 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
2976 | (BorderListener::mouseDragged): Verify that the new | |
2977 | bounds are valid before passing them to the DesktopManager. | |
2978 | (preferredLayoutSize): Delegate | |
2979 | to getSize. | |
2980 | (minimumLayoutSize): Ditto. | |
2981 | (getSize): New method. | |
2982 | (GlassPaneDispatcher): Reimplemented by copying | |
2983 | a stripped down LightweightDispatcher from Container. | |
2984 | (getMinimumSize): Call minimumLayoutSize. | |
2985 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
2986 | Ran Jalopy. | |
2987 | (mousePressed): Add ability to properly close | |
2988 | JInternalFrames. | |
2989 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
2990 | (DragWindow): Set owner for DragWindow. | |
2991 | ||
2992 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
2993 | ||
2994 | * java/awt/image/ShortLookupTable.java: New file. | |
2995 | * java/awt/image/ByteLookupTable.java: New file. | |
2996 | * Makefile.am: Added new files. | |
2997 | * Makefile.in: Regenerated. | |
2998 | ||
2999 | 2004-07-21 David Jee <djee@redhat.com> | |
3000 | ||
3001 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
3002 | (create(GtkContainerPeer)): New native method. | |
3003 | (create()): Call native create(), passing in the parent frame | |
3004 | as the paramter. Natively set the current file and directory. | |
3005 | (setFile): Construct an absolute filename before passing it to | |
3006 | the native peer. | |
3007 | (nativeGetDirectory): New method. | |
3008 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
3009 | (window_closed): Removed. | |
3010 | (ok_clicked): Likewise. | |
3011 | (cancel_clicked): Likewise. | |
3012 | (handle_response): New method. | |
3013 | (create): Use GtkFileChooserDialog. | |
3014 | (connectSignals): Connect to handle_response. | |
3015 | (nativeGetDirectory): New method. | |
3016 | (nativeSetFile): Use GtkFileChooserDialog. | |
3017 | ||
3018 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
3019 | ||
3020 | * java/awt/image/LookupTable.java: New file. | |
3021 | * Makefile.am: Added new file. | |
3022 | * Makefile.in: Regenerated. | |
3023 | ||
3024 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
3025 | ||
3026 | * java/awt/image/Kernel.java: New file. | |
3027 | * Makefile.am: Added new file. | |
3028 | * Makefile.in: Regenerated. | |
3029 | ||
3030 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3031 | ||
3032 | * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs. | |
3033 | * javax/swing/JMenu.java: Likewise. | |
3034 | * javax/swing/JMenuBar.java: Likewise. | |
3035 | (MARGIN_CHANGED_PROPERTY): New property. | |
3036 | (setMargin): Implemented. | |
3037 | * javax/swing/JMenuItem.java: Fixed javadocs. | |
3038 | * javax/swing/JPopupMenuUI.java: Fixed javadocs. | |
3039 | (LABEL_CHANGED_PROPERTY): New property. | |
3040 | (add): changed to use createActionComponent. | |
3041 | (createActionComponent): Implemented. | |
3042 | (setLabel): Fire PropertyChangeEvent if label property | |
3043 | changes. | |
3044 | * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs. | |
3045 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
3046 | (ContainerHandler): Repaint if margin property has changed. | |
3047 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3048 | (installUI): Call installComponents(). | |
3049 | (uninstallUI): Call uinstallComponents(). | |
3050 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3051 | Fixed javadocs. | |
3052 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
3053 | Likewise. | |
3054 | ||
3055 | 2004-07-21 Kim Ho <kho@redhat.com> | |
3056 | ||
3057 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
3058 | (DragWindow): Use the right constructor. | |
3059 | ||
3060 | 2004-07-21 Kim Ho <kho@redhat.com> | |
3061 | ||
3062 | * javax/swing/JToolBar.java: | |
3063 | (layoutContainer): Use getComponents. | |
3064 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
3065 | (DragWindow): Don't use SwingUtilities' | |
3066 | getOwnerFrame | |
3067 | (ToolBarDialog): ditto. | |
3068 | ||
3069 | 2004-07-21 Kim Ho <kho@redhat.com> | |
3070 | ||
3071 | * javax/swing/JRootPane.java: | |
3072 | Ran jalopy. | |
3073 | (layoutContainer): Set the glasspane's size to | |
3074 | be the same as the content pane. | |
3075 | (createGlassPane): Set opaque property to false. | |
3076 | ||
3077 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3078 | ||
3079 | * java/awt/Component.java (requestFocus()): Don't handle Panels | |
3080 | specially. | |
3081 | (requestFocus(boolean)): Likewise. | |
3082 | (requestFocusInWindow(boolean)): Likewise. | |
3083 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create): | |
3084 | Set GTK_CAN_FOCUS flag. | |
3085 | ||
3086 | 2004-07-21 Kim Ho <kho@redhat.com> | |
3087 | ||
3088 | * Makefile.am: Added new file. | |
3089 | * Makefile.in: Regenerated. | |
3090 | * gcj/Makefile.in: Regenerated. | |
3091 | * include/Makefile.in: Regenerated. | |
3092 | * javax/swing/AbstractButton.java: | |
3093 | Add rollOverEnabled property. | |
3094 | (setRolloverEnabled): Use new property. | |
3095 | (isRolloverEnabled): Use new property. | |
3096 | * javax/swing/JTabbedPane.java: | |
3097 | (setComponent): Remove useless JTabbedPane.this. | |
3098 | * javax/swing/JToolBar.java: Finish implementation. | |
3099 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
3100 | (paint): Moved border painting to a border. | |
3101 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
3102 | Change JToolBar look and feel defaults. | |
3103 | * javax/swing/plaf/basic/BasicOptionPaneUI.java | |
3104 | (actionPerformed): Return Integer index instead of name. | |
3105 | (addButtonComponents): Check to see if component is | |
3106 | JButton last. | |
3107 | (createMessageArea): Don't use components that are not | |
3108 | completed yet. | |
3109 | (getIconForType): Use temporary icons. | |
3110 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
3111 | (mousePressed): Do not return if it's on thumb. | |
3112 | (paintMinorTickForHorizSlider): Use BLACK to paint ticks. | |
3113 | (paintMinorTickForVertSlider): ditto. | |
3114 | (paintMajorTickForHorizSlider): ditto. | |
3115 | (paintMajorTickForVertSlider): ditto. | |
3116 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
3117 | Add a border around the SplitPaneDivider. | |
3118 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: | |
3119 | Remove comments. | |
3120 | * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java: | |
3121 | New file. Implemented. | |
3122 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
3123 | Implemented. | |
3124 | * testsuite/Makefile.in: Regenerated. | |
3125 | ||
3126 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
3127 | ||
3128 | * javax/swing/Timer.java (run): Queue events each time cycle. | |
3129 | ||
3130 | 2004-07-21 David Jee <djee@redhat.com> | |
3131 | ||
3132 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
3133 | (imageComplete): Call image.imageComplete(). | |
3134 | * java/awt/image/MemoryImageSource.java: | |
3135 | Reimplement consumers as a Vector instead of a Hashtable. This is | |
3136 | because enumeration on a Hashtable is not thread-safe. | |
3137 | (addConsumer): Adapt to Vector consumers. | |
3138 | (isConsumer): Adapt to Vector consumers. | |
3139 | (removeConsumer): Adapt to Vector consumers. | |
3140 | (startProduction): Adapt to Vector consumers. Call imageComplete() | |
3141 | with STATICIMAGEDONE flag instead of SINGLEFRAME flag. | |
3142 | (newPixels): Adapt to Vector consumers. | |
3143 | (sendPicture): Set the color model of the image consumer. | |
3144 | (newPixels(IIII)): Adapt to Vector consumers. | |
3145 | (newPixels(IIIIB)): Adapt to Vector consumers. | |
3146 | ||
3147 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3148 | ||
3149 | * java/awt/Component.java (deliverEvent): Implement. | |
3150 | (postEvent): Implement. | |
3151 | (handleEvent): Implement. | |
3152 | (translateEvent): New method. | |
3153 | (dispatchEventImpl): Document. Add AWT 1.0 event handling. | |
3154 | * java/awt/Container.java (deliverEvent): Implement. | |
3155 | * java/awt/Event.java (paramString): Fix formatting. | |
3156 | * java/awt/Font.java (toString): Likewise. | |
3157 | * java/awt/Window.java (postEvent): Implement. | |
3158 | ||
3159 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3160 | ||
3161 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
3162 | Set window's focus owner upon receiving a FOCUS_LOST event. | |
3163 | * java/awt/Window.java (Window()): Refocus the previously | |
3164 | focused component within the window when the window regains the | |
3165 | top-level focus. | |
3166 | (setFocusOwner): New method. | |
3167 | * java/awt/Component.java (requestFocus): Add FIXME. | |
3168 | ||
3169 | * libgcj.pc.in: Remove library flags. | |
3170 | ||
3171 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3172 | ||
3173 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle | |
3174 | MOUSE_PRESSED event. | |
3175 | * java/awt/Component.java (requestFocus()): Handle Panel | |
3176 | specially. Post FOCUS_LOST event on opposite component. | |
3177 | (requestFocus(boolean)): Likewise. | |
3178 | (requestFocusInWindow(boolean)): Likewise. | |
3179 | (paramString): Reorder dimension fields. | |
3180 | * java/awt/Container.java (paramString): Fix string format. | |
3181 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
3182 | Handle FOCUS_LOST events. Don't handle Windows specially. Only | |
3183 | process key events if the focus owner is non-null. | |
3184 | (dispatchKeyEvent): Likewise. | |
3185 | * java/awt/Frame.java (paramString): Fix formatting. | |
3186 | (generateName): New method. | |
3187 | (getUniqueLong): Likewise. | |
3188 | * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if | |
3189 | the temporary focus owner is null. If so, return the permanent | |
3190 | focus owner. | |
3191 | * java/awt/Panel.java (generateName): New method. | |
3192 | (getUniqueLong): Likewise. | |
3193 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework | |
3194 | signal handling to make callbacks more specific. | |
3195 | ||
3196 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3197 | ||
3198 | * javax/swing/text/Position.java | |
3199 | (Bias): Implemented. | |
3200 | ||
3201 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3202 | ||
3203 | * javax/swing/LookAndFeel.java | |
3204 | (provideErrorFeedback): New method. | |
3205 | ||
3206 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3207 | ||
3208 | * javax/swing/JTextArea.java | |
3209 | (tabSize): New field. | |
3210 | (getTabSize): New method. | |
3211 | (setTabSize): Likewise. | |
3212 | ||
3213 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3214 | ||
3215 | * javax/swing/ActionMap.java: | |
3216 | Fixed javadocs all over. | |
3217 | (serialVersionUID): Made private. | |
3218 | (parent): Don't explicitely initialize with default value. | |
3219 | (get): SImplified. | |
3220 | (keys): Reimplemented. | |
3221 | (allKeys): Likewise. | |
3222 | (convertSet): Removed. | |
3223 | * javax/swing/ComponentInputMap.java: | |
3224 | Fixed javadocs all over. | |
3225 | (ComponentInputMap): Implemented. | |
3226 | (put): Likewise. | |
3227 | (clear): Likewise. | |
3228 | (remove): Likewise. | |
3229 | (SetParent): Likewise. | |
3230 | (getComponent): Likewise. | |
3231 | * javax/swing/InputMap.java: | |
3232 | Fixed javadocs all over. | |
3233 | (serialVersionUID): Made private. | |
3234 | (parent): Don't explicitely initialize with default value. | |
3235 | (get): SImplified. | |
3236 | (keys): Reimplemented. | |
3237 | (allKeys): Likewise. | |
3238 | (convertSet): Removed. | |
3239 | ||
3240 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3241 | ||
3242 | * javax/swing/ActionMap.java, | |
3243 | javax/swing/ComponentInputMap.java, | |
3244 | javax/swing/InputMap.java, | |
3245 | javax/swing/table/DefaultTableColumnModel.java, | |
3246 | javax/swing/table/TableColumn.java, | |
3247 | javax/swing/table/TableColumnModel.java, | |
3248 | javax/swing/table/TableModel.java, | |
3249 | javax/swing/text/AbstractDocument.java, | |
3250 | javax/swing/text/TextAction.java: | |
3251 | Reformated. | |
3252 | ||
3253 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
3254 | ||
3255 | * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): | |
3256 | Make method non-static. | |
3257 | * javax/swing/AbstractButton.java: | |
3258 | Rename fields to match property names where possible. | |
3259 | (iconTextGap): New property. | |
3260 | * javax/swing/JCheckBox.java: Match AbstractButton changes. | |
3261 | (init) New method, call from after various constructors. | |
3262 | * javax/swing/JComponent.java (revalidate): | |
3263 | Invalidate before queueing repair. | |
3264 | * javax/swing/JList.java (getPreferredScrollableViewportSize): | |
3265 | Reimplement in terms of visibleRowCount property. | |
3266 | * javax/swing/JMenuButton.java: Match AbstractButton changes. | |
3267 | * javax/swing/JScrollPane.java (createScrollListener): | |
3268 | Remove tracing chatter. | |
3269 | * javax/swing/JToggleButton.java: Match AbstractButton changes. | |
3270 | * javax/swing/RepaintManager.java (addInvalidComponent): | |
3271 | Don't invalidate. | |
3272 | * javax/swing/ScrollPaneLayout.java: Various corrections to layout | |
3273 | calculations. | |
3274 | * javax/swing/SwingUtilities.java (layoutCompoundLabel): | |
3275 | Mimic sun behavior on top left/right positioning. | |
3276 | * javax/swing/ViewportLayout.java (preferredLayoutSize): | |
3277 | Remove mistaken use of preferredScrollableViewportSize here. | |
3278 | (layoutContainer): Use view's preferred size as basis. | |
3279 | * javax/swing/plaf/basic/BasicButtonUI.java: | |
3280 | Set, get, and use textIconGap property. | |
3281 | (paint) Paint text returned from layout (with ellipsis). | |
3282 | * javax/swing/plaf/basic/BasicListUI.java: | |
3283 | Remove tracing chatter, correct various minor calculations. | |
3284 | (getCellBounds): Update layout state before calculating. | |
3285 | * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin): | |
3286 | Use margin default similar to sun's. | |
3287 | * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon): | |
3288 | (createIncreaseIcon): Center icon, minimize margins. | |
3289 | (createDecreaseIcon): Likewise. | |
3290 | * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults): | |
3291 | Implement. | |
3292 | (installUI): Call it. | |
3293 | (uninstallDefaults): Implement. | |
3294 | (uninstallUI): Call it. | |
3295 | * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow): | |
3296 | Call existing Window constructor. | |
3297 | * javax/swing/plaf/basic/BasicViewportUI.java (paint): | |
3298 | Set clip before painting. | |
3299 | ||
3300 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3301 | ||
3302 | * javax/swing/JMenuItem.java: | |
3303 | (processMouseEvent): Reimplemented to deal with | |
3304 | mouse drag events. | |
3305 | (createMenuDragMouseEvent): New private helper method. | |
3306 | Creates MenuDragMouseEvent. | |
3307 | * javax/swing/MenuSelectionManager.java | |
3308 | (componentForPoint): Implemented. | |
3309 | (isComponentPartOfCurrentMenu): Made public. | |
3310 | (processMouseEvent): Reimplemented to deal with | |
3311 | mouse drag events. | |
3312 | (setSelectedPath): Corrected small mistake that caused | |
3313 | path to be set incorrectly. | |
3314 | (getPath): If given component is JMenu then also add this | |
3315 | menu's popup menu to the selected path. | |
3316 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3317 | (getPath): Ditto. | |
3318 | (getPreferredSize): Call getPreferredMenuItemSize(). | |
3319 | (getPreferredItemSize): Moved code from getPreferredSize to here. | |
3320 | (installListeners): Install MouseMotionListeners. | |
3321 | (MouseInputHandler): Pass mouse release event to MenuSelectionManager | |
3322 | if mouse wasn't released in the bounds of this menu item. | |
3323 | (MenuDragMouseHandler): Implemented. | |
3324 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3325 | (installListeners): Install MouseMotionListener and | |
3326 | MenuDrageMouseListener. | |
3327 | (MenuDragMouseHandler): Implemented. | |
3328 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
3329 | (uninstallListeners): Implemented. | |
3330 | ||
3331 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3332 | ||
3333 | * javax/swing/JCheckBox.java: Reformated. | |
3334 | (JCheckBox): Fixed all constructors. | |
3335 | (isBorderPaintedFlat): New method. | |
3336 | (setBorderPaintedFlat): New method. | |
3337 | * javax/swing/JEditorPane.java | |
3338 | (createEditorKitForContentType): Made public. | |
3339 | (scrollToReference): Likewise. | |
3340 | * javax/swing/JTextArea.java | |
3341 | (setLineWrap): Fire property change. | |
3342 | * javax/swing/JToggleButton.java | |
3343 | (JToggleButton): New constructor. | |
3344 | (JToggleButton): Simplified. | |
3345 | * javax/swing/text/AttributeSet.java | |
3346 | (FontAttribute): Renamed from FontCharacterAttribute. | |
3347 | * javax/swing/text/JTextComponent.java | |
3348 | (KeyBinBinding): Added javadoc. | |
3349 | (JTextComponent): Likewise. | |
3350 | (getAccessibleContext): Fixed javadoc. | |
3351 | * javax/swing/text/View.java | |
3352 | (View): Added javadoc. | |
3353 | * javax/swing/text/TabableView.java: New file. | |
3354 | * Makefile.am: Added javax/swing/text/TabableView.java. | |
3355 | * Makefile.in: Regenerated. | |
3356 | ||
3357 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
3358 | ||
3359 | * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter. | |
3360 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
3361 | (GtkErrorImage): New helper class. | |
3362 | (bufferedImageOrError): New helper method. | |
3363 | (createImage): Use it. | |
3364 | ||
3365 | 2004-07-21 David Jee <djee@redhat.com> | |
3366 | ||
3367 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
3368 | (setCaretPosition): Scroll the text view so the new caret position | |
3369 | is visible on screen. | |
3370 | ||
3371 | 2004-07-21 David Jee <djee@redhat.com> | |
3372 | ||
3373 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
3374 | (setBounds): Do not validate awtComponent here. | |
3375 | * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java | |
3376 | (getPreferredSize): New method. | |
3377 | * java/awt/ScrollPane.java | |
3378 | (ScrollPane): Set default size to 100x100. | |
3379 | (addNotify): If child is not a Panel, wrap it with a new Panel. | |
3380 | (paramString): Implement. | |
3381 | ||
3382 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3383 | ||
3384 | * javax/swing/JMenu.java: | |
3385 | (setSelected): Display popup menu only if this menu | |
3386 | is showing on the screen. | |
3387 | * javax/swing/JPopupMenu.java: | |
3388 | (processMouseEvent): Added comment. | |
3389 | (processKeyEvent): Likewise. | |
3390 | * javax/swing/MenuSelectionManager.java: | |
3391 | (clearSelectedPath): Only fireStateChanged() after | |
3392 | selected path was changed, not before. | |
3393 | (setSelectedPath): Likewise. | |
3394 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3395 | (paintMenuItem): Corrected position of menu item's | |
3396 | icon. | |
3397 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
3398 | (installUI): Correct setDefaultLightWeightPopupEnabled call. | |
3399 | (popupMenuCanceled): Reimplemented. | |
3400 | (popupMenuWillBecomeVisible): Select first menu item by default | |
3401 | when displaying free floating popup menus. | |
3402 | (TopWindowListener): Reimplemented. | |
3403 | ||
3404 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3405 | ||
3406 | * java/awt/Panel.java (dispatchEventImpl): Override to prevent | |
3407 | Panel from being painted twice when it is first shown. | |
3408 | ||
3409 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3410 | ||
3411 | * java/awt/Window.java: Reverted changes from my | |
3412 | previous patch for creating window without an owner. | |
3413 | * javax/swing/SwingUtilities.java: | |
3414 | (SwingUtilities.OwnerFrame): made static. | |
3415 | (OwnerFrame.setVisible): New method. Overridden with | |
3416 | empty implementation. | |
3417 | (OwnerFrame.isShowing): New method. Ovverridden | |
3418 | to return always true. | |
3419 | ||
3420 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3421 | ||
3422 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
3423 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3424 | (GtkComponentPeer): Remove temporary try/catch block. | |
3425 | (setVisible): Call show and hide. | |
3426 | (show): Make native. | |
3427 | (hide): Likewise. | |
3428 | (getArgs): Don't add "visible" argument. | |
3429 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3430 | (property_notify_predicate): Return Bool instead of int. | |
3431 | (find_layout): New function. | |
3432 | (connectJObject): Call find_layout. | |
3433 | (connectSignals): Likewise. | |
3434 | (moveLayout): Likewise. | |
3435 | (gtkLayoutSetVisible): Likewise. | |
3436 | ||
3437 | 2004-07-21 Mark Wielaard <mark@klomp.org> | |
3438 | ||
3439 | * java/awt/event/InvocationEvent.java (dispatch): Synchronize | |
3440 | on notifier object before calling notifyAll(). | |
3441 | ||
3442 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3443 | ||
3444 | * java/awt/Window.java: Changed constructors to use new | |
3445 | method that is described below. Constructors call this | |
3446 | methods only if newly created window should have an owner. | |
3447 | (setWindowOwner): New method. Implementation for | |
3448 | this method is moved from this(owner,configuration). | |
3449 | * javax/swing/JWindow.java: | |
3450 | (JWindow): Reimplement to use SwingUtilities.ownerFrame | |
3451 | instead of owner. | |
3452 | * javax/swing/SwingUtilities.java: | |
3453 | (ownerFrame): Change type of this field to OwnerFrame. | |
3454 | (getOwnerFrame): Changed to return object of type OwnerFrame. | |
3455 | (SwingUtilities.OwnerFrame): New class. Represents owner | |
3456 | of a Window that is not provided with one. | |
3457 | ||
3458 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3459 | ||
3460 | * javax/swing/AbstractButton.java: | |
3461 | (configurePropertiesFromAction): Set action command | |
3462 | to button's text by default if action command is not | |
3463 | explicitely specified. | |
3464 | * javax/swing/JMenu.java: Remove unnecessary listener | |
3465 | and methods relevant to it. | |
3466 | (setSelected): Reimplemented. | |
3467 | (menuSelectionChanged): Moved most part of implementation to | |
3468 | setSelected() and call it instead. | |
3469 | * javax/swing/JMenuItem.java: | |
3470 | (init): Comment out statement that sets paint_border to false. | |
3471 | (configurePropertiesFromAction): Do not set accelerator | |
3472 | for JMenu. | |
3473 | (menuSelectionChanged): Change selected index in the selection | |
3474 | model of menu item's parent. | |
3475 | * javax/swing/JPopupMenu.java: | |
3476 | (remove): Set constraints.fill field to GridBagConstraints.BOTH | |
3477 | instead of GridBagConstraints.HORIZONTAL. | |
3478 | (insert): Likewise. | |
3479 | (createActionChangeListener): Implemented. | |
3480 | (setVisible): Correct location of HeavyWeightMenu and | |
3481 | don't firePopupMenuCanceled(). | |
3482 | (menuSelectionChanged): Implemented. | |
3483 | (ActionChangeListener): New Listener. Implemented. | |
3484 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
3485 | (BasicMenuBarUI.ContainerHandler): Implemented. | |
3486 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3487 | (paintMenuItem): Uncommented out code that paints | |
3488 | icon, now that icons are working properly. | |
3489 | (PropertyChangeListener): Implemented. | |
3490 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
3491 | Added javadocs. | |
3492 | (topWindowListener): New field. | |
3493 | (Constructor): initialize topWindowListener. | |
3494 | (BasicPopupMenuUI.TopWindowListener): Implemented. | |
3495 | (BasicPopupMenuUI.PopupMenuHandler): Implemented. | |
3496 | (BasicPopupMenuUI.TopWindowListener): New ComponentListener. | |
3497 | Implemented. | |
8e99fb4f GH |
3498 | |
3499 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3500 | ||
3501 | * javax/swing/plaf/basic/BasicButtonUI.java | |
3502 | (paintFocus): Fixed method signature. | |
3503 | (paintButtonPressed): Likewise. | |
3504 | (paintButtonNormal): Likewise. | |
3505 | (paintText): New method. | |
3506 | * javax/swing/plaf/basic/BasicLabelUI.java | |
3507 | (paint): Re-indented. | |
3508 | * javax/swing/plaf/basic/BasicTextUI.java | |
3509 | (installUI): Set parent textComponent to opaque. | |
3510 | * javax/swing/text/DefaultHighlighter.java | |
3511 | (checkPositions): New helper method. | |
3512 | (addHighlight): Throws BadLocationException, check positions. | |
3513 | (changeHighlight): Likewise. | |
3514 | * javax/swing/text/EditorKit.java | |
3515 | (EditorKit): Implements Serializable. | |
3516 | * javax/swing/text/JTextComponent.java | |
3517 | (getUI): Added javadoc. | |
3518 | (setUI): Likewise. | |
3519 | (upadteUI): Added javadoc, don't revalidate and repaint. | |
3520 | ||
3521 | 2004-07-21 David Jee <djee@redhat.com> | |
3522 | ||
3523 | * java/awt/GridBagLayout.java | |
3524 | (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE. | |
3525 | * javax/swing/AbstractButton.java | |
3526 | (setText): Reindent. | |
3527 | * javax/swing/RepaintManager.java | |
3528 | (addInvalidComponent): Find the first ancestor that isValidateRoot(). | |
3529 | ||
3530 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3531 | ||
3532 | * javax/swing/JFormattedTextField.java | |
3533 | (value): New field. | |
3534 | (JFormattedTextField): Implemented. | |
3535 | (getValue): Likewise. | |
3536 | (setValue): Likewise. | |
3537 | * javax/swing/LookAndFeel.java | |
3538 | (getSupportsWindowDecorations): New method. | |
3539 | * javax/swing/UIDefaults.java: | |
3540 | Use java.beans.PropertyChangeSupport instead of doing all ourself. | |
3541 | (addPropertyChangeListener): Made public. | |
3542 | (addResourceBundle): Likewise. | |
3543 | (removeResourceBundle): Likewise. | |
3544 | (setDefaultLocale): Likewise. | |
3545 | * javax/swing/plaf/basic/BasicRootPaneUI.java | |
3546 | (BasicRootPaneUI): Implements PropertyChangeListener. | |
3547 | (propertyChange): New method. | |
3548 | * javax/swing/plaf/basic/BasicTextUI.java | |
3549 | (BasicHighlighter): New inner class. | |
3550 | (createHighlighter): New method. | |
3551 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
3552 | (DragWindow): Extends java.awt.Window. | |
3553 | * javax/swing/text/JTextComponent.java | |
3554 | (getDocument): Removed debug output. | |
3555 | * javax/swing/plaf/basic/BasicTextFieldUI.java, | |
3556 | javax/swing/text/DefaultHighlighter.java, | |
3557 | javax/swing/text/FieldView.java, | |
3558 | javax/swing/text/PlainView.java: New files. | |
3559 | * Makefile.am: Added new files. | |
3560 | * Makefile.in: Regenerated. | |
3561 | ||
3562 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3563 | ||
3564 | * javax/swing/JEditorPane.java | |
3565 | (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit. | |
3566 | (createEditorKitForContentType): Likewise. | |
3567 | * javax/swing/text/DefaultEditorKit.java | |
3568 | (serialVersionUID): Added constant field. | |
3569 | (EndOfLineStringPropery): Fixed typo. | |
3570 | (DefaultEditorKit): New constructor. | |
3571 | * javax/swing/text/Segment.java: | |
3572 | Import java.text.CharacterIterator. | |
3573 | * javax/swing/text/CharacterIterator.java, | |
3574 | javax/swing/text/PlainEditorKit.java: Removed. | |
3575 | * Makefile.am: Removed javax/swing/text/CharacterIterator.java and | |
3576 | javax/swing/text/PlainEditorKit.java. | |
3577 | * Makefile.in: Regenerated. | |
3578 | ||
3579 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3580 | ||
3581 | * javax/swing/JButton.java, | |
3582 | javax/swing/text/DefaultEditorKit.java, | |
3583 | javax/swing/text/EditorKit.java, | |
3584 | javax/swing/text/Segment.java, | |
3585 | javax/swing/text/StyledEditorKit.java: | |
3586 | Reformatted. | |
3587 | ||
3588 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3589 | ||
3590 | * javax/swing/ImageIcon.java | |
3591 | (file): Removed. | |
3592 | (description): Renamed from descr. | |
3593 | (ImageIcon): Added missing constructors. | |
3594 | (setParent): Removed. | |
3595 | (setImageObserver): New method. | |
3596 | (getImageObserver): New method. | |
3597 | (paintIcon): Handle observer = null. | |
3598 | * javax/swing/JButton.java | |
3599 | (removeNotify): Fixed javadoc. | |
3600 | (updateUI): Simplified. | |
3601 | * javax/swing/JRootPane.java | |
3602 | (serialVersionUID): New constant field. | |
3603 | * javax/swing/UIManager.java: | |
3604 | Fixed javadocs all over. | |
3605 | (setLookAndFeel): Throws UnsupportedLookAndFeelException. | |
3606 | * javax/swing/text/AbstractDocument.java | |
3607 | (createPosition): Throws BadLocationException. | |
3608 | (getText): Likewise. | |
3609 | (remove): Likewise. | |
3610 | * javax/swing/text/ComponentView.java | |
3611 | (modelToView): Likewise. | |
3612 | * javax/swing/text/DefaultEditorKit.java: | |
3613 | Made all public methods public. | |
3614 | (read): Throws BadLocationException and IOException. | |
3615 | (write): Likewise. | |
3616 | * javax/swing/text/EditorKit.java: | |
3617 | Made all public methods public. | |
3618 | (serialVersionUID): New constant field. | |
3619 | (clone): New method. | |
3620 | (read): Throws BadLocationException and IOException. | |
3621 | (write): Likewise. | |
3622 | * javax/swing/text/Segment.java | |
3623 | (array): Made public. | |
3624 | (count): Likewise. | |
3625 | (offset): Likewise. | |
3626 | (Segment): New constructors. | |
3627 | (clone): Reimplemented. | |
3628 | * javax/swing/text/StyledEditorKit.java | |
3629 | (serialVersionUID): New constant field. | |
3630 | ||
3631 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
3632 | ||
3633 | * java/awt/image/BufferedImage.java | |
3634 | (getSource): Implement. | |
3635 | * javax/swing/ImageIcon.java | |
3636 | (ImageIcon): Implement ctor. | |
3637 | * javax/swing/ScrollPaneLayout.java | |
3638 | (preferredLayoutSize): Be more careful about nulls. | |
3639 | ||
3640 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3641 | ||
3642 | * javax/swing/text/AttributeSet.java | |
3643 | (CharacterAttribute): New interface | |
3644 | (ColorAttribute): Likewise. | |
3645 | (FontCharacterAttribute): Likewise. | |
3646 | (ParagraphAttribute): Likewise. | |
3647 | * javax/swing/text/DefaultCaret.java | |
3648 | (moveCaret): New method. | |
3649 | (positionCaret): Likewise. | |
3650 | (repaint): Made protected. | |
3651 | * javax/swing/text/JTextComponent.java | |
3652 | (KeyBinding): Made it static. | |
3653 | * javax/swing/text/View.java | |
3654 | (getContainer): Honor parent == null. | |
3655 | ||
3656 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3657 | ||
3658 | * javax/swing/text/AbstractDocument.java: | |
3659 | Reformatted. | |
3660 | ||
3661 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3662 | ||
3663 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
3664 | Import javax.swing.UIManager explicitely. | |
3665 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
3666 | (ScrollingButton): Made it static. | |
3667 | ||
3668 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3669 | ||
3670 | * javax/swing/UIDefaults.java | |
3671 | (ActiveValue): Made public. | |
3672 | (LazyValue): Likewise. | |
3673 | * javax/swing/plaf/basic/BasicTextUI.java | |
3674 | (RootView): Reintroduced. | |
3675 | (view): Removed. | |
3676 | (rootView): New field. | |
3677 | (installUI): Create document if needed, initialize rootView. | |
3678 | (uninstallUI): Hanle rootView. | |
3679 | (paint): Likewise. | |
3680 | (getRootView): Likewise. | |
3681 | (setView): Likewise. | |
3682 | * javax/swing/text/DefaultCaret.java: | |
3683 | Renamed all "evt" variables to "event". | |
3684 | ||
3685 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3686 | ||
3687 | * libgcj.spec.in: Add -l-java-util-logging. | |
3688 | ||
3689 | 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch> | |
3690 | ||
3691 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
3692 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case | |
3693 | gtk-xft-dpi can no calculate the right value. | |
3694 | (dpi_changed_cb): Mark *pspec as unsused. | |
3695 | ||
3696 | 2004-07-21 David Jee <djee@redhat.com> | |
3697 | ||
3698 | * java/awt/Component.java | |
3699 | (move): Delegate to setBounds(). | |
3700 | (resize): Likewise. | |
3701 | (reshape): Fix so it repaints parent and self only when necessary. | |
3702 | ||
3703 | 2004-07-21 David Jee <djee@redhat.com> | |
3704 | ||
3705 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
3706 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3707 | (GtkComponentPeer): Revert previous patch from 2004-06-22. | |
3708 | (setVisible): Likewise. | |
3709 | (show): Likewise. | |
3710 | (hide): Likewise. | |
3711 | (getArgs): Likewise. | |
3712 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3713 | (property_notify_predicate): Likewise. | |
3714 | (find_layout): Likewise. | |
3715 | (connectJObject): Likewise. | |
3716 | (connectSignals): Likewise. | |
3717 | (moveLayout): Likewise. | |
3718 | (gtkLayoutSetVisible): Likewise. | |
3719 | ||
3720 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
3721 | ||
3722 | * Makefile.am | |
3723 | (jv_convert_LDADD): | |
3724 | (gij_LDADD): | |
3725 | (rmic_LDADD): | |
3726 | (rmiregistry_LDADD): Add lib-java-util-logging.la | |
3727 | * Makefile.in: Regenerate. | |
3728 | ||
3729 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3730 | ||
3731 | * javax/swing/text/AbstractDocument.java | |
3732 | (replace): Dont use protected method of java.util.Vector directly. | |
3733 | ||
3734 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3735 | ||
3736 | * javax/swing/plaf/basic/BasicTextUI.java | |
3737 | (installUI): Call specialized install methods. | |
3738 | (installDefaults): New method. | |
3739 | (installListeners): Likewise. | |
3740 | (installKeyboardActions): Likewise. | |
3741 | (uninstallUI): Likewise. | |
3742 | (uninstallDefaults): New method. | |
3743 | (uninstallListeners): Likewise. | |
3744 | (uninstallKeyboardActions): Likewise. | |
3745 | (getPropertyPrefix): New abstract method. | |
3746 | (paint): Made final, just call paintSafely(). | |
3747 | (paintSavely): New method. | |
3748 | (paintBackground): Likewise. | |
3749 | (getVisibleEditorRect): Likewise. | |
3750 | * javax/swing/text/LayeredHighlighter.java, | |
3751 | javax/swing/text/TabExpander.java: New files. | |
3752 | * Makefile.am: Added javax/swing/text/LayeredHighlighter.java | |
3753 | and javax/swing/text/TabExpander.java. | |
3754 | * Makefile.in: Regenerated. | |
3755 | ||
3756 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3757 | ||
3758 | * javax/swing/plaf/basic/BasicTextUI.java | |
3759 | (BasicTextUI): Made abstract. | |
3760 | (BasicCaret): New inner class. | |
3761 | (view): Don't explicitely initialize with "null". | |
3762 | (textComponent): New field. | |
3763 | (textColor): Removed. | |
3764 | (disabledTextColor): Removed. | |
3765 | (normalBackgroundColor): Removed. | |
3766 | (RootView): Removed commented out inner class. | |
3767 | (createUI): Removed. | |
3768 | (createCaret): New method. | |
3769 | (getComponent): Likewise. | |
3770 | (installUI): Initialize textComponent only. | |
3771 | (getPreferredSize): Use installed JTextComponent. | |
3772 | (setView): New method. | |
3773 | (create): Likewise. | |
3774 | * javax/swing/text/JTextComponent.java | |
3775 | (highlighter): New field. | |
3776 | (caretColor): Likewise. | |
3777 | (disabledTextColor): Likewise. | |
3778 | (seletedTextColor): Likewise. | |
3779 | (selectionColor): Likewise. | |
3780 | (setUI): New method. | |
3781 | (getCaretColor): Likewise. | |
3782 | (setCaretColor): Likewise. | |
3783 | (getDisabledColor): Likewise. | |
3784 | (setDisabledColor): Likewise. | |
3785 | (getSelectedTextColor): Likewise. | |
3786 | (setSelectedTextColor): Likewise. | |
3787 | (getSelectionColor): Likewise. | |
3788 | (setSelectionColor): Likewise. | |
3789 | (getHighlighter): Likewise. | |
3790 | (setHighlighter): Likewise. | |
3791 | (replaceSelection): Likewise. | |
3792 | ||
3793 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3794 | ||
3795 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
3796 | (BasicScrollPaneUI): Implements ScrollPaneConstants. | |
3797 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
3798 | (BasicToolBarUI): Implements SwingConstants. | |
3799 | ||
3800 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3801 | ||
3802 | * javax/swing/JPopupMenu.java: Removed CVS tags. | |
3803 | * javax/swing/UIDefaults.java: Reformatted. | |
3804 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
3805 | Explicitely import used classes. | |
3806 | ||
3807 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3808 | ||
3809 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
3810 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3811 | (GtkComponentPeer): Remove temporary try/catch block. | |
3812 | (setVisible): Call show and hide. | |
3813 | (show): Make native. | |
3814 | (hide): Likewise. | |
3815 | (getArgs): Don't add "visible" argument. | |
3816 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3817 | (property_notify_predicate): Return Bool instead of int. | |
3818 | (find_layout): New function. | |
3819 | (connectJObject): Call find_layout. | |
3820 | (connectSignals): Likewise. | |
3821 | (moveLayout): Likewise. | |
3822 | (gtkLayoutSetVisible): Likewise. | |
3823 | ||
3824 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3825 | ||
3826 | * javax/swing/AbstractButton.java: | |
3827 | (setDisplayedMnemonicIndex): Check if button | |
3828 | text is not null before checking its length. | |
3829 | * javax/swing/JMenuItem.java: | |
3830 | (processMouseEvent): Disarm menu item if mouse has | |
3831 | exited it. | |
3832 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3833 | (MouseInputHandler.mouseEntered): Do not raise | |
3834 | popup menu if this menu is already selected. | |
3835 | (MouseInputHandler.mousePressed): Do not fire | |
3836 | MenuEvents. | |
3837 | (MenuHandler): Implemented. | |
3838 | ||
3839 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3840 | ||
3841 | * javax/swing/JCheckBoxMenuItem.java: Added Javadoc. | |
3842 | (getSelectedObjects): Implemented. | |
3843 | * javax/swing/JRadioButtonMenuItem.java: Added Javadoc. | |
3844 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: | |
3845 | Added javadoc for few methods. | |
3846 | (processMouseEvent): Made public. | |
3847 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java | |
3848 | (processMouseEvent): Likewise. | |
3849 | ||
3850 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
3851 | ||
3852 | * javax/swing/AbstractButton.java: | |
3853 | (init): Set display mnemonic index to -1. | |
3854 | (setMnemonic(char)): Use setMnemonic(int). | |
3855 | (setMnemonic(int)): Set display mnemonic index. | |
3856 | (getDisplayedMnemonicIndex): Change method signature | |
3857 | by removing 'index' parameter. | |
3858 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
3859 | Added default for Menu.selectionBackground. | |
3860 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3861 | (paintMenuItem): Change background color of the selected | |
3862 | menu item. | |
3863 | (paintText): Paint differently when menu item is disabled. | |
3864 | Also paint mnemonic if it appears in the menu item's label. | |
3865 | (paintAccelerator): Paint accelerator differently | |
3866 | if menu item is disabled. | |
3867 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3868 | (installDefaults): Install defaults for | |
3869 | selectionForeground and selectionBackground. | |
3870 | (uninstallDefaults): Uninstall defauls for | |
3871 | selectionForeground and selectionBackground. | |
3872 | ||
3873 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3874 | ||
3875 | * javax/swing/text/AbstractDocument.java | |
3876 | (BranchElement): Implemented. | |
3877 | (LeafElement): Implemented. | |
3878 | * javax/swing/text/DefaultCaret.java: | |
3879 | Import used classes. | |
3880 | (serialVersionUID): New constant. | |
3881 | * javax/swing/text/JTextComponent.java | |
3882 | (AccessibleJTextComponent): Removed dead declaration. | |
3883 | (caretPos): Removed. | |
3884 | (setCaret): New method. | |
3885 | * javax/swing/text/PlainDocument.java | |
3886 | (rootElement): New field. | |
3887 | (PlainDocument): Initialize rootElement. | |
3888 | (createDefaultRoot): New method. | |
3889 | (getDefaultRootElement): Implemented. | |
3890 | * javax/swing/text/View.java: Reformatted. | |
3891 | * javax/swing/text/ViewFactory.java | |
3892 | (create): Added javadoc. | |
3893 | ||
3894 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3895 | ||
3896 | * javax/swing/ToolTipManager.java: Reformatted. | |
3897 | ||
3898 | 2004-07-21 Rodimina Olga <rodimina@redhat.com> | |
3899 | ||
3900 | * javax/swing/AbstractButton.java | |
3901 | (changeEvent): New field. | |
3902 | (fireItemStateChanged): Change source of the event | |
3903 | to 'this' before firing it to button listeners. | |
3904 | (fireActionPerformed): Likewise. | |
3905 | (fireStateChanged): Likewise. | |
3906 | (createActionListener): Do not set source | |
3907 | of the event to AbstractButton. | |
3908 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
3909 | (ContainerHandler.componentAdded): Removed | |
3910 | print out statement. | |
3911 | (ContainerHandler.componentRemoved): Likewise. | |
3912 | ||
3913 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3914 | ||
3915 | * javax/swing/text/Highlighter.java: New file. | |
3916 | * Makefile.am: Added javax/swing/text/Highlighter.java. | |
3917 | * Makefile.in: Regenerated. | |
3918 | ||
3919 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3920 | ||
3921 | * javax/swing/ToolTipManager.java | |
3922 | (stillInsideTimerAction): Fixed constructor arguments. | |
3923 | (outsideTimerAction): Likewise. | |
3924 | (insideTimerAction): Likewise. | |
3925 | ||
3926 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3927 | ||
3928 | * javax/swing/JButton.java: Reformatted. | |
3929 | * javax/swing/JFormattedTextField.java | |
3930 | (getUIClassID): Implemented. | |
3931 | * javax/swing/JRootPane.java | |
3932 | (serialVersionUID): New constant. | |
3933 | * javax/swing/JTextField.java | |
3934 | (align): New field. | |
3935 | (JTextField): Simplified. | |
3936 | (getUIClassID): New method. | |
3937 | (getActionListeners): Added @since tag. | |
3938 | (setColumns): Invalidate layout and repaint. | |
3939 | (getHorizontalAlignment): New method. | |
3940 | (setHorizontalAlignment): New method. | |
3941 | (selectAll): Removed. | |
3942 | * javax/swing/SwingUtilities.java | |
3943 | (getAncestorOfClass): Removed redundant @see tag. | |
3944 | (isLeftMouseButton): Fixed implementation. | |
3945 | (isMiddleMouseButton): Likewise. | |
3946 | (isRightMouseButton): Likewise. | |
3947 | * javax/swing/text/AbstractDocument.java | |
3948 | (AttributeContext.addAttribute): New method. | |
3949 | (AttributeContext.addAttributes): New method. | |
3950 | (AttributeContext.getEmptySet): New method. | |
3951 | (AttributeContext.reclaim): New method. | |
3952 | (AttributeContext.removeAttribute): New method. | |
3953 | (AttributeContext.removeAttributes): New method. | |
3954 | * javax/swing/text/Document.java | |
3955 | (createPosition): Throws BadLocationException. | |
3956 | (getText): Likewise. | |
3957 | (remove): Likewise. | |
3958 | * javax/swing/text/JTextComponent.java | |
3959 | (getText): Return null if no document is set. Catch | |
3960 | BadLocationException. | |
3961 | (getUI): Return ui. | |
3962 | (updateUI): Simplified. | |
3963 | ||
3964 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
3965 | ||
3966 | * javax/swing/JButton.java | |
3967 | (removeNotify): Fixed javadoc. | |
3968 | (updateUI): Simplified. | |
3969 | ||
3970 | 2004-07-21 David Jee <djee@redhat.com> | |
3971 | ||
3972 | * gnu/java/awt/image/ImageDecoder.java | |
3973 | (startProduction): Only add consumer if it's not added yet. | |
3974 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
3975 | (GdkPixbufDecoder): Don't call initState() here. | |
3976 | (produce): Call initState() here, to ensure area_prepared and | |
3977 | area_updated signals are properly connected. | |
3978 | * gnu/java/awt/peer/gtk/GtkImage.java | |
3979 | (setColorModel): Use equals() to compare ColorModel objects. | |
3980 | (setPixels): Likewise. | |
3981 | * java/awt/image/ColorModel.java | |
3982 | (equals): Fix typo. Use Arrays.equals() to compare int arrays. | |
3983 | * java/awt/image/RGBImageFilter.java | |
3984 | (setColorModel): Set consumer's color model. | |
3985 | (setPixels): Use equals() to compare ColorModel objects. | |
3986 | ||
eecbcf54 BM |
3987 | 2004-07-21 Bryce McKinlay <mckinlay@redhat.com> |
3988 | ||
3989 | * java/net/URLConnection.java (position): New field. | |
3990 | (dateFormat1, dateFormat2, dateFormat3): Removed. | |
3991 | (dateFormats): New field. | |
3992 | (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition | |
3993 | each time instead of re-allocating. | |
3994 | (initializeDateFormats): Initialize 'dateFormats'. | |
3995 | ||
f82bb1be BM |
3996 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
3997 | ||
3998 | PR libgcj/16591 | |
3999 | * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS | |
4000 | is defined. | |
4001 | ||
f6bbce40 BM |
4002 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
4003 | ||
4004 | * java/net/Socket.java (getImpl): Now private. Remove comment. | |
4005 | ||
8246c778 BM |
4006 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
4007 | ||
4008 | * java/io/BufferedWriter.java (BufferedWriter): Use existing lock | |
4009 | of chained Writer when calling super-constructor. | |
4010 | * java/io/FilterWriter.java (FilterWriter): Likewise. | |
4011 | * java/io/PrintWriter.java (PrintWriter): Likewise. | |
4012 | ||
b4ffdef7 BM |
4013 | 2004-07-19 Bryce McKinlay <mckinlay@redhat.com> |
4014 | ||
4015 | * prims.cc (process_gcj_properties): Don't increment i within LHS | |
4016 | of assignment. | |
4017 | ||
963ddbd5 PB |
4018 | 2004-07-19 Per Bothner <per@bothner.com> |
4019 | ||
4020 | Print -verbose:message on "loading", not initialization. | |
4021 | * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order. | |
4022 | * defineclass.cc (_Jv_ClassReader::parse): Print message if | |
4023 | gcj::verbose_class_flag. | |
4024 | * java/lang/natClass.cc (initializeClass): Don't print message here. | |
4025 | * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was | |
4026 | _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message. | |
4027 | (_Jv_PrepareCompiledClass): Likewise. | |
4028 | ||
60557047 MK |
4029 | 2004-07-18 Matthias Klose <doko@debian.org> |
4030 | ||
4031 | * configure.in: Substitute target_noncanonical. | |
4032 | * configure: Regenerate | |
4033 | ||
1792f52d MK |
4034 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
4035 | ||
4036 | * java/lang/String.java: Fixed javadocs all over. | |
4037 | ||
baa61e09 MK |
4038 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
4039 | ||
4040 | * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate | |
4041 | when size is smaller. | |
4042 | * java/io/RandomAccessFile.java (setLength): Use truncate for | |
4043 | shrinking the file and seek plus write for expanding the file. | |
4044 | ||
4045 | 2004-07-17 Michael Koch <konqueror@gmx.de> | |
4046 | ||
4047 | * gnu/java/nio/channels/natFileChannelPosix.cc | |
4048 | (implTruncate): Always save current position. Only reposition file | |
4049 | pointer to where we started if not beyond new lenght. Reposition file | |
4050 | pointer to file length if it points beyond the end of file. | |
4051 | ||
6fd3cc05 MW |
4052 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
4053 | ||
4054 | * javax/swing/Box.java: Put FIXME comment above class declaration. | |
4055 | * javax/swing/JButton.java: Remove illegal L&F HTML from comments. | |
4056 | * javax/swing/JCheckBox.java: Likewise. | |
4057 | * javax/swing/JDialog.java: Likewise. | |
4058 | * javax/swing/JRadioButton.java: Likewise. | |
4059 | * javax/swing/JToggleButton.java: Likewise. | |
4060 | * javax/swing/UIManager.java: Likewise. | |
4061 | * javax/swing/border/TitledBorder.java: Likewise. | |
4062 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
4063 | * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise. | |
4064 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise. | |
4065 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
4066 | * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise. | |
4067 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
4068 | * javax/swing/text/JTextComponent.java: Likewise. | |
4069 | ||
320e32f6 MK |
4070 | 2004-07-17 Jeroen Frijters <jeroen@frijters.net> |
4071 | ||
4072 | * java/net/DatagramPacket.java (setAddress): Removed check for | |
4073 | null address. | |
4074 | ||
4075 | 2004-07-17 Michael Koch <konqueror@gmx.de> | |
4076 | ||
4077 | * java/net/DatagramSocket.java | |
4078 | (getLocalAddress): Check if socket is bound or not. | |
4079 | * java/net/Socket.java | |
4080 | (getLocalAddrss): Check if socket is bound or not. | |
4081 | (getPort): Return -1 when not connected. Dont check getImpl() for | |
4082 | null. | |
4083 | (setReuseAddress): Check if socket is closed. | |
4084 | (isConnected): Check if getImpl() returns null. | |
4085 | ||
10c383a4 MW |
4086 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
4087 | ||
4088 | * java/awt/event/InvocationEvent.java (dispatch): Synchronize | |
4089 | on notifier object before calling notifyAll(). | |
4090 | ||
2ccc5a95 MK |
4091 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
4092 | ||
4093 | * gnu/java/nio/channels/FileChannelImpl.java | |
4094 | (finalize): Added javadoc. | |
4095 | ||
61ce29b1 GL |
4096 | 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org> |
4097 | ||
4098 | * java/text/CollationElementIterator.java | |
4099 | (text_decomposition): Changed type to RuleBasedCollator.CollationElement[] | |
4100 | (setText): Use ArrayList instead of Vector. | |
4101 | ||
651ba822 MK |
4102 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
4103 | ||
4104 | * java/nio/ByteOrder.java | |
4105 | (static): Removed. Not needed. | |
4106 | Thanks to Patrick Reali for noticing. | |
4107 | * java/nio/charset/CharsetDecoder.java | |
4108 | (decode): Fix for classpath bug #9177: Reset state before flipping. | |
4109 | ||
e3fe5b9c MK |
4110 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
4111 | ||
4112 | * java/security/Security.java: Fixed javadocs all over. | |
4113 | ||
316a1df4 MK |
4114 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
4115 | ||
4116 | * gnu/java/awt/EmbeddedWindow.java | |
4117 | (static): Removed. | |
4118 | (addNotify): Set peer via reflection. | |
4119 | (setWindowPeer): Removed. | |
4120 | * gnu/java/awt/natEmbeddedWindow.cc: Removed. | |
4121 | * Makefile.am (nat_source_files): | |
4122 | Removed gnu/java/awt/natEmbeddedWindow.cc. | |
4123 | * Makefile.in: Regenerated. | |
4124 | ||
c0f43fa7 RE |
4125 | 2004-07-17 Richard Earnshaw <rearnsha@arm.com> |
4126 | ||
4127 | * configure.in(ZIP, GCJH): Remove white space around '=' in variable | |
4128 | assignment. | |
4129 | * configure: Regenerated. | |
4130 | ||
4c86f325 NN |
4131 | 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org> |
4132 | ||
b764adea NN |
4133 | * configure.in: Use build_noncanonical rather than build_alias. |
4134 | * configure: Rebuild. | |
4135 | ||
f11d297f NN |
4136 | * configure.in: Eliminate CANADIAN and NULL_TARGET variables |
4137 | by logic refactoring. Move default definition of NATIVE closer | |
4138 | to first alternate definition. | |
4139 | * configure: Regenerate. | |
4140 | ||
4c86f325 NN |
4141 | * Makefile.am: Set ZIP and GCJH directly using autoconf. |
4142 | * Makefile.in, include/Makefile.in, testsuite/Makefile.in, | |
4143 | gcj/Makefile.in: Regenerate. | |
4144 | * configure.in: Set ZIP and GCJH. Remove redundant condition | |
4145 | in AM_CONDITIONAL(NATIVE,...) | |
4146 | * configure: Regenerate. | |
4147 | ||
bc03b358 NN |
4148 | 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org> |
4149 | ||
ed2e3d33 NN |
4150 | * configure.in: Use target_noncanonical rather than |
4151 | target_alias for forward-compatibility with autoconf 2.59. | |
4152 | * configure: Regenerate. | |
4153 | * Makefile.am, gcj/Makefile.am, include/Makefile.am, | |
4154 | testsuite/Makefile.am: Substitute target_noncanonical. | |
4155 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
4156 | testsuite/Makefile.in: Regenerate. | |
4157 | ||
bc03b358 NN |
4158 | * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM. |
4159 | Introduce _GCC_TOPLEV_NONCANONICAL_TARGET. | |
4160 | * acinclude.m4: Include acx.m4. | |
4161 | * aclocal.m4: Regenerate. | |
4162 | * configure: Regenerate. | |
4163 | ||
cbd7a79b BM |
4164 | 2004-07-15 Bryce McKinlay <mckinlay@redhat.com> |
4165 | ||
4166 | PR libgcj/16574 | |
4167 | * java/sql/Timestamp.java (dateFormat): Renamed from sdf. | |
4168 | (decimalFormat): New static variable. | |
4169 | (sbuf): Likewise. | |
4170 | (getTime): New. Override Date.getTime(). | |
4171 | (toString): Synchronize. Use decimalFormat to format nanos value | |
4172 | correctly. Truncate extra zeros. | |
4173 | (before): Compare getNanos() only if getTime() is equal. | |
4174 | (after): Likewise. | |
4175 | ||
b2281cb3 NN |
4176 | 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org> |
4177 | ||
36609570 NN |
4178 | * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into... |
4179 | * configure.in: ...here. | |
4180 | * aclocal.m4: Regenerate. | |
4181 | * configure: Regenerate. | |
4182 | ||
b2281cb3 NN |
4183 | * aclocal.m4: Rebuilt with aclocal gcj-1.4. |
4184 | * configure: Rebuilt with autoconf 2.13. | |
4185 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
4186 | testsuite/Makefile.in: Rebuilt with automake gcj-1.4. | |
4187 | ||
b845ed9f BM |
4188 | 2004-07-14 Bryce McKinlay <mckinlay@redhat.com> |
4189 | ||
4190 | PR libgcj/16204 | |
4191 | * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable | |
4192 | large file support. | |
4193 | * Makefile.in: Rebuilt. | |
4194 | * testsuite/libjava.lang/LargeFile.java: New test case. | |
4195 | * testsuite/libjava.lang/LargeFile.out: New file. | |
4196 | ||
ade1907d JQ |
4197 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
4198 | ||
4199 | * java/beans/EventHandler.java: Remove debugging statements. | |
4200 | ||
12e8e7ea JQ |
4201 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
4202 | ||
4203 | * java/beans/EventHandler.java: New file. | |
4204 | * Makefile.am (awt_java_source_files): Add EventHandler.java. | |
4205 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
4206 | testsuite/Makefile.in: Regenerate. | |
4207 | ||
7cb73054 AT |
4208 | 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch> |
4209 | ||
4210 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation | |
4211 | flag to the gcj_setup. | |
4212 | (gcj_jacks_run): Check tclsh version and launch jacks directly with | |
4213 | the tclsh. | |
4214 | * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the | |
4215 | deprecation flag change. 58 XFAILS removed. | |
4216 | ||
220a826e UW |
4217 | 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
4218 | ||
4219 | * configure.host (DIVIDESPEC) [s390*-*-*]: Set to | |
4220 | -fno-use-divide-subroutine. | |
4221 | * include/s390-signal.h: Include <ucontext.h> and <limits.h>. | |
4222 | (HANDLE_FPE): Define. | |
4223 | (SIGNAL_HANDLER): Change third argument to ucontext_t *. | |
4224 | (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. | |
4225 | (HANDLE_DIVIDE_OVERFLOW): Define. | |
4226 | ||
c1b4f64d MK |
4227 | 2004-07-14 Michael Koch <konqueror@gmx.de> |
4228 | Matthias Klose <doko@debian.org> | |
4229 | ||
12e8e7ea | 4230 | * java/awt/im/InputContext.java: Initialize in, line. |
c1b4f64d | 4231 | |
5549179f UW |
4232 | 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com> |
4233 | ||
4234 | * interpret.cc (run): Correctly access libffi return values of | |
4235 | integral smaller-than-int type; these are implicitly promoted. | |
4236 | ||
6187fd28 BM |
4237 | 2004-07-13 Bryce McKinlay <mckinlay@redhat.com> |
4238 | ||
4239 | PR libgcj/7587 | |
4240 | * interpret.cc (compile_mutex): New. | |
4241 | (_Jv_InitInterpreter): New. Initialize compile_mutex. | |
4242 | (run): Lock compile_mutex before calling compile() if compilation is | |
4243 | required. | |
4244 | * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter(). | |
4245 | * include/java-interp.h (_Jv_InitInterpreter): Declare. | |
4246 | ||
7a1c3d48 BM |
4247 | 2004-07-12 Bryce McKinlay <mckinlay@redhat.com> |
4248 | ||
4249 | PR libgcj/15713 | |
4250 | * include/jvm.h (_Jv_value): New union type. | |
4251 | * gcj/field.h (_Jv_Field): Add new _addr union field variants | |
4252 | * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field | |
4253 | union members. | |
4254 | ||
717b2091 SG |
4255 | 2004-07-12 Scott Gilbertson <scottg@mantatest.com> |
4256 | ||
4257 | * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement. | |
4258 | * gnu/awt/xlib/XOffScreenImage.java | |
4259 | (XOffScreenImage): Add ImageConsumer interface. Add ColorModel | |
4260 | constructor argument. Add constructor using ImageProducer. | |
4261 | (getSource): Implement. | |
4262 | (imageComplete): New method. | |
4263 | (setColorModel): New method. | |
4264 | (setDimensions): New method. | |
4265 | (setHints): New method. | |
4266 | (setPixels): New method. | |
4267 | (setProperties): New method. | |
4268 | * gnu/gcj/xlib/GC.java (drawPoint): New native method. | |
4269 | * gnu/gcj/xlib/natGC.cc (drawPoint): New native method. | |
4270 | ||
31a7b755 BM |
4271 | 2004-07-11 Bryce McKinlay <mckinlay@redhat.com> |
4272 | ||
abd1b60d | 4273 | PR libgcj/16478 |
31a7b755 BM |
4274 | * prims.cc (_Jv_CreateJavaVM): Fix comment. |
4275 | * gnu/gcj/runtime/FinalizerThread.java (init): New. Native. | |
4276 | (finalizerReady): Now native. | |
4277 | (run): Likewise. | |
4278 | (runFinalizers): Removed. | |
4279 | * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use | |
4280 | a primitive lock, and don't hold it while running the finalizers. | |
4281 | (runFinalizers): Implement. Don't aquire any Java lock. | |
4282 | (finalizerReady): Use lock primitives to signal finalizer thread. | |
4283 | ||
eeb32988 MW |
4284 | 2004-07-11 Mark Wielaard <mark@klomp.org> |
4285 | ||
4286 | Reported by Roman Kennke <roman@ontographics.com> (bug #9331) | |
4287 | * java/net/URLStreamHandler.java (parseURL): When url file part | |
4288 | doesn't contain a '/' just ignore context. | |
4289 | ||
bbb362e6 UW |
4290 | 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com> |
4291 | ||
4292 | * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype. | |
4293 | (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. | |
4294 | (MAKE_THROW_FRAME): Do not modify PSW address. | |
4295 | (INIT_SEGV): Install SIGINFO-style signal handler. | |
4296 | (INIT_FPE): Likewise. | |
4297 | ||
33dc5b0b BM |
4298 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
4299 | ||
4300 | * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current | |
4301 | status. 21 xfail's removed, 1 added. | |
4302 | ||
a4548f27 BM |
4303 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
4304 | ||
4305 | * gcj/javaprims.h: Regenerate CNI namespace definitions. | |
4306 | ||
8f0ce8da IK |
4307 | 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org> |
4308 | ||
4309 | * java/text/MessageFormat.java | |
4310 | (formatInternal): Append "{n}" if argument n is unavailable. | |
4311 | (format(Object, StringBuffer, FieldPosition)): This | |
4312 | should be equivalent to format(Object[], | |
4313 | StringBuffer, FieldPosition). | |
4314 | ||
3ee7acd1 BM |
4315 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
4316 | ||
4317 | * java.util.Calendar.java (cache): New private static field. Cached | |
4318 | mappings of locales->calendar classes. | |
4319 | (ctorArgTypes): New private static field. Singleton argument for | |
4320 | calendar class constructor lookup. | |
4321 | (getInstance): Cache Locale->Calendar class mappings using HashMap. | |
4322 | Optimize by bypassing reflection instantiation for the | |
4323 | GregorianCalendar case. | |
4324 | ||
284d6a1f BM |
4325 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
4326 | ||
4327 | * java/util/Calendar.java: Use getSystemClassLoader as argument for | |
4328 | ResourceBundle.getBundle() calls. | |
4329 | * java/util/GregorianCalendar.java: Likewise. | |
4330 | * java/util/Currency.java: Likewise. | |
4331 | * java/text/BreakIterator.java: Likewise. | |
4332 | * java/text/Collator.java: Likewise. | |
4333 | * java/text/DateFormat.java: Likewise. | |
4334 | * java/text/DateFormatSymbols.java: Likewise. | |
4335 | * java/text/DecimalFormatSymbols.java: Likewise. | |
4336 | * java/text/NumberFormat.java: Likewise. | |
4337 | * java/awt/Window.java: Likewise. | |
4338 | ||
21f56031 BM |
4339 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
4340 | ||
4341 | * java/util/ResourceBundle.java (bundleCache): Renamed from | |
4342 | resourceBundleCache. Update comments. | |
4343 | (getObject): Don't catch MissingResourceException. | |
4344 | (getBundle(String)): Remove 'final'. Use system classloader if | |
4345 | getCallingClassLoader returned null. | |
4346 | (getBundle(String, Locale)): Likewise. | |
4347 | (BundleKey): New private class. HashMap key for bundle cache lookup. | |
4348 | (lookupKey): New. Singleton instance of BundleKey. | |
4349 | (nullEntry): New. Cache entry to represent failed lookups. | |
4350 | (getBundle(String, Locale, ClassLoader)): Re-written to use new | |
4351 | caching strategy, no-allocation lookup, and new tryBundle methods. | |
4352 | (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle | |
4353 | name using given classloader. | |
4354 | (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify | |
4355 | baseName for given Locale and attempt to load bundle. | |
4356 | ||
42c00752 BM |
4357 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
4358 | ||
4359 | * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove | |
4360 | illegal protected method calls. | |
4361 | ||
6e342fc1 BM |
4362 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
4363 | ||
4364 | Fix or remove some bogus test cases. | |
4365 | * testsuite/libjava.compile/pr10459_2.java: Removed. | |
4366 | * testsuite/libjava.compile/pr10459.java: Test using its own method, | |
4367 | not Object.clone(). | |
4368 | * testsuite/libjava.compile/inner_data.java: Test against its own | |
4369 | protected field. | |
4370 | ||
1f33f6b4 MK |
4371 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
4372 | ||
4373 | * scripts/unicode-muncher.pl: Updated to version 2.1 | |
4374 | from GNU classpath. Added some clarifications on where to find the | |
4375 | needed files from www.unicode.org. | |
4376 | * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html, | |
4377 | gnu/gcj/convert/UnicodeData-3.0.0.txt: | |
4378 | Removed, these can directly be downloaded from www.unicode.org if | |
4379 | needed. | |
4380 | * gnu/java/lang/CharData.java: Regenerated. | |
4381 | * include/java-chartables.h: Regenerated. | |
4382 | * Makefile.am (ordinary_java_source_files): | |
4383 | Removed gnu/java/lang/CharData.java. | |
4384 | * Makefile.in: Regenerated. | |
4385 | ||
771aacd3 MK |
4386 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
4387 | ||
4388 | * java/security/AccessControlContext.java, | |
4389 | java/security/SecureClassLoader.java: | |
4390 | Fixed javadocs. | |
4391 | ||
3d5f053c MK |
4392 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
4393 | ||
4394 | * java/io/ObjectInputStream.java (readFields): Use long datatype | |
4395 | when shifting byte values more then 24 bits left. | |
4396 | ||
d642571f MK |
4397 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
4398 | ||
4399 | * java/util/zip/DeflaterOutputStream.java, | |
4400 | java/util/zip/GZIPInputStream.java, | |
4401 | java/util/zip/GZIPOutputStream.java, | |
4402 | java/util/zip/InflaterInputStream.java: | |
4403 | Reformatted. Added javadocs. Reordered all stuff. | |
4404 | Renamed variables to be more clear. | |
4405 | ||
3042e24b MK |
4406 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
4407 | ||
4408 | * javax/imageio/IIOException.java, | |
4409 | javax/imageio/event/IIOReadProgressListener.java, | |
4410 | javax/imageio/event/IIOReadUpdateListener.java, | |
4411 | javax/imageio/event/IIOReadWarningListener.java, | |
4412 | javax/imageio/event/IIOWriteProgressListener.java, | |
4413 | javax/imageio/event/IIOWriteWarningListener.java: | |
4414 | New files. | |
4415 | * Makefile.am: Added new files. | |
4416 | * Makefile.in: Regenerated. | |
4417 | ||
4a738a82 GL |
4418 | 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org> |
4419 | ||
4420 | * java/text/RuleBasedCollator.java | |
4421 | (mergeRules): Use ArrayList instead of Vector. | |
4422 | (subParseString): likewise. | |
4423 | (parseString): likewise. | |
4424 | (buildCollationVector): likewise. | |
4425 | (getCollationKey): likewise. | |
4426 | ||
28e0ee76 DT |
4427 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
4428 | ||
4429 | * java/text/DateFormat.java (parse): | |
4430 | Improved javadoc. Improved exception message. | |
4431 | ||
2e54a860 MW |
4432 | 2004-07-09 Mark Wielaard <mark@klomp.org> |
4433 | ||
4434 | * gnu/java/nio/SelectorImpl.java (select): Call static Thread | |
4435 | interrupted() method to clear interupt flag of our Thread. | |
4436 | ||
23c41c08 DT |
4437 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
4438 | ||
4439 | * java/nio/Buffer.java, | |
4440 | java/nio/ByteBuffer.java, | |
4441 | java/nio/ByteBufferHelper.java, | |
4442 | java/nio/ByteBufferImpl.java, | |
4443 | java/nio/CharBuffer.java, | |
4444 | java/nio/CharBufferImpl.java, | |
4445 | java/nio/CharViewBufferImpl.java, | |
4446 | java/nio/DirectByteBufferImpl.java, | |
4447 | java/nio/DoubleBuffer.java, | |
4448 | java/nio/DoubleBufferImpl.java, | |
4449 | java/nio/DoubleViewBufferImpl.java, | |
4450 | java/nio/FloatBuffer.java, | |
4451 | java/nio/FloatBufferImpl.java, | |
4452 | java/nio/FloatViewBufferImpl.java, | |
4453 | java/nio/IntBuffer.java, | |
4454 | java/nio/IntBufferImpl.java, | |
4455 | java/nio/IntViewBufferImpl.java, | |
4456 | java/nio/LongBuffer.java, | |
4457 | java/nio/LongBufferImpl.java, | |
4458 | java/nio/LongViewBufferImpl.java, | |
4459 | java/nio/MappedByteBufferImpl.java, | |
4460 | java/nio/ShortBuffer.java, | |
4461 | java/nio/ShortBufferImpl.java, | |
4462 | java/nio/ShortViewBufferImpl.java: | |
4463 | Fixed javadocs all over. Improved input error | |
4464 | checking. | |
4465 | ||
4466 | * java/nio/Buffer.java | |
4467 | (checkForUnderflow, checkForOverflow, checkIndex, | |
4468 | checkIfReadOnly, checkArraySize): New helper methods | |
4469 | for error checking. | |
4470 | ||
4471 | * java/nio/ByteBufferHelper.java | |
4472 | (checkRemainingForRead, checkRemainingForWrite, | |
4473 | checkAvailableForRead, checkAvailableForWrite): Removed | |
4474 | no longer needed methods. | |
4475 | ||
e484d7d5 MK |
4476 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
4477 | ||
4478 | * gnu/regexp/CharIndexedInputStream.java: | |
4479 | Reordered imports to match classpath. | |
4480 | ||
3e518ab0 MK |
4481 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
4482 | ||
4483 | * gnu/java/awt/EmbeddedWindow.java: | |
4484 | Load native library for setWindowPeer method. | |
4485 | ||
8c5ac2c4 RC |
4486 | 2004-07-08 Randolph Chung <tausq@debian.org> |
4487 | ||
4488 | * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa. | |
4489 | * configure: Regenerate. | |
4490 | * configure.host: Set can_unwind_signal for hppa*-linux. | |
4491 | * include/pa-signal.h: New file. | |
4492 | ||
0bd24153 PB |
4493 | 2004-07-07 Per Bothner <per@bothner.com> |
4494 | ||
fedf5454 PB |
4495 | * Makefile.am: Add rules to build libgij from just gij.cc. |
4496 | ||
0bd24153 PB |
4497 | * include/jvm.h (namespace jcj): Declare verbose_class_flag |
4498 | * java/lang/natClass.cc (gcj::verbose_class_flag): New variable. | |
4499 | (initializeClass): If verbose_class_flag, print message. | |
4500 | * gij.cc (main): Handle -verbose:class flag. | |
4501 | ||
0e497b6c AT |
4502 | 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch> |
4503 | ||
4504 | * configure.host: Enable hash synchronization on Darwin. | |
4505 | * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of | |
4506 | ';', since this is a comment on Darwin. | |
4507 | (compare_and_swap_release): Likewise. | |
4508 | ||
c09bade6 ME |
4509 | 2004-07-06 Mohan Embar <gnustuff@thisiscool.com> |
4510 | ||
4511 | * java/net/URLStreamHandler.java (parseURL): Canonicalize | |
4512 | file portion of URL in addition to spec for file: protocol. | |
4513 | ||
23f99379 | 4514 | 2004-07-05 Anthony Green <green@redhat.com> |
0e497b6c | 4515 | |
23f99379 AG |
4516 | * java/io/File.java (toURI): Merge from Classpath. |
4517 | ||
a1433c46 BM |
4518 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
4519 | ||
4520 | * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry | |
4521 | before passing to URL constructor. Rethrow any MalformedURLException | |
4522 | as a RuntimeException. Catch MalformedURLException specifically, not | |
4523 | all exceptions. | |
0e497b6c | 4524 | |
a86f0372 BM |
4525 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
4526 | ||
4527 | * java/util/Locale.java (readObject): Intern strings read from object | |
4528 | stream. | |
4529 | ||
74fa958e MK |
4530 | 2004-07-04 Michael Koch <konqueror@gmx.de> |
4531 | ||
4532 | * gnu/gcj/runtime/FirstThread.java, | |
4533 | gnu/gcj/runtime/natFirstThread.cc: Removed. | |
4534 | * gnu/java/lang/MainThread.java, | |
4535 | gnu/java/lang/natMainThread.cc: New files. | |
4536 | * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread. | |
4537 | * Makefile.am: Added new files and removed deleted ones. | |
4538 | * Makefile.in: Regenerated. | |
4539 | ||
94fbf267 | 4540 | 2004-07-03 Mark Wielaard <mark@klomp.org> |
0e497b6c | 4541 | Anthony Green <green@redhat.com> |
94fbf267 AG |
4542 | |
4543 | * java/net/URL.java (getFile): Clarify return value doc. | |
4544 | (getPath): Return null if file is empty - not empty String. | |
4545 | (set): Convert protocol to lower case before doing anything. | |
4546 | Only change the protocol handler if it's different. | |
4547 | ||
4548 | 2004-07-03 Anthony Green <green@redhat.com> | |
4549 | ||
4550 | * java/net/URL.java (URL): Convert protocol to lower case before | |
4551 | doing anything, so we getURLStreamHandler() with the proper value. | |
4552 | ||
b5349c07 BM |
4553 | 2004-07-02 Bryce McKinlay <mckinlay@redhat.com> |
4554 | ||
4555 | * java/util/Locale.java (hashcode): Made transient. | |
4556 | (hashCode): No longer synchronized. | |
4557 | (equals): Remove comment. | |
4558 | (writeObject): No longer synchronized. Implement using writeObject | |
4559 | calls instead of tweaking hashCode field. Update doc. | |
4560 | (readObject): Implement using readObject calls. | |
4561 | ||
f8a57be8 GK |
4562 | 2004-06-26 Geoffrey Keating <geoffk@apple.com> |
4563 | Andreas Tobler <a.tobler@schweiz.ch> | |
4564 | ||
4565 | * configure.host (powerpc-*-darwin*): New case, define | |
4566 | can_unwind_signal. | |
4567 | * configure.in (*-*-darwin*): New case, point to darwin-signal.h. | |
4568 | * configure: Regenerate. | |
4569 | * include/darwin-signal.h: New. | |
4570 | ||
dcfbe7c7 JQ |
4571 | 2004-06-30 Jerry Quinn <jlquinn@optonline.net> |
4572 | ||
4573 | * java/beans/Statement.java (doExecute): Fix formatting. | |
4574 | ||
8319dc87 PB |
4575 | 2004-06-29 Per Bothner <per@bothner.com> |
4576 | ||
4577 | * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef, | |
4578 | etc etc): Remove needless parenthesis, which causes __stdcall__ | |
4579 | attribute on MinGW to get ignored. | |
4580 | ||
b4bbd47e BM |
4581 | 2004-06-29 Bryce McKinlay <mckinlay@redhat.com> |
4582 | ||
4583 | * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249. | |
4584 | ||
b5493719 BM |
4585 | 2004-06-28 Bryce McKinlay <mckinlay@redhat.com> |
4586 | ||
b4bbd47e | 4587 | * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6. |
b5493719 | 4588 | |
7b63e340 JQ |
4589 | 2004-06-28 Jerry Quinn <jlquinn@optonline.net> |
4590 | ||
4591 | * java/beans/Expression.java: New file. | |
4592 | * java/beans/Statement.java: New file. | |
4593 | * Makefile.am: Added new files. | |
4594 | * Makefile.in: Re-generate. | |
4595 | ||
01036503 MW |
4596 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
4597 | ||
4598 | * java/io/FilePermission.java (usingPerms): Removed. | |
4599 | (actionsString): Made final. | |
4600 | (cachePerms): Renamed to checkPerms. | |
4601 | (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase() | |
4602 | on action String. | |
4603 | (FilePermission): Check arguments, call checkPerms(). | |
4604 | (equals): Remove cachePerms() call. | |
4605 | (implies): Likewise. | |
4606 | ||
ce6230c4 MW |
4607 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
4608 | ||
4609 | * gnu/java/net/protocol/http/Connection.java (userAgent): New static | |
4610 | final field. | |
4611 | (sendRequest): Use new field in user-agent http agent. | |
4612 | ||
66a74d2a MW |
4613 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
4614 | ||
4615 | * java/awt/EventQueue.java (postEvent): Throw NullPointerException | |
4616 | when argument is null. | |
4617 | ||
4618 | 2004-06-26 Mark Wielaard <mark@klomp.org> | |
4619 | ||
4620 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
4621 | (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI | |
4622 | GetMethodID call. | |
4623 | (cancel_clicked): Likewise. | |
4624 | ||
d168da74 AT |
4625 | 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch> |
4626 | ||
4627 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
4628 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi | |
4629 | can not calculate the right value. | |
4630 | (dpi_changed_cb): Likewise. Mark *pspec as unused. | |
4631 | ||
cc21f43e BM |
4632 | 2004-06-24 Bryce McKinlay <mckinlay@redhat.com> |
4633 | ||
4634 | * testsuite/libjava.jacks/jacks.xfail: Remove | |
4635 | 15.9.1-qualified-concrete-20. | |
4636 | ||
eb8163ab BM |
4637 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
4638 | ||
4639 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original | |
4640 | encoding name to iconv. | |
4641 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
4642 | ||
f50aa505 BM |
4643 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
4644 | ||
4645 | PR libgcj/16134: | |
e9cb3dac BM |
4646 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize |
4647 | encoding name before cache lookup. Thanks to Hannes Wallnoefer. | |
4648 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
f50aa505 | 4649 | |
deb3d52f AH |
4650 | 2004-06-21 Andrew Haley <aph@redhat.com> |
4651 | ||
4652 | * java/io/ObjectOutputStream.java: Add DEBUG statements | |
4653 | everywhere. | |
4654 | (dumpElementln): New method. | |
4655 | (depth): New field. | |
4656 | * java/io/ObjectInputStream.java | |
4657 | (currentClassLoader): Make native. | |
4658 | (callersClassLoader): New field. | |
4659 | (depth): New field. | |
4660 | (readObject): ENDBLOCKDATA is generated if the class has a write | |
4661 | method, not if it has a read method. | |
4662 | (readObject): Save and restore this.currentObject and | |
4663 | this.currentObjectStreamClass around calls to callReadMethod(). | |
4664 | * java/io/natObjectInputStream.cc (getCallersClassLoader): New | |
4665 | method. | |
4666 | ||
cfc74dce AT |
4667 | 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch> |
4668 | ||
4669 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for | |
4670 | darwin. | |
4671 | ||
bd760894 RM |
4672 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
4673 | ||
4674 | * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers, | |
4675 | if desired, before the default class loader is initialised. | |
4676 | Call INIT_SEGV only if HANDLE_SEGV is defined. | |
4677 | ||
6ca77e6f RM |
4678 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
4679 | ||
4680 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions | |
4681 | directory only if it actually exists. | |
4682 | ||
67a69e82 GH |
4683 | 2004-06-18 Graydon Hoare <graydon@redhat.com> |
4684 | ||
4685 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
4686 | Fix up non-ansi comments. | |
4687 | ||
4688 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> | |
4689 | ||
4690 | * javax/swing/text/AbstractDocument.java: Adding missing import | |
4691 | for javax.swing.event.EventListenerList. | |
4692 | * javax/swing/text/DefaultCaret.java: Likewise. | |
4693 | ||
4dfcdad1 GH |
4694 | 2004-06-17 Michael Koch <konqueror@gmx.de> |
4695 | ||
4696 | * javax/swing/JToolBar.java | |
4697 | (name): Removed. | |
4698 | (JToolBar): Use Component.setName(String) instead of doing it all | |
4699 | alone. | |
4700 | * javax/swing/Timer.java | |
4701 | (queueEvent): Added missing modifier. | |
4702 | ||
4703 | 2004-06-17 Olga Rodimina <rodimina@redhat.coom> | |
4704 | ||
4705 | * Makefile.am: Added new file. | |
4706 | * Makefile.in: Re-generate. | |
4707 | * javax/swing/JMenu.java: | |
4708 | (insertSeparator): Implemented. | |
4709 | * javax/swing/JPopupMenu.java: | |
4710 | (JPopupMenu.Separator): Implemented. | |
4711 | * javax/swing/MenuSelectionManager.java: | |
4712 | (processMouseEvent): Use java.awt.Component | |
4713 | for event source instead of javax.swing.JComponent. | |
4714 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: | |
4715 | New File. Implemented. | |
4716 | ||
4717 | 2004-06-16 David Jee <djee@redhat.com> | |
4718 | ||
4719 | * java/awt/GridBagLayout.java | |
4720 | (GetLayoutInfo): Adjust cell sizes iff parent size is not zero. | |
4721 | Make sure pos_x and pos_y are never negative. | |
4722 | ||
4723 | 2004-04-16 Andrew Overholt <overholt@redhat.com> | |
4724 | ||
4725 | * Makefile.am: Add new file. | |
4726 | * Makefile.in: Re-generate. | |
4727 | * javax/swing/JToolBar.java | |
4728 | Partially implemented. | |
4729 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
4730 | New file. Partially implemented. | |
4731 | ||
4732 | 2004-06-16 Graydon Hoare <graydon@redhat.com> | |
4733 | ||
4734 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
4735 | (setComposite): Accept AlphaComposite arguments. | |
4736 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
4737 | (createBufferedImage): Add new overloads. | |
4738 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
4739 | (createImage): Use GdkPixbufDecoder.createBufferedImage | |
4740 | when useGraphics2D() is true. | |
4741 | (getImage): Delegate to createImage. | |
4742 | * javax/swing/JList.java | |
4743 | (isSelectionEmpty): | |
4744 | (getFirstVisibleIndex): | |
4745 | (getLastVisibleIndex): | |
4746 | (setSelectedValue): | |
4747 | (ensureIndexIsVisible): New methods. | |
4748 | * javax/swing/Timer.java: Reimplement. | |
4749 | ||
4750 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
4751 | ||
4752 | * javax/swing/text/AbstractDocument.java | |
4753 | (AbstracElement): Made public, implements java.io.Serializable. | |
4754 | (AttributeContext): Made public. | |
4755 | (BranchElement): Likewise. | |
4756 | (Content): Likewise. | |
4757 | (DefaultDocumentEvent): Made public, extends | |
4758 | javax.swing.undo.CompoundEdit. | |
4759 | (ElementEdit): Made public, extends | |
4760 | javax.swing.undo.AbstractUndoableEdit. | |
4761 | (LeafElement): Made public. | |
4762 | (LeafElement.LeafElement): Made public. | |
4763 | ||
4764 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
4765 | ||
4766 | * javax/swing/text/JTextComponent.java: Totally reworked. Removed many | |
4767 | methods (that were obviously never be intended to get included hi this | |
4768 | class. Added some methods too. | |
4769 | ||
4770 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
4771 | ||
4772 | * javax/swing/text/PlainDocument.java | |
4773 | (serialVersionUID): New constant. | |
4774 | (lineLimitAttribute): Likewise. | |
4775 | (tabSizeAttribute): Likewise. | |
4776 | (tabSize): New field. | |
4777 | (PlainDocument): Made public. | |
4778 | (PlainDocument): New constructor. | |
4779 | ||
4780 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
4781 | ||
4782 | * javax/swing/text/AbstractDocument.java | |
4783 | (insertString): Throws BadLocationException. | |
4784 | * javax/swing/text/Document.java | |
4785 | (insertString): Likewise. | |
4786 | * javax/swing/text/JTextComponent.java: | |
4787 | Javadocs and comments cleaned up. | |
4788 | ||
4789 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
4790 | ||
4791 | * javax/swing/event/UndoableEditListener.java: Reformatted. | |
4792 | * javax/swing/text/AbstractDocument.java | |
4793 | (AbstractDocument): Implements java.io.Serializable. | |
4794 | (doc_list): Removed. | |
4795 | (undo_list): Removed. | |
4796 | (AbstractElement.serialVerionUID): New field. | |
4797 | (BranchElement.serialVerionUID): Likewise. | |
4798 | (DefaultDocumentEvent.serialVerionUID): Likewise. | |
4799 | (ElementEdit.serialVerionUID): Likewise. | |
4800 | (LeafElement.serialVerionUID): Likewise. | |
4801 | (serialVerionUID): Likewise. | |
4802 | (BAD_LOCATION): New constant. | |
4803 | (BidiElementName): Likewise. | |
4804 | (ContentElementName): Likewise. | |
4805 | (ParagraphElementName): Likewise. | |
4806 | (SectionElementName): Likewise. | |
4807 | (ElementNameAttribute): Likewise. | |
4808 | (AbstractDocument): Made protected. | |
4809 | (AbstractDocument): New construtor. | |
4810 | (listenerList): New field. | |
4811 | (fireChangedUpdate): Implemented. | |
4812 | (fireInsertUpdate): Likewise. | |
4813 | (fireRemoveUpdate): Likewise. | |
4814 | (fireUndoableEditUpdate): Likewise. | |
4815 | (getListeners): Likewise. | |
4816 | (addDocumentListener): Likewise. | |
4817 | (removeDocumentListener): Likewise. | |
4818 | (addUndoableEditListener): Likewise. | |
4819 | (removeUndoableEditListener): Likewise. | |
4820 | (getDocumentListeners): New method. | |
4821 | (getUndoableEditListeners): Likewise. | |
4822 | (getAsynchronousLoadPriority): Made public. | |
4823 | (getBidiRootElement): Likewise. | |
4824 | (setAsynchronousLoadPriority): Likewise. | |
4825 | (setDocumentProperties): Likewise. | |
4826 | * javax/swing/text/BadLocationException.java | |
4827 | (serialVerionUID): New field. | |
4828 | * javax/swing/text/DefaultCaret.java | |
4829 | (changeEvent): New field. | |
4830 | (listenerList): Likewise. | |
4831 | (changes): Removed. | |
4832 | (addChangeListener): Reimplemented. | |
4833 | (removeChangeListener): Likewise. | |
4834 | (getListeners): New method. | |
4835 | (getChangeListeners): Likwise. | |
4836 | (getComponent): Likewise. | |
4837 | * javax/swing/text/GapContent.java | |
4838 | (GapContent): Implements java.io.Serializable. | |
4839 | (serialVerionUID): New field. | |
4840 | ||
4841 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
4842 | ||
4843 | * javax/swing/JTree.java | |
4844 | (treeModel): New field. | |
4845 | (JTree): New constructors, one existing one made public. | |
4846 | (createTreeModel): New method. | |
4847 | (addTreeExpansionListener): Likewise. | |
4848 | (removeTreeExpansionListener): Likewise. | |
4849 | (getTreeExpansionListeners): Likewise. | |
4850 | (fireTreeCollapsed): Likewise. | |
4851 | (fireTreeExpanded): Likewise. | |
4852 | (addTreeSelectionListener): Likewise. | |
4853 | (removeTreeSelectionListener): Likewise. | |
4854 | (getTreeSelectionListeners): Likewise. | |
4855 | (fireValueChanged): Likewise. | |
4856 | (addTreeWillExpandListener): Likewise. | |
4857 | (removeTreeWillExpandListener): Likewise. | |
4858 | (getTreeWillExpandListeners): Likewise. | |
4859 | (fireTreeWillCollapse): Likewise. | |
4860 | (fireTreeWillExpand): Likewise. | |
4861 | ||
4862 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
4863 | ||
4864 | * javax/swing/JTree.java: Reformatted. | |
4865 | ||
4866 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
4867 | ||
4868 | * javax/swing/JTextArea.java: New file. | |
4869 | * javax/swing/JTextField.java | |
4870 | (actions): Removed. | |
4871 | (notifyAction): New constant. | |
4872 | (columns): New field. | |
4873 | (JTextField): New constructors. | |
4874 | (createDefaultModel): New method. | |
4875 | (addActionListener): Reimplmemented. | |
4876 | (removeActionListener): Reimplemented. | |
4877 | (getActionListeners): New method. | |
4878 | (fireActionPerformed): New method. | |
4879 | (getColumns): New method. | |
4880 | (setColumne): New method. | |
4881 | * javax/swing/text/JTextComponent.java | |
4882 | (AccessibleJTextComponent.serialVersionUID): New field. | |
4883 | (serialVersionUID): Likewise. | |
4884 | (DEFAULT_KEYMAP): Likewise. | |
4885 | (FOCUS_ACCELERATOR_KEY): Likewise. | |
4886 | (doc): Made private. | |
4887 | (icon_gap): Likewise. | |
4888 | (icon): Likewise. | |
4889 | (align): Likewise. | |
4890 | (JTextComponent): Some constructors removed. | |
4891 | (getScrollableTracksViewportHeight): New method. | |
4892 | (getScrollableTracksViewportWidth): Likewise. | |
4893 | * Makefile.am: Added javax/swing/JTextArea.java. | |
4894 | * Makefile.in: Regenerated. | |
4895 | ||
4896 | 2004-06-15 Graydon Hoare <graydon@redhat.com> | |
4897 | ||
4898 | * javax/swing/ImageIcon.java (ImageIcon): New constructor. | |
4899 | * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property. | |
4900 | * javax/swing/JViewport.java | |
4901 | (getExtentSize): Return size rather than preferred size. | |
4902 | (toViewCoordinates): New methods. | |
4903 | (getViewSize): Return size rather than preferred size. | |
4904 | (setViewSize): Note view size as set. | |
4905 | * javax/swing/ViewportLayout.java (layoutContainer): Reimplement. | |
4906 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
4907 | (getPreferredSize): Don't redo layout. | |
4908 | * javax/swing/plaf/basic/BasicViewportUI.java | |
4909 | (paint): Translate image properly and eat exceptions. | |
4910 | ||
4911 | 2004-06-15 Kim Ho <kho@redhat.com> | |
4912 | ||
4913 | * javax/swing/JTabbedPane.java | |
4914 | (setComponent): Remove old component and | |
4915 | add new component. | |
4916 | (setSelectedIndex): Don't operate on the | |
4917 | components if they're null. Don't set index | |
4918 | on the model if the index is the same. | |
4919 | (insertTab): Don't add or hide the component | |
4920 | if it's null. Repaint the container. | |
4921 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
4922 | Change colors for TabbedPane. | |
4923 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
4924 | (mousePressed): Re-layout and paint the component. | |
4925 | (layoutContainer): Don't set location on the view. | |
4926 | (ScrollingViewport::paint): Remove. | |
4927 | ||
4928 | 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4929 | ||
4930 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
4931 | (gtkWidgetDispatchKeyEvent): Change warning message to comment. | |
4932 | ||
4933 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
4934 | Wrap baseline y value in PANGO_PIXELS macro, rather than simply | |
4935 | dividing by PANGO_SCALE. Call gdk_flush before leaving GDK | |
4936 | critical region. | |
4937 | (drawLine): Call gdk_flush before leaving GDK critical region. | |
4938 | (fillRect): Likewise. | |
4939 | (drawRect): Likewise. | |
4940 | (copyArea): Likewise. | |
4941 | (copyPixmap): Likewise. | |
4942 | (clearRect): Likewise. | |
4943 | (drawArc): Likewise. | |
4944 | (drawPolyline): Likewise. | |
4945 | (drawPolygon): Likewise. | |
4946 | (fillPolygon): Likewise. | |
4947 | (fillArc): Likewise. | |
4948 | (drawOval): Likewise. | |
4949 | (fillOval): Likewise. | |
4950 | ||
4951 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add | |
4952 | style parameter. | |
4953 | (GdkFontMetrics): Add style argument to initState call. | |
4954 | (stringWidth(String,int,int,String)): Add style parameter. | |
4955 | (stringWidth(String)): Add style argument to stringWidth call. | |
4956 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c | |
4957 | (initState): Set pango font style and weight based on AWT style | |
4958 | parameter. Pass default GTK language to | |
4959 | pango_context_get_metrics. Use PANGO_PIXELS macro rather than | |
4960 | simply dividing by PANGO_SCALE. | |
4961 | (stringWidth): Set pango font style and weight based on AWT style | |
4962 | parameter. | |
4963 | ||
4964 | * java/awt/Button.java (next_button_number): New field. | |
4965 | (paramString): Change output. | |
4966 | (generateName): New method. | |
4967 | (getUniqueLong): New method. | |
4968 | ||
4969 | 2004-06-14 Kim Ho <kho@redhat.com> | |
4970 | ||
4971 | * javax/swing/JTabbedPane.java: | |
4972 | (setComponentAt): Set the component, not | |
4973 | the enabled status. | |
4974 | * javax/swing/plaf/basic/BasicDesktopIconUI.java | |
4975 | (actionPerformed): Let deiconize catch exception. | |
4976 | ||
4977 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
4978 | ||
4979 | * javax/swing/JPopupMenu.java: | |
4980 | (setVisible): Corrected location of a | |
4981 | heavyweight popup menu. | |
4982 | ||
4983 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
4984 | ||
4985 | * javax/swing/MenuSelectionManager.java: | |
4986 | Ran through jalopy to fix formatting style. | |
4987 | ||
4988 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
4989 | ||
4990 | * javax/swing/JLayeredPane.java: | |
4991 | (remove): Revalidate and repaint layered pane after | |
4992 | the component was removed. | |
4993 | javax/swing/JMenu.java: | |
4994 | (setVisible): Display popup menu at the user location, | |
4995 | if one was set by the user. | |
4996 | (setMenuLocation): Reimplemented. Fixed javadoc. | |
4997 | * javax/swing/JMenuBar.java: Added javadoc. | |
4998 | (BORDER_PAINTED_CHANGED_PROPERTY): New Property. | |
4999 | (MODEL_CHANGED_PROPERTY): New Property. | |
5000 | (isSelected): Implemented. | |
5001 | (setBorderPainted): Fire PropertyChangeEvent | |
5002 | if paintBorder property changes. | |
5003 | (setSelected): Implemented. | |
5004 | (setSelectionModel): Implemented. | |
5005 | * javax/swing/JPopupMenu.java: Added Javadoc | |
5006 | (pack): Implemented. | |
5007 | (setVisible): Reimplemented. | |
5008 | (show): Fixed location. | |
5009 | (JPopupMenu.LigthWeightPopup): Reimplemented to use | |
5010 | Container instead of JPanel. | |
5011 | * javax/swing/MenuSelectionManager.java: Added Javadocs. | |
5012 | (clearSelectedPath): Reimplemented to clear selectedPath | |
5013 | in reverse order. | |
5014 | (processMouseEvent): Reimplemented. | |
5015 | (setSelectedPath): Fire stateChange event indicating that | |
5016 | selected menu path has changed. | |
5017 | (getPath): Change to use ArrayList instead of Vector. | |
5018 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
5019 | (installUI): call installKeyboardActions(). | |
5020 | (uninstallUI): call uninstallKeyboardActions(). | |
5021 | ||
5022 | 2004-06-13 Michael Koch <konqueror@gmx.de> | |
5023 | ||
5024 | * javax/swing/text/DefaultCaret.java, | |
5025 | javax/swing/text/BadLocationException.java: | |
5026 | Reformatted. | |
5027 | ||
5028 | 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5029 | ||
5030 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS, | |
5031 | DEFAULT_COLS): New variables. | |
5032 | (create): Don't allow 0 rows or 0 columns. Instead, set the | |
5033 | values to DEFAULT_ROWS or DEFAULT_COLS. | |
5034 | (getMinimumSize): Likewise. | |
5035 | (getPreferredSize): Likewise. | |
5036 | (minimumSize): Likewise. | |
5037 | (preferredSize): Likewise. | |
5038 | (create): Set peer's editable state. | |
5039 | * java/awt/TextArea.java (TextArea()): Set rows and columns to | |
5040 | zero. Update javadocs. | |
5041 | (TextArea(String)): Likewise. | |
5042 | (TextArea(int,int)): Fix javadocs. | |
5043 | (TextArea(String,int,int,int)): Only throw exception if one of | |
5044 | rows or columns is zero. Fix javadocs. | |
5045 | ||
5046 | 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5047 | ||
5048 | * java/awt/AWTEvent.java (toString): Handle MenuComponents in | |
5049 | addition to Components. | |
5050 | ||
5051 | * java/awt/MenuItem.java (dispatchEventImpl): If the event | |
5052 | wasn't consumed by normal processing, send it to the parent | |
5053 | menu. | |
5054 | ||
5055 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
5056 | (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove | |
5057 | translation. | |
5058 | ||
5059 | 2004-06-11 David Jee <djee@redhat.com> | |
5060 | ||
5061 | * java/awt/MediaTracker.java | |
5062 | (addImage(Image,int)): Call imageUpdate() to udpate image status. | |
5063 | (addImage(Image,int,int,int)): Likewise. | |
5064 | ||
5065 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
5066 | ||
5067 | * javax/swing/text/AbstractDocument.java, | |
5068 | javax/swing/text/Document.java, | |
5069 | javax/swing/text/GapContent.java, | |
5070 | javax/swing/text/JTextComponent.java, | |
5071 | javax/swing/text/PlainDocument.java: | |
5072 | Reformatted. | |
5073 | ||
5074 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
5075 | ||
5076 | * javax/swing/JRootPane.java | |
5077 | (AccessibleJRootPane.serialVersionUID): New field. | |
5078 | (AccessibleJRootPane.AccessibleJRootPane): New constructor. | |
5079 | (AccessibleJRootPane.getAccessibleRole): New method. | |
5080 | (RootLayout): Implements Serializable. | |
5081 | (RootLayout.serialVersionUID): New field. | |
5082 | (RootLayout.RootLayout): New constructor. | |
5083 | (setJMenuBar): Made public. | |
5084 | (getJMenuBar): Likewise. | |
5085 | (JRootPane): Likewise. | |
5086 | (createContentPane): Likewise. | |
5087 | (createGlassPane): Likewise. | |
5088 | (createLayeredPane): Likewise. | |
5089 | ||
5090 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
5091 | ||
5092 | * javax/swing/SwingUtilities.java | |
5093 | (isLeftMouseButton): Fixed javadoc. | |
5094 | (isMiddleMouseButton): Likewise. | |
5095 | (isRightMouseButton): Likewise. | |
5096 | ||
5097 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
5098 | ||
5099 | * javax/swing/JScrollPane.java | |
5100 | (serialVersionUID): New field. | |
5101 | (columnHeader): Made protected. | |
5102 | (rowHeader): Likewise. | |
5103 | (lowerLeft): Likewise. | |
5104 | (lowerRight): Likewise. | |
5105 | (upperLeft): Likewise. | |
5106 | (upperRight): Likewise. | |
5107 | (horizontalScrollBar): Likewise. | |
5108 | (horizontalScrollBarPolicy): Likewise. | |
5109 | (verticalScrollBar): Likewise. | |
5110 | (verticalScrollBarPolicy): Likewise. | |
5111 | (viewport): Likewise. | |
5112 | ||
5113 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
5114 | ||
5115 | * javax/swing/LookAndFeel.java: Fixed javadocs. | |
5116 | ||
5117 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
5118 | ||
5119 | * javax/swing/JEditorPane.java: Fixed javadocs. | |
5120 | (JEditorPane): Removed redundant call to to this(). | |
5121 | (fireHyperlinkUpdate): Implemented. | |
5122 | ||
5123 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
5124 | ||
5125 | * javax/swing/JMenu.java: Fixed file name | |
5126 | in the file comment. | |
5127 | ||
5128 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
5129 | ||
5130 | * javax/swing/JMenu.java: Added javadoc. | |
5131 | (JMenu): Added MenuChangeListener to listen to | |
5132 | ChangeEvents occuring in menu's model. | |
5133 | (insert): Throw IllegalArgumentException if | |
5134 | index is less than 0 | |
5135 | (setSelected): Reimplement. | |
5136 | (setPopupMenuVisible): Call menu's model isEnabled() | |
5137 | (setDelay): Throw IllegalArgumentException if | |
5138 | given amount of delay is less than 0. | |
5139 | (createActionComponent): Implemented. | |
5140 | (createActionChangeListener): Implemented. | |
5141 | (addSeparator): Implemented. | |
5142 | (getItem): Throw IllegalArgumentException if index is | |
5143 | less than 0. | |
5144 | (getItemCount): Implemented. | |
5145 | (fireMenuSelected): Changed to use menuEvent. | |
5146 | (fireMenuDeselected): Likewise. | |
5147 | (fireMenuCanceled): Likewise. | |
5148 | (setAccelerator): Changed to throw an error if this | |
5149 | method is used. | |
5150 | (doClick): Implemented. | |
5151 | (JMenu.ActionChangedListener): New inner class to handle | |
5152 | PropertyChangeEvents occuring in the actions associated with menu. | |
5153 | * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc. | |
5154 | (BasicMenuUI): Added PropertyChangeListener to the menu. | |
5155 | (createChangeListener): Implemented. | |
5156 | (createMenuDragMouseListener): Likewise. | |
5157 | (createMenuKeyListener): Likewise. | |
5158 | (createPropertyChangeListener): Likewise. | |
5159 | (uninstallListeners): Likewise. | |
5160 | (BasicMenuUI.MouseInputHandler): Reimplemented. | |
5161 | (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet. | |
5162 | (BasicMenuUI.ChangeHandler): Likewise. | |
5163 | (BasicMenuUI.MenuDragMouseHandler): Likewise. | |
5164 | (BasicMenuUI.MenuKeyHandler): Likewise. | |
5165 | ||
5166 | 2004-06-10 David Jee <djee@redhat.com> | |
5167 | ||
5168 | * java/awt/MediaTracker.java | |
5169 | (imageUpdate): Only do notifyAll() if the image is complete. | |
5170 | ||
5171 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
5172 | ||
5173 | * javax/swing/JApplet.java: | |
5174 | (getJMenuBar): Made public. | |
5175 | (setJMenuBar): Likewise. | |
5176 | * javax/swing/JFrame.java: | |
5177 | (getJMenuBar): Made public. | |
5178 | (setJMenuBar): Likewise. | |
5179 | * javax/swing/JWindow.java: | |
5180 | (getJMenuBar): Removed. | |
5181 | (setJMenuBar): Removed. | |
5182 | ||
5183 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5184 | ||
5185 | * javax/swing/JEditorPane.java | |
5186 | (createEditorKitForContentType): Fixed visibility. | |
5187 | (fireHyperlinkUpdate): Likewise. | |
5188 | (getContentType): Likewise. | |
5189 | (getEditorKit): Likewise. | |
5190 | (getEditorKitForContentType): Likewise. | |
5191 | (getPage): Likewise. | |
5192 | (read): Likewise. | |
5193 | (registerEditorKitForContentTyoe): Likewise. | |
5194 | (replaceSelection): Likewise. | |
5195 | (setContentType): Likewise. | |
5196 | (setEditorKit): Likewise. | |
5197 | (setPage): Likewise. | |
5198 | ||
5199 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5200 | ||
5201 | * javax/swing/Timer.java | |
5202 | (Timer): New constructor. | |
5203 | * javax/swing/plaf/basic/BasicProgressBarUI.java | |
5204 | (animationTimer): Don't initialize at construction. | |
5205 | (startAnimationTimer): Added since tag. | |
5206 | (stopAnimationTimer): Likewise. | |
5207 | (installUI): Use new Timer constructor. | |
5208 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
5209 | (installUI): Likewise. | |
5210 | * javax/swing/plaf/basic/BasicSliderUI.java | |
5211 | (installUI): Likewise. | |
5212 | ||
5213 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5214 | ||
5215 | * javax/swing/ButtonGroup.java | |
5216 | (serialVersionUID): Made private. | |
5217 | (buttons): Renamed from v, added javadoc. | |
5218 | (sel): Added javadoc. | |
5219 | (ButtonGroup): Likewise. | |
5220 | (add): Likewise. | |
5221 | (remove): Likewise. | |
5222 | (getElements): Likewise. | |
5223 | (getSelection): Likewise. | |
5224 | (setSelected): Likewise. | |
5225 | (isSelected): Likewise. | |
5226 | (getButtonCount): Likewise. | |
5227 | ||
5228 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5229 | ||
5230 | * javax/swing/ButtonGroup.java, | |
5231 | javax/swing/ImageIcon.java, | |
5232 | javax/swing/JEditorPane.java, | |
5233 | javax/swing/JRootPane.java, | |
5234 | javax/swing/JTextField.java, | |
5235 | javax/swing/LookAndFeel.java, | |
5236 | javax/swing/plaf/basic/BasicTextUI.java: | |
5237 | Reindented. | |
5238 | ||
5239 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5240 | ||
5241 | * javax/swing/text/Style.java: Added javadocs. | |
5242 | ||
5243 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5244 | ||
5245 | * javax/swing/JComponent.java | |
5246 | (fireVetoableChange): Removed redundant cast. | |
5247 | * javax/swing/JLabel.java | |
5248 | (getDisabledIcon): Save icon for next call. | |
5249 | ||
5250 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5251 | ||
5252 | * javax/swing/KeyStroke.java | |
5253 | (getKeyStroke(char,boolean)): Marked deprecated. | |
5254 | ||
5255 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5256 | ||
5257 | * javax/swing/DefaultCellEditor.java, | |
5258 | javax/swing/GrayFilter.java, | |
5259 | javax/swing/event/DocumentEvent.java, | |
5260 | javax/swing/text/JTextComponent.java, | |
5261 | javax/swing/text/MutableAttributeSet.java: | |
5262 | Reindented. | |
5263 | ||
5264 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5265 | ||
5266 | * javax/swing/plaf/BorderUIResource.java: | |
5267 | Added serialVersionUID all over. | |
5268 | ||
5269 | 2004-06-10 Sascha Brawer <brawer@dandelis.ch> | |
5270 | ||
5271 | * javax/swing/undo/UndoManager.java: Re-written from scratch. | |
5272 | ||
5273 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5274 | ||
5275 | * javax/swing/table/DefaultTableCellRenderer.java | |
5276 | (noFocusBorder): Initialize directly. | |
5277 | ||
5278 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5279 | ||
5280 | * javax/swing/plaf/basic/BasicArrowButton.java | |
5281 | (setDirection): Use method argument. | |
5282 | ||
5283 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5284 | ||
5285 | * javax/swing/plaf/BorderUIResource.java, | |
5286 | javax/swing/plaf/ComponentUI.java, | |
5287 | javax/swing/undo/CompoundEdit.java, | |
5288 | javax/swing/undo/StateEdit.java: | |
5289 | Fixed javadocs all over. | |
5290 | ||
5291 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
5292 | ||
5293 | * javax/swing/DefaultButtonModel.java | |
5294 | (ARMED): Made public final, fixed value. | |
5295 | (ENABLED): Likewise. | |
5296 | (PRESSED): Likewise. | |
5297 | (ROLLOVER): Likewise. | |
5298 | (SELECTED): Likewise. | |
5299 | (stateMask): Initialize directly. | |
5300 | (listenerList): Likewise. | |
5301 | (mnemonic): Likewise. | |
5302 | (fireStateChanged): Removed argument, use changeEvent as event. | |
5303 | All places where this method is called are fixed too. | |
5304 | (getActionCommant): Fixed javadoc. | |
5305 | (setGroup): Fixed javadoc. | |
5306 | (getGroup): New method. | |
5307 | ||
5308 | 2004-06-09 Olga Rodimina <rodimina@redhat.com> | |
5309 | ||
5310 | * javax/swing/AbstractButton.java | |
5311 | (AbstractButton): Use init() to initialize the button. | |
5312 | (init): New Method. Initializes AbstractButton. | |
5313 | * javax/swing/JMenuItem.java: Documented. | |
5314 | (JMenuItem): Reimplemented. | |
5315 | (init): Implemented. | |
5316 | (setEnabled): Changed to call super.setEnabled() | |
5317 | (processMouseEvent): Reimplemented. | |
5318 | (fireMenuKeyPressed): Implemented. | |
5319 | (fireMenuKeyReleased): Implemented. | |
5320 | (fireMenuKeyTyped): Implemented. | |
5321 | (menuSelectionChanged): disarm the model if the menu item was | |
5322 | deselected. | |
5323 | * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented. | |
5324 | (getPath): Change to use ArrayList instead of Vector. | |
5325 | (getPreferredSize): Renamed variable. | |
5326 | (paintMenuItem): Paint margin area of menu item. | |
5327 | (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager. | |
5328 | (MouseInputHandler.mouseReleased): Check if mouse was pressed inside | |
5329 | menu item's bounds before clearing the selection. | |
5330 | ||
5331 | 2004-06-09 David Jee <djee@redhat.com> | |
5332 | ||
5333 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java | |
5334 | (GtkTextComponentPeer): Set caret position to 0. | |
5335 | * java/awt/TextComponent.java | |
5336 | (setText): Set caret position to 0. | |
5337 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5338 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): | |
5339 | Handle GtkScrolledWindow separately. Fix signal handler blocking. | |
5340 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): | |
5341 | Likewise. | |
5342 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
5343 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor | |
5344 | visible. | |
5345 | ||
5346 | 2004-06-09 Kim Ho <kho@redhat.com> | |
5347 | ||
5348 | * Makefile.am: New files | |
5349 | * Makefile.in: Regenerated | |
5350 | * java/awt/Container.java | |
5351 | (getComponentAt): Removed. | |
5352 | * javax/swing/AbstractAction.java | |
5353 | (ENABLED_PROPERTY): New property. | |
5354 | (putValue): Fire PropertyChangeEvents. | |
5355 | (setEnabled): ditto. | |
5356 | (firePropertyChange): Javadoc and implement | |
5357 | convenience method. | |
5358 | * javax/swing/AbstractButton.java | |
5359 | (setAction): Don't create PropertyChangeListener | |
5360 | if new Action is null. | |
5361 | (setIcon): Don't set icon till after comparing | |
5362 | it. | |
5363 | (configurePropertiesFromAction): Check mnemonic | |
5364 | key before calling intValue(). | |
5365 | (createActionPropertyChangeListener): Check | |
5366 | properties rather than bulk change. | |
5367 | * javax/swing/DefaultDesktopManager.java: | |
5368 | Implement. | |
5369 | * javax/swing/DesktopManager.java: | |
5370 | Jalopy and javadoc. | |
5371 | * javax/swing/JComponent.java | |
5372 | (fireVetoableChange): Implement. | |
5373 | (paintImmediately): Use root component. | |
5374 | * javax/swing/JDesktopPane.java: Implement | |
5375 | * javax/swing/JInternalFrame.java: Implement | |
5376 | * javax/swing/JLabel.java | |
5377 | (getDisabledIcon): Return grayscaled icon if | |
5378 | no disabled icon specified. | |
5379 | * javax/swing/JMenuBar.java | |
5380 | (getComponentAtIndex): Use getComponent | |
5381 | * javax/swing/JOptionPane.java | |
5382 | (getDesktopPaneForComponent): Use SwingUtilities' | |
5383 | getAncestorOfClass | |
5384 | (getFrameForComponent): ditto. | |
5385 | * javax/swing/JSplitPane.java | |
5386 | (remove): Use getComponent. | |
5387 | * javax/swing/SwingUtilities.java | |
5388 | (convertPoint): Implement. | |
5389 | * javax/swing/plaf/basic/BasicButtonUI.java | |
5390 | (paintButtonNormal): Check opaqueness before | |
5391 | filling background. | |
5392 | * javax/swing/plaf/basic/BasicDesktopIconUI.java: | |
5393 | Implement | |
5394 | * javax/swing/plaf/basic/BasicDesktopPaneUI.java: | |
5395 | Implement. | |
5396 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: | |
5397 | Implement. | |
5398 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
5399 | Implement. | |
5400 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
5401 | Change InternalFrame and Desktop colors. | |
5402 | ||
5403 | 2004-06-09 David Jee <djee@redhat.com> | |
5404 | ||
5405 | * java/awt/Container.java | |
5406 | (remove): Do not set component to invisible. | |
5407 | ||
5408 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
5409 | ||
5410 | * javax/swing/tree/DefaultMutableTreeNode.java | |
5411 | (getLeafCount): Renamed enum to e. | |
5412 | ||
5413 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
5414 | ||
5415 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
5416 | (positionForMouseEvent): Removed redundant semicolon. | |
5417 | (continueDrag): Use method arguments. | |
5418 | ||
5419 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
5420 | ||
5421 | * javax/swing/border/TitledBorder.java, | |
5422 | javax/swing/filechooser/FileSystemView.java, | |
5423 | javax/swing/plaf/basic/BasicButtonListener.java, | |
5424 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
5425 | javax/swing/plaf/basic/BasicLabelUI.java, | |
5426 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
5427 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
5428 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
5429 | javax/swing/plaf/basic/BasicSliderUI.java, | |
5430 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
5431 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
5432 | javax/swing/table/JTableHeader.java, | |
5433 | javax/swing/text/AbstractDocument.java, | |
5434 | javax/swing/text/DefaultCaret.java, | |
5435 | javax/swing/text/StyledEditorKit.java, | |
5436 | javax/swing/tree/DefaultTreeCellEditor.java: | |
5437 | Reworked import statements. | |
5438 | ||
5439 | 2004-06-08 Graydon Hoare <graydon@redhat.com> | |
5440 | ||
5441 | * javax/swing/Box.java: Temporarily comment out code | |
5442 | broken due to visibility bug. | |
5443 | ||
5444 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
5445 | ||
5446 | * javax/swing/ImageIcon.java | |
5447 | (ImageIcon): Added missing constructor. | |
5448 | ||
5449 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5450 | ||
5451 | * javax/swing/JToggleButton.java | |
5452 | (JToggleButton): New constructor. | |
5453 | (getAccessibleContext): Moved documentation into javadoc. | |
5454 | (getUIClassID): Likewise. | |
5455 | ||
5456 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5457 | ||
5458 | * javax/swing/AbstractButton.java | |
5459 | (getDisabledIcon): Create disabled icon if none exists yet. | |
5460 | ||
5461 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5462 | ||
5463 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
5464 | (initClassDefaults): Added FormattedTextFieldUI. | |
5465 | (loadResourceBundle): Renamed enum to e. | |
5466 | ||
5467 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5468 | ||
5469 | * javax/swing/plaf/basic/BasicButtonUI.java | |
5470 | (paintIcon): Simplified. | |
5471 | (paintText): Paint disabled button correctly. | |
5472 | ||
5473 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5474 | ||
5475 | * javax/swing/JComponent.java | |
5476 | (createToolTip): Use official JToolTip API. | |
5477 | ||
5478 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5479 | ||
5480 | * javax/swing/JToolTip.java | |
5481 | (JToolTip): No arguments in API. | |
5482 | (setTipText): New method. | |
5483 | ||
5484 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5485 | ||
5486 | * javax/swing/SwingUtilities.java | |
5487 | (isLeftMouseButton): New method. | |
5488 | (isMiddleMouseButton): New method. | |
5489 | (isRightMouseButton): New method. | |
5490 | ||
5491 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5492 | ||
5493 | * javax/swing/AbstractButton.java, | |
5494 | javax/swing/CellRendererPane.java, | |
5495 | javax/swing/JCheckBoxMenuItem.java, | |
5496 | javax/swing/JColorChooser.java, | |
5497 | javax/swing/JComboBox.java, | |
5498 | javax/swing/JComponent.java, | |
5499 | javax/swing/JDesktopPane.java, | |
5500 | javax/swing/JFileChooser.java, | |
5501 | javax/swing/JMenu.java, | |
5502 | javax/swing/JMenuItem.java, | |
5503 | javax/swing/JOptionPane.java, | |
5504 | javax/swing/JPasswordField.java, | |
5505 | javax/swing/JPopupMenu.java, | |
5506 | javax/swing/JProgressBar.java, | |
5507 | javax/swing/JRadioButtonMenuItem.java, | |
5508 | javax/swing/JScrollBar.java, | |
5509 | javax/swing/JSeparator.java, | |
5510 | javax/swing/JSlider.java, | |
5511 | javax/swing/JSplitPane.java, | |
5512 | javax/swing/JTabbedPane.java, | |
5513 | javax/swing/JTextField.java, | |
5514 | javax/swing/JToolBar.java, | |
5515 | javax/swing/text/JTextComponent.java: | |
5516 | Fixed all constructors of accessibility classes. | |
5517 | ||
5518 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5519 | ||
5520 | * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all | |
5521 | over. | |
5522 | ||
5523 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
5524 | ||
5525 | * javax/swing/Box.java | |
5526 | (AccessibleBoxFiller): Extends AccessibleAWTComponent. | |
5527 | (AccessibleBoxFiller.serialVersionUID): New member variable. | |
5528 | * javax/swing/DefaultButtonModel.java | |
5529 | (stateMask): Made protected. | |
5530 | (listenerList): Likewise. | |
5531 | (changeEvent): Likewise. | |
5532 | (group): Likewise. | |
5533 | (mnemonic): Likewise. | |
5534 | (actionCommand): Likewise. | |
5535 | (getListeners): New method. | |
5536 | (getActionListeners): New method. | |
5537 | (getItemListeners): New method. | |
5538 | (getChangeListeners): New method. | |
5539 | (fireItemStateChanged): Simplified. | |
5540 | (fireActionPerformed): Simplified. | |
5541 | (fireStateChanged): Simplified. | |
5542 | * javax/swing/JFrame.java | |
5543 | (JFrame): Implements WindowContants. | |
5544 | (HIDE_ON_CLOSE): Removed. | |
5545 | (EXIT_ON_CLOSE): Removed. | |
5546 | (DISPOSE_ON_CLOSE): Removed. | |
5547 | (DO_NOTHING_ON_CLOSE): Removed. | |
5548 | (processWindowEvent): Exit with code 0. | |
5549 | (setDefaultCloseOperation): Do security check before setting value. | |
5550 | * javax/swing/JOptionPane.java | |
5551 | (message): Initialize only in constructor. | |
5552 | * javax/swing/JToolTip.java: Removed unused imports. | |
5553 | * javax/swing/JViewport.java | |
5554 | (serialVersionUID): New member variable. | |
5555 | (SIMPLE_SCROLL_MODE): Made final, fixed value. | |
5556 | (BLIT_SCROLL_MODE): Likewise. | |
5557 | (BACKINGSTORE_SCROLL_MODE): Likewise. | |
5558 | (scrollUnderway): Made protected. | |
5559 | (isViewSizeSet): Likewise. | |
5560 | * javax/swing/ListModel.java: Fixed javadoc. | |
5561 | * javax/swing/Popup.java: Likewise. | |
5562 | * javax/swing/RepaintManager.java | |
5563 | (paintDirtyRegions): Don't use internal classes of | |
5564 | java.util.AbstractMap. | |
5565 | * javax/swing/ScrollPaneConstants.java: Reindented. | |
5566 | * javax/swing/ScrollPaneLayout.java | |
5567 | (viewport): Made protected. | |
5568 | (verticalScrollBar): Made protected, renamed to vsb. | |
5569 | (horizontalScrollBar): Made protected, renamed to hsb. | |
5570 | (rowHeader): Made protected, renamed to rowHead. | |
5571 | (columnHeader): Made protected, renamed to colHead. | |
5572 | (lowerLeft): Made protected. | |
5573 | (lowerRight): Made protected. | |
5574 | (upperLeft): Made protected. | |
5575 | (upperRight): Made protected. | |
5576 | (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy. | |
5577 | (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy. | |
5578 | ||
5579 | 2004-06-07 Bernd Schmidt <bernds@btinternet.com> | |
5580 | ||
5581 | * java/awt/MediaTracker.java (imageUpdate): Only set status to | |
5582 | LOADING if flags has SOMEBITS set. | |
5583 | ||
5584 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
5585 | ||
5586 | * javax/swing/AbstractButton.java: Reorganized imports. | |
5587 | * javax/swing/ActionMap.java: Likewise. | |
5588 | * javax/swing/DefaultButtonModel.java: Likewise. | |
5589 | * javax/swing/DefaultListModel.java: Likewise. | |
5590 | * javax/swing/ImageIcon.java: Likewise. | |
5591 | (serialVersionUID): New member variable. | |
5592 | * javax/swing/JComboBox.java: Reorganized imports. | |
5593 | * javax/swing/JComponent.java: Likewise. | |
5594 | (ui): Made protected. | |
5595 | (listenerList): Made protected. | |
5596 | (TOOL_TIP_TEXT_KEY): New constant. | |
5597 | (scrollRectToVisible): Removed redundant null check. | |
5598 | * javax/swing/JFrame.java: Reorganized imports. | |
5599 | * javax/swing/JInternalFrame.java: Reorganized imports. | |
5600 | * javax/swing/JProgressBar.java: Likewise. | |
5601 | * javax/swing/JRootPane.java: Likewise. | |
5602 | * javax/swing/JScrollBar.java: Likewise. | |
5603 | * javax/swing/JSeparator.java: Likewise. | |
5604 | * javax/swing/JSlider.java: Likewise. | |
5605 | * javax/swing/JTabbedPane.java: Likewise. | |
5606 | * javax/swing/JTextField.java: Likewise. | |
5607 | * javax/swing/JToolBar.java: Likewise. | |
5608 | * javax/swing/JTree.java: Likewise. | |
5609 | * javax/swing/JViewport.java: Likewise. | |
5610 | * javax/swing/JWindow.java: Likewise. | |
5611 | * javax/swing/KeyStroke.java: Likewise. | |
5612 | * javax/swing/LookAndFeel.java: Likewise. | |
5613 | * javax/swing/MenuSelectionManager.java: Likewise. | |
5614 | * javax/swing/SwingUtilities.java: Likewise. | |
5615 | * javax/swing/Timer.java: Likewise. | |
5616 | * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc. | |
5617 | * javax/swing/JList.java | |
5618 | (HORIZONTAL_WRAP): Made final, fixed value. | |
5619 | (VERTICAL): Likewise. | |
5620 | (VERTICAL_WRAP): Likewise. | |
5621 | ||
5622 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
5623 | ||
5624 | * javax/swing/AbstractButton.java | |
5625 | (serialVersionUID): New member variable. | |
5626 | (AccessibleAbstractButton.serialVersionUID): Likewise. | |
5627 | (AbstractButton): Made public. | |
5628 | * javax/swing/Box.java | |
5629 | (AccessibleBox.serialVersionUID): New member variable. | |
5630 | (Filler.serialVersionUID): Likewise. | |
5631 | * javax/swing/DefaultListSelectionModel.java | |
5632 | (serialVersionUID): Likewise. | |
5633 | * javax/swing/JApplet.java | |
5634 | (serialVersionUID): Likewise. | |
5635 | * javax/swing/JCheckBox.java | |
5636 | (serialVersionUID): Likewise. | |
5637 | * javax/swing/JCheckBoxMenuItem.java | |
5638 | (serialVersionUID): Likewise. | |
5639 | (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise. | |
5640 | * javax/swing/JColorChooser.java | |
5641 | (serialVersionUID): Likewise. | |
5642 | (AccessibleJColorChooser.serialVersionUID): Likewise. | |
5643 | * javax/swing/JComponent.java | |
5644 | (serialVersionUID): Made private. | |
5645 | (AccessibleJComponent.serialVersionUID): New member variable. | |
5646 | * javax/swing/JDesktopPane.java | |
5647 | (serialVersionUID): Likewise. | |
5648 | * javax/swing/JDialog.java | |
5649 | (serialVersionUID): Likewise. | |
5650 | * javax/swing/JFormattedTextField.java | |
5651 | (serialVersionUID): Fixed value. | |
5652 | * javax/swing/JFrame.java | |
5653 | (serialVersionUID): New member variable. | |
5654 | (getDefaultCloseOpertation): Made public. | |
5655 | * javax/swing/JLayeredPane.java | |
5656 | (serialVersionUID): Likewise. | |
5657 | (LAYER_PROPERTY): Made final, fixed value. | |
5658 | (JLayeredPane): Made public. | |
5659 | * javax/swing/JMenu.java | |
5660 | (AccessibleJMenu.serialVersionUID): New member variable. | |
5661 | (WinListener.serialVersionUID): Likewise. | |
5662 | * javax/swing/JMenuBar.java | |
5663 | (serialVersionUID): Likewise. | |
5664 | (getComponentAtIndex): Added @deprecated tag. | |
5665 | * javax/swing/JMenuItem.java | |
5666 | (serialVersionUID): New member variable. | |
5667 | (AccessibleJMenuItem.serialVersionUID): Likewise. | |
5668 | * javax/swing/JOptionPane.java | |
5669 | (serialVersionUID): Likewise. | |
5670 | (AccessibleJOptionPane.serialVersionUID): Likewise. | |
5671 | * javax/swing/JPopupMenu.java | |
5672 | (serialVersionUID): Likewise. | |
5673 | (AccessibleJPopupMenu.serialVersionUID): Likewise. | |
5674 | (getPopupMenuListeners): New method. | |
5675 | (getComponentAtIndex): Added @deprecated tag. | |
5676 | * javax/swing/JProgressBar.java | |
5677 | (serialVersionUID): New member variable. | |
5678 | (AccessibleJProgressBar.serialVersionUID): Likewise. | |
5679 | * javax/swing/JRadioButton.java | |
5680 | (serialVersionUID): Likewise. | |
5681 | * javax/swing/JRadioButtonMenuItem.java | |
5682 | (serialVersionUID): Likewise. | |
5683 | (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise. | |
5684 | * javax/swing/JScrollBar.java | |
5685 | (serialVersionUID): Likewise. | |
5686 | (AccessibleJScrollBar.serialVersionUID): Likewise. | |
5687 | * javax/swing/JSeparator.java | |
5688 | (serialVersionUID): Likewise. | |
5689 | (AccessibleJSeparator.serialVersionUID): Likewise. | |
5690 | * javax/swing/JSlider.java: Fixed javadocs. | |
5691 | (AccessibleJSlider.serialVersionUID): New member variable. | |
5692 | * javax/swing/JSplitPane.java: Added copyright statement. | |
5693 | (serialVersionUID): New member variable. | |
5694 | (AccessibleJSplitPane.serialVersionUID): Likewise. | |
5695 | * javax/swing/JTabbedPane.java | |
5696 | (serialVersionUID): Likewise. | |
5697 | (AccessibleJTabbedPane.serialVersionUID): Likewise. | |
5698 | (ModelListener.serialVersionUID): Likewise. | |
5699 | (ModelListener.ModelListener): New constructor. | |
5700 | (SCROLL_TAB_LAYOUT): Made public final, fixed value. | |
5701 | (WRAP_TAB_LAYOUT): Likewise. | |
5702 | * javax/swing/JTable.java | |
5703 | (serialVersionUID): New member variable. | |
5704 | * javax/swing/JToggleButton.java | |
5705 | (serialVersionUID): Likewise. | |
5706 | (ToggleButtonModel): Made static. | |
5707 | (ToggleButtonModel.serialVersionUID): New member variable. | |
5708 | * javax/swing/JToolTip.java | |
5709 | (serialVersionUID): Likewise. | |
5710 | * javax/swing/JTree.java | |
5711 | (serialVersionUID): Likewise. | |
5712 | * javax/swing/JWindow.java | |
5713 | (serialVersionUID): Likewise. | |
5714 | * javax/swing/Timer.java | |
5715 | (serialVersionUID): Likewise. | |
5716 | ||
5717 | 2004-06-06 Michael Koch <konqueror@gmx.de> | |
5718 | ||
5719 | * javax/swing/SwingConstants.java | |
5720 | (NEXT): New constant. | |
5721 | (PREVIOUS): Likewise. | |
5722 | * javax/swing/UIManager.java | |
5723 | (LookAndFeel): Made public. | |
5724 | (LookAndFeel.getClassName): Likewise. | |
5725 | (LookAndFeel.getName): Likewise. | |
5726 | ||
5727 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> | |
5728 | ||
5729 | * javax/swing/JCheckBoxMenuItem.java: | |
5730 | Removed CVS tags. | |
5731 | * javax/swing/JMenu.java: Likewise. | |
5732 | * javax/swing/JMenuBar.java: Likewise. | |
5733 | * javax/swing/JMenuItem.java: Likewise. | |
5734 | * javax/swing/JPopupMenu.java: Likewise. | |
5735 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
5736 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
5737 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
5738 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
5739 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
5740 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
5741 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
5742 | ||
5743 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> | |
5744 | ||
5745 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
5746 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
5747 | Call getPath() from super class instead. | |
5748 | ||
5749 | 2004-05-31 David Jee <djee@redhat.com> | |
5750 | ||
5751 | * java/awt/Container.java | |
5752 | (remove): Set component visibility to false after removing it. | |
5753 | ||
5754 | 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5755 | ||
5756 | * java/awt/Component.java (getForeground): Return SystemColor if | |
5757 | parent is null. | |
5758 | (getBackground): Likewise. | |
5759 | ||
5760 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
5761 | (item_highlighted): New function. | |
5762 | (connectSignals): Set item_highlighted as list's select | |
5763 | function. | |
5764 | ||
5765 | * java/applet/Applet.java: Revert changes from 2004-04-29, | |
5766 | 2004-03-15 and 2004-03-14. | |
5767 | ||
5768 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
5769 | Divide baseline y coordinate by PANGO_SCALE, not DPI conversion | |
5770 | factor. | |
5771 | ||
5772 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set | |
5773 | "Dialog" as the default font. | |
5774 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): | |
5775 | Likewise. | |
5776 | * java/awt/Component.java (getFont): Return "Dialog" font by | |
5777 | default. | |
5778 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: | |
5779 | Multiply size argument to pango_font_description_set_size by the | |
5780 | DPI conversion factor rather than by PANGO_SCALE. | |
5781 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise. | |
5782 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise. | |
5783 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise. | |
5784 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise. | |
5785 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
5786 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise. | |
5787 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise. | |
5788 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise. | |
5789 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. | |
5790 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
5791 | Divide baseline y coordinate by DPI conversion factor rather | |
5792 | than by PANGO_SCALE. | |
5793 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
5794 | (area_prepared): Fix typo. | |
5795 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
5796 | (gtkSetFont): Move gtk_bin_get_child inside GDK critical region. | |
5797 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
5798 | (dpi_conversion_factor): New global variable. | |
5799 | (init_dpi_conversion_factor): New function to calculate and | |
5800 | track DPI conversion factor. | |
5801 | (dpi_changed_cb): New callback. | |
5802 | * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare. | |
5803 | ||
5804 | 2004-05-27 David Jee <djee@redhat.com> | |
5805 | ||
5806 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
5807 | (getGraphics): Return a new GdkGraphics instance. | |
5808 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
5809 | (getGraphics): Call super.getGraphics(). | |
5810 | ||
5811 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5812 | ||
5813 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5814 | (setNativeBounds): Clamp width and height values to >= 0. | |
5815 | ||
5816 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5817 | (find_fg_color_widget): Handle GtkOptionMenu specially. | |
5818 | ||
5819 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
5820 | (pre_event_handler): Only post configure events to visible | |
5821 | top-level windows. | |
5822 | ||
5823 | 2004-05-26 David Jee <djee@redhat.com> | |
5824 | ||
5825 | * java/awt/BorderLayout.java | |
5826 | (layoutContainer): Fix size calculations. | |
5827 | ||
5828 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
5829 | ||
5830 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
5831 | (window_wm_protocols_filter): Remove function. | |
5832 | (create): Remove filter that removes WM_TAKE_FOCUS client | |
5833 | messages. | |
5834 | ||
794c3bee AG |
5835 | 2004-06-17 Anthony Green <green@redhat.com> |
5836 | ||
1616280e AG |
5837 | * java/util/zip/ZipFile.java (getInputStream): Return null if |
5838 | entry not found. | |
5839 | ||
794c3bee AG |
5840 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extension |
5841 | directory contents to the class path. | |
5842 | ||
d1238423 AH |
5843 | 2004-06-15 Andrew Haley <aph@redhat.com> |
5844 | ||
5845 | * java/lang/natSystem.cc (getenv0): Don't assume environment | |
5846 | variable is Latin 1 coded. | |
5847 | ||
f1c3e0a6 AJ |
5848 | 2004-06-14 Andreas Jaeger <aj@suse.de> |
5849 | ||
5850 | * configure.in: Support --enable-version-specific-runtime-libs. | |
5851 | * configure: Regenerated. | |
5852 | ||
84b1d821 BM |
5853 | 2004-06-14 Bryce McKinlay <mckinlay@redhat.com> |
5854 | ||
5855 | * java/util/Calendar.java: Change ResourceBundle.getBundle() calls | |
5856 | to pass ClassLoader argument. | |
5857 | * java/util/GregorianCalendar.java: Likewise. | |
5858 | * java/util/Currency.java: Likewise. | |
5859 | * java/text/BreakIterator.java: Likewise. | |
5860 | * java/text/Collator.java: Likewise. | |
5861 | * java/text/DateFormat.java: Likewise. | |
5862 | * java/text/DateFormatSymbols.java: Likewise. | |
5863 | * java/text/DecimalFormatSymbols.java: Likewise. | |
5864 | * java/text/NumberFormat.java: Likewise. | |
5865 | * java/awt/Window.java: Likewise. | |
5866 | ||
df94fa14 AH |
5867 | 2004-06-14 Andrew Haley <aph@redhat.com> |
5868 | ||
5869 | * java/lang/System.java: (getenv0): New method. | |
5870 | (getenv): Add security check. Do the right thing. | |
5871 | * java/lang/natSystem.cc (getenv0): New method. | |
5872 | ||
ff6ea709 MW |
5873 | 2004-06-12 Mark Wielaard <mark@klomp.org> |
5874 | ||
5875 | * javax/swing/RepaintManager.java | |
5876 | (paintDirtyRegions): Use entrySet(), not values(). | |
5877 | ||
d1ee8381 MW |
5878 | 2004-06-10 Mark Wielaard <mark@klomp.org> |
5879 | ||
5880 | * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to | |
5881 | NoSuchMethodError. | |
5882 | ||
b092552d JQ |
5883 | 2004-06-11 Jerry Quinn <jlquinn@optonline.net> |
5884 | ||
5885 | * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae | |
5886 | when we already know the answer. | |
5887 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
5888 | (setStartRule,setEndRule): Don't take abs of day number. | |
5889 | (getOffset): Clarify docs. Add argument checks. | |
5890 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
5891 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
5892 | endTimeMode. | |
5893 | ||
618df745 TT |
5894 | 2004-06-10 Tom Tromey <tromey@redhat.com> |
5895 | ||
5896 | * interpret.cc (run): Handle wide fload. | |
5897 | ||
648b6075 JQ |
5898 | 2004-06-06 Jerry Quinn <jlquinn@optonline.net> |
5899 | ||
5900 | * java/util/zip/ZipEntry.java (setTime): Remove scaling. | |
5901 | ||
9fc3ed51 MK |
5902 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
5903 | ||
5904 | * javax/swing/SwingConstants.java | |
5905 | (NEXT): New constant. | |
5906 | (PREVIOUS): Likewise. | |
5907 | ||
c6dd0441 MK |
5908 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
5909 | ||
5910 | * javax/swing/UIManager.java | |
5911 | (LookAndFeel): Made public. | |
5912 | (LookAndFeel.getName): Likewise. | |
5913 | (LookAndFeel.getClassName): Likewise. | |
5914 | ||
53ef271f MK |
5915 | 2004-06-03 Michael Koch <konqueror@gmx.de> |
5916 | ||
5917 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
5918 | (requestFocus): Revert last changes. | |
5919 | (gtkRequestFocus): Removed. | |
5920 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5921 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
5922 | Renamed to ... | |
5923 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus): | |
5924 | Reverted last patch. | |
5925 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
5926 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup): | |
5927 | Reverted comment change. | |
5928 | ||
26f4ba86 OR |
5929 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> |
5930 | ||
5931 | * javax/swing/JCheckBoxMenuItem.java: | |
5932 | Removed CVS tags. | |
5933 | * javax/swing/JMenu.java: Likewise. | |
5934 | * javax/swing/JMenuBar.java: Likewise. | |
5935 | * javax/swing/JMenuItem.java: Likewise. | |
5936 | * javax/swing/JPopupMenu.java: Likewise. | |
5937 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
5938 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
5939 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
5940 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
5941 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
5942 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
5943 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
5944 | ||
c05e85e2 MK |
5945 | 2004-06-01 Tom Tromey <tromey@redhat.com> |
5946 | ||
5947 | * java/io/ObjectStreamField.java: Cleaned up imports. | |
5948 | ||
5949 | 2004-06-01 Michael Koch <konqueror@gmx.de> | |
5950 | ||
5951 | * java/io/ObjectStreamField.java: Style and javadoc cleanup. | |
5952 | ||
5953 | 2004-06-01 Mark Wielaard <mark@klomp.org> | |
5954 | ||
5955 | * java/io/Writer.java (Writer(Object)): Fixed API doc. | |
5956 | ||
6ef44cfd MK |
5957 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
5958 | ||
5959 | * java/security/Security.java | |
5960 | (insertProviderAt): Use equals() instead of ==. | |
5961 | (removeProvicer): Likewise. | |
5962 | (getProvider): Likewise. | |
5963 | * java/security/Signature.java | |
5964 | (sign): Don't set state to UNINITIALIZED. | |
5965 | (verify): Likewise. | |
5966 | ||
1900c4c6 MW |
5967 | 2004-06-01 Mark Wielaard <mark@klomp.org> |
5968 | ||
5969 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus): | |
5970 | Implement by calling gtkRequestFocus. | |
5971 | (gtkRequestFocus): New native method. | |
5972 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5973 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__): | |
5974 | Renamed to ... | |
5975 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
5976 | New function name. | |
5977 | (filter_expose_event_handler): | |
5978 | Mark static. | |
5979 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
5980 | (menu_pos): Mark static. | |
5981 | ||
57807c31 MK |
5982 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
5983 | ||
5984 | * java/text/CollationElementIterator.java, | |
5985 | java/text/CollationKey.java, | |
5986 | java/text/RuleBasedCollator.java: New versions from GNU classpath. | |
5987 | * testsuite/libjava.mauve/xfails: Removed all | |
5988 | java.text.CollationElementIterator tests. | |
5989 | ||
f7dbd56c MK |
5990 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
5991 | ||
5992 | * java/util/zip/InflaterInputStream.java: Merged more with Classpath | |
5993 | version. | |
5994 | * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed | |
5995 | Java 1.5 keyword usage. | |
5996 | ||
44a4b8db OR |
5997 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> |
5998 | ||
5999 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
6000 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
6001 | Call getPath() from super class instead. | |
6002 | ||
58128b9d MK |
6003 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
6004 | ||
6005 | * java/io/SequenceInputStream.java: | |
6006 | Rename enum to e because enum is a keyword in Java 1.5. | |
6007 | ||
771b9ca3 MK |
6008 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
6009 | ||
6010 | * gnu/java/rmi/rmic/CompilerProcess.java: | |
6011 | Fixed javadoc to by XHTML compliant. | |
6012 | ||
7a70d70c MW |
6013 | 2004-05-30 Mark Wielaard <mark@klomp.org> |
6014 | ||
6015 | * java/awt/Toolkit.java (loadSystemColors): Implement. | |
6016 | ||
289f9db7 MK |
6017 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
6018 | ||
071917b0 MK |
6019 | * java/lang/System.java: Reordered imports. |
6020 | ||
6021 | 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org> | |
6022 | ||
289f9db7 MK |
6023 | * java/text/DecimalFormat.java |
6024 | (parse): Fixed parsing of decimal strings. Number of maximum | |
6025 | digits to be read should now work. | |
6026 | * java/text/SimpleDateFormat.java | |
6027 | (SimpleDateFormat): Set maximumFractionDigit to 0 for the number | |
6028 | formatter. This fixes DateFormatTest. | |
6029 | ||
1b2545bc MK |
6030 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
6031 | ||
6032 | * java/nio/Buffer.java | |
6033 | (limit): Fixed off by one error. | |
6034 | * java/nio/CharBuffer.java | |
6035 | (wrap): Fixed arguments, added javadocs. | |
6036 | ||
74c2dbf7 MK |
6037 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
6038 | ||
6039 | * gnu/java/beans/BeanInfoEmbryo.java, | |
6040 | java/awt/im/InputContext.java, | |
6041 | javax/swing/tree/DefaultMutableTreeNode.java: | |
6042 | Rename enum to e because enum is a keyword in Java 1.5. | |
6043 | ||
27d14326 MK |
6044 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
6045 | ||
6046 | * gnu/java/math/MPN.java, | |
6047 | java/awt/geom/Arc2D.java: | |
6048 | Fixed javadocs all over. | |
6049 | ||
933592af MK |
6050 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
6051 | ||
6052 | * java/awt/DefaultKeyboardFocusManager.java | |
6053 | (dispatchEvent): Call method to get key event dispatchers. | |
6054 | (dispatchKeyEvent): Call method to get key event post processors. | |
6055 | * javax/swing/JComponent.java | |
6056 | (listenerList): Made protected. | |
6057 | * javax/swing/JOptionPane.java | |
6058 | (message): Don't initialize. | |
6059 | (JOptionPane): Set message text. | |
6060 | * javax/swing/JPopupMenu.java | |
6061 | (show): Fixed typo in argument name. | |
6062 | * javax/swing/RepaintManager.java | |
6063 | (paintDirtyRegions): Use public API of java.util.Map. | |
6064 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
6065 | (positionForMouseEvent): Removed redundant ';'. | |
6066 | (continueDrag): Use method arguments. | |
6067 | ||
5ba95354 RM |
6068 | 2004-05-29 Ranjit Mathew <rmathew@hotmail.com> |
6069 | ||
6070 | * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge | |
6071 | results. | |
6072 | ||
ca60dce2 BM |
6073 | 2004-05-28 Bryce McKinlay <mckinlay@redhat.com> |
6074 | ||
6075 | * gcj/cni.h (JvAllocBytes): New public CNI function. Calls | |
6076 | _Jv_AllocBytes. | |
6077 | * gnu/gcj/RawDataManaged.java: New file. | |
6078 | * java/lang/Thread.java (data): Declare as RawDataManaged. | |
6079 | * java/lang/natThread.cc (init_native): Cast natThread data to | |
6080 | RawDataManaged, not jobject. | |
6081 | * Makefile.am (ordinary_java_source_files): Add RawDataManaged. | |
6082 | * Makefile.in: Rebuilt. | |
6083 | ||
b9f065be JQ |
6084 | 2004-05-27 Jerry Quinn <jlquinn@optonline.net> |
6085 | ||
6086 | * java/util/SimpleTimeZone.java: Reverting my last change until I | |
6087 | can fix it properly. | |
6088 | ||
a4171ce1 MK |
6089 | 2004-05-27 Michael Koch <konqueror@gmx.de> |
6090 | ||
6091 | * javax/swing/JPopupMenu.java | |
6092 | (isVisible): Do not use visible directly. | |
6093 | (setVisible): Likewise. | |
6094 | * javax/swing/JWindow.java | |
6095 | (JWindow): call accessible constructor. | |
6096 | * javax/swing/RepaintManager.java | |
6097 | (paintDirtyRegions): Use public methods to obtain iterator. | |
6098 | ||
c5d2de6b GH |
6099 | 2004-05-25 David Jee <djee@redhat.com> |
6100 | ||
6101 | * java/awt/Container.java | |
6102 | (remove): Set component's parent to null only after we removed the | |
6103 | component from its parent's layout manager. | |
6104 | ||
6105 | 2004-05-25 David Jee <djee@redhat.com> | |
6106 | ||
6107 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
6108 | (GtkComponentPeer): Set bounds regardless of whether awtComponent | |
6109 | is valid. | |
6110 | * gnu/java/awt/peer/gtk/GtkListPeer.java | |
6111 | (getSize): Change native method declaration. | |
6112 | (minimumSize): Pass visible row count into getSize(). | |
6113 | (preferredSize): Likewise. | |
6114 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
6115 | (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's | |
6116 | natural size. Use visible row count to determine the final height | |
6117 | value to return. | |
6118 | ||
6119 | 2004-05-21 Graydon Hoare <graydon@redhat.com> | |
6120 | ||
6121 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
6122 | (setClip): Minor correction to order of operations. | |
6123 | ||
6124 | * javax/swing/JScrollPane.java: Extend sketchy implementation. | |
6125 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
6126 | * javax/swing/JViewPort.java: Likewise. | |
6127 | * javax/swing/ViewportLayout.java: Likewise. | |
6128 | ||
6129 | * javax/swing/JComponent.java: Rewrite. | |
6130 | * javax/swing/RepaintManager.java: Likewise. | |
6131 | ||
6132 | * javax/swing/JLayeredPane.java: Change validate() to revalidate(). | |
6133 | * javax/swing/JList.java | |
6134 | (setSelectedIndices): | |
6135 | (getSelectedIndices): | |
6136 | (getSelectedValues): New functions. | |
6137 | (getPreferredScrollableViewportSize): Return preferred size. | |
6138 | (getScrollableUnitIncrement): | |
6139 | (getScrollableBlockIncrement): Initial implementations. | |
6140 | * javax/swing/JRootPane.java: Clean up slightly. | |
6141 | (getUI): | |
6142 | (setUI): | |
6143 | (updateUI): | |
6144 | (getUIClassID): | |
6145 | (isValidateRoot): Add overrides from JComponent. | |
6146 | * javax/swing/JScrollBar.java: Set default orientation to VERTICAL. | |
6147 | * javax/swing/UIManager.java (getDimension): Return the dimension. | |
6148 | ||
6149 | * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque. | |
6150 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
6151 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
6152 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
6153 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
6154 | * javax/swing/plaf/basic/BasicSliderUI.java: Likewise. | |
6155 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
6156 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
6157 | Likewise, and set background. | |
6158 | * javax/swing/plaf/basic/BasicListUI.java: | |
6159 | Likewise, and improve a bit. | |
6160 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
6161 | Likewise, and adjust calculations. | |
6162 | * javax/swing/plaf/basic/BasicViewportUI.java: | |
6163 | Likewise, and improve a bit. | |
6164 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
6165 | (Button.margin): Shrink. | |
6166 | ||
6167 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
6168 | Hack to set horizontal always, workaround pango. | |
6169 | ||
6170 | * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API. | |
6171 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: | |
6172 | Synchronize more often, check cairo status after ops, | |
6173 | handle changes to cairo pattern API, check for disposal. | |
6174 | ||
6175 | 2004-05-21 Olga Rodimina <rodimina@redhat.com> | |
6176 | ||
6177 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
6178 | (BasicMenuItemUI): Create propertyChangeListener. | |
6179 | (getPath):Implemented. | |
6180 | (installListeners): Add propertyChangeListener to menuItem. | |
6181 | (uninstallListeners): Remove propertyChangeListener from menuItem. | |
6182 | (update): Implemented. | |
6183 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
6184 | (mouseEntered): Take insets of popup menu into account when | |
6185 | calculating position of popup menu. | |
6186 | ||
6187 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
6188 | ||
6189 | * Makefile.am: Added new file. | |
6190 | * Makefile.in: Regenerate. | |
6191 | * javax/swing/JMenuBar.java: | |
6192 | Started implementation. | |
6193 | * javax/swing/JPopupMenu.java: | |
6194 | (setVisible): Fixed location of lightweight/mediumweight | |
6195 | popup menu. | |
6196 | (show): Fixed location of PopupMenu. | |
6197 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
6198 | New file. UI Delegate for JMenuBar. | |
6199 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
6200 | (mouseEntered): Corrected position of the submenu. | |
6201 | ||
6202 | 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6203 | ||
6204 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls | |
6205 | to _gtk_accel_group_attach. | |
6206 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
6207 | Likewise. | |
6208 | ||
6209 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont | |
6210 | package access. Don't override setFont. | |
6211 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise. | |
6212 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give | |
6213 | gtkWidgetRequestFocus package access. | |
6214 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override | |
6215 | setFont. | |
6216 | * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont. | |
6217 | Give gtkWidgetRequestFocus package access. | |
6218 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give | |
6219 | gtkWidgetRequestFocus package access. Don't override setFont. | |
6220 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override | |
6221 | setFont. | |
6222 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
6223 | (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical | |
6224 | region. | |
6225 | (gtkSetFont): Likewise. | |
6226 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont): | |
6227 | Implement. | |
6228 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
6229 | (gtkSetFont): Whitespace fix. | |
6230 | ||
6231 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
6232 | (gtkWidgetSetUsize): Remove method. | |
6233 | ||
6234 | 2004-05-18 David Jee <djee@redhat.com> | |
6235 | ||
6236 | * java/awt/image/MemoryImageSource.java | |
6237 | (newPixels(int,int,int,int,boolean)): Set only the specified | |
6238 | rectangle of pixels. | |
6239 | (newPixels(byte[],ColorModel,int,int)): Implement. | |
6240 | (newPixels(int[],ColorModel,int,int)): Implement. | |
6241 | ||
6242 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
6243 | ||
6244 | * Makefile.am: Added new file. | |
6245 | * Makefile.in: Regenerate. | |
6246 | * javax/swing/JMenu.java: Started | |
6247 | implementation. | |
6248 | * javax/swing/JPopupMenu.java: | |
6249 | (insert): If specified index is -1, then | |
6250 | add component at the end. | |
6251 | (isPopupTrigger): Reimplemented. | |
6252 | (JPopupMenu.LightWeightPopup): setBounds | |
6253 | of the lightWeightPopup before adding it | |
6254 | to the layeredPane. | |
6255 | (javax/swing/plaf/basic/BasicIconFactory.java): | |
6256 | (getMenuArrowIcon): Implemented. | |
6257 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
6258 | (getPreferredSize): Add size of the arrow icon | |
6259 | if this menu item is instance of JMenu. | |
6260 | (paintMenuItem): Paint arrow icon if this | |
6261 | menu item is a submenu. | |
6262 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
6263 | New File. UI Delegate for JMenu. | |
6264 | ||
6265 | 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6266 | ||
6267 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): | |
6268 | Post KEY_TYPED events. | |
6269 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
6270 | (generates_key_typed_event): Remove function. | |
6271 | ||
6272 | 2004-05-17 Olga Rodimina <rodimina@redhat.com> | |
6273 | ||
6274 | * javax/swing/JRootPane.java | |
6275 | (JRootPane.RootLayout): Reimplemented to | |
6276 | set bounds of contentPane and menuBar. | |
6277 | (setJMenuBar): Add menu bar to the layered pane. | |
6278 | (createLayeredPane): Set layout of layeredPane | |
6279 | to null. | |
6280 | * javax/swing/JLayeredPane.java: | |
6281 | (addImpl): Calculate index of the component in the | |
6282 | layeredPane according to the specified position within | |
6283 | the layer. | |
6284 | ||
6285 | 2004-05-17 David Jee <djee@redhat.com> | |
6286 | ||
6287 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
6288 | (setPixels): Change color model to the default model after | |
6289 | converting pixels. | |
6290 | * java/awt/image/MemoryImageSource.java | |
6291 | (newPixels): Set only the specified rectangle of pixels. | |
6292 | ||
6293 | 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6294 | ||
6295 | * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet | |
6296 | -l-java-beans -l-javax-accessibility -l-javax-swing. | |
6297 | ||
6298 | * java/awt/AWTEvent.java (toString): Print source's name rather | |
6299 | than the source itself. | |
6300 | ||
6301 | 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6302 | ||
6303 | * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make | |
6304 | native. | |
6305 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | |
6306 | (gdk_color_to_java_color): New function. | |
6307 | * jni/gtk-peer/gtkpeer.h: Add SystemColor defines. | |
6308 | ||
6309 | 2004-05-12 David Jee <djee@redhat.com> | |
6310 | ||
6311 | * java/awt/image/RGBImageFilter.java: | |
6312 | Initialize origmodel as null. | |
6313 | (makeColor): Fix pixel component order. | |
6314 | (filterRGBPixels): Fix pixel iteration. | |
6315 | (setPixels): Add extra checks for index color model. Convert pixels | |
6316 | to default color model if necessary. | |
6317 | (convertColorModelToDefault): New override method for byte pixels. | |
6318 | (convertColorModelToDefault): For int pixels, fix pixel iteration. | |
6319 | (makeColorbyDefaultCM): New override method for byte pixels. | |
6320 | (makeColorbyDefaultCM): For int pixel, add color model as argument. | |
6321 | (makeColor): Fix pixel component order. | |
6322 | ||
6323 | 2004-05-11 Kim Ho <kho@redhat.com> | |
6324 | ||
6325 | * javax/swing/Box.java: | |
6326 | Comment out more parts of Box.Filler. | |
6327 | ||
6328 | 2004-05-11 Kim Ho <kho@redhat.com> | |
6329 | ||
6330 | * javax/swing/Box.java: | |
6331 | Remove reference to AccessibleAWTComponent so | |
6332 | it compiles again. | |
6333 | ||
6334 | 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6335 | ||
6336 | * gnu/java/awt/peer/gtk/GtkListPeer.java, | |
6337 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update | |
6338 | implementation of list peer to use GtkTreeView instead of | |
6339 | deprecated GtkCList. | |
6340 | ||
6341 | 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6342 | ||
6343 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
6344 | (gtkWidgetDispatchKeyEvent): Remove keyChar parameter. | |
6345 | (handleEvent): Remove keyChar argument to | |
6346 | gtkWidgetDispatchKeyEvent calls. | |
6347 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix | |
6348 | compiler warnings. | |
6349 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
6350 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise. | |
6351 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
6352 | Likewise. | |
6353 | ||
6354 | 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6355 | ||
6356 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
6357 | (gtkWidgetRequestFocus): Mark protected. | |
6358 | (GtkComponentPeer): Only set the peer's bounds if its component | |
6359 | is valid. | |
6360 | * java/awt/Component.java (static): Set the default keyboard | |
6361 | focus manager. | |
6362 | (requestFocus(), requestFocus(boolean), requestFocusInWindow(), | |
6363 | requestFocusInWindow(temporary)): Don't request focus if the | |
6364 | component is not showing. Get tree lock before traversing | |
6365 | component hierarchy. | |
6366 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
6367 | Only set the global focus owner if it is not a Window. | |
6368 | (processKeyEvent): Consume keystrokes associated with the focus | |
6369 | traversal keystroke. | |
6370 | (focusPreviousComponent, focusNextComponent, upFocusCycle, | |
6371 | downFocusCycle): Call requestFocusInWindow instead of | |
6372 | requestFocus. | |
6373 | * java/awt/EventDispatchThread.java (run): Move setting of | |
6374 | default keyboard focus manager to Component.java. | |
6375 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
6376 | (awt_keycode_to_keysym): New function. | |
6377 | (gtkWidgetDispatchKeyEvent): Finish implementation. | |
6378 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
6379 | (pre_event_handler): Add FIXME comment. | |
6380 | ||
6381 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
6382 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
6383 | (gtkWidgetRequestFocus): New method. | |
6384 | * java/awt/TextArea.java (TextArea): Set focus traversal keys to | |
6385 | disable Tab and Shift-Tab keystrokes. | |
6386 | (addNotify, appendText, insertText, replaceText): Simplify peer | |
6387 | retrieval code. | |
6388 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
6389 | (connectSignals): Remove connections to "commit" signals. | |
6390 | Remove C++-style comments. | |
6391 | ||
6392 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
6393 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
6394 | (handleEvent): Activate GTK button when the space bar key is | |
6395 | pressed. | |
6396 | (gtkActivate): New method. | |
6397 | ||
6398 | 2004-05-06 David Jee <djee@redhat.com> | |
6399 | ||
6400 | * java/awt/image/CropImageFilter.java | |
6401 | (setPixels): Implement for byte array pixels. | |
6402 | * java/awt/image/ReplicateScaleFilter.java | |
6403 | (setPixels): Implement for byte array pixels. | |
6404 | (replicatePixels): Overload for byte array pixels. | |
6405 | ||
6406 | 2004-05-06 Kim Ho <kho@redhat.com> | |
6407 | ||
6408 | * javax/swing/Box.java: | |
6409 | (getAccessibleContext): Return an instance of the | |
6410 | correct class. | |
6411 | ||
6412 | 2004-05-05 David Jee <djee@redhat.com> | |
6413 | ||
6414 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
6415 | (drawImage): When component is null, use SystemColor.window as | |
6416 | the default bgcolor. | |
6417 | * gnu/java/awt/peer/gtk/GtkImage.java | |
6418 | (setPixels): We can avoid iterating through the pixel rows only | |
6419 | when height is 1. | |
6420 | * java/awt/Image.java | |
6421 | (getScaledInstance): Partially implement. | |
6422 | * java/awt/image/CropImageFilter.java | |
6423 | (setProperties): Fix "filter" property. | |
6424 | (setPixels): Implement. | |
6425 | * java/awt/image/ReplicateScaleFilter.java | |
6426 | (setDimensions): Use scaled dimensions. | |
6427 | (setPixels): Implement. | |
6428 | (replicatePixels): New method. | |
6429 | ||
6430 | 2004-05-05 David Jee <djee@redhat.com> | |
6431 | ||
6432 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
6433 | (convertPixels): If either pixels or model is null, return null. | |
6434 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c | |
6435 | (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels | |
6436 | is null, do nothing and return. | |
6437 | ||
6438 | 2004-05-03 Kim Ho <kho@redhat.com> | |
6439 | ||
6440 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java: | |
6441 | (getGraphics): Like GtkFramePeer, the Graphics | |
6442 | object needs to be translate to account for | |
6443 | window decorations. | |
6444 | (postMouseEvent): New method. Account for | |
6445 | translation. | |
6446 | (postExposeEvent): ditto. | |
6447 | * javax/swing/Box.java: Stubbed. | |
6448 | * javax/swing/JDialog.java: Ran through jalopy | |
6449 | to fix indentation. | |
6450 | (JDialog): Call SwingUtilities' getOwnerFrame | |
6451 | for null owners. | |
6452 | (setLayout): Check isRootPaneCheckingEnabled | |
6453 | * javax/swing/JOptionPane.java: Re-implemented. | |
6454 | * javax/swing/SwingUtilities.java: | |
6455 | (getOwnerFrame): Static method to grab a default | |
6456 | owner frame for Dialogs that don't specify owners. | |
6457 | * javax/swing/event/SwingPropertyChangeSupport.java: | |
6458 | (firePropertyChange): Fix early exit condition. | |
6459 | * javax/swing/plaf/basic/BasicLabelUI.java: | |
6460 | (paint): Avoid painting text if it is null | |
6461 | or empty. | |
6462 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
6463 | Implement. | |
6464 | ||
6465 | 2004-05-03 Olga Rodimina <rodimina@redhat.com> | |
6466 | ||
6467 | * Makefile.am: Added new file. | |
6468 | * Makefile.in: Regenerate. | |
6469 | * javax/swing/JPopupMenu.java: | |
6470 | Started implementation. | |
6471 | * javax/swing/JWindow.java | |
6472 | (JWindow): call super() if parent for window | |
6473 | is not specified. | |
6474 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
6475 | New File. UI Delegate for JPopupMenu. | |
6476 | ||
6477 | 2004-04-30 Olga Rodimina <rodimina@redhat.com> | |
6478 | ||
6479 | * javax/swing/JApplet.java: Indicated that JApplet | |
6480 | implements RootPaneContainer and made method of this | |
6481 | interface public. | |
6482 | * javax/swing/JFrame.java: Ditto. | |
6483 | * javax/swing/JWindow.java: Ditto. | |
6484 | ||
6485 | 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6486 | ||
6487 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
6488 | (nativeSetBounds): Call gdk_window_move in addition to | |
6489 | gtk_window_move. | |
6490 | ||
6491 | * java/applet/Applet.java (preferredSize): Call parent's | |
6492 | preferredSize if the applet stub is null. | |
6493 | (minimumSize): Likewise for parent's minimumSize. | |
6494 | ||
6495 | 2004-04-27 Olga Rodimina <rodimina@redhat.com> | |
6496 | ||
6497 | * javax/swing/JMenuItem.java | |
6498 | (createActionPropertyChangeListener): Implemented. | |
6499 | (processMouseEvent): Ditto. | |
6500 | (fireMenuDragMouseEntered): Ditto. | |
6501 | (fireMenuDragMouseExited): Ditto. | |
6502 | (fireMenuDragMouseDragged): Ditto. | |
6503 | (fireMenuDragMouseReleased): Ditto. | |
6504 | (menuSelectionChanged): Ditto. | |
6505 | (getSubElements): Ditto. | |
6506 | (getComponent): Ditto. | |
6507 | (addMenuDragMouseListener): Ditto. | |
6508 | (removeMenuDragMouseListener):Ditto. | |
6509 | (addMenuKeyListener): Ditto. | |
6510 | (removeMenuKeyListener): Ditto. | |
6511 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
6512 | (doClick): Imlemented. | |
6513 | * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler: | |
6514 | Don't handle mouse events here. Pass them to | |
6515 | MenuSelectionManager. | |
6516 | ||
6517 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
6518 | Used correct version of jalopy configuration | |
6519 | file to fix style in the files below. | |
6520 | ||
6521 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
6522 | ||
6523 | * javax/swing/JCheckBoxMenuItem.java: | |
6524 | Fixed style and removed unnecessary comments. | |
6525 | * javax/swing/JMenuItem.java: Ditto. | |
6526 | * javax/swing/JRadioButtonMenuItem.java: Ditto. | |
6527 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto. | |
6528 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto. | |
6529 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto. | |
6530 | ||
6531 | 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6532 | ||
6533 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to | |
6534 | C-style. | |
6535 | ||
6536 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment. | |
6537 | ||
6538 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
6539 | (getComponentAfter): Start from current component and work up | |
6540 | the component hierarchy until an acceptable component is found. | |
6541 | Synchronize on tree lock. | |
6542 | (getComponentBefore): Likewise. | |
6543 | ||
6544 | 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6545 | ||
6546 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove | |
6547 | focus-related debugging messages. | |
6548 | * java/awt/DefaultKeyboardFocusManager.java: Likewise. | |
6549 | * java/awt/EventDispatchThread.java: Likewise. | |
6550 | * java/awt/KeyboardFocusManager.java: Likewise. | |
6551 | * java/awt/Window.java: Likewise. | |
6552 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
6553 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
6554 | ||
6555 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change | |
6556 | new C++-style comments to C-style comments. | |
6557 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
6558 | ||
6559 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
6560 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
6561 | (handleEvent): Dispatch key press and key release events to | |
6562 | backing widget. | |
6563 | (requestFocus): Post a FOCUS_GAINED event to the event queue. | |
6564 | (gtkWidgetRequestFocus): New method. | |
6565 | (gtkWidgetDispatchKeyEvent): Likewise. | |
6566 | * java/awt/Component.java (requestFocus, requestFocus(boolean), | |
6567 | requestFocusInWindow, requestFocusInWindow(boolean), | |
6568 | getFocusCycleRootAncestor, nextFocus, transferFocus, | |
6569 | transferFocusBackward, transferFocusUpCycle, hasFocus, | |
6570 | isFocusOwner): Implement and document focus-handling methods. | |
6571 | (setFocusTraversalKeys): Inherit focus traversal keys when | |
6572 | keystrokes argument is null. Fix focus-handling documentation | |
6573 | throughout class. | |
6574 | * java/awt/Container.java (setFocusTraversalKeys, | |
6575 | getFocusTraversalKeys, areFocusTraversalKeysSet, | |
6576 | isFocusCycleRoot, setFocusTraversalPolicy, | |
6577 | getFocusTraversalPolicy, isFocusTraversalPolicySet, | |
6578 | setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle): | |
6579 | Implement and document focus-handling methods. | |
6580 | (transferFocusBackward): Remove method. | |
6581 | (readObject, writeObject): Implement and document serialization | |
6582 | methods. | |
6583 | * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement | |
6584 | and document. | |
6585 | * java/awt/DefaultFocusTraversalPolicy.java: Implement and | |
6586 | document. | |
6587 | * java/awt/DefaultKeyboardFocusManager.java: Implement and | |
6588 | partially document. | |
6589 | * java/awt/EventDispatchThread.java (run): Set default keyboard | |
6590 | focus manager. Attempt to dispatch each event to the keyboard | |
6591 | focus manager before normal dispatch. | |
6592 | * java/awt/KeyboardFocusManager.java: Implement and partially | |
6593 | document. | |
6594 | * java/awt/Window.java (Window): Set focusCycleRoot to true. | |
6595 | (show): Focus initial component when window is shown for the | |
6596 | first time. | |
6597 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
6598 | (pre_event_handler): Replace complex key press and key release | |
6599 | logic with simple callbacks into GtkComponentPeer. | |
6600 | * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal. | |
6601 | ||
6602 | 2004-04-21 Olga Rodimina <rodimina@redhat.com> | |
6603 | ||
6604 | * javax/swing/MenuSelectionManager.java | |
6605 | (componentForPoint): Added new method. | |
6606 | (defaultManager): New Method. Implemented. | |
6607 | (getSelectedPath): Ditto. | |
6608 | (isComponentPartOfCurrentMenu): Ditto. | |
6609 | (processKeyEvent): Added new method. | |
6610 | (processMouseEvent): New Method. Implemented. | |
6611 | (setSelectedPath): Ditto. | |
6612 | (getPath): Ditto. | |
6613 | ||
6614 | 2004-04-19 Kim Ho <kho@redhat.com> | |
6615 | ||
6616 | * java/awt/Container.java: | |
6617 | (remove): Set the component's parent to null. | |
6618 | (getComponentAt): Implement. | |
6619 | * javax/swing/JComponent.java: | |
6620 | (JComponent): Initialize defaultLocale | |
6621 | (getDefaultLocale): Implement. | |
6622 | (setDefaultLocale): ditto. | |
6623 | * javax/swing/JSlider.java: | |
6624 | (JSlider): Fix calculation of value. | |
6625 | * javax/swing/JSplitPane.java: Implement. | |
6626 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
6627 | Change SplitPane's default divider size. | |
6628 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
6629 | (paint): Remove unused code. | |
6630 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
6631 | Added comments and ran through jalopy. | |
6632 | (setBasicSplitPaneUI): Get reference to hidden divider | |
6633 | and set up one touch buttons if necessary. | |
6634 | (setBorder): Fire propertyChangeEvent only if | |
6635 | borders are different. | |
6636 | (getPreferredSize): Defer to layout manager. | |
6637 | (propertyChange): Implement. | |
6638 | (oneTouchExpandableChanged): ditto. | |
6639 | (createLeftOneTouchButton): Use BasicArrowButton. | |
6640 | (createRightOneTouchButton): ditto. | |
6641 | (moveDividerTo): New method. Moves the divider | |
6642 | to a set location based on the last divider location. | |
6643 | (BasicSplitPaneDivider::MouseHandler): Implement. | |
6644 | (BasicSplitPaneDivider::OneTouchButton): Removed. | |
6645 | (BasicSplitPaneDivider::DragController): Implement. | |
6646 | (BasicSplitPaneDivider::VerticalDragController): | |
6647 | ditto. | |
6648 | (BasicSplitPaneDivider::DividerLayout): ditto. | |
6649 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement. | |
6650 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
6651 | (calculateLayoutInfo): Don't show component if it's | |
6652 | null. | |
6653 | (paintTab): Fix title paint logic. | |
6654 | ||
2140214f JQ |
6655 | 2004-05-26 Jerry Quinn <jlquinn@optonline.net> |
6656 | ||
6657 | PR libgcj/8321 | |
6658 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
6659 | (setStartRule,setEndRule): Don't take abs of day number. | |
6660 | (getOffset): Clarify docs. Add argument checks. | |
6661 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
6662 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
6663 | endTimeMode. | |
6664 | * testsuite/libjava.mauve/xfails | |
6665 | (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22. | |
6666 | ||
17abdabc BM |
6667 | 2004-05-21 Bryce McKinlay <mckinlay@redhat.com> |
6668 | ||
6669 | Layout interfaces during preparation, not initialization. | |
6670 | * java/lang/natClass.cc (initializeClass): Move | |
6671 | _Jv_LayoutInterfaceMethods call... | |
6672 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here. | |
6673 | ||
0fa13661 AG |
6674 | 2004-05-19 Anthony Green <green@localhost.localdomain> |
6675 | ||
6676 | * Makefile.am (awt_java_source_files): Remove javax.rmi and | |
6677 | gnu.javax.rmi code. | |
6678 | * Makefile.in: Rebuilt. | |
6679 | * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java, | |
6680 | javax/rmi/UtilDelegate.java, javax/rmi/Stub.java, | |
6681 | javax/rmi/Util.java, javax/rmi/ObjectImpl.java, | |
6682 | javax/rmi/SystemException.java, javax/rmi/ValueHandler.java, | |
6683 | javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java, | |
6684 | gnu/javax/rmi/CORBA/DelegateFactory.java, | |
6685 | gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, | |
6686 | gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, | |
6687 | gnu/javax/rmi/CORBA/StubDelegateImpl.java, | |
6688 | gnu/javax/rmi/CORBA/UtilDelegateImpl.java, | |
6689 | gnu/javax/rmi/CORBA/ValueHandlerImpl.java, | |
6690 | gnu/javax/rmi/PortableServer.java: Remove files. | |
6691 | ||
0f22079e AG |
6692 | 2004-05-19 Anthony Green <green@redhat.com> |
6693 | ||
6694 | * Makefile.am: Define JAVA_EXT_DIRS. | |
6695 | * Makefile.in: Rebuilt. | |
6696 | * java/lang/natRuntime.cc (insertSystemProperties): Set | |
6697 | java.ext.dirs property. | |
6698 | ||
9152dcf4 MW |
6699 | 2004-05-16 Mark Wielaard <mark@klomp.org> |
6700 | ||
6701 | * java/io/Writer.java (Writer(Object)): Check for null lock object. | |
6702 | ||
fb0e7ec0 MW |
6703 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
6704 | ||
6705 | * doc/cni.sgml: Removed, merged into gcj.texi. | |
6706 | ||
85ff6f62 MW |
6707 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
6708 | ||
6709 | * Makefile.am (ordinary_java_source_files): Add new javax.print | |
6710 | classes. | |
6711 | * Makefile.in: Regenerated. | |
6712 | ||
6713 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6714 | ||
6715 | * javax/print/attribute/standard/DateTimeAtCompleted.java, | |
6716 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
6717 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
6718 | javax/print/attribute/standard/DocumentName.java, | |
6719 | javax/print/attribute/standard/JobHoldUntil.java, | |
6720 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
6721 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
6722 | javax/print/attribute/standard/JobName.java, | |
6723 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
6724 | javax/print/attribute/standard/JobPriority.java, | |
6725 | javax/print/attribute/standard/JobPrioritySupported.java, | |
6726 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
6727 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
6728 | javax/print/attribute/standard/PrinterInfo.java, | |
6729 | javax/print/attribute/standard/PrinterLocation.java, | |
6730 | javax/print/attribute/standard/PrinterMakeAndModel.java, | |
6731 | javax/print/attribute/standard/PrinterMessageFromOperator.java, | |
6732 | javax/print/attribute/standard/PrinterName.java, | |
6733 | javax/print/attribute/standard/QueuedJobCount.java, | |
6734 | javax/print/attribute/standard/RequestingUserName.java: | |
6735 | Fixed javadocs all over. | |
6736 | ||
6737 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6738 | ||
6739 | * javax/print/DocFlavor.java, | |
6740 | javax/print/attribute/standard/ColorSupported.java, | |
6741 | javax/print/attribute/standard/Compression.java, | |
6742 | javax/print/attribute/standard/CopiesSupported.java, | |
6743 | javax/print/attribute/standard/Fidelity.java, | |
6744 | javax/print/attribute/standard/Finishings.java, | |
6745 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
6746 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
6747 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
6748 | javax/print/attribute/standard/JobSheets.java, | |
6749 | javax/print/attribute/standard/JobState.java, | |
6750 | javax/print/attribute/standard/JobStateReason.java, | |
6751 | javax/print/attribute/standard/JobStateReasons.java, | |
6752 | javax/print/attribute/standard/Media.java, | |
6753 | javax/print/attribute/standard/MediaSizeName.java, | |
6754 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
6755 | javax/print/attribute/standard/NumberUpSupported.java, | |
6756 | javax/print/attribute/standard/OrientationRequested.java, | |
6757 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
6758 | javax/print/attribute/standard/PageRanges.java, | |
6759 | javax/print/attribute/standard/PresentationDirection.java, | |
6760 | javax/print/attribute/standard/PrintQuality.java, | |
6761 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
6762 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
6763 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
6764 | javax/print/attribute/standard/PrinterResolution.java, | |
6765 | javax/print/attribute/standard/PrinterState.java, | |
6766 | javax/print/attribute/standard/PrinterStateReason.java, | |
6767 | javax/print/attribute/standard/PrinterStateReasons.java, | |
6768 | javax/print/attribute/standard/PrinterURI.java, | |
6769 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
6770 | javax/print/attribute/standard/Severity.java, | |
6771 | javax/print/attribute/standard/SheetCollate.java, | |
6772 | javax/print/attribute/standard/Sides.java: | |
6773 | Added serialVersionUID and removed final keyword where it doenst | |
6774 | belong. | |
6775 | ||
6776 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6777 | ||
6778 | * javax/print/PrintServiceLookup.java: New file. | |
6779 | ||
6780 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6781 | ||
6782 | * javax/print/DocFlavor.java: | |
6783 | Implemented all flavor classes. | |
6784 | ||
6785 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6786 | ||
6787 | * javax/print/attribute/standard/ColorSupported.java, | |
6788 | javax/print/attribute/standard/Compression.java, | |
6789 | javax/print/attribute/standard/CopiesSupported.java, | |
6790 | javax/print/attribute/standard/Fidelity.java, | |
6791 | javax/print/attribute/standard/Finishings.java, | |
6792 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
6793 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
6794 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
6795 | javax/print/attribute/standard/JobSheets.java, | |
6796 | javax/print/attribute/standard/JobState.java, | |
6797 | javax/print/attribute/standard/JobStateReason.java, | |
6798 | javax/print/attribute/standard/JobStateReasons.java, | |
6799 | javax/print/attribute/standard/Media.java, | |
6800 | javax/print/attribute/standard/MediaSizeName.java, | |
6801 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
6802 | javax/print/attribute/standard/NumberUpSupported.java, | |
6803 | javax/print/attribute/standard/OrientationRequested.java, | |
6804 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
6805 | javax/print/attribute/standard/PageRanges.java, | |
6806 | javax/print/attribute/standard/PresentationDirection.java, | |
6807 | javax/print/attribute/standard/PrintQuality.java, | |
6808 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
6809 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
6810 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
6811 | javax/print/attribute/standard/PrinterResolution.java, | |
6812 | javax/print/attribute/standard/PrinterState.java, | |
6813 | javax/print/attribute/standard/PrinterStateReason.java, | |
6814 | javax/print/attribute/standard/PrinterStateReasons.java, | |
6815 | javax/print/attribute/standard/PrinterURI.java, | |
6816 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
6817 | javax/print/attribute/standard/Severity.java, | |
6818 | javax/print/attribute/standard/SheetCollate.java, | |
6819 | javax/print/attribute/standard/Sides.java: New files. | |
6820 | ||
6821 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6822 | ||
6823 | * javax/print/Doc.java | |
6824 | (getPrintData): Throws IOException. | |
6825 | (getReaderForText): Likewise. | |
6826 | (getStreamForBytes): Likewise. | |
6827 | * javax/print/DocFlavor.java: | |
6828 | Fixed filename in copyright. | |
6829 | (serialVersionUID): New field. | |
6830 | * javax/print/ServiceUIFactory.java: | |
6831 | Made all constants final. | |
6832 | * javax/print/AttributeException.java | |
6833 | javax/print/MultiDoc.java | |
6834 | javax/print/MultiDocPrintJob.java | |
6835 | javax/print/MultiDocPrintService.java | |
6836 | javax/print/StreamPrintService.java | |
6837 | javax/print/URIException.java: New files. | |
6838 | * javax/print/Makefile.am | |
6839 | (EXTRA_DIST): Added all new files. | |
6840 | ||
6841 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6842 | ||
6843 | * javax/print/attribute/standard/Copies.java, | |
6844 | javax/print/attribute/standard/DateTimeAtCompleted.java, | |
6845 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
6846 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
6847 | javax/print/attribute/standard/DocumentName.java, | |
6848 | javax/print/attribute/standard/JobHoldUntil.java, | |
6849 | javax/print/attribute/standard/JobImpressions.java, | |
6850 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
6851 | javax/print/attribute/standard/JobKOctets.java, | |
6852 | javax/print/attribute/standard/JobKOctetsProcessed.java, | |
6853 | javax/print/attribute/standard/JobMediaSheets.java, | |
6854 | javax/print/attribute/standard/JobMediaSheetsCompleted.java, | |
6855 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
6856 | javax/print/attribute/standard/JobName.java, | |
6857 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
6858 | javax/print/attribute/standard/JobPriority.java, | |
6859 | javax/print/attribute/standard/JobPrioritySupported.java, | |
6860 | javax/print/attribute/standard/NumberOfDocuments.java, | |
6861 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
6862 | javax/print/attribute/standard/NumberUp.java, | |
6863 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
6864 | javax/print/attribute/standard/PagesPerMinute.java, | |
6865 | javax/print/attribute/standard/PagesPerMinuteColor.java: | |
6866 | Fixed @return tag all over. | |
6867 | ||
6868 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6869 | ||
6870 | * javax/print/attribute/AttributeSetUtilities.java | |
6871 | (verifyCategoryForValue): Fixed typo in javadoc. | |
6872 | * javax/print/attribute/HashAttributeSet.java | |
6873 | (containsKey): Fixed @return tag. | |
6874 | (comtainsValue): Likewise. | |
6875 | (equals): Likewise. | |
6876 | * javax/print/attribute/IntegerSyntax.java | |
6877 | (equals): Likewise. | |
6878 | * javax/print/attribute/ResolutionSyntax.java | |
6879 | (equals): Likewise. | |
6880 | (getCrossFeedResolution): Removed unused code. | |
6881 | (getFeedResolution): Likewise. | |
6882 | * javax/print/attribute/SetOfIntegerSyntax.java | |
6883 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
6884 | (equals): Fixed @return tag. | |
6885 | * javax/print/attribute/TextSyntax.java | |
6886 | (TextSyntax): Take locale into account. | |
6887 | (hashCode): Better implementation. | |
6888 | ||
6889 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
6890 | ||
6891 | * javax/print/CancelablePrintJob.java, | |
6892 | javax/print/Doc.java, | |
6893 | javax/print/DocFlavor.java, | |
6894 | javax/print/DocPrintJob.java, | |
6895 | javax/print/FlavorException.java, | |
6896 | javax/print/PrintException.java, | |
6897 | javax/print/PrintService.java, | |
6898 | javax/print/ServiceUIFactory.java: New files. | |
6899 | ||
f437e359 MW |
6900 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
6901 | ||
6902 | * gnu/regexp/CharIndexedReader.java: Removed. | |
6903 | * gnu/regexp/REFilterReader.java: Likewise. | |
6904 | * gnu/regexp/RETokenLookAhead.java: Likewise. | |
6905 | * Makefile.am (ordinary_java_source_files): Remove above classes. | |
6906 | * Makefile.in: Regenerated. | |
6907 | ||
ae0d0d59 TT |
6908 | 2004-05-14 Tom Tromey <tromey@redhat.com> |
6909 | ||
6910 | * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage', | |
6911 | not `XGraphicsConfiguration.XOffScreenImage'. | |
6912 | ||
1cd29ad2 SG |
6913 | 2004-05-14 Scott Gilbertson <scottg@mantatest.com> |
6914 | ||
6915 | * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap. | |
6916 | ||
a01a235c SA |
6917 | 2004-05-14 Steven Augart <augart@watson.ibm.com> |
6918 | ||
6919 | * include/jni.h (_Jv_func): Removed. | |
6920 | (struct JNINativeInterface): Use `void *' for reserved slots. | |
6921 | (struct JNIInvokeInterface): Likewise. | |
6922 | ||
8f0b9daa MK |
6923 | 2004-05-11 Michael Koch <konqueror@gmx.de> |
6924 | ||
6925 | * gnu/java/net/natPlainSocketImplPosix.cc | |
6926 | (read): Fixed typo in expression. | |
6927 | ||
3f68457e AT |
6928 | 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch> |
6929 | ||
6930 | * testsuite/lib/libjava.exp (libjava_invoke): Add new argument | |
6931 | ld_library_additions. Adjust all calls to libjava_invoke to match | |
6932 | the new argument. | |
6933 | ||
6934 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++ | |
6935 | path to cxxflagslist. | |
6936 | Pass path of libstdc++ to libjava_invoke. | |
6937 | ||
6938 | * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust | |
6939 | libjava_invoke arguments. | |
6940 | ||
731d47a6 RM |
6941 | 2004-05-10 Ranjit Mathew <rmathew@hotmail.com> |
6942 | ||
6943 | * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current | |
6944 | reality. | |
6945 | ||
8e31e128 RM |
6946 | 2004-05-07 Ranjit Mathew <rmathew@gmail.com> |
6947 | ||
6948 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the | |
6949 | main binary against the JNI shared library. | |
6950 | ||
61af3d86 JQ |
6951 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> |
6952 | ||
6953 | * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode, | |
6954 | WALL_TIME, STANDARD_TIME, UTC_TIME): New members. | |
6955 | (SimpleTimeZone): Tweak docs. Add new variation. | |
6956 | (setStartRule,setEndRule): Add new variations. Use | |
6957 | startTimeMode and endTimeMode. | |
6958 | ||
6959 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> | |
6960 | ||
6961 | * java/util/Calendar.java (getActualMinimum, | |
6962 | getActualMaximum): Remove abstract. Implement. | |
6963 | ||
579f9640 BM |
6964 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
6965 | ||
6966 | Run the jni tests using the interpreter. | |
6967 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append | |
6968 | options_cxx to shared lib compile command. | |
6969 | (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so | |
6970 | they are used to link the shared lib, not the main binary. | |
6971 | Use libjava_invoke to run gij. | |
6972 | ||
0a215a11 MK |
6973 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
6974 | ||
6975 | * java/util/logging/Level.java | |
6976 | (parse): Use == instead of String.equals(). | |
6977 | ||
e51f7aeb BM |
6978 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
6979 | ||
6980 | * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use | |
6981 | verify_field_signature and verify_method_signature, not | |
6982 | _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature. | |
6983 | (_Jv_ClassReader::handleField): Likewise. | |
6984 | (_Jv_ClassReader::handleMethod): Likewise. | |
6985 | ||
c8395524 MK |
6986 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
6987 | ||
6988 | * javax/swing/table/TableColumn.java: | |
6989 | Reformated. | |
6990 | ||
c8b86f1a MK |
6991 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
6992 | ||
6993 | * javax/imageio/spi/ImageReaderWriterSpi.java | |
6994 | (ImageReaderWriterSpi): Made it public. | |
6995 | * javax/imageio/stream/ImageInputStream.java: | |
6996 | Clean up imports. | |
6997 | ||
9f2eefb7 MK |
6998 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
6999 | ||
7000 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
7001 | Removed empty line. | |
7002 | ||
45505d4d MK |
7003 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
7004 | ||
7005 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c, | |
7006 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c: | |
7007 | New files. | |
7008 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c: | |
7009 | Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h. | |
7010 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
7011 | Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to | |
7012 | their own source file. | |
7013 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
7014 | Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to | |
7015 | their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize. | |
7016 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
7017 | (create): Define variable on top of function. | |
7018 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
7019 | (menu_pos): Prototyped. | |
7020 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
7021 | (setTitle): Removed. | |
7022 | * jni/gtk-peer/gthread-jni.c | |
7023 | (gdk_threads_wake): Removed. | |
7024 | * Makefile.am (gtk_c_source_files): Added new files | |
7025 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and | |
7026 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c. | |
7027 | * Makefile.in: Regenerated. | |
7028 | ||
74e94435 BM |
7029 | 2004-05-05 Bryce McKinlay <mckinlay@redhat.com> |
7030 | ||
7031 | * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary() | |
7032 | call. | |
7033 | ||
68ea5833 MW |
7034 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
7035 | ||
7036 | * javax/swing/AbstractButton.java: Replace special HTML entities with | |
7037 | ASCII equivalent. | |
7038 | * javax/swing/DefaultBoundedRangeModel.java: Likewise. | |
7039 | * javax/swing/DefaultButtonModel.java: Likewise. | |
7040 | * javax/swing/DefaultListModel.java: Likewise. | |
7041 | * javax/swing/JList.java: Likewise. | |
7042 | * javax/swing/JSlider.java: Likewise. | |
7043 | * javax/swing/ListModel.java: Likewise. | |
7044 | * javax/swing/Popup.java: Likewise. | |
7045 | * javax/swing/SwingUtilities.java: Likewise. | |
7046 | ||
880fa238 MK |
7047 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
7048 | ||
7049 | * javax/swing/AbstractButton.java, | |
7050 | javax/swing/ActionMap.java, | |
7051 | javax/swing/DefaultButtonModel.java, | |
7052 | javax/swing/DefaultListModel.java, | |
7053 | javax/swing/ImageIcon.java, | |
7054 | javax/swing/JComboBox.java, | |
7055 | javax/swing/JComponent.java, | |
7056 | javax/swing/JFrame.java, | |
7057 | javax/swing/JInternalFrame.java, | |
7058 | javax/swing/JMenuBar.java, | |
7059 | javax/swing/JMenuItem.java, | |
7060 | javax/swing/JOptionPane.java, | |
7061 | javax/swing/JProgressBar.java, | |
7062 | javax/swing/JRootPane.java, | |
7063 | javax/swing/JScrollBar.java, | |
7064 | javax/swing/JScrollPane.java, | |
7065 | javax/swing/JSeparator.java, | |
7066 | javax/swing/JSlider.java, | |
7067 | javax/swing/JTabbedPane.java, | |
7068 | javax/swing/JTable.java, | |
7069 | javax/swing/JTextField.java, | |
7070 | javax/swing/JToolBar.java, | |
7071 | javax/swing/JToolTip.java, | |
7072 | javax/swing/JTree.java, | |
7073 | javax/swing/JViewport.java, | |
7074 | javax/swing/JWindow.java, | |
7075 | javax/swing/KeyStroke.java, | |
7076 | javax/swing/LookAndFeel.java, | |
7077 | javax/swing/SwingUtilities.java, | |
7078 | javax/swing/Timer.java, | |
7079 | javax/swing/ToolTipManager.java, | |
7080 | javax/swing/UIDefaults.java, | |
7081 | javax/swing/border/TitledBorder.java, | |
7082 | javax/swing/filechooser/FileSystemView.java, | |
7083 | javax/swing/plaf/basic/BasicButtonListener.java, | |
7084 | javax/swing/plaf/basic/BasicButtonUI.java, | |
7085 | javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java, | |
7086 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
7087 | javax/swing/plaf/basic/BasicLabelUI.java, | |
7088 | javax/swing/plaf/basic/BasicMenuItemUI.java, | |
7089 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
7090 | javax/swing/plaf/basic/BasicRootPaneUI.java, | |
7091 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
7092 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
7093 | javax/swing/plaf/basic/BasicSliderUI.java, | |
7094 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
7095 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
7096 | javax/swing/table/JTableHeader.java, | |
7097 | javax/swing/text/AbstractDocument.java, | |
7098 | javax/swing/text/DefaultCaret.java, | |
7099 | javax/swing/text/StyledEditorKit.java, | |
7100 | javax/swing/tree/DefaultTreeCellEditor.java: | |
7101 | Cleaned up imports. | |
7102 | ||
4a93a226 MK |
7103 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
7104 | ||
7105 | * java/util/prefs/AbstractPreferences.java | |
7106 | (AbstractPreferences): Added parenthesis for clarity. | |
7107 | Closes classpath bug #7940. | |
7108 | ||
aaec686e TT |
7109 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
7110 | ||
7111 | * javax/naming/CompoundName.java (endsWith): Look at correct | |
7112 | element of source name. | |
7113 | ||
b1210ca2 MW |
7114 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
7115 | ||
7116 | Reported by f.haeglsperger@gmx.de [classpath patch #2485] | |
7117 | * java/util/HashMap.java (rehash): Add entry at start of bucket. | |
7118 | ||
a54f498a TT |
7119 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
7120 | ||
7121 | * java/io/BufferedReader.java (skip): Removed unused | |
7122 | variable. | |
7123 | ||
e8430418 MK |
7124 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
7125 | ||
7126 | * java/awt/FileDialog.java: Import java.io.Serializable explicitly. | |
7127 | ||
f32c742c DT |
7128 | 2004-05-05 Dalibor Topic <robilad@kaffe.org> |
7129 | ||
7130 | * java/text/AttributedString.java, | |
7131 | java/text/AttributedStringIterator.java, | |
7132 | java/text/Collator.java, | |
7133 | java/text/DecimalFormatSymbols.java, | |
7134 | java/text/NumberFormat.java, | |
7135 | java/text/RuleBasedCollator.java: | |
7136 | Cleaned up imports. | |
7137 | ||
d70bd7ff TT |
7138 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
7139 | ||
7140 | * java/text/Format.java: Cleaned up imports. | |
7141 | * java/text/DecimalFormat.java: Cleaned up imports. | |
7142 | * java/security/SecureRandom.java: Cleaned up imports. | |
7143 | (SecureRandom): Removed unused variable. | |
7144 | * java/security/UnresolvedPermission.java: Cleaned up imports. | |
7145 | * java/util/Date.java (parse): Removed unused variable. | |
7146 | * java/util/ResourceBundle.java: Cleaned up imports. | |
7147 | (getBundle): Removed unused variable. | |
7148 | (tryBundle): Likewise. | |
7149 | * java/util/regex/Pattern.java (Pattern): Removed unused constructor. | |
7150 | ||
2225a42a GL |
7151 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
7152 | ||
7153 | * java/text/SimpleDateFormat.java: | |
7154 | (formatWithAttribute): New method. It implements | |
7155 | the formatting process with attributes. | |
7156 | (format): Use formatWithAttribute. | |
7157 | (formatToCharacterIterator): New method. Use | |
7158 | formatWithAttribute. | |
7159 | ||
1f646142 GL |
7160 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
7161 | ||
7162 | * java/text/MessageFormat.java: | |
7163 | (class Field): New class. | |
7164 | (formatToCharacterIterator): New method. | |
7165 | (format): Use formatInternal now. | |
7166 | (formatInternal): New method. String formatter should | |
7167 | be done here (with attributes). Attributes merging supported. | |
7168 | (parse): More documentation. | |
7169 | (getFormatsByArgumentIndex): New method. | |
7170 | (setFormatByArgumentIndex): New method. | |
7171 | (setFormatsByArgumentIndex): New method. | |
7172 | ||
8cf1edb3 GL |
7173 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
7174 | ||
7175 | * java/text/DecimalFormat.java | |
7176 | (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309. | |
7177 | (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS. | |
7178 | (parse): Fixed handling of exponentiation notation and grouping. | |
7179 | ||
7180 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> | |
7181 | ||
7182 | * java/text/DecimalFormat.java | |
7183 | (scanFix): Build attribute array. Fixed error reporting. | |
7184 | (applyPatternWithSymbols): Store attributes for the prefix and | |
7185 | suffix. | |
7186 | (formatInternal): New method. Changed the way the string is | |
7187 | computed. Implemented attributes. Cleant up rounding in | |
7188 | exponential notation. | |
7189 | (format): Use formatInternal. | |
7190 | (formatToCharacterIterator): New method. | |
7191 | (exponentRound, negativePrefixRanges, positivePrefixRanges, | |
7192 | negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges, | |
7193 | positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs): | |
7194 | New fields. | |
7195 | ||
aff9d141 DT |
7196 | 2004-05-04 Dalibor Topic <robilad@kaffe.org> |
7197 | ||
7198 | * java/security/interfaces/DSAKeyPairGenerator.java, | |
7199 | java/security/interfaces/DSAPrivateKey.java, | |
7200 | java/security/interfaces/DSAPublicKey.java, | |
7201 | java/security/interfaces/RSAPrivateKey.java, | |
7202 | java/security/interfaces/RSAPublicKey.java: | |
7203 | Cleaned up imports. | |
7204 | ||
933522fb MK |
7205 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
7206 | ||
7207 | * java/nio/ByteBuffer.java, | |
7208 | java/nio/CharBuffer.java, | |
7209 | java/nio/DoubleBuffer.java, | |
7210 | java/nio/FloatBuffer.java, | |
7211 | java/nio/IntBuffer.java, | |
7212 | java/nio/LongBuffer.java, | |
7213 | java/nio/ShortBuffer.java: | |
7214 | (compareTo): Fixed bogus implementation in all buffer classes. | |
7215 | ||
27c2c3ec IP |
7216 | 2004-05-04 Ingo Proetel <proetel@aicas.com> |
7217 | ||
7218 | * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has | |
7219 | 32 bit pixels not 8 bit pixels. | |
7220 | (isCompatibleRaster): Added javadoc comment. | |
7221 | ||
7222 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
7223 | ||
7224 | * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset | |
7225 | scanline stride. | |
7226 | ||
7227 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
7228 | ||
7229 | * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature. | |
7230 | (getColorModel): Return the actual color model. | |
7231 | (getRaster): Implemented. | |
7232 | (ColorRaster): New inner class. | |
7233 | * java/awt/SystemColor.java (createContext): Use ColorModel when creating | |
7234 | a PaintContext. | |
7235 | * java/awt/Color.java (<init>): Make exception more verbose. | |
7236 | (createContext): Use ColorModel when creating a PaintContext. | |
7237 | ||
a31d9d6c MK |
7238 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
7239 | ||
7240 | * gnu/java/text/CharacterBreakIterator.java | |
7241 | (previous): Removed unused variable. | |
7242 | ||
065afdfa GL |
7243 | 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org> |
7244 | ||
7245 | * gnu/java/text/FormatBuffer.java, | |
7246 | gnu/java/text/AttributedFormatBuffer.java, | |
7247 | gnu/java/text/StringFormatBuffer.java: New classes to implement | |
7248 | attributed iterators in java.text. | |
7249 | * gnu/java/text/FormatCharacterIterator.java: Moved | |
7250 | from java/text as it is an internal class. | |
7251 | * java/text/FormatCharacterIterator.java: Removed. | |
7252 | * java/text/Format.java: | |
7253 | Import gnu.java.text.FormatCharacterIterator. | |
7254 | * Makefile.am (java_source_files): Added new files. | |
7255 | * Makefile.in: Regenerated. | |
7256 | ||
7257 | ||
af62fd12 MW |
7258 | 2004-05-04 Mark Wielaard <mark@klomp.org> |
7259 | ||
53c87e49 | 7260 | * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method. |
af62fd12 | 7261 | |
a3c44036 AT |
7262 | 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch> |
7263 | ||
7264 | * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra. | |
7265 | * Makefile.in: Rebuilt. | |
7266 | ||
007265b8 MW |
7267 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
7268 | ||
7269 | * gnu/java/security/der/DERReader.java: Call static methods staticly. | |
7270 | * java/awt/TextComponent.java (select): Use selectionEnd parameter. | |
7271 | * java/net/URL.java | |
7272 | (set(String, String, int, String, String, String, String, String)): | |
7273 | Assign this.file to path or path + "?" + query. | |
7274 | * java/util/Arrays.java: Call static methods staticly. | |
7275 | * java/util/zip/ZipEntry.java: Likewise. | |
7276 | * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign | |
7277 | dir to this.direction. | |
7278 | * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): | |
7279 | Assign static field only once. | |
7280 | (DefaultTableCellRenderer): Don't reassign noFocusBorder each time. | |
7281 | ||
a00d3b3c MW |
7282 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
7283 | ||
7284 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed | |
7285 | unused variables hScrollbarHeight and vScrollbarWidth. | |
7286 | (preferredSize): Likewise. | |
7287 | * gnu/java/security/provider/DSAParameters.java (engineToString): | |
7288 | Removed unused call to System.getProperty("line.seperator"); | |
7289 | * java/security/Security.java (loadProviders): Return result. | |
7290 | ||
7b68f0bf TT |
7291 | 2004-05-03 Tom Tromey <tromey@redhat.com> |
7292 | ||
7293 | * java/net/URLStreamHandler.java (toExternalForm): Removed | |
7294 | unused variables. | |
7295 | unused constructor. | |
7296 | * java/math/BigDecimal.java (divide): Removed unused variable. | |
7297 | * java/lang/Throwable.java: Cleaned up imports. | |
7298 | * java/lang/ClassLoader.java: Cleaned up imports. | |
7299 | * java/io/FilePermission.java (implies): Removed unused | |
7300 | variable. | |
7301 | * java/awt/TextComponent.java: Removed unused import. | |
7302 | * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. | |
7303 | * gnu/java/util/DoubleEnumeration.java: Removed unused import. | |
7304 | * gnu/java/text/WordBreakIterator.java: Removed unused import. | |
7305 | * gnu/java/text/SentenceBreakIterator.java: Removed unused | |
7306 | import. | |
7307 | * gnu/java/text/LineBreakIterator.java: Removed unused import. | |
7308 | * gnu/java/text/CharacterBreakIterator.java: Removed | |
7309 | unused import. | |
7310 | * gnu/java/security/provider/DSAKeyPairGenerator.java: | |
7311 | Cleaned up imports. | |
7312 | * gnu/java/security/der/DERWriter.java: Cleaned up imports. | |
7313 | * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed | |
7314 | unused method. | |
7315 | * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. | |
7316 | * gnu/java/nio/FileLockImpl.java: Cleaned up imports. | |
7317 | * gnu/java/io/Base64InputStream.java: Cleaned up imports. | |
7318 | * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. | |
7319 | * gnu/classpath/ServiceFactory.java: Cleaned up imports. | |
7320 | (lookupProviders): Removed unused variable. | |
7321 | (loadNextServiceProvider): Likewise. | |
7322 | * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports. | |
7323 | ||
493b3c9c MK |
7324 | 2004-05-03 Michael Koch <konqueror@gmx.de> |
7325 | ||
7326 | Fixes PR libgcj/14695: | |
7327 | * java/net/NetworkInterface.java | |
7328 | (getByName): Return null when no interface was found. | |
7329 | ||
55ce9c52 RM |
7330 | 2004-04-30 Ranjit Mathew <rmathew@hotmail.com> |
7331 | Tom Tromey <tromey@redhat.com> | |
7332 | ||
7333 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use | |
7334 | additional option "-Wmissing-prototypes" for compiling C sources. | |
7335 | Print actual filename for pass/fail rather than $name.c. | |
7336 | * testsuite/libjava.jni/PR15133.java: New testcase file. | |
7337 | * testsuite/libjava.jni/PR15133.c: Likewise. | |
7338 | * testsuite/libjava.jni/PR15133.out: Likewise. | |
7339 | ||
2d99c042 RS |
7340 | 2004-04-30 Roger Sayle <roger@eyesopen.com> |
7341 | ||
7342 | * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin, | |
7343 | ceil and floor. | |
7344 | ||
c1fcbbc3 RM |
7345 | 2004-04-25 Ranjit Mathew <rmathew@hotmail.com> |
7346 | ||
7347 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly | |
7348 | limit the maximum heap size to avoid unnecessary thrashing. | |
7349 | ||
6f0b1fa5 JQ |
7350 | 2004-04-24 Jerry Quinn <jlquinn@optonline.net> |
7351 | ||
7352 | * java/text/CollationElementIterator.java (reset): Reset | |
7353 | lookahead variables. | |
7354 | ||
99a88816 MW |
7355 | 2004-04-23 Mark Wielaard <mark@klomp.org> |
7356 | ||
7357 | * jni/classpath/jcl.c: Changed C++ comments into C comments. | |
7358 | ||
b4e7ef8d DT |
7359 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
7360 | ||
7361 | * java/sql/DriverManager.java: | |
7362 | Cleaned up imports. | |
7363 | ||
e9d34968 MK |
7364 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
7365 | ||
7366 | * java/net/URL.java | |
7367 | (hashcode): Don't initialize with default value explicitely. | |
7368 | (getContent): Removed redundant "final" keyword. | |
7369 | (openStream): Likewise. | |
7370 | (getURLStreamHandler): Fixed coding style. | |
7371 | * java/net/URLConnection.java | |
7372 | (defaultAllowUserInteraction): Don't initialize with default value | |
7373 | explicitely. | |
7374 | (connected): Likewise. | |
7375 | (doOutput): Likewise. | |
7376 | (ifModifiedSince): Likewise. | |
7377 | (dateformats_initialized): Likewise. | |
7378 | (setURLStreamHander): Use StreamTokenizer where it belongs to. | |
7379 | ||
87939d70 MK |
7380 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
7381 | ||
7382 | * gnu/java/nio/channels/FileChannelImpl.java | |
7383 | (SET, CUR): Unused, removed. | |
7384 | (read): Implement here directly. | |
7385 | (implRead): Removed. | |
7386 | (write): Implement here directly. | |
7387 | (implWrite): Removed. | |
7388 | ||
5d837a58 DT |
7389 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
7390 | ||
7391 | * javax/rmi/CORBA/PortableRemoteObjectDelegate.java, | |
7392 | javax/rmi/CORBA/Stub.java, | |
7393 | javax/rmi/CORBA/Util.java, | |
7394 | javax/rmi/CORBA/ValueHandler.java, | |
7395 | javax/rmi/CORBA/ValueHandler.java, | |
7396 | javax/rmi/PortableRemoteObject.java: | |
7397 | Cleaned up imports. | |
7398 | ||
ace7ed7c DT |
7399 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
7400 | ||
7401 | * java/util/jar/JarFile.java, | |
7402 | java/util/jar/JarInputStream.java, | |
7403 | java/util/jar/JarOutputStream.java, | |
7404 | java/util/jar/Manifest.java: | |
7405 | Cleaned up imports. | |
7406 | ||
7407 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
7408 | ||
7409 | * java/util/ArrayList.java, | |
7410 | java/util/Calendar.java, | |
7411 | java/util/Currency.java, | |
7412 | java/util/HashMap.java, | |
7413 | java/util/HashSet.java, | |
7414 | java/util/Hashtable.java, | |
7415 | java/util/LinkedList.java, | |
7416 | java/util/Properties.java, | |
7417 | java/util/PropertyPermission.java, | |
7418 | java/util/TimeZone.java, | |
7419 | java/util/TreeMap.java, | |
7420 | java/util/TreeSet.java, | |
7421 | java/util/Vector.java, | |
7422 | java/util/WeakHashMap.java: | |
7423 | Cleaned up imports. | |
7424 | ||
7425 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
7426 | ||
7427 | * java/util/logging/FileHandler.java, | |
7428 | java/util/logging/Formatter.java, | |
7429 | java/util/logging/Handler.java, | |
7430 | java/util/logging/Logger.java, | |
7431 | java/util/logging/SimpleFormatter.java, | |
7432 | java/util/logging/XMLFormatter.java: | |
7433 | Cleaned up imports. | |
7434 | ||
ae522139 MW |
7435 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
7436 | ||
7437 | * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall | |
7438 | -Wno-long-long flags variable. | |
7439 | (gtk_c_files): Use PEDANTIC_CFLAGS. | |
7440 | * Makefile.in: Regenerated. | |
7441 | ||
838a4849 MK |
7442 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
7443 | ||
7444 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
7445 | Changed C++ comments into C comments. | |
7446 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: | |
7447 | Likewise. | |
7448 | ||
7449 | 2004-04-22 Michael Koch <konqueror@gmx.de> | |
7450 | ||
7451 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
7452 | Merged copyright year with GNU classpath. | |
7453 | ||
fe2235d1 DT |
7454 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
7455 | ||
7456 | * javax/security/auth/x500/X500Principal.java: | |
7457 | Cleaned up imports. | |
7458 | ||
b7db3d0a DT |
7459 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
7460 | ||
7461 | * javax/swing/JSlider.java: | |
7462 | Fixed HTML tags in comments. | |
7463 | ||
32bfc773 DT |
7464 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
7465 | ||
7466 | * javax/accessibility/AccessibleText.java: | |
7467 | Cleaned up imports. | |
7468 | ||
e930d01a MK |
7469 | 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl> |
7470 | ||
7471 | * java/net/URLStreamHandler.java | |
7472 | (parseURL): Convert the file path to using '/' instead of native | |
7473 | file separator. | |
7474 | ||
7475 | 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org> | |
7476 | ||
7477 | * java/net/URL.java | |
7478 | (userInfo): New field. | |
7479 | (URL): Set authority to the right value. | |
7480 | (setURL): Fixed authority and file initialization. | |
7481 | * java/net/URLStreamHandler.java | |
7482 | (parseURL): Take care of the query tag. Build authority. | |
7483 | (toExternalForm): Fixed URL building using authority. | |
7484 | ||
5d79367d MK |
7485 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
7486 | ||
7487 | * java/net/Socket.java | |
7488 | (impl): Made package-private. | |
7489 | * java/net/ServerSocket.java | |
7490 | (implAccept): Access Socket.impl field directly. | |
7491 | ||
c0dce235 DT |
7492 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
7493 | ||
7494 | * java/util/prefs/Preferences.java, | |
7495 | java/util/prefs/InvalidPreferencesFormatException.java, | |
7496 | java/util/prefs/BackingStoreException.java, | |
7497 | java/util/prefs/AbstractPreferences.java: | |
7498 | Cleaned up imports. | |
7499 | ||
7500 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> | |
7501 | ||
7502 | * java/util/regex/Matcher.java, | |
7503 | java/util/regex/Pattern.java: | |
7504 | Cleaned up imports. | |
7505 | ||
5c09d725 MK |
7506 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
7507 | ||
7508 | * java/nio/charset/IllegalCharsetNameException.java | |
7509 | (charsetName): Made private. | |
7510 | (IllegalCharsetNameException): Added @param tag to javadoc. | |
7511 | (getCharsetName): Added @return tag to javadoc. | |
7512 | * java/nio/charset/MalformedInputException.java | |
7513 | (MalformedInputException): Added @param tag to javadoc. | |
7514 | (getInputLength): Revised method description, added @return tag. | |
7515 | (getMessage): Added @return tag. | |
7516 | ||
83ef3f2b JQ |
7517 | 2004-04-22 Jerry Quinn <jlquinn@optonline.net> |
7518 | ||
7519 | * java/awt/Font.java (deriveFont): Implement missing variants. | |
7520 | * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement | |
7521 | missing variants. | |
7522 | ||
746ecc78 BM |
7523 | 2004-04-21 Bryce McKinlay <mckinlay@redhat.com> |
7524 | ||
7525 | * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method. | |
7526 | Set method->index values for interface methods to their itable index. | |
7527 | (initializeClass): Call _Jv_LayoutInterfaceMethods. | |
7528 | ||
86a80fc3 MK |
7529 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
7530 | ||
7531 | * java/nio/DirectByteBufferImpl.java | |
7532 | (shiftDown): Made static, give address as argument and | |
7533 | provide a convenience method that overwrites shiftDown in | |
7534 | ByteBufferImpl and calls the native shiftDown. | |
7535 | * java/nio/MappedByteBufferImpl.java | |
7536 | (): Use optimized method in DirectByteBufferImpl. | |
7537 | * java/nio/natDirectByteBufferImpl.cc | |
7538 | (shiftDown): Changed method signature. Removed usage of array_offset. | |
7539 | ||
6e90ed19 MK |
7540 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
7541 | ||
7542 | * gnu/java/net/natPlainSocketImplPosix.cc | |
7543 | (SocketInputStream::read): Make sure returned data is a byte value. | |
7544 | ||
96d22b12 MK |
7545 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
7546 | ||
7547 | * gnu/classpath/ServiceFactory.java, | |
7548 | gnu/classpath/ServiceProviderLoadingAction.java, | |
7549 | javax/imageio/ImageReader.java, | |
7550 | javax/imageio/ImageTranscoder.java, | |
7551 | javax/imageio/ImageWriter.java, | |
7552 | javax/imageio/package.html, | |
7553 | javax/imageio/spi/IIOServiceProvider.java, | |
7554 | javax/imageio/spi/ImageInputStreamSpi.java, | |
7555 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
7556 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
7557 | javax/imageio/spi/ImageTranscoderSpi.java, | |
7558 | javax/imageio/spi/RegisterableService.java, | |
7559 | javax/imageio/spi/ServiceRegistry.java, | |
7560 | javax/imageio/spi/package.html, | |
7561 | javax/imageio/stream/IIOByteBuffer.java, | |
7562 | javax/imageio/stream/ImageInputStream.java, | |
7563 | javax/imageio/stream/ImageOutputStream.java, | |
7564 | javax/imageio/stream/package.html: | |
7565 | New files. | |
7566 | * Makefile.am | |
7567 | (ordinary_java_source_files): Added | |
7568 | gnu/classpath/ServiceFactory.java and | |
7569 | gnu/classpath/ServiceProviderLoadingAction.java. | |
7570 | (javax_source_files): Added | |
7571 | javax/imageio/ImageReader.java, | |
7572 | javax/imageio/ImageTranscoder.java, | |
7573 | javax/imageio/ImageWriter.java, | |
7574 | javax/imageio/spi/IIOServiceProvider.java, | |
7575 | javax/imageio/spi/ImageInputStreamSpi.java, | |
7576 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
7577 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
7578 | javax/imageio/spi/ImageTranscoderSpi.java, | |
7579 | javax/imageio/spi/RegisterableService.java, | |
7580 | javax/imageio/spi/ServiceRegistry.java, | |
7581 | javax/imageio/stream/IIOByteBuffer.java, | |
7582 | javax/imageio/stream/ImageInputStream.java and | |
7583 | javax/imageio/stream/ImageOutputStream.java. | |
7584 | * Makefile.in: Regenerated. | |
7585 | ||
ca17d211 MK |
7586 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
7587 | ||
7588 | * java/util/Properties.java | |
7589 | (load): Fix wrongly merged fix. | |
7590 | ||
60e957d0 MW |
7591 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
7592 | ||
7593 | * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly | |
7594 | malloc and free buf. | |
7595 | ||
27dd18cf DT |
7596 | 2004-04-21 Dalibor Topic <robilad@kaffe.org> |
7597 | ||
7598 | * javax/naming/AuthenticationException.java, | |
7599 | javax/naming/AuthenticationNotSupportedException.java, | |
7600 | javax/naming/CannotProceedException.java, | |
7601 | javax/naming/CommunicationException.java, | |
7602 | javax/naming/CompoundName.java, | |
7603 | javax/naming/ConfigurationException.java, | |
7604 | javax/naming/ContextNotEmptyException.java, | |
7605 | javax/naming/InitialContext.java, | |
7606 | javax/naming/InsufficientResourcesException.java, | |
7607 | javax/naming/InterruptedNamingException.java, | |
7608 | javax/naming/LimitExceededException.java, | |
7609 | javax/naming/LinkException.java, | |
7610 | javax/naming/LinkLoopException.java, | |
7611 | javax/naming/LinkRef.java, | |
7612 | javax/naming/MalformedLinkException.java, | |
7613 | javax/naming/Name.java, | |
7614 | javax/naming/NameAlreadyBoundException.java, | |
7615 | javax/naming/NameNotFoundException.java, | |
7616 | javax/naming/NamingSecurityException.java, | |
7617 | javax/naming/NoInitialContextException.java, | |
7618 | javax/naming/NoPermissionException.java, | |
7619 | javax/naming/NotContextException.java, | |
7620 | javax/naming/PartialResultException.java, | |
7621 | javax/naming/ReferralException.java, | |
7622 | javax/naming/ServiceUnavailableException.java, | |
7623 | javax/naming/SizeLimitExceededException.java, | |
7624 | javax/naming/TimeLimitExceededException.java, | |
7625 | javax/naming/directory/Attribute.java, | |
7626 | javax/naming/directory/Attributes.java, | |
7627 | javax/naming/directory/SearchResult.java, | |
7628 | javax/naming/event/NamingExceptionEvent.java, | |
7629 | javax/naming/spi/ResolveResult.java: | |
7630 | Cleaned up imports. | |
7631 | ||
2635995a MW |
7632 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
7633 | ||
7634 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
7635 | Changed C++ comments into C comments. Removed commented out code. | |
7636 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
7637 | Likewise. | |
7638 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: | |
7639 | Likewise. | |
7640 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: | |
7641 | Likewise. | |
7642 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: | |
7643 | Likewise. | |
7644 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
7645 | Likewise. | |
7646 | * native/jni/gtk-peer/gthread-jni.c: | |
7647 | Likewise. | |
7648 | ||
1c3d6bb2 MW |
7649 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
7650 | ||
7651 | * javax/awt/JFrame.java: Implement WindowConstants. Remove final | |
7652 | static fields defined in interface. | |
7653 | * javax/awt/JDialog.java: Likewise. | |
7654 | (JDialog): Make constructors public. | |
7655 | (getDefaultCloseOperation): Make public. | |
7656 | (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set. | |
7657 | (setDefaultCloseOperation): Make public. Check argument. Add API doc. | |
7658 | * javax/swing/JViewport.java (JViewport): Make constructor public. | |
7659 | ||
387fa012 MK |
7660 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
7661 | ||
7662 | * java/util/Map.java | |
7663 | (Entry): Removed redundant "static" modifier. | |
7664 | * java/text/AttributedCharacterIterator.java: | |
7665 | Updated copyright year. | |
7666 | ||
bf9f06ae MK |
7667 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7668 | ||
7669 | * javax/naming/directory/SearchControls.java: | |
7670 | Don't explicitely extend java.lang.Object. | |
7671 | * javax/naming/spi/DirStateFactory.java: | |
7672 | Merged copyright year with GNU classpath. | |
7673 | ||
8a6c1d29 MK |
7674 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7675 | ||
7676 | * java/nio/channels/Channels.java: | |
7677 | Merged coding style with GNU classpath. | |
7678 | ||
f5874634 MK |
7679 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7680 | ||
7681 | * java/net/ServerSocket.java | |
7682 | Merged coding style from GNU classpath. | |
7683 | ||
90cb5151 MK |
7684 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7685 | ||
7686 | * java/io/BufferedWriter.java: | |
7687 | Reordered variables to be at top of the class. | |
7688 | (localFlush): Removed redundant final keyword. | |
7689 | ||
5ede96a4 IP |
7690 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
7691 | ||
7692 | * java/awt/event/MouseEvent.java (<init>): fixed field assignment | |
7693 | ||
391d8ef5 MK |
7694 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
7695 | ||
7696 | * java/text/DecimalFormat.java (scanFix): Removed suffix check | |
7697 | for percent and permill check. | |
7698 | ||
7699 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
7700 | ||
7701 | * java/text/FieldPosition.java | |
7702 | (FieldPosition) Constructor now behaves as it should according | |
7703 | to the java documentation. | |
7704 | ||
7705 | 2004-04-20 Mark Wielaard <mark@klomp.org> | |
7706 | ||
7707 | * java/util/Properties.java: Use the word umlaut, not ä in api | |
7708 | documentation. | |
7709 | ||
92e1fe67 MK |
7710 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7711 | ||
7712 | * java/nio/Buffer.java, | |
7713 | java/nio/channels/AlreadyConnectedException.java, | |
7714 | java/nio/channels/AsynchronousCloseException.java, | |
7715 | java/nio/channels/ByteChannel.java, | |
7716 | java/nio/channels/CancelledKeyException.java, | |
7717 | java/nio/channels/Channel.java, | |
7718 | java/nio/channels/Channels.java, | |
7719 | java/nio/channels/ClosedByInterruptException.java, | |
7720 | java/nio/channels/ClosedChannelException.java, | |
7721 | java/nio/channels/ClosedSelectorException.java, | |
7722 | java/nio/channels/ConnectionPendingException.java, | |
7723 | java/nio/channels/DatagramChannel.java, | |
7724 | java/nio/channels/FileChannel.java, | |
7725 | java/nio/channels/FileLock.java, | |
7726 | java/nio/channels/FileLockInterruptionException.java, | |
7727 | java/nio/channels/GatheringByteChannel.java, | |
7728 | java/nio/channels/IllegalBlockingModeException.java, | |
7729 | java/nio/channels/IllegalSelectorException.java, | |
7730 | java/nio/channels/InterruptibleChannel.java, | |
7731 | java/nio/channels/NoConnectionPendingException.java, | |
7732 | java/nio/channels/NonReadableChannelException.java, | |
7733 | java/nio/channels/NonWritableChannelException.java, | |
7734 | java/nio/channels/NotYetBoundException.java, | |
7735 | java/nio/channels/NotYetConnectedException.java, | |
7736 | java/nio/channels/OverlappingFileLockException.java, | |
7737 | java/nio/channels/Pipe.java, | |
7738 | java/nio/channels/ReadableByteChannel.java, | |
7739 | java/nio/channels/ScatteringByteChannel.java, | |
7740 | java/nio/channels/SelectableChannel.java, | |
7741 | java/nio/channels/SelectionKey.java, | |
7742 | java/nio/channels/Selector.java, | |
7743 | java/nio/channels/ServerSocketChannel.java, | |
7744 | java/nio/channels/SocketChannel.java, | |
7745 | java/nio/channels/UnresolvedAddressException.java, | |
7746 | java/nio/channels/UnsupportedAddressTypeException.java, | |
7747 | java/nio/channels/WritableByteChannel.java, | |
7748 | java/nio/channels/spi/AbstractInterruptibleChannel.java, | |
7749 | java/nio/channels/spi/AbstractSelectableChannel.java, | |
7750 | java/nio/channels/spi/AbstractSelectionKey.java, | |
7751 | java/nio/channels/spi/AbstractSelector.java, | |
7752 | java/nio/channels/spi/SelectorProvider.java, | |
7753 | java/nio/charset/spi/CharsetProvider.java: | |
7754 | Fixed javadocs and jalopied all over java.nio. | |
7755 | ||
08c5d757 MK |
7756 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7757 | ||
7758 | * java/nio/ByteBufferImpl.java, | |
7759 | java/nio/CharBufferImpl.java, | |
7760 | java/nio/DirectByteBufferImpl.java, | |
7761 | java/nio/DoubleBufferImpl.java, | |
7762 | java/nio/DoubleViewBufferImpl.java, | |
7763 | java/nio/FloatBufferImpl.java, | |
7764 | java/nio/FloatViewBufferImpl.java, | |
7765 | java/nio/IntBufferImpl.java, | |
7766 | java/nio/IntViewBufferImpl.java, | |
7767 | java/nio/LongBufferImpl.java, | |
7768 | java/nio/LongViewBufferImpl.java, | |
7769 | java/nio/MappedByteBufferImpl.java, | |
7770 | java/nio/ShortBufferImpl.java, | |
7771 | java/nio/ShortViewBufferImpl.java: | |
7772 | Made sure all classes are final and removed final keyword from all | |
7773 | methods. | |
7774 | ||
a17c9f2e MK |
7775 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7776 | ||
7777 | * java/rmi/MarshalledObject.java, | |
7778 | java/rmi/Naming.java, | |
7779 | java/rmi/RemoteException.java, | |
7780 | java/rmi/activation/ActivationException.java, | |
7781 | java/rmi/server/ServerCloneException.java, | |
7782 | java/security/AccessController.java, | |
7783 | java/security/AlgorithmParameterGenerator.java, | |
7784 | java/security/AlgorithmParameters.java, | |
7785 | java/security/CodeSource.java, | |
7786 | java/security/Identity.java, | |
7787 | java/security/IdentityScope.java, | |
7788 | java/security/KeyPairGenerator.java, | |
7789 | java/security/KeyStore.java, | |
7790 | java/security/Security.java, | |
7791 | java/security/Signature.java, | |
7792 | java/security/SignatureSpi.java, | |
7793 | java/security/SignedObject.java, | |
7794 | java/security/spec/DSAParameterSpec.java, | |
7795 | java/security/spec/DSAPrivateKeySpec.java, | |
7796 | java/security/spec/DSAPublicKeySpec.java, | |
7797 | java/sql/Array.java, | |
7798 | java/sql/DatabaseMetaData.java, | |
7799 | java/sql/ResultSet.java, | |
7800 | java/text/ChoiceFormat.java, | |
7801 | java/text/CollationElementIterator.java, | |
7802 | java/text/CollationKey.java, | |
7803 | java/text/Collator.java, | |
7804 | java/text/DateFormat.java, | |
7805 | java/text/DateFormatSymbols.java, | |
7806 | java/text/DecimalFormatSymbols.java, | |
7807 | java/text/Format.java, | |
7808 | java/text/ParsePosition.java, | |
7809 | java/text/RuleBasedCollator.java, | |
7810 | java/text/SimpleDateFormat.java, | |
7811 | java/text/StringCharacterIterator.java, | |
7812 | java/util/Collections.java, | |
7813 | java/util/PropertyResourceBundle.java, | |
7814 | java/util/ResourceBundle.java, | |
7815 | java/util/StringTokenizer.java, | |
7816 | java/util/jar/Attributes.java, | |
7817 | java/util/logging/ConsoleHandler.java, | |
7818 | java/util/logging/LogManager.java, | |
7819 | java/util/logging/MemoryHandler.java, | |
7820 | java/util/logging/SocketHandler.java, | |
7821 | javax/naming/NamingException.java: | |
7822 | Fixed javadoc, coding style and argument names all over. | |
7823 | ||
0fc920c8 MK |
7824 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
7825 | ||
7826 | * java/io/FileDescriptor.java: (FileDescriptor) Added public | |
7827 | constructor. (valid) Added null check. | |
7828 | ||
7829 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
7830 | ||
7831 | Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com> | |
7832 | * java/io/FileOutputStream.java | |
7833 | (FileOutputStream) Reorganized constructors. Constructors now | |
7834 | check whether the given path is directory. | |
7835 | ||
f6d49f66 MK |
7836 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7837 | ||
7838 | * java/net/Authenticator.java, | |
7839 | java/net/BindException.java, | |
7840 | java/net/ConnectException.java, | |
7841 | java/net/ContentHandler.java, | |
7842 | java/net/ContentHandlerFactory.java, | |
7843 | java/net/DatagramPacket.java, | |
7844 | java/net/DatagramSocket.java, | |
7845 | java/net/DatagramSocketImpl.java, | |
7846 | java/net/DatagramSocketImplFactory.java, | |
7847 | java/net/FileNameMap.java, | |
7848 | java/net/HttpURLConnection.java, | |
7849 | java/net/Inet4Address.java, | |
7850 | java/net/Inet6Address.java, | |
7851 | java/net/InetAddress.java, | |
7852 | java/net/InetSocketAddress.java, | |
7853 | java/net/JarURLConnection.java, | |
7854 | java/net/MalformedURLException.java, | |
7855 | java/net/MulticastSocket.java, | |
7856 | java/net/NetPermission.java, | |
7857 | java/net/NetworkInterface.java, | |
7858 | java/net/NoRouteToHostException.java, | |
7859 | java/net/PasswordAuthentication.java, | |
7860 | java/net/PortUnreachableException.java, | |
7861 | java/net/ProtocolException.java, | |
7862 | java/net/ServerSocket.java, | |
7863 | java/net/Socket.java, | |
7864 | java/net/SocketAddress.java, | |
7865 | java/net/SocketException.java, | |
7866 | java/net/SocketImpl.java, | |
7867 | java/net/SocketImplFactory.java, | |
7868 | java/net/SocketOptions.java, | |
7869 | java/net/SocketPermission.java, | |
7870 | java/net/SocketTimeoutException.java, | |
7871 | java/net/URI.java, | |
7872 | java/net/URISyntaxException.java, | |
7873 | java/net/URL.java, | |
7874 | java/net/URLClassLoader.java, | |
7875 | java/net/URLConnection.java, | |
7876 | java/net/URLDecoder.java, | |
7877 | java/net/URLEncoder.java, | |
7878 | java/net/URLStreamHandler.java, | |
7879 | java/net/URLStreamHandlerFactory.java, | |
7880 | java/net/UnknownHostException.java, | |
7881 | java/net/UnknownServiceException.java: | |
7882 | Fixed javadocs, coding style and argument names all over. | |
7883 | ||
cf6f7d55 MK |
7884 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7885 | ||
7886 | * java/lang/Byte.java, | |
7887 | java/lang/CharSequence.java, | |
7888 | java/lang/ClassLoader.java, | |
7889 | java/lang/Compiler.java, | |
7890 | java/lang/Double.java, | |
7891 | java/lang/Float.java, | |
7892 | java/lang/Integer.java, | |
7893 | java/lang/Long.java, | |
7894 | java/lang/Math.java, | |
7895 | java/lang/Number.java, | |
7896 | java/lang/Package.java, | |
7897 | java/lang/Runtime.java, | |
7898 | java/lang/RuntimePermission.java, | |
7899 | java/lang/SecurityManager.java, | |
7900 | java/lang/Short.java, | |
7901 | java/lang/StringBuffer.java, | |
7902 | java/lang/System.java, | |
7903 | java/lang/ThreadGroup.java, | |
7904 | java/lang/Throwable.java, | |
7905 | java/lang/reflect/InvocationHandler.java, | |
7906 | java/lang/reflect/Proxy.java: | |
7907 | Fixed javadocs, coding style and argument names all over. | |
7908 | ||
9f714d5e MK |
7909 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7910 | ||
7911 | * java/io/BufferedWriter.java, | |
7912 | java/io/ByteArrayInputStream.java, | |
7913 | java/io/CharArrayWriter.java, | |
7914 | java/io/DataInput.java, | |
7915 | java/io/DataInputStream.java, | |
7916 | java/io/File.java, | |
7917 | java/io/FilterInputStream.java, | |
7918 | java/io/InputStream.java, | |
7919 | java/io/InputStreamReader.java, | |
7920 | java/io/ObjectInputStream.java, | |
7921 | java/io/ObjectStreamClass.java, | |
7922 | java/io/PipedInputStream.java, | |
7923 | java/io/PipedReader.java, | |
7924 | java/io/PushbackInputStream.java, | |
7925 | java/io/PushbackReader.java, | |
7926 | java/io/RandomAccessFile.java, | |
7927 | java/io/SerializablePermission.java, | |
7928 | java/io/StreamTokenizer.java, | |
7929 | java/io/StringWriter.java, | |
7930 | java/io/WriteAbortedException.java, | |
7931 | java/io/Writer.java: | |
7932 | Fixed javadocs all over, rename arguments to match javadocs, | |
7933 | fixed coding style. | |
7934 | ||
23f0ecff MK |
7935 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
7936 | ||
7937 | * java/awt/FontMetrics.java: | |
7938 | (charsWidth): fixed accumulation of total_width | |
7939 | (getWidth): simple default implementation | |
7940 | * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate | |
7941 | in Rectangle constructor. | |
7942 | * java/awt/image/Raster.java (toString): Added method. | |
7943 | * java/awt/image/SampleModel.java (<init>): Added error cause | |
7944 | information to thrown exception. | |
7945 | * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements): | |
7946 | New method. | |
7947 | (setDataElements): New method. | |
7948 | (setPixels): New method. | |
7949 | (toString): New method. | |
7950 | ||
7951 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> | |
7952 | ||
7953 | * java/awt/image/ComponentColorModel.java | |
7954 | (createCompatibleSampleModel): Return PixelInterleavedSampleModel | |
7955 | for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the | |
7956 | Mauve tests on this method. Improved documentation. | |
7957 | ||
2c4d54e6 MK |
7958 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7959 | ||
7960 | * javax/swing/JLayeredPane.java, | |
7961 | javax/swing/plaf/BorderUIResource.java, | |
7962 | javax/swing/plaf/ComponentUI.java, | |
7963 | javax/swing/undo/CompoundEdit.java, | |
7964 | javax/swing/undo/StateEdit.java: | |
7965 | Fixed HTML tags in javadocs all over. | |
7966 | ||
5589f3e5 MK |
7967 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7968 | ||
7969 | * javax/print/attribute/EnumSyntax.java | |
7970 | (getOffset): Made protected. | |
7971 | * javax/print/attribute/HashAttributeSet.java | |
7972 | (HashAttributeSet): Likewise. | |
7973 | * javax/print/attribute/ResolutionSyntax.java | |
7974 | (getFeedResolution): Fixed typo in exception name. | |
7975 | (getCrossFeedResolution): Likewise. | |
7976 | * javax/print/attribute/SetOfIntegerSyntax.java | |
7977 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
7978 | * javax/print/attribute/TextSyntax.java | |
7979 | (TextSyntax): Handle locale correctly. | |
7980 | (hashCode): Calc better hashcode value. | |
7981 | (equals): Fixed @return tag. | |
7982 | (toString): New method. | |
7983 | ||
0150fc22 MK |
7984 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
7985 | ||
7986 | * gnu/java/nio/FileLockImpl.java | |
7987 | (static): Removed, not needed anymore. | |
7988 | * gnu/java/nio/channels/FileChannelImpl.java | |
7989 | (FileChannelImpl): Made final. | |
7990 | (mode): Made private. | |
7991 | (READ, WRITE, APPEND): Made public. | |
7992 | (EXCL, SYNC, DSYNC): Likewise. | |
7993 | (static): Load native JNI library, when needed. | |
7994 | (length): Unused, removed. | |
7995 | (available): Made public. | |
7996 | (implPosition): Throws IOException. | |
7997 | (seek): Likewise. | |
7998 | (implTruncate): Likewise. | |
7999 | (unlock): Likewise. | |
8000 | (lock): Likewise. | |
8001 | ||
7431acbe MK |
8002 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
8003 | ||
8004 | * java/awt/AWTPermission.java, | |
8005 | java/awt/Component.java, | |
8006 | java/awt/ComponentOrientation.java,, | |
8007 | java/awt/Dialog.java, | |
8008 | java/awt/FontMetrics.java, | |
8009 | java/awt/Graphics.java, | |
8010 | java/awt/datatransfer/DataFlavor.java, | |
8011 | java/beans/Introspector.java, | |
8012 | java/beans/PropertyEditor.java, | |
8013 | java/beans/PropertyEditorManager.java, | |
8014 | java/beans/beancontext/BeanContextServiceProvider.java: | |
8015 | Fixed HTML tags in javadocs all over. | |
8016 | ||
7f6f517f MW |
8017 | 2004-04-20 Mark Wielaard <mark@klomp.org> |
8018 | ||
8019 | * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when | |
8020 | MissingResourceException is thrown. | |
8021 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return | |
8022 | null when a MissingResourceException is thrown. Should never happen. | |
8023 | ||
8ecb0346 MK |
8024 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> |
8025 | ||
8026 | * java/awt/image/DataBufferShort.java, | |
8027 | java/awt/image/DataBufferFloat.java, | |
8028 | java/awt/image/DataBufferDouble.java, | |
8029 | java/awt/image/PixelInterleavedSampleModel.java: New files. | |
8030 | * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData, | |
8031 | getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE. | |
8032 | ||
8033 | 2004-04-20 Michael Koch <konqueror@gmx.de> | |
8034 | ||
8035 | * Makefile.am (java_source_files): Added | |
8036 | java/awt/image/DataBufferDouble.java, | |
8037 | java/awt/image/DataBufferFloat.java, | |
8038 | java/awt/image/DataBufferShort.java and | |
8039 | java/awt/image/PixelInterleavedSampleModel.java. | |
8040 | * Makefile.in: Regenerated. | |
8041 | ||
f5310108 BM |
8042 | 2004-04-19 Bryce McKinlay <mckinlay@redhat.com> |
8043 | ||
8044 | * gcj/cni.h (JvAllocObject): Remove these obsolete, | |
8045 | undocumented CNI calls. | |
8046 | * include/java-interp.h (_Jv_InterpClass): No longer | |
8047 | extends java.lang.Class. | |
8048 | * java/lang/Class.h (Class): Add new field `aux_info'. | |
8049 | * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking. | |
8050 | * defineclass.cc: Remove Class<->_Jv_InterpClass casts. | |
8051 | Use Class->aux_info instead. | |
8052 | * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject. | |
8053 | * resolve.cc: Remove Class<->_Jv_InterpClass casts. | |
8054 | Use Class->aux_info instead. | |
8055 | * java/io/natObjectInputStream.cc (allocateObject): Use | |
8056 | _Jv_AllocObject. | |
8057 | * java/lang/natClass.cc (newInstance): Likewise. | |
8058 | * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise. | |
8059 | * java/lang/natObject.cc (clone): Likewise. | |
8060 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. | |
8061 | * java/lang/natVMClassLoader.cc (defineClass): Don't use | |
8062 | JvAllocObject. Allocate klass->aux_info here for interpreted | |
8063 | class. | |
8064 | ||
afd7c0dc MW |
8065 | 2004-04-17 Mark Wielaard <mark@klomp.org> |
8066 | ||
8067 | * javax/swing/JToggleButton.java (ToggleButtonModel): | |
8068 | Make public static inner class. | |
8069 | * javax/swing/JTabbedPane.java (setComponentAt): | |
8070 | Call Page.setComponent(). | |
8071 | (SCROLL_TAB_LAYOUT): Make public, value is 1. | |
8072 | (WRAP_TAB_LAYOUT): Make public, value is 0. | |
8073 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton): | |
8074 | Make private static inner class. | |
8075 | ||
bf7ad402 BM |
8076 | 2004-04-16 Bryce McKinlay <mckinlay@redhat.com> |
8077 | ||
8078 | * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject | |
8079 | arguments to match new signature. Remove FIXME comments. | |
8080 | ||
31e632d3 GH |
8081 | 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com> |
8082 | ||
8083 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals): | |
8084 | Remove method. | |
8085 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove | |
8086 | unused code. | |
8087 | ||
8088 | 2004-04-02 Olga Rodimina <rodimina@redhat.com> | |
8089 | ||
8090 | * Makefile.am: Added new file. | |
8091 | * Makefile.in: Regenerate. | |
8092 | * javax/swing/ImageIcon.java: | |
8093 | (ImageIcon(file)): set description of the icon | |
8094 | to the file name | |
8095 | * javax/swing/JCheckBoxMenuItem.java: | |
8096 | Mostly Implemented. Work in progress. | |
8097 | * javax/swing/JRadioButtonMenuItem.java: | |
8098 | Reimplement constructors to use JToggleButtonModel. | |
8099 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
8100 | (getCheckBoxMenuItemIcon): return check box | |
8101 | icon. | |
8102 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
8103 | paint menu item selected only when it is armed and | |
8104 | pressed. | |
8105 | ||
8106 | 2004-04-02 David Jee <djee@redhat.com> | |
8107 | ||
8108 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
8109 | (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer. | |
8110 | * java/awt/Component.java | |
8111 | (add): Set the parent of the popup as this component. | |
8112 | * java/awt/PopupMenu.java | |
8113 | (addNotify): Create popup menu when peer is null. | |
8114 | (show): Call addNotify() if peer is null. | |
8115 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
8116 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button | |
8117 | argument for gtk_menu_popup() as zero. This causes the popup menu to | |
8118 | respond to any mouse button. | |
8119 | ||
8120 | 2004-03-31 Olga Rodimina <rodimina@redhat.com> | |
8121 | ||
8122 | * Makefile.am: Added new file. | |
8123 | * Makefile.in: Regenerate. | |
8124 | * javax/swing/JRadioButtonMenuItem.java: | |
8125 | Implemented. | |
8126 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
8127 | (getRadioButtonMenuItemIcon): Return | |
8128 | radio button icon. | |
8129 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
8130 | (getPreferredSize): Add size of checkIcon if it | |
8131 | exists. | |
8132 | (installDefaults): Don't initialize checkIcon. | |
8133 | It's value will be set in subclasses. | |
8134 | (uninstallDefaults): remove uninstallation of | |
8135 | checkIcon. | |
8136 | (paint): Moved code to paintMenuItem(). | |
8137 | (paintMenuItem): Implemented. | |
8138 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: | |
8139 | UI delegate for JRadioButtonMenuItem. | |
8140 | ||
8141 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
8142 | ||
8143 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
8144 | Corrected position of the accelerator. | |
8145 | ||
8146 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
8147 | ||
8148 | * Makefile.am: Added new file. | |
8149 | * Makefile.in: Regenerate. | |
8150 | * javax/swing/JMenuItem.java: Partly | |
8151 | implemented. Work in progress | |
8152 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
8153 | Changed default value of acceleratorDelimiter. | |
8154 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
8155 | New class. Partly implemented. | |
8156 | ||
8157 | 2004-03-26 Mark Wielaard <mark@klomp.org> | |
8158 | ||
8159 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
8160 | (item_activate): Declare label before use. | |
8161 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
8162 | (gtkSetFont): Removed unused variable label. | |
8163 | (addExposeFilter): Declare variables before use. | |
8164 | (removeExposeFilter): Likewise. | |
8165 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
8166 | (ok_clicked): Declare str_fileName before use. | |
8167 | ||
8168 | 2004-03-26 David Jee <djee@redhat.com> | |
8169 | ||
8170 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java | |
8171 | (addSeparator): Remove. | |
8172 | * java/awt/Menu.java | |
8173 | (separator): Remove static final MenuItem field. | |
8174 | (separatorLabel): New static final String field. | |
8175 | (addSeparator): Do not use peer method; use add(MenuItem) instead. | |
8176 | Use separatorLabel to denote that it is a separator. | |
8177 | (insertSeparator): Create a new MenuItem with separatorLabel, instead | |
8178 | of reusing the static separator instance, because a MenuItem instance | |
8179 | can't be added more than once without being cloned. | |
8180 | * java/awt/peer/MenuPeer.java | |
8181 | (addSeparator): Remove from interface. | |
8182 | ||
8183 | 2004-03-26 David Jee <djee@redhat.com> | |
8184 | ||
8185 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
8186 | (connectSignals): New native method declaration. | |
8187 | (GtkMenuItemPeer): Connect signals if the parent is a Menu. | |
8188 | * java/awt/MenuItem.java | |
8189 | (getActionCommand): Return the label if the action command is not set. | |
8190 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
8191 | (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use | |
8192 | gtk_menu_shell_append(). | |
8193 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
8194 | (item_activate): Fix argument type. | |
8195 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect | |
8196 | signal here. | |
8197 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New | |
8198 | method. | |
8199 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
8200 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is | |
8201 | given. Add the menu widget's top-level GtkWindow to the global window | |
8202 | group, so it can grab the pointer. | |
8203 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use | |
8204 | gtk_menu_shell_append(). | |
8205 | ||
8206 | 2004-03-23 Graydon Hoare <graydon@redhat.com> | |
8207 | ||
8208 | * java/text/AttributedString.java | |
8209 | (addAttribute): Fix off-by-one. | |
8210 | (getIterator): Likewise. | |
8211 | * java/text/AttributedStringIterator.java | |
8212 | (getRunLimit): Correct logic. | |
8213 | (getRunStart): Likewise. | |
8214 | (getAttribute): Fix inequality. | |
8215 | (getAttributes): Likewise. | |
8216 | * testsuite/libjava.mauve/xfails: Remove AttributedString xfail. | |
8217 | ||
8218 | 2004-03-23 Kim Ho <kho@redhat.com> | |
8219 | ||
8220 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
8221 | (calculateSizes): Return real width and height. | |
8222 | ||
8223 | 2004-03-23 Kim Ho <kho@redhat.com> | |
8224 | ||
8225 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
8226 | (calculateTabRects): Set the selectedRun before | |
8227 | trying to rotate tabs. | |
8228 | ||
8229 | 2004-03-23 Kim Ho <kho@redhat.com> | |
8230 | ||
8231 | * Makefile.am: New file | |
8232 | * Makefile.in: Regenerate | |
8233 | * java/awt/Graphics.java: (drawRect): | |
8234 | Draw to the correct point. | |
8235 | * javax/swing/DefaultSingleSelectionModel.java | |
8236 | (isSelected): Return true if the selected index | |
8237 | is not -1. | |
8238 | * javax/swing/JLabel.java: Do not change mnemonic | |
8239 | index if text is null. | |
8240 | * javax/swing/JProgressBar.java: Use JComponent's | |
8241 | EventListenerList. | |
8242 | * javax/swing/JScrollBar.java: Ditto. | |
8243 | * javax/swing/JSlider.java: Ditto. | |
8244 | * javax/swing/JTabbedPane.java: Reimplement. | |
8245 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
8246 | Add defaults for TabbedPane. | |
8247 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
8248 | Implement | |
8249 | * javax/swing/plaf/basic/BasicProgressBarUI.java: | |
8250 | (paintDeterminate): Don't paint String if it's | |
8251 | empty. | |
8252 | (paintIndeterminate): ditto. | |
8253 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
8254 | Reimplement. | |
8255 | ||
8256 | 2004-03-19 Michael Koch <konqueror@gmx.de> | |
8257 | ||
8258 | * java/awt/image/AffineTransformOp.java | |
8259 | (AffineTransformOp): Made public. | |
8260 | * javax/swing/JComponent.java | |
8261 | (listenerList): Made protected. | |
8262 | (accessibleContext): Likewise. | |
8263 | * javax/swing/JList.java | |
8264 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
8265 | * javax/swing/JViewport.java | |
8266 | (getView): Dont use internal fields of Component. | |
8267 | (addImpl): Likewise. | |
8268 | * javax/swing/Timer.java | |
8269 | (isRunning): Made public. | |
8270 | (start): Likewise. | |
8271 | (stop): Likewise. | |
8272 | * javax/swing/UIDefaults.java | |
8273 | (getInt): Made public. | |
8274 | * javax/swing/plaf/basic/BasicListUI.java | |
8275 | (mousePressed): Dont use internal fields of MouseEvent. | |
8276 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
8277 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
8278 | (arrowIcon): Made static. | |
8279 | * javax/swing/plaf/basic/BasicViewportUI.java | |
8280 | (stateChanged): Dont use internal field on ChangeEvent. | |
8281 | * javax/swing/text/JTextComponent.java | |
8282 | (getUI): Call UIManager.getUI(). | |
8283 | (updateUI): Use getUI(). | |
8284 | ||
8285 | 2004-03-19 Graydon Hoare <graydon@redhat.com> | |
8286 | ||
8287 | * javax/swing/JComponent.java: Turn off double buffer by default. | |
8288 | * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting. | |
8289 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
8290 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): | |
8291 | Use cairo to copy areas. | |
8292 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip): | |
8293 | Initialize and set clip region. | |
8294 | ||
8295 | 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8296 | ||
8297 | * java/applet/Applet.java (preferredSize): Override deprecated | |
8298 | variant of getPreferredSize. | |
8299 | (minimumSize): Override deprecated variant of getMinimumSize. | |
8300 | ||
8301 | 2004-03-15 Olga Rodimina <rodimina@redhat.com> | |
8302 | ||
8303 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
8304 | (drawImage(img,xform,bgcolor,obs)): New Method. | |
8305 | Helper function that every drawImage method will | |
8306 | use. | |
8307 | (drawRaster): Added new parameter, bgcolor. All | |
8308 | transparent pixels are changed to bgcolor before | |
8309 | image is drawn. | |
8310 | (drawRenderedImage): Fixed to use changed drawRaster(). | |
8311 | (drawImage(image,xform,obs): Fixed to use new helper function | |
8312 | (drawImage(image,op,x,y)): Ditto. | |
8313 | (drawImage (img,x,y,observer)): Ditto. | |
8314 | ((PainterThread) bgcolor): New Field. | |
8315 | ((PainterThread) (setPixels)): Changed all transparent pixels | |
8316 | to bgcolor. | |
8317 | (drawImage(img,x,y,width,height,bgcolor,observer)): | |
8318 | Fixed FIXME - all the transparent pixels are | |
8319 | changed to the specified bgcolor. | |
8320 | (drawImage(img, x, y, width, height, observer): Changed to | |
8321 | use function above. | |
8322 | (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): | |
8323 | Fixed FIXME- changed all transparent pixels to bgcolor. | |
8324 | (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)): | |
8325 | Changed to use function above. | |
8326 | ||
8327 | 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8328 | ||
8329 | * java/applet/Applet.java (dimensions): New field. | |
8330 | (getDimensions): New method. | |
8331 | (getPreferredSize): Call getDimensions. | |
8332 | (getMinimumSize): Likewise. | |
8333 | ||
8334 | 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8335 | ||
8336 | * jni/classpath/jcl.c: Include stdlib.h, not malloc.h. | |
8337 | * jni/classpath/jnilink.c: Likewise. | |
8338 | ||
8339 | * java/applet/Applet.java (getPreferredSize): New method. | |
8340 | (getMinimumSize): New method. | |
8341 | ||
245c3c04 BM |
8342 | 2004-04-15 Bryce McKinlay <mckinlay@redhat.com> |
8343 | ||
8344 | * prims.cc (_Jv_AllocObject): Remove `size' argument. | |
8345 | (_Jv_AllocObjectNoFinalizer): Likewise. | |
8346 | (_Jv_AllocObjectNoInitNoFinalizer): Likewise. | |
8347 | (_Jv_AllocPtrFreeObject): Likewise. | |
8348 | (_Jv_AllocString): Moved from natString.cc. Call collector interface | |
8349 | directly even in the JVMPI case. | |
8350 | * gcj/cni.h (JvAllocObject): Remove `size' argument from | |
8351 | _Jv_AllocObject calls. | |
8352 | * gcj/javaprims.h: Update prototypes. | |
8353 | * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject. | |
8354 | * java/lang/Class.h: Update _Jv_AllocObject friend prototype. | |
8355 | * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc. | |
8356 | ||
d7afe286 BM |
8357 | 2004-04-14 Andrew Haley <aph@redhat.com> |
8358 | Bryce McKinlay <mckinlay@redhat.com> | |
8359 | ||
8360 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use | |
8361 | _Jv_LookupInterfaceMethodIdx for calls to interfaces. | |
8362 | * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg. | |
8363 | ||
8364 | * testsuite/libjava.lang/InvokeInterface.java: New file. | |
8365 | * testsuite/libjava.lang/InvokeInterface.out: New file. | |
8366 | ||
84264cb6 RM |
8367 | 2004-04-09 Ranjit Mathew <rmathew@hotmail.com> |
8368 | ||
8369 | * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to | |
8370 | modified lookup(). | |
8371 | * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a | |
8372 | StackTraceElement directly. | |
8373 | (newElement): New native helper method to create StackTraceElement | |
8374 | bypassing Java access control. | |
8375 | (createStackTraceElement): Use newElement() instead of directly | |
8376 | calling StackTraceElement's constructor. | |
8377 | * gnu/gcj/runtime/natNameFinder.cc (newElement): New method. | |
8378 | ||
2b6b5c35 MK |
8379 | 2004-04-01 Michael Koch <konqueror@gmx.de> |
8380 | ||
8381 | * java/lang/SecurityManager.java | |
8382 | (checkAwtEventQueueAccess): Implemented. | |
8383 | ||
1c19eacc GB |
8384 | 2004-04-01 Gary Benson <gbenson@redhat.com> |
8385 | ||
8386 | * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception. | |
8387 | (_Jv_SearchMethodInClass): Likewise. | |
8388 | ||
99b43239 PM |
8389 | 2004-03-26 Peter Moon <peterm@miraculum.com> |
8390 | ||
8391 | * java/text/NumberFormat.java: Fix spelling of setCurrency | |
8392 | method. | |
8393 | ||
95e59f1a AG |
8394 | 2004-03-21 Anthony Green <green@redhat.com> |
8395 | ||
8396 | * java/lang/natClass.cc (getClassLoader): Circumvent infinite | |
8397 | recursion when searching for the system ClassLoader. | |
8398 | ||
de205e06 IK |
8399 | 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org> |
8400 | ||
8401 | * java/net/ServerSocket.java | |
8402 | (accept): Close the socket when error occured. | |
8403 | ||
bdf11d55 JF |
8404 | 2004-03-21 Jeroen Frijters <jeroen@frijters.net> |
8405 | ||
8406 | * java/net/URI.java (parseURI): Added unquoting. | |
8407 | (unquote): New method. | |
8408 | (quoteAuthority): Implemented. | |
8409 | (quote(String,String)): New method. | |
8410 | (quotePath): Implemented. | |
8411 | (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field. | |
8412 | (getSchemeSpecificPart): Removed FIXME comment. | |
8413 | (getRawAuthority): Return new rawAuthority field. | |
8414 | (getAuthority): Removed FIXME comment. | |
8415 | (getRawUserInfo): Return new rawUserInfo field. | |
8416 | (getUserInfo): Removed FIXME comment. | |
8417 | (getRawPath): Return new rawPath field. | |
8418 | (getPath): Removed FIXME comment. | |
8419 | (getRawQuery): Return new rawQuery field. | |
8420 | (getQuery): Removed FIXME comment. | |
8421 | (getRawFragment): Return new rawFragment field. | |
8422 | (getFragment): Removed FIXME comment. | |
8423 | ||
0d13be1e MK |
8424 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
8425 | ||
8426 | * java/net/URLConnection.java: Merged copyright year with classpath. | |
8427 | ||
f903e73b NF |
8428 | 2004-03-20 Norbert Frese <postfach@nfrese.net> |
8429 | ||
8430 | * gnu/java/rmi/server/RMIIncomingThread.java: New file. | |
8431 | * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java: | |
8432 | Create a new RMIObjectOuputStream/RMIObjectInputStream for every | |
8433 | rmi-message. | |
8434 | (getObjectInputStream): Return object reference, throw IOException if null. | |
8435 | (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'. | |
8436 | (getObjectOutputStream): Return object reference, throw IOException if null. | |
8437 | (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'. | |
8438 | * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java: | |
8439 | (UnicastConnectionManager): Throw RemoteException if port is not available. | |
8440 | (getInstance): Throw RemoteException. | |
8441 | (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval. | |
8442 | * gcc/libjava/gnu/java/rmi/server/UnicastRef.java: | |
8443 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
8444 | Collect Exceptions which are returned by a rmi-call and fix void returns. | |
8445 | * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java: | |
8446 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
8447 | * gcc/libjava/gnu/java/rmi/server/UnicastServer.java: | |
8448 | (dispatch): Answer ping messages which are sent by other java implementions. | |
8449 | (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream | |
8450 | for every rmi-message and fix void return problems. | |
8451 | * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java | |
8452 | (UnicastServerRef): Throw RemoteException. | |
8453 | (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic. | |
8454 | In some situations it is necessary to export a subclass of the class which has the _Stub. | |
8455 | For instance when the class with has the _Stub is abstract. | |
8456 | (findStubSkelClass): New method which looks for the class which has the _Stub. | |
8457 | (getClientHost): Implementated. | |
8458 | * gcc/libjava/java/rmi/server/RemoteServer.java | |
8459 | (getClientHost): Implementated. | |
8460 | * gcc/libjava/Makefile.am (rmi_java_source_files): | |
8461 | Added gnu/java/rmi/server/RMIIncomingThread.java. | |
8462 | * Makefile.in: Regenerated. | |
8463 | ||
7f5773c6 MK |
8464 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
8465 | ||
8466 | * java/net/InetAddress.java | |
8467 | (getLocalHostname): Added javadoc. | |
8468 | ||
ab16524d PB |
8469 | 2004-03-19 Per Bothner <per@bothner.com> |
8470 | ||
8471 | * configure.in: FILE variable overrides FLATFORM when linking | |
8472 | natFileChannelXXX.cc. | |
8473 | ||
8474 | * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored. | |
8475 | (write): Call diag_write, as in old natFileDescriptorEcos.cc. | |
8476 | ||
0fca95f5 PB |
8477 | 2004-03-19 Per Bothner <per@bothner.com> |
8478 | ||
8479 | * gnu/gcj/convert/Input_UnicodeBig.java: New class.. | |
8480 | * gnu/gcj/convert/Input_UnicodeLittle.java: New class. | |
8481 | * Makefile.am: Update accordingly. | |
8482 | * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be" | |
8483 | as aliases for UnicodeLittle and UnicodeBig. | |
8484 | ||
edb3d426 MW |
8485 | 2004-03-20 Mark Wielaard <mark@klomp.org> |
8486 | ||
8487 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
8488 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth): | |
8489 | Don't access ws when it is null. | |
8490 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight): | |
8491 | Likewise. | |
8492 | ||
b121dcb5 JF |
8493 | 2004-03-19 Jeroen Frijters <jeroen@frijters.net> |
8494 | ||
8495 | * java/lang/ThreadGroup.java (list): Changed print to println. | |
8496 | ||
44b20223 MW |
8497 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
8498 | ||
8499 | * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc | |
8500 | happy. | |
8501 | ||
f94b0887 RC |
8502 | 2004-02-10 Randolph Chung <tausq@debian.org> |
8503 | ||
8504 | * configure.in: Build java for hppa target. | |
8505 | * configure: Regenerate. | |
8506 | * libjava/configure.host (hppa-*): Add target. | |
8507 | * libjava/sysdeps/pa/lock.h: New file. | |
8508 | ||
d511a273 MW |
8509 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
8510 | ||
8511 | Reported by Stephen Crawley | |
8512 | * java/io/FilePermission.java (implies): Use String.length() -1 to | |
8513 | access last char of String. | |
8514 | ||
9c6637c8 MK |
8515 | 2004-03-19 Michael Koch <konqueror@gmx.de> |
8516 | ||
8517 | * java/awt/image/AffineTransformOp.java | |
8518 | (AffineTransformOp): Made public. | |
8519 | * javax/swing/JComponent.java | |
8520 | (listenerList): Made protected. | |
8521 | (accessibleContext): Likewise. | |
8522 | * javax/swing/JList.java | |
8523 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
8524 | * javax/swing/JViewport.java | |
8525 | (getView): Dont use internal fields of Component. | |
8526 | (addImpl): Likewise. | |
8527 | * javax/swing/Timer.java | |
8528 | (isRunning): Made public. | |
8529 | (start): Likewise. | |
8530 | (stop): Likewise. | |
8531 | * javax/swing/UIDefaults.java | |
8532 | (getInt): Made public. | |
8533 | * javax/swing/plaf/basic/BasicListUI.java | |
8534 | (mousePressed): Dont use internal fields of MouseEvent. | |
8535 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
8536 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
8537 | (arrowIcon): Made static. | |
8538 | * javax/swing/plaf/basic/BasicViewportUI.java | |
8539 | (stateChanged): Dont use internal field on ChangeEvent. | |
8540 | * javax/swing/text/JTextComponent.java | |
8541 | (getUI): Call UIManager.getUI(). | |
8542 | (updateUI): Use getUI(). | |
8543 | ||
165c9b04 RO |
8544 | 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8545 | ||
8546 | * verify.cc: Undef PC. | |
8547 | ||
138f5109 MK |
8548 | 2004-03-18 Michael Koch <konqueror@gmx.de> |
8549 | ||
8550 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
8551 | (keys): Initialize at declaration. | |
8552 | (locate): keys cant be null. | |
8553 | (add): Removed. | |
8554 | (addSelectionKey): New method. | |
8555 | (removeSelectionKey): New method. | |
8556 | * java/nio/channels/spi/AbstractSelectionKey.java | |
8557 | (cancel): Call AbstractSelector.cancelKey(SelectionKey key). | |
8558 | * java/nio/channels/spi/AbstractSelector.java | |
8559 | (provider): Javadoc added. | |
8560 | (cancelledKeys): Javadoc added. | |
8561 | (cancelKey): Javadoc added, add key to cancelledKeys. | |
8562 | (deregister): Implemented. | |
8563 | ||
acc63e4c RO |
8564 | 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8565 | ||
8566 | * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast | |
8567 | MAP_FAILED to void *. | |
8568 | ||
86881a7b GH |
8569 | 2004-03-12 Graydon Hoare <graydon@redhat.com> |
8570 | ||
8571 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes. | |
8572 | * javax/swing/JComponent.java (paint): Use persistent double buffer. | |
8573 | * javax/swing/JList.java (ListListener): Revalidate on changes. | |
8574 | * javax/swing/JScrollPane.java: Reimplement. | |
8575 | * javax/swing/JViewport.java: Reimplement. | |
8576 | * javax/swing/ScrollPaneLayout.java: Reimplement. | |
8577 | * javax/swing/ViewportLayout.java: Tidy up. | |
8578 | * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns. | |
8579 | * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement. | |
8580 | * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels. | |
8581 | * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of | |
8582 | backing store only. | |
8583 | ||
8584 | 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8585 | ||
8586 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
8587 | (window_wm_protocols_filter): New function. | |
8588 | (window_focus_in_cb): Remove function. | |
8589 | (window_focus_out_cb): Likewise. | |
8590 | (window_focus_or_active_state_change_cb): New function. | |
8591 | (create): Add filter that removes WM_TAKE_FOCUS client messages. | |
8592 | (connectSignals): Don't attach handlers to focus-in-event or | |
8593 | focus-out-event signals. Handle notify signal. | |
8594 | ||
8595 | 2004-03-11 David Jee <djee@redhat.com> | |
8596 | ||
8597 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
8598 | (gtkSetLabel): New native method declaration. | |
8599 | (setLabel): Use gtkSetLabel. | |
8600 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
8601 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method. | |
8602 | ||
8603 | 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
8604 | ||
8605 | * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to | |
8606 | black when color argument is null. | |
8607 | ||
8608 | 2004-03-10 Kim Ho <kho@redhat.com> | |
8609 | ||
8610 | * java/awt/Container.java: Remove check | |
8611 | for drag events. | |
8612 | ||
8613 | 2004-03-10 Kim Ho <kho@redhat.com> | |
8614 | ||
8615 | * java/awt/Container.java: (visitChild): | |
8616 | Remove candidate clip. Use the component | |
8617 | clip to intersect. | |
8618 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
8619 | (handleEvent): Use the PaintEvent's clip. | |
8620 | ||
8621 | 2004-03-10 Kim Ho <kho@redhat.com> | |
8622 | ||
8623 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
8624 | (handleEvent): Don't set the clip for the | |
8625 | Graphics object. | |
8626 | ||
8627 | 2004-03-09 Graydon Hoare <graydon@redhat.com> | |
8628 | ||
8629 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
8630 | Fix double <-> fixed macros, reset font transform. | |
8631 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: | |
8632 | Likewise. | |
8633 | ||
8634 |