]>
Commit | Line | Data |
---|---|---|
bd8a2e96 CM |
1 | 2004-08-30 Casey Marshall <csm@gnu.org> |
2 | ||
3 | Author e-mail updated for all files. | |
4 | * gnu/java/security/OID.java (equals): Test if the aurgment is an | |
5 | instance of OID. | |
6 | (compareTo): Use `equals'. | |
7 | * gnu/java/security/der/BitString.java (equals): Test if the | |
8 | argument is an instance of BitString. | |
9 | * gnu/java/security/der/DERReader.java: Removed NIO imports. Made | |
10 | class final. Made fields private. | |
11 | (<init>): New constructor. | |
12 | (skip): New method. | |
13 | (makeString): Made static; don't use NIO. | |
14 | (fromIso88591, fromUtf16Be, fromUtf8): New methods. | |
15 | * gnu/java/security/der/DERWriter.java: Fixed imports. | |
16 | (writeString): Don't use NIO. | |
17 | (toIso88591, toUtf16Be, toUtf8): New methods. | |
18 | * gnu/java/security/der/DERValue.java: Formatting changes only. | |
19 | * gnu/java/security/der/DER.java: Likewise. | |
20 | ||
68760aee AT |
21 | 2004-08-30 Tom Tromey <tromey@redhat.com> |
22 | ||
23 | * java/nio/CharBuffer.java (put): Fix typo. | |
24 | * java/nio/DoubleBuffer.java (put): Fix typo. | |
25 | * java/nio/FloatBuffer.java (put): Fix typo. | |
26 | * java/nio/IntBuffer.java (put): Fix typo. | |
27 | * java/nio/LongBuffer.java (put): Fix typo. | |
28 | * java/nio/ShortBuffer.java (put): Fix typo. | |
29 | ||
30 | 2004-08-30 Florian Weimer <fw@deneb.enyo.de> | |
31 | ||
32 | * java/nio/ByteBuffer.java (put): Fix typo. | |
33 | ||
28839b70 CM |
34 | 2004-08-30 Casey Marshall <csm@gnu.org> |
35 | ||
36 | * java/security/DummyKeyPairGenerator.java (clone): Removed | |
37 | useless instanceof check. | |
38 | * java/security/DummyMessageDigest.java (clone): Likewise. | |
39 | * java/security/DummySignature.java (clone): Likewise. | |
40 | * java/security/MessageDigest.java (clone): Remove useless | |
41 | instanceof check. | |
42 | * java/security/MessageDigestSpi.java (clone): Likewise. | |
43 | * java/security/Signature.java (clone): Provide meaningful | |
44 | implementation. | |
45 | * java/security/SignatureSpi.java (clone): Likewise. | |
46 | ||
6cd655a3 MW |
47 | 2004-08-29 Mark Wielaard <mark@klomp.org> |
48 | ||
49 | * java/util/Arrays.java | |
50 | (sort(byte[], int, int)): Check fromIndex < 0. | |
51 | (sort(char[], int, int)): Likewise. | |
52 | (sort(short[], int, int)): Likewise. | |
53 | (sort(int[], int, int)): Likewise. | |
54 | (sort(long[], int, int)): Likewise. | |
55 | (sort(float[], int, int)): Likewise. | |
56 | (sort(double[], int, int)): Likewise. | |
57 | (sort(Object[], int, int, Comparator)): Likewise. | |
58 | (qsort(byte[], int, int)): Honor lower bound from in insertion sort. | |
59 | (qsort(char[], int, int)): Likewise. | |
60 | (qsort(short[], int, int)): Likewise. | |
61 | (qsort(int[], int, int)): Likewise. | |
62 | (qsort(long[], int, int)): Likewise. | |
63 | (qsort(float[], int, int)): Likewise. | |
64 | (qsort(double[], int, int)): Likewise. | |
65 | ||
477a21f7 AJH |
66 | 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org> |
67 | ||
68 | * java/util/AbstractCollection.java, java/util/AbstractList.java, | |
69 | java/util/AbstractMap.java, java/util/AbstractSequentialList.java, | |
70 | java/util/ArrayList.java, java/util/Arrays.java, | |
71 | java/util/BitSet.java, java/util/Calendar.java, | |
72 | java/util/Collection.java, java/util/ListIterator.java, | |
73 | java/util/Map.java, java/util/SortedSet.java: | |
74 | Added additional exceptions to documentation, along | |
75 | with some additions and corrections. | |
76 | ||
ed347998 HB |
77 | 2004-08-27 Hans Boehm <Hans.Boehm@hp.com> |
78 | ||
79 | * configure.ac: Handle --enable-gc-debug. | |
80 | * configure: Regenerate. | |
81 | * include/config.h.in (LIBGCJ_GC_DEBUG): Add. | |
82 | * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files. | |
83 | Rearrange include file order. | |
84 | (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set. | |
85 | (GC_finalize_all, GC_debug_generic_malloc): Don't declare. | |
86 | (disable_gc_mutex): Delete along with all references. | |
87 | (_Jv_MarkObj, _Jv_MarkArray): Use public types, | |
88 | adjust for debug header size. | |
89 | (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for | |
90 | debug case. | |
91 | (_Jv_AllocArray): Declare min_heap_addr only if needed. | |
92 | (gcj_describe_type_fn): New. | |
93 | (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind. | |
94 | Register gcj_describe_type_fn. | |
95 | * include/boehm-gc.h: | |
96 | (_Jv_AllocObj, _Jv_allocPtrFreeObj): | |
97 | Don't define, but declare, for debug case. | |
98 | * java/lang/natObject.cc: | |
99 | (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set. | |
100 | ||
42348101 MW |
101 | 2004-08-26 Mark Wielaard <mark@klomp.org> |
102 | ||
103 | Fixes PR libgcj/17002: | |
104 | * java/util/TimeZone.java (defaultZone): Try a couple of ways to get | |
105 | a TimeZoneId string and then try to convert that to a TimeZone with | |
106 | getDefaultSystemTimeZone(String). | |
107 | (timezones0): Changed type from Hashtable to HashMap. | |
108 | (timezones): Create HashMap, not Hashtable. | |
109 | (getDefaultTimeZone): New method, rewritten from CNI version. | |
110 | (readTimeZoneFile): New method. | |
111 | (readtzFile): Likewise. | |
112 | (skipFully): Likewise. | |
113 | * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to | |
114 | getDefaultTimeZoneId and rewritten. | |
115 | (getDefaultTimeZoneId): Rewritten in java. | |
116 | ||
ed89de94 DD |
117 | 2004-08-25 David Daney <daney@avtrex.com> |
118 | ||
119 | * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS. | |
120 | * Makefile.in: Regenerated. | |
121 | ||
8ba14152 BM |
122 | 2004-08-23 Bryce McKinlay <mckinlay@redhat.com> |
123 | ||
124 | * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc | |
125 | only if jvmpi is enabled. | |
126 | (jvmpi_notify_alloc): Don't check if jvmpi is enabled here. | |
127 | (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC. | |
128 | (_Jv_AllocString): Likewise. | |
129 | (_Jv_AllocPtrFreeObject): Likewise. | |
130 | ||
0039c16d | 131 | 2004-08-23 Hans Boehm <Hans.Boehm@hp.com> |
8ba14152 | 132 | |
0039c16d HB |
133 | * defineclass.cc: Include <stdio.h>. |
134 | * java/lang/natClassLoader.cc: Include <stdio.h>. | |
135 | ||
be2043db AT |
136 | 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch> |
137 | Michael Koch <konqueror@gmx.de> | |
138 | ||
139 | * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added. | |
140 | * Makefile.in: Regenerated. | |
141 | ||
b7d9c3ae MK |
142 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
143 | ||
144 | * configure.ac: Replaced all AC_TRY_COMPILE macros with | |
145 | AC_COMPILE_IFELSE macros. | |
146 | ||
80d8905c MK |
147 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
148 | ||
149 | * configure.in: Renamed to configure.ac. | |
150 | * configure.ac: New file. | |
151 | * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in | |
152 | include/config.h.in, testsuite/Makefile.in: Regenerated. | |
153 | ||
cad90591 MK |
154 | 2004-08-20 Michael Koch <konqueror@gmx.de> |
155 | ||
156 | * configure.in: Rewrote some obsolete stuff for autoconf 2.59. | |
157 | * aclocal.m4, configure: Regenerated. | |
158 | ||
e3f92d3b MK |
159 | 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com> |
160 | Michael Koch <konqueror@gmx.de> | |
161 | ||
438c7f23 BM |
162 | * configure.in, Makefile.am: Ported to automake 1.9. |
163 | * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, | |
164 | include/Makefile.in, testsuite/Makefile.in, include/config.h.in: | |
e3f92d3b MK |
165 | Regenerated. |
166 | ||
476a918f TT |
167 | 2004-08-19 Tom Tromey <tromey@redhat.com> |
168 | ||
169 | * java/net/DatagramSocket.java: Fixed typo. | |
170 | ||
bb0452b1 BM |
171 | 2004-08-18 Bryce McKinlay <mckinlay@redhat.com> |
172 | ||
173 | PR libgcj/17081 | |
174 | * java/net/URI.java (string): New field. Make all other fields | |
175 | transient. | |
176 | (readObject): Implemented. | |
177 | (writeObject): Implemented. | |
178 | (URI): Set 'string'. | |
179 | ||
b4b3435e BM |
180 | 2004-08-18 Bryce McKinlay <mckinlay@redhat.com> |
181 | ||
182 | PR libgcj/17079 | |
183 | * java/util/logging/Handler.java (isLoggable): Accept record if its | |
184 | log level equals the threshold level. From Robin Green. | |
185 | ||
720086cd DD |
186 | 2004-08-18 David Daney <ddaney@avtrex.com> |
187 | ||
188 | * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend | |
189 | instead of sigwait. | |
190 | ||
baeff970 MK |
191 | 2004-08-17 Michael Koch <konqueror@gmx.de> |
192 | ||
193 | * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read. | |
194 | * Makefile.in: Regenerated. | |
195 | ||
0e5b1376 TT |
196 | 2004-08-16 Tom Tromey <tromey@redhat.com> |
197 | ||
198 | PR java/8473: | |
199 | * testsuite/libjava.jacks/jacks.xfail: Removed passing test. | |
200 | ||
be170ef2 MK |
201 | 2004-08-16 Michael Koch <konqueror@gmx.de> |
202 | ||
203 | * Makefile.am | |
204 | (math_c_files): Renamed from c_files. | |
205 | (math_c_source_files): Renamed from c_source_files. | |
206 | * Makefile.in, | |
207 | gcj/Makefile.in, | |
208 | include/Makefile.in, | |
209 | testsuite/Makefile.in: Regenerated. | |
210 | ||
7614fd28 BM |
211 | 2004-08-16 Bryce McKinlay <mckinlay@redhat.com> |
212 | ||
213 | * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory | |
214 | to avoid autoconf warning. | |
215 | * configure: Rebuilt. | |
216 | ||
1c5192e4 AT |
217 | 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch> |
218 | ||
219 | * java/net/natInetAddressPosix.cc (lookup): Reflect rename of | |
220 | localhostAddress to loopbackAddress. | |
221 | * java/net/natInetAddressWin32.cc (lookup): Likewise. | |
222 | ||
4109fe85 BM |
223 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
224 | ||
225 | * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I | |
226 | boehm-gc's include dirs. | |
227 | * configure: Rebuilt. | |
228 | * include/boehm-gc.h: Include gc_config.h. | |
229 | ||
d7945faf BM |
230 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
231 | ||
232 | * java/net/InetAddress.java (loopbackAddress): Renamed from | |
233 | localhostAddress. | |
234 | (getByName): Return loopback address for null hostname, without | |
235 | security check. Use lookup(), not getAllByName. | |
236 | (getAllByName): Return loopback address for null hostname, without | |
237 | security check. | |
238 | * java/net/natInetAddressPosix.cc (lookup): Don't perform security | |
239 | check here. | |
240 | ||
73389fa4 BM |
241 | 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> |
242 | ||
243 | PR libgcj/17020 | |
244 | Reported by Robin Green. | |
245 | * defineclass.cc (handleField): Don't throw exception on unrecognised | |
246 | modifier. Add FIXME comments for spec compliance. | |
247 | (handleMethod): Likewise. | |
248 | ||
28e99c62 HB |
249 | 2004-08-10 Hans Boehm <Hans.Boehm@hp.com> |
250 | ||
251 | PR libgcj/16662 | |
252 | * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing. | |
253 | (Almost everywhere): add LOG calls, fix, add comments. | |
254 | (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion. | |
255 | Add explicit check for LOCKED bit in slow case (PR 16662). | |
256 | (_Jv_MonitorExit): Add casts in debug-only code. | |
257 | Always release LOCKED bit before throwing exception. | |
258 | (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock | |
259 | isn't. Handle easy cases without lock acquisition. | |
260 | (Object::wait): Use NotifyAll for lock inflation. | |
261 | ||
faa03cf1 DD |
262 | 2004-08-12 David Daney <ddaney@avtrex.com> |
263 | ||
264 | * testsuite/libjava.lang/Process_1.java: New test. | |
265 | * testsuite/libjava.lang/Process_2.java: New test. | |
266 | * testsuite/libjava.lang/Process_3.java: New test. | |
267 | * testsuite/libjava.lang/Process_4.java: New test. | |
268 | * testsuite/libjava.lang/Process_5.java: New test. | |
269 | * testsuite/libjava.lang/Process_6.java: New test. | |
270 | * testsuite/libjava.lang/Process_1.out: Expected result. | |
271 | * testsuite/libjava.lang/Process_2.out: Expected result. | |
272 | * testsuite/libjava.lang/Process_3.out: Expected result. | |
273 | * testsuite/libjava.lang/Process_4.out: Expected result. | |
274 | * testsuite/libjava.lang/Process_5.out: Expected result. | |
275 | * testsuite/libjava.lang/Process_6.out: Expected result. | |
276 | ||
277 | 2004-08-12 David Daney <ddaney@avtrex.com> | |
278 | ||
279 | PR libgcj/11801 | |
280 | * java/lang/PosixProcess.java: Rewrote. | |
281 | * java/lang/natPosixProcess.cc: Rewrote. | |
282 | * java/lang/Runtime.java (execInternal): Declare throws IOException. | |
283 | * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare. | |
284 | * posix-threads.cc (block_sigchld) New function. | |
285 | (_Jv_ThreadRegister) Use it. | |
286 | (_Jv_ThreadStart) Use it. | |
287 | * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in... | |
288 | * Makefile.am: ... to specify extra native headers. | |
289 | * configure: Regenerated. | |
290 | * include/config.h: Regenerated. | |
291 | * Makefile.in: Regenerated. | |
292 | * gcj/Makefile.in: Regenerated. | |
293 | * include/Makefile.in: Regenerated. | |
294 | * testsuite/Makefile.in: Regenerated. | |
295 | ||
c597ef4e DN |
296 | 2004-08-12 Diego Novillo <dnovillo@redhat.com> |
297 | ||
298 | PR tree-optimization/16867 | |
299 | * testsuite/libjava.lang/PR16867.java: New test. | |
300 | ||
b4d49f49 PB |
301 | 2004-08-09 Per Bothner <per@bothner.com> |
302 | ||
303 | * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class, | |
304 | with private fields and access methods. | |
305 | (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations. | |
306 | * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h. | |
307 | * prims.cc (_Jv_Utf8COnst::init): New method implementation. | |
308 | ( _Jv_makeUtf8Const): Rewrite using new constructors. | |
309 | (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static. | |
310 | * defineclass.cc: Use new _Utf8Const access/convenience methods. | |
311 | * jni.cc: Likewise. | |
312 | * resolve.cc: Likewise. | |
313 | * gcj/field.h: Likewise. | |
314 | * include/jvm.h: Likewise. | |
315 | * java/lang/Class.h: Likewise. | |
316 | * java/lang/natClass.cc: Likwise. | |
317 | * java/lang/natClassLoader.cc: Likewise | |
318 | * java/lang/reflect/natMethod.cc: Likewise | |
319 | * verify.cc: Likewise. | |
320 | (_Jv_BytecodeVerifier::make_utf8_const): Optimize. | |
321 | (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call. | |
322 | ||
7e04b67b AH |
323 | 2004-08-10 Andrew Haley <aph@redhat.com> |
324 | ||
325 | * testsuite/libjava.lang/err14.java: New file. | |
326 | * testsuite/libjava.lang/err14.out: New file. | |
327 | ||
48a8c565 AT |
328 | 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch> |
329 | ||
330 | * Makefile.am: Fix missing rename from x_nat_headers to | |
331 | xlib_nat_headers. | |
332 | * Makefile.in: Regenerated. | |
333 | ||
26be638d AH |
334 | 2004-08-04 Andrew Haley <aph@redhat.com> |
335 | ||
336 | * java/security/BasicPermission.java: Don't check wildcards. | |
337 | ||
614c0fc2 TF |
338 | 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com> |
339 | Michael Koch <konqueror@gmx.de> | |
340 | ||
341 | * acinclude.m4: Correctly quote PKG_CHECK_MODULES. | |
342 | * configure.in: Replaced all usages of AC_LINK_FILES by | |
343 | AC_CONFIG_LINKS. | |
344 | * aclocal.m4, | |
345 | configure: Regenerated. | |
346 | ||
ff78c80b TF |
347 | 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com> |
348 | Michael Koch <konqueror@gmx.de> | |
349 | ||
350 | * acconfig.h: Removed. | |
351 | * Makefile.am: Rename variables for xlib peer to include xlib and | |
352 | gtk_c_headers to gtk_jni_headers. | |
353 | * Makefile.in: Regenerated. | |
354 | ||
76207f7c AH |
355 | 2004-08-04 Andrew Haley <aph@redhat.com> |
356 | ||
357 | * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with | |
358 | debugging. | |
359 | ||
aed6152d NN |
360 | 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org> |
361 | ||
362 | * configure.in: Eliminate uses of changequote (mostly by quoting []). | |
363 | Replace most top level 'dnl' comments with '#' comments, conforming | |
364 | to new autoconf style. Use AS_HELP_STRING throughout; improve a few | |
365 | help strings. | |
366 | * configure: Rebuilt. | |
367 | ||
ed698112 NN |
368 | 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org> |
369 | ||
370 | * acinclude.m4: Include no-executables.m4. | |
371 | * aclocal.m4: Rebuild. | |
372 | * configure.in: Convert to the autoconf 2.59 version of | |
373 | of the no-executables hack, and also of the nonstandard CXX | |
374 | hack and the multilibbed CC and CXX hack. Change prerequisite | |
375 | to autoconf 2.59. | |
376 | * configure: Rebuild with autoconf 2.59. (Woo-hoo!) | |
377 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
378 | testsuite/Makefile.in: Regenerate. | |
379 | ||
8e9031ec TT |
380 | 2004-08-03 Tom Tromey <tromey@redhat.com> |
381 | ||
382 | * jni.cc: Reindented. | |
383 | ||
474f5417 BM |
384 | 2004-08-02 Bryce McKinlay <mckinlay@redhat.com> |
385 | ||
386 | * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat. | |
387 | ||
899deeca BM |
388 | 2004-08-02 Bryce McKinlay <mckinlay@redhat.com> |
389 | ||
390 | * testsuite/libjava.compile/PR16701.java: New test. | |
391 | ||
b828123e AJH |
392 | 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org> |
393 | ||
394 | * java/util/Collection.java, java/util/List.java, | |
395 | java/util/Map.java, java/util/Set.java, | |
396 | java/util/SortedMap.java, java/util/SortedSet.java: | |
397 | Added additional exceptions to documentation. | |
398 | ||
5b5662ee DS |
399 | 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net> |
400 | ||
401 | PR libgcj/16814 | |
402 | * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32. | |
403 | * configure. Regenerate. | |
404 | * include/win32.h: Explicitly include winsock2.h | |
405 | * win32.cc (_Jv_platform_initialize): Require version 2.2 of | |
406 | Winsock api. | |
407 | ||
f370ef24 MK |
408 | 2004-07-30 Michael Koch <konqueror@gmx.de> |
409 | ||
410 | * java/util/zip/GZIPInputStream.java | |
411 | (GZIPInputStream): Increase buffer size to 4k. | |
412 | * java/util/zip/GZIPOutputStream.java | |
413 | (GZIPOutputStream): Likewise. | |
414 | * java/util/zip/Inflater.java | |
415 | (setInput): Merged formating with GNU classpath. | |
416 | * java/util/zip/InflaterInputStream.java | |
417 | (InflaterInputStream): Increase buffer size to 4k. | |
418 | (fill): Throw exception if stream ends early. | |
419 | (read): Merged endless-loop with GNU classpath. | |
420 | (skip): Increase buffer size to 2k. | |
421 | ||
2afed683 MK |
422 | 2004-07-30 Michael Koch <konqueror@gmx.de> |
423 | ||
424 | * gnu/java/awt/EmbeddedWindow.java | |
425 | (addNotify): Use AccessController to allow execution of privileged | |
426 | code. | |
427 | ||
a639e504 MK |
428 | 2004-07-29 Michael Koch <konqueror@gmx.de> |
429 | ||
430 | * gnu/java/lang/MainThread.java: | |
431 | Explicitely import used classes. | |
432 | (args): Make it type String[]. | |
433 | ||
1cc49b13 DT |
434 | 2004-07-29 Dalibor Topic <robilad@kaffe.org> |
435 | ||
436 | * gnu/java/awt/ComponentDataBlitOp.java, | |
437 | gnu/java/beans/ExplicitBeanInfo.java, | |
438 | gnu/java/beans/IntrospectionIncubator.java, | |
439 | gnu/java/beans/editors/ColorEditor.java, | |
440 | gnu/java/beans/editors/FontEditor.java, | |
441 | gnu/java/beans/editors/NativeBooleanEditor.java, | |
442 | gnu/java/beans/editors/NativeByteEditor.java, | |
443 | gnu/java/beans/editors/NativeDoubleEditor.java, | |
444 | gnu/java/beans/editors/NativeFloatEditor.java, | |
445 | gnu/java/beans/editors/NativeIntEditor.java, | |
446 | gnu/java/beans/editors/NativeLongEditor.java, | |
447 | gnu/java/beans/editors/NativeShortEditor.java, | |
448 | gnu/java/beans/editors/StringEditor.java, | |
449 | gnu/java/io/ClassLoaderObjectInputStream.java, | |
450 | gnu/java/io/decode/Decoder.java, | |
451 | gnu/java/io/encode/Encoder.java, | |
452 | gnu/java/lang/ClassHelper.java, | |
453 | gnu/java/locale/Calendar.java, | |
454 | gnu/java/locale/Calendar_de.java, | |
455 | gnu/java/locale/Calendar_en.java, | |
456 | gnu/java/locale/Calendar_nl.java, | |
457 | gnu/java/locale/LocaleInformation_de.java, | |
458 | gnu/java/locale/LocaleInformation_en.java, | |
459 | gnu/java/locale/LocaleInformation_nl.java: | |
460 | Cleaned up imports. | |
461 | ||
4d4fed15 BM |
462 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
463 | ||
464 | * README: Remove obsolete info. Update bug URL. | |
465 | * THANKS: Updated. | |
e90bcbf5 | 466 | * NEWS: Updated with news up to GCC 3.4 release. |
4d4fed15 | 467 | |
64d696b6 BM |
468 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
469 | ||
470 | * gnu/java/security/action/GetPropertyAction.java (setParameters): | |
471 | Renamed from 'setName'. New 2-argument form with default value. | |
472 | (run): Pass default 'value' parameter to System.getProperty(). | |
473 | * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc | |
474 | typos. | |
475 | * gnu/java/net/protocol/http/Connection.java: Use 'setParameters' | |
476 | not 'setName'. | |
477 | ||
f0faf24b BM |
478 | 2004-07-28 Bryce McKinlay <mckinlay@redhat.com> |
479 | ||
480 | * configure.in: Check for minimum GTK version 2.4 requirement. | |
481 | * configure: Rebuilt. | |
482 | ||
ce961468 BM |
483 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
484 | ||
485 | * testsuite/libjava.lang/TLtest.java: Reduce sleep time. | |
486 | * testsuite/libjava.lang/Thread_Alive.java: Remove old email address. | |
487 | Reduce sleep time. | |
488 | * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around | |
489 | compiler bug. | |
490 | * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email | |
491 | address. Reduce sleep times. Synchronize with target threads before | |
492 | attempting to interrupt them. Don't try to calibrate yeild count, | |
493 | instead, always loop for a fixed time. | |
494 | * testsuite/libjava.lang/Thread_Join.java: Remove old email address. | |
495 | * testsuite/libjava.lang/Thread_Monitor.java: Likewise. | |
496 | * testsuite/libjava.lang/Thread_Wait.java: Likewise. | |
497 | * testsuite/libjava.lang/Thread_Wait_2.java: Likewise. | |
498 | * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise. | |
499 | * testsuite/libjava.lang/pr179.java: Likewise. | |
500 | * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep | |
501 | time. Remove upper bounds check on sleep time. | |
502 | ||
0954f3eb BM |
503 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
504 | ||
505 | * testsuite/libjava.lang/Thread_HoldsLock.java: New test case. | |
506 | * testsuite/libjava.lang/Thread_HoldsLock.out: New. | |
507 | ||
d078f7c0 BM |
508 | 2004-07-27 Bryce McKinlay <mckinlay@redhat.com> |
509 | ||
510 | * java/io/File.java (toURI): Throw RuntimeException, not | |
511 | InternalError. | |
512 | * java/lang/Runtime.java (exit): Qualify static sleep() call with | |
513 | class name, not instance. | |
514 | ||
8b66a9e9 BM |
515 | 2004-07-24 Bryce McKinlay <mckinlay@redhat.com> |
516 | ||
517 | * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java | |
518 | and gnu/java/security/action/SetAccessibleAction.java. | |
519 | * Makefile.in: Rebuilt. | |
520 | ||
ffe4e037 BM |
521 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
522 | ||
523 | * prims.cc (_Jv_InitPrimClass): Don't create an array class. | |
524 | (_Jv_CreateJavaVM): Don't pass array vtable parameter to | |
525 | _Jv_InitPrimClass. | |
526 | (DECLARE_PRIM_TYPE): Don't declare array vtables. | |
527 | * include/jvm.h (struct _Jv_ArrayVTable): Removed. | |
528 | * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration. | |
529 | ||
ef05818b TF |
530 | 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> |
531 | ||
532 | * Makefile.am: Replace jar, rmic and rmiregistry references with | |
533 | gjar, grmic and grmiregistry. | |
534 | * configure.in: Likewise. | |
535 | * Makefile.in: Regenerate. | |
536 | * configure: Likewise. | |
537 | * gcj/Makefile.in: Likewise. | |
538 | * include/Makefile.in: Likewise. | |
539 | * testsuite/Makefile.in: Likewise. | |
540 | ||
ae066484 BM |
541 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> |
542 | ||
ec5c28ec BM |
543 | * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction |
544 | for privileged getProperty calls. | |
545 | * java/io/ObjectOutputStream.java (getField): No longer static. Use | |
546 | SetAccessibleAction instead of anonymous class for doPrivileged call. | |
547 | (getMethod): Likewise. | |
548 | (setAccessible): New field. PrivilegedAction object to use when | |
549 | calling setAccessible. | |
550 | * java/io/ObjectStreamClass.java (calculateOffsets): Use | |
551 | SetAccessibleAction instead of anonymous class for diPrivileged call. | |
552 | (setFields): Likewise. | |
553 | (getClassUID): Likewise. | |
554 | (findMethod): Likewise. | |
555 | * gnu/java/security/action/GetPropertyAction.java: New class. | |
556 | * gnu/java/security/action/SetAccessibleAction.java: New class. | |
557 | ||
558 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> | |
559 | ||
560 | * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset' | |
561 | for final fields. | |
ae066484 BM |
562 | * testsuite/libjava.lang/Serialization.java: New test. |
563 | * testsuite/libjava.lang/Serialization.out: New. | |
564 | ||
565 | 2004-07-23 Bryce McKinlay <mckinlay@redhat.com> | |
694e657a MW |
566 | |
567 | * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file | |
568 | missed in last commit. | |
569 | ||
392abf6b MW |
570 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
571 | ||
572 | * java/lang/System.java (static): Set http.agent system property when | |
573 | not yet set. | |
574 | * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent | |
575 | from system property inside AccessController.doPrivileged() call. | |
576 | (proxyPort): Made package private. | |
577 | (proxyInUse): Likewise. | |
578 | (proxyHost): Likewise. | |
579 | (userAgent): Likewise. | |
580 | ||
6d97cb60 MW |
581 | 2004-07-23 Mark Wielaard <mark@klomp.org> |
582 | ||
583 | * gnu/java/net/DefaultContentHandlerFactory.java: New dummy | |
584 | implementation. | |
585 | ||
f1f90ae0 BM |
586 | 2004-07-22 Bryce McKinlay <mckinlay@redhat.com> |
587 | ||
588 | * Makefile.am (ordinary_java_source_files): Add | |
589 | DefaultContentHandlerFactory.java. | |
590 | * Makefile.in: Rebuilt. | |
591 | * java/net/URLConnection.java (defaultFactory): New field. | |
592 | (getContent): | |
593 | (getContentHandler): Renamed from 'setContentHandler'. Try | |
594 | defaultFactory after user-set factory, if any. Search for content | |
595 | handler implementations in gnu.java.net.content, not gnu.gcj.content. | |
596 | * gnu/java/net/protocol/file/Connection.java (getHeaderField): | |
597 | Implemented. | |
598 | (getLastModified): Implemented. | |
599 | (getPermission): Create file permission here, instead of in | |
600 | constructor. | |
601 | * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField): | |
602 | Implemented. | |
603 | * gnu/java/net/protocol/jar/Connection.java (getHeaderField): | |
604 | Implemented. | |
605 | (getLastModified): Implemented. | |
606 | * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New. | |
607 | Default implementation. | |
608 | * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New. | |
609 | Implement using GdkPixbufDecoder. | |
610 | ||
8e99fb4f GH |
611 | 2004-07-21 Michael Koch <konqueror@gmx.de> |
612 | ||
613 | * javax/swing/JTextArea.java | |
614 | (setLineWrap): Fire property change event after new value is set. | |
615 | (setTabSize): Likewise. | |
616 | ||
617 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
618 | ||
619 | * javax/swing/JTable.java | |
620 | (autoCreateColumnsFromModel): New field. | |
621 | (autoResizeMode): Likewise. | |
622 | (cellEditor): Likewise. | |
623 | (cellSelectionEnabled): Likewise. | |
624 | (columnModel): Likewise. | |
625 | (dataModel): Likewise. | |
626 | (defaultEditorsByColumnClass): Likewise. | |
627 | (defaultRenderersByColumnClass): Likewise. | |
628 | (editingColumn): Likewise. | |
629 | (editingRow): Likewise. | |
630 | (gridColor): Likewise. | |
631 | (preferredViewportSize): Likewise. | |
632 | (rowHeight): Likewise. | |
633 | (rowMargin): Likewise. | |
634 | (rowSelectionAllowed): Likewise. | |
635 | (selectionBackground): Likewise. | |
636 | (selectionForeground): Likewise. | |
637 | (selectionModel): Likewise. | |
638 | (showHorizontalLines): Likewise. | |
639 | (showVerticalLines): Likewise. | |
640 | (tableHeader): Likewise. | |
641 | (JTable): Implemented. | |
642 | (getColumnModel): Likewise. | |
643 | (getSelectedRow): Likewise. | |
644 | (getSelectionModel): Likewise. | |
645 | (setModel): Likewise. | |
646 | (setSelectionModel): Likewise. | |
647 | (createScrollPaneForTable): New method. | |
648 | (createDefaultDataModel): Likewise. | |
649 | (createDefaultListSelectionModel): Likewise. | |
650 | (getModel): Likewise. | |
651 | (getTableHeader): Likewise. | |
652 | (setTableHeader): Likewise. | |
653 | (getColumnSelectionAllowed): Likewise. | |
654 | (setColumnSelectionAllowed): Likewise. | |
655 | (getRowSelectionAllowed): Likewise. | |
656 | (setRowSelectionAllowed): Likewise. | |
657 | (getAutoResizeMode): Likewise. | |
658 | (setAutoResizeMode): Likewise. | |
659 | (getColumnCount): Likewise. | |
660 | (getRowCount): Likewise. | |
661 | (getCellRenderer): Likewise. | |
662 | * javax/swing/JTree.java | |
663 | (cellRenderer): New field. | |
664 | (editable): Likewise. | |
665 | (rootVisible): Likewise. | |
666 | (showsRootHandles): Likewise. | |
667 | (getModel): New method. | |
668 | (setModel): Likewise. | |
669 | (isEditable): Likewise. | |
670 | (setEditable): Likewise. | |
671 | (isRootVisbile): Likewise. | |
672 | (setRootVisible): Likewise. | |
673 | (getShowsRootHandles): Likewise. | |
674 | (setShowRootHandles): Likewise. | |
675 | (getCellRenderer): Likewise. | |
676 | (setCellRenderer): Likewise. | |
677 | ||
678 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
679 | ||
680 | * javax/swing/JFormattedTextField.java | |
681 | (setDocument): Implemented. | |
682 | * javax/swing/JRootPane.java: | |
683 | Fixed javadocs. | |
684 | * javax/swing/JTable.java | |
685 | (getDefaultRenderer): New method. | |
686 | * javax/swing/JTextField.java | |
687 | (setFont): Likewise. | |
688 | (getPreferredSize): Likewise. | |
689 | * javax/swing/JToggleButton.java | |
690 | (getAccessibleContext): Fix javadoc. | |
691 | * javax/swing/JTree.java: | |
692 | Add some javadocs. | |
693 | * javax/swing/JViewport.java: | |
694 | Likewise. | |
695 | ||
696 | 2004-07-21 David Jee <djee@redhat.com> | |
697 | ||
698 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: | |
699 | Collect all native method declaration at the top. | |
700 | (create): Set the filename filter if necessary. | |
701 | (setDirectory): Call nativeSetDirectory(). | |
702 | (setFilenameFilter): Implement. | |
703 | (filenameFilterCallback): New method. | |
704 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
705 | (create): Configure dialog to show hidden files. | |
706 | (filenameFilterCallback): New function. | |
707 | (nativeSetFilenameFilter): New function. | |
708 | (nativeSetDirectory): New function. | |
709 | ||
710 | 2004-07-21 Kim Ho <kho@redhat.com> | |
711 | ||
712 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
713 | Ran Jalopy. | |
714 | (paintTrack): Fill the track before painting | |
715 | the borders. | |
716 | ||
717 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
718 | ||
719 | patch from Roman Kennke <roman@ontographics.com> | |
720 | * javax/swing/Spring.java: New file. | |
721 | * javax/swing/SpringLayout.java: New file. | |
722 | * Makefile.am: Add new files. | |
723 | * Makefile.in: Regenerate. | |
724 | ||
725 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
726 | ||
727 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes. | |
728 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
729 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
730 | ||
731 | 2004-07-21 Kim Ho <kho@redhat.com> | |
732 | ||
733 | * javax/swing/DefaultDesktopManager.java: | |
734 | (findMinimum): Removed. | |
735 | (resizeFrame): Trust the UI to pass valid | |
736 | bounds. | |
737 | * javax/swing/JOptionPane.java: | |
738 | Implemented showInternalXXXDialog methods. | |
739 | (startModal): New method. | |
740 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
741 | (BorderListener::mouseDragged): Verify that the new | |
742 | bounds are valid before passing them to the DesktopManager. | |
743 | (preferredLayoutSize): Delegate | |
744 | to getSize. | |
745 | (minimumLayoutSize): Ditto. | |
746 | (getSize): New method. | |
747 | (GlassPaneDispatcher): Reimplemented by copying | |
748 | a stripped down LightweightDispatcher from Container. | |
749 | (getMinimumSize): Call minimumLayoutSize. | |
750 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
751 | Ran Jalopy. | |
752 | (mousePressed): Add ability to properly close | |
753 | JInternalFrames. | |
754 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
755 | (DragWindow): Set owner for DragWindow. | |
756 | ||
757 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
758 | ||
759 | * java/awt/image/ShortLookupTable.java: New file. | |
760 | * java/awt/image/ByteLookupTable.java: New file. | |
761 | * Makefile.am: Added new files. | |
762 | * Makefile.in: Regenerated. | |
763 | ||
764 | 2004-07-21 David Jee <djee@redhat.com> | |
765 | ||
766 | * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java | |
767 | (create(GtkContainerPeer)): New native method. | |
768 | (create()): Call native create(), passing in the parent frame | |
769 | as the paramter. Natively set the current file and directory. | |
770 | (setFile): Construct an absolute filename before passing it to | |
771 | the native peer. | |
772 | (nativeGetDirectory): New method. | |
773 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
774 | (window_closed): Removed. | |
775 | (ok_clicked): Likewise. | |
776 | (cancel_clicked): Likewise. | |
777 | (handle_response): New method. | |
778 | (create): Use GtkFileChooserDialog. | |
779 | (connectSignals): Connect to handle_response. | |
780 | (nativeGetDirectory): New method. | |
781 | (nativeSetFile): Use GtkFileChooserDialog. | |
782 | ||
783 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
784 | ||
785 | * java/awt/image/LookupTable.java: New file. | |
786 | * Makefile.am: Added new file. | |
787 | * Makefile.in: Regenerated. | |
788 | ||
789 | 2004-07-21 Jerry Quinn <jlquinn@optonline.net> | |
790 | ||
791 | * java/awt/image/Kernel.java: New file. | |
792 | * Makefile.am: Added new file. | |
793 | * Makefile.in: Regenerated. | |
794 | ||
795 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
796 | ||
797 | * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs. | |
798 | * javax/swing/JMenu.java: Likewise. | |
799 | * javax/swing/JMenuBar.java: Likewise. | |
800 | (MARGIN_CHANGED_PROPERTY): New property. | |
801 | (setMargin): Implemented. | |
802 | * javax/swing/JMenuItem.java: Fixed javadocs. | |
803 | * javax/swing/JPopupMenuUI.java: Fixed javadocs. | |
804 | (LABEL_CHANGED_PROPERTY): New property. | |
805 | (add): changed to use createActionComponent. | |
806 | (createActionComponent): Implemented. | |
807 | (setLabel): Fire PropertyChangeEvent if label property | |
808 | changes. | |
809 | * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs. | |
810 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
811 | (ContainerHandler): Repaint if margin property has changed. | |
812 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
813 | (installUI): Call installComponents(). | |
814 | (uninstallUI): Call uinstallComponents(). | |
815 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
816 | Fixed javadocs. | |
817 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
818 | Likewise. | |
819 | ||
820 | 2004-07-21 Kim Ho <kho@redhat.com> | |
821 | ||
822 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
823 | (DragWindow): Use the right constructor. | |
824 | ||
825 | 2004-07-21 Kim Ho <kho@redhat.com> | |
826 | ||
827 | * javax/swing/JToolBar.java: | |
828 | (layoutContainer): Use getComponents. | |
829 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
830 | (DragWindow): Don't use SwingUtilities' | |
831 | getOwnerFrame | |
832 | (ToolBarDialog): ditto. | |
833 | ||
834 | 2004-07-21 Kim Ho <kho@redhat.com> | |
835 | ||
836 | * javax/swing/JRootPane.java: | |
837 | Ran jalopy. | |
838 | (layoutContainer): Set the glasspane's size to | |
839 | be the same as the content pane. | |
840 | (createGlassPane): Set opaque property to false. | |
841 | ||
842 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
843 | ||
844 | * java/awt/Component.java (requestFocus()): Don't handle Panels | |
845 | specially. | |
846 | (requestFocus(boolean)): Likewise. | |
847 | (requestFocusInWindow(boolean)): Likewise. | |
848 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create): | |
849 | Set GTK_CAN_FOCUS flag. | |
850 | ||
851 | 2004-07-21 Kim Ho <kho@redhat.com> | |
852 | ||
853 | * Makefile.am: Added new file. | |
854 | * Makefile.in: Regenerated. | |
855 | * gcj/Makefile.in: Regenerated. | |
856 | * include/Makefile.in: Regenerated. | |
857 | * javax/swing/AbstractButton.java: | |
858 | Add rollOverEnabled property. | |
859 | (setRolloverEnabled): Use new property. | |
860 | (isRolloverEnabled): Use new property. | |
861 | * javax/swing/JTabbedPane.java: | |
862 | (setComponent): Remove useless JTabbedPane.this. | |
863 | * javax/swing/JToolBar.java: Finish implementation. | |
864 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
865 | (paint): Moved border painting to a border. | |
866 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
867 | Change JToolBar look and feel defaults. | |
868 | * javax/swing/plaf/basic/BasicOptionPaneUI.java | |
869 | (actionPerformed): Return Integer index instead of name. | |
870 | (addButtonComponents): Check to see if component is | |
871 | JButton last. | |
872 | (createMessageArea): Don't use components that are not | |
873 | completed yet. | |
874 | (getIconForType): Use temporary icons. | |
875 | * javax/swing/plaf/basic/BasicSliderUI.java: | |
876 | (mousePressed): Do not return if it's on thumb. | |
877 | (paintMinorTickForHorizSlider): Use BLACK to paint ticks. | |
878 | (paintMinorTickForVertSlider): ditto. | |
879 | (paintMajorTickForHorizSlider): ditto. | |
880 | (paintMajorTickForVertSlider): ditto. | |
881 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
882 | Add a border around the SplitPaneDivider. | |
883 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: | |
884 | Remove comments. | |
885 | * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java: | |
886 | New file. Implemented. | |
887 | * javax/swing/plaf/basic/BasicToolBarUI.java: | |
888 | Implemented. | |
889 | * testsuite/Makefile.in: Regenerated. | |
890 | ||
891 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
892 | ||
893 | * javax/swing/Timer.java (run): Queue events each time cycle. | |
894 | ||
895 | 2004-07-21 David Jee <djee@redhat.com> | |
896 | ||
897 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
898 | (imageComplete): Call image.imageComplete(). | |
899 | * java/awt/image/MemoryImageSource.java: | |
900 | Reimplement consumers as a Vector instead of a Hashtable. This is | |
901 | because enumeration on a Hashtable is not thread-safe. | |
902 | (addConsumer): Adapt to Vector consumers. | |
903 | (isConsumer): Adapt to Vector consumers. | |
904 | (removeConsumer): Adapt to Vector consumers. | |
905 | (startProduction): Adapt to Vector consumers. Call imageComplete() | |
906 | with STATICIMAGEDONE flag instead of SINGLEFRAME flag. | |
907 | (newPixels): Adapt to Vector consumers. | |
908 | (sendPicture): Set the color model of the image consumer. | |
909 | (newPixels(IIII)): Adapt to Vector consumers. | |
910 | (newPixels(IIIIB)): Adapt to Vector consumers. | |
911 | ||
912 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
913 | ||
914 | * java/awt/Component.java (deliverEvent): Implement. | |
915 | (postEvent): Implement. | |
916 | (handleEvent): Implement. | |
917 | (translateEvent): New method. | |
918 | (dispatchEventImpl): Document. Add AWT 1.0 event handling. | |
919 | * java/awt/Container.java (deliverEvent): Implement. | |
920 | * java/awt/Event.java (paramString): Fix formatting. | |
921 | * java/awt/Font.java (toString): Likewise. | |
922 | * java/awt/Window.java (postEvent): Implement. | |
923 | ||
924 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
925 | ||
926 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
927 | Set window's focus owner upon receiving a FOCUS_LOST event. | |
928 | * java/awt/Window.java (Window()): Refocus the previously | |
929 | focused component within the window when the window regains the | |
930 | top-level focus. | |
931 | (setFocusOwner): New method. | |
932 | * java/awt/Component.java (requestFocus): Add FIXME. | |
933 | ||
934 | * libgcj.pc.in: Remove library flags. | |
935 | ||
936 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
937 | ||
938 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle | |
939 | MOUSE_PRESSED event. | |
940 | * java/awt/Component.java (requestFocus()): Handle Panel | |
941 | specially. Post FOCUS_LOST event on opposite component. | |
942 | (requestFocus(boolean)): Likewise. | |
943 | (requestFocusInWindow(boolean)): Likewise. | |
944 | (paramString): Reorder dimension fields. | |
945 | * java/awt/Container.java (paramString): Fix string format. | |
946 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
947 | Handle FOCUS_LOST events. Don't handle Windows specially. Only | |
948 | process key events if the focus owner is non-null. | |
949 | (dispatchKeyEvent): Likewise. | |
950 | * java/awt/Frame.java (paramString): Fix formatting. | |
951 | (generateName): New method. | |
952 | (getUniqueLong): Likewise. | |
953 | * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if | |
954 | the temporary focus owner is null. If so, return the permanent | |
955 | focus owner. | |
956 | * java/awt/Panel.java (generateName): New method. | |
957 | (getUniqueLong): Likewise. | |
958 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework | |
959 | signal handling to make callbacks more specific. | |
960 | ||
961 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
962 | ||
963 | * javax/swing/text/Position.java | |
964 | (Bias): Implemented. | |
965 | ||
966 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
967 | ||
968 | * javax/swing/LookAndFeel.java | |
969 | (provideErrorFeedback): New method. | |
970 | ||
971 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
972 | ||
973 | * javax/swing/JTextArea.java | |
974 | (tabSize): New field. | |
975 | (getTabSize): New method. | |
976 | (setTabSize): Likewise. | |
977 | ||
978 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
979 | ||
980 | * javax/swing/ActionMap.java: | |
981 | Fixed javadocs all over. | |
982 | (serialVersionUID): Made private. | |
983 | (parent): Don't explicitely initialize with default value. | |
984 | (get): SImplified. | |
985 | (keys): Reimplemented. | |
986 | (allKeys): Likewise. | |
987 | (convertSet): Removed. | |
988 | * javax/swing/ComponentInputMap.java: | |
989 | Fixed javadocs all over. | |
990 | (ComponentInputMap): Implemented. | |
991 | (put): Likewise. | |
992 | (clear): Likewise. | |
993 | (remove): Likewise. | |
994 | (SetParent): Likewise. | |
995 | (getComponent): Likewise. | |
996 | * javax/swing/InputMap.java: | |
997 | Fixed javadocs all over. | |
998 | (serialVersionUID): Made private. | |
999 | (parent): Don't explicitely initialize with default value. | |
1000 | (get): SImplified. | |
1001 | (keys): Reimplemented. | |
1002 | (allKeys): Likewise. | |
1003 | (convertSet): Removed. | |
1004 | ||
1005 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1006 | ||
1007 | * javax/swing/ActionMap.java, | |
1008 | javax/swing/ComponentInputMap.java, | |
1009 | javax/swing/InputMap.java, | |
1010 | javax/swing/table/DefaultTableColumnModel.java, | |
1011 | javax/swing/table/TableColumn.java, | |
1012 | javax/swing/table/TableColumnModel.java, | |
1013 | javax/swing/table/TableModel.java, | |
1014 | javax/swing/text/AbstractDocument.java, | |
1015 | javax/swing/text/TextAction.java: | |
1016 | Reformated. | |
1017 | ||
1018 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
1019 | ||
1020 | * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): | |
1021 | Make method non-static. | |
1022 | * javax/swing/AbstractButton.java: | |
1023 | Rename fields to match property names where possible. | |
1024 | (iconTextGap): New property. | |
1025 | * javax/swing/JCheckBox.java: Match AbstractButton changes. | |
1026 | (init) New method, call from after various constructors. | |
1027 | * javax/swing/JComponent.java (revalidate): | |
1028 | Invalidate before queueing repair. | |
1029 | * javax/swing/JList.java (getPreferredScrollableViewportSize): | |
1030 | Reimplement in terms of visibleRowCount property. | |
1031 | * javax/swing/JMenuButton.java: Match AbstractButton changes. | |
1032 | * javax/swing/JScrollPane.java (createScrollListener): | |
1033 | Remove tracing chatter. | |
1034 | * javax/swing/JToggleButton.java: Match AbstractButton changes. | |
1035 | * javax/swing/RepaintManager.java (addInvalidComponent): | |
1036 | Don't invalidate. | |
1037 | * javax/swing/ScrollPaneLayout.java: Various corrections to layout | |
1038 | calculations. | |
1039 | * javax/swing/SwingUtilities.java (layoutCompoundLabel): | |
1040 | Mimic sun behavior on top left/right positioning. | |
1041 | * javax/swing/ViewportLayout.java (preferredLayoutSize): | |
1042 | Remove mistaken use of preferredScrollableViewportSize here. | |
1043 | (layoutContainer): Use view's preferred size as basis. | |
1044 | * javax/swing/plaf/basic/BasicButtonUI.java: | |
1045 | Set, get, and use textIconGap property. | |
1046 | (paint) Paint text returned from layout (with ellipsis). | |
1047 | * javax/swing/plaf/basic/BasicListUI.java: | |
1048 | Remove tracing chatter, correct various minor calculations. | |
1049 | (getCellBounds): Update layout state before calculating. | |
1050 | * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin): | |
1051 | Use margin default similar to sun's. | |
1052 | * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon): | |
1053 | (createIncreaseIcon): Center icon, minimize margins. | |
1054 | (createDecreaseIcon): Likewise. | |
1055 | * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults): | |
1056 | Implement. | |
1057 | (installUI): Call it. | |
1058 | (uninstallDefaults): Implement. | |
1059 | (uninstallUI): Call it. | |
1060 | * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow): | |
1061 | Call existing Window constructor. | |
1062 | * javax/swing/plaf/basic/BasicViewportUI.java (paint): | |
1063 | Set clip before painting. | |
1064 | ||
1065 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1066 | ||
1067 | * javax/swing/JMenuItem.java: | |
1068 | (processMouseEvent): Reimplemented to deal with | |
1069 | mouse drag events. | |
1070 | (createMenuDragMouseEvent): New private helper method. | |
1071 | Creates MenuDragMouseEvent. | |
1072 | * javax/swing/MenuSelectionManager.java | |
1073 | (componentForPoint): Implemented. | |
1074 | (isComponentPartOfCurrentMenu): Made public. | |
1075 | (processMouseEvent): Reimplemented to deal with | |
1076 | mouse drag events. | |
1077 | (setSelectedPath): Corrected small mistake that caused | |
1078 | path to be set incorrectly. | |
1079 | (getPath): If given component is JMenu then also add this | |
1080 | menu's popup menu to the selected path. | |
1081 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
1082 | (getPath): Ditto. | |
1083 | (getPreferredSize): Call getPreferredMenuItemSize(). | |
1084 | (getPreferredItemSize): Moved code from getPreferredSize to here. | |
1085 | (installListeners): Install MouseMotionListeners. | |
1086 | (MouseInputHandler): Pass mouse release event to MenuSelectionManager | |
1087 | if mouse wasn't released in the bounds of this menu item. | |
1088 | (MenuDragMouseHandler): Implemented. | |
1089 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
1090 | (installListeners): Install MouseMotionListener and | |
1091 | MenuDrageMouseListener. | |
1092 | (MenuDragMouseHandler): Implemented. | |
1093 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
1094 | (uninstallListeners): Implemented. | |
1095 | ||
1096 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1097 | ||
1098 | * javax/swing/JCheckBox.java: Reformated. | |
1099 | (JCheckBox): Fixed all constructors. | |
1100 | (isBorderPaintedFlat): New method. | |
1101 | (setBorderPaintedFlat): New method. | |
1102 | * javax/swing/JEditorPane.java | |
1103 | (createEditorKitForContentType): Made public. | |
1104 | (scrollToReference): Likewise. | |
1105 | * javax/swing/JTextArea.java | |
1106 | (setLineWrap): Fire property change. | |
1107 | * javax/swing/JToggleButton.java | |
1108 | (JToggleButton): New constructor. | |
1109 | (JToggleButton): Simplified. | |
1110 | * javax/swing/text/AttributeSet.java | |
1111 | (FontAttribute): Renamed from FontCharacterAttribute. | |
1112 | * javax/swing/text/JTextComponent.java | |
1113 | (KeyBinBinding): Added javadoc. | |
1114 | (JTextComponent): Likewise. | |
1115 | (getAccessibleContext): Fixed javadoc. | |
1116 | * javax/swing/text/View.java | |
1117 | (View): Added javadoc. | |
1118 | * javax/swing/text/TabableView.java: New file. | |
1119 | * Makefile.am: Added javax/swing/text/TabableView.java. | |
1120 | * Makefile.in: Regenerated. | |
1121 | ||
1122 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
1123 | ||
1124 | * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter. | |
1125 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
1126 | (GtkErrorImage): New helper class. | |
1127 | (bufferedImageOrError): New helper method. | |
1128 | (createImage): Use it. | |
1129 | ||
1130 | 2004-07-21 David Jee <djee@redhat.com> | |
1131 | ||
1132 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
1133 | (setCaretPosition): Scroll the text view so the new caret position | |
1134 | is visible on screen. | |
1135 | ||
1136 | 2004-07-21 David Jee <djee@redhat.com> | |
1137 | ||
1138 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
1139 | (setBounds): Do not validate awtComponent here. | |
1140 | * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java | |
1141 | (getPreferredSize): New method. | |
1142 | * java/awt/ScrollPane.java | |
1143 | (ScrollPane): Set default size to 100x100. | |
1144 | (addNotify): If child is not a Panel, wrap it with a new Panel. | |
1145 | (paramString): Implement. | |
1146 | ||
1147 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1148 | ||
1149 | * javax/swing/JMenu.java: | |
1150 | (setSelected): Display popup menu only if this menu | |
1151 | is showing on the screen. | |
1152 | * javax/swing/JPopupMenu.java: | |
1153 | (processMouseEvent): Added comment. | |
1154 | (processKeyEvent): Likewise. | |
1155 | * javax/swing/MenuSelectionManager.java: | |
1156 | (clearSelectedPath): Only fireStateChanged() after | |
1157 | selected path was changed, not before. | |
1158 | (setSelectedPath): Likewise. | |
1159 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
1160 | (paintMenuItem): Corrected position of menu item's | |
1161 | icon. | |
1162 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
1163 | (installUI): Correct setDefaultLightWeightPopupEnabled call. | |
1164 | (popupMenuCanceled): Reimplemented. | |
1165 | (popupMenuWillBecomeVisible): Select first menu item by default | |
1166 | when displaying free floating popup menus. | |
1167 | (TopWindowListener): Reimplemented. | |
1168 | ||
1169 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1170 | ||
1171 | * java/awt/Panel.java (dispatchEventImpl): Override to prevent | |
1172 | Panel from being painted twice when it is first shown. | |
1173 | ||
1174 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1175 | ||
1176 | * java/awt/Window.java: Reverted changes from my | |
1177 | previous patch for creating window without an owner. | |
1178 | * javax/swing/SwingUtilities.java: | |
1179 | (SwingUtilities.OwnerFrame): made static. | |
1180 | (OwnerFrame.setVisible): New method. Overridden with | |
1181 | empty implementation. | |
1182 | (OwnerFrame.isShowing): New method. Ovverridden | |
1183 | to return always true. | |
1184 | ||
1185 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1186 | ||
1187 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
1188 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1189 | (GtkComponentPeer): Remove temporary try/catch block. | |
1190 | (setVisible): Call show and hide. | |
1191 | (show): Make native. | |
1192 | (hide): Likewise. | |
1193 | (getArgs): Don't add "visible" argument. | |
1194 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1195 | (property_notify_predicate): Return Bool instead of int. | |
1196 | (find_layout): New function. | |
1197 | (connectJObject): Call find_layout. | |
1198 | (connectSignals): Likewise. | |
1199 | (moveLayout): Likewise. | |
1200 | (gtkLayoutSetVisible): Likewise. | |
1201 | ||
1202 | 2004-07-21 Mark Wielaard <mark@klomp.org> | |
1203 | ||
1204 | * java/awt/event/InvocationEvent.java (dispatch): Synchronize | |
1205 | on notifier object before calling notifyAll(). | |
1206 | ||
1207 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1208 | ||
1209 | * java/awt/Window.java: Changed constructors to use new | |
1210 | method that is described below. Constructors call this | |
1211 | methods only if newly created window should have an owner. | |
1212 | (setWindowOwner): New method. Implementation for | |
1213 | this method is moved from this(owner,configuration). | |
1214 | * javax/swing/JWindow.java: | |
1215 | (JWindow): Reimplement to use SwingUtilities.ownerFrame | |
1216 | instead of owner. | |
1217 | * javax/swing/SwingUtilities.java: | |
1218 | (ownerFrame): Change type of this field to OwnerFrame. | |
1219 | (getOwnerFrame): Changed to return object of type OwnerFrame. | |
1220 | (SwingUtilities.OwnerFrame): New class. Represents owner | |
1221 | of a Window that is not provided with one. | |
1222 | ||
1223 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1224 | ||
1225 | * javax/swing/AbstractButton.java: | |
1226 | (configurePropertiesFromAction): Set action command | |
1227 | to button's text by default if action command is not | |
1228 | explicitely specified. | |
1229 | * javax/swing/JMenu.java: Remove unnecessary listener | |
1230 | and methods relevant to it. | |
1231 | (setSelected): Reimplemented. | |
1232 | (menuSelectionChanged): Moved most part of implementation to | |
1233 | setSelected() and call it instead. | |
1234 | * javax/swing/JMenuItem.java: | |
1235 | (init): Comment out statement that sets paint_border to false. | |
1236 | (configurePropertiesFromAction): Do not set accelerator | |
1237 | for JMenu. | |
1238 | (menuSelectionChanged): Change selected index in the selection | |
1239 | model of menu item's parent. | |
1240 | * javax/swing/JPopupMenu.java: | |
1241 | (remove): Set constraints.fill field to GridBagConstraints.BOTH | |
1242 | instead of GridBagConstraints.HORIZONTAL. | |
1243 | (insert): Likewise. | |
1244 | (createActionChangeListener): Implemented. | |
1245 | (setVisible): Correct location of HeavyWeightMenu and | |
1246 | don't firePopupMenuCanceled(). | |
1247 | (menuSelectionChanged): Implemented. | |
1248 | (ActionChangeListener): New Listener. Implemented. | |
1249 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
1250 | (BasicMenuBarUI.ContainerHandler): Implemented. | |
1251 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
1252 | (paintMenuItem): Uncommented out code that paints | |
1253 | icon, now that icons are working properly. | |
1254 | (PropertyChangeListener): Implemented. | |
1255 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
1256 | Added javadocs. | |
1257 | (topWindowListener): New field. | |
1258 | (Constructor): initialize topWindowListener. | |
1259 | (BasicPopupMenuUI.TopWindowListener): Implemented. | |
1260 | (BasicPopupMenuUI.PopupMenuHandler): Implemented. | |
1261 | (BasicPopupMenuUI.TopWindowListener): New ComponentListener. | |
1262 | Implemented. | |
8e99fb4f GH |
1263 | |
1264 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1265 | ||
1266 | * javax/swing/plaf/basic/BasicButtonUI.java | |
1267 | (paintFocus): Fixed method signature. | |
1268 | (paintButtonPressed): Likewise. | |
1269 | (paintButtonNormal): Likewise. | |
1270 | (paintText): New method. | |
1271 | * javax/swing/plaf/basic/BasicLabelUI.java | |
1272 | (paint): Re-indented. | |
1273 | * javax/swing/plaf/basic/BasicTextUI.java | |
1274 | (installUI): Set parent textComponent to opaque. | |
1275 | * javax/swing/text/DefaultHighlighter.java | |
1276 | (checkPositions): New helper method. | |
1277 | (addHighlight): Throws BadLocationException, check positions. | |
1278 | (changeHighlight): Likewise. | |
1279 | * javax/swing/text/EditorKit.java | |
1280 | (EditorKit): Implements Serializable. | |
1281 | * javax/swing/text/JTextComponent.java | |
1282 | (getUI): Added javadoc. | |
1283 | (setUI): Likewise. | |
1284 | (upadteUI): Added javadoc, don't revalidate and repaint. | |
1285 | ||
1286 | 2004-07-21 David Jee <djee@redhat.com> | |
1287 | ||
1288 | * java/awt/GridBagLayout.java | |
1289 | (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE. | |
1290 | * javax/swing/AbstractButton.java | |
1291 | (setText): Reindent. | |
1292 | * javax/swing/RepaintManager.java | |
1293 | (addInvalidComponent): Find the first ancestor that isValidateRoot(). | |
1294 | ||
1295 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1296 | ||
1297 | * javax/swing/JFormattedTextField.java | |
1298 | (value): New field. | |
1299 | (JFormattedTextField): Implemented. | |
1300 | (getValue): Likewise. | |
1301 | (setValue): Likewise. | |
1302 | * javax/swing/LookAndFeel.java | |
1303 | (getSupportsWindowDecorations): New method. | |
1304 | * javax/swing/UIDefaults.java: | |
1305 | Use java.beans.PropertyChangeSupport instead of doing all ourself. | |
1306 | (addPropertyChangeListener): Made public. | |
1307 | (addResourceBundle): Likewise. | |
1308 | (removeResourceBundle): Likewise. | |
1309 | (setDefaultLocale): Likewise. | |
1310 | * javax/swing/plaf/basic/BasicRootPaneUI.java | |
1311 | (BasicRootPaneUI): Implements PropertyChangeListener. | |
1312 | (propertyChange): New method. | |
1313 | * javax/swing/plaf/basic/BasicTextUI.java | |
1314 | (BasicHighlighter): New inner class. | |
1315 | (createHighlighter): New method. | |
1316 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
1317 | (DragWindow): Extends java.awt.Window. | |
1318 | * javax/swing/text/JTextComponent.java | |
1319 | (getDocument): Removed debug output. | |
1320 | * javax/swing/plaf/basic/BasicTextFieldUI.java, | |
1321 | javax/swing/text/DefaultHighlighter.java, | |
1322 | javax/swing/text/FieldView.java, | |
1323 | javax/swing/text/PlainView.java: New files. | |
1324 | * Makefile.am: Added new files. | |
1325 | * Makefile.in: Regenerated. | |
1326 | ||
1327 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1328 | ||
1329 | * javax/swing/JEditorPane.java | |
1330 | (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit. | |
1331 | (createEditorKitForContentType): Likewise. | |
1332 | * javax/swing/text/DefaultEditorKit.java | |
1333 | (serialVersionUID): Added constant field. | |
1334 | (EndOfLineStringPropery): Fixed typo. | |
1335 | (DefaultEditorKit): New constructor. | |
1336 | * javax/swing/text/Segment.java: | |
1337 | Import java.text.CharacterIterator. | |
1338 | * javax/swing/text/CharacterIterator.java, | |
1339 | javax/swing/text/PlainEditorKit.java: Removed. | |
1340 | * Makefile.am: Removed javax/swing/text/CharacterIterator.java and | |
1341 | javax/swing/text/PlainEditorKit.java. | |
1342 | * Makefile.in: Regenerated. | |
1343 | ||
1344 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1345 | ||
1346 | * javax/swing/JButton.java, | |
1347 | javax/swing/text/DefaultEditorKit.java, | |
1348 | javax/swing/text/EditorKit.java, | |
1349 | javax/swing/text/Segment.java, | |
1350 | javax/swing/text/StyledEditorKit.java: | |
1351 | Reformatted. | |
1352 | ||
1353 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1354 | ||
1355 | * javax/swing/ImageIcon.java | |
1356 | (file): Removed. | |
1357 | (description): Renamed from descr. | |
1358 | (ImageIcon): Added missing constructors. | |
1359 | (setParent): Removed. | |
1360 | (setImageObserver): New method. | |
1361 | (getImageObserver): New method. | |
1362 | (paintIcon): Handle observer = null. | |
1363 | * javax/swing/JButton.java | |
1364 | (removeNotify): Fixed javadoc. | |
1365 | (updateUI): Simplified. | |
1366 | * javax/swing/JRootPane.java | |
1367 | (serialVersionUID): New constant field. | |
1368 | * javax/swing/UIManager.java: | |
1369 | Fixed javadocs all over. | |
1370 | (setLookAndFeel): Throws UnsupportedLookAndFeelException. | |
1371 | * javax/swing/text/AbstractDocument.java | |
1372 | (createPosition): Throws BadLocationException. | |
1373 | (getText): Likewise. | |
1374 | (remove): Likewise. | |
1375 | * javax/swing/text/ComponentView.java | |
1376 | (modelToView): Likewise. | |
1377 | * javax/swing/text/DefaultEditorKit.java: | |
1378 | Made all public methods public. | |
1379 | (read): Throws BadLocationException and IOException. | |
1380 | (write): Likewise. | |
1381 | * javax/swing/text/EditorKit.java: | |
1382 | Made all public methods public. | |
1383 | (serialVersionUID): New constant field. | |
1384 | (clone): New method. | |
1385 | (read): Throws BadLocationException and IOException. | |
1386 | (write): Likewise. | |
1387 | * javax/swing/text/Segment.java | |
1388 | (array): Made public. | |
1389 | (count): Likewise. | |
1390 | (offset): Likewise. | |
1391 | (Segment): New constructors. | |
1392 | (clone): Reimplemented. | |
1393 | * javax/swing/text/StyledEditorKit.java | |
1394 | (serialVersionUID): New constant field. | |
1395 | ||
1396 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
1397 | ||
1398 | * java/awt/image/BufferedImage.java | |
1399 | (getSource): Implement. | |
1400 | * javax/swing/ImageIcon.java | |
1401 | (ImageIcon): Implement ctor. | |
1402 | * javax/swing/ScrollPaneLayout.java | |
1403 | (preferredLayoutSize): Be more careful about nulls. | |
1404 | ||
1405 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1406 | ||
1407 | * javax/swing/text/AttributeSet.java | |
1408 | (CharacterAttribute): New interface | |
1409 | (ColorAttribute): Likewise. | |
1410 | (FontCharacterAttribute): Likewise. | |
1411 | (ParagraphAttribute): Likewise. | |
1412 | * javax/swing/text/DefaultCaret.java | |
1413 | (moveCaret): New method. | |
1414 | (positionCaret): Likewise. | |
1415 | (repaint): Made protected. | |
1416 | * javax/swing/text/JTextComponent.java | |
1417 | (KeyBinding): Made it static. | |
1418 | * javax/swing/text/View.java | |
1419 | (getContainer): Honor parent == null. | |
1420 | ||
1421 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1422 | ||
1423 | * javax/swing/text/AbstractDocument.java: | |
1424 | Reformatted. | |
1425 | ||
1426 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1427 | ||
1428 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
1429 | Import javax.swing.UIManager explicitely. | |
1430 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
1431 | (ScrollingButton): Made it static. | |
1432 | ||
1433 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1434 | ||
1435 | * javax/swing/UIDefaults.java | |
1436 | (ActiveValue): Made public. | |
1437 | (LazyValue): Likewise. | |
1438 | * javax/swing/plaf/basic/BasicTextUI.java | |
1439 | (RootView): Reintroduced. | |
1440 | (view): Removed. | |
1441 | (rootView): New field. | |
1442 | (installUI): Create document if needed, initialize rootView. | |
1443 | (uninstallUI): Hanle rootView. | |
1444 | (paint): Likewise. | |
1445 | (getRootView): Likewise. | |
1446 | (setView): Likewise. | |
1447 | * javax/swing/text/DefaultCaret.java: | |
1448 | Renamed all "evt" variables to "event". | |
1449 | ||
1450 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1451 | ||
1452 | * libgcj.spec.in: Add -l-java-util-logging. | |
1453 | ||
1454 | 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch> | |
1455 | ||
1456 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
1457 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case | |
1458 | gtk-xft-dpi can no calculate the right value. | |
1459 | (dpi_changed_cb): Mark *pspec as unsused. | |
1460 | ||
1461 | 2004-07-21 David Jee <djee@redhat.com> | |
1462 | ||
1463 | * java/awt/Component.java | |
1464 | (move): Delegate to setBounds(). | |
1465 | (resize): Likewise. | |
1466 | (reshape): Fix so it repaints parent and self only when necessary. | |
1467 | ||
1468 | 2004-07-21 David Jee <djee@redhat.com> | |
1469 | ||
1470 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
1471 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1472 | (GtkComponentPeer): Revert previous patch from 2004-06-22. | |
1473 | (setVisible): Likewise. | |
1474 | (show): Likewise. | |
1475 | (hide): Likewise. | |
1476 | (getArgs): Likewise. | |
1477 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1478 | (property_notify_predicate): Likewise. | |
1479 | (find_layout): Likewise. | |
1480 | (connectJObject): Likewise. | |
1481 | (connectSignals): Likewise. | |
1482 | (moveLayout): Likewise. | |
1483 | (gtkLayoutSetVisible): Likewise. | |
1484 | ||
1485 | 2004-07-21 Graydon Hoare <graydon@redhat.com> | |
1486 | ||
1487 | * Makefile.am | |
1488 | (jv_convert_LDADD): | |
1489 | (gij_LDADD): | |
1490 | (rmic_LDADD): | |
1491 | (rmiregistry_LDADD): Add lib-java-util-logging.la | |
1492 | * Makefile.in: Regenerate. | |
1493 | ||
1494 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1495 | ||
1496 | * javax/swing/text/AbstractDocument.java | |
1497 | (replace): Dont use protected method of java.util.Vector directly. | |
1498 | ||
1499 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1500 | ||
1501 | * javax/swing/plaf/basic/BasicTextUI.java | |
1502 | (installUI): Call specialized install methods. | |
1503 | (installDefaults): New method. | |
1504 | (installListeners): Likewise. | |
1505 | (installKeyboardActions): Likewise. | |
1506 | (uninstallUI): Likewise. | |
1507 | (uninstallDefaults): New method. | |
1508 | (uninstallListeners): Likewise. | |
1509 | (uninstallKeyboardActions): Likewise. | |
1510 | (getPropertyPrefix): New abstract method. | |
1511 | (paint): Made final, just call paintSafely(). | |
1512 | (paintSavely): New method. | |
1513 | (paintBackground): Likewise. | |
1514 | (getVisibleEditorRect): Likewise. | |
1515 | * javax/swing/text/LayeredHighlighter.java, | |
1516 | javax/swing/text/TabExpander.java: New files. | |
1517 | * Makefile.am: Added javax/swing/text/LayeredHighlighter.java | |
1518 | and javax/swing/text/TabExpander.java. | |
1519 | * Makefile.in: Regenerated. | |
1520 | ||
1521 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1522 | ||
1523 | * javax/swing/plaf/basic/BasicTextUI.java | |
1524 | (BasicTextUI): Made abstract. | |
1525 | (BasicCaret): New inner class. | |
1526 | (view): Don't explicitely initialize with "null". | |
1527 | (textComponent): New field. | |
1528 | (textColor): Removed. | |
1529 | (disabledTextColor): Removed. | |
1530 | (normalBackgroundColor): Removed. | |
1531 | (RootView): Removed commented out inner class. | |
1532 | (createUI): Removed. | |
1533 | (createCaret): New method. | |
1534 | (getComponent): Likewise. | |
1535 | (installUI): Initialize textComponent only. | |
1536 | (getPreferredSize): Use installed JTextComponent. | |
1537 | (setView): New method. | |
1538 | (create): Likewise. | |
1539 | * javax/swing/text/JTextComponent.java | |
1540 | (highlighter): New field. | |
1541 | (caretColor): Likewise. | |
1542 | (disabledTextColor): Likewise. | |
1543 | (seletedTextColor): Likewise. | |
1544 | (selectionColor): Likewise. | |
1545 | (setUI): New method. | |
1546 | (getCaretColor): Likewise. | |
1547 | (setCaretColor): Likewise. | |
1548 | (getDisabledColor): Likewise. | |
1549 | (setDisabledColor): Likewise. | |
1550 | (getSelectedTextColor): Likewise. | |
1551 | (setSelectedTextColor): Likewise. | |
1552 | (getSelectionColor): Likewise. | |
1553 | (setSelectionColor): Likewise. | |
1554 | (getHighlighter): Likewise. | |
1555 | (setHighlighter): Likewise. | |
1556 | (replaceSelection): Likewise. | |
1557 | ||
1558 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1559 | ||
1560 | * javax/swing/plaf/basic/BasicScrollPaneUI.java | |
1561 | (BasicScrollPaneUI): Implements ScrollPaneConstants. | |
1562 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
1563 | (BasicToolBarUI): Implements SwingConstants. | |
1564 | ||
1565 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1566 | ||
1567 | * javax/swing/JPopupMenu.java: Removed CVS tags. | |
1568 | * javax/swing/UIDefaults.java: Reformatted. | |
1569 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
1570 | Explicitely import used classes. | |
1571 | ||
1572 | 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1573 | ||
1574 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
1575 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1576 | (GtkComponentPeer): Remove temporary try/catch block. | |
1577 | (setVisible): Call show and hide. | |
1578 | (show): Make native. | |
1579 | (hide): Likewise. | |
1580 | (getArgs): Don't add "visible" argument. | |
1581 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1582 | (property_notify_predicate): Return Bool instead of int. | |
1583 | (find_layout): New function. | |
1584 | (connectJObject): Call find_layout. | |
1585 | (connectSignals): Likewise. | |
1586 | (moveLayout): Likewise. | |
1587 | (gtkLayoutSetVisible): Likewise. | |
1588 | ||
1589 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1590 | ||
1591 | * javax/swing/AbstractButton.java: | |
1592 | (setDisplayedMnemonicIndex): Check if button | |
1593 | text is not null before checking its length. | |
1594 | * javax/swing/JMenuItem.java: | |
1595 | (processMouseEvent): Disarm menu item if mouse has | |
1596 | exited it. | |
1597 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
1598 | (MouseInputHandler.mouseEntered): Do not raise | |
1599 | popup menu if this menu is already selected. | |
1600 | (MouseInputHandler.mousePressed): Do not fire | |
1601 | MenuEvents. | |
1602 | (MenuHandler): Implemented. | |
1603 | ||
1604 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1605 | ||
1606 | * javax/swing/JCheckBoxMenuItem.java: Added Javadoc. | |
1607 | (getSelectedObjects): Implemented. | |
1608 | * javax/swing/JRadioButtonMenuItem.java: Added Javadoc. | |
1609 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: | |
1610 | Added javadoc for few methods. | |
1611 | (processMouseEvent): Made public. | |
1612 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java | |
1613 | (processMouseEvent): Likewise. | |
1614 | ||
1615 | 2004-07-21 Olga Rodimina <rodimina@redhat.com> | |
1616 | ||
1617 | * javax/swing/AbstractButton.java: | |
1618 | (init): Set display mnemonic index to -1. | |
1619 | (setMnemonic(char)): Use setMnemonic(int). | |
1620 | (setMnemonic(int)): Set display mnemonic index. | |
1621 | (getDisplayedMnemonicIndex): Change method signature | |
1622 | by removing 'index' parameter. | |
1623 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
1624 | Added default for Menu.selectionBackground. | |
1625 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
1626 | (paintMenuItem): Change background color of the selected | |
1627 | menu item. | |
1628 | (paintText): Paint differently when menu item is disabled. | |
1629 | Also paint mnemonic if it appears in the menu item's label. | |
1630 | (paintAccelerator): Paint accelerator differently | |
1631 | if menu item is disabled. | |
1632 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
1633 | (installDefaults): Install defaults for | |
1634 | selectionForeground and selectionBackground. | |
1635 | (uninstallDefaults): Uninstall defauls for | |
1636 | selectionForeground and selectionBackground. | |
1637 | ||
1638 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1639 | ||
1640 | * javax/swing/text/AbstractDocument.java | |
1641 | (BranchElement): Implemented. | |
1642 | (LeafElement): Implemented. | |
1643 | * javax/swing/text/DefaultCaret.java: | |
1644 | Import used classes. | |
1645 | (serialVersionUID): New constant. | |
1646 | * javax/swing/text/JTextComponent.java | |
1647 | (AccessibleJTextComponent): Removed dead declaration. | |
1648 | (caretPos): Removed. | |
1649 | (setCaret): New method. | |
1650 | * javax/swing/text/PlainDocument.java | |
1651 | (rootElement): New field. | |
1652 | (PlainDocument): Initialize rootElement. | |
1653 | (createDefaultRoot): New method. | |
1654 | (getDefaultRootElement): Implemented. | |
1655 | * javax/swing/text/View.java: Reformatted. | |
1656 | * javax/swing/text/ViewFactory.java | |
1657 | (create): Added javadoc. | |
1658 | ||
1659 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1660 | ||
1661 | * javax/swing/ToolTipManager.java: Reformatted. | |
1662 | ||
1663 | 2004-07-21 Rodimina Olga <rodimina@redhat.com> | |
1664 | ||
1665 | * javax/swing/AbstractButton.java | |
1666 | (changeEvent): New field. | |
1667 | (fireItemStateChanged): Change source of the event | |
1668 | to 'this' before firing it to button listeners. | |
1669 | (fireActionPerformed): Likewise. | |
1670 | (fireStateChanged): Likewise. | |
1671 | (createActionListener): Do not set source | |
1672 | of the event to AbstractButton. | |
1673 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
1674 | (ContainerHandler.componentAdded): Removed | |
1675 | print out statement. | |
1676 | (ContainerHandler.componentRemoved): Likewise. | |
1677 | ||
1678 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1679 | ||
1680 | * javax/swing/text/Highlighter.java: New file. | |
1681 | * Makefile.am: Added javax/swing/text/Highlighter.java. | |
1682 | * Makefile.in: Regenerated. | |
1683 | ||
1684 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1685 | ||
1686 | * javax/swing/ToolTipManager.java | |
1687 | (stillInsideTimerAction): Fixed constructor arguments. | |
1688 | (outsideTimerAction): Likewise. | |
1689 | (insideTimerAction): Likewise. | |
1690 | ||
1691 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1692 | ||
1693 | * javax/swing/JButton.java: Reformatted. | |
1694 | * javax/swing/JFormattedTextField.java | |
1695 | (getUIClassID): Implemented. | |
1696 | * javax/swing/JRootPane.java | |
1697 | (serialVersionUID): New constant. | |
1698 | * javax/swing/JTextField.java | |
1699 | (align): New field. | |
1700 | (JTextField): Simplified. | |
1701 | (getUIClassID): New method. | |
1702 | (getActionListeners): Added @since tag. | |
1703 | (setColumns): Invalidate layout and repaint. | |
1704 | (getHorizontalAlignment): New method. | |
1705 | (setHorizontalAlignment): New method. | |
1706 | (selectAll): Removed. | |
1707 | * javax/swing/SwingUtilities.java | |
1708 | (getAncestorOfClass): Removed redundant @see tag. | |
1709 | (isLeftMouseButton): Fixed implementation. | |
1710 | (isMiddleMouseButton): Likewise. | |
1711 | (isRightMouseButton): Likewise. | |
1712 | * javax/swing/text/AbstractDocument.java | |
1713 | (AttributeContext.addAttribute): New method. | |
1714 | (AttributeContext.addAttributes): New method. | |
1715 | (AttributeContext.getEmptySet): New method. | |
1716 | (AttributeContext.reclaim): New method. | |
1717 | (AttributeContext.removeAttribute): New method. | |
1718 | (AttributeContext.removeAttributes): New method. | |
1719 | * javax/swing/text/Document.java | |
1720 | (createPosition): Throws BadLocationException. | |
1721 | (getText): Likewise. | |
1722 | (remove): Likewise. | |
1723 | * javax/swing/text/JTextComponent.java | |
1724 | (getText): Return null if no document is set. Catch | |
1725 | BadLocationException. | |
1726 | (getUI): Return ui. | |
1727 | (updateUI): Simplified. | |
1728 | ||
1729 | 2004-07-21 Michael Koch <konqueror@gmx.de> | |
1730 | ||
1731 | * javax/swing/JButton.java | |
1732 | (removeNotify): Fixed javadoc. | |
1733 | (updateUI): Simplified. | |
1734 | ||
1735 | 2004-07-21 David Jee <djee@redhat.com> | |
1736 | ||
1737 | * gnu/java/awt/image/ImageDecoder.java | |
1738 | (startProduction): Only add consumer if it's not added yet. | |
1739 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
1740 | (GdkPixbufDecoder): Don't call initState() here. | |
1741 | (produce): Call initState() here, to ensure area_prepared and | |
1742 | area_updated signals are properly connected. | |
1743 | * gnu/java/awt/peer/gtk/GtkImage.java | |
1744 | (setColorModel): Use equals() to compare ColorModel objects. | |
1745 | (setPixels): Likewise. | |
1746 | * java/awt/image/ColorModel.java | |
1747 | (equals): Fix typo. Use Arrays.equals() to compare int arrays. | |
1748 | * java/awt/image/RGBImageFilter.java | |
1749 | (setColorModel): Set consumer's color model. | |
1750 | (setPixels): Use equals() to compare ColorModel objects. | |
1751 | ||
eecbcf54 BM |
1752 | 2004-07-21 Bryce McKinlay <mckinlay@redhat.com> |
1753 | ||
1754 | * java/net/URLConnection.java (position): New field. | |
1755 | (dateFormat1, dateFormat2, dateFormat3): Removed. | |
1756 | (dateFormats): New field. | |
1757 | (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition | |
1758 | each time instead of re-allocating. | |
1759 | (initializeDateFormats): Initialize 'dateFormats'. | |
1760 | ||
f82bb1be BM |
1761 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
1762 | ||
1763 | PR libgcj/16591 | |
1764 | * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS | |
1765 | is defined. | |
1766 | ||
f6bbce40 BM |
1767 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
1768 | ||
1769 | * java/net/Socket.java (getImpl): Now private. Remove comment. | |
1770 | ||
8246c778 BM |
1771 | 2004-07-20 Bryce McKinlay <mckinlay@redhat.com> |
1772 | ||
1773 | * java/io/BufferedWriter.java (BufferedWriter): Use existing lock | |
1774 | of chained Writer when calling super-constructor. | |
1775 | * java/io/FilterWriter.java (FilterWriter): Likewise. | |
1776 | * java/io/PrintWriter.java (PrintWriter): Likewise. | |
1777 | ||
b4ffdef7 BM |
1778 | 2004-07-19 Bryce McKinlay <mckinlay@redhat.com> |
1779 | ||
1780 | * prims.cc (process_gcj_properties): Don't increment i within LHS | |
1781 | of assignment. | |
1782 | ||
963ddbd5 PB |
1783 | 2004-07-19 Per Bothner <per@bothner.com> |
1784 | ||
1785 | Print -verbose:message on "loading", not initialization. | |
1786 | * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order. | |
1787 | * defineclass.cc (_Jv_ClassReader::parse): Print message if | |
1788 | gcj::verbose_class_flag. | |
1789 | * java/lang/natClass.cc (initializeClass): Don't print message here. | |
1790 | * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was | |
1791 | _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message. | |
1792 | (_Jv_PrepareCompiledClass): Likewise. | |
1793 | ||
60557047 MK |
1794 | 2004-07-18 Matthias Klose <doko@debian.org> |
1795 | ||
1796 | * configure.in: Substitute target_noncanonical. | |
1797 | * configure: Regenerate | |
1798 | ||
1792f52d MK |
1799 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1800 | ||
1801 | * java/lang/String.java: Fixed javadocs all over. | |
1802 | ||
baa61e09 MK |
1803 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
1804 | ||
1805 | * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate | |
1806 | when size is smaller. | |
1807 | * java/io/RandomAccessFile.java (setLength): Use truncate for | |
1808 | shrinking the file and seek plus write for expanding the file. | |
1809 | ||
1810 | 2004-07-17 Michael Koch <konqueror@gmx.de> | |
1811 | ||
1812 | * gnu/java/nio/channels/natFileChannelPosix.cc | |
1813 | (implTruncate): Always save current position. Only reposition file | |
1814 | pointer to where we started if not beyond new lenght. Reposition file | |
1815 | pointer to file length if it points beyond the end of file. | |
1816 | ||
6fd3cc05 MW |
1817 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
1818 | ||
1819 | * javax/swing/Box.java: Put FIXME comment above class declaration. | |
1820 | * javax/swing/JButton.java: Remove illegal L&F HTML from comments. | |
1821 | * javax/swing/JCheckBox.java: Likewise. | |
1822 | * javax/swing/JDialog.java: Likewise. | |
1823 | * javax/swing/JRadioButton.java: Likewise. | |
1824 | * javax/swing/JToggleButton.java: Likewise. | |
1825 | * javax/swing/UIManager.java: Likewise. | |
1826 | * javax/swing/border/TitledBorder.java: Likewise. | |
1827 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
1828 | * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise. | |
1829 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise. | |
1830 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
1831 | * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise. | |
1832 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
1833 | * javax/swing/text/JTextComponent.java: Likewise. | |
1834 | ||
320e32f6 MK |
1835 | 2004-07-17 Jeroen Frijters <jeroen@frijters.net> |
1836 | ||
1837 | * java/net/DatagramPacket.java (setAddress): Removed check for | |
1838 | null address. | |
1839 | ||
1840 | 2004-07-17 Michael Koch <konqueror@gmx.de> | |
1841 | ||
1842 | * java/net/DatagramSocket.java | |
1843 | (getLocalAddress): Check if socket is bound or not. | |
1844 | * java/net/Socket.java | |
1845 | (getLocalAddrss): Check if socket is bound or not. | |
1846 | (getPort): Return -1 when not connected. Dont check getImpl() for | |
1847 | null. | |
1848 | (setReuseAddress): Check if socket is closed. | |
1849 | (isConnected): Check if getImpl() returns null. | |
1850 | ||
10c383a4 MW |
1851 | 2004-07-17 Mark Wielaard <mark@klomp.org> |
1852 | ||
1853 | * java/awt/event/InvocationEvent.java (dispatch): Synchronize | |
1854 | on notifier object before calling notifyAll(). | |
1855 | ||
2ccc5a95 MK |
1856 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1857 | ||
1858 | * gnu/java/nio/channels/FileChannelImpl.java | |
1859 | (finalize): Added javadoc. | |
1860 | ||
61ce29b1 GL |
1861 | 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org> |
1862 | ||
1863 | * java/text/CollationElementIterator.java | |
1864 | (text_decomposition): Changed type to RuleBasedCollator.CollationElement[] | |
1865 | (setText): Use ArrayList instead of Vector. | |
1866 | ||
651ba822 MK |
1867 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1868 | ||
1869 | * java/nio/ByteOrder.java | |
1870 | (static): Removed. Not needed. | |
1871 | Thanks to Patrick Reali for noticing. | |
1872 | * java/nio/charset/CharsetDecoder.java | |
1873 | (decode): Fix for classpath bug #9177: Reset state before flipping. | |
1874 | ||
e3fe5b9c MK |
1875 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1876 | ||
1877 | * java/security/Security.java: Fixed javadocs all over. | |
1878 | ||
316a1df4 MK |
1879 | 2004-07-17 Michael Koch <konqueror@gmx.de> |
1880 | ||
1881 | * gnu/java/awt/EmbeddedWindow.java | |
1882 | (static): Removed. | |
1883 | (addNotify): Set peer via reflection. | |
1884 | (setWindowPeer): Removed. | |
1885 | * gnu/java/awt/natEmbeddedWindow.cc: Removed. | |
1886 | * Makefile.am (nat_source_files): | |
1887 | Removed gnu/java/awt/natEmbeddedWindow.cc. | |
1888 | * Makefile.in: Regenerated. | |
1889 | ||
c0f43fa7 RE |
1890 | 2004-07-17 Richard Earnshaw <rearnsha@arm.com> |
1891 | ||
1892 | * configure.in(ZIP, GCJH): Remove white space around '=' in variable | |
1893 | assignment. | |
1894 | * configure: Regenerated. | |
1895 | ||
4c86f325 NN |
1896 | 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org> |
1897 | ||
b764adea NN |
1898 | * configure.in: Use build_noncanonical rather than build_alias. |
1899 | * configure: Rebuild. | |
1900 | ||
f11d297f NN |
1901 | * configure.in: Eliminate CANADIAN and NULL_TARGET variables |
1902 | by logic refactoring. Move default definition of NATIVE closer | |
1903 | to first alternate definition. | |
1904 | * configure: Regenerate. | |
1905 | ||
4c86f325 NN |
1906 | * Makefile.am: Set ZIP and GCJH directly using autoconf. |
1907 | * Makefile.in, include/Makefile.in, testsuite/Makefile.in, | |
1908 | gcj/Makefile.in: Regenerate. | |
1909 | * configure.in: Set ZIP and GCJH. Remove redundant condition | |
1910 | in AM_CONDITIONAL(NATIVE,...) | |
1911 | * configure: Regenerate. | |
1912 | ||
bc03b358 NN |
1913 | 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org> |
1914 | ||
ed2e3d33 NN |
1915 | * configure.in: Use target_noncanonical rather than |
1916 | target_alias for forward-compatibility with autoconf 2.59. | |
1917 | * configure: Regenerate. | |
1918 | * Makefile.am, gcj/Makefile.am, include/Makefile.am, | |
1919 | testsuite/Makefile.am: Substitute target_noncanonical. | |
1920 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
1921 | testsuite/Makefile.in: Regenerate. | |
1922 | ||
bc03b358 NN |
1923 | * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM. |
1924 | Introduce _GCC_TOPLEV_NONCANONICAL_TARGET. | |
1925 | * acinclude.m4: Include acx.m4. | |
1926 | * aclocal.m4: Regenerate. | |
1927 | * configure: Regenerate. | |
1928 | ||
cbd7a79b BM |
1929 | 2004-07-15 Bryce McKinlay <mckinlay@redhat.com> |
1930 | ||
1931 | PR libgcj/16574 | |
1932 | * java/sql/Timestamp.java (dateFormat): Renamed from sdf. | |
1933 | (decimalFormat): New static variable. | |
1934 | (sbuf): Likewise. | |
1935 | (getTime): New. Override Date.getTime(). | |
1936 | (toString): Synchronize. Use decimalFormat to format nanos value | |
1937 | correctly. Truncate extra zeros. | |
1938 | (before): Compare getNanos() only if getTime() is equal. | |
1939 | (after): Likewise. | |
1940 | ||
b2281cb3 NN |
1941 | 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org> |
1942 | ||
36609570 NN |
1943 | * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into... |
1944 | * configure.in: ...here. | |
1945 | * aclocal.m4: Regenerate. | |
1946 | * configure: Regenerate. | |
1947 | ||
b2281cb3 NN |
1948 | * aclocal.m4: Rebuilt with aclocal gcj-1.4. |
1949 | * configure: Rebuilt with autoconf 2.13. | |
1950 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
1951 | testsuite/Makefile.in: Rebuilt with automake gcj-1.4. | |
1952 | ||
b845ed9f BM |
1953 | 2004-07-14 Bryce McKinlay <mckinlay@redhat.com> |
1954 | ||
1955 | PR libgcj/16204 | |
1956 | * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable | |
1957 | large file support. | |
1958 | * Makefile.in: Rebuilt. | |
1959 | * testsuite/libjava.lang/LargeFile.java: New test case. | |
1960 | * testsuite/libjava.lang/LargeFile.out: New file. | |
1961 | ||
ade1907d JQ |
1962 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
1963 | ||
1964 | * java/beans/EventHandler.java: Remove debugging statements. | |
1965 | ||
12e8e7ea JQ |
1966 | 2004-07-14 Jerry Quinn <jlquinn@optonline.net> |
1967 | ||
1968 | * java/beans/EventHandler.java: New file. | |
1969 | * Makefile.am (awt_java_source_files): Add EventHandler.java. | |
1970 | * Makefile.in, gcj/Makefile.in, include/Makefile.in, | |
1971 | testsuite/Makefile.in: Regenerate. | |
1972 | ||
7cb73054 AT |
1973 | 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch> |
1974 | ||
1975 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation | |
1976 | flag to the gcj_setup. | |
1977 | (gcj_jacks_run): Check tclsh version and launch jacks directly with | |
1978 | the tclsh. | |
1979 | * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the | |
1980 | deprecation flag change. 58 XFAILS removed. | |
1981 | ||
220a826e UW |
1982 | 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com> |
1983 | ||
1984 | * configure.host (DIVIDESPEC) [s390*-*-*]: Set to | |
1985 | -fno-use-divide-subroutine. | |
1986 | * include/s390-signal.h: Include <ucontext.h> and <limits.h>. | |
1987 | (HANDLE_FPE): Define. | |
1988 | (SIGNAL_HANDLER): Change third argument to ucontext_t *. | |
1989 | (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. | |
1990 | (HANDLE_DIVIDE_OVERFLOW): Define. | |
1991 | ||
c1b4f64d MK |
1992 | 2004-07-14 Michael Koch <konqueror@gmx.de> |
1993 | Matthias Klose <doko@debian.org> | |
1994 | ||
12e8e7ea | 1995 | * java/awt/im/InputContext.java: Initialize in, line. |
c1b4f64d | 1996 | |
5549179f UW |
1997 | 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com> |
1998 | ||
1999 | * interpret.cc (run): Correctly access libffi return values of | |
2000 | integral smaller-than-int type; these are implicitly promoted. | |
2001 | ||
6187fd28 BM |
2002 | 2004-07-13 Bryce McKinlay <mckinlay@redhat.com> |
2003 | ||
2004 | PR libgcj/7587 | |
2005 | * interpret.cc (compile_mutex): New. | |
2006 | (_Jv_InitInterpreter): New. Initialize compile_mutex. | |
2007 | (run): Lock compile_mutex before calling compile() if compilation is | |
2008 | required. | |
2009 | * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter(). | |
2010 | * include/java-interp.h (_Jv_InitInterpreter): Declare. | |
2011 | ||
7a1c3d48 BM |
2012 | 2004-07-12 Bryce McKinlay <mckinlay@redhat.com> |
2013 | ||
2014 | PR libgcj/15713 | |
2015 | * include/jvm.h (_Jv_value): New union type. | |
2016 | * gcj/field.h (_Jv_Field): Add new _addr union field variants | |
2017 | * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field | |
2018 | union members. | |
2019 | ||
717b2091 SG |
2020 | 2004-07-12 Scott Gilbertson <scottg@mantatest.com> |
2021 | ||
2022 | * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement. | |
2023 | * gnu/awt/xlib/XOffScreenImage.java | |
2024 | (XOffScreenImage): Add ImageConsumer interface. Add ColorModel | |
2025 | constructor argument. Add constructor using ImageProducer. | |
2026 | (getSource): Implement. | |
2027 | (imageComplete): New method. | |
2028 | (setColorModel): New method. | |
2029 | (setDimensions): New method. | |
2030 | (setHints): New method. | |
2031 | (setPixels): New method. | |
2032 | (setProperties): New method. | |
2033 | * gnu/gcj/xlib/GC.java (drawPoint): New native method. | |
2034 | * gnu/gcj/xlib/natGC.cc (drawPoint): New native method. | |
2035 | ||
31a7b755 BM |
2036 | 2004-07-11 Bryce McKinlay <mckinlay@redhat.com> |
2037 | ||
abd1b60d | 2038 | PR libgcj/16478 |
31a7b755 BM |
2039 | * prims.cc (_Jv_CreateJavaVM): Fix comment. |
2040 | * gnu/gcj/runtime/FinalizerThread.java (init): New. Native. | |
2041 | (finalizerReady): Now native. | |
2042 | (run): Likewise. | |
2043 | (runFinalizers): Removed. | |
2044 | * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use | |
2045 | a primitive lock, and don't hold it while running the finalizers. | |
2046 | (runFinalizers): Implement. Don't aquire any Java lock. | |
2047 | (finalizerReady): Use lock primitives to signal finalizer thread. | |
2048 | ||
eeb32988 MW |
2049 | 2004-07-11 Mark Wielaard <mark@klomp.org> |
2050 | ||
2051 | Reported by Roman Kennke <roman@ontographics.com> (bug #9331) | |
2052 | * java/net/URLStreamHandler.java (parseURL): When url file part | |
2053 | doesn't contain a '/' just ignore context. | |
2054 | ||
bbb362e6 UW |
2055 | 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com> |
2056 | ||
2057 | * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype. | |
2058 | (struct old_s390_kernel_sigaction): Likewise for k_sa_handler. | |
2059 | (MAKE_THROW_FRAME): Do not modify PSW address. | |
2060 | (INIT_SEGV): Install SIGINFO-style signal handler. | |
2061 | (INIT_FPE): Likewise. | |
2062 | ||
33dc5b0b BM |
2063 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
2064 | ||
2065 | * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current | |
2066 | status. 21 xfail's removed, 1 added. | |
2067 | ||
a4548f27 BM |
2068 | 2004-07-10 Bryce McKinlay <mckinlay@redhat.com> |
2069 | ||
2070 | * gcj/javaprims.h: Regenerate CNI namespace definitions. | |
2071 | ||
8f0ce8da IK |
2072 | 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org> |
2073 | ||
2074 | * java/text/MessageFormat.java | |
2075 | (formatInternal): Append "{n}" if argument n is unavailable. | |
2076 | (format(Object, StringBuffer, FieldPosition)): This | |
2077 | should be equivalent to format(Object[], | |
2078 | StringBuffer, FieldPosition). | |
2079 | ||
3ee7acd1 BM |
2080 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
2081 | ||
2082 | * java.util.Calendar.java (cache): New private static field. Cached | |
2083 | mappings of locales->calendar classes. | |
2084 | (ctorArgTypes): New private static field. Singleton argument for | |
2085 | calendar class constructor lookup. | |
2086 | (getInstance): Cache Locale->Calendar class mappings using HashMap. | |
2087 | Optimize by bypassing reflection instantiation for the | |
2088 | GregorianCalendar case. | |
2089 | ||
284d6a1f BM |
2090 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
2091 | ||
2092 | * java/util/Calendar.java: Use getSystemClassLoader as argument for | |
2093 | ResourceBundle.getBundle() calls. | |
2094 | * java/util/GregorianCalendar.java: Likewise. | |
2095 | * java/util/Currency.java: Likewise. | |
2096 | * java/text/BreakIterator.java: Likewise. | |
2097 | * java/text/Collator.java: Likewise. | |
2098 | * java/text/DateFormat.java: Likewise. | |
2099 | * java/text/DateFormatSymbols.java: Likewise. | |
2100 | * java/text/DecimalFormatSymbols.java: Likewise. | |
2101 | * java/text/NumberFormat.java: Likewise. | |
2102 | * java/awt/Window.java: Likewise. | |
2103 | ||
21f56031 BM |
2104 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
2105 | ||
2106 | * java/util/ResourceBundle.java (bundleCache): Renamed from | |
2107 | resourceBundleCache. Update comments. | |
2108 | (getObject): Don't catch MissingResourceException. | |
2109 | (getBundle(String)): Remove 'final'. Use system classloader if | |
2110 | getCallingClassLoader returned null. | |
2111 | (getBundle(String, Locale)): Likewise. | |
2112 | (BundleKey): New private class. HashMap key for bundle cache lookup. | |
2113 | (lookupKey): New. Singleton instance of BundleKey. | |
2114 | (nullEntry): New. Cache entry to represent failed lookups. | |
2115 | (getBundle(String, Locale, ClassLoader)): Re-written to use new | |
2116 | caching strategy, no-allocation lookup, and new tryBundle methods. | |
2117 | (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle | |
2118 | name using given classloader. | |
2119 | (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify | |
2120 | baseName for given Locale and attempt to load bundle. | |
2121 | ||
42c00752 BM |
2122 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
2123 | ||
2124 | * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove | |
2125 | illegal protected method calls. | |
2126 | ||
6e342fc1 BM |
2127 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
2128 | ||
2129 | Fix or remove some bogus test cases. | |
2130 | * testsuite/libjava.compile/pr10459_2.java: Removed. | |
2131 | * testsuite/libjava.compile/pr10459.java: Test using its own method, | |
2132 | not Object.clone(). | |
2133 | * testsuite/libjava.compile/inner_data.java: Test against its own | |
2134 | protected field. | |
2135 | ||
1f33f6b4 MK |
2136 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
2137 | ||
2138 | * scripts/unicode-muncher.pl: Updated to version 2.1 | |
2139 | from GNU classpath. Added some clarifications on where to find the | |
2140 | needed files from www.unicode.org. | |
2141 | * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html, | |
2142 | gnu/gcj/convert/UnicodeData-3.0.0.txt: | |
2143 | Removed, these can directly be downloaded from www.unicode.org if | |
2144 | needed. | |
2145 | * gnu/java/lang/CharData.java: Regenerated. | |
2146 | * include/java-chartables.h: Regenerated. | |
2147 | * Makefile.am (ordinary_java_source_files): | |
2148 | Removed gnu/java/lang/CharData.java. | |
2149 | * Makefile.in: Regenerated. | |
2150 | ||
771aacd3 MK |
2151 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
2152 | ||
2153 | * java/security/AccessControlContext.java, | |
2154 | java/security/SecureClassLoader.java: | |
2155 | Fixed javadocs. | |
2156 | ||
3d5f053c MK |
2157 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
2158 | ||
2159 | * java/io/ObjectInputStream.java (readFields): Use long datatype | |
2160 | when shifting byte values more then 24 bits left. | |
2161 | ||
d642571f MK |
2162 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
2163 | ||
2164 | * java/util/zip/DeflaterOutputStream.java, | |
2165 | java/util/zip/GZIPInputStream.java, | |
2166 | java/util/zip/GZIPOutputStream.java, | |
2167 | java/util/zip/InflaterInputStream.java: | |
2168 | Reformatted. Added javadocs. Reordered all stuff. | |
2169 | Renamed variables to be more clear. | |
2170 | ||
3042e24b MK |
2171 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
2172 | ||
2173 | * javax/imageio/IIOException.java, | |
2174 | javax/imageio/event/IIOReadProgressListener.java, | |
2175 | javax/imageio/event/IIOReadUpdateListener.java, | |
2176 | javax/imageio/event/IIOReadWarningListener.java, | |
2177 | javax/imageio/event/IIOWriteProgressListener.java, | |
2178 | javax/imageio/event/IIOWriteWarningListener.java: | |
2179 | New files. | |
2180 | * Makefile.am: Added new files. | |
2181 | * Makefile.in: Regenerated. | |
2182 | ||
4a738a82 GL |
2183 | 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org> |
2184 | ||
2185 | * java/text/RuleBasedCollator.java | |
2186 | (mergeRules): Use ArrayList instead of Vector. | |
2187 | (subParseString): likewise. | |
2188 | (parseString): likewise. | |
2189 | (buildCollationVector): likewise. | |
2190 | (getCollationKey): likewise. | |
2191 | ||
28e0ee76 DT |
2192 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
2193 | ||
2194 | * java/text/DateFormat.java (parse): | |
2195 | Improved javadoc. Improved exception message. | |
2196 | ||
2e54a860 MW |
2197 | 2004-07-09 Mark Wielaard <mark@klomp.org> |
2198 | ||
2199 | * gnu/java/nio/SelectorImpl.java (select): Call static Thread | |
2200 | interrupted() method to clear interupt flag of our Thread. | |
2201 | ||
23c41c08 DT |
2202 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
2203 | ||
2204 | * java/nio/Buffer.java, | |
2205 | java/nio/ByteBuffer.java, | |
2206 | java/nio/ByteBufferHelper.java, | |
2207 | java/nio/ByteBufferImpl.java, | |
2208 | java/nio/CharBuffer.java, | |
2209 | java/nio/CharBufferImpl.java, | |
2210 | java/nio/CharViewBufferImpl.java, | |
2211 | java/nio/DirectByteBufferImpl.java, | |
2212 | java/nio/DoubleBuffer.java, | |
2213 | java/nio/DoubleBufferImpl.java, | |
2214 | java/nio/DoubleViewBufferImpl.java, | |
2215 | java/nio/FloatBuffer.java, | |
2216 | java/nio/FloatBufferImpl.java, | |
2217 | java/nio/FloatViewBufferImpl.java, | |
2218 | java/nio/IntBuffer.java, | |
2219 | java/nio/IntBufferImpl.java, | |
2220 | java/nio/IntViewBufferImpl.java, | |
2221 | java/nio/LongBuffer.java, | |
2222 | java/nio/LongBufferImpl.java, | |
2223 | java/nio/LongViewBufferImpl.java, | |
2224 | java/nio/MappedByteBufferImpl.java, | |
2225 | java/nio/ShortBuffer.java, | |
2226 | java/nio/ShortBufferImpl.java, | |
2227 | java/nio/ShortViewBufferImpl.java: | |
2228 | Fixed javadocs all over. Improved input error | |
2229 | checking. | |
2230 | ||
2231 | * java/nio/Buffer.java | |
2232 | (checkForUnderflow, checkForOverflow, checkIndex, | |
2233 | checkIfReadOnly, checkArraySize): New helper methods | |
2234 | for error checking. | |
2235 | ||
2236 | * java/nio/ByteBufferHelper.java | |
2237 | (checkRemainingForRead, checkRemainingForWrite, | |
2238 | checkAvailableForRead, checkAvailableForWrite): Removed | |
2239 | no longer needed methods. | |
2240 | ||
e484d7d5 MK |
2241 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
2242 | ||
2243 | * gnu/regexp/CharIndexedInputStream.java: | |
2244 | Reordered imports to match classpath. | |
2245 | ||
3e518ab0 MK |
2246 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
2247 | ||
2248 | * gnu/java/awt/EmbeddedWindow.java: | |
2249 | Load native library for setWindowPeer method. | |
2250 | ||
8c5ac2c4 RC |
2251 | 2004-07-08 Randolph Chung <tausq@debian.org> |
2252 | ||
2253 | * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa. | |
2254 | * configure: Regenerate. | |
2255 | * configure.host: Set can_unwind_signal for hppa*-linux. | |
2256 | * include/pa-signal.h: New file. | |
2257 | ||
0bd24153 PB |
2258 | 2004-07-07 Per Bothner <per@bothner.com> |
2259 | ||
fedf5454 PB |
2260 | * Makefile.am: Add rules to build libgij from just gij.cc. |
2261 | ||
0bd24153 PB |
2262 | * include/jvm.h (namespace jcj): Declare verbose_class_flag |
2263 | * java/lang/natClass.cc (gcj::verbose_class_flag): New variable. | |
2264 | (initializeClass): If verbose_class_flag, print message. | |
2265 | * gij.cc (main): Handle -verbose:class flag. | |
2266 | ||
0e497b6c AT |
2267 | 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch> |
2268 | ||
2269 | * configure.host: Enable hash synchronization on Darwin. | |
2270 | * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of | |
2271 | ';', since this is a comment on Darwin. | |
2272 | (compare_and_swap_release): Likewise. | |
2273 | ||
c09bade6 ME |
2274 | 2004-07-06 Mohan Embar <gnustuff@thisiscool.com> |
2275 | ||
2276 | * java/net/URLStreamHandler.java (parseURL): Canonicalize | |
2277 | file portion of URL in addition to spec for file: protocol. | |
2278 | ||
23f99379 | 2279 | 2004-07-05 Anthony Green <green@redhat.com> |
0e497b6c | 2280 | |
23f99379 AG |
2281 | * java/io/File.java (toURI): Merge from Classpath. |
2282 | ||
a1433c46 BM |
2283 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
2284 | ||
2285 | * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry | |
2286 | before passing to URL constructor. Rethrow any MalformedURLException | |
2287 | as a RuntimeException. Catch MalformedURLException specifically, not | |
2288 | all exceptions. | |
0e497b6c | 2289 | |
a86f0372 BM |
2290 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
2291 | ||
2292 | * java/util/Locale.java (readObject): Intern strings read from object | |
2293 | stream. | |
2294 | ||
74fa958e MK |
2295 | 2004-07-04 Michael Koch <konqueror@gmx.de> |
2296 | ||
2297 | * gnu/gcj/runtime/FirstThread.java, | |
2298 | gnu/gcj/runtime/natFirstThread.cc: Removed. | |
2299 | * gnu/java/lang/MainThread.java, | |
2300 | gnu/java/lang/natMainThread.cc: New files. | |
2301 | * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread. | |
2302 | * Makefile.am: Added new files and removed deleted ones. | |
2303 | * Makefile.in: Regenerated. | |
2304 | ||
94fbf267 | 2305 | 2004-07-03 Mark Wielaard <mark@klomp.org> |
0e497b6c | 2306 | Anthony Green <green@redhat.com> |
94fbf267 AG |
2307 | |
2308 | * java/net/URL.java (getFile): Clarify return value doc. | |
2309 | (getPath): Return null if file is empty - not empty String. | |
2310 | (set): Convert protocol to lower case before doing anything. | |
2311 | Only change the protocol handler if it's different. | |
2312 | ||
2313 | 2004-07-03 Anthony Green <green@redhat.com> | |
2314 | ||
2315 | * java/net/URL.java (URL): Convert protocol to lower case before | |
2316 | doing anything, so we getURLStreamHandler() with the proper value. | |
2317 | ||
b5349c07 BM |
2318 | 2004-07-02 Bryce McKinlay <mckinlay@redhat.com> |
2319 | ||
2320 | * java/util/Locale.java (hashcode): Made transient. | |
2321 | (hashCode): No longer synchronized. | |
2322 | (equals): Remove comment. | |
2323 | (writeObject): No longer synchronized. Implement using writeObject | |
2324 | calls instead of tweaking hashCode field. Update doc. | |
2325 | (readObject): Implement using readObject calls. | |
2326 | ||
f8a57be8 GK |
2327 | 2004-06-26 Geoffrey Keating <geoffk@apple.com> |
2328 | Andreas Tobler <a.tobler@schweiz.ch> | |
2329 | ||
2330 | * configure.host (powerpc-*-darwin*): New case, define | |
2331 | can_unwind_signal. | |
2332 | * configure.in (*-*-darwin*): New case, point to darwin-signal.h. | |
2333 | * configure: Regenerate. | |
2334 | * include/darwin-signal.h: New. | |
2335 | ||
dcfbe7c7 JQ |
2336 | 2004-06-30 Jerry Quinn <jlquinn@optonline.net> |
2337 | ||
2338 | * java/beans/Statement.java (doExecute): Fix formatting. | |
2339 | ||
8319dc87 PB |
2340 | 2004-06-29 Per Bothner <per@bothner.com> |
2341 | ||
2342 | * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef, | |
2343 | etc etc): Remove needless parenthesis, which causes __stdcall__ | |
2344 | attribute on MinGW to get ignored. | |
2345 | ||
b4bbd47e BM |
2346 | 2004-06-29 Bryce McKinlay <mckinlay@redhat.com> |
2347 | ||
2348 | * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249. | |
2349 | ||
b5493719 BM |
2350 | 2004-06-28 Bryce McKinlay <mckinlay@redhat.com> |
2351 | ||
b4bbd47e | 2352 | * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6. |
b5493719 | 2353 | |
7b63e340 JQ |
2354 | 2004-06-28 Jerry Quinn <jlquinn@optonline.net> |
2355 | ||
2356 | * java/beans/Expression.java: New file. | |
2357 | * java/beans/Statement.java: New file. | |
2358 | * Makefile.am: Added new files. | |
2359 | * Makefile.in: Re-generate. | |
2360 | ||
01036503 MW |
2361 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
2362 | ||
2363 | * java/io/FilePermission.java (usingPerms): Removed. | |
2364 | (actionsString): Made final. | |
2365 | (cachePerms): Renamed to checkPerms. | |
2366 | (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase() | |
2367 | on action String. | |
2368 | (FilePermission): Check arguments, call checkPerms(). | |
2369 | (equals): Remove cachePerms() call. | |
2370 | (implies): Likewise. | |
2371 | ||
ce6230c4 MW |
2372 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
2373 | ||
2374 | * gnu/java/net/protocol/http/Connection.java (userAgent): New static | |
2375 | final field. | |
2376 | (sendRequest): Use new field in user-agent http agent. | |
2377 | ||
66a74d2a MW |
2378 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
2379 | ||
2380 | * java/awt/EventQueue.java (postEvent): Throw NullPointerException | |
2381 | when argument is null. | |
2382 | ||
2383 | 2004-06-26 Mark Wielaard <mark@klomp.org> | |
2384 | ||
2385 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
2386 | (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI | |
2387 | GetMethodID call. | |
2388 | (cancel_clicked): Likewise. | |
2389 | ||
d168da74 AT |
2390 | 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch> |
2391 | ||
2392 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
2393 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi | |
2394 | can not calculate the right value. | |
2395 | (dpi_changed_cb): Likewise. Mark *pspec as unused. | |
2396 | ||
cc21f43e BM |
2397 | 2004-06-24 Bryce McKinlay <mckinlay@redhat.com> |
2398 | ||
2399 | * testsuite/libjava.jacks/jacks.xfail: Remove | |
2400 | 15.9.1-qualified-concrete-20. | |
2401 | ||
eb8163ab BM |
2402 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
2403 | ||
2404 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original | |
2405 | encoding name to iconv. | |
2406 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
2407 | ||
f50aa505 BM |
2408 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
2409 | ||
2410 | PR libgcj/16134: | |
e9cb3dac BM |
2411 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize |
2412 | encoding name before cache lookup. Thanks to Hannes Wallnoefer. | |
2413 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
f50aa505 | 2414 | |
deb3d52f AH |
2415 | 2004-06-21 Andrew Haley <aph@redhat.com> |
2416 | ||
2417 | * java/io/ObjectOutputStream.java: Add DEBUG statements | |
2418 | everywhere. | |
2419 | (dumpElementln): New method. | |
2420 | (depth): New field. | |
2421 | * java/io/ObjectInputStream.java | |
2422 | (currentClassLoader): Make native. | |
2423 | (callersClassLoader): New field. | |
2424 | (depth): New field. | |
2425 | (readObject): ENDBLOCKDATA is generated if the class has a write | |
2426 | method, not if it has a read method. | |
2427 | (readObject): Save and restore this.currentObject and | |
2428 | this.currentObjectStreamClass around calls to callReadMethod(). | |
2429 | * java/io/natObjectInputStream.cc (getCallersClassLoader): New | |
2430 | method. | |
2431 | ||
cfc74dce AT |
2432 | 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch> |
2433 | ||
2434 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for | |
2435 | darwin. | |
2436 | ||
bd760894 RM |
2437 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
2438 | ||
2439 | * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers, | |
2440 | if desired, before the default class loader is initialised. | |
2441 | Call INIT_SEGV only if HANDLE_SEGV is defined. | |
2442 | ||
6ca77e6f RM |
2443 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
2444 | ||
2445 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions | |
2446 | directory only if it actually exists. | |
2447 | ||
67a69e82 GH |
2448 | 2004-06-18 Graydon Hoare <graydon@redhat.com> |
2449 | ||
2450 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
2451 | Fix up non-ansi comments. | |
2452 | ||
2453 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> | |
2454 | ||
2455 | * javax/swing/text/AbstractDocument.java: Adding missing import | |
2456 | for javax.swing.event.EventListenerList. | |
2457 | * javax/swing/text/DefaultCaret.java: Likewise. | |
2458 | ||
4dfcdad1 GH |
2459 | 2004-06-17 Michael Koch <konqueror@gmx.de> |
2460 | ||
2461 | * javax/swing/JToolBar.java | |
2462 | (name): Removed. | |
2463 | (JToolBar): Use Component.setName(String) instead of doing it all | |
2464 | alone. | |
2465 | * javax/swing/Timer.java | |
2466 | (queueEvent): Added missing modifier. | |
2467 | ||
2468 | 2004-06-17 Olga Rodimina <rodimina@redhat.coom> | |
2469 | ||
2470 | * Makefile.am: Added new file. | |
2471 | * Makefile.in: Re-generate. | |
2472 | * javax/swing/JMenu.java: | |
2473 | (insertSeparator): Implemented. | |
2474 | * javax/swing/JPopupMenu.java: | |
2475 | (JPopupMenu.Separator): Implemented. | |
2476 | * javax/swing/MenuSelectionManager.java: | |
2477 | (processMouseEvent): Use java.awt.Component | |
2478 | for event source instead of javax.swing.JComponent. | |
2479 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: | |
2480 | New File. Implemented. | |
2481 | ||
2482 | 2004-06-16 David Jee <djee@redhat.com> | |
2483 | ||
2484 | * java/awt/GridBagLayout.java | |
2485 | (GetLayoutInfo): Adjust cell sizes iff parent size is not zero. | |
2486 | Make sure pos_x and pos_y are never negative. | |
2487 | ||
2488 | 2004-04-16 Andrew Overholt <overholt@redhat.com> | |
2489 | ||
2490 | * Makefile.am: Add new file. | |
2491 | * Makefile.in: Re-generate. | |
2492 | * javax/swing/JToolBar.java | |
2493 | Partially implemented. | |
2494 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
2495 | New file. Partially implemented. | |
2496 | ||
2497 | 2004-06-16 Graydon Hoare <graydon@redhat.com> | |
2498 | ||
2499 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
2500 | (setComposite): Accept AlphaComposite arguments. | |
2501 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
2502 | (createBufferedImage): Add new overloads. | |
2503 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
2504 | (createImage): Use GdkPixbufDecoder.createBufferedImage | |
2505 | when useGraphics2D() is true. | |
2506 | (getImage): Delegate to createImage. | |
2507 | * javax/swing/JList.java | |
2508 | (isSelectionEmpty): | |
2509 | (getFirstVisibleIndex): | |
2510 | (getLastVisibleIndex): | |
2511 | (setSelectedValue): | |
2512 | (ensureIndexIsVisible): New methods. | |
2513 | * javax/swing/Timer.java: Reimplement. | |
2514 | ||
2515 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2516 | ||
2517 | * javax/swing/text/AbstractDocument.java | |
2518 | (AbstracElement): Made public, implements java.io.Serializable. | |
2519 | (AttributeContext): Made public. | |
2520 | (BranchElement): Likewise. | |
2521 | (Content): Likewise. | |
2522 | (DefaultDocumentEvent): Made public, extends | |
2523 | javax.swing.undo.CompoundEdit. | |
2524 | (ElementEdit): Made public, extends | |
2525 | javax.swing.undo.AbstractUndoableEdit. | |
2526 | (LeafElement): Made public. | |
2527 | (LeafElement.LeafElement): Made public. | |
2528 | ||
2529 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2530 | ||
2531 | * javax/swing/text/JTextComponent.java: Totally reworked. Removed many | |
2532 | methods (that were obviously never be intended to get included hi this | |
2533 | class. Added some methods too. | |
2534 | ||
2535 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2536 | ||
2537 | * javax/swing/text/PlainDocument.java | |
2538 | (serialVersionUID): New constant. | |
2539 | (lineLimitAttribute): Likewise. | |
2540 | (tabSizeAttribute): Likewise. | |
2541 | (tabSize): New field. | |
2542 | (PlainDocument): Made public. | |
2543 | (PlainDocument): New constructor. | |
2544 | ||
2545 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2546 | ||
2547 | * javax/swing/text/AbstractDocument.java | |
2548 | (insertString): Throws BadLocationException. | |
2549 | * javax/swing/text/Document.java | |
2550 | (insertString): Likewise. | |
2551 | * javax/swing/text/JTextComponent.java: | |
2552 | Javadocs and comments cleaned up. | |
2553 | ||
2554 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2555 | ||
2556 | * javax/swing/event/UndoableEditListener.java: Reformatted. | |
2557 | * javax/swing/text/AbstractDocument.java | |
2558 | (AbstractDocument): Implements java.io.Serializable. | |
2559 | (doc_list): Removed. | |
2560 | (undo_list): Removed. | |
2561 | (AbstractElement.serialVerionUID): New field. | |
2562 | (BranchElement.serialVerionUID): Likewise. | |
2563 | (DefaultDocumentEvent.serialVerionUID): Likewise. | |
2564 | (ElementEdit.serialVerionUID): Likewise. | |
2565 | (LeafElement.serialVerionUID): Likewise. | |
2566 | (serialVerionUID): Likewise. | |
2567 | (BAD_LOCATION): New constant. | |
2568 | (BidiElementName): Likewise. | |
2569 | (ContentElementName): Likewise. | |
2570 | (ParagraphElementName): Likewise. | |
2571 | (SectionElementName): Likewise. | |
2572 | (ElementNameAttribute): Likewise. | |
2573 | (AbstractDocument): Made protected. | |
2574 | (AbstractDocument): New construtor. | |
2575 | (listenerList): New field. | |
2576 | (fireChangedUpdate): Implemented. | |
2577 | (fireInsertUpdate): Likewise. | |
2578 | (fireRemoveUpdate): Likewise. | |
2579 | (fireUndoableEditUpdate): Likewise. | |
2580 | (getListeners): Likewise. | |
2581 | (addDocumentListener): Likewise. | |
2582 | (removeDocumentListener): Likewise. | |
2583 | (addUndoableEditListener): Likewise. | |
2584 | (removeUndoableEditListener): Likewise. | |
2585 | (getDocumentListeners): New method. | |
2586 | (getUndoableEditListeners): Likewise. | |
2587 | (getAsynchronousLoadPriority): Made public. | |
2588 | (getBidiRootElement): Likewise. | |
2589 | (setAsynchronousLoadPriority): Likewise. | |
2590 | (setDocumentProperties): Likewise. | |
2591 | * javax/swing/text/BadLocationException.java | |
2592 | (serialVerionUID): New field. | |
2593 | * javax/swing/text/DefaultCaret.java | |
2594 | (changeEvent): New field. | |
2595 | (listenerList): Likewise. | |
2596 | (changes): Removed. | |
2597 | (addChangeListener): Reimplemented. | |
2598 | (removeChangeListener): Likewise. | |
2599 | (getListeners): New method. | |
2600 | (getChangeListeners): Likwise. | |
2601 | (getComponent): Likewise. | |
2602 | * javax/swing/text/GapContent.java | |
2603 | (GapContent): Implements java.io.Serializable. | |
2604 | (serialVerionUID): New field. | |
2605 | ||
2606 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2607 | ||
2608 | * javax/swing/JTree.java | |
2609 | (treeModel): New field. | |
2610 | (JTree): New constructors, one existing one made public. | |
2611 | (createTreeModel): New method. | |
2612 | (addTreeExpansionListener): Likewise. | |
2613 | (removeTreeExpansionListener): Likewise. | |
2614 | (getTreeExpansionListeners): Likewise. | |
2615 | (fireTreeCollapsed): Likewise. | |
2616 | (fireTreeExpanded): Likewise. | |
2617 | (addTreeSelectionListener): Likewise. | |
2618 | (removeTreeSelectionListener): Likewise. | |
2619 | (getTreeSelectionListeners): Likewise. | |
2620 | (fireValueChanged): Likewise. | |
2621 | (addTreeWillExpandListener): Likewise. | |
2622 | (removeTreeWillExpandListener): Likewise. | |
2623 | (getTreeWillExpandListeners): Likewise. | |
2624 | (fireTreeWillCollapse): Likewise. | |
2625 | (fireTreeWillExpand): Likewise. | |
2626 | ||
2627 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2628 | ||
2629 | * javax/swing/JTree.java: Reformatted. | |
2630 | ||
2631 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
2632 | ||
2633 | * javax/swing/JTextArea.java: New file. | |
2634 | * javax/swing/JTextField.java | |
2635 | (actions): Removed. | |
2636 | (notifyAction): New constant. | |
2637 | (columns): New field. | |
2638 | (JTextField): New constructors. | |
2639 | (createDefaultModel): New method. | |
2640 | (addActionListener): Reimplmemented. | |
2641 | (removeActionListener): Reimplemented. | |
2642 | (getActionListeners): New method. | |
2643 | (fireActionPerformed): New method. | |
2644 | (getColumns): New method. | |
2645 | (setColumne): New method. | |
2646 | * javax/swing/text/JTextComponent.java | |
2647 | (AccessibleJTextComponent.serialVersionUID): New field. | |
2648 | (serialVersionUID): Likewise. | |
2649 | (DEFAULT_KEYMAP): Likewise. | |
2650 | (FOCUS_ACCELERATOR_KEY): Likewise. | |
2651 | (doc): Made private. | |
2652 | (icon_gap): Likewise. | |
2653 | (icon): Likewise. | |
2654 | (align): Likewise. | |
2655 | (JTextComponent): Some constructors removed. | |
2656 | (getScrollableTracksViewportHeight): New method. | |
2657 | (getScrollableTracksViewportWidth): Likewise. | |
2658 | * Makefile.am: Added javax/swing/JTextArea.java. | |
2659 | * Makefile.in: Regenerated. | |
2660 | ||
2661 | 2004-06-15 Graydon Hoare <graydon@redhat.com> | |
2662 | ||
2663 | * javax/swing/ImageIcon.java (ImageIcon): New constructor. | |
2664 | * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property. | |
2665 | * javax/swing/JViewport.java | |
2666 | (getExtentSize): Return size rather than preferred size. | |
2667 | (toViewCoordinates): New methods. | |
2668 | (getViewSize): Return size rather than preferred size. | |
2669 | (setViewSize): Note view size as set. | |
2670 | * javax/swing/ViewportLayout.java (layoutContainer): Reimplement. | |
2671 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
2672 | (getPreferredSize): Don't redo layout. | |
2673 | * javax/swing/plaf/basic/BasicViewportUI.java | |
2674 | (paint): Translate image properly and eat exceptions. | |
2675 | ||
2676 | 2004-06-15 Kim Ho <kho@redhat.com> | |
2677 | ||
2678 | * javax/swing/JTabbedPane.java | |
2679 | (setComponent): Remove old component and | |
2680 | add new component. | |
2681 | (setSelectedIndex): Don't operate on the | |
2682 | components if they're null. Don't set index | |
2683 | on the model if the index is the same. | |
2684 | (insertTab): Don't add or hide the component | |
2685 | if it's null. Repaint the container. | |
2686 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
2687 | Change colors for TabbedPane. | |
2688 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
2689 | (mousePressed): Re-layout and paint the component. | |
2690 | (layoutContainer): Don't set location on the view. | |
2691 | (ScrollingViewport::paint): Remove. | |
2692 | ||
2693 | 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2694 | ||
2695 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
2696 | (gtkWidgetDispatchKeyEvent): Change warning message to comment. | |
2697 | ||
2698 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
2699 | Wrap baseline y value in PANGO_PIXELS macro, rather than simply | |
2700 | dividing by PANGO_SCALE. Call gdk_flush before leaving GDK | |
2701 | critical region. | |
2702 | (drawLine): Call gdk_flush before leaving GDK critical region. | |
2703 | (fillRect): Likewise. | |
2704 | (drawRect): Likewise. | |
2705 | (copyArea): Likewise. | |
2706 | (copyPixmap): Likewise. | |
2707 | (clearRect): Likewise. | |
2708 | (drawArc): Likewise. | |
2709 | (drawPolyline): Likewise. | |
2710 | (drawPolygon): Likewise. | |
2711 | (fillPolygon): Likewise. | |
2712 | (fillArc): Likewise. | |
2713 | (drawOval): Likewise. | |
2714 | (fillOval): Likewise. | |
2715 | ||
2716 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add | |
2717 | style parameter. | |
2718 | (GdkFontMetrics): Add style argument to initState call. | |
2719 | (stringWidth(String,int,int,String)): Add style parameter. | |
2720 | (stringWidth(String)): Add style argument to stringWidth call. | |
2721 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c | |
2722 | (initState): Set pango font style and weight based on AWT style | |
2723 | parameter. Pass default GTK language to | |
2724 | pango_context_get_metrics. Use PANGO_PIXELS macro rather than | |
2725 | simply dividing by PANGO_SCALE. | |
2726 | (stringWidth): Set pango font style and weight based on AWT style | |
2727 | parameter. | |
2728 | ||
2729 | * java/awt/Button.java (next_button_number): New field. | |
2730 | (paramString): Change output. | |
2731 | (generateName): New method. | |
2732 | (getUniqueLong): New method. | |
2733 | ||
2734 | 2004-06-14 Kim Ho <kho@redhat.com> | |
2735 | ||
2736 | * javax/swing/JTabbedPane.java: | |
2737 | (setComponentAt): Set the component, not | |
2738 | the enabled status. | |
2739 | * javax/swing/plaf/basic/BasicDesktopIconUI.java | |
2740 | (actionPerformed): Let deiconize catch exception. | |
2741 | ||
2742 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
2743 | ||
2744 | * javax/swing/JPopupMenu.java: | |
2745 | (setVisible): Corrected location of a | |
2746 | heavyweight popup menu. | |
2747 | ||
2748 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
2749 | ||
2750 | * javax/swing/MenuSelectionManager.java: | |
2751 | Ran through jalopy to fix formatting style. | |
2752 | ||
2753 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
2754 | ||
2755 | * javax/swing/JLayeredPane.java: | |
2756 | (remove): Revalidate and repaint layered pane after | |
2757 | the component was removed. | |
2758 | javax/swing/JMenu.java: | |
2759 | (setVisible): Display popup menu at the user location, | |
2760 | if one was set by the user. | |
2761 | (setMenuLocation): Reimplemented. Fixed javadoc. | |
2762 | * javax/swing/JMenuBar.java: Added javadoc. | |
2763 | (BORDER_PAINTED_CHANGED_PROPERTY): New Property. | |
2764 | (MODEL_CHANGED_PROPERTY): New Property. | |
2765 | (isSelected): Implemented. | |
2766 | (setBorderPainted): Fire PropertyChangeEvent | |
2767 | if paintBorder property changes. | |
2768 | (setSelected): Implemented. | |
2769 | (setSelectionModel): Implemented. | |
2770 | * javax/swing/JPopupMenu.java: Added Javadoc | |
2771 | (pack): Implemented. | |
2772 | (setVisible): Reimplemented. | |
2773 | (show): Fixed location. | |
2774 | (JPopupMenu.LigthWeightPopup): Reimplemented to use | |
2775 | Container instead of JPanel. | |
2776 | * javax/swing/MenuSelectionManager.java: Added Javadocs. | |
2777 | (clearSelectedPath): Reimplemented to clear selectedPath | |
2778 | in reverse order. | |
2779 | (processMouseEvent): Reimplemented. | |
2780 | (setSelectedPath): Fire stateChange event indicating that | |
2781 | selected menu path has changed. | |
2782 | (getPath): Change to use ArrayList instead of Vector. | |
2783 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
2784 | (installUI): call installKeyboardActions(). | |
2785 | (uninstallUI): call uninstallKeyboardActions(). | |
2786 | ||
2787 | 2004-06-13 Michael Koch <konqueror@gmx.de> | |
2788 | ||
2789 | * javax/swing/text/DefaultCaret.java, | |
2790 | javax/swing/text/BadLocationException.java: | |
2791 | Reformatted. | |
2792 | ||
2793 | 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2794 | ||
2795 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS, | |
2796 | DEFAULT_COLS): New variables. | |
2797 | (create): Don't allow 0 rows or 0 columns. Instead, set the | |
2798 | values to DEFAULT_ROWS or DEFAULT_COLS. | |
2799 | (getMinimumSize): Likewise. | |
2800 | (getPreferredSize): Likewise. | |
2801 | (minimumSize): Likewise. | |
2802 | (preferredSize): Likewise. | |
2803 | (create): Set peer's editable state. | |
2804 | * java/awt/TextArea.java (TextArea()): Set rows and columns to | |
2805 | zero. Update javadocs. | |
2806 | (TextArea(String)): Likewise. | |
2807 | (TextArea(int,int)): Fix javadocs. | |
2808 | (TextArea(String,int,int,int)): Only throw exception if one of | |
2809 | rows or columns is zero. Fix javadocs. | |
2810 | ||
2811 | 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2812 | ||
2813 | * java/awt/AWTEvent.java (toString): Handle MenuComponents in | |
2814 | addition to Components. | |
2815 | ||
2816 | * java/awt/MenuItem.java (dispatchEventImpl): If the event | |
2817 | wasn't consumed by normal processing, send it to the parent | |
2818 | menu. | |
2819 | ||
2820 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
2821 | (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove | |
2822 | translation. | |
2823 | ||
2824 | 2004-06-11 David Jee <djee@redhat.com> | |
2825 | ||
2826 | * java/awt/MediaTracker.java | |
2827 | (addImage(Image,int)): Call imageUpdate() to udpate image status. | |
2828 | (addImage(Image,int,int,int)): Likewise. | |
2829 | ||
2830 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2831 | ||
2832 | * javax/swing/text/AbstractDocument.java, | |
2833 | javax/swing/text/Document.java, | |
2834 | javax/swing/text/GapContent.java, | |
2835 | javax/swing/text/JTextComponent.java, | |
2836 | javax/swing/text/PlainDocument.java: | |
2837 | Reformatted. | |
2838 | ||
2839 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2840 | ||
2841 | * javax/swing/JRootPane.java | |
2842 | (AccessibleJRootPane.serialVersionUID): New field. | |
2843 | (AccessibleJRootPane.AccessibleJRootPane): New constructor. | |
2844 | (AccessibleJRootPane.getAccessibleRole): New method. | |
2845 | (RootLayout): Implements Serializable. | |
2846 | (RootLayout.serialVersionUID): New field. | |
2847 | (RootLayout.RootLayout): New constructor. | |
2848 | (setJMenuBar): Made public. | |
2849 | (getJMenuBar): Likewise. | |
2850 | (JRootPane): Likewise. | |
2851 | (createContentPane): Likewise. | |
2852 | (createGlassPane): Likewise. | |
2853 | (createLayeredPane): Likewise. | |
2854 | ||
2855 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2856 | ||
2857 | * javax/swing/SwingUtilities.java | |
2858 | (isLeftMouseButton): Fixed javadoc. | |
2859 | (isMiddleMouseButton): Likewise. | |
2860 | (isRightMouseButton): Likewise. | |
2861 | ||
2862 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2863 | ||
2864 | * javax/swing/JScrollPane.java | |
2865 | (serialVersionUID): New field. | |
2866 | (columnHeader): Made protected. | |
2867 | (rowHeader): Likewise. | |
2868 | (lowerLeft): Likewise. | |
2869 | (lowerRight): Likewise. | |
2870 | (upperLeft): Likewise. | |
2871 | (upperRight): Likewise. | |
2872 | (horizontalScrollBar): Likewise. | |
2873 | (horizontalScrollBarPolicy): Likewise. | |
2874 | (verticalScrollBar): Likewise. | |
2875 | (verticalScrollBarPolicy): Likewise. | |
2876 | (viewport): Likewise. | |
2877 | ||
2878 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2879 | ||
2880 | * javax/swing/LookAndFeel.java: Fixed javadocs. | |
2881 | ||
2882 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
2883 | ||
2884 | * javax/swing/JEditorPane.java: Fixed javadocs. | |
2885 | (JEditorPane): Removed redundant call to to this(). | |
2886 | (fireHyperlinkUpdate): Implemented. | |
2887 | ||
2888 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
2889 | ||
2890 | * javax/swing/JMenu.java: Fixed file name | |
2891 | in the file comment. | |
2892 | ||
2893 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
2894 | ||
2895 | * javax/swing/JMenu.java: Added javadoc. | |
2896 | (JMenu): Added MenuChangeListener to listen to | |
2897 | ChangeEvents occuring in menu's model. | |
2898 | (insert): Throw IllegalArgumentException if | |
2899 | index is less than 0 | |
2900 | (setSelected): Reimplement. | |
2901 | (setPopupMenuVisible): Call menu's model isEnabled() | |
2902 | (setDelay): Throw IllegalArgumentException if | |
2903 | given amount of delay is less than 0. | |
2904 | (createActionComponent): Implemented. | |
2905 | (createActionChangeListener): Implemented. | |
2906 | (addSeparator): Implemented. | |
2907 | (getItem): Throw IllegalArgumentException if index is | |
2908 | less than 0. | |
2909 | (getItemCount): Implemented. | |
2910 | (fireMenuSelected): Changed to use menuEvent. | |
2911 | (fireMenuDeselected): Likewise. | |
2912 | (fireMenuCanceled): Likewise. | |
2913 | (setAccelerator): Changed to throw an error if this | |
2914 | method is used. | |
2915 | (doClick): Implemented. | |
2916 | (JMenu.ActionChangedListener): New inner class to handle | |
2917 | PropertyChangeEvents occuring in the actions associated with menu. | |
2918 | * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc. | |
2919 | (BasicMenuUI): Added PropertyChangeListener to the menu. | |
2920 | (createChangeListener): Implemented. | |
2921 | (createMenuDragMouseListener): Likewise. | |
2922 | (createMenuKeyListener): Likewise. | |
2923 | (createPropertyChangeListener): Likewise. | |
2924 | (uninstallListeners): Likewise. | |
2925 | (BasicMenuUI.MouseInputHandler): Reimplemented. | |
2926 | (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet. | |
2927 | (BasicMenuUI.ChangeHandler): Likewise. | |
2928 | (BasicMenuUI.MenuDragMouseHandler): Likewise. | |
2929 | (BasicMenuUI.MenuKeyHandler): Likewise. | |
2930 | ||
2931 | 2004-06-10 David Jee <djee@redhat.com> | |
2932 | ||
2933 | * java/awt/MediaTracker.java | |
2934 | (imageUpdate): Only do notifyAll() if the image is complete. | |
2935 | ||
2936 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
2937 | ||
2938 | * javax/swing/JApplet.java: | |
2939 | (getJMenuBar): Made public. | |
2940 | (setJMenuBar): Likewise. | |
2941 | * javax/swing/JFrame.java: | |
2942 | (getJMenuBar): Made public. | |
2943 | (setJMenuBar): Likewise. | |
2944 | * javax/swing/JWindow.java: | |
2945 | (getJMenuBar): Removed. | |
2946 | (setJMenuBar): Removed. | |
2947 | ||
2948 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2949 | ||
2950 | * javax/swing/JEditorPane.java | |
2951 | (createEditorKitForContentType): Fixed visibility. | |
2952 | (fireHyperlinkUpdate): Likewise. | |
2953 | (getContentType): Likewise. | |
2954 | (getEditorKit): Likewise. | |
2955 | (getEditorKitForContentType): Likewise. | |
2956 | (getPage): Likewise. | |
2957 | (read): Likewise. | |
2958 | (registerEditorKitForContentTyoe): Likewise. | |
2959 | (replaceSelection): Likewise. | |
2960 | (setContentType): Likewise. | |
2961 | (setEditorKit): Likewise. | |
2962 | (setPage): Likewise. | |
2963 | ||
2964 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2965 | ||
2966 | * javax/swing/Timer.java | |
2967 | (Timer): New constructor. | |
2968 | * javax/swing/plaf/basic/BasicProgressBarUI.java | |
2969 | (animationTimer): Don't initialize at construction. | |
2970 | (startAnimationTimer): Added since tag. | |
2971 | (stopAnimationTimer): Likewise. | |
2972 | (installUI): Use new Timer constructor. | |
2973 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
2974 | (installUI): Likewise. | |
2975 | * javax/swing/plaf/basic/BasicSliderUI.java | |
2976 | (installUI): Likewise. | |
2977 | ||
2978 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2979 | ||
2980 | * javax/swing/ButtonGroup.java | |
2981 | (serialVersionUID): Made private. | |
2982 | (buttons): Renamed from v, added javadoc. | |
2983 | (sel): Added javadoc. | |
2984 | (ButtonGroup): Likewise. | |
2985 | (add): Likewise. | |
2986 | (remove): Likewise. | |
2987 | (getElements): Likewise. | |
2988 | (getSelection): Likewise. | |
2989 | (setSelected): Likewise. | |
2990 | (isSelected): Likewise. | |
2991 | (getButtonCount): Likewise. | |
2992 | ||
2993 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
2994 | ||
2995 | * javax/swing/ButtonGroup.java, | |
2996 | javax/swing/ImageIcon.java, | |
2997 | javax/swing/JEditorPane.java, | |
2998 | javax/swing/JRootPane.java, | |
2999 | javax/swing/JTextField.java, | |
3000 | javax/swing/LookAndFeel.java, | |
3001 | javax/swing/plaf/basic/BasicTextUI.java: | |
3002 | Reindented. | |
3003 | ||
3004 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3005 | ||
3006 | * javax/swing/text/Style.java: Added javadocs. | |
3007 | ||
3008 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3009 | ||
3010 | * javax/swing/JComponent.java | |
3011 | (fireVetoableChange): Removed redundant cast. | |
3012 | * javax/swing/JLabel.java | |
3013 | (getDisabledIcon): Save icon for next call. | |
3014 | ||
3015 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3016 | ||
3017 | * javax/swing/KeyStroke.java | |
3018 | (getKeyStroke(char,boolean)): Marked deprecated. | |
3019 | ||
3020 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3021 | ||
3022 | * javax/swing/DefaultCellEditor.java, | |
3023 | javax/swing/GrayFilter.java, | |
3024 | javax/swing/event/DocumentEvent.java, | |
3025 | javax/swing/text/JTextComponent.java, | |
3026 | javax/swing/text/MutableAttributeSet.java: | |
3027 | Reindented. | |
3028 | ||
3029 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3030 | ||
3031 | * javax/swing/plaf/BorderUIResource.java: | |
3032 | Added serialVersionUID all over. | |
3033 | ||
3034 | 2004-06-10 Sascha Brawer <brawer@dandelis.ch> | |
3035 | ||
3036 | * javax/swing/undo/UndoManager.java: Re-written from scratch. | |
3037 | ||
3038 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3039 | ||
3040 | * javax/swing/table/DefaultTableCellRenderer.java | |
3041 | (noFocusBorder): Initialize directly. | |
3042 | ||
3043 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3044 | ||
3045 | * javax/swing/plaf/basic/BasicArrowButton.java | |
3046 | (setDirection): Use method argument. | |
3047 | ||
3048 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3049 | ||
3050 | * javax/swing/plaf/BorderUIResource.java, | |
3051 | javax/swing/plaf/ComponentUI.java, | |
3052 | javax/swing/undo/CompoundEdit.java, | |
3053 | javax/swing/undo/StateEdit.java: | |
3054 | Fixed javadocs all over. | |
3055 | ||
3056 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
3057 | ||
3058 | * javax/swing/DefaultButtonModel.java | |
3059 | (ARMED): Made public final, fixed value. | |
3060 | (ENABLED): Likewise. | |
3061 | (PRESSED): Likewise. | |
3062 | (ROLLOVER): Likewise. | |
3063 | (SELECTED): Likewise. | |
3064 | (stateMask): Initialize directly. | |
3065 | (listenerList): Likewise. | |
3066 | (mnemonic): Likewise. | |
3067 | (fireStateChanged): Removed argument, use changeEvent as event. | |
3068 | All places where this method is called are fixed too. | |
3069 | (getActionCommant): Fixed javadoc. | |
3070 | (setGroup): Fixed javadoc. | |
3071 | (getGroup): New method. | |
3072 | ||
3073 | 2004-06-09 Olga Rodimina <rodimina@redhat.com> | |
3074 | ||
3075 | * javax/swing/AbstractButton.java | |
3076 | (AbstractButton): Use init() to initialize the button. | |
3077 | (init): New Method. Initializes AbstractButton. | |
3078 | * javax/swing/JMenuItem.java: Documented. | |
3079 | (JMenuItem): Reimplemented. | |
3080 | (init): Implemented. | |
3081 | (setEnabled): Changed to call super.setEnabled() | |
3082 | (processMouseEvent): Reimplemented. | |
3083 | (fireMenuKeyPressed): Implemented. | |
3084 | (fireMenuKeyReleased): Implemented. | |
3085 | (fireMenuKeyTyped): Implemented. | |
3086 | (menuSelectionChanged): disarm the model if the menu item was | |
3087 | deselected. | |
3088 | * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented. | |
3089 | (getPath): Change to use ArrayList instead of Vector. | |
3090 | (getPreferredSize): Renamed variable. | |
3091 | (paintMenuItem): Paint margin area of menu item. | |
3092 | (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager. | |
3093 | (MouseInputHandler.mouseReleased): Check if mouse was pressed inside | |
3094 | menu item's bounds before clearing the selection. | |
3095 | ||
3096 | 2004-06-09 David Jee <djee@redhat.com> | |
3097 | ||
3098 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java | |
3099 | (GtkTextComponentPeer): Set caret position to 0. | |
3100 | * java/awt/TextComponent.java | |
3101 | (setText): Set caret position to 0. | |
3102 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3103 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): | |
3104 | Handle GtkScrolledWindow separately. Fix signal handler blocking. | |
3105 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): | |
3106 | Likewise. | |
3107 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
3108 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor | |
3109 | visible. | |
3110 | ||
3111 | 2004-06-09 Kim Ho <kho@redhat.com> | |
3112 | ||
3113 | * Makefile.am: New files | |
3114 | * Makefile.in: Regenerated | |
3115 | * java/awt/Container.java | |
3116 | (getComponentAt): Removed. | |
3117 | * javax/swing/AbstractAction.java | |
3118 | (ENABLED_PROPERTY): New property. | |
3119 | (putValue): Fire PropertyChangeEvents. | |
3120 | (setEnabled): ditto. | |
3121 | (firePropertyChange): Javadoc and implement | |
3122 | convenience method. | |
3123 | * javax/swing/AbstractButton.java | |
3124 | (setAction): Don't create PropertyChangeListener | |
3125 | if new Action is null. | |
3126 | (setIcon): Don't set icon till after comparing | |
3127 | it. | |
3128 | (configurePropertiesFromAction): Check mnemonic | |
3129 | key before calling intValue(). | |
3130 | (createActionPropertyChangeListener): Check | |
3131 | properties rather than bulk change. | |
3132 | * javax/swing/DefaultDesktopManager.java: | |
3133 | Implement. | |
3134 | * javax/swing/DesktopManager.java: | |
3135 | Jalopy and javadoc. | |
3136 | * javax/swing/JComponent.java | |
3137 | (fireVetoableChange): Implement. | |
3138 | (paintImmediately): Use root component. | |
3139 | * javax/swing/JDesktopPane.java: Implement | |
3140 | * javax/swing/JInternalFrame.java: Implement | |
3141 | * javax/swing/JLabel.java | |
3142 | (getDisabledIcon): Return grayscaled icon if | |
3143 | no disabled icon specified. | |
3144 | * javax/swing/JMenuBar.java | |
3145 | (getComponentAtIndex): Use getComponent | |
3146 | * javax/swing/JOptionPane.java | |
3147 | (getDesktopPaneForComponent): Use SwingUtilities' | |
3148 | getAncestorOfClass | |
3149 | (getFrameForComponent): ditto. | |
3150 | * javax/swing/JSplitPane.java | |
3151 | (remove): Use getComponent. | |
3152 | * javax/swing/SwingUtilities.java | |
3153 | (convertPoint): Implement. | |
3154 | * javax/swing/plaf/basic/BasicButtonUI.java | |
3155 | (paintButtonNormal): Check opaqueness before | |
3156 | filling background. | |
3157 | * javax/swing/plaf/basic/BasicDesktopIconUI.java: | |
3158 | Implement | |
3159 | * javax/swing/plaf/basic/BasicDesktopPaneUI.java: | |
3160 | Implement. | |
3161 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: | |
3162 | Implement. | |
3163 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
3164 | Implement. | |
3165 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
3166 | Change InternalFrame and Desktop colors. | |
3167 | ||
3168 | 2004-06-09 David Jee <djee@redhat.com> | |
3169 | ||
3170 | * java/awt/Container.java | |
3171 | (remove): Do not set component to invisible. | |
3172 | ||
3173 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
3174 | ||
3175 | * javax/swing/tree/DefaultMutableTreeNode.java | |
3176 | (getLeafCount): Renamed enum to e. | |
3177 | ||
3178 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
3179 | ||
3180 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
3181 | (positionForMouseEvent): Removed redundant semicolon. | |
3182 | (continueDrag): Use method arguments. | |
3183 | ||
3184 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
3185 | ||
3186 | * javax/swing/border/TitledBorder.java, | |
3187 | javax/swing/filechooser/FileSystemView.java, | |
3188 | javax/swing/plaf/basic/BasicButtonListener.java, | |
3189 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
3190 | javax/swing/plaf/basic/BasicLabelUI.java, | |
3191 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
3192 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
3193 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
3194 | javax/swing/plaf/basic/BasicSliderUI.java, | |
3195 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
3196 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
3197 | javax/swing/table/JTableHeader.java, | |
3198 | javax/swing/text/AbstractDocument.java, | |
3199 | javax/swing/text/DefaultCaret.java, | |
3200 | javax/swing/text/StyledEditorKit.java, | |
3201 | javax/swing/tree/DefaultTreeCellEditor.java: | |
3202 | Reworked import statements. | |
3203 | ||
3204 | 2004-06-08 Graydon Hoare <graydon@redhat.com> | |
3205 | ||
3206 | * javax/swing/Box.java: Temporarily comment out code | |
3207 | broken due to visibility bug. | |
3208 | ||
3209 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
3210 | ||
3211 | * javax/swing/ImageIcon.java | |
3212 | (ImageIcon): Added missing constructor. | |
3213 | ||
3214 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3215 | ||
3216 | * javax/swing/JToggleButton.java | |
3217 | (JToggleButton): New constructor. | |
3218 | (getAccessibleContext): Moved documentation into javadoc. | |
3219 | (getUIClassID): Likewise. | |
3220 | ||
3221 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3222 | ||
3223 | * javax/swing/AbstractButton.java | |
3224 | (getDisabledIcon): Create disabled icon if none exists yet. | |
3225 | ||
3226 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3227 | ||
3228 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
3229 | (initClassDefaults): Added FormattedTextFieldUI. | |
3230 | (loadResourceBundle): Renamed enum to e. | |
3231 | ||
3232 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3233 | ||
3234 | * javax/swing/plaf/basic/BasicButtonUI.java | |
3235 | (paintIcon): Simplified. | |
3236 | (paintText): Paint disabled button correctly. | |
3237 | ||
3238 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3239 | ||
3240 | * javax/swing/JComponent.java | |
3241 | (createToolTip): Use official JToolTip API. | |
3242 | ||
3243 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3244 | ||
3245 | * javax/swing/JToolTip.java | |
3246 | (JToolTip): No arguments in API. | |
3247 | (setTipText): New method. | |
3248 | ||
3249 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3250 | ||
3251 | * javax/swing/SwingUtilities.java | |
3252 | (isLeftMouseButton): New method. | |
3253 | (isMiddleMouseButton): New method. | |
3254 | (isRightMouseButton): New method. | |
3255 | ||
3256 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3257 | ||
3258 | * javax/swing/AbstractButton.java, | |
3259 | javax/swing/CellRendererPane.java, | |
3260 | javax/swing/JCheckBoxMenuItem.java, | |
3261 | javax/swing/JColorChooser.java, | |
3262 | javax/swing/JComboBox.java, | |
3263 | javax/swing/JComponent.java, | |
3264 | javax/swing/JDesktopPane.java, | |
3265 | javax/swing/JFileChooser.java, | |
3266 | javax/swing/JMenu.java, | |
3267 | javax/swing/JMenuItem.java, | |
3268 | javax/swing/JOptionPane.java, | |
3269 | javax/swing/JPasswordField.java, | |
3270 | javax/swing/JPopupMenu.java, | |
3271 | javax/swing/JProgressBar.java, | |
3272 | javax/swing/JRadioButtonMenuItem.java, | |
3273 | javax/swing/JScrollBar.java, | |
3274 | javax/swing/JSeparator.java, | |
3275 | javax/swing/JSlider.java, | |
3276 | javax/swing/JSplitPane.java, | |
3277 | javax/swing/JTabbedPane.java, | |
3278 | javax/swing/JTextField.java, | |
3279 | javax/swing/JToolBar.java, | |
3280 | javax/swing/text/JTextComponent.java: | |
3281 | Fixed all constructors of accessibility classes. | |
3282 | ||
3283 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3284 | ||
3285 | * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all | |
3286 | over. | |
3287 | ||
3288 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
3289 | ||
3290 | * javax/swing/Box.java | |
3291 | (AccessibleBoxFiller): Extends AccessibleAWTComponent. | |
3292 | (AccessibleBoxFiller.serialVersionUID): New member variable. | |
3293 | * javax/swing/DefaultButtonModel.java | |
3294 | (stateMask): Made protected. | |
3295 | (listenerList): Likewise. | |
3296 | (changeEvent): Likewise. | |
3297 | (group): Likewise. | |
3298 | (mnemonic): Likewise. | |
3299 | (actionCommand): Likewise. | |
3300 | (getListeners): New method. | |
3301 | (getActionListeners): New method. | |
3302 | (getItemListeners): New method. | |
3303 | (getChangeListeners): New method. | |
3304 | (fireItemStateChanged): Simplified. | |
3305 | (fireActionPerformed): Simplified. | |
3306 | (fireStateChanged): Simplified. | |
3307 | * javax/swing/JFrame.java | |
3308 | (JFrame): Implements WindowContants. | |
3309 | (HIDE_ON_CLOSE): Removed. | |
3310 | (EXIT_ON_CLOSE): Removed. | |
3311 | (DISPOSE_ON_CLOSE): Removed. | |
3312 | (DO_NOTHING_ON_CLOSE): Removed. | |
3313 | (processWindowEvent): Exit with code 0. | |
3314 | (setDefaultCloseOperation): Do security check before setting value. | |
3315 | * javax/swing/JOptionPane.java | |
3316 | (message): Initialize only in constructor. | |
3317 | * javax/swing/JToolTip.java: Removed unused imports. | |
3318 | * javax/swing/JViewport.java | |
3319 | (serialVersionUID): New member variable. | |
3320 | (SIMPLE_SCROLL_MODE): Made final, fixed value. | |
3321 | (BLIT_SCROLL_MODE): Likewise. | |
3322 | (BACKINGSTORE_SCROLL_MODE): Likewise. | |
3323 | (scrollUnderway): Made protected. | |
3324 | (isViewSizeSet): Likewise. | |
3325 | * javax/swing/ListModel.java: Fixed javadoc. | |
3326 | * javax/swing/Popup.java: Likewise. | |
3327 | * javax/swing/RepaintManager.java | |
3328 | (paintDirtyRegions): Don't use internal classes of | |
3329 | java.util.AbstractMap. | |
3330 | * javax/swing/ScrollPaneConstants.java: Reindented. | |
3331 | * javax/swing/ScrollPaneLayout.java | |
3332 | (viewport): Made protected. | |
3333 | (verticalScrollBar): Made protected, renamed to vsb. | |
3334 | (horizontalScrollBar): Made protected, renamed to hsb. | |
3335 | (rowHeader): Made protected, renamed to rowHead. | |
3336 | (columnHeader): Made protected, renamed to colHead. | |
3337 | (lowerLeft): Made protected. | |
3338 | (lowerRight): Made protected. | |
3339 | (upperLeft): Made protected. | |
3340 | (upperRight): Made protected. | |
3341 | (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy. | |
3342 | (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy. | |
3343 | ||
3344 | 2004-06-07 Bernd Schmidt <bernds@btinternet.com> | |
3345 | ||
3346 | * java/awt/MediaTracker.java (imageUpdate): Only set status to | |
3347 | LOADING if flags has SOMEBITS set. | |
3348 | ||
3349 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
3350 | ||
3351 | * javax/swing/AbstractButton.java: Reorganized imports. | |
3352 | * javax/swing/ActionMap.java: Likewise. | |
3353 | * javax/swing/DefaultButtonModel.java: Likewise. | |
3354 | * javax/swing/DefaultListModel.java: Likewise. | |
3355 | * javax/swing/ImageIcon.java: Likewise. | |
3356 | (serialVersionUID): New member variable. | |
3357 | * javax/swing/JComboBox.java: Reorganized imports. | |
3358 | * javax/swing/JComponent.java: Likewise. | |
3359 | (ui): Made protected. | |
3360 | (listenerList): Made protected. | |
3361 | (TOOL_TIP_TEXT_KEY): New constant. | |
3362 | (scrollRectToVisible): Removed redundant null check. | |
3363 | * javax/swing/JFrame.java: Reorganized imports. | |
3364 | * javax/swing/JInternalFrame.java: Reorganized imports. | |
3365 | * javax/swing/JProgressBar.java: Likewise. | |
3366 | * javax/swing/JRootPane.java: Likewise. | |
3367 | * javax/swing/JScrollBar.java: Likewise. | |
3368 | * javax/swing/JSeparator.java: Likewise. | |
3369 | * javax/swing/JSlider.java: Likewise. | |
3370 | * javax/swing/JTabbedPane.java: Likewise. | |
3371 | * javax/swing/JTextField.java: Likewise. | |
3372 | * javax/swing/JToolBar.java: Likewise. | |
3373 | * javax/swing/JTree.java: Likewise. | |
3374 | * javax/swing/JViewport.java: Likewise. | |
3375 | * javax/swing/JWindow.java: Likewise. | |
3376 | * javax/swing/KeyStroke.java: Likewise. | |
3377 | * javax/swing/LookAndFeel.java: Likewise. | |
3378 | * javax/swing/MenuSelectionManager.java: Likewise. | |
3379 | * javax/swing/SwingUtilities.java: Likewise. | |
3380 | * javax/swing/Timer.java: Likewise. | |
3381 | * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc. | |
3382 | * javax/swing/JList.java | |
3383 | (HORIZONTAL_WRAP): Made final, fixed value. | |
3384 | (VERTICAL): Likewise. | |
3385 | (VERTICAL_WRAP): Likewise. | |
3386 | ||
3387 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
3388 | ||
3389 | * javax/swing/AbstractButton.java | |
3390 | (serialVersionUID): New member variable. | |
3391 | (AccessibleAbstractButton.serialVersionUID): Likewise. | |
3392 | (AbstractButton): Made public. | |
3393 | * javax/swing/Box.java | |
3394 | (AccessibleBox.serialVersionUID): New member variable. | |
3395 | (Filler.serialVersionUID): Likewise. | |
3396 | * javax/swing/DefaultListSelectionModel.java | |
3397 | (serialVersionUID): Likewise. | |
3398 | * javax/swing/JApplet.java | |
3399 | (serialVersionUID): Likewise. | |
3400 | * javax/swing/JCheckBox.java | |
3401 | (serialVersionUID): Likewise. | |
3402 | * javax/swing/JCheckBoxMenuItem.java | |
3403 | (serialVersionUID): Likewise. | |
3404 | (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise. | |
3405 | * javax/swing/JColorChooser.java | |
3406 | (serialVersionUID): Likewise. | |
3407 | (AccessibleJColorChooser.serialVersionUID): Likewise. | |
3408 | * javax/swing/JComponent.java | |
3409 | (serialVersionUID): Made private. | |
3410 | (AccessibleJComponent.serialVersionUID): New member variable. | |
3411 | * javax/swing/JDesktopPane.java | |
3412 | (serialVersionUID): Likewise. | |
3413 | * javax/swing/JDialog.java | |
3414 | (serialVersionUID): Likewise. | |
3415 | * javax/swing/JFormattedTextField.java | |
3416 | (serialVersionUID): Fixed value. | |
3417 | * javax/swing/JFrame.java | |
3418 | (serialVersionUID): New member variable. | |
3419 | (getDefaultCloseOpertation): Made public. | |
3420 | * javax/swing/JLayeredPane.java | |
3421 | (serialVersionUID): Likewise. | |
3422 | (LAYER_PROPERTY): Made final, fixed value. | |
3423 | (JLayeredPane): Made public. | |
3424 | * javax/swing/JMenu.java | |
3425 | (AccessibleJMenu.serialVersionUID): New member variable. | |
3426 | (WinListener.serialVersionUID): Likewise. | |
3427 | * javax/swing/JMenuBar.java | |
3428 | (serialVersionUID): Likewise. | |
3429 | (getComponentAtIndex): Added @deprecated tag. | |
3430 | * javax/swing/JMenuItem.java | |
3431 | (serialVersionUID): New member variable. | |
3432 | (AccessibleJMenuItem.serialVersionUID): Likewise. | |
3433 | * javax/swing/JOptionPane.java | |
3434 | (serialVersionUID): Likewise. | |
3435 | (AccessibleJOptionPane.serialVersionUID): Likewise. | |
3436 | * javax/swing/JPopupMenu.java | |
3437 | (serialVersionUID): Likewise. | |
3438 | (AccessibleJPopupMenu.serialVersionUID): Likewise. | |
3439 | (getPopupMenuListeners): New method. | |
3440 | (getComponentAtIndex): Added @deprecated tag. | |
3441 | * javax/swing/JProgressBar.java | |
3442 | (serialVersionUID): New member variable. | |
3443 | (AccessibleJProgressBar.serialVersionUID): Likewise. | |
3444 | * javax/swing/JRadioButton.java | |
3445 | (serialVersionUID): Likewise. | |
3446 | * javax/swing/JRadioButtonMenuItem.java | |
3447 | (serialVersionUID): Likewise. | |
3448 | (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise. | |
3449 | * javax/swing/JScrollBar.java | |
3450 | (serialVersionUID): Likewise. | |
3451 | (AccessibleJScrollBar.serialVersionUID): Likewise. | |
3452 | * javax/swing/JSeparator.java | |
3453 | (serialVersionUID): Likewise. | |
3454 | (AccessibleJSeparator.serialVersionUID): Likewise. | |
3455 | * javax/swing/JSlider.java: Fixed javadocs. | |
3456 | (AccessibleJSlider.serialVersionUID): New member variable. | |
3457 | * javax/swing/JSplitPane.java: Added copyright statement. | |
3458 | (serialVersionUID): New member variable. | |
3459 | (AccessibleJSplitPane.serialVersionUID): Likewise. | |
3460 | * javax/swing/JTabbedPane.java | |
3461 | (serialVersionUID): Likewise. | |
3462 | (AccessibleJTabbedPane.serialVersionUID): Likewise. | |
3463 | (ModelListener.serialVersionUID): Likewise. | |
3464 | (ModelListener.ModelListener): New constructor. | |
3465 | (SCROLL_TAB_LAYOUT): Made public final, fixed value. | |
3466 | (WRAP_TAB_LAYOUT): Likewise. | |
3467 | * javax/swing/JTable.java | |
3468 | (serialVersionUID): New member variable. | |
3469 | * javax/swing/JToggleButton.java | |
3470 | (serialVersionUID): Likewise. | |
3471 | (ToggleButtonModel): Made static. | |
3472 | (ToggleButtonModel.serialVersionUID): New member variable. | |
3473 | * javax/swing/JToolTip.java | |
3474 | (serialVersionUID): Likewise. | |
3475 | * javax/swing/JTree.java | |
3476 | (serialVersionUID): Likewise. | |
3477 | * javax/swing/JWindow.java | |
3478 | (serialVersionUID): Likewise. | |
3479 | * javax/swing/Timer.java | |
3480 | (serialVersionUID): Likewise. | |
3481 | ||
3482 | 2004-06-06 Michael Koch <konqueror@gmx.de> | |
3483 | ||
3484 | * javax/swing/SwingConstants.java | |
3485 | (NEXT): New constant. | |
3486 | (PREVIOUS): Likewise. | |
3487 | * javax/swing/UIManager.java | |
3488 | (LookAndFeel): Made public. | |
3489 | (LookAndFeel.getClassName): Likewise. | |
3490 | (LookAndFeel.getName): Likewise. | |
3491 | ||
3492 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> | |
3493 | ||
3494 | * javax/swing/JCheckBoxMenuItem.java: | |
3495 | Removed CVS tags. | |
3496 | * javax/swing/JMenu.java: Likewise. | |
3497 | * javax/swing/JMenuBar.java: Likewise. | |
3498 | * javax/swing/JMenuItem.java: Likewise. | |
3499 | * javax/swing/JPopupMenu.java: Likewise. | |
3500 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
3501 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
3502 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
3503 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
3504 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
3505 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
3506 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
3507 | ||
3508 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> | |
3509 | ||
3510 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3511 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
3512 | Call getPath() from super class instead. | |
3513 | ||
3514 | 2004-05-31 David Jee <djee@redhat.com> | |
3515 | ||
3516 | * java/awt/Container.java | |
3517 | (remove): Set component visibility to false after removing it. | |
3518 | ||
3519 | 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3520 | ||
3521 | * java/awt/Component.java (getForeground): Return SystemColor if | |
3522 | parent is null. | |
3523 | (getBackground): Likewise. | |
3524 | ||
3525 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
3526 | (item_highlighted): New function. | |
3527 | (connectSignals): Set item_highlighted as list's select | |
3528 | function. | |
3529 | ||
3530 | * java/applet/Applet.java: Revert changes from 2004-04-29, | |
3531 | 2004-03-15 and 2004-03-14. | |
3532 | ||
3533 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
3534 | Divide baseline y coordinate by PANGO_SCALE, not DPI conversion | |
3535 | factor. | |
3536 | ||
3537 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set | |
3538 | "Dialog" as the default font. | |
3539 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): | |
3540 | Likewise. | |
3541 | * java/awt/Component.java (getFont): Return "Dialog" font by | |
3542 | default. | |
3543 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: | |
3544 | Multiply size argument to pango_font_description_set_size by the | |
3545 | DPI conversion factor rather than by PANGO_SCALE. | |
3546 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise. | |
3547 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise. | |
3548 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise. | |
3549 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise. | |
3550 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
3551 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise. | |
3552 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise. | |
3553 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise. | |
3554 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. | |
3555 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
3556 | Divide baseline y coordinate by DPI conversion factor rather | |
3557 | than by PANGO_SCALE. | |
3558 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
3559 | (area_prepared): Fix typo. | |
3560 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
3561 | (gtkSetFont): Move gtk_bin_get_child inside GDK critical region. | |
3562 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
3563 | (dpi_conversion_factor): New global variable. | |
3564 | (init_dpi_conversion_factor): New function to calculate and | |
3565 | track DPI conversion factor. | |
3566 | (dpi_changed_cb): New callback. | |
3567 | * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare. | |
3568 | ||
3569 | 2004-05-27 David Jee <djee@redhat.com> | |
3570 | ||
3571 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
3572 | (getGraphics): Return a new GdkGraphics instance. | |
3573 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
3574 | (getGraphics): Call super.getGraphics(). | |
3575 | ||
3576 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3577 | ||
3578 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3579 | (setNativeBounds): Clamp width and height values to >= 0. | |
3580 | ||
3581 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3582 | (find_fg_color_widget): Handle GtkOptionMenu specially. | |
3583 | ||
3584 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
3585 | (pre_event_handler): Only post configure events to visible | |
3586 | top-level windows. | |
3587 | ||
3588 | 2004-05-26 David Jee <djee@redhat.com> | |
3589 | ||
3590 | * java/awt/BorderLayout.java | |
3591 | (layoutContainer): Fix size calculations. | |
3592 | ||
3593 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3594 | ||
3595 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
3596 | (window_wm_protocols_filter): Remove function. | |
3597 | (create): Remove filter that removes WM_TAKE_FOCUS client | |
3598 | messages. | |
3599 | ||
794c3bee AG |
3600 | 2004-06-17 Anthony Green <green@redhat.com> |
3601 | ||
1616280e AG |
3602 | * java/util/zip/ZipFile.java (getInputStream): Return null if |
3603 | entry not found. | |
3604 | ||
794c3bee AG |
3605 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extension |
3606 | directory contents to the class path. | |
3607 | ||
d1238423 AH |
3608 | 2004-06-15 Andrew Haley <aph@redhat.com> |
3609 | ||
3610 | * java/lang/natSystem.cc (getenv0): Don't assume environment | |
3611 | variable is Latin 1 coded. | |
3612 | ||
f1c3e0a6 AJ |
3613 | 2004-06-14 Andreas Jaeger <aj@suse.de> |
3614 | ||
3615 | * configure.in: Support --enable-version-specific-runtime-libs. | |
3616 | * configure: Regenerated. | |
3617 | ||
84b1d821 BM |
3618 | 2004-06-14 Bryce McKinlay <mckinlay@redhat.com> |
3619 | ||
3620 | * java/util/Calendar.java: Change ResourceBundle.getBundle() calls | |
3621 | to pass ClassLoader argument. | |
3622 | * java/util/GregorianCalendar.java: Likewise. | |
3623 | * java/util/Currency.java: Likewise. | |
3624 | * java/text/BreakIterator.java: Likewise. | |
3625 | * java/text/Collator.java: Likewise. | |
3626 | * java/text/DateFormat.java: Likewise. | |
3627 | * java/text/DateFormatSymbols.java: Likewise. | |
3628 | * java/text/DecimalFormatSymbols.java: Likewise. | |
3629 | * java/text/NumberFormat.java: Likewise. | |
3630 | * java/awt/Window.java: Likewise. | |
3631 | ||
df94fa14 AH |
3632 | 2004-06-14 Andrew Haley <aph@redhat.com> |
3633 | ||
3634 | * java/lang/System.java: (getenv0): New method. | |
3635 | (getenv): Add security check. Do the right thing. | |
3636 | * java/lang/natSystem.cc (getenv0): New method. | |
3637 | ||
ff6ea709 MW |
3638 | 2004-06-12 Mark Wielaard <mark@klomp.org> |
3639 | ||
3640 | * javax/swing/RepaintManager.java | |
3641 | (paintDirtyRegions): Use entrySet(), not values(). | |
3642 | ||
d1ee8381 MW |
3643 | 2004-06-10 Mark Wielaard <mark@klomp.org> |
3644 | ||
3645 | * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to | |
3646 | NoSuchMethodError. | |
3647 | ||
b092552d JQ |
3648 | 2004-06-11 Jerry Quinn <jlquinn@optonline.net> |
3649 | ||
3650 | * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae | |
3651 | when we already know the answer. | |
3652 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
3653 | (setStartRule,setEndRule): Don't take abs of day number. | |
3654 | (getOffset): Clarify docs. Add argument checks. | |
3655 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
3656 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
3657 | endTimeMode. | |
3658 | ||
618df745 TT |
3659 | 2004-06-10 Tom Tromey <tromey@redhat.com> |
3660 | ||
3661 | * interpret.cc (run): Handle wide fload. | |
3662 | ||
648b6075 JQ |
3663 | 2004-06-06 Jerry Quinn <jlquinn@optonline.net> |
3664 | ||
3665 | * java/util/zip/ZipEntry.java (setTime): Remove scaling. | |
3666 | ||
9fc3ed51 MK |
3667 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
3668 | ||
3669 | * javax/swing/SwingConstants.java | |
3670 | (NEXT): New constant. | |
3671 | (PREVIOUS): Likewise. | |
3672 | ||
c6dd0441 MK |
3673 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
3674 | ||
3675 | * javax/swing/UIManager.java | |
3676 | (LookAndFeel): Made public. | |
3677 | (LookAndFeel.getName): Likewise. | |
3678 | (LookAndFeel.getClassName): Likewise. | |
3679 | ||
53ef271f MK |
3680 | 2004-06-03 Michael Koch <konqueror@gmx.de> |
3681 | ||
3682 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
3683 | (requestFocus): Revert last changes. | |
3684 | (gtkRequestFocus): Removed. | |
3685 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3686 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
3687 | Renamed to ... | |
3688 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus): | |
3689 | Reverted last patch. | |
3690 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
3691 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup): | |
3692 | Reverted comment change. | |
3693 | ||
26f4ba86 OR |
3694 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> |
3695 | ||
3696 | * javax/swing/JCheckBoxMenuItem.java: | |
3697 | Removed CVS tags. | |
3698 | * javax/swing/JMenu.java: Likewise. | |
3699 | * javax/swing/JMenuBar.java: Likewise. | |
3700 | * javax/swing/JMenuItem.java: Likewise. | |
3701 | * javax/swing/JPopupMenu.java: Likewise. | |
3702 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
3703 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
3704 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
3705 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
3706 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
3707 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
3708 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
3709 | ||
c05e85e2 MK |
3710 | 2004-06-01 Tom Tromey <tromey@redhat.com> |
3711 | ||
3712 | * java/io/ObjectStreamField.java: Cleaned up imports. | |
3713 | ||
3714 | 2004-06-01 Michael Koch <konqueror@gmx.de> | |
3715 | ||
3716 | * java/io/ObjectStreamField.java: Style and javadoc cleanup. | |
3717 | ||
3718 | 2004-06-01 Mark Wielaard <mark@klomp.org> | |
3719 | ||
3720 | * java/io/Writer.java (Writer(Object)): Fixed API doc. | |
3721 | ||
6ef44cfd MK |
3722 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
3723 | ||
3724 | * java/security/Security.java | |
3725 | (insertProviderAt): Use equals() instead of ==. | |
3726 | (removeProvicer): Likewise. | |
3727 | (getProvider): Likewise. | |
3728 | * java/security/Signature.java | |
3729 | (sign): Don't set state to UNINITIALIZED. | |
3730 | (verify): Likewise. | |
3731 | ||
1900c4c6 MW |
3732 | 2004-06-01 Mark Wielaard <mark@klomp.org> |
3733 | ||
3734 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus): | |
3735 | Implement by calling gtkRequestFocus. | |
3736 | (gtkRequestFocus): New native method. | |
3737 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3738 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__): | |
3739 | Renamed to ... | |
3740 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
3741 | New function name. | |
3742 | (filter_expose_event_handler): | |
3743 | Mark static. | |
3744 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
3745 | (menu_pos): Mark static. | |
3746 | ||
57807c31 MK |
3747 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
3748 | ||
3749 | * java/text/CollationElementIterator.java, | |
3750 | java/text/CollationKey.java, | |
3751 | java/text/RuleBasedCollator.java: New versions from GNU classpath. | |
3752 | * testsuite/libjava.mauve/xfails: Removed all | |
3753 | java.text.CollationElementIterator tests. | |
3754 | ||
f7dbd56c MK |
3755 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
3756 | ||
3757 | * java/util/zip/InflaterInputStream.java: Merged more with Classpath | |
3758 | version. | |
3759 | * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed | |
3760 | Java 1.5 keyword usage. | |
3761 | ||
44a4b8db OR |
3762 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> |
3763 | ||
3764 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
3765 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
3766 | Call getPath() from super class instead. | |
3767 | ||
58128b9d MK |
3768 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
3769 | ||
3770 | * java/io/SequenceInputStream.java: | |
3771 | Rename enum to e because enum is a keyword in Java 1.5. | |
3772 | ||
771b9ca3 MK |
3773 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
3774 | ||
3775 | * gnu/java/rmi/rmic/CompilerProcess.java: | |
3776 | Fixed javadoc to by XHTML compliant. | |
3777 | ||
7a70d70c MW |
3778 | 2004-05-30 Mark Wielaard <mark@klomp.org> |
3779 | ||
3780 | * java/awt/Toolkit.java (loadSystemColors): Implement. | |
3781 | ||
289f9db7 MK |
3782 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3783 | ||
071917b0 MK |
3784 | * java/lang/System.java: Reordered imports. |
3785 | ||
3786 | 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org> | |
3787 | ||
289f9db7 MK |
3788 | * java/text/DecimalFormat.java |
3789 | (parse): Fixed parsing of decimal strings. Number of maximum | |
3790 | digits to be read should now work. | |
3791 | * java/text/SimpleDateFormat.java | |
3792 | (SimpleDateFormat): Set maximumFractionDigit to 0 for the number | |
3793 | formatter. This fixes DateFormatTest. | |
3794 | ||
1b2545bc MK |
3795 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3796 | ||
3797 | * java/nio/Buffer.java | |
3798 | (limit): Fixed off by one error. | |
3799 | * java/nio/CharBuffer.java | |
3800 | (wrap): Fixed arguments, added javadocs. | |
3801 | ||
74c2dbf7 MK |
3802 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3803 | ||
3804 | * gnu/java/beans/BeanInfoEmbryo.java, | |
3805 | java/awt/im/InputContext.java, | |
3806 | javax/swing/tree/DefaultMutableTreeNode.java: | |
3807 | Rename enum to e because enum is a keyword in Java 1.5. | |
3808 | ||
27d14326 MK |
3809 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3810 | ||
3811 | * gnu/java/math/MPN.java, | |
3812 | java/awt/geom/Arc2D.java: | |
3813 | Fixed javadocs all over. | |
3814 | ||
933592af MK |
3815 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
3816 | ||
3817 | * java/awt/DefaultKeyboardFocusManager.java | |
3818 | (dispatchEvent): Call method to get key event dispatchers. | |
3819 | (dispatchKeyEvent): Call method to get key event post processors. | |
3820 | * javax/swing/JComponent.java | |
3821 | (listenerList): Made protected. | |
3822 | * javax/swing/JOptionPane.java | |
3823 | (message): Don't initialize. | |
3824 | (JOptionPane): Set message text. | |
3825 | * javax/swing/JPopupMenu.java | |
3826 | (show): Fixed typo in argument name. | |
3827 | * javax/swing/RepaintManager.java | |
3828 | (paintDirtyRegions): Use public API of java.util.Map. | |
3829 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
3830 | (positionForMouseEvent): Removed redundant ';'. | |
3831 | (continueDrag): Use method arguments. | |
3832 | ||
5ba95354 RM |
3833 | 2004-05-29 Ranjit Mathew <rmathew@hotmail.com> |
3834 | ||
3835 | * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge | |
3836 | results. | |
3837 | ||
ca60dce2 BM |
3838 | 2004-05-28 Bryce McKinlay <mckinlay@redhat.com> |
3839 | ||
3840 | * gcj/cni.h (JvAllocBytes): New public CNI function. Calls | |
3841 | _Jv_AllocBytes. | |
3842 | * gnu/gcj/RawDataManaged.java: New file. | |
3843 | * java/lang/Thread.java (data): Declare as RawDataManaged. | |
3844 | * java/lang/natThread.cc (init_native): Cast natThread data to | |
3845 | RawDataManaged, not jobject. | |
3846 | * Makefile.am (ordinary_java_source_files): Add RawDataManaged. | |
3847 | * Makefile.in: Rebuilt. | |
3848 | ||
b9f065be JQ |
3849 | 2004-05-27 Jerry Quinn <jlquinn@optonline.net> |
3850 | ||
3851 | * java/util/SimpleTimeZone.java: Reverting my last change until I | |
3852 | can fix it properly. | |
3853 | ||
a4171ce1 MK |
3854 | 2004-05-27 Michael Koch <konqueror@gmx.de> |
3855 | ||
3856 | * javax/swing/JPopupMenu.java | |
3857 | (isVisible): Do not use visible directly. | |
3858 | (setVisible): Likewise. | |
3859 | * javax/swing/JWindow.java | |
3860 | (JWindow): call accessible constructor. | |
3861 | * javax/swing/RepaintManager.java | |
3862 | (paintDirtyRegions): Use public methods to obtain iterator. | |
3863 | ||
c5d2de6b GH |
3864 | 2004-05-25 David Jee <djee@redhat.com> |
3865 | ||
3866 | * java/awt/Container.java | |
3867 | (remove): Set component's parent to null only after we removed the | |
3868 | component from its parent's layout manager. | |
3869 | ||
3870 | 2004-05-25 David Jee <djee@redhat.com> | |
3871 | ||
3872 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
3873 | (GtkComponentPeer): Set bounds regardless of whether awtComponent | |
3874 | is valid. | |
3875 | * gnu/java/awt/peer/gtk/GtkListPeer.java | |
3876 | (getSize): Change native method declaration. | |
3877 | (minimumSize): Pass visible row count into getSize(). | |
3878 | (preferredSize): Likewise. | |
3879 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
3880 | (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's | |
3881 | natural size. Use visible row count to determine the final height | |
3882 | value to return. | |
3883 | ||
3884 | 2004-05-21 Graydon Hoare <graydon@redhat.com> | |
3885 | ||
3886 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
3887 | (setClip): Minor correction to order of operations. | |
3888 | ||
3889 | * javax/swing/JScrollPane.java: Extend sketchy implementation. | |
3890 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
3891 | * javax/swing/JViewPort.java: Likewise. | |
3892 | * javax/swing/ViewportLayout.java: Likewise. | |
3893 | ||
3894 | * javax/swing/JComponent.java: Rewrite. | |
3895 | * javax/swing/RepaintManager.java: Likewise. | |
3896 | ||
3897 | * javax/swing/JLayeredPane.java: Change validate() to revalidate(). | |
3898 | * javax/swing/JList.java | |
3899 | (setSelectedIndices): | |
3900 | (getSelectedIndices): | |
3901 | (getSelectedValues): New functions. | |
3902 | (getPreferredScrollableViewportSize): Return preferred size. | |
3903 | (getScrollableUnitIncrement): | |
3904 | (getScrollableBlockIncrement): Initial implementations. | |
3905 | * javax/swing/JRootPane.java: Clean up slightly. | |
3906 | (getUI): | |
3907 | (setUI): | |
3908 | (updateUI): | |
3909 | (getUIClassID): | |
3910 | (isValidateRoot): Add overrides from JComponent. | |
3911 | * javax/swing/JScrollBar.java: Set default orientation to VERTICAL. | |
3912 | * javax/swing/UIManager.java (getDimension): Return the dimension. | |
3913 | ||
3914 | * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque. | |
3915 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
3916 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
3917 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
3918 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
3919 | * javax/swing/plaf/basic/BasicSliderUI.java: Likewise. | |
3920 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
3921 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
3922 | Likewise, and set background. | |
3923 | * javax/swing/plaf/basic/BasicListUI.java: | |
3924 | Likewise, and improve a bit. | |
3925 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
3926 | Likewise, and adjust calculations. | |
3927 | * javax/swing/plaf/basic/BasicViewportUI.java: | |
3928 | Likewise, and improve a bit. | |
3929 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
3930 | (Button.margin): Shrink. | |
3931 | ||
3932 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
3933 | Hack to set horizontal always, workaround pango. | |
3934 | ||
3935 | * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API. | |
3936 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: | |
3937 | Synchronize more often, check cairo status after ops, | |
3938 | handle changes to cairo pattern API, check for disposal. | |
3939 | ||
3940 | 2004-05-21 Olga Rodimina <rodimina@redhat.com> | |
3941 | ||
3942 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3943 | (BasicMenuItemUI): Create propertyChangeListener. | |
3944 | (getPath):Implemented. | |
3945 | (installListeners): Add propertyChangeListener to menuItem. | |
3946 | (uninstallListeners): Remove propertyChangeListener from menuItem. | |
3947 | (update): Implemented. | |
3948 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
3949 | (mouseEntered): Take insets of popup menu into account when | |
3950 | calculating position of popup menu. | |
3951 | ||
3952 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
3953 | ||
3954 | * Makefile.am: Added new file. | |
3955 | * Makefile.in: Regenerate. | |
3956 | * javax/swing/JMenuBar.java: | |
3957 | Started implementation. | |
3958 | * javax/swing/JPopupMenu.java: | |
3959 | (setVisible): Fixed location of lightweight/mediumweight | |
3960 | popup menu. | |
3961 | (show): Fixed location of PopupMenu. | |
3962 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
3963 | New file. UI Delegate for JMenuBar. | |
3964 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
3965 | (mouseEntered): Corrected position of the submenu. | |
3966 | ||
3967 | 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3968 | ||
3969 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls | |
3970 | to _gtk_accel_group_attach. | |
3971 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
3972 | Likewise. | |
3973 | ||
3974 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont | |
3975 | package access. Don't override setFont. | |
3976 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise. | |
3977 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give | |
3978 | gtkWidgetRequestFocus package access. | |
3979 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override | |
3980 | setFont. | |
3981 | * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont. | |
3982 | Give gtkWidgetRequestFocus package access. | |
3983 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give | |
3984 | gtkWidgetRequestFocus package access. Don't override setFont. | |
3985 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override | |
3986 | setFont. | |
3987 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
3988 | (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical | |
3989 | region. | |
3990 | (gtkSetFont): Likewise. | |
3991 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont): | |
3992 | Implement. | |
3993 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
3994 | (gtkSetFont): Whitespace fix. | |
3995 | ||
3996 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3997 | (gtkWidgetSetUsize): Remove method. | |
3998 | ||
3999 | 2004-05-18 David Jee <djee@redhat.com> | |
4000 | ||
4001 | * java/awt/image/MemoryImageSource.java | |
4002 | (newPixels(int,int,int,int,boolean)): Set only the specified | |
4003 | rectangle of pixels. | |
4004 | (newPixels(byte[],ColorModel,int,int)): Implement. | |
4005 | (newPixels(int[],ColorModel,int,int)): Implement. | |
4006 | ||
4007 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
4008 | ||
4009 | * Makefile.am: Added new file. | |
4010 | * Makefile.in: Regenerate. | |
4011 | * javax/swing/JMenu.java: Started | |
4012 | implementation. | |
4013 | * javax/swing/JPopupMenu.java: | |
4014 | (insert): If specified index is -1, then | |
4015 | add component at the end. | |
4016 | (isPopupTrigger): Reimplemented. | |
4017 | (JPopupMenu.LightWeightPopup): setBounds | |
4018 | of the lightWeightPopup before adding it | |
4019 | to the layeredPane. | |
4020 | (javax/swing/plaf/basic/BasicIconFactory.java): | |
4021 | (getMenuArrowIcon): Implemented. | |
4022 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
4023 | (getPreferredSize): Add size of the arrow icon | |
4024 | if this menu item is instance of JMenu. | |
4025 | (paintMenuItem): Paint arrow icon if this | |
4026 | menu item is a submenu. | |
4027 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
4028 | New File. UI Delegate for JMenu. | |
4029 | ||
4030 | 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4031 | ||
4032 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): | |
4033 | Post KEY_TYPED events. | |
4034 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
4035 | (generates_key_typed_event): Remove function. | |
4036 | ||
4037 | 2004-05-17 Olga Rodimina <rodimina@redhat.com> | |
4038 | ||
4039 | * javax/swing/JRootPane.java | |
4040 | (JRootPane.RootLayout): Reimplemented to | |
4041 | set bounds of contentPane and menuBar. | |
4042 | (setJMenuBar): Add menu bar to the layered pane. | |
4043 | (createLayeredPane): Set layout of layeredPane | |
4044 | to null. | |
4045 | * javax/swing/JLayeredPane.java: | |
4046 | (addImpl): Calculate index of the component in the | |
4047 | layeredPane according to the specified position within | |
4048 | the layer. | |
4049 | ||
4050 | 2004-05-17 David Jee <djee@redhat.com> | |
4051 | ||
4052 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
4053 | (setPixels): Change color model to the default model after | |
4054 | converting pixels. | |
4055 | * java/awt/image/MemoryImageSource.java | |
4056 | (newPixels): Set only the specified rectangle of pixels. | |
4057 | ||
4058 | 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4059 | ||
4060 | * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet | |
4061 | -l-java-beans -l-javax-accessibility -l-javax-swing. | |
4062 | ||
4063 | * java/awt/AWTEvent.java (toString): Print source's name rather | |
4064 | than the source itself. | |
4065 | ||
4066 | 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4067 | ||
4068 | * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make | |
4069 | native. | |
4070 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | |
4071 | (gdk_color_to_java_color): New function. | |
4072 | * jni/gtk-peer/gtkpeer.h: Add SystemColor defines. | |
4073 | ||
4074 | 2004-05-12 David Jee <djee@redhat.com> | |
4075 | ||
4076 | * java/awt/image/RGBImageFilter.java: | |
4077 | Initialize origmodel as null. | |
4078 | (makeColor): Fix pixel component order. | |
4079 | (filterRGBPixels): Fix pixel iteration. | |
4080 | (setPixels): Add extra checks for index color model. Convert pixels | |
4081 | to default color model if necessary. | |
4082 | (convertColorModelToDefault): New override method for byte pixels. | |
4083 | (convertColorModelToDefault): For int pixels, fix pixel iteration. | |
4084 | (makeColorbyDefaultCM): New override method for byte pixels. | |
4085 | (makeColorbyDefaultCM): For int pixel, add color model as argument. | |
4086 | (makeColor): Fix pixel component order. | |
4087 | ||
4088 | 2004-05-11 Kim Ho <kho@redhat.com> | |
4089 | ||
4090 | * javax/swing/Box.java: | |
4091 | Comment out more parts of Box.Filler. | |
4092 | ||
4093 | 2004-05-11 Kim Ho <kho@redhat.com> | |
4094 | ||
4095 | * javax/swing/Box.java: | |
4096 | Remove reference to AccessibleAWTComponent so | |
4097 | it compiles again. | |
4098 | ||
4099 | 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4100 | ||
4101 | * gnu/java/awt/peer/gtk/GtkListPeer.java, | |
4102 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update | |
4103 | implementation of list peer to use GtkTreeView instead of | |
4104 | deprecated GtkCList. | |
4105 | ||
4106 | 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4107 | ||
4108 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
4109 | (gtkWidgetDispatchKeyEvent): Remove keyChar parameter. | |
4110 | (handleEvent): Remove keyChar argument to | |
4111 | gtkWidgetDispatchKeyEvent calls. | |
4112 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix | |
4113 | compiler warnings. | |
4114 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
4115 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise. | |
4116 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
4117 | Likewise. | |
4118 | ||
4119 | 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4120 | ||
4121 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
4122 | (gtkWidgetRequestFocus): Mark protected. | |
4123 | (GtkComponentPeer): Only set the peer's bounds if its component | |
4124 | is valid. | |
4125 | * java/awt/Component.java (static): Set the default keyboard | |
4126 | focus manager. | |
4127 | (requestFocus(), requestFocus(boolean), requestFocusInWindow(), | |
4128 | requestFocusInWindow(temporary)): Don't request focus if the | |
4129 | component is not showing. Get tree lock before traversing | |
4130 | component hierarchy. | |
4131 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
4132 | Only set the global focus owner if it is not a Window. | |
4133 | (processKeyEvent): Consume keystrokes associated with the focus | |
4134 | traversal keystroke. | |
4135 | (focusPreviousComponent, focusNextComponent, upFocusCycle, | |
4136 | downFocusCycle): Call requestFocusInWindow instead of | |
4137 | requestFocus. | |
4138 | * java/awt/EventDispatchThread.java (run): Move setting of | |
4139 | default keyboard focus manager to Component.java. | |
4140 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
4141 | (awt_keycode_to_keysym): New function. | |
4142 | (gtkWidgetDispatchKeyEvent): Finish implementation. | |
4143 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
4144 | (pre_event_handler): Add FIXME comment. | |
4145 | ||
4146 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
4147 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
4148 | (gtkWidgetRequestFocus): New method. | |
4149 | * java/awt/TextArea.java (TextArea): Set focus traversal keys to | |
4150 | disable Tab and Shift-Tab keystrokes. | |
4151 | (addNotify, appendText, insertText, replaceText): Simplify peer | |
4152 | retrieval code. | |
4153 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
4154 | (connectSignals): Remove connections to "commit" signals. | |
4155 | Remove C++-style comments. | |
4156 | ||
4157 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
4158 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
4159 | (handleEvent): Activate GTK button when the space bar key is | |
4160 | pressed. | |
4161 | (gtkActivate): New method. | |
4162 | ||
4163 | 2004-05-06 David Jee <djee@redhat.com> | |
4164 | ||
4165 | * java/awt/image/CropImageFilter.java | |
4166 | (setPixels): Implement for byte array pixels. | |
4167 | * java/awt/image/ReplicateScaleFilter.java | |
4168 | (setPixels): Implement for byte array pixels. | |
4169 | (replicatePixels): Overload for byte array pixels. | |
4170 | ||
4171 | 2004-05-06 Kim Ho <kho@redhat.com> | |
4172 | ||
4173 | * javax/swing/Box.java: | |
4174 | (getAccessibleContext): Return an instance of the | |
4175 | correct class. | |
4176 | ||
4177 | 2004-05-05 David Jee <djee@redhat.com> | |
4178 | ||
4179 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
4180 | (drawImage): When component is null, use SystemColor.window as | |
4181 | the default bgcolor. | |
4182 | * gnu/java/awt/peer/gtk/GtkImage.java | |
4183 | (setPixels): We can avoid iterating through the pixel rows only | |
4184 | when height is 1. | |
4185 | * java/awt/Image.java | |
4186 | (getScaledInstance): Partially implement. | |
4187 | * java/awt/image/CropImageFilter.java | |
4188 | (setProperties): Fix "filter" property. | |
4189 | (setPixels): Implement. | |
4190 | * java/awt/image/ReplicateScaleFilter.java | |
4191 | (setDimensions): Use scaled dimensions. | |
4192 | (setPixels): Implement. | |
4193 | (replicatePixels): New method. | |
4194 | ||
4195 | 2004-05-05 David Jee <djee@redhat.com> | |
4196 | ||
4197 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
4198 | (convertPixels): If either pixels or model is null, return null. | |
4199 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c | |
4200 | (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels | |
4201 | is null, do nothing and return. | |
4202 | ||
4203 | 2004-05-03 Kim Ho <kho@redhat.com> | |
4204 | ||
4205 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java: | |
4206 | (getGraphics): Like GtkFramePeer, the Graphics | |
4207 | object needs to be translate to account for | |
4208 | window decorations. | |
4209 | (postMouseEvent): New method. Account for | |
4210 | translation. | |
4211 | (postExposeEvent): ditto. | |
4212 | * javax/swing/Box.java: Stubbed. | |
4213 | * javax/swing/JDialog.java: Ran through jalopy | |
4214 | to fix indentation. | |
4215 | (JDialog): Call SwingUtilities' getOwnerFrame | |
4216 | for null owners. | |
4217 | (setLayout): Check isRootPaneCheckingEnabled | |
4218 | * javax/swing/JOptionPane.java: Re-implemented. | |
4219 | * javax/swing/SwingUtilities.java: | |
4220 | (getOwnerFrame): Static method to grab a default | |
4221 | owner frame for Dialogs that don't specify owners. | |
4222 | * javax/swing/event/SwingPropertyChangeSupport.java: | |
4223 | (firePropertyChange): Fix early exit condition. | |
4224 | * javax/swing/plaf/basic/BasicLabelUI.java: | |
4225 | (paint): Avoid painting text if it is null | |
4226 | or empty. | |
4227 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
4228 | Implement. | |
4229 | ||
4230 | 2004-05-03 Olga Rodimina <rodimina@redhat.com> | |
4231 | ||
4232 | * Makefile.am: Added new file. | |
4233 | * Makefile.in: Regenerate. | |
4234 | * javax/swing/JPopupMenu.java: | |
4235 | Started implementation. | |
4236 | * javax/swing/JWindow.java | |
4237 | (JWindow): call super() if parent for window | |
4238 | is not specified. | |
4239 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
4240 | New File. UI Delegate for JPopupMenu. | |
4241 | ||
4242 | 2004-04-30 Olga Rodimina <rodimina@redhat.com> | |
4243 | ||
4244 | * javax/swing/JApplet.java: Indicated that JApplet | |
4245 | implements RootPaneContainer and made method of this | |
4246 | interface public. | |
4247 | * javax/swing/JFrame.java: Ditto. | |
4248 | * javax/swing/JWindow.java: Ditto. | |
4249 | ||
4250 | 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4251 | ||
4252 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
4253 | (nativeSetBounds): Call gdk_window_move in addition to | |
4254 | gtk_window_move. | |
4255 | ||
4256 | * java/applet/Applet.java (preferredSize): Call parent's | |
4257 | preferredSize if the applet stub is null. | |
4258 | (minimumSize): Likewise for parent's minimumSize. | |
4259 | ||
4260 | 2004-04-27 Olga Rodimina <rodimina@redhat.com> | |
4261 | ||
4262 | * javax/swing/JMenuItem.java | |
4263 | (createActionPropertyChangeListener): Implemented. | |
4264 | (processMouseEvent): Ditto. | |
4265 | (fireMenuDragMouseEntered): Ditto. | |
4266 | (fireMenuDragMouseExited): Ditto. | |
4267 | (fireMenuDragMouseDragged): Ditto. | |
4268 | (fireMenuDragMouseReleased): Ditto. | |
4269 | (menuSelectionChanged): Ditto. | |
4270 | (getSubElements): Ditto. | |
4271 | (getComponent): Ditto. | |
4272 | (addMenuDragMouseListener): Ditto. | |
4273 | (removeMenuDragMouseListener):Ditto. | |
4274 | (addMenuKeyListener): Ditto. | |
4275 | (removeMenuKeyListener): Ditto. | |
4276 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
4277 | (doClick): Imlemented. | |
4278 | * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler: | |
4279 | Don't handle mouse events here. Pass them to | |
4280 | MenuSelectionManager. | |
4281 | ||
4282 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
4283 | Used correct version of jalopy configuration | |
4284 | file to fix style in the files below. | |
4285 | ||
4286 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
4287 | ||
4288 | * javax/swing/JCheckBoxMenuItem.java: | |
4289 | Fixed style and removed unnecessary comments. | |
4290 | * javax/swing/JMenuItem.java: Ditto. | |
4291 | * javax/swing/JRadioButtonMenuItem.java: Ditto. | |
4292 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto. | |
4293 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto. | |
4294 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto. | |
4295 | ||
4296 | 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4297 | ||
4298 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to | |
4299 | C-style. | |
4300 | ||
4301 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment. | |
4302 | ||
4303 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
4304 | (getComponentAfter): Start from current component and work up | |
4305 | the component hierarchy until an acceptable component is found. | |
4306 | Synchronize on tree lock. | |
4307 | (getComponentBefore): Likewise. | |
4308 | ||
4309 | 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4310 | ||
4311 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove | |
4312 | focus-related debugging messages. | |
4313 | * java/awt/DefaultKeyboardFocusManager.java: Likewise. | |
4314 | * java/awt/EventDispatchThread.java: Likewise. | |
4315 | * java/awt/KeyboardFocusManager.java: Likewise. | |
4316 | * java/awt/Window.java: Likewise. | |
4317 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
4318 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
4319 | ||
4320 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change | |
4321 | new C++-style comments to C-style comments. | |
4322 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
4323 | ||
4324 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
4325 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
4326 | (handleEvent): Dispatch key press and key release events to | |
4327 | backing widget. | |
4328 | (requestFocus): Post a FOCUS_GAINED event to the event queue. | |
4329 | (gtkWidgetRequestFocus): New method. | |
4330 | (gtkWidgetDispatchKeyEvent): Likewise. | |
4331 | * java/awt/Component.java (requestFocus, requestFocus(boolean), | |
4332 | requestFocusInWindow, requestFocusInWindow(boolean), | |
4333 | getFocusCycleRootAncestor, nextFocus, transferFocus, | |
4334 | transferFocusBackward, transferFocusUpCycle, hasFocus, | |
4335 | isFocusOwner): Implement and document focus-handling methods. | |
4336 | (setFocusTraversalKeys): Inherit focus traversal keys when | |
4337 | keystrokes argument is null. Fix focus-handling documentation | |
4338 | throughout class. | |
4339 | * java/awt/Container.java (setFocusTraversalKeys, | |
4340 | getFocusTraversalKeys, areFocusTraversalKeysSet, | |
4341 | isFocusCycleRoot, setFocusTraversalPolicy, | |
4342 | getFocusTraversalPolicy, isFocusTraversalPolicySet, | |
4343 | setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle): | |
4344 | Implement and document focus-handling methods. | |
4345 | (transferFocusBackward): Remove method. | |
4346 | (readObject, writeObject): Implement and document serialization | |
4347 | methods. | |
4348 | * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement | |
4349 | and document. | |
4350 | * java/awt/DefaultFocusTraversalPolicy.java: Implement and | |
4351 | document. | |
4352 | * java/awt/DefaultKeyboardFocusManager.java: Implement and | |
4353 | partially document. | |
4354 | * java/awt/EventDispatchThread.java (run): Set default keyboard | |
4355 | focus manager. Attempt to dispatch each event to the keyboard | |
4356 | focus manager before normal dispatch. | |
4357 | * java/awt/KeyboardFocusManager.java: Implement and partially | |
4358 | document. | |
4359 | * java/awt/Window.java (Window): Set focusCycleRoot to true. | |
4360 | (show): Focus initial component when window is shown for the | |
4361 | first time. | |
4362 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
4363 | (pre_event_handler): Replace complex key press and key release | |
4364 | logic with simple callbacks into GtkComponentPeer. | |
4365 | * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal. | |
4366 | ||
4367 | 2004-04-21 Olga Rodimina <rodimina@redhat.com> | |
4368 | ||
4369 | * javax/swing/MenuSelectionManager.java | |
4370 | (componentForPoint): Added new method. | |
4371 | (defaultManager): New Method. Implemented. | |
4372 | (getSelectedPath): Ditto. | |
4373 | (isComponentPartOfCurrentMenu): Ditto. | |
4374 | (processKeyEvent): Added new method. | |
4375 | (processMouseEvent): New Method. Implemented. | |
4376 | (setSelectedPath): Ditto. | |
4377 | (getPath): Ditto. | |
4378 | ||
4379 | 2004-04-19 Kim Ho <kho@redhat.com> | |
4380 | ||
4381 | * java/awt/Container.java: | |
4382 | (remove): Set the component's parent to null. | |
4383 | (getComponentAt): Implement. | |
4384 | * javax/swing/JComponent.java: | |
4385 | (JComponent): Initialize defaultLocale | |
4386 | (getDefaultLocale): Implement. | |
4387 | (setDefaultLocale): ditto. | |
4388 | * javax/swing/JSlider.java: | |
4389 | (JSlider): Fix calculation of value. | |
4390 | * javax/swing/JSplitPane.java: Implement. | |
4391 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
4392 | Change SplitPane's default divider size. | |
4393 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
4394 | (paint): Remove unused code. | |
4395 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
4396 | Added comments and ran through jalopy. | |
4397 | (setBasicSplitPaneUI): Get reference to hidden divider | |
4398 | and set up one touch buttons if necessary. | |
4399 | (setBorder): Fire propertyChangeEvent only if | |
4400 | borders are different. | |
4401 | (getPreferredSize): Defer to layout manager. | |
4402 | (propertyChange): Implement. | |
4403 | (oneTouchExpandableChanged): ditto. | |
4404 | (createLeftOneTouchButton): Use BasicArrowButton. | |
4405 | (createRightOneTouchButton): ditto. | |
4406 | (moveDividerTo): New method. Moves the divider | |
4407 | to a set location based on the last divider location. | |
4408 | (BasicSplitPaneDivider::MouseHandler): Implement. | |
4409 | (BasicSplitPaneDivider::OneTouchButton): Removed. | |
4410 | (BasicSplitPaneDivider::DragController): Implement. | |
4411 | (BasicSplitPaneDivider::VerticalDragController): | |
4412 | ditto. | |
4413 | (BasicSplitPaneDivider::DividerLayout): ditto. | |
4414 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement. | |
4415 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
4416 | (calculateLayoutInfo): Don't show component if it's | |
4417 | null. | |
4418 | (paintTab): Fix title paint logic. | |
4419 | ||
2140214f JQ |
4420 | 2004-05-26 Jerry Quinn <jlquinn@optonline.net> |
4421 | ||
4422 | PR libgcj/8321 | |
4423 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
4424 | (setStartRule,setEndRule): Don't take abs of day number. | |
4425 | (getOffset): Clarify docs. Add argument checks. | |
4426 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
4427 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
4428 | endTimeMode. | |
4429 | * testsuite/libjava.mauve/xfails | |
4430 | (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22. | |
4431 | ||
17abdabc BM |
4432 | 2004-05-21 Bryce McKinlay <mckinlay@redhat.com> |
4433 | ||
4434 | Layout interfaces during preparation, not initialization. | |
4435 | * java/lang/natClass.cc (initializeClass): Move | |
4436 | _Jv_LayoutInterfaceMethods call... | |
4437 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here. | |
4438 | ||
0fa13661 AG |
4439 | 2004-05-19 Anthony Green <green@localhost.localdomain> |
4440 | ||
4441 | * Makefile.am (awt_java_source_files): Remove javax.rmi and | |
4442 | gnu.javax.rmi code. | |
4443 | * Makefile.in: Rebuilt. | |
4444 | * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java, | |
4445 | javax/rmi/UtilDelegate.java, javax/rmi/Stub.java, | |
4446 | javax/rmi/Util.java, javax/rmi/ObjectImpl.java, | |
4447 | javax/rmi/SystemException.java, javax/rmi/ValueHandler.java, | |
4448 | javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java, | |
4449 | gnu/javax/rmi/CORBA/DelegateFactory.java, | |
4450 | gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, | |
4451 | gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, | |
4452 | gnu/javax/rmi/CORBA/StubDelegateImpl.java, | |
4453 | gnu/javax/rmi/CORBA/UtilDelegateImpl.java, | |
4454 | gnu/javax/rmi/CORBA/ValueHandlerImpl.java, | |
4455 | gnu/javax/rmi/PortableServer.java: Remove files. | |
4456 | ||
0f22079e AG |
4457 | 2004-05-19 Anthony Green <green@redhat.com> |
4458 | ||
4459 | * Makefile.am: Define JAVA_EXT_DIRS. | |
4460 | * Makefile.in: Rebuilt. | |
4461 | * java/lang/natRuntime.cc (insertSystemProperties): Set | |
4462 | java.ext.dirs property. | |
4463 | ||
9152dcf4 MW |
4464 | 2004-05-16 Mark Wielaard <mark@klomp.org> |
4465 | ||
4466 | * java/io/Writer.java (Writer(Object)): Check for null lock object. | |
4467 | ||
fb0e7ec0 MW |
4468 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
4469 | ||
4470 | * doc/cni.sgml: Removed, merged into gcj.texi. | |
4471 | ||
85ff6f62 MW |
4472 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
4473 | ||
4474 | * Makefile.am (ordinary_java_source_files): Add new javax.print | |
4475 | classes. | |
4476 | * Makefile.in: Regenerated. | |
4477 | ||
4478 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4479 | ||
4480 | * javax/print/attribute/standard/DateTimeAtCompleted.java, | |
4481 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
4482 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
4483 | javax/print/attribute/standard/DocumentName.java, | |
4484 | javax/print/attribute/standard/JobHoldUntil.java, | |
4485 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
4486 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
4487 | javax/print/attribute/standard/JobName.java, | |
4488 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
4489 | javax/print/attribute/standard/JobPriority.java, | |
4490 | javax/print/attribute/standard/JobPrioritySupported.java, | |
4491 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
4492 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
4493 | javax/print/attribute/standard/PrinterInfo.java, | |
4494 | javax/print/attribute/standard/PrinterLocation.java, | |
4495 | javax/print/attribute/standard/PrinterMakeAndModel.java, | |
4496 | javax/print/attribute/standard/PrinterMessageFromOperator.java, | |
4497 | javax/print/attribute/standard/PrinterName.java, | |
4498 | javax/print/attribute/standard/QueuedJobCount.java, | |
4499 | javax/print/attribute/standard/RequestingUserName.java: | |
4500 | Fixed javadocs all over. | |
4501 | ||
4502 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4503 | ||
4504 | * javax/print/DocFlavor.java, | |
4505 | javax/print/attribute/standard/ColorSupported.java, | |
4506 | javax/print/attribute/standard/Compression.java, | |
4507 | javax/print/attribute/standard/CopiesSupported.java, | |
4508 | javax/print/attribute/standard/Fidelity.java, | |
4509 | javax/print/attribute/standard/Finishings.java, | |
4510 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
4511 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
4512 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
4513 | javax/print/attribute/standard/JobSheets.java, | |
4514 | javax/print/attribute/standard/JobState.java, | |
4515 | javax/print/attribute/standard/JobStateReason.java, | |
4516 | javax/print/attribute/standard/JobStateReasons.java, | |
4517 | javax/print/attribute/standard/Media.java, | |
4518 | javax/print/attribute/standard/MediaSizeName.java, | |
4519 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
4520 | javax/print/attribute/standard/NumberUpSupported.java, | |
4521 | javax/print/attribute/standard/OrientationRequested.java, | |
4522 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
4523 | javax/print/attribute/standard/PageRanges.java, | |
4524 | javax/print/attribute/standard/PresentationDirection.java, | |
4525 | javax/print/attribute/standard/PrintQuality.java, | |
4526 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
4527 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
4528 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
4529 | javax/print/attribute/standard/PrinterResolution.java, | |
4530 | javax/print/attribute/standard/PrinterState.java, | |
4531 | javax/print/attribute/standard/PrinterStateReason.java, | |
4532 | javax/print/attribute/standard/PrinterStateReasons.java, | |
4533 | javax/print/attribute/standard/PrinterURI.java, | |
4534 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
4535 | javax/print/attribute/standard/Severity.java, | |
4536 | javax/print/attribute/standard/SheetCollate.java, | |
4537 | javax/print/attribute/standard/Sides.java: | |
4538 | Added serialVersionUID and removed final keyword where it doenst | |
4539 | belong. | |
4540 | ||
4541 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4542 | ||
4543 | * javax/print/PrintServiceLookup.java: New file. | |
4544 | ||
4545 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4546 | ||
4547 | * javax/print/DocFlavor.java: | |
4548 | Implemented all flavor classes. | |
4549 | ||
4550 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4551 | ||
4552 | * javax/print/attribute/standard/ColorSupported.java, | |
4553 | javax/print/attribute/standard/Compression.java, | |
4554 | javax/print/attribute/standard/CopiesSupported.java, | |
4555 | javax/print/attribute/standard/Fidelity.java, | |
4556 | javax/print/attribute/standard/Finishings.java, | |
4557 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
4558 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
4559 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
4560 | javax/print/attribute/standard/JobSheets.java, | |
4561 | javax/print/attribute/standard/JobState.java, | |
4562 | javax/print/attribute/standard/JobStateReason.java, | |
4563 | javax/print/attribute/standard/JobStateReasons.java, | |
4564 | javax/print/attribute/standard/Media.java, | |
4565 | javax/print/attribute/standard/MediaSizeName.java, | |
4566 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
4567 | javax/print/attribute/standard/NumberUpSupported.java, | |
4568 | javax/print/attribute/standard/OrientationRequested.java, | |
4569 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
4570 | javax/print/attribute/standard/PageRanges.java, | |
4571 | javax/print/attribute/standard/PresentationDirection.java, | |
4572 | javax/print/attribute/standard/PrintQuality.java, | |
4573 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
4574 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
4575 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
4576 | javax/print/attribute/standard/PrinterResolution.java, | |
4577 | javax/print/attribute/standard/PrinterState.java, | |
4578 | javax/print/attribute/standard/PrinterStateReason.java, | |
4579 | javax/print/attribute/standard/PrinterStateReasons.java, | |
4580 | javax/print/attribute/standard/PrinterURI.java, | |
4581 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
4582 | javax/print/attribute/standard/Severity.java, | |
4583 | javax/print/attribute/standard/SheetCollate.java, | |
4584 | javax/print/attribute/standard/Sides.java: New files. | |
4585 | ||
4586 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4587 | ||
4588 | * javax/print/Doc.java | |
4589 | (getPrintData): Throws IOException. | |
4590 | (getReaderForText): Likewise. | |
4591 | (getStreamForBytes): Likewise. | |
4592 | * javax/print/DocFlavor.java: | |
4593 | Fixed filename in copyright. | |
4594 | (serialVersionUID): New field. | |
4595 | * javax/print/ServiceUIFactory.java: | |
4596 | Made all constants final. | |
4597 | * javax/print/AttributeException.java | |
4598 | javax/print/MultiDoc.java | |
4599 | javax/print/MultiDocPrintJob.java | |
4600 | javax/print/MultiDocPrintService.java | |
4601 | javax/print/StreamPrintService.java | |
4602 | javax/print/URIException.java: New files. | |
4603 | * javax/print/Makefile.am | |
4604 | (EXTRA_DIST): Added all new files. | |
4605 | ||
4606 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4607 | ||
4608 | * javax/print/attribute/standard/Copies.java, | |
4609 | javax/print/attribute/standard/DateTimeAtCompleted.java, | |
4610 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
4611 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
4612 | javax/print/attribute/standard/DocumentName.java, | |
4613 | javax/print/attribute/standard/JobHoldUntil.java, | |
4614 | javax/print/attribute/standard/JobImpressions.java, | |
4615 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
4616 | javax/print/attribute/standard/JobKOctets.java, | |
4617 | javax/print/attribute/standard/JobKOctetsProcessed.java, | |
4618 | javax/print/attribute/standard/JobMediaSheets.java, | |
4619 | javax/print/attribute/standard/JobMediaSheetsCompleted.java, | |
4620 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
4621 | javax/print/attribute/standard/JobName.java, | |
4622 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
4623 | javax/print/attribute/standard/JobPriority.java, | |
4624 | javax/print/attribute/standard/JobPrioritySupported.java, | |
4625 | javax/print/attribute/standard/NumberOfDocuments.java, | |
4626 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
4627 | javax/print/attribute/standard/NumberUp.java, | |
4628 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
4629 | javax/print/attribute/standard/PagesPerMinute.java, | |
4630 | javax/print/attribute/standard/PagesPerMinuteColor.java: | |
4631 | Fixed @return tag all over. | |
4632 | ||
4633 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4634 | ||
4635 | * javax/print/attribute/AttributeSetUtilities.java | |
4636 | (verifyCategoryForValue): Fixed typo in javadoc. | |
4637 | * javax/print/attribute/HashAttributeSet.java | |
4638 | (containsKey): Fixed @return tag. | |
4639 | (comtainsValue): Likewise. | |
4640 | (equals): Likewise. | |
4641 | * javax/print/attribute/IntegerSyntax.java | |
4642 | (equals): Likewise. | |
4643 | * javax/print/attribute/ResolutionSyntax.java | |
4644 | (equals): Likewise. | |
4645 | (getCrossFeedResolution): Removed unused code. | |
4646 | (getFeedResolution): Likewise. | |
4647 | * javax/print/attribute/SetOfIntegerSyntax.java | |
4648 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
4649 | (equals): Fixed @return tag. | |
4650 | * javax/print/attribute/TextSyntax.java | |
4651 | (TextSyntax): Take locale into account. | |
4652 | (hashCode): Better implementation. | |
4653 | ||
4654 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
4655 | ||
4656 | * javax/print/CancelablePrintJob.java, | |
4657 | javax/print/Doc.java, | |
4658 | javax/print/DocFlavor.java, | |
4659 | javax/print/DocPrintJob.java, | |
4660 | javax/print/FlavorException.java, | |
4661 | javax/print/PrintException.java, | |
4662 | javax/print/PrintService.java, | |
4663 | javax/print/ServiceUIFactory.java: New files. | |
4664 | ||
f437e359 MW |
4665 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
4666 | ||
4667 | * gnu/regexp/CharIndexedReader.java: Removed. | |
4668 | * gnu/regexp/REFilterReader.java: Likewise. | |
4669 | * gnu/regexp/RETokenLookAhead.java: Likewise. | |
4670 | * Makefile.am (ordinary_java_source_files): Remove above classes. | |
4671 | * Makefile.in: Regenerated. | |
4672 | ||
ae0d0d59 TT |
4673 | 2004-05-14 Tom Tromey <tromey@redhat.com> |
4674 | ||
4675 | * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage', | |
4676 | not `XGraphicsConfiguration.XOffScreenImage'. | |
4677 | ||
1cd29ad2 SG |
4678 | 2004-05-14 Scott Gilbertson <scottg@mantatest.com> |
4679 | ||
4680 | * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap. | |
4681 | ||
a01a235c SA |
4682 | 2004-05-14 Steven Augart <augart@watson.ibm.com> |
4683 | ||
4684 | * include/jni.h (_Jv_func): Removed. | |
4685 | (struct JNINativeInterface): Use `void *' for reserved slots. | |
4686 | (struct JNIInvokeInterface): Likewise. | |
4687 | ||
8f0b9daa MK |
4688 | 2004-05-11 Michael Koch <konqueror@gmx.de> |
4689 | ||
4690 | * gnu/java/net/natPlainSocketImplPosix.cc | |
4691 | (read): Fixed typo in expression. | |
4692 | ||
3f68457e AT |
4693 | 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch> |
4694 | ||
4695 | * testsuite/lib/libjava.exp (libjava_invoke): Add new argument | |
4696 | ld_library_additions. Adjust all calls to libjava_invoke to match | |
4697 | the new argument. | |
4698 | ||
4699 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++ | |
4700 | path to cxxflagslist. | |
4701 | Pass path of libstdc++ to libjava_invoke. | |
4702 | ||
4703 | * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust | |
4704 | libjava_invoke arguments. | |
4705 | ||
731d47a6 RM |
4706 | 2004-05-10 Ranjit Mathew <rmathew@hotmail.com> |
4707 | ||
4708 | * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current | |
4709 | reality. | |
4710 | ||
8e31e128 RM |
4711 | 2004-05-07 Ranjit Mathew <rmathew@gmail.com> |
4712 | ||
4713 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the | |
4714 | main binary against the JNI shared library. | |
4715 | ||
61af3d86 JQ |
4716 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> |
4717 | ||
4718 | * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode, | |
4719 | WALL_TIME, STANDARD_TIME, UTC_TIME): New members. | |
4720 | (SimpleTimeZone): Tweak docs. Add new variation. | |
4721 | (setStartRule,setEndRule): Add new variations. Use | |
4722 | startTimeMode and endTimeMode. | |
4723 | ||
4724 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> | |
4725 | ||
4726 | * java/util/Calendar.java (getActualMinimum, | |
4727 | getActualMaximum): Remove abstract. Implement. | |
4728 | ||
579f9640 BM |
4729 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
4730 | ||
4731 | Run the jni tests using the interpreter. | |
4732 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append | |
4733 | options_cxx to shared lib compile command. | |
4734 | (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so | |
4735 | they are used to link the shared lib, not the main binary. | |
4736 | Use libjava_invoke to run gij. | |
4737 | ||
0a215a11 MK |
4738 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4739 | ||
4740 | * java/util/logging/Level.java | |
4741 | (parse): Use == instead of String.equals(). | |
4742 | ||
e51f7aeb BM |
4743 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
4744 | ||
4745 | * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use | |
4746 | verify_field_signature and verify_method_signature, not | |
4747 | _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature. | |
4748 | (_Jv_ClassReader::handleField): Likewise. | |
4749 | (_Jv_ClassReader::handleMethod): Likewise. | |
4750 | ||
c8395524 MK |
4751 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4752 | ||
4753 | * javax/swing/table/TableColumn.java: | |
4754 | Reformated. | |
4755 | ||
c8b86f1a MK |
4756 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4757 | ||
4758 | * javax/imageio/spi/ImageReaderWriterSpi.java | |
4759 | (ImageReaderWriterSpi): Made it public. | |
4760 | * javax/imageio/stream/ImageInputStream.java: | |
4761 | Clean up imports. | |
4762 | ||
9f2eefb7 MK |
4763 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4764 | ||
4765 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
4766 | Removed empty line. | |
4767 | ||
45505d4d MK |
4768 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
4769 | ||
4770 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c, | |
4771 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c: | |
4772 | New files. | |
4773 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c: | |
4774 | Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h. | |
4775 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
4776 | Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to | |
4777 | their own source file. | |
4778 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
4779 | Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to | |
4780 | their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize. | |
4781 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
4782 | (create): Define variable on top of function. | |
4783 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
4784 | (menu_pos): Prototyped. | |
4785 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
4786 | (setTitle): Removed. | |
4787 | * jni/gtk-peer/gthread-jni.c | |
4788 | (gdk_threads_wake): Removed. | |
4789 | * Makefile.am (gtk_c_source_files): Added new files | |
4790 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and | |
4791 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c. | |
4792 | * Makefile.in: Regenerated. | |
4793 | ||
74e94435 BM |
4794 | 2004-05-05 Bryce McKinlay <mckinlay@redhat.com> |
4795 | ||
4796 | * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary() | |
4797 | call. | |
4798 | ||
68ea5833 MW |
4799 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
4800 | ||
4801 | * javax/swing/AbstractButton.java: Replace special HTML entities with | |
4802 | ASCII equivalent. | |
4803 | * javax/swing/DefaultBoundedRangeModel.java: Likewise. | |
4804 | * javax/swing/DefaultButtonModel.java: Likewise. | |
4805 | * javax/swing/DefaultListModel.java: Likewise. | |
4806 | * javax/swing/JList.java: Likewise. | |
4807 | * javax/swing/JSlider.java: Likewise. | |
4808 | * javax/swing/ListModel.java: Likewise. | |
4809 | * javax/swing/Popup.java: Likewise. | |
4810 | * javax/swing/SwingUtilities.java: Likewise. | |
4811 | ||
880fa238 MK |
4812 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
4813 | ||
4814 | * javax/swing/AbstractButton.java, | |
4815 | javax/swing/ActionMap.java, | |
4816 | javax/swing/DefaultButtonModel.java, | |
4817 | javax/swing/DefaultListModel.java, | |
4818 | javax/swing/ImageIcon.java, | |
4819 | javax/swing/JComboBox.java, | |
4820 | javax/swing/JComponent.java, | |
4821 | javax/swing/JFrame.java, | |
4822 | javax/swing/JInternalFrame.java, | |
4823 | javax/swing/JMenuBar.java, | |
4824 | javax/swing/JMenuItem.java, | |
4825 | javax/swing/JOptionPane.java, | |
4826 | javax/swing/JProgressBar.java, | |
4827 | javax/swing/JRootPane.java, | |
4828 | javax/swing/JScrollBar.java, | |
4829 | javax/swing/JScrollPane.java, | |
4830 | javax/swing/JSeparator.java, | |
4831 | javax/swing/JSlider.java, | |
4832 | javax/swing/JTabbedPane.java, | |
4833 | javax/swing/JTable.java, | |
4834 | javax/swing/JTextField.java, | |
4835 | javax/swing/JToolBar.java, | |
4836 | javax/swing/JToolTip.java, | |
4837 | javax/swing/JTree.java, | |
4838 | javax/swing/JViewport.java, | |
4839 | javax/swing/JWindow.java, | |
4840 | javax/swing/KeyStroke.java, | |
4841 | javax/swing/LookAndFeel.java, | |
4842 | javax/swing/SwingUtilities.java, | |
4843 | javax/swing/Timer.java, | |
4844 | javax/swing/ToolTipManager.java, | |
4845 | javax/swing/UIDefaults.java, | |
4846 | javax/swing/border/TitledBorder.java, | |
4847 | javax/swing/filechooser/FileSystemView.java, | |
4848 | javax/swing/plaf/basic/BasicButtonListener.java, | |
4849 | javax/swing/plaf/basic/BasicButtonUI.java, | |
4850 | javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java, | |
4851 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
4852 | javax/swing/plaf/basic/BasicLabelUI.java, | |
4853 | javax/swing/plaf/basic/BasicMenuItemUI.java, | |
4854 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
4855 | javax/swing/plaf/basic/BasicRootPaneUI.java, | |
4856 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
4857 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
4858 | javax/swing/plaf/basic/BasicSliderUI.java, | |
4859 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
4860 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
4861 | javax/swing/table/JTableHeader.java, | |
4862 | javax/swing/text/AbstractDocument.java, | |
4863 | javax/swing/text/DefaultCaret.java, | |
4864 | javax/swing/text/StyledEditorKit.java, | |
4865 | javax/swing/tree/DefaultTreeCellEditor.java: | |
4866 | Cleaned up imports. | |
4867 | ||
4a93a226 MK |
4868 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
4869 | ||
4870 | * java/util/prefs/AbstractPreferences.java | |
4871 | (AbstractPreferences): Added parenthesis for clarity. | |
4872 | Closes classpath bug #7940. | |
4873 | ||
aaec686e TT |
4874 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
4875 | ||
4876 | * javax/naming/CompoundName.java (endsWith): Look at correct | |
4877 | element of source name. | |
4878 | ||
b1210ca2 MW |
4879 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
4880 | ||
4881 | Reported by f.haeglsperger@gmx.de [classpath patch #2485] | |
4882 | * java/util/HashMap.java (rehash): Add entry at start of bucket. | |
4883 | ||
a54f498a TT |
4884 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
4885 | ||
4886 | * java/io/BufferedReader.java (skip): Removed unused | |
4887 | variable. | |
4888 | ||
e8430418 MK |
4889 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
4890 | ||
4891 | * java/awt/FileDialog.java: Import java.io.Serializable explicitly. | |
4892 | ||
f32c742c DT |
4893 | 2004-05-05 Dalibor Topic <robilad@kaffe.org> |
4894 | ||
4895 | * java/text/AttributedString.java, | |
4896 | java/text/AttributedStringIterator.java, | |
4897 | java/text/Collator.java, | |
4898 | java/text/DecimalFormatSymbols.java, | |
4899 | java/text/NumberFormat.java, | |
4900 | java/text/RuleBasedCollator.java: | |
4901 | Cleaned up imports. | |
4902 | ||
d70bd7ff TT |
4903 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
4904 | ||
4905 | * java/text/Format.java: Cleaned up imports. | |
4906 | * java/text/DecimalFormat.java: Cleaned up imports. | |
4907 | * java/security/SecureRandom.java: Cleaned up imports. | |
4908 | (SecureRandom): Removed unused variable. | |
4909 | * java/security/UnresolvedPermission.java: Cleaned up imports. | |
4910 | * java/util/Date.java (parse): Removed unused variable. | |
4911 | * java/util/ResourceBundle.java: Cleaned up imports. | |
4912 | (getBundle): Removed unused variable. | |
4913 | (tryBundle): Likewise. | |
4914 | * java/util/regex/Pattern.java (Pattern): Removed unused constructor. | |
4915 | ||
2225a42a GL |
4916 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
4917 | ||
4918 | * java/text/SimpleDateFormat.java: | |
4919 | (formatWithAttribute): New method. It implements | |
4920 | the formatting process with attributes. | |
4921 | (format): Use formatWithAttribute. | |
4922 | (formatToCharacterIterator): New method. Use | |
4923 | formatWithAttribute. | |
4924 | ||
1f646142 GL |
4925 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
4926 | ||
4927 | * java/text/MessageFormat.java: | |
4928 | (class Field): New class. | |
4929 | (formatToCharacterIterator): New method. | |
4930 | (format): Use formatInternal now. | |
4931 | (formatInternal): New method. String formatter should | |
4932 | be done here (with attributes). Attributes merging supported. | |
4933 | (parse): More documentation. | |
4934 | (getFormatsByArgumentIndex): New method. | |
4935 | (setFormatByArgumentIndex): New method. | |
4936 | (setFormatsByArgumentIndex): New method. | |
4937 | ||
8cf1edb3 GL |
4938 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
4939 | ||
4940 | * java/text/DecimalFormat.java | |
4941 | (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309. | |
4942 | (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS. | |
4943 | (parse): Fixed handling of exponentiation notation and grouping. | |
4944 | ||
4945 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> | |
4946 | ||
4947 | * java/text/DecimalFormat.java | |
4948 | (scanFix): Build attribute array. Fixed error reporting. | |
4949 | (applyPatternWithSymbols): Store attributes for the prefix and | |
4950 | suffix. | |
4951 | (formatInternal): New method. Changed the way the string is | |
4952 | computed. Implemented attributes. Cleant up rounding in | |
4953 | exponential notation. | |
4954 | (format): Use formatInternal. | |
4955 | (formatToCharacterIterator): New method. | |
4956 | (exponentRound, negativePrefixRanges, positivePrefixRanges, | |
4957 | negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges, | |
4958 | positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs): | |
4959 | New fields. | |
4960 | ||
aff9d141 DT |
4961 | 2004-05-04 Dalibor Topic <robilad@kaffe.org> |
4962 | ||
4963 | * java/security/interfaces/DSAKeyPairGenerator.java, | |
4964 | java/security/interfaces/DSAPrivateKey.java, | |
4965 | java/security/interfaces/DSAPublicKey.java, | |
4966 | java/security/interfaces/RSAPrivateKey.java, | |
4967 | java/security/interfaces/RSAPublicKey.java: | |
4968 | Cleaned up imports. | |
4969 | ||
933522fb MK |
4970 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
4971 | ||
4972 | * java/nio/ByteBuffer.java, | |
4973 | java/nio/CharBuffer.java, | |
4974 | java/nio/DoubleBuffer.java, | |
4975 | java/nio/FloatBuffer.java, | |
4976 | java/nio/IntBuffer.java, | |
4977 | java/nio/LongBuffer.java, | |
4978 | java/nio/ShortBuffer.java: | |
4979 | (compareTo): Fixed bogus implementation in all buffer classes. | |
4980 | ||
27c2c3ec IP |
4981 | 2004-05-04 Ingo Proetel <proetel@aicas.com> |
4982 | ||
4983 | * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has | |
4984 | 32 bit pixels not 8 bit pixels. | |
4985 | (isCompatibleRaster): Added javadoc comment. | |
4986 | ||
4987 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
4988 | ||
4989 | * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset | |
4990 | scanline stride. | |
4991 | ||
4992 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
4993 | ||
4994 | * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature. | |
4995 | (getColorModel): Return the actual color model. | |
4996 | (getRaster): Implemented. | |
4997 | (ColorRaster): New inner class. | |
4998 | * java/awt/SystemColor.java (createContext): Use ColorModel when creating | |
4999 | a PaintContext. | |
5000 | * java/awt/Color.java (<init>): Make exception more verbose. | |
5001 | (createContext): Use ColorModel when creating a PaintContext. | |
5002 | ||
a31d9d6c MK |
5003 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
5004 | ||
5005 | * gnu/java/text/CharacterBreakIterator.java | |
5006 | (previous): Removed unused variable. | |
5007 | ||
065afdfa GL |
5008 | 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org> |
5009 | ||
5010 | * gnu/java/text/FormatBuffer.java, | |
5011 | gnu/java/text/AttributedFormatBuffer.java, | |
5012 | gnu/java/text/StringFormatBuffer.java: New classes to implement | |
5013 | attributed iterators in java.text. | |
5014 | * gnu/java/text/FormatCharacterIterator.java: Moved | |
5015 | from java/text as it is an internal class. | |
5016 | * java/text/FormatCharacterIterator.java: Removed. | |
5017 | * java/text/Format.java: | |
5018 | Import gnu.java.text.FormatCharacterIterator. | |
5019 | * Makefile.am (java_source_files): Added new files. | |
5020 | * Makefile.in: Regenerated. | |
5021 | ||
5022 | ||
af62fd12 MW |
5023 | 2004-05-04 Mark Wielaard <mark@klomp.org> |
5024 | ||
53c87e49 | 5025 | * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method. |
af62fd12 | 5026 | |
a3c44036 AT |
5027 | 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch> |
5028 | ||
5029 | * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra. | |
5030 | * Makefile.in: Rebuilt. | |
5031 | ||
007265b8 MW |
5032 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
5033 | ||
5034 | * gnu/java/security/der/DERReader.java: Call static methods staticly. | |
5035 | * java/awt/TextComponent.java (select): Use selectionEnd parameter. | |
5036 | * java/net/URL.java | |
5037 | (set(String, String, int, String, String, String, String, String)): | |
5038 | Assign this.file to path or path + "?" + query. | |
5039 | * java/util/Arrays.java: Call static methods staticly. | |
5040 | * java/util/zip/ZipEntry.java: Likewise. | |
5041 | * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign | |
5042 | dir to this.direction. | |
5043 | * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): | |
5044 | Assign static field only once. | |
5045 | (DefaultTableCellRenderer): Don't reassign noFocusBorder each time. | |
5046 | ||
a00d3b3c MW |
5047 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
5048 | ||
5049 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed | |
5050 | unused variables hScrollbarHeight and vScrollbarWidth. | |
5051 | (preferredSize): Likewise. | |
5052 | * gnu/java/security/provider/DSAParameters.java (engineToString): | |
5053 | Removed unused call to System.getProperty("line.seperator"); | |
5054 | * java/security/Security.java (loadProviders): Return result. | |
5055 | ||
7b68f0bf TT |
5056 | 2004-05-03 Tom Tromey <tromey@redhat.com> |
5057 | ||
5058 | * java/net/URLStreamHandler.java (toExternalForm): Removed | |
5059 | unused variables. | |
5060 | unused constructor. | |
5061 | * java/math/BigDecimal.java (divide): Removed unused variable. | |
5062 | * java/lang/Throwable.java: Cleaned up imports. | |
5063 | * java/lang/ClassLoader.java: Cleaned up imports. | |
5064 | * java/io/FilePermission.java (implies): Removed unused | |
5065 | variable. | |
5066 | * java/awt/TextComponent.java: Removed unused import. | |
5067 | * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. | |
5068 | * gnu/java/util/DoubleEnumeration.java: Removed unused import. | |
5069 | * gnu/java/text/WordBreakIterator.java: Removed unused import. | |
5070 | * gnu/java/text/SentenceBreakIterator.java: Removed unused | |
5071 | import. | |
5072 | * gnu/java/text/LineBreakIterator.java: Removed unused import. | |
5073 | * gnu/java/text/CharacterBreakIterator.java: Removed | |
5074 | unused import. | |
5075 | * gnu/java/security/provider/DSAKeyPairGenerator.java: | |
5076 | Cleaned up imports. | |
5077 | * gnu/java/security/der/DERWriter.java: Cleaned up imports. | |
5078 | * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed | |
5079 | unused method. | |
5080 | * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. | |
5081 | * gnu/java/nio/FileLockImpl.java: Cleaned up imports. | |
5082 | * gnu/java/io/Base64InputStream.java: Cleaned up imports. | |
5083 | * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. | |
5084 | * gnu/classpath/ServiceFactory.java: Cleaned up imports. | |
5085 | (lookupProviders): Removed unused variable. | |
5086 | (loadNextServiceProvider): Likewise. | |
5087 | * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports. | |
5088 | ||
493b3c9c MK |
5089 | 2004-05-03 Michael Koch <konqueror@gmx.de> |
5090 | ||
5091 | Fixes PR libgcj/14695: | |
5092 | * java/net/NetworkInterface.java | |
5093 | (getByName): Return null when no interface was found. | |
5094 | ||
55ce9c52 RM |
5095 | 2004-04-30 Ranjit Mathew <rmathew@hotmail.com> |
5096 | Tom Tromey <tromey@redhat.com> | |
5097 | ||
5098 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use | |
5099 | additional option "-Wmissing-prototypes" for compiling C sources. | |
5100 | Print actual filename for pass/fail rather than $name.c. | |
5101 | * testsuite/libjava.jni/PR15133.java: New testcase file. | |
5102 | * testsuite/libjava.jni/PR15133.c: Likewise. | |
5103 | * testsuite/libjava.jni/PR15133.out: Likewise. | |
5104 | ||
2d99c042 RS |
5105 | 2004-04-30 Roger Sayle <roger@eyesopen.com> |
5106 | ||
5107 | * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin, | |
5108 | ceil and floor. | |
5109 | ||
c1fcbbc3 RM |
5110 | 2004-04-25 Ranjit Mathew <rmathew@hotmail.com> |
5111 | ||
5112 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly | |
5113 | limit the maximum heap size to avoid unnecessary thrashing. | |
5114 | ||
6f0b1fa5 JQ |
5115 | 2004-04-24 Jerry Quinn <jlquinn@optonline.net> |
5116 | ||
5117 | * java/text/CollationElementIterator.java (reset): Reset | |
5118 | lookahead variables. | |
5119 | ||
99a88816 MW |
5120 | 2004-04-23 Mark Wielaard <mark@klomp.org> |
5121 | ||
5122 | * jni/classpath/jcl.c: Changed C++ comments into C comments. | |
5123 | ||
b4e7ef8d DT |
5124 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
5125 | ||
5126 | * java/sql/DriverManager.java: | |
5127 | Cleaned up imports. | |
5128 | ||
e9d34968 MK |
5129 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
5130 | ||
5131 | * java/net/URL.java | |
5132 | (hashcode): Don't initialize with default value explicitely. | |
5133 | (getContent): Removed redundant "final" keyword. | |
5134 | (openStream): Likewise. | |
5135 | (getURLStreamHandler): Fixed coding style. | |
5136 | * java/net/URLConnection.java | |
5137 | (defaultAllowUserInteraction): Don't initialize with default value | |
5138 | explicitely. | |
5139 | (connected): Likewise. | |
5140 | (doOutput): Likewise. | |
5141 | (ifModifiedSince): Likewise. | |
5142 | (dateformats_initialized): Likewise. | |
5143 | (setURLStreamHander): Use StreamTokenizer where it belongs to. | |
5144 | ||
87939d70 MK |
5145 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
5146 | ||
5147 | * gnu/java/nio/channels/FileChannelImpl.java | |
5148 | (SET, CUR): Unused, removed. | |
5149 | (read): Implement here directly. | |
5150 | (implRead): Removed. | |
5151 | (write): Implement here directly. | |
5152 | (implWrite): Removed. | |
5153 | ||
5d837a58 DT |
5154 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
5155 | ||
5156 | * javax/rmi/CORBA/PortableRemoteObjectDelegate.java, | |
5157 | javax/rmi/CORBA/Stub.java, | |
5158 | javax/rmi/CORBA/Util.java, | |
5159 | javax/rmi/CORBA/ValueHandler.java, | |
5160 | javax/rmi/CORBA/ValueHandler.java, | |
5161 | javax/rmi/PortableRemoteObject.java: | |
5162 | Cleaned up imports. | |
5163 | ||
ace7ed7c DT |
5164 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
5165 | ||
5166 | * java/util/jar/JarFile.java, | |
5167 | java/util/jar/JarInputStream.java, | |
5168 | java/util/jar/JarOutputStream.java, | |
5169 | java/util/jar/Manifest.java: | |
5170 | Cleaned up imports. | |
5171 | ||
5172 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
5173 | ||
5174 | * java/util/ArrayList.java, | |
5175 | java/util/Calendar.java, | |
5176 | java/util/Currency.java, | |
5177 | java/util/HashMap.java, | |
5178 | java/util/HashSet.java, | |
5179 | java/util/Hashtable.java, | |
5180 | java/util/LinkedList.java, | |
5181 | java/util/Properties.java, | |
5182 | java/util/PropertyPermission.java, | |
5183 | java/util/TimeZone.java, | |
5184 | java/util/TreeMap.java, | |
5185 | java/util/TreeSet.java, | |
5186 | java/util/Vector.java, | |
5187 | java/util/WeakHashMap.java: | |
5188 | Cleaned up imports. | |
5189 | ||
5190 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
5191 | ||
5192 | * java/util/logging/FileHandler.java, | |
5193 | java/util/logging/Formatter.java, | |
5194 | java/util/logging/Handler.java, | |
5195 | java/util/logging/Logger.java, | |
5196 | java/util/logging/SimpleFormatter.java, | |
5197 | java/util/logging/XMLFormatter.java: | |
5198 | Cleaned up imports. | |
5199 | ||
ae522139 MW |
5200 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
5201 | ||
5202 | * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall | |
5203 | -Wno-long-long flags variable. | |
5204 | (gtk_c_files): Use PEDANTIC_CFLAGS. | |
5205 | * Makefile.in: Regenerated. | |
5206 | ||
838a4849 MK |
5207 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
5208 | ||
5209 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
5210 | Changed C++ comments into C comments. | |
5211 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: | |
5212 | Likewise. | |
5213 | ||
5214 | 2004-04-22 Michael Koch <konqueror@gmx.de> | |
5215 | ||
5216 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
5217 | Merged copyright year with GNU classpath. | |
5218 | ||
fe2235d1 DT |
5219 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
5220 | ||
5221 | * javax/security/auth/x500/X500Principal.java: | |
5222 | Cleaned up imports. | |
5223 | ||
b7db3d0a DT |
5224 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
5225 | ||
5226 | * javax/swing/JSlider.java: | |
5227 | Fixed HTML tags in comments. | |
5228 | ||
32bfc773 DT |
5229 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
5230 | ||
5231 | * javax/accessibility/AccessibleText.java: | |
5232 | Cleaned up imports. | |
5233 | ||
e930d01a MK |
5234 | 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl> |
5235 | ||
5236 | * java/net/URLStreamHandler.java | |
5237 | (parseURL): Convert the file path to using '/' instead of native | |
5238 | file separator. | |
5239 | ||
5240 | 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org> | |
5241 | ||
5242 | * java/net/URL.java | |
5243 | (userInfo): New field. | |
5244 | (URL): Set authority to the right value. | |
5245 | (setURL): Fixed authority and file initialization. | |
5246 | * java/net/URLStreamHandler.java | |
5247 | (parseURL): Take care of the query tag. Build authority. | |
5248 | (toExternalForm): Fixed URL building using authority. | |
5249 | ||
5d79367d MK |
5250 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
5251 | ||
5252 | * java/net/Socket.java | |
5253 | (impl): Made package-private. | |
5254 | * java/net/ServerSocket.java | |
5255 | (implAccept): Access Socket.impl field directly. | |
5256 | ||
c0dce235 DT |
5257 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
5258 | ||
5259 | * java/util/prefs/Preferences.java, | |
5260 | java/util/prefs/InvalidPreferencesFormatException.java, | |
5261 | java/util/prefs/BackingStoreException.java, | |
5262 | java/util/prefs/AbstractPreferences.java: | |
5263 | Cleaned up imports. | |
5264 | ||
5265 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> | |
5266 | ||
5267 | * java/util/regex/Matcher.java, | |
5268 | java/util/regex/Pattern.java: | |
5269 | Cleaned up imports. | |
5270 | ||
5c09d725 MK |
5271 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
5272 | ||
5273 | * java/nio/charset/IllegalCharsetNameException.java | |
5274 | (charsetName): Made private. | |
5275 | (IllegalCharsetNameException): Added @param tag to javadoc. | |
5276 | (getCharsetName): Added @return tag to javadoc. | |
5277 | * java/nio/charset/MalformedInputException.java | |
5278 | (MalformedInputException): Added @param tag to javadoc. | |
5279 | (getInputLength): Revised method description, added @return tag. | |
5280 | (getMessage): Added @return tag. | |
5281 | ||
83ef3f2b JQ |
5282 | 2004-04-22 Jerry Quinn <jlquinn@optonline.net> |
5283 | ||
5284 | * java/awt/Font.java (deriveFont): Implement missing variants. | |
5285 | * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement | |
5286 | missing variants. | |
5287 | ||
746ecc78 BM |
5288 | 2004-04-21 Bryce McKinlay <mckinlay@redhat.com> |
5289 | ||
5290 | * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method. | |
5291 | Set method->index values for interface methods to their itable index. | |
5292 | (initializeClass): Call _Jv_LayoutInterfaceMethods. | |
5293 | ||
86a80fc3 MK |
5294 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
5295 | ||
5296 | * java/nio/DirectByteBufferImpl.java | |
5297 | (shiftDown): Made static, give address as argument and | |
5298 | provide a convenience method that overwrites shiftDown in | |
5299 | ByteBufferImpl and calls the native shiftDown. | |
5300 | * java/nio/MappedByteBufferImpl.java | |
5301 | (): Use optimized method in DirectByteBufferImpl. | |
5302 | * java/nio/natDirectByteBufferImpl.cc | |
5303 | (shiftDown): Changed method signature. Removed usage of array_offset. | |
5304 | ||
6e90ed19 MK |
5305 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
5306 | ||
5307 | * gnu/java/net/natPlainSocketImplPosix.cc | |
5308 | (SocketInputStream::read): Make sure returned data is a byte value. | |
5309 | ||
96d22b12 MK |
5310 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
5311 | ||
5312 | * gnu/classpath/ServiceFactory.java, | |
5313 | gnu/classpath/ServiceProviderLoadingAction.java, | |
5314 | javax/imageio/ImageReader.java, | |
5315 | javax/imageio/ImageTranscoder.java, | |
5316 | javax/imageio/ImageWriter.java, | |
5317 | javax/imageio/package.html, | |
5318 | javax/imageio/spi/IIOServiceProvider.java, | |
5319 | javax/imageio/spi/ImageInputStreamSpi.java, | |
5320 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
5321 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
5322 | javax/imageio/spi/ImageTranscoderSpi.java, | |
5323 | javax/imageio/spi/RegisterableService.java, | |
5324 | javax/imageio/spi/ServiceRegistry.java, | |
5325 | javax/imageio/spi/package.html, | |
5326 | javax/imageio/stream/IIOByteBuffer.java, | |
5327 | javax/imageio/stream/ImageInputStream.java, | |
5328 | javax/imageio/stream/ImageOutputStream.java, | |
5329 | javax/imageio/stream/package.html: | |
5330 | New files. | |
5331 | * Makefile.am | |
5332 | (ordinary_java_source_files): Added | |
5333 | gnu/classpath/ServiceFactory.java and | |
5334 | gnu/classpath/ServiceProviderLoadingAction.java. | |
5335 | (javax_source_files): Added | |
5336 | javax/imageio/ImageReader.java, | |
5337 | javax/imageio/ImageTranscoder.java, | |
5338 | javax/imageio/ImageWriter.java, | |
5339 | javax/imageio/spi/IIOServiceProvider.java, | |
5340 | javax/imageio/spi/ImageInputStreamSpi.java, | |
5341 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
5342 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
5343 | javax/imageio/spi/ImageTranscoderSpi.java, | |
5344 | javax/imageio/spi/RegisterableService.java, | |
5345 | javax/imageio/spi/ServiceRegistry.java, | |
5346 | javax/imageio/stream/IIOByteBuffer.java, | |
5347 | javax/imageio/stream/ImageInputStream.java and | |
5348 | javax/imageio/stream/ImageOutputStream.java. | |
5349 | * Makefile.in: Regenerated. | |
5350 | ||
ca17d211 MK |
5351 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
5352 | ||
5353 | * java/util/Properties.java | |
5354 | (load): Fix wrongly merged fix. | |
5355 | ||
60e957d0 MW |
5356 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
5357 | ||
5358 | * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly | |
5359 | malloc and free buf. | |
5360 | ||
27dd18cf DT |
5361 | 2004-04-21 Dalibor Topic <robilad@kaffe.org> |
5362 | ||
5363 | * javax/naming/AuthenticationException.java, | |
5364 | javax/naming/AuthenticationNotSupportedException.java, | |
5365 | javax/naming/CannotProceedException.java, | |
5366 | javax/naming/CommunicationException.java, | |
5367 | javax/naming/CompoundName.java, | |
5368 | javax/naming/ConfigurationException.java, | |
5369 | javax/naming/ContextNotEmptyException.java, | |
5370 | javax/naming/InitialContext.java, | |
5371 | javax/naming/InsufficientResourcesException.java, | |
5372 | javax/naming/InterruptedNamingException.java, | |
5373 | javax/naming/LimitExceededException.java, | |
5374 | javax/naming/LinkException.java, | |
5375 | javax/naming/LinkLoopException.java, | |
5376 | javax/naming/LinkRef.java, | |
5377 | javax/naming/MalformedLinkException.java, | |
5378 | javax/naming/Name.java, | |
5379 | javax/naming/NameAlreadyBoundException.java, | |
5380 | javax/naming/NameNotFoundException.java, | |
5381 | javax/naming/NamingSecurityException.java, | |
5382 | javax/naming/NoInitialContextException.java, | |
5383 | javax/naming/NoPermissionException.java, | |
5384 | javax/naming/NotContextException.java, | |
5385 | javax/naming/PartialResultException.java, | |
5386 | javax/naming/ReferralException.java, | |
5387 | javax/naming/ServiceUnavailableException.java, | |
5388 | javax/naming/SizeLimitExceededException.java, | |
5389 | javax/naming/TimeLimitExceededException.java, | |
5390 | javax/naming/directory/Attribute.java, | |
5391 | javax/naming/directory/Attributes.java, | |
5392 | javax/naming/directory/SearchResult.java, | |
5393 | javax/naming/event/NamingExceptionEvent.java, | |
5394 | javax/naming/spi/ResolveResult.java: | |
5395 | Cleaned up imports. | |
5396 | ||
2635995a MW |
5397 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
5398 | ||
5399 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
5400 | Changed C++ comments into C comments. Removed commented out code. | |
5401 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
5402 | Likewise. | |
5403 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: | |
5404 | Likewise. | |
5405 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: | |
5406 | Likewise. | |
5407 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: | |
5408 | Likewise. | |
5409 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
5410 | Likewise. | |
5411 | * native/jni/gtk-peer/gthread-jni.c: | |
5412 | Likewise. | |
5413 | ||
1c3d6bb2 MW |
5414 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
5415 | ||
5416 | * javax/awt/JFrame.java: Implement WindowConstants. Remove final | |
5417 | static fields defined in interface. | |
5418 | * javax/awt/JDialog.java: Likewise. | |
5419 | (JDialog): Make constructors public. | |
5420 | (getDefaultCloseOperation): Make public. | |
5421 | (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set. | |
5422 | (setDefaultCloseOperation): Make public. Check argument. Add API doc. | |
5423 | * javax/swing/JViewport.java (JViewport): Make constructor public. | |
5424 | ||
387fa012 MK |
5425 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
5426 | ||
5427 | * java/util/Map.java | |
5428 | (Entry): Removed redundant "static" modifier. | |
5429 | * java/text/AttributedCharacterIterator.java: | |
5430 | Updated copyright year. | |
5431 | ||
bf9f06ae MK |
5432 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5433 | ||
5434 | * javax/naming/directory/SearchControls.java: | |
5435 | Don't explicitely extend java.lang.Object. | |
5436 | * javax/naming/spi/DirStateFactory.java: | |
5437 | Merged copyright year with GNU classpath. | |
5438 | ||
8a6c1d29 MK |
5439 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5440 | ||
5441 | * java/nio/channels/Channels.java: | |
5442 | Merged coding style with GNU classpath. | |
5443 | ||
f5874634 MK |
5444 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5445 | ||
5446 | * java/net/ServerSocket.java | |
5447 | Merged coding style from GNU classpath. | |
5448 | ||
90cb5151 MK |
5449 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5450 | ||
5451 | * java/io/BufferedWriter.java: | |
5452 | Reordered variables to be at top of the class. | |
5453 | (localFlush): Removed redundant final keyword. | |
5454 | ||
5ede96a4 IP |
5455 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
5456 | ||
5457 | * java/awt/event/MouseEvent.java (<init>): fixed field assignment | |
5458 | ||
391d8ef5 MK |
5459 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
5460 | ||
5461 | * java/text/DecimalFormat.java (scanFix): Removed suffix check | |
5462 | for percent and permill check. | |
5463 | ||
5464 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
5465 | ||
5466 | * java/text/FieldPosition.java | |
5467 | (FieldPosition) Constructor now behaves as it should according | |
5468 | to the java documentation. | |
5469 | ||
5470 | 2004-04-20 Mark Wielaard <mark@klomp.org> | |
5471 | ||
5472 | * java/util/Properties.java: Use the word umlaut, not ä in api | |
5473 | documentation. | |
5474 | ||
92e1fe67 MK |
5475 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5476 | ||
5477 | * java/nio/Buffer.java, | |
5478 | java/nio/channels/AlreadyConnectedException.java, | |
5479 | java/nio/channels/AsynchronousCloseException.java, | |
5480 | java/nio/channels/ByteChannel.java, | |
5481 | java/nio/channels/CancelledKeyException.java, | |
5482 | java/nio/channels/Channel.java, | |
5483 | java/nio/channels/Channels.java, | |
5484 | java/nio/channels/ClosedByInterruptException.java, | |
5485 | java/nio/channels/ClosedChannelException.java, | |
5486 | java/nio/channels/ClosedSelectorException.java, | |
5487 | java/nio/channels/ConnectionPendingException.java, | |
5488 | java/nio/channels/DatagramChannel.java, | |
5489 | java/nio/channels/FileChannel.java, | |
5490 | java/nio/channels/FileLock.java, | |
5491 | java/nio/channels/FileLockInterruptionException.java, | |
5492 | java/nio/channels/GatheringByteChannel.java, | |
5493 | java/nio/channels/IllegalBlockingModeException.java, | |
5494 | java/nio/channels/IllegalSelectorException.java, | |
5495 | java/nio/channels/InterruptibleChannel.java, | |
5496 | java/nio/channels/NoConnectionPendingException.java, | |
5497 | java/nio/channels/NonReadableChannelException.java, | |
5498 | java/nio/channels/NonWritableChannelException.java, | |
5499 | java/nio/channels/NotYetBoundException.java, | |
5500 | java/nio/channels/NotYetConnectedException.java, | |
5501 | java/nio/channels/OverlappingFileLockException.java, | |
5502 | java/nio/channels/Pipe.java, | |
5503 | java/nio/channels/ReadableByteChannel.java, | |
5504 | java/nio/channels/ScatteringByteChannel.java, | |
5505 | java/nio/channels/SelectableChannel.java, | |
5506 | java/nio/channels/SelectionKey.java, | |
5507 | java/nio/channels/Selector.java, | |
5508 | java/nio/channels/ServerSocketChannel.java, | |
5509 | java/nio/channels/SocketChannel.java, | |
5510 | java/nio/channels/UnresolvedAddressException.java, | |
5511 | java/nio/channels/UnsupportedAddressTypeException.java, | |
5512 | java/nio/channels/WritableByteChannel.java, | |
5513 | java/nio/channels/spi/AbstractInterruptibleChannel.java, | |
5514 | java/nio/channels/spi/AbstractSelectableChannel.java, | |
5515 | java/nio/channels/spi/AbstractSelectionKey.java, | |
5516 | java/nio/channels/spi/AbstractSelector.java, | |
5517 | java/nio/channels/spi/SelectorProvider.java, | |
5518 | java/nio/charset/spi/CharsetProvider.java: | |
5519 | Fixed javadocs and jalopied all over java.nio. | |
5520 | ||
08c5d757 MK |
5521 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5522 | ||
5523 | * java/nio/ByteBufferImpl.java, | |
5524 | java/nio/CharBufferImpl.java, | |
5525 | java/nio/DirectByteBufferImpl.java, | |
5526 | java/nio/DoubleBufferImpl.java, | |
5527 | java/nio/DoubleViewBufferImpl.java, | |
5528 | java/nio/FloatBufferImpl.java, | |
5529 | java/nio/FloatViewBufferImpl.java, | |
5530 | java/nio/IntBufferImpl.java, | |
5531 | java/nio/IntViewBufferImpl.java, | |
5532 | java/nio/LongBufferImpl.java, | |
5533 | java/nio/LongViewBufferImpl.java, | |
5534 | java/nio/MappedByteBufferImpl.java, | |
5535 | java/nio/ShortBufferImpl.java, | |
5536 | java/nio/ShortViewBufferImpl.java: | |
5537 | Made sure all classes are final and removed final keyword from all | |
5538 | methods. | |
5539 | ||
a17c9f2e MK |
5540 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5541 | ||
5542 | * java/rmi/MarshalledObject.java, | |
5543 | java/rmi/Naming.java, | |
5544 | java/rmi/RemoteException.java, | |
5545 | java/rmi/activation/ActivationException.java, | |
5546 | java/rmi/server/ServerCloneException.java, | |
5547 | java/security/AccessController.java, | |
5548 | java/security/AlgorithmParameterGenerator.java, | |
5549 | java/security/AlgorithmParameters.java, | |
5550 | java/security/CodeSource.java, | |
5551 | java/security/Identity.java, | |
5552 | java/security/IdentityScope.java, | |
5553 | java/security/KeyPairGenerator.java, | |
5554 | java/security/KeyStore.java, | |
5555 | java/security/Security.java, | |
5556 | java/security/Signature.java, | |
5557 | java/security/SignatureSpi.java, | |
5558 | java/security/SignedObject.java, | |
5559 | java/security/spec/DSAParameterSpec.java, | |
5560 | java/security/spec/DSAPrivateKeySpec.java, | |
5561 | java/security/spec/DSAPublicKeySpec.java, | |
5562 | java/sql/Array.java, | |
5563 | java/sql/DatabaseMetaData.java, | |
5564 | java/sql/ResultSet.java, | |
5565 | java/text/ChoiceFormat.java, | |
5566 | java/text/CollationElementIterator.java, | |
5567 | java/text/CollationKey.java, | |
5568 | java/text/Collator.java, | |
5569 | java/text/DateFormat.java, | |
5570 | java/text/DateFormatSymbols.java, | |
5571 | java/text/DecimalFormatSymbols.java, | |
5572 | java/text/Format.java, | |
5573 | java/text/ParsePosition.java, | |
5574 | java/text/RuleBasedCollator.java, | |
5575 | java/text/SimpleDateFormat.java, | |
5576 | java/text/StringCharacterIterator.java, | |
5577 | java/util/Collections.java, | |
5578 | java/util/PropertyResourceBundle.java, | |
5579 | java/util/ResourceBundle.java, | |
5580 | java/util/StringTokenizer.java, | |
5581 | java/util/jar/Attributes.java, | |
5582 | java/util/logging/ConsoleHandler.java, | |
5583 | java/util/logging/LogManager.java, | |
5584 | java/util/logging/MemoryHandler.java, | |
5585 | java/util/logging/SocketHandler.java, | |
5586 | javax/naming/NamingException.java: | |
5587 | Fixed javadoc, coding style and argument names all over. | |
5588 | ||
0fc920c8 MK |
5589 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
5590 | ||
5591 | * java/io/FileDescriptor.java: (FileDescriptor) Added public | |
5592 | constructor. (valid) Added null check. | |
5593 | ||
5594 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
5595 | ||
5596 | Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com> | |
5597 | * java/io/FileOutputStream.java | |
5598 | (FileOutputStream) Reorganized constructors. Constructors now | |
5599 | check whether the given path is directory. | |
5600 | ||
f6d49f66 MK |
5601 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5602 | ||
5603 | * java/net/Authenticator.java, | |
5604 | java/net/BindException.java, | |
5605 | java/net/ConnectException.java, | |
5606 | java/net/ContentHandler.java, | |
5607 | java/net/ContentHandlerFactory.java, | |
5608 | java/net/DatagramPacket.java, | |
5609 | java/net/DatagramSocket.java, | |
5610 | java/net/DatagramSocketImpl.java, | |
5611 | java/net/DatagramSocketImplFactory.java, | |
5612 | java/net/FileNameMap.java, | |
5613 | java/net/HttpURLConnection.java, | |
5614 | java/net/Inet4Address.java, | |
5615 | java/net/Inet6Address.java, | |
5616 | java/net/InetAddress.java, | |
5617 | java/net/InetSocketAddress.java, | |
5618 | java/net/JarURLConnection.java, | |
5619 | java/net/MalformedURLException.java, | |
5620 | java/net/MulticastSocket.java, | |
5621 | java/net/NetPermission.java, | |
5622 | java/net/NetworkInterface.java, | |
5623 | java/net/NoRouteToHostException.java, | |
5624 | java/net/PasswordAuthentication.java, | |
5625 | java/net/PortUnreachableException.java, | |
5626 | java/net/ProtocolException.java, | |
5627 | java/net/ServerSocket.java, | |
5628 | java/net/Socket.java, | |
5629 | java/net/SocketAddress.java, | |
5630 | java/net/SocketException.java, | |
5631 | java/net/SocketImpl.java, | |
5632 | java/net/SocketImplFactory.java, | |
5633 | java/net/SocketOptions.java, | |
5634 | java/net/SocketPermission.java, | |
5635 | java/net/SocketTimeoutException.java, | |
5636 | java/net/URI.java, | |
5637 | java/net/URISyntaxException.java, | |
5638 | java/net/URL.java, | |
5639 | java/net/URLClassLoader.java, | |
5640 | java/net/URLConnection.java, | |
5641 | java/net/URLDecoder.java, | |
5642 | java/net/URLEncoder.java, | |
5643 | java/net/URLStreamHandler.java, | |
5644 | java/net/URLStreamHandlerFactory.java, | |
5645 | java/net/UnknownHostException.java, | |
5646 | java/net/UnknownServiceException.java: | |
5647 | Fixed javadocs, coding style and argument names all over. | |
5648 | ||
cf6f7d55 MK |
5649 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5650 | ||
5651 | * java/lang/Byte.java, | |
5652 | java/lang/CharSequence.java, | |
5653 | java/lang/ClassLoader.java, | |
5654 | java/lang/Compiler.java, | |
5655 | java/lang/Double.java, | |
5656 | java/lang/Float.java, | |
5657 | java/lang/Integer.java, | |
5658 | java/lang/Long.java, | |
5659 | java/lang/Math.java, | |
5660 | java/lang/Number.java, | |
5661 | java/lang/Package.java, | |
5662 | java/lang/Runtime.java, | |
5663 | java/lang/RuntimePermission.java, | |
5664 | java/lang/SecurityManager.java, | |
5665 | java/lang/Short.java, | |
5666 | java/lang/StringBuffer.java, | |
5667 | java/lang/System.java, | |
5668 | java/lang/ThreadGroup.java, | |
5669 | java/lang/Throwable.java, | |
5670 | java/lang/reflect/InvocationHandler.java, | |
5671 | java/lang/reflect/Proxy.java: | |
5672 | Fixed javadocs, coding style and argument names all over. | |
5673 | ||
9f714d5e MK |
5674 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5675 | ||
5676 | * java/io/BufferedWriter.java, | |
5677 | java/io/ByteArrayInputStream.java, | |
5678 | java/io/CharArrayWriter.java, | |
5679 | java/io/DataInput.java, | |
5680 | java/io/DataInputStream.java, | |
5681 | java/io/File.java, | |
5682 | java/io/FilterInputStream.java, | |
5683 | java/io/InputStream.java, | |
5684 | java/io/InputStreamReader.java, | |
5685 | java/io/ObjectInputStream.java, | |
5686 | java/io/ObjectStreamClass.java, | |
5687 | java/io/PipedInputStream.java, | |
5688 | java/io/PipedReader.java, | |
5689 | java/io/PushbackInputStream.java, | |
5690 | java/io/PushbackReader.java, | |
5691 | java/io/RandomAccessFile.java, | |
5692 | java/io/SerializablePermission.java, | |
5693 | java/io/StreamTokenizer.java, | |
5694 | java/io/StringWriter.java, | |
5695 | java/io/WriteAbortedException.java, | |
5696 | java/io/Writer.java: | |
5697 | Fixed javadocs all over, rename arguments to match javadocs, | |
5698 | fixed coding style. | |
5699 | ||
23f0ecff MK |
5700 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
5701 | ||
5702 | * java/awt/FontMetrics.java: | |
5703 | (charsWidth): fixed accumulation of total_width | |
5704 | (getWidth): simple default implementation | |
5705 | * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate | |
5706 | in Rectangle constructor. | |
5707 | * java/awt/image/Raster.java (toString): Added method. | |
5708 | * java/awt/image/SampleModel.java (<init>): Added error cause | |
5709 | information to thrown exception. | |
5710 | * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements): | |
5711 | New method. | |
5712 | (setDataElements): New method. | |
5713 | (setPixels): New method. | |
5714 | (toString): New method. | |
5715 | ||
5716 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> | |
5717 | ||
5718 | * java/awt/image/ComponentColorModel.java | |
5719 | (createCompatibleSampleModel): Return PixelInterleavedSampleModel | |
5720 | for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the | |
5721 | Mauve tests on this method. Improved documentation. | |
5722 | ||
2c4d54e6 MK |
5723 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5724 | ||
5725 | * javax/swing/JLayeredPane.java, | |
5726 | javax/swing/plaf/BorderUIResource.java, | |
5727 | javax/swing/plaf/ComponentUI.java, | |
5728 | javax/swing/undo/CompoundEdit.java, | |
5729 | javax/swing/undo/StateEdit.java: | |
5730 | Fixed HTML tags in javadocs all over. | |
5731 | ||
5589f3e5 MK |
5732 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5733 | ||
5734 | * javax/print/attribute/EnumSyntax.java | |
5735 | (getOffset): Made protected. | |
5736 | * javax/print/attribute/HashAttributeSet.java | |
5737 | (HashAttributeSet): Likewise. | |
5738 | * javax/print/attribute/ResolutionSyntax.java | |
5739 | (getFeedResolution): Fixed typo in exception name. | |
5740 | (getCrossFeedResolution): Likewise. | |
5741 | * javax/print/attribute/SetOfIntegerSyntax.java | |
5742 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
5743 | * javax/print/attribute/TextSyntax.java | |
5744 | (TextSyntax): Handle locale correctly. | |
5745 | (hashCode): Calc better hashcode value. | |
5746 | (equals): Fixed @return tag. | |
5747 | (toString): New method. | |
5748 | ||
0150fc22 MK |
5749 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5750 | ||
5751 | * gnu/java/nio/FileLockImpl.java | |
5752 | (static): Removed, not needed anymore. | |
5753 | * gnu/java/nio/channels/FileChannelImpl.java | |
5754 | (FileChannelImpl): Made final. | |
5755 | (mode): Made private. | |
5756 | (READ, WRITE, APPEND): Made public. | |
5757 | (EXCL, SYNC, DSYNC): Likewise. | |
5758 | (static): Load native JNI library, when needed. | |
5759 | (length): Unused, removed. | |
5760 | (available): Made public. | |
5761 | (implPosition): Throws IOException. | |
5762 | (seek): Likewise. | |
5763 | (implTruncate): Likewise. | |
5764 | (unlock): Likewise. | |
5765 | (lock): Likewise. | |
5766 | ||
7431acbe MK |
5767 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
5768 | ||
5769 | * java/awt/AWTPermission.java, | |
5770 | java/awt/Component.java, | |
5771 | java/awt/ComponentOrientation.java,, | |
5772 | java/awt/Dialog.java, | |
5773 | java/awt/FontMetrics.java, | |
5774 | java/awt/Graphics.java, | |
5775 | java/awt/datatransfer/DataFlavor.java, | |
5776 | java/beans/Introspector.java, | |
5777 | java/beans/PropertyEditor.java, | |
5778 | java/beans/PropertyEditorManager.java, | |
5779 | java/beans/beancontext/BeanContextServiceProvider.java: | |
5780 | Fixed HTML tags in javadocs all over. | |
5781 | ||
7f6f517f MW |
5782 | 2004-04-20 Mark Wielaard <mark@klomp.org> |
5783 | ||
5784 | * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when | |
5785 | MissingResourceException is thrown. | |
5786 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return | |
5787 | null when a MissingResourceException is thrown. Should never happen. | |
5788 | ||
8ecb0346 MK |
5789 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> |
5790 | ||
5791 | * java/awt/image/DataBufferShort.java, | |
5792 | java/awt/image/DataBufferFloat.java, | |
5793 | java/awt/image/DataBufferDouble.java, | |
5794 | java/awt/image/PixelInterleavedSampleModel.java: New files. | |
5795 | * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData, | |
5796 | getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE. | |
5797 | ||
5798 | 2004-04-20 Michael Koch <konqueror@gmx.de> | |
5799 | ||
5800 | * Makefile.am (java_source_files): Added | |
5801 | java/awt/image/DataBufferDouble.java, | |
5802 | java/awt/image/DataBufferFloat.java, | |
5803 | java/awt/image/DataBufferShort.java and | |
5804 | java/awt/image/PixelInterleavedSampleModel.java. | |
5805 | * Makefile.in: Regenerated. | |
5806 | ||
f5310108 BM |
5807 | 2004-04-19 Bryce McKinlay <mckinlay@redhat.com> |
5808 | ||
5809 | * gcj/cni.h (JvAllocObject): Remove these obsolete, | |
5810 | undocumented CNI calls. | |
5811 | * include/java-interp.h (_Jv_InterpClass): No longer | |
5812 | extends java.lang.Class. | |
5813 | * java/lang/Class.h (Class): Add new field `aux_info'. | |
5814 | * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking. | |
5815 | * defineclass.cc: Remove Class<->_Jv_InterpClass casts. | |
5816 | Use Class->aux_info instead. | |
5817 | * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject. | |
5818 | * resolve.cc: Remove Class<->_Jv_InterpClass casts. | |
5819 | Use Class->aux_info instead. | |
5820 | * java/io/natObjectInputStream.cc (allocateObject): Use | |
5821 | _Jv_AllocObject. | |
5822 | * java/lang/natClass.cc (newInstance): Likewise. | |
5823 | * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise. | |
5824 | * java/lang/natObject.cc (clone): Likewise. | |
5825 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. | |
5826 | * java/lang/natVMClassLoader.cc (defineClass): Don't use | |
5827 | JvAllocObject. Allocate klass->aux_info here for interpreted | |
5828 | class. | |
5829 | ||
afd7c0dc MW |
5830 | 2004-04-17 Mark Wielaard <mark@klomp.org> |
5831 | ||
5832 | * javax/swing/JToggleButton.java (ToggleButtonModel): | |
5833 | Make public static inner class. | |
5834 | * javax/swing/JTabbedPane.java (setComponentAt): | |
5835 | Call Page.setComponent(). | |
5836 | (SCROLL_TAB_LAYOUT): Make public, value is 1. | |
5837 | (WRAP_TAB_LAYOUT): Make public, value is 0. | |
5838 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton): | |
5839 | Make private static inner class. | |
5840 | ||
bf7ad402 BM |
5841 | 2004-04-16 Bryce McKinlay <mckinlay@redhat.com> |
5842 | ||
5843 | * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject | |
5844 | arguments to match new signature. Remove FIXME comments. | |
5845 | ||
31e632d3 GH |
5846 | 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com> |
5847 | ||
5848 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals): | |
5849 | Remove method. | |
5850 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove | |
5851 | unused code. | |
5852 | ||
5853 | 2004-04-02 Olga Rodimina <rodimina@redhat.com> | |
5854 | ||
5855 | * Makefile.am: Added new file. | |
5856 | * Makefile.in: Regenerate. | |
5857 | * javax/swing/ImageIcon.java: | |
5858 | (ImageIcon(file)): set description of the icon | |
5859 | to the file name | |
5860 | * javax/swing/JCheckBoxMenuItem.java: | |
5861 | Mostly Implemented. Work in progress. | |
5862 | * javax/swing/JRadioButtonMenuItem.java: | |
5863 | Reimplement constructors to use JToggleButtonModel. | |
5864 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
5865 | (getCheckBoxMenuItemIcon): return check box | |
5866 | icon. | |
5867 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5868 | paint menu item selected only when it is armed and | |
5869 | pressed. | |
5870 | ||
5871 | 2004-04-02 David Jee <djee@redhat.com> | |
5872 | ||
5873 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
5874 | (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer. | |
5875 | * java/awt/Component.java | |
5876 | (add): Set the parent of the popup as this component. | |
5877 | * java/awt/PopupMenu.java | |
5878 | (addNotify): Create popup menu when peer is null. | |
5879 | (show): Call addNotify() if peer is null. | |
5880 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
5881 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button | |
5882 | argument for gtk_menu_popup() as zero. This causes the popup menu to | |
5883 | respond to any mouse button. | |
5884 | ||
5885 | 2004-03-31 Olga Rodimina <rodimina@redhat.com> | |
5886 | ||
5887 | * Makefile.am: Added new file. | |
5888 | * Makefile.in: Regenerate. | |
5889 | * javax/swing/JRadioButtonMenuItem.java: | |
5890 | Implemented. | |
5891 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
5892 | (getRadioButtonMenuItemIcon): Return | |
5893 | radio button icon. | |
5894 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5895 | (getPreferredSize): Add size of checkIcon if it | |
5896 | exists. | |
5897 | (installDefaults): Don't initialize checkIcon. | |
5898 | It's value will be set in subclasses. | |
5899 | (uninstallDefaults): remove uninstallation of | |
5900 | checkIcon. | |
5901 | (paint): Moved code to paintMenuItem(). | |
5902 | (paintMenuItem): Implemented. | |
5903 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: | |
5904 | UI delegate for JRadioButtonMenuItem. | |
5905 | ||
5906 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
5907 | ||
5908 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5909 | Corrected position of the accelerator. | |
5910 | ||
5911 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
5912 | ||
5913 | * Makefile.am: Added new file. | |
5914 | * Makefile.in: Regenerate. | |
5915 | * javax/swing/JMenuItem.java: Partly | |
5916 | implemented. Work in progress | |
5917 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
5918 | Changed default value of acceleratorDelimiter. | |
5919 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
5920 | New class. Partly implemented. | |
5921 | ||
5922 | 2004-03-26 Mark Wielaard <mark@klomp.org> | |
5923 | ||
5924 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
5925 | (item_activate): Declare label before use. | |
5926 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
5927 | (gtkSetFont): Removed unused variable label. | |
5928 | (addExposeFilter): Declare variables before use. | |
5929 | (removeExposeFilter): Likewise. | |
5930 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
5931 | (ok_clicked): Declare str_fileName before use. | |
5932 | ||
5933 | 2004-03-26 David Jee <djee@redhat.com> | |
5934 | ||
5935 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java | |
5936 | (addSeparator): Remove. | |
5937 | * java/awt/Menu.java | |
5938 | (separator): Remove static final MenuItem field. | |
5939 | (separatorLabel): New static final String field. | |
5940 | (addSeparator): Do not use peer method; use add(MenuItem) instead. | |
5941 | Use separatorLabel to denote that it is a separator. | |
5942 | (insertSeparator): Create a new MenuItem with separatorLabel, instead | |
5943 | of reusing the static separator instance, because a MenuItem instance | |
5944 | can't be added more than once without being cloned. | |
5945 | * java/awt/peer/MenuPeer.java | |
5946 | (addSeparator): Remove from interface. | |
5947 | ||
5948 | 2004-03-26 David Jee <djee@redhat.com> | |
5949 | ||
5950 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
5951 | (connectSignals): New native method declaration. | |
5952 | (GtkMenuItemPeer): Connect signals if the parent is a Menu. | |
5953 | * java/awt/MenuItem.java | |
5954 | (getActionCommand): Return the label if the action command is not set. | |
5955 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
5956 | (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use | |
5957 | gtk_menu_shell_append(). | |
5958 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
5959 | (item_activate): Fix argument type. | |
5960 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect | |
5961 | signal here. | |
5962 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New | |
5963 | method. | |
5964 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
5965 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is | |
5966 | given. Add the menu widget's top-level GtkWindow to the global window | |
5967 | group, so it can grab the pointer. | |
5968 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use | |
5969 | gtk_menu_shell_append(). | |
5970 | ||
5971 | 2004-03-23 Graydon Hoare <graydon@redhat.com> | |
5972 | ||
5973 | * java/text/AttributedString.java | |
5974 | (addAttribute): Fix off-by-one. | |
5975 | (getIterator): Likewise. | |
5976 | * java/text/AttributedStringIterator.java | |
5977 | (getRunLimit): Correct logic. | |
5978 | (getRunStart): Likewise. | |
5979 | (getAttribute): Fix inequality. | |
5980 | (getAttributes): Likewise. | |
5981 | * testsuite/libjava.mauve/xfails: Remove AttributedString xfail. | |
5982 | ||
5983 | 2004-03-23 Kim Ho <kho@redhat.com> | |
5984 | ||
5985 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
5986 | (calculateSizes): Return real width and height. | |
5987 | ||
5988 | 2004-03-23 Kim Ho <kho@redhat.com> | |
5989 | ||
5990 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
5991 | (calculateTabRects): Set the selectedRun before | |
5992 | trying to rotate tabs. | |
5993 | ||
5994 | 2004-03-23 Kim Ho <kho@redhat.com> | |
5995 | ||
5996 | * Makefile.am: New file | |
5997 | * Makefile.in: Regenerate | |
5998 | * java/awt/Graphics.java: (drawRect): | |
5999 | Draw to the correct point. | |
6000 | * javax/swing/DefaultSingleSelectionModel.java | |
6001 | (isSelected): Return true if the selected index | |
6002 | is not -1. | |
6003 | * javax/swing/JLabel.java: Do not change mnemonic | |
6004 | index if text is null. | |
6005 | * javax/swing/JProgressBar.java: Use JComponent's | |
6006 | EventListenerList. | |
6007 | * javax/swing/JScrollBar.java: Ditto. | |
6008 | * javax/swing/JSlider.java: Ditto. | |
6009 | * javax/swing/JTabbedPane.java: Reimplement. | |
6010 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
6011 | Add defaults for TabbedPane. | |
6012 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
6013 | Implement | |
6014 | * javax/swing/plaf/basic/BasicProgressBarUI.java: | |
6015 | (paintDeterminate): Don't paint String if it's | |
6016 | empty. | |
6017 | (paintIndeterminate): ditto. | |
6018 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
6019 | Reimplement. | |
6020 | ||
6021 | 2004-03-19 Michael Koch <konqueror@gmx.de> | |
6022 | ||
6023 | * java/awt/image/AffineTransformOp.java | |
6024 | (AffineTransformOp): Made public. | |
6025 | * javax/swing/JComponent.java | |
6026 | (listenerList): Made protected. | |
6027 | (accessibleContext): Likewise. | |
6028 | * javax/swing/JList.java | |
6029 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
6030 | * javax/swing/JViewport.java | |
6031 | (getView): Dont use internal fields of Component. | |
6032 | (addImpl): Likewise. | |
6033 | * javax/swing/Timer.java | |
6034 | (isRunning): Made public. | |
6035 | (start): Likewise. | |
6036 | (stop): Likewise. | |
6037 | * javax/swing/UIDefaults.java | |
6038 | (getInt): Made public. | |
6039 | * javax/swing/plaf/basic/BasicListUI.java | |
6040 | (mousePressed): Dont use internal fields of MouseEvent. | |
6041 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
6042 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
6043 | (arrowIcon): Made static. | |
6044 | * javax/swing/plaf/basic/BasicViewportUI.java | |
6045 | (stateChanged): Dont use internal field on ChangeEvent. | |
6046 | * javax/swing/text/JTextComponent.java | |
6047 | (getUI): Call UIManager.getUI(). | |
6048 | (updateUI): Use getUI(). | |
6049 | ||
6050 | 2004-03-19 Graydon Hoare <graydon@redhat.com> | |
6051 | ||
6052 | * javax/swing/JComponent.java: Turn off double buffer by default. | |
6053 | * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting. | |
6054 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
6055 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): | |
6056 | Use cairo to copy areas. | |
6057 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip): | |
6058 | Initialize and set clip region. | |
6059 | ||
6060 | 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6061 | ||
6062 | * java/applet/Applet.java (preferredSize): Override deprecated | |
6063 | variant of getPreferredSize. | |
6064 | (minimumSize): Override deprecated variant of getMinimumSize. | |
6065 | ||
6066 | 2004-03-15 Olga Rodimina <rodimina@redhat.com> | |
6067 | ||
6068 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
6069 | (drawImage(img,xform,bgcolor,obs)): New Method. | |
6070 | Helper function that every drawImage method will | |
6071 | use. | |
6072 | (drawRaster): Added new parameter, bgcolor. All | |
6073 | transparent pixels are changed to bgcolor before | |
6074 | image is drawn. | |
6075 | (drawRenderedImage): Fixed to use changed drawRaster(). | |
6076 | (drawImage(image,xform,obs): Fixed to use new helper function | |
6077 | (drawImage(image,op,x,y)): Ditto. | |
6078 | (drawImage (img,x,y,observer)): Ditto. | |
6079 | ((PainterThread) bgcolor): New Field. | |
6080 | ((PainterThread) (setPixels)): Changed all transparent pixels | |
6081 | to bgcolor. | |
6082 | (drawImage(img,x,y,width,height,bgcolor,observer)): | |
6083 | Fixed FIXME - all the transparent pixels are | |
6084 | changed to the specified bgcolor. | |
6085 | (drawImage(img, x, y, width, height, observer): Changed to | |
6086 | use function above. | |
6087 | (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): | |
6088 | Fixed FIXME- changed all transparent pixels to bgcolor. | |
6089 | (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)): | |
6090 | Changed to use function above. | |
6091 | ||
6092 | 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6093 | ||
6094 | * java/applet/Applet.java (dimensions): New field. | |
6095 | (getDimensions): New method. | |
6096 | (getPreferredSize): Call getDimensions. | |
6097 | (getMinimumSize): Likewise. | |
6098 | ||
6099 | 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6100 | ||
6101 | * jni/classpath/jcl.c: Include stdlib.h, not malloc.h. | |
6102 | * jni/classpath/jnilink.c: Likewise. | |
6103 | ||
6104 | * java/applet/Applet.java (getPreferredSize): New method. | |
6105 | (getMinimumSize): New method. | |
6106 | ||
245c3c04 BM |
6107 | 2004-04-15 Bryce McKinlay <mckinlay@redhat.com> |
6108 | ||
6109 | * prims.cc (_Jv_AllocObject): Remove `size' argument. | |
6110 | (_Jv_AllocObjectNoFinalizer): Likewise. | |
6111 | (_Jv_AllocObjectNoInitNoFinalizer): Likewise. | |
6112 | (_Jv_AllocPtrFreeObject): Likewise. | |
6113 | (_Jv_AllocString): Moved from natString.cc. Call collector interface | |
6114 | directly even in the JVMPI case. | |
6115 | * gcj/cni.h (JvAllocObject): Remove `size' argument from | |
6116 | _Jv_AllocObject calls. | |
6117 | * gcj/javaprims.h: Update prototypes. | |
6118 | * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject. | |
6119 | * java/lang/Class.h: Update _Jv_AllocObject friend prototype. | |
6120 | * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc. | |
6121 | ||
d7afe286 BM |
6122 | 2004-04-14 Andrew Haley <aph@redhat.com> |
6123 | Bryce McKinlay <mckinlay@redhat.com> | |
6124 | ||
6125 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use | |
6126 | _Jv_LookupInterfaceMethodIdx for calls to interfaces. | |
6127 | * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg. | |
6128 | ||
6129 | * testsuite/libjava.lang/InvokeInterface.java: New file. | |
6130 | * testsuite/libjava.lang/InvokeInterface.out: New file. | |
6131 | ||
84264cb6 RM |
6132 | 2004-04-09 Ranjit Mathew <rmathew@hotmail.com> |
6133 | ||
6134 | * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to | |
6135 | modified lookup(). | |
6136 | * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a | |
6137 | StackTraceElement directly. | |
6138 | (newElement): New native helper method to create StackTraceElement | |
6139 | bypassing Java access control. | |
6140 | (createStackTraceElement): Use newElement() instead of directly | |
6141 | calling StackTraceElement's constructor. | |
6142 | * gnu/gcj/runtime/natNameFinder.cc (newElement): New method. | |
6143 | ||
2b6b5c35 MK |
6144 | 2004-04-01 Michael Koch <konqueror@gmx.de> |
6145 | ||
6146 | * java/lang/SecurityManager.java | |
6147 | (checkAwtEventQueueAccess): Implemented. | |
6148 | ||
1c19eacc GB |
6149 | 2004-04-01 Gary Benson <gbenson@redhat.com> |
6150 | ||
6151 | * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception. | |
6152 | (_Jv_SearchMethodInClass): Likewise. | |
6153 | ||
99b43239 PM |
6154 | 2004-03-26 Peter Moon <peterm@miraculum.com> |
6155 | ||
6156 | * java/text/NumberFormat.java: Fix spelling of setCurrency | |
6157 | method. | |
6158 | ||
95e59f1a AG |
6159 | 2004-03-21 Anthony Green <green@redhat.com> |
6160 | ||
6161 | * java/lang/natClass.cc (getClassLoader): Circumvent infinite | |
6162 | recursion when searching for the system ClassLoader. | |
6163 | ||
de205e06 IK |
6164 | 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org> |
6165 | ||
6166 | * java/net/ServerSocket.java | |
6167 | (accept): Close the socket when error occured. | |
6168 | ||
bdf11d55 JF |
6169 | 2004-03-21 Jeroen Frijters <jeroen@frijters.net> |
6170 | ||
6171 | * java/net/URI.java (parseURI): Added unquoting. | |
6172 | (unquote): New method. | |
6173 | (quoteAuthority): Implemented. | |
6174 | (quote(String,String)): New method. | |
6175 | (quotePath): Implemented. | |
6176 | (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field. | |
6177 | (getSchemeSpecificPart): Removed FIXME comment. | |
6178 | (getRawAuthority): Return new rawAuthority field. | |
6179 | (getAuthority): Removed FIXME comment. | |
6180 | (getRawUserInfo): Return new rawUserInfo field. | |
6181 | (getUserInfo): Removed FIXME comment. | |
6182 | (getRawPath): Return new rawPath field. | |
6183 | (getPath): Removed FIXME comment. | |
6184 | (getRawQuery): Return new rawQuery field. | |
6185 | (getQuery): Removed FIXME comment. | |
6186 | (getRawFragment): Return new rawFragment field. | |
6187 | (getFragment): Removed FIXME comment. | |
6188 | ||
0d13be1e MK |
6189 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
6190 | ||
6191 | * java/net/URLConnection.java: Merged copyright year with classpath. | |
6192 | ||
f903e73b NF |
6193 | 2004-03-20 Norbert Frese <postfach@nfrese.net> |
6194 | ||
6195 | * gnu/java/rmi/server/RMIIncomingThread.java: New file. | |
6196 | * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java: | |
6197 | Create a new RMIObjectOuputStream/RMIObjectInputStream for every | |
6198 | rmi-message. | |
6199 | (getObjectInputStream): Return object reference, throw IOException if null. | |
6200 | (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'. | |
6201 | (getObjectOutputStream): Return object reference, throw IOException if null. | |
6202 | (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'. | |
6203 | * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java: | |
6204 | (UnicastConnectionManager): Throw RemoteException if port is not available. | |
6205 | (getInstance): Throw RemoteException. | |
6206 | (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval. | |
6207 | * gcc/libjava/gnu/java/rmi/server/UnicastRef.java: | |
6208 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
6209 | Collect Exceptions which are returned by a rmi-call and fix void returns. | |
6210 | * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java: | |
6211 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
6212 | * gcc/libjava/gnu/java/rmi/server/UnicastServer.java: | |
6213 | (dispatch): Answer ping messages which are sent by other java implementions. | |
6214 | (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream | |
6215 | for every rmi-message and fix void return problems. | |
6216 | * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java | |
6217 | (UnicastServerRef): Throw RemoteException. | |
6218 | (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic. | |
6219 | In some situations it is necessary to export a subclass of the class which has the _Stub. | |
6220 | For instance when the class with has the _Stub is abstract. | |
6221 | (findStubSkelClass): New method which looks for the class which has the _Stub. | |
6222 | (getClientHost): Implementated. | |
6223 | * gcc/libjava/java/rmi/server/RemoteServer.java | |
6224 | (getClientHost): Implementated. | |
6225 | * gcc/libjava/Makefile.am (rmi_java_source_files): | |
6226 | Added gnu/java/rmi/server/RMIIncomingThread.java. | |
6227 | * Makefile.in: Regenerated. | |
6228 | ||
7f5773c6 MK |
6229 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
6230 | ||
6231 | * java/net/InetAddress.java | |
6232 | (getLocalHostname): Added javadoc. | |
6233 | ||
ab16524d PB |
6234 | 2004-03-19 Per Bothner <per@bothner.com> |
6235 | ||
6236 | * configure.in: FILE variable overrides FLATFORM when linking | |
6237 | natFileChannelXXX.cc. | |
6238 | ||
6239 | * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored. | |
6240 | (write): Call diag_write, as in old natFileDescriptorEcos.cc. | |
6241 | ||
0fca95f5 PB |
6242 | 2004-03-19 Per Bothner <per@bothner.com> |
6243 | ||
6244 | * gnu/gcj/convert/Input_UnicodeBig.java: New class.. | |
6245 | * gnu/gcj/convert/Input_UnicodeLittle.java: New class. | |
6246 | * Makefile.am: Update accordingly. | |
6247 | * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be" | |
6248 | as aliases for UnicodeLittle and UnicodeBig. | |
6249 | ||
edb3d426 MW |
6250 | 2004-03-20 Mark Wielaard <mark@klomp.org> |
6251 | ||
6252 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
6253 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth): | |
6254 | Don't access ws when it is null. | |
6255 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight): | |
6256 | Likewise. | |
6257 | ||
b121dcb5 JF |
6258 | 2004-03-19 Jeroen Frijters <jeroen@frijters.net> |
6259 | ||
6260 | * java/lang/ThreadGroup.java (list): Changed print to println. | |
6261 | ||
44b20223 MW |
6262 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
6263 | ||
6264 | * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc | |
6265 | happy. | |
6266 | ||
f94b0887 RC |
6267 | 2004-02-10 Randolph Chung <tausq@debian.org> |
6268 | ||
6269 | * configure.in: Build java for hppa target. | |
6270 | * configure: Regenerate. | |
6271 | * libjava/configure.host (hppa-*): Add target. | |
6272 | * libjava/sysdeps/pa/lock.h: New file. | |
6273 | ||
d511a273 MW |
6274 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
6275 | ||
6276 | Reported by Stephen Crawley | |
6277 | * java/io/FilePermission.java (implies): Use String.length() -1 to | |
6278 | access last char of String. | |
6279 | ||
9c6637c8 MK |
6280 | 2004-03-19 Michael Koch <konqueror@gmx.de> |
6281 | ||
6282 | * java/awt/image/AffineTransformOp.java | |
6283 | (AffineTransformOp): Made public. | |
6284 | * javax/swing/JComponent.java | |
6285 | (listenerList): Made protected. | |
6286 | (accessibleContext): Likewise. | |
6287 | * javax/swing/JList.java | |
6288 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
6289 | * javax/swing/JViewport.java | |
6290 | (getView): Dont use internal fields of Component. | |
6291 | (addImpl): Likewise. | |
6292 | * javax/swing/Timer.java | |
6293 | (isRunning): Made public. | |
6294 | (start): Likewise. | |
6295 | (stop): Likewise. | |
6296 | * javax/swing/UIDefaults.java | |
6297 | (getInt): Made public. | |
6298 | * javax/swing/plaf/basic/BasicListUI.java | |
6299 | (mousePressed): Dont use internal fields of MouseEvent. | |
6300 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
6301 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
6302 | (arrowIcon): Made static. | |
6303 | * javax/swing/plaf/basic/BasicViewportUI.java | |
6304 | (stateChanged): Dont use internal field on ChangeEvent. | |
6305 | * javax/swing/text/JTextComponent.java | |
6306 | (getUI): Call UIManager.getUI(). | |
6307 | (updateUI): Use getUI(). | |
6308 | ||
165c9b04 RO |
6309 | 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6310 | ||
6311 | * verify.cc: Undef PC. | |
6312 | ||
138f5109 MK |
6313 | 2004-03-18 Michael Koch <konqueror@gmx.de> |
6314 | ||
6315 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
6316 | (keys): Initialize at declaration. | |
6317 | (locate): keys cant be null. | |
6318 | (add): Removed. | |
6319 | (addSelectionKey): New method. | |
6320 | (removeSelectionKey): New method. | |
6321 | * java/nio/channels/spi/AbstractSelectionKey.java | |
6322 | (cancel): Call AbstractSelector.cancelKey(SelectionKey key). | |
6323 | * java/nio/channels/spi/AbstractSelector.java | |
6324 | (provider): Javadoc added. | |
6325 | (cancelledKeys): Javadoc added. | |
6326 | (cancelKey): Javadoc added, add key to cancelledKeys. | |
6327 | (deregister): Implemented. | |
6328 | ||
acc63e4c RO |
6329 | 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6330 | ||
6331 | * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast | |
6332 | MAP_FAILED to void *. | |
6333 | ||
86881a7b GH |
6334 | 2004-03-12 Graydon Hoare <graydon@redhat.com> |
6335 | ||
6336 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes. | |
6337 | * javax/swing/JComponent.java (paint): Use persistent double buffer. | |
6338 | * javax/swing/JList.java (ListListener): Revalidate on changes. | |
6339 | * javax/swing/JScrollPane.java: Reimplement. | |
6340 | * javax/swing/JViewport.java: Reimplement. | |
6341 | * javax/swing/ScrollPaneLayout.java: Reimplement. | |
6342 | * javax/swing/ViewportLayout.java: Tidy up. | |
6343 | * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns. | |
6344 | * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement. | |
6345 | * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels. | |
6346 | * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of | |
6347 | backing store only. | |
6348 | ||
6349 | 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6350 | ||
6351 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
6352 | (window_wm_protocols_filter): New function. | |
6353 | (window_focus_in_cb): Remove function. | |
6354 | (window_focus_out_cb): Likewise. | |
6355 | (window_focus_or_active_state_change_cb): New function. | |
6356 | (create): Add filter that removes WM_TAKE_FOCUS client messages. | |
6357 | (connectSignals): Don't attach handlers to focus-in-event or | |
6358 | focus-out-event signals. Handle notify signal. | |
6359 | ||
6360 | 2004-03-11 David Jee <djee@redhat.com> | |
6361 | ||
6362 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
6363 | (gtkSetLabel): New native method declaration. | |
6364 | (setLabel): Use gtkSetLabel. | |
6365 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
6366 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method. | |
6367 | ||
6368 | 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
6369 | ||
6370 | * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to | |
6371 | black when color argument is null. | |
6372 | ||
6373 | 2004-03-10 Kim Ho <kho@redhat.com> | |
6374 | ||
6375 | * java/awt/Container.java: Remove check | |
6376 | for drag events. | |
6377 | ||
6378 | 2004-03-10 Kim Ho <kho@redhat.com> | |
6379 | ||
6380 | * java/awt/Container.java: (visitChild): | |
6381 | Remove candidate clip. Use the component | |
6382 | clip to intersect. | |
6383 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
6384 | (handleEvent): Use the PaintEvent's clip. | |
6385 | ||
6386 | 2004-03-10 Kim Ho <kho@redhat.com> | |
6387 | ||
6388 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
6389 | (handleEvent): Don't set the clip for the | |
6390 | Graphics object. | |
6391 | ||
6392 | 2004-03-09 Graydon Hoare <graydon@redhat.com> | |
6393 | ||
6394 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
6395 | Fix double <-> fixed macros, reset font transform. | |
6396 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: | |
6397 | Likewise. | |
6398 | ||
6399 |