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