]> gcc.gnu.org Git - gcc.git/blame - libjava/ChangeLog
demangle.h: Do not use C++ reserved keyword typename as parameter for...
[gcc.git] / libjava / ChangeLog
CommitLineData
065afdfa
GL
12004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
2
3 * gnu/java/text/FormatBuffer.java,
4 gnu/java/text/AttributedFormatBuffer.java,
5 gnu/java/text/StringFormatBuffer.java: New classes to implement
6 attributed iterators in java.text.
7 * gnu/java/text/FormatCharacterIterator.java: Moved
8 from java/text as it is an internal class.
9 * java/text/FormatCharacterIterator.java: Removed.
10 * java/text/Format.java:
11 Import gnu.java.text.FormatCharacterIterator.
12 * Makefile.am (java_source_files): Added new files.
13 * Makefile.in: Regenerated.
14
15
af62fd12
MW
162004-05-04 Mark Wielaard <mark@klomp.org>
17
53c87e49 18 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
af62fd12 19
a3c44036
AT
202004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
21
22 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
23 * Makefile.in: Rebuilt.
24
007265b8
MW
252004-05-03 Mark Wielaard <mark@klomp.org>
26
27 * gnu/java/security/der/DERReader.java: Call static methods staticly.
28 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
29 * java/net/URL.java
30 (set(String, String, int, String, String, String, String, String)):
31 Assign this.file to path or path + "?" + query.
32 * java/util/Arrays.java: Call static methods staticly.
33 * java/util/zip/ZipEntry.java: Likewise.
34 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
35 dir to this.direction.
36 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
37 Assign static field only once.
38 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
39
a00d3b3c
MW
402004-05-03 Mark Wielaard <mark@klomp.org>
41
42 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
43 unused variables hScrollbarHeight and vScrollbarWidth.
44 (preferredSize): Likewise.
45 * gnu/java/security/provider/DSAParameters.java (engineToString):
46 Removed unused call to System.getProperty("line.seperator");
47 * java/security/Security.java (loadProviders): Return result.
48
7b68f0bf
TT
492004-05-03 Tom Tromey <tromey@redhat.com>
50
51 * java/net/URLStreamHandler.java (toExternalForm): Removed
52 unused variables.
53 unused constructor.
54 * java/math/BigDecimal.java (divide): Removed unused variable.
55 * java/lang/Throwable.java: Cleaned up imports.
56 * java/lang/ClassLoader.java: Cleaned up imports.
57 * java/io/FilePermission.java (implies): Removed unused
58 variable.
59 * java/awt/TextComponent.java: Removed unused import.
60 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
61 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
62 * gnu/java/text/WordBreakIterator.java: Removed unused import.
63 * gnu/java/text/SentenceBreakIterator.java: Removed unused
64 import.
65 * gnu/java/text/LineBreakIterator.java: Removed unused import.
66 * gnu/java/text/CharacterBreakIterator.java: Removed
67 unused import.
68 * gnu/java/security/provider/DSAKeyPairGenerator.java:
69 Cleaned up imports.
70 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
71 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
72 unused method.
73 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
74 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
75 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
76 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
77 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
78 (lookupProviders): Removed unused variable.
79 (loadNextServiceProvider): Likewise.
80 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
81
493b3c9c
MK
822004-05-03 Michael Koch <konqueror@gmx.de>
83
84 Fixes PR libgcj/14695:
85 * java/net/NetworkInterface.java
86 (getByName): Return null when no interface was found.
87
55ce9c52
RM
882004-04-30 Ranjit Mathew <rmathew@hotmail.com>
89 Tom Tromey <tromey@redhat.com>
90
91 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
92 additional option "-Wmissing-prototypes" for compiling C sources.
93 Print actual filename for pass/fail rather than $name.c.
94 * testsuite/libjava.jni/PR15133.java: New testcase file.
95 * testsuite/libjava.jni/PR15133.c: Likewise.
96 * testsuite/libjava.jni/PR15133.out: Likewise.
97
2d99c042
RS
982004-04-30 Roger Sayle <roger@eyesopen.com>
99
100 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
101 ceil and floor.
102
c1fcbbc3
RM
1032004-04-25 Ranjit Mathew <rmathew@hotmail.com>
104
105 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
106 limit the maximum heap size to avoid unnecessary thrashing.
107
6f0b1fa5
JQ
1082004-04-24 Jerry Quinn <jlquinn@optonline.net>
109
110 * java/text/CollationElementIterator.java (reset): Reset
111 lookahead variables.
112
99a88816
MW
1132004-04-23 Mark Wielaard <mark@klomp.org>
114
115 * jni/classpath/jcl.c: Changed C++ comments into C comments.
116
b4e7ef8d
DT
1172004-04-23 Dalibor Topic <robilad@kaffe.org>
118
119 * java/sql/DriverManager.java:
120 Cleaned up imports.
121
e9d34968
MK
1222004-04-23 Michael Koch <konqueror@gmx.de>
123
124 * java/net/URL.java
125 (hashcode): Don't initialize with default value explicitely.
126 (getContent): Removed redundant "final" keyword.
127 (openStream): Likewise.
128 (getURLStreamHandler): Fixed coding style.
129 * java/net/URLConnection.java
130 (defaultAllowUserInteraction): Don't initialize with default value
131 explicitely.
132 (connected): Likewise.
133 (doOutput): Likewise.
134 (ifModifiedSince): Likewise.
135 (dateformats_initialized): Likewise.
136 (setURLStreamHander): Use StreamTokenizer where it belongs to.
137
87939d70
MK
1382004-04-23 Michael Koch <konqueror@gmx.de>
139
140 * gnu/java/nio/channels/FileChannelImpl.java
141 (SET, CUR): Unused, removed.
142 (read): Implement here directly.
143 (implRead): Removed.
144 (write): Implement here directly.
145 (implWrite): Removed.
146
5d837a58
DT
1472004-04-23 Dalibor Topic <robilad@kaffe.org>
148
149 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
150 javax/rmi/CORBA/Stub.java,
151 javax/rmi/CORBA/Util.java,
152 javax/rmi/CORBA/ValueHandler.java,
153 javax/rmi/CORBA/ValueHandler.java,
154 javax/rmi/PortableRemoteObject.java:
155 Cleaned up imports.
156
ace7ed7c
DT
1572004-04-23 Dalibor Topic <robilad@kaffe.org>
158
159 * java/util/jar/JarFile.java,
160 java/util/jar/JarInputStream.java,
161 java/util/jar/JarOutputStream.java,
162 java/util/jar/Manifest.java:
163 Cleaned up imports.
164
1652004-04-23 Dalibor Topic <robilad@kaffe.org>
166
167 * java/util/ArrayList.java,
168 java/util/Calendar.java,
169 java/util/Currency.java,
170 java/util/HashMap.java,
171 java/util/HashSet.java,
172 java/util/Hashtable.java,
173 java/util/LinkedList.java,
174 java/util/Properties.java,
175 java/util/PropertyPermission.java,
176 java/util/TimeZone.java,
177 java/util/TreeMap.java,
178 java/util/TreeSet.java,
179 java/util/Vector.java,
180 java/util/WeakHashMap.java:
181 Cleaned up imports.
182
1832004-04-23 Dalibor Topic <robilad@kaffe.org>
184
185 * java/util/logging/FileHandler.java,
186 java/util/logging/Formatter.java,
187 java/util/logging/Handler.java,
188 java/util/logging/Logger.java,
189 java/util/logging/SimpleFormatter.java,
190 java/util/logging/XMLFormatter.java:
191 Cleaned up imports.
192
ae522139
MW
1932004-04-22 Mark Wielaard <mark@klomp.org>
194
195 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
196 -Wno-long-long flags variable.
197 (gtk_c_files): Use PEDANTIC_CFLAGS.
198 * Makefile.in: Regenerated.
199
838a4849
MK
2002004-04-22 Mark Wielaard <mark@klomp.org>
201
202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
203 Changed C++ comments into C comments.
204 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
205 Likewise.
206
2072004-04-22 Michael Koch <konqueror@gmx.de>
208
209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
210 Merged copyright year with GNU classpath.
211
fe2235d1
DT
2122004-04-22 Dalibor Topic <robilad@kaffe.org>
213
214 * javax/security/auth/x500/X500Principal.java:
215 Cleaned up imports.
216
b7db3d0a
DT
2172004-04-22 Dalibor Topic <robilad@kaffe.org>
218
219 * javax/swing/JSlider.java:
220 Fixed HTML tags in comments.
221
32bfc773
DT
2222004-04-22 Dalibor Topic <robilad@kaffe.org>
223
224 * javax/accessibility/AccessibleText.java:
225 Cleaned up imports.
226
e930d01a
MK
2272004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
228
229 * java/net/URLStreamHandler.java
230 (parseURL): Convert the file path to using '/' instead of native
231 file separator.
232
2332004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
234
235 * java/net/URL.java
236 (userInfo): New field.
237 (URL): Set authority to the right value.
238 (setURL): Fixed authority and file initialization.
239 * java/net/URLStreamHandler.java
240 (parseURL): Take care of the query tag. Build authority.
241 (toExternalForm): Fixed URL building using authority.
242
5d79367d
MK
2432004-04-22 Michael Koch <konqueror@gmx.de>
244
245 * java/net/Socket.java
246 (impl): Made package-private.
247 * java/net/ServerSocket.java
248 (implAccept): Access Socket.impl field directly.
249
c0dce235
DT
2502004-04-22 Dalibor Topic <robilad@kaffe.org>
251
252 * java/util/prefs/Preferences.java,
253 java/util/prefs/InvalidPreferencesFormatException.java,
254 java/util/prefs/BackingStoreException.java,
255 java/util/prefs/AbstractPreferences.java:
256 Cleaned up imports.
257
2582004-04-22 Dalibor Topic <robilad@kaffe.org>
259
260 * java/util/regex/Matcher.java,
261 java/util/regex/Pattern.java:
262 Cleaned up imports.
263
5c09d725
MK
2642004-04-22 Michael Koch <konqueror@gmx.de>
265
266 * java/nio/charset/IllegalCharsetNameException.java
267 (charsetName): Made private.
268 (IllegalCharsetNameException): Added @param tag to javadoc.
269 (getCharsetName): Added @return tag to javadoc.
270 * java/nio/charset/MalformedInputException.java
271 (MalformedInputException): Added @param tag to javadoc.
272 (getInputLength): Revised method description, added @return tag.
273 (getMessage): Added @return tag.
274
83ef3f2b
JQ
2752004-04-22 Jerry Quinn <jlquinn@optonline.net>
276
277 * java/awt/Font.java (deriveFont): Implement missing variants.
278 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
279 missing variants.
280
746ecc78
BM
2812004-04-21 Bryce McKinlay <mckinlay@redhat.com>
282
283 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
284 Set method->index values for interface methods to their itable index.
285 (initializeClass): Call _Jv_LayoutInterfaceMethods.
286
86a80fc3
MK
2872004-04-21 Michael Koch <konqueror@gmx.de>
288
289 * java/nio/DirectByteBufferImpl.java
290 (shiftDown): Made static, give address as argument and
291 provide a convenience method that overwrites shiftDown in
292 ByteBufferImpl and calls the native shiftDown.
293 * java/nio/MappedByteBufferImpl.java
294 (): Use optimized method in DirectByteBufferImpl.
295 * java/nio/natDirectByteBufferImpl.cc
296 (shiftDown): Changed method signature. Removed usage of array_offset.
297
6e90ed19
MK
2982004-04-21 Michael Koch <konqueror@gmx.de>
299
300 * gnu/java/net/natPlainSocketImplPosix.cc
301 (SocketInputStream::read): Make sure returned data is a byte value.
302
96d22b12
MK
3032004-04-21 Michael Koch <konqueror@gmx.de>
304
305 * gnu/classpath/ServiceFactory.java,
306 gnu/classpath/ServiceProviderLoadingAction.java,
307 javax/imageio/ImageReader.java,
308 javax/imageio/ImageTranscoder.java,
309 javax/imageio/ImageWriter.java,
310 javax/imageio/package.html,
311 javax/imageio/spi/IIOServiceProvider.java,
312 javax/imageio/spi/ImageInputStreamSpi.java,
313 javax/imageio/spi/ImageOutputStreamSpi.java,
314 javax/imageio/spi/ImageReaderWriterSpi.java,
315 javax/imageio/spi/ImageTranscoderSpi.java,
316 javax/imageio/spi/RegisterableService.java,
317 javax/imageio/spi/ServiceRegistry.java,
318 javax/imageio/spi/package.html,
319 javax/imageio/stream/IIOByteBuffer.java,
320 javax/imageio/stream/ImageInputStream.java,
321 javax/imageio/stream/ImageOutputStream.java,
322 javax/imageio/stream/package.html:
323 New files.
324 * Makefile.am
325 (ordinary_java_source_files): Added
326 gnu/classpath/ServiceFactory.java and
327 gnu/classpath/ServiceProviderLoadingAction.java.
328 (javax_source_files): Added
329 javax/imageio/ImageReader.java,
330 javax/imageio/ImageTranscoder.java,
331 javax/imageio/ImageWriter.java,
332 javax/imageio/spi/IIOServiceProvider.java,
333 javax/imageio/spi/ImageInputStreamSpi.java,
334 javax/imageio/spi/ImageOutputStreamSpi.java,
335 javax/imageio/spi/ImageReaderWriterSpi.java,
336 javax/imageio/spi/ImageTranscoderSpi.java,
337 javax/imageio/spi/RegisterableService.java,
338 javax/imageio/spi/ServiceRegistry.java,
339 javax/imageio/stream/IIOByteBuffer.java,
340 javax/imageio/stream/ImageInputStream.java and
341 javax/imageio/stream/ImageOutputStream.java.
342 * Makefile.in: Regenerated.
343
ca17d211
MK
3442004-04-21 Michael Koch <konqueror@gmx.de>
345
346 * java/util/Properties.java
347 (load): Fix wrongly merged fix.
348
60e957d0
MW
3492004-04-21 Mark Wielaard <mark@klomp.org>
350
351 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
352 malloc and free buf.
353
27dd18cf
DT
3542004-04-21 Dalibor Topic <robilad@kaffe.org>
355
356 * javax/naming/AuthenticationException.java,
357 javax/naming/AuthenticationNotSupportedException.java,
358 javax/naming/CannotProceedException.java,
359 javax/naming/CommunicationException.java,
360 javax/naming/CompoundName.java,
361 javax/naming/ConfigurationException.java,
362 javax/naming/ContextNotEmptyException.java,
363 javax/naming/InitialContext.java,
364 javax/naming/InsufficientResourcesException.java,
365 javax/naming/InterruptedNamingException.java,
366 javax/naming/LimitExceededException.java,
367 javax/naming/LinkException.java,
368 javax/naming/LinkLoopException.java,
369 javax/naming/LinkRef.java,
370 javax/naming/MalformedLinkException.java,
371 javax/naming/Name.java,
372 javax/naming/NameAlreadyBoundException.java,
373 javax/naming/NameNotFoundException.java,
374 javax/naming/NamingSecurityException.java,
375 javax/naming/NoInitialContextException.java,
376 javax/naming/NoPermissionException.java,
377 javax/naming/NotContextException.java,
378 javax/naming/PartialResultException.java,
379 javax/naming/ReferralException.java,
380 javax/naming/ServiceUnavailableException.java,
381 javax/naming/SizeLimitExceededException.java,
382 javax/naming/TimeLimitExceededException.java,
383 javax/naming/directory/Attribute.java,
384 javax/naming/directory/Attributes.java,
385 javax/naming/directory/SearchResult.java,
386 javax/naming/event/NamingExceptionEvent.java,
387 javax/naming/spi/ResolveResult.java:
388 Cleaned up imports.
389
2635995a
MW
3902004-04-21 Mark Wielaard <mark@klomp.org>
391
392 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
393 Changed C++ comments into C comments. Removed commented out code.
394 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
395 Likewise.
396 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
397 Likewise.
398 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
399 Likewise.
400 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
401 Likewise.
402 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
403 Likewise.
404 * native/jni/gtk-peer/gthread-jni.c:
405 Likewise.
406
1c3d6bb2
MW
4072004-04-21 Mark Wielaard <mark@klomp.org>
408
409 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
410 static fields defined in interface.
411 * javax/awt/JDialog.java: Likewise.
412 (JDialog): Make constructors public.
413 (getDefaultCloseOperation): Make public.
414 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
415 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
416 * javax/swing/JViewport.java (JViewport): Make constructor public.
417
387fa012
MK
4182004-04-21 Michael Koch <konqueror@gmx.de>
419
420 * java/util/Map.java
421 (Entry): Removed redundant "static" modifier.
422 * java/text/AttributedCharacterIterator.java:
423 Updated copyright year.
424
bf9f06ae
MK
4252004-04-20 Michael Koch <konqueror@gmx.de>
426
427 * javax/naming/directory/SearchControls.java:
428 Don't explicitely extend java.lang.Object.
429 * javax/naming/spi/DirStateFactory.java:
430 Merged copyright year with GNU classpath.
431
8a6c1d29
MK
4322004-04-20 Michael Koch <konqueror@gmx.de>
433
434 * java/nio/channels/Channels.java:
435 Merged coding style with GNU classpath.
436
f5874634
MK
4372004-04-20 Michael Koch <konqueror@gmx.de>
438
439 * java/net/ServerSocket.java
440 Merged coding style from GNU classpath.
441
90cb5151
MK
4422004-04-20 Michael Koch <konqueror@gmx.de>
443
444 * java/io/BufferedWriter.java:
445 Reordered variables to be at top of the class.
446 (localFlush): Removed redundant final keyword.
447
5ede96a4
IP
4482004-04-20 Ingo Proetel <proetel@aicas.com>
449
450 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
451
391d8ef5
MK
4522004-04-20 Jeroen Frijters <jeroen@frijters.net>
453
454 * java/text/DecimalFormat.java (scanFix): Removed suffix check
455 for percent and permill check.
456
4572004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
458
459 * java/text/FieldPosition.java
460 (FieldPosition) Constructor now behaves as it should according
461 to the java documentation.
462
4632004-04-20 Mark Wielaard <mark@klomp.org>
464
465 * java/util/Properties.java: Use the word umlaut, not &auml; in api
466 documentation.
467
92e1fe67
MK
4682004-04-20 Michael Koch <konqueror@gmx.de>
469
470 * java/nio/Buffer.java,
471 java/nio/channels/AlreadyConnectedException.java,
472 java/nio/channels/AsynchronousCloseException.java,
473 java/nio/channels/ByteChannel.java,
474 java/nio/channels/CancelledKeyException.java,
475 java/nio/channels/Channel.java,
476 java/nio/channels/Channels.java,
477 java/nio/channels/ClosedByInterruptException.java,
478 java/nio/channels/ClosedChannelException.java,
479 java/nio/channels/ClosedSelectorException.java,
480 java/nio/channels/ConnectionPendingException.java,
481 java/nio/channels/DatagramChannel.java,
482 java/nio/channels/FileChannel.java,
483 java/nio/channels/FileLock.java,
484 java/nio/channels/FileLockInterruptionException.java,
485 java/nio/channels/GatheringByteChannel.java,
486 java/nio/channels/IllegalBlockingModeException.java,
487 java/nio/channels/IllegalSelectorException.java,
488 java/nio/channels/InterruptibleChannel.java,
489 java/nio/channels/NoConnectionPendingException.java,
490 java/nio/channels/NonReadableChannelException.java,
491 java/nio/channels/NonWritableChannelException.java,
492 java/nio/channels/NotYetBoundException.java,
493 java/nio/channels/NotYetConnectedException.java,
494 java/nio/channels/OverlappingFileLockException.java,
495 java/nio/channels/Pipe.java,
496 java/nio/channels/ReadableByteChannel.java,
497 java/nio/channels/ScatteringByteChannel.java,
498 java/nio/channels/SelectableChannel.java,
499 java/nio/channels/SelectionKey.java,
500 java/nio/channels/Selector.java,
501 java/nio/channels/ServerSocketChannel.java,
502 java/nio/channels/SocketChannel.java,
503 java/nio/channels/UnresolvedAddressException.java,
504 java/nio/channels/UnsupportedAddressTypeException.java,
505 java/nio/channels/WritableByteChannel.java,
506 java/nio/channels/spi/AbstractInterruptibleChannel.java,
507 java/nio/channels/spi/AbstractSelectableChannel.java,
508 java/nio/channels/spi/AbstractSelectionKey.java,
509 java/nio/channels/spi/AbstractSelector.java,
510 java/nio/channels/spi/SelectorProvider.java,
511 java/nio/charset/spi/CharsetProvider.java:
512 Fixed javadocs and jalopied all over java.nio.
513
08c5d757
MK
5142004-04-20 Michael Koch <konqueror@gmx.de>
515
516 * java/nio/ByteBufferImpl.java,
517 java/nio/CharBufferImpl.java,
518 java/nio/DirectByteBufferImpl.java,
519 java/nio/DoubleBufferImpl.java,
520 java/nio/DoubleViewBufferImpl.java,
521 java/nio/FloatBufferImpl.java,
522 java/nio/FloatViewBufferImpl.java,
523 java/nio/IntBufferImpl.java,
524 java/nio/IntViewBufferImpl.java,
525 java/nio/LongBufferImpl.java,
526 java/nio/LongViewBufferImpl.java,
527 java/nio/MappedByteBufferImpl.java,
528 java/nio/ShortBufferImpl.java,
529 java/nio/ShortViewBufferImpl.java:
530 Made sure all classes are final and removed final keyword from all
531 methods.
532
a17c9f2e
MK
5332004-04-20 Michael Koch <konqueror@gmx.de>
534
535 * java/rmi/MarshalledObject.java,
536 java/rmi/Naming.java,
537 java/rmi/RemoteException.java,
538 java/rmi/activation/ActivationException.java,
539 java/rmi/server/ServerCloneException.java,
540 java/security/AccessController.java,
541 java/security/AlgorithmParameterGenerator.java,
542 java/security/AlgorithmParameters.java,
543 java/security/CodeSource.java,
544 java/security/Identity.java,
545 java/security/IdentityScope.java,
546 java/security/KeyPairGenerator.java,
547 java/security/KeyStore.java,
548 java/security/Security.java,
549 java/security/Signature.java,
550 java/security/SignatureSpi.java,
551 java/security/SignedObject.java,
552 java/security/spec/DSAParameterSpec.java,
553 java/security/spec/DSAPrivateKeySpec.java,
554 java/security/spec/DSAPublicKeySpec.java,
555 java/sql/Array.java,
556 java/sql/DatabaseMetaData.java,
557 java/sql/ResultSet.java,
558 java/text/ChoiceFormat.java,
559 java/text/CollationElementIterator.java,
560 java/text/CollationKey.java,
561 java/text/Collator.java,
562 java/text/DateFormat.java,
563 java/text/DateFormatSymbols.java,
564 java/text/DecimalFormatSymbols.java,
565 java/text/Format.java,
566 java/text/ParsePosition.java,
567 java/text/RuleBasedCollator.java,
568 java/text/SimpleDateFormat.java,
569 java/text/StringCharacterIterator.java,
570 java/util/Collections.java,
571 java/util/PropertyResourceBundle.java,
572 java/util/ResourceBundle.java,
573 java/util/StringTokenizer.java,
574 java/util/jar/Attributes.java,
575 java/util/logging/ConsoleHandler.java,
576 java/util/logging/LogManager.java,
577 java/util/logging/MemoryHandler.java,
578 java/util/logging/SocketHandler.java,
579 javax/naming/NamingException.java:
580 Fixed javadoc, coding style and argument names all over.
581
0fc920c8
MK
5822004-04-20 Jeroen Frijters <jeroen@frijters.net>
583
584 * java/io/FileDescriptor.java: (FileDescriptor) Added public
585 constructor. (valid) Added null check.
586
5872004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
588
589 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
590 * java/io/FileOutputStream.java
591 (FileOutputStream) Reorganized constructors. Constructors now
592 check whether the given path is directory.
593
f6d49f66
MK
5942004-04-20 Michael Koch <konqueror@gmx.de>
595
596 * java/net/Authenticator.java,
597 java/net/BindException.java,
598 java/net/ConnectException.java,
599 java/net/ContentHandler.java,
600 java/net/ContentHandlerFactory.java,
601 java/net/DatagramPacket.java,
602 java/net/DatagramSocket.java,
603 java/net/DatagramSocketImpl.java,
604 java/net/DatagramSocketImplFactory.java,
605 java/net/FileNameMap.java,
606 java/net/HttpURLConnection.java,
607 java/net/Inet4Address.java,
608 java/net/Inet6Address.java,
609 java/net/InetAddress.java,
610 java/net/InetSocketAddress.java,
611 java/net/JarURLConnection.java,
612 java/net/MalformedURLException.java,
613 java/net/MulticastSocket.java,
614 java/net/NetPermission.java,
615 java/net/NetworkInterface.java,
616 java/net/NoRouteToHostException.java,
617 java/net/PasswordAuthentication.java,
618 java/net/PortUnreachableException.java,
619 java/net/ProtocolException.java,
620 java/net/ServerSocket.java,
621 java/net/Socket.java,
622 java/net/SocketAddress.java,
623 java/net/SocketException.java,
624 java/net/SocketImpl.java,
625 java/net/SocketImplFactory.java,
626 java/net/SocketOptions.java,
627 java/net/SocketPermission.java,
628 java/net/SocketTimeoutException.java,
629 java/net/URI.java,
630 java/net/URISyntaxException.java,
631 java/net/URL.java,
632 java/net/URLClassLoader.java,
633 java/net/URLConnection.java,
634 java/net/URLDecoder.java,
635 java/net/URLEncoder.java,
636 java/net/URLStreamHandler.java,
637 java/net/URLStreamHandlerFactory.java,
638 java/net/UnknownHostException.java,
639 java/net/UnknownServiceException.java:
640 Fixed javadocs, coding style and argument names all over.
641
cf6f7d55
MK
6422004-04-20 Michael Koch <konqueror@gmx.de>
643
644 * java/lang/Byte.java,
645 java/lang/CharSequence.java,
646 java/lang/ClassLoader.java,
647 java/lang/Compiler.java,
648 java/lang/Double.java,
649 java/lang/Float.java,
650 java/lang/Integer.java,
651 java/lang/Long.java,
652 java/lang/Math.java,
653 java/lang/Number.java,
654 java/lang/Package.java,
655 java/lang/Runtime.java,
656 java/lang/RuntimePermission.java,
657 java/lang/SecurityManager.java,
658 java/lang/Short.java,
659 java/lang/StringBuffer.java,
660 java/lang/System.java,
661 java/lang/ThreadGroup.java,
662 java/lang/Throwable.java,
663 java/lang/reflect/InvocationHandler.java,
664 java/lang/reflect/Proxy.java:
665 Fixed javadocs, coding style and argument names all over.
666
9f714d5e
MK
6672004-04-20 Michael Koch <konqueror@gmx.de>
668
669 * java/io/BufferedWriter.java,
670 java/io/ByteArrayInputStream.java,
671 java/io/CharArrayWriter.java,
672 java/io/DataInput.java,
673 java/io/DataInputStream.java,
674 java/io/File.java,
675 java/io/FilterInputStream.java,
676 java/io/InputStream.java,
677 java/io/InputStreamReader.java,
678 java/io/ObjectInputStream.java,
679 java/io/ObjectStreamClass.java,
680 java/io/PipedInputStream.java,
681 java/io/PipedReader.java,
682 java/io/PushbackInputStream.java,
683 java/io/PushbackReader.java,
684 java/io/RandomAccessFile.java,
685 java/io/SerializablePermission.java,
686 java/io/StreamTokenizer.java,
687 java/io/StringWriter.java,
688 java/io/WriteAbortedException.java,
689 java/io/Writer.java:
690 Fixed javadocs all over, rename arguments to match javadocs,
691 fixed coding style.
692
23f0ecff
MK
6932004-04-20 Ingo Proetel <proetel@aicas.com>
694
695 * java/awt/FontMetrics.java:
696 (charsWidth): fixed accumulation of total_width
697 (getWidth): simple default implementation
698 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
699 in Rectangle constructor.
700 * java/awt/image/Raster.java (toString): Added method.
701 * java/awt/image/SampleModel.java (<init>): Added error cause
702 information to thrown exception.
703 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
704 New method.
705 (setDataElements): New method.
706 (setPixels): New method.
707 (toString): New method.
708
7092004-04-20 Sascha Brawer <brawer@dandelis.ch>
710
711 * java/awt/image/ComponentColorModel.java
712 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
713 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
714 Mauve tests on this method. Improved documentation.
715
2c4d54e6
MK
7162004-04-20 Michael Koch <konqueror@gmx.de>
717
718 * javax/swing/JLayeredPane.java,
719 javax/swing/plaf/BorderUIResource.java,
720 javax/swing/plaf/ComponentUI.java,
721 javax/swing/undo/CompoundEdit.java,
722 javax/swing/undo/StateEdit.java:
723 Fixed HTML tags in javadocs all over.
724
5589f3e5
MK
7252004-04-20 Michael Koch <konqueror@gmx.de>
726
727 * javax/print/attribute/EnumSyntax.java
728 (getOffset): Made protected.
729 * javax/print/attribute/HashAttributeSet.java
730 (HashAttributeSet): Likewise.
731 * javax/print/attribute/ResolutionSyntax.java
732 (getFeedResolution): Fixed typo in exception name.
733 (getCrossFeedResolution): Likewise.
734 * javax/print/attribute/SetOfIntegerSyntax.java
735 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
736 * javax/print/attribute/TextSyntax.java
737 (TextSyntax): Handle locale correctly.
738 (hashCode): Calc better hashcode value.
739 (equals): Fixed @return tag.
740 (toString): New method.
741
0150fc22
MK
7422004-04-20 Michael Koch <konqueror@gmx.de>
743
744 * gnu/java/nio/FileLockImpl.java
745 (static): Removed, not needed anymore.
746 * gnu/java/nio/channels/FileChannelImpl.java
747 (FileChannelImpl): Made final.
748 (mode): Made private.
749 (READ, WRITE, APPEND): Made public.
750 (EXCL, SYNC, DSYNC): Likewise.
751 (static): Load native JNI library, when needed.
752 (length): Unused, removed.
753 (available): Made public.
754 (implPosition): Throws IOException.
755 (seek): Likewise.
756 (implTruncate): Likewise.
757 (unlock): Likewise.
758 (lock): Likewise.
759
7431acbe
MK
7602004-04-20 Michael Koch <konqueror@gmx.de>
761
762 * java/awt/AWTPermission.java,
763 java/awt/Component.java,
764 java/awt/ComponentOrientation.java,,
765 java/awt/Dialog.java,
766 java/awt/FontMetrics.java,
767 java/awt/Graphics.java,
768 java/awt/datatransfer/DataFlavor.java,
769 java/beans/Introspector.java,
770 java/beans/PropertyEditor.java,
771 java/beans/PropertyEditorManager.java,
772 java/beans/beancontext/BeanContextServiceProvider.java:
773 Fixed HTML tags in javadocs all over.
774
7f6f517f
MW
7752004-04-20 Mark Wielaard <mark@klomp.org>
776
777 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
778 MissingResourceException is thrown.
779 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
780 null when a MissingResourceException is thrown. Should never happen.
781
8ecb0346
MK
7822004-04-20 Sascha Brawer <brawer@dandelis.ch>
783
784 * java/awt/image/DataBufferShort.java,
785 java/awt/image/DataBufferFloat.java,
786 java/awt/image/DataBufferDouble.java,
787 java/awt/image/PixelInterleavedSampleModel.java: New files.
788 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
789 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
790
7912004-04-20 Michael Koch <konqueror@gmx.de>
792
793 * Makefile.am (java_source_files): Added
794 java/awt/image/DataBufferDouble.java,
795 java/awt/image/DataBufferFloat.java,
796 java/awt/image/DataBufferShort.java and
797 java/awt/image/PixelInterleavedSampleModel.java.
798 * Makefile.in: Regenerated.
799
f5310108
BM
8002004-04-19 Bryce McKinlay <mckinlay@redhat.com>
801
802 * gcj/cni.h (JvAllocObject): Remove these obsolete,
803 undocumented CNI calls.
804 * include/java-interp.h (_Jv_InterpClass): No longer
805 extends java.lang.Class.
806 * java/lang/Class.h (Class): Add new field `aux_info'.
807 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
808 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
809 Use Class->aux_info instead.
810 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
811 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
812 Use Class->aux_info instead.
813 * java/io/natObjectInputStream.cc (allocateObject): Use
814 _Jv_AllocObject.
815 * java/lang/natClass.cc (newInstance): Likewise.
816 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
817 * java/lang/natObject.cc (clone): Likewise.
818 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
819 * java/lang/natVMClassLoader.cc (defineClass): Don't use
820 JvAllocObject. Allocate klass->aux_info here for interpreted
821 class.
822
afd7c0dc
MW
8232004-04-17 Mark Wielaard <mark@klomp.org>
824
825 * javax/swing/JToggleButton.java (ToggleButtonModel):
826 Make public static inner class.
827 * javax/swing/JTabbedPane.java (setComponentAt):
828 Call Page.setComponent().
829 (SCROLL_TAB_LAYOUT): Make public, value is 1.
830 (WRAP_TAB_LAYOUT): Make public, value is 0.
831 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
832 Make private static inner class.
833
bf7ad402
BM
8342004-04-16 Bryce McKinlay <mckinlay@redhat.com>
835
836 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
837 arguments to match new signature. Remove FIXME comments.
838
31e632d3
GH
8392004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
840
841 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
842 Remove method.
843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
844 unused code.
845
8462004-04-02 Olga Rodimina <rodimina@redhat.com>
847
848 * Makefile.am: Added new file.
849 * Makefile.in: Regenerate.
850 * javax/swing/ImageIcon.java:
851 (ImageIcon(file)): set description of the icon
852 to the file name
853 * javax/swing/JCheckBoxMenuItem.java:
854 Mostly Implemented. Work in progress.
855 * javax/swing/JRadioButtonMenuItem.java:
856 Reimplement constructors to use JToggleButtonModel.
857 * javax/swing/plaf/basic/BasicIconFactory.java:
858 (getCheckBoxMenuItemIcon): return check box
859 icon.
860 * javax/swing/plaf/basic/BasicMenuItemUI.java:
861 paint menu item selected only when it is armed and
862 pressed.
863
8642004-04-02 David Jee <djee@redhat.com>
865
866 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
867 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
868 * java/awt/Component.java
869 (add): Set the parent of the popup as this component.
870 * java/awt/PopupMenu.java
871 (addNotify): Create popup menu when peer is null.
872 (show): Call addNotify() if peer is null.
873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
874 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
875 argument for gtk_menu_popup() as zero. This causes the popup menu to
876 respond to any mouse button.
877
8782004-03-31 Olga Rodimina <rodimina@redhat.com>
879
880 * Makefile.am: Added new file.
881 * Makefile.in: Regenerate.
882 * javax/swing/JRadioButtonMenuItem.java:
883 Implemented.
884 * javax/swing/plaf/basic/BasicIconFactory.java:
885 (getRadioButtonMenuItemIcon): Return
886 radio button icon.
887 * javax/swing/plaf/basic/BasicMenuItemUI.java:
888 (getPreferredSize): Add size of checkIcon if it
889 exists.
890 (installDefaults): Don't initialize checkIcon.
891 It's value will be set in subclasses.
892 (uninstallDefaults): remove uninstallation of
893 checkIcon.
894 (paint): Moved code to paintMenuItem().
895 (paintMenuItem): Implemented.
896 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
897 UI delegate for JRadioButtonMenuItem.
898
8992004-03-29 Olga Rodimina <rodimina@redhat.com>
900
901 * javax/swing/plaf/basic/BasicMenuItemUI.java:
902 Corrected position of the accelerator.
903
9042004-03-29 Olga Rodimina <rodimina@redhat.com>
905
906 * Makefile.am: Added new file.
907 * Makefile.in: Regenerate.
908 * javax/swing/JMenuItem.java: Partly
909 implemented. Work in progress
910 * javax/swing/plaf/basic/BasicLookAndFeel.java:
911 Changed default value of acceleratorDelimiter.
912 * javax/swing/plaf/basic/BasicMenuItemUI.java:
913 New class. Partly implemented.
914
9152004-03-26 Mark Wielaard <mark@klomp.org>
916
917 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
918 (item_activate): Declare label before use.
919 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
920 (gtkSetFont): Removed unused variable label.
921 (addExposeFilter): Declare variables before use.
922 (removeExposeFilter): Likewise.
923 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
924 (ok_clicked): Declare str_fileName before use.
925
9262004-03-26 David Jee <djee@redhat.com>
927
928 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
929 (addSeparator): Remove.
930 * java/awt/Menu.java
931 (separator): Remove static final MenuItem field.
932 (separatorLabel): New static final String field.
933 (addSeparator): Do not use peer method; use add(MenuItem) instead.
934 Use separatorLabel to denote that it is a separator.
935 (insertSeparator): Create a new MenuItem with separatorLabel, instead
936 of reusing the static separator instance, because a MenuItem instance
937 can't be added more than once without being cloned.
938 * java/awt/peer/MenuPeer.java
939 (addSeparator): Remove from interface.
940
9412004-03-26 David Jee <djee@redhat.com>
942
943 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
944 (connectSignals): New native method declaration.
945 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
946 * java/awt/MenuItem.java
947 (getActionCommand): Return the label if the action command is not set.
948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
949 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
950 gtk_menu_shell_append().
951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
952 (item_activate): Fix argument type.
953 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
954 signal here.
955 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
956 method.
957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
958 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
959 given. Add the menu widget's top-level GtkWindow to the global window
960 group, so it can grab the pointer.
961 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
962 gtk_menu_shell_append().
963
9642004-03-23 Graydon Hoare <graydon@redhat.com>
965
966 * java/text/AttributedString.java
967 (addAttribute): Fix off-by-one.
968 (getIterator): Likewise.
969 * java/text/AttributedStringIterator.java
970 (getRunLimit): Correct logic.
971 (getRunStart): Likewise.
972 (getAttribute): Fix inequality.
973 (getAttributes): Likewise.
974 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
975
9762004-03-23 Kim Ho <kho@redhat.com>
977
978 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
979 (calculateSizes): Return real width and height.
980
9812004-03-23 Kim Ho <kho@redhat.com>
982
983 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
984 (calculateTabRects): Set the selectedRun before
985 trying to rotate tabs.
986
9872004-03-23 Kim Ho <kho@redhat.com>
988
989 * Makefile.am: New file
990 * Makefile.in: Regenerate
991 * java/awt/Graphics.java: (drawRect):
992 Draw to the correct point.
993 * javax/swing/DefaultSingleSelectionModel.java
994 (isSelected): Return true if the selected index
995 is not -1.
996 * javax/swing/JLabel.java: Do not change mnemonic
997 index if text is null.
998 * javax/swing/JProgressBar.java: Use JComponent's
999 EventListenerList.
1000 * javax/swing/JScrollBar.java: Ditto.
1001 * javax/swing/JSlider.java: Ditto.
1002 * javax/swing/JTabbedPane.java: Reimplement.
1003 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1004 Add defaults for TabbedPane.
1005 * javax/swing/plaf/basic/BasicArrowButton.java:
1006 Implement
1007 * javax/swing/plaf/basic/BasicProgressBarUI.java:
1008 (paintDeterminate): Don't paint String if it's
1009 empty.
1010 (paintIndeterminate): ditto.
1011 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1012 Reimplement.
1013
10142004-03-19 Michael Koch <konqueror@gmx.de>
1015
1016 * java/awt/image/AffineTransformOp.java
1017 (AffineTransformOp): Made public.
1018 * javax/swing/JComponent.java
1019 (listenerList): Made protected.
1020 (accessibleContext): Likewise.
1021 * javax/swing/JList.java
1022 (valueChanged): Dont use internal fields of ListSelectionEvent.
1023 * javax/swing/JViewport.java
1024 (getView): Dont use internal fields of Component.
1025 (addImpl): Likewise.
1026 * javax/swing/Timer.java
1027 (isRunning): Made public.
1028 (start): Likewise.
1029 (stop): Likewise.
1030 * javax/swing/UIDefaults.java
1031 (getInt): Made public.
1032 * javax/swing/plaf/basic/BasicListUI.java
1033 (mousePressed): Dont use internal fields of MouseEvent.
1034 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
1035 * javax/swing/plaf/basic/BasicScrollBarUI.java
1036 (arrowIcon): Made static.
1037 * javax/swing/plaf/basic/BasicViewportUI.java
1038 (stateChanged): Dont use internal field on ChangeEvent.
1039 * javax/swing/text/JTextComponent.java
1040 (getUI): Call UIManager.getUI().
1041 (updateUI): Use getUI().
1042
10432004-03-19 Graydon Hoare <graydon@redhat.com>
1044
1045 * javax/swing/JComponent.java: Turn off double buffer by default.
1046 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
1047 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1048 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
1049 Use cairo to copy areas.
1050 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
1051 Initialize and set clip region.
1052
10532004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1054
1055 * java/applet/Applet.java (preferredSize): Override deprecated
1056 variant of getPreferredSize.
1057 (minimumSize): Override deprecated variant of getMinimumSize.
1058
10592004-03-15 Olga Rodimina <rodimina@redhat.com>
1060
1061 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1062 (drawImage(img,xform,bgcolor,obs)): New Method.
1063 Helper function that every drawImage method will
1064 use.
1065 (drawRaster): Added new parameter, bgcolor. All
1066 transparent pixels are changed to bgcolor before
1067 image is drawn.
1068 (drawRenderedImage): Fixed to use changed drawRaster().
1069 (drawImage(image,xform,obs): Fixed to use new helper function
1070 (drawImage(image,op,x,y)): Ditto.
1071 (drawImage (img,x,y,observer)): Ditto.
1072 ((PainterThread) bgcolor): New Field.
1073 ((PainterThread) (setPixels)): Changed all transparent pixels
1074 to bgcolor.
1075 (drawImage(img,x,y,width,height,bgcolor,observer)):
1076 Fixed FIXME - all the transparent pixels are
1077 changed to the specified bgcolor.
1078 (drawImage(img, x, y, width, height, observer): Changed to
1079 use function above.
1080 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
1081 Fixed FIXME- changed all transparent pixels to bgcolor.
1082 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
1083 Changed to use function above.
1084
10852004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1086
1087 * java/applet/Applet.java (dimensions): New field.
1088 (getDimensions): New method.
1089 (getPreferredSize): Call getDimensions.
1090 (getMinimumSize): Likewise.
1091
10922004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1093
1094 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
1095 * jni/classpath/jnilink.c: Likewise.
1096
1097 * java/applet/Applet.java (getPreferredSize): New method.
1098 (getMinimumSize): New method.
1099
245c3c04
BM
11002004-04-15 Bryce McKinlay <mckinlay@redhat.com>
1101
1102 * prims.cc (_Jv_AllocObject): Remove `size' argument.
1103 (_Jv_AllocObjectNoFinalizer): Likewise.
1104 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
1105 (_Jv_AllocPtrFreeObject): Likewise.
1106 (_Jv_AllocString): Moved from natString.cc. Call collector interface
1107 directly even in the JVMPI case.
1108 * gcj/cni.h (JvAllocObject): Remove `size' argument from
1109 _Jv_AllocObject calls.
1110 * gcj/javaprims.h: Update prototypes.
1111 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
1112 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
1113 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
1114
d7afe286
BM
11152004-04-14 Andrew Haley <aph@redhat.com>
1116 Bryce McKinlay <mckinlay@redhat.com>
1117
1118 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
1119 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
1120 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
1121
1122 * testsuite/libjava.lang/InvokeInterface.java: New file.
1123 * testsuite/libjava.lang/InvokeInterface.out: New file.
1124
84264cb6
RM
11252004-04-09 Ranjit Mathew <rmathew@hotmail.com>
1126
1127 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
1128 modified lookup().
1129 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
1130 StackTraceElement directly.
1131 (newElement): New native helper method to create StackTraceElement
1132 bypassing Java access control.
1133 (createStackTraceElement): Use newElement() instead of directly
1134 calling StackTraceElement's constructor.
1135 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
1136
2b6b5c35
MK
11372004-04-01 Michael Koch <konqueror@gmx.de>
1138
1139 * java/lang/SecurityManager.java
1140 (checkAwtEventQueueAccess): Implemented.
1141
1c19eacc
GB
11422004-04-01 Gary Benson <gbenson@redhat.com>
1143
1144 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
1145 (_Jv_SearchMethodInClass): Likewise.
1146
99b43239
PM
11472004-03-26 Peter Moon <peterm@miraculum.com>
1148
1149 * java/text/NumberFormat.java: Fix spelling of setCurrency
1150 method.
1151
95e59f1a
AG
11522004-03-21 Anthony Green <green@redhat.com>
1153
1154 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
1155 recursion when searching for the system ClassLoader.
1156
de205e06
IK
11572004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
1158
1159 * java/net/ServerSocket.java
1160 (accept): Close the socket when error occured.
1161
bdf11d55
JF
11622004-03-21 Jeroen Frijters <jeroen@frijters.net>
1163
1164 * java/net/URI.java (parseURI): Added unquoting.
1165 (unquote): New method.
1166 (quoteAuthority): Implemented.
1167 (quote(String,String)): New method.
1168 (quotePath): Implemented.
1169 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
1170 (getSchemeSpecificPart): Removed FIXME comment.
1171 (getRawAuthority): Return new rawAuthority field.
1172 (getAuthority): Removed FIXME comment.
1173 (getRawUserInfo): Return new rawUserInfo field.
1174 (getUserInfo): Removed FIXME comment.
1175 (getRawPath): Return new rawPath field.
1176 (getPath): Removed FIXME comment.
1177 (getRawQuery): Return new rawQuery field.
1178 (getQuery): Removed FIXME comment.
1179 (getRawFragment): Return new rawFragment field.
1180 (getFragment): Removed FIXME comment.
1181
0d13be1e
MK
11822004-03-20 Michael Koch <konqueror@gmx.de>
1183
1184 * java/net/URLConnection.java: Merged copyright year with classpath.
1185
f903e73b
NF
11862004-03-20 Norbert Frese <postfach@nfrese.net>
1187
1188 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
1189 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
1190 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
1191 rmi-message.
1192 (getObjectInputStream): Return object reference, throw IOException if null.
1193 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
1194 (getObjectOutputStream): Return object reference, throw IOException if null.
1195 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
1196 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
1197 (UnicastConnectionManager): Throw RemoteException if port is not available.
1198 (getInstance): Throw RemoteException.
1199 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
1200 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
1201 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
1202 Collect Exceptions which are returned by a rmi-call and fix void returns.
1203 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
1204 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
1205 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
1206 (dispatch): Answer ping messages which are sent by other java implementions.
1207 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
1208 for every rmi-message and fix void return problems.
1209 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
1210 (UnicastServerRef): Throw RemoteException.
1211 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
1212 In some situations it is necessary to export a subclass of the class which has the _Stub.
1213 For instance when the class with has the _Stub is abstract.
1214 (findStubSkelClass): New method which looks for the class which has the _Stub.
1215 (getClientHost): Implementated.
1216 * gcc/libjava/java/rmi/server/RemoteServer.java
1217 (getClientHost): Implementated.
1218 * gcc/libjava/Makefile.am (rmi_java_source_files):
1219 Added gnu/java/rmi/server/RMIIncomingThread.java.
1220 * Makefile.in: Regenerated.
1221
7f5773c6
MK
12222004-03-20 Michael Koch <konqueror@gmx.de>
1223
1224 * java/net/InetAddress.java
1225 (getLocalHostname): Added javadoc.
1226
ab16524d
PB
12272004-03-19 Per Bothner <per@bothner.com>
1228
1229 * configure.in: FILE variable overrides FLATFORM when linking
1230 natFileChannelXXX.cc.
1231
1232 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
1233 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
1234
0fca95f5
PB
12352004-03-19 Per Bothner <per@bothner.com>
1236
1237 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
1238 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
1239 * Makefile.am: Update accordingly.
1240 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
1241 as aliases for UnicodeLittle and UnicodeBig.
1242
edb3d426
MW
12432004-03-20 Mark Wielaard <mark@klomp.org>
1244
1245 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1246 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
1247 Don't access ws when it is null.
1248 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
1249 Likewise.
1250
b121dcb5
JF
12512004-03-19 Jeroen Frijters <jeroen@frijters.net>
1252
1253 * java/lang/ThreadGroup.java (list): Changed print to println.
1254
44b20223
MW
12552004-03-19 Mark Wielaard <mark@klomp.org>
1256
1257 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
1258 happy.
1259
f94b0887
RC
12602004-02-10 Randolph Chung <tausq@debian.org>
1261
1262 * configure.in: Build java for hppa target.
1263 * configure: Regenerate.
1264 * libjava/configure.host (hppa-*): Add target.
1265 * libjava/sysdeps/pa/lock.h: New file.
1266
d511a273
MW
12672004-03-19 Mark Wielaard <mark@klomp.org>
1268
1269 Reported by Stephen Crawley
1270 * java/io/FilePermission.java (implies): Use String.length() -1 to
1271 access last char of String.
1272
9c6637c8
MK
12732004-03-19 Michael Koch <konqueror@gmx.de>
1274
1275 * java/awt/image/AffineTransformOp.java
1276 (AffineTransformOp): Made public.
1277 * javax/swing/JComponent.java
1278 (listenerList): Made protected.
1279 (accessibleContext): Likewise.
1280 * javax/swing/JList.java
1281 (valueChanged): Dont use internal fields of ListSelectionEvent.
1282 * javax/swing/JViewport.java
1283 (getView): Dont use internal fields of Component.
1284 (addImpl): Likewise.
1285 * javax/swing/Timer.java
1286 (isRunning): Made public.
1287 (start): Likewise.
1288 (stop): Likewise.
1289 * javax/swing/UIDefaults.java
1290 (getInt): Made public.
1291 * javax/swing/plaf/basic/BasicListUI.java
1292 (mousePressed): Dont use internal fields of MouseEvent.
1293 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
1294 * javax/swing/plaf/basic/BasicScrollBarUI.java
1295 (arrowIcon): Made static.
1296 * javax/swing/plaf/basic/BasicViewportUI.java
1297 (stateChanged): Dont use internal field on ChangeEvent.
1298 * javax/swing/text/JTextComponent.java
1299 (getUI): Call UIManager.getUI().
1300 (updateUI): Use getUI().
1301
165c9b04
RO
13022004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1303
1304 * verify.cc: Undef PC.
1305
138f5109
MK
13062004-03-18 Michael Koch <konqueror@gmx.de>
1307
1308 * java/nio/channels/spi/AbstractSelectableChannel.java
1309 (keys): Initialize at declaration.
1310 (locate): keys cant be null.
1311 (add): Removed.
1312 (addSelectionKey): New method.
1313 (removeSelectionKey): New method.
1314 * java/nio/channels/spi/AbstractSelectionKey.java
1315 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
1316 * java/nio/channels/spi/AbstractSelector.java
1317 (provider): Javadoc added.
1318 (cancelledKeys): Javadoc added.
1319 (cancelKey): Javadoc added, add key to cancelledKeys.
1320 (deregister): Implemented.
1321
acc63e4c
RO
13222004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1323
1324 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
1325 MAP_FAILED to void *.
1326
86881a7b
GH
13272004-03-12 Graydon Hoare <graydon@redhat.com>
1328
1329 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
1330 * javax/swing/JComponent.java (paint): Use persistent double buffer.
1331 * javax/swing/JList.java (ListListener): Revalidate on changes.
1332 * javax/swing/JScrollPane.java: Reimplement.
1333 * javax/swing/JViewport.java: Reimplement.
1334 * javax/swing/ScrollPaneLayout.java: Reimplement.
1335 * javax/swing/ViewportLayout.java: Tidy up.
1336 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
1337 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
1338 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
1339 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
1340 backing store only.
1341
13422004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
1343
1344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1345 (window_wm_protocols_filter): New function.
1346 (window_focus_in_cb): Remove function.
1347 (window_focus_out_cb): Likewise.
1348 (window_focus_or_active_state_change_cb): New function.
1349 (create): Add filter that removes WM_TAKE_FOCUS client messages.
1350 (connectSignals): Don't attach handlers to focus-in-event or
1351 focus-out-event signals. Handle notify signal.
1352
13532004-03-11 David Jee <djee@redhat.com>
1354
1355 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1356 (gtkSetLabel): New native method declaration.
1357 (setLabel): Use gtkSetLabel.
1358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1359 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
1360
13612004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
1362
1363 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
1364 black when color argument is null.
1365
13662004-03-10 Kim Ho <kho@redhat.com>
1367
1368 * java/awt/Container.java: Remove check
1369 for drag events.
1370
13712004-03-10 Kim Ho <kho@redhat.com>
1372
1373 * java/awt/Container.java: (visitChild):
1374 Remove candidate clip. Use the component
1375 clip to intersect.
1376 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
1377 (handleEvent): Use the PaintEvent's clip.
1378
13792004-03-10 Kim Ho <kho@redhat.com>
1380
1381 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
1382 (handleEvent): Don't set the clip for the
1383 Graphics object.
1384
13852004-03-09 Graydon Hoare <graydon@redhat.com>
1386
1387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1388 Fix double <-> fixed macros, reset font transform.
1389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1390 Likewise.
1391
1392