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