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