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