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