]>
Commit | Line | Data |
---|---|---|
21f56031 BM |
1 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
2 | ||
3 | * java/util/ResourceBundle.java (bundleCache): Renamed from | |
4 | resourceBundleCache. Update comments. | |
5 | (getObject): Don't catch MissingResourceException. | |
6 | (getBundle(String)): Remove 'final'. Use system classloader if | |
7 | getCallingClassLoader returned null. | |
8 | (getBundle(String, Locale)): Likewise. | |
9 | (BundleKey): New private class. HashMap key for bundle cache lookup. | |
10 | (lookupKey): New. Singleton instance of BundleKey. | |
11 | (nullEntry): New. Cache entry to represent failed lookups. | |
12 | (getBundle(String, Locale, ClassLoader)): Re-written to use new | |
13 | caching strategy, no-allocation lookup, and new tryBundle methods. | |
14 | (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle | |
15 | name using given classloader. | |
16 | (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify | |
17 | baseName for given Locale and attempt to load bundle. | |
18 | ||
42c00752 BM |
19 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
20 | ||
21 | * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove | |
22 | illegal protected method calls. | |
23 | ||
6e342fc1 BM |
24 | 2004-07-09 Bryce McKinlay <mckinlay@redhat.com> |
25 | ||
26 | Fix or remove some bogus test cases. | |
27 | * testsuite/libjava.compile/pr10459_2.java: Removed. | |
28 | * testsuite/libjava.compile/pr10459.java: Test using its own method, | |
29 | not Object.clone(). | |
30 | * testsuite/libjava.compile/inner_data.java: Test against its own | |
31 | protected field. | |
32 | ||
1f33f6b4 MK |
33 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
34 | ||
35 | * scripts/unicode-muncher.pl: Updated to version 2.1 | |
36 | from GNU classpath. Added some clarifications on where to find the | |
37 | needed files from www.unicode.org. | |
38 | * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html, | |
39 | gnu/gcj/convert/UnicodeData-3.0.0.txt: | |
40 | Removed, these can directly be downloaded from www.unicode.org if | |
41 | needed. | |
42 | * gnu/java/lang/CharData.java: Regenerated. | |
43 | * include/java-chartables.h: Regenerated. | |
44 | * Makefile.am (ordinary_java_source_files): | |
45 | Removed gnu/java/lang/CharData.java. | |
46 | * Makefile.in: Regenerated. | |
47 | ||
771aacd3 MK |
48 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
49 | ||
50 | * java/security/AccessControlContext.java, | |
51 | java/security/SecureClassLoader.java: | |
52 | Fixed javadocs. | |
53 | ||
3d5f053c MK |
54 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
55 | ||
56 | * java/io/ObjectInputStream.java (readFields): Use long datatype | |
57 | when shifting byte values more then 24 bits left. | |
58 | ||
d642571f MK |
59 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
60 | ||
61 | * java/util/zip/DeflaterOutputStream.java, | |
62 | java/util/zip/GZIPInputStream.java, | |
63 | java/util/zip/GZIPOutputStream.java, | |
64 | java/util/zip/InflaterInputStream.java: | |
65 | Reformatted. Added javadocs. Reordered all stuff. | |
66 | Renamed variables to be more clear. | |
67 | ||
3042e24b MK |
68 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
69 | ||
70 | * javax/imageio/IIOException.java, | |
71 | javax/imageio/event/IIOReadProgressListener.java, | |
72 | javax/imageio/event/IIOReadUpdateListener.java, | |
73 | javax/imageio/event/IIOReadWarningListener.java, | |
74 | javax/imageio/event/IIOWriteProgressListener.java, | |
75 | javax/imageio/event/IIOWriteWarningListener.java: | |
76 | New files. | |
77 | * Makefile.am: Added new files. | |
78 | * Makefile.in: Regenerated. | |
79 | ||
4a738a82 GL |
80 | 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org> |
81 | ||
82 | * java/text/RuleBasedCollator.java | |
83 | (mergeRules): Use ArrayList instead of Vector. | |
84 | (subParseString): likewise. | |
85 | (parseString): likewise. | |
86 | (buildCollationVector): likewise. | |
87 | (getCollationKey): likewise. | |
88 | ||
28e0ee76 DT |
89 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
90 | ||
91 | * java/text/DateFormat.java (parse): | |
92 | Improved javadoc. Improved exception message. | |
93 | ||
2e54a860 MW |
94 | 2004-07-09 Mark Wielaard <mark@klomp.org> |
95 | ||
96 | * gnu/java/nio/SelectorImpl.java (select): Call static Thread | |
97 | interrupted() method to clear interupt flag of our Thread. | |
98 | ||
23c41c08 DT |
99 | 2004-07-09 Dalibor Topic <robilad@kaffe.org> |
100 | ||
101 | * java/nio/Buffer.java, | |
102 | java/nio/ByteBuffer.java, | |
103 | java/nio/ByteBufferHelper.java, | |
104 | java/nio/ByteBufferImpl.java, | |
105 | java/nio/CharBuffer.java, | |
106 | java/nio/CharBufferImpl.java, | |
107 | java/nio/CharViewBufferImpl.java, | |
108 | java/nio/DirectByteBufferImpl.java, | |
109 | java/nio/DoubleBuffer.java, | |
110 | java/nio/DoubleBufferImpl.java, | |
111 | java/nio/DoubleViewBufferImpl.java, | |
112 | java/nio/FloatBuffer.java, | |
113 | java/nio/FloatBufferImpl.java, | |
114 | java/nio/FloatViewBufferImpl.java, | |
115 | java/nio/IntBuffer.java, | |
116 | java/nio/IntBufferImpl.java, | |
117 | java/nio/IntViewBufferImpl.java, | |
118 | java/nio/LongBuffer.java, | |
119 | java/nio/LongBufferImpl.java, | |
120 | java/nio/LongViewBufferImpl.java, | |
121 | java/nio/MappedByteBufferImpl.java, | |
122 | java/nio/ShortBuffer.java, | |
123 | java/nio/ShortBufferImpl.java, | |
124 | java/nio/ShortViewBufferImpl.java: | |
125 | Fixed javadocs all over. Improved input error | |
126 | checking. | |
127 | ||
128 | * java/nio/Buffer.java | |
129 | (checkForUnderflow, checkForOverflow, checkIndex, | |
130 | checkIfReadOnly, checkArraySize): New helper methods | |
131 | for error checking. | |
132 | ||
133 | * java/nio/ByteBufferHelper.java | |
134 | (checkRemainingForRead, checkRemainingForWrite, | |
135 | checkAvailableForRead, checkAvailableForWrite): Removed | |
136 | no longer needed methods. | |
137 | ||
e484d7d5 MK |
138 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
139 | ||
140 | * gnu/regexp/CharIndexedInputStream.java: | |
141 | Reordered imports to match classpath. | |
142 | ||
3e518ab0 MK |
143 | 2004-07-09 Michael Koch <konqueror@gmx.de> |
144 | ||
145 | * gnu/java/awt/EmbeddedWindow.java: | |
146 | Load native library for setWindowPeer method. | |
147 | ||
8c5ac2c4 RC |
148 | 2004-07-08 Randolph Chung <tausq@debian.org> |
149 | ||
150 | * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa. | |
151 | * configure: Regenerate. | |
152 | * configure.host: Set can_unwind_signal for hppa*-linux. | |
153 | * include/pa-signal.h: New file. | |
154 | ||
0bd24153 PB |
155 | 2004-07-07 Per Bothner <per@bothner.com> |
156 | ||
fedf5454 PB |
157 | * Makefile.am: Add rules to build libgij from just gij.cc. |
158 | ||
0bd24153 PB |
159 | * include/jvm.h (namespace jcj): Declare verbose_class_flag |
160 | * java/lang/natClass.cc (gcj::verbose_class_flag): New variable. | |
161 | (initializeClass): If verbose_class_flag, print message. | |
162 | * gij.cc (main): Handle -verbose:class flag. | |
163 | ||
0e497b6c AT |
164 | 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch> |
165 | ||
166 | * configure.host: Enable hash synchronization on Darwin. | |
167 | * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of | |
168 | ';', since this is a comment on Darwin. | |
169 | (compare_and_swap_release): Likewise. | |
170 | ||
c09bade6 ME |
171 | 2004-07-06 Mohan Embar <gnustuff@thisiscool.com> |
172 | ||
173 | * java/net/URLStreamHandler.java (parseURL): Canonicalize | |
174 | file portion of URL in addition to spec for file: protocol. | |
175 | ||
23f99379 | 176 | 2004-07-05 Anthony Green <green@redhat.com> |
0e497b6c | 177 | |
23f99379 AG |
178 | * java/io/File.java (toURI): Merge from Classpath. |
179 | ||
a1433c46 BM |
180 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
181 | ||
182 | * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry | |
183 | before passing to URL constructor. Rethrow any MalformedURLException | |
184 | as a RuntimeException. Catch MalformedURLException specifically, not | |
185 | all exceptions. | |
0e497b6c | 186 | |
a86f0372 BM |
187 | 2004-07-05 Bryce McKinlay <mckinlay@redhat.com> |
188 | ||
189 | * java/util/Locale.java (readObject): Intern strings read from object | |
190 | stream. | |
191 | ||
74fa958e MK |
192 | 2004-07-04 Michael Koch <konqueror@gmx.de> |
193 | ||
194 | * gnu/gcj/runtime/FirstThread.java, | |
195 | gnu/gcj/runtime/natFirstThread.cc: Removed. | |
196 | * gnu/java/lang/MainThread.java, | |
197 | gnu/java/lang/natMainThread.cc: New files. | |
198 | * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread. | |
199 | * Makefile.am: Added new files and removed deleted ones. | |
200 | * Makefile.in: Regenerated. | |
201 | ||
94fbf267 | 202 | 2004-07-03 Mark Wielaard <mark@klomp.org> |
0e497b6c | 203 | Anthony Green <green@redhat.com> |
94fbf267 AG |
204 | |
205 | * java/net/URL.java (getFile): Clarify return value doc. | |
206 | (getPath): Return null if file is empty - not empty String. | |
207 | (set): Convert protocol to lower case before doing anything. | |
208 | Only change the protocol handler if it's different. | |
209 | ||
210 | 2004-07-03 Anthony Green <green@redhat.com> | |
211 | ||
212 | * java/net/URL.java (URL): Convert protocol to lower case before | |
213 | doing anything, so we getURLStreamHandler() with the proper value. | |
214 | ||
b5349c07 BM |
215 | 2004-07-02 Bryce McKinlay <mckinlay@redhat.com> |
216 | ||
217 | * java/util/Locale.java (hashcode): Made transient. | |
218 | (hashCode): No longer synchronized. | |
219 | (equals): Remove comment. | |
220 | (writeObject): No longer synchronized. Implement using writeObject | |
221 | calls instead of tweaking hashCode field. Update doc. | |
222 | (readObject): Implement using readObject calls. | |
223 | ||
f8a57be8 GK |
224 | 2004-06-26 Geoffrey Keating <geoffk@apple.com> |
225 | Andreas Tobler <a.tobler@schweiz.ch> | |
226 | ||
227 | * configure.host (powerpc-*-darwin*): New case, define | |
228 | can_unwind_signal. | |
229 | * configure.in (*-*-darwin*): New case, point to darwin-signal.h. | |
230 | * configure: Regenerate. | |
231 | * include/darwin-signal.h: New. | |
232 | ||
dcfbe7c7 JQ |
233 | 2004-06-30 Jerry Quinn <jlquinn@optonline.net> |
234 | ||
235 | * java/beans/Statement.java (doExecute): Fix formatting. | |
236 | ||
8319dc87 PB |
237 | 2004-06-29 Per Bothner <per@bothner.com> |
238 | ||
239 | * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef, | |
240 | etc etc): Remove needless parenthesis, which causes __stdcall__ | |
241 | attribute on MinGW to get ignored. | |
242 | ||
b4bbd47e BM |
243 | 2004-06-29 Bryce McKinlay <mckinlay@redhat.com> |
244 | ||
245 | * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249. | |
246 | ||
b5493719 BM |
247 | 2004-06-28 Bryce McKinlay <mckinlay@redhat.com> |
248 | ||
b4bbd47e | 249 | * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6. |
b5493719 | 250 | |
7b63e340 JQ |
251 | 2004-06-28 Jerry Quinn <jlquinn@optonline.net> |
252 | ||
253 | * java/beans/Expression.java: New file. | |
254 | * java/beans/Statement.java: New file. | |
255 | * Makefile.am: Added new files. | |
256 | * Makefile.in: Re-generate. | |
257 | ||
01036503 MW |
258 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
259 | ||
260 | * java/io/FilePermission.java (usingPerms): Removed. | |
261 | (actionsString): Made final. | |
262 | (cachePerms): Renamed to checkPerms. | |
263 | (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase() | |
264 | on action String. | |
265 | (FilePermission): Check arguments, call checkPerms(). | |
266 | (equals): Remove cachePerms() call. | |
267 | (implies): Likewise. | |
268 | ||
ce6230c4 MW |
269 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
270 | ||
271 | * gnu/java/net/protocol/http/Connection.java (userAgent): New static | |
272 | final field. | |
273 | (sendRequest): Use new field in user-agent http agent. | |
274 | ||
66a74d2a MW |
275 | 2004-06-27 Mark Wielaard <mark@klomp.org> |
276 | ||
277 | * java/awt/EventQueue.java (postEvent): Throw NullPointerException | |
278 | when argument is null. | |
279 | ||
280 | 2004-06-26 Mark Wielaard <mark@klomp.org> | |
281 | ||
282 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
283 | (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI | |
284 | GetMethodID call. | |
285 | (cancel_clicked): Likewise. | |
286 | ||
d168da74 AT |
287 | 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch> |
288 | ||
289 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
290 | (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi | |
291 | can not calculate the right value. | |
292 | (dpi_changed_cb): Likewise. Mark *pspec as unused. | |
293 | ||
cc21f43e BM |
294 | 2004-06-24 Bryce McKinlay <mckinlay@redhat.com> |
295 | ||
296 | * testsuite/libjava.jacks/jacks.xfail: Remove | |
297 | 15.9.1-qualified-concrete-20. | |
298 | ||
eb8163ab BM |
299 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
300 | ||
301 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original | |
302 | encoding name to iconv. | |
303 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
304 | ||
f50aa505 BM |
305 | 2004-06-22 Bryce McKinlay <mckinlay@redhat.com> |
306 | ||
307 | PR libgcj/16134: | |
e9cb3dac BM |
308 | * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize |
309 | encoding name before cache lookup. Thanks to Hannes Wallnoefer. | |
310 | * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise. | |
f50aa505 | 311 | |
deb3d52f AH |
312 | 2004-06-21 Andrew Haley <aph@redhat.com> |
313 | ||
314 | * java/io/ObjectOutputStream.java: Add DEBUG statements | |
315 | everywhere. | |
316 | (dumpElementln): New method. | |
317 | (depth): New field. | |
318 | * java/io/ObjectInputStream.java | |
319 | (currentClassLoader): Make native. | |
320 | (callersClassLoader): New field. | |
321 | (depth): New field. | |
322 | (readObject): ENDBLOCKDATA is generated if the class has a write | |
323 | method, not if it has a read method. | |
324 | (readObject): Save and restore this.currentObject and | |
325 | this.currentObjectStreamClass around calls to callReadMethod(). | |
326 | * java/io/natObjectInputStream.cc (getCallersClassLoader): New | |
327 | method. | |
328 | ||
cfc74dce AT |
329 | 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch> |
330 | ||
331 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for | |
332 | darwin. | |
333 | ||
bd760894 RM |
334 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
335 | ||
336 | * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers, | |
337 | if desired, before the default class loader is initialised. | |
338 | Call INIT_SEGV only if HANDLE_SEGV is defined. | |
339 | ||
6ca77e6f RM |
340 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> |
341 | ||
342 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions | |
343 | directory only if it actually exists. | |
344 | ||
67a69e82 GH |
345 | 2004-06-18 Graydon Hoare <graydon@redhat.com> |
346 | ||
347 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
348 | Fix up non-ansi comments. | |
349 | ||
350 | 2004-06-18 Ranjit Mathew <rmathew@hotmail.com> | |
351 | ||
352 | * javax/swing/text/AbstractDocument.java: Adding missing import | |
353 | for javax.swing.event.EventListenerList. | |
354 | * javax/swing/text/DefaultCaret.java: Likewise. | |
355 | ||
4dfcdad1 GH |
356 | 2004-06-17 Michael Koch <konqueror@gmx.de> |
357 | ||
358 | * javax/swing/JToolBar.java | |
359 | (name): Removed. | |
360 | (JToolBar): Use Component.setName(String) instead of doing it all | |
361 | alone. | |
362 | * javax/swing/Timer.java | |
363 | (queueEvent): Added missing modifier. | |
364 | ||
365 | 2004-06-17 Olga Rodimina <rodimina@redhat.coom> | |
366 | ||
367 | * Makefile.am: Added new file. | |
368 | * Makefile.in: Re-generate. | |
369 | * javax/swing/JMenu.java: | |
370 | (insertSeparator): Implemented. | |
371 | * javax/swing/JPopupMenu.java: | |
372 | (JPopupMenu.Separator): Implemented. | |
373 | * javax/swing/MenuSelectionManager.java: | |
374 | (processMouseEvent): Use java.awt.Component | |
375 | for event source instead of javax.swing.JComponent. | |
376 | * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: | |
377 | New File. Implemented. | |
378 | ||
379 | 2004-06-16 David Jee <djee@redhat.com> | |
380 | ||
381 | * java/awt/GridBagLayout.java | |
382 | (GetLayoutInfo): Adjust cell sizes iff parent size is not zero. | |
383 | Make sure pos_x and pos_y are never negative. | |
384 | ||
385 | 2004-04-16 Andrew Overholt <overholt@redhat.com> | |
386 | ||
387 | * Makefile.am: Add new file. | |
388 | * Makefile.in: Re-generate. | |
389 | * javax/swing/JToolBar.java | |
390 | Partially implemented. | |
391 | * javax/swing/plaf/basic/BasicToolBarUI.java | |
392 | New file. Partially implemented. | |
393 | ||
394 | 2004-06-16 Graydon Hoare <graydon@redhat.com> | |
395 | ||
396 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
397 | (setComposite): Accept AlphaComposite arguments. | |
398 | * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | |
399 | (createBufferedImage): Add new overloads. | |
400 | * gnu/java/awt/peer/gtk/GtkToolkit.java | |
401 | (createImage): Use GdkPixbufDecoder.createBufferedImage | |
402 | when useGraphics2D() is true. | |
403 | (getImage): Delegate to createImage. | |
404 | * javax/swing/JList.java | |
405 | (isSelectionEmpty): | |
406 | (getFirstVisibleIndex): | |
407 | (getLastVisibleIndex): | |
408 | (setSelectedValue): | |
409 | (ensureIndexIsVisible): New methods. | |
410 | * javax/swing/Timer.java: Reimplement. | |
411 | ||
412 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
413 | ||
414 | * javax/swing/text/AbstractDocument.java | |
415 | (AbstracElement): Made public, implements java.io.Serializable. | |
416 | (AttributeContext): Made public. | |
417 | (BranchElement): Likewise. | |
418 | (Content): Likewise. | |
419 | (DefaultDocumentEvent): Made public, extends | |
420 | javax.swing.undo.CompoundEdit. | |
421 | (ElementEdit): Made public, extends | |
422 | javax.swing.undo.AbstractUndoableEdit. | |
423 | (LeafElement): Made public. | |
424 | (LeafElement.LeafElement): Made public. | |
425 | ||
426 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
427 | ||
428 | * javax/swing/text/JTextComponent.java: Totally reworked. Removed many | |
429 | methods (that were obviously never be intended to get included hi this | |
430 | class. Added some methods too. | |
431 | ||
432 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
433 | ||
434 | * javax/swing/text/PlainDocument.java | |
435 | (serialVersionUID): New constant. | |
436 | (lineLimitAttribute): Likewise. | |
437 | (tabSizeAttribute): Likewise. | |
438 | (tabSize): New field. | |
439 | (PlainDocument): Made public. | |
440 | (PlainDocument): New constructor. | |
441 | ||
442 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
443 | ||
444 | * javax/swing/text/AbstractDocument.java | |
445 | (insertString): Throws BadLocationException. | |
446 | * javax/swing/text/Document.java | |
447 | (insertString): Likewise. | |
448 | * javax/swing/text/JTextComponent.java: | |
449 | Javadocs and comments cleaned up. | |
450 | ||
451 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
452 | ||
453 | * javax/swing/event/UndoableEditListener.java: Reformatted. | |
454 | * javax/swing/text/AbstractDocument.java | |
455 | (AbstractDocument): Implements java.io.Serializable. | |
456 | (doc_list): Removed. | |
457 | (undo_list): Removed. | |
458 | (AbstractElement.serialVerionUID): New field. | |
459 | (BranchElement.serialVerionUID): Likewise. | |
460 | (DefaultDocumentEvent.serialVerionUID): Likewise. | |
461 | (ElementEdit.serialVerionUID): Likewise. | |
462 | (LeafElement.serialVerionUID): Likewise. | |
463 | (serialVerionUID): Likewise. | |
464 | (BAD_LOCATION): New constant. | |
465 | (BidiElementName): Likewise. | |
466 | (ContentElementName): Likewise. | |
467 | (ParagraphElementName): Likewise. | |
468 | (SectionElementName): Likewise. | |
469 | (ElementNameAttribute): Likewise. | |
470 | (AbstractDocument): Made protected. | |
471 | (AbstractDocument): New construtor. | |
472 | (listenerList): New field. | |
473 | (fireChangedUpdate): Implemented. | |
474 | (fireInsertUpdate): Likewise. | |
475 | (fireRemoveUpdate): Likewise. | |
476 | (fireUndoableEditUpdate): Likewise. | |
477 | (getListeners): Likewise. | |
478 | (addDocumentListener): Likewise. | |
479 | (removeDocumentListener): Likewise. | |
480 | (addUndoableEditListener): Likewise. | |
481 | (removeUndoableEditListener): Likewise. | |
482 | (getDocumentListeners): New method. | |
483 | (getUndoableEditListeners): Likewise. | |
484 | (getAsynchronousLoadPriority): Made public. | |
485 | (getBidiRootElement): Likewise. | |
486 | (setAsynchronousLoadPriority): Likewise. | |
487 | (setDocumentProperties): Likewise. | |
488 | * javax/swing/text/BadLocationException.java | |
489 | (serialVerionUID): New field. | |
490 | * javax/swing/text/DefaultCaret.java | |
491 | (changeEvent): New field. | |
492 | (listenerList): Likewise. | |
493 | (changes): Removed. | |
494 | (addChangeListener): Reimplemented. | |
495 | (removeChangeListener): Likewise. | |
496 | (getListeners): New method. | |
497 | (getChangeListeners): Likwise. | |
498 | (getComponent): Likewise. | |
499 | * javax/swing/text/GapContent.java | |
500 | (GapContent): Implements java.io.Serializable. | |
501 | (serialVerionUID): New field. | |
502 | ||
503 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
504 | ||
505 | * javax/swing/JTree.java | |
506 | (treeModel): New field. | |
507 | (JTree): New constructors, one existing one made public. | |
508 | (createTreeModel): New method. | |
509 | (addTreeExpansionListener): Likewise. | |
510 | (removeTreeExpansionListener): Likewise. | |
511 | (getTreeExpansionListeners): Likewise. | |
512 | (fireTreeCollapsed): Likewise. | |
513 | (fireTreeExpanded): Likewise. | |
514 | (addTreeSelectionListener): Likewise. | |
515 | (removeTreeSelectionListener): Likewise. | |
516 | (getTreeSelectionListeners): Likewise. | |
517 | (fireValueChanged): Likewise. | |
518 | (addTreeWillExpandListener): Likewise. | |
519 | (removeTreeWillExpandListener): Likewise. | |
520 | (getTreeWillExpandListeners): Likewise. | |
521 | (fireTreeWillCollapse): Likewise. | |
522 | (fireTreeWillExpand): Likewise. | |
523 | ||
524 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
525 | ||
526 | * javax/swing/JTree.java: Reformatted. | |
527 | ||
528 | 2004-06-16 Michael Koch <konqueror@gmx.de> | |
529 | ||
530 | * javax/swing/JTextArea.java: New file. | |
531 | * javax/swing/JTextField.java | |
532 | (actions): Removed. | |
533 | (notifyAction): New constant. | |
534 | (columns): New field. | |
535 | (JTextField): New constructors. | |
536 | (createDefaultModel): New method. | |
537 | (addActionListener): Reimplmemented. | |
538 | (removeActionListener): Reimplemented. | |
539 | (getActionListeners): New method. | |
540 | (fireActionPerformed): New method. | |
541 | (getColumns): New method. | |
542 | (setColumne): New method. | |
543 | * javax/swing/text/JTextComponent.java | |
544 | (AccessibleJTextComponent.serialVersionUID): New field. | |
545 | (serialVersionUID): Likewise. | |
546 | (DEFAULT_KEYMAP): Likewise. | |
547 | (FOCUS_ACCELERATOR_KEY): Likewise. | |
548 | (doc): Made private. | |
549 | (icon_gap): Likewise. | |
550 | (icon): Likewise. | |
551 | (align): Likewise. | |
552 | (JTextComponent): Some constructors removed. | |
553 | (getScrollableTracksViewportHeight): New method. | |
554 | (getScrollableTracksViewportWidth): Likewise. | |
555 | * Makefile.am: Added javax/swing/JTextArea.java. | |
556 | * Makefile.in: Regenerated. | |
557 | ||
558 | 2004-06-15 Graydon Hoare <graydon@redhat.com> | |
559 | ||
560 | * javax/swing/ImageIcon.java (ImageIcon): New constructor. | |
561 | * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property. | |
562 | * javax/swing/JViewport.java | |
563 | (getExtentSize): Return size rather than preferred size. | |
564 | (toViewCoordinates): New methods. | |
565 | (getViewSize): Return size rather than preferred size. | |
566 | (setViewSize): Note view size as set. | |
567 | * javax/swing/ViewportLayout.java (layoutContainer): Reimplement. | |
568 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
569 | (getPreferredSize): Don't redo layout. | |
570 | * javax/swing/plaf/basic/BasicViewportUI.java | |
571 | (paint): Translate image properly and eat exceptions. | |
572 | ||
573 | 2004-06-15 Kim Ho <kho@redhat.com> | |
574 | ||
575 | * javax/swing/JTabbedPane.java | |
576 | (setComponent): Remove old component and | |
577 | add new component. | |
578 | (setSelectedIndex): Don't operate on the | |
579 | components if they're null. Don't set index | |
580 | on the model if the index is the same. | |
581 | (insertTab): Don't add or hide the component | |
582 | if it's null. Repaint the container. | |
583 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
584 | Change colors for TabbedPane. | |
585 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
586 | (mousePressed): Re-layout and paint the component. | |
587 | (layoutContainer): Don't set location on the view. | |
588 | (ScrollingViewport::paint): Remove. | |
589 | ||
590 | 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
591 | ||
592 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
593 | (gtkWidgetDispatchKeyEvent): Change warning message to comment. | |
594 | ||
595 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
596 | Wrap baseline y value in PANGO_PIXELS macro, rather than simply | |
597 | dividing by PANGO_SCALE. Call gdk_flush before leaving GDK | |
598 | critical region. | |
599 | (drawLine): Call gdk_flush before leaving GDK critical region. | |
600 | (fillRect): Likewise. | |
601 | (drawRect): Likewise. | |
602 | (copyArea): Likewise. | |
603 | (copyPixmap): Likewise. | |
604 | (clearRect): Likewise. | |
605 | (drawArc): Likewise. | |
606 | (drawPolyline): Likewise. | |
607 | (drawPolygon): Likewise. | |
608 | (fillPolygon): Likewise. | |
609 | (fillArc): Likewise. | |
610 | (drawOval): Likewise. | |
611 | (fillOval): Likewise. | |
612 | ||
613 | * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add | |
614 | style parameter. | |
615 | (GdkFontMetrics): Add style argument to initState call. | |
616 | (stringWidth(String,int,int,String)): Add style parameter. | |
617 | (stringWidth(String)): Add style argument to stringWidth call. | |
618 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c | |
619 | (initState): Set pango font style and weight based on AWT style | |
620 | parameter. Pass default GTK language to | |
621 | pango_context_get_metrics. Use PANGO_PIXELS macro rather than | |
622 | simply dividing by PANGO_SCALE. | |
623 | (stringWidth): Set pango font style and weight based on AWT style | |
624 | parameter. | |
625 | ||
626 | * java/awt/Button.java (next_button_number): New field. | |
627 | (paramString): Change output. | |
628 | (generateName): New method. | |
629 | (getUniqueLong): New method. | |
630 | ||
631 | 2004-06-14 Kim Ho <kho@redhat.com> | |
632 | ||
633 | * javax/swing/JTabbedPane.java: | |
634 | (setComponentAt): Set the component, not | |
635 | the enabled status. | |
636 | * javax/swing/plaf/basic/BasicDesktopIconUI.java | |
637 | (actionPerformed): Let deiconize catch exception. | |
638 | ||
639 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
640 | ||
641 | * javax/swing/JPopupMenu.java: | |
642 | (setVisible): Corrected location of a | |
643 | heavyweight popup menu. | |
644 | ||
645 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
646 | ||
647 | * javax/swing/MenuSelectionManager.java: | |
648 | Ran through jalopy to fix formatting style. | |
649 | ||
650 | 2004-06-14 Olga Rodimina <rodimina@redhat.com> | |
651 | ||
652 | * javax/swing/JLayeredPane.java: | |
653 | (remove): Revalidate and repaint layered pane after | |
654 | the component was removed. | |
655 | javax/swing/JMenu.java: | |
656 | (setVisible): Display popup menu at the user location, | |
657 | if one was set by the user. | |
658 | (setMenuLocation): Reimplemented. Fixed javadoc. | |
659 | * javax/swing/JMenuBar.java: Added javadoc. | |
660 | (BORDER_PAINTED_CHANGED_PROPERTY): New Property. | |
661 | (MODEL_CHANGED_PROPERTY): New Property. | |
662 | (isSelected): Implemented. | |
663 | (setBorderPainted): Fire PropertyChangeEvent | |
664 | if paintBorder property changes. | |
665 | (setSelected): Implemented. | |
666 | (setSelectionModel): Implemented. | |
667 | * javax/swing/JPopupMenu.java: Added Javadoc | |
668 | (pack): Implemented. | |
669 | (setVisible): Reimplemented. | |
670 | (show): Fixed location. | |
671 | (JPopupMenu.LigthWeightPopup): Reimplemented to use | |
672 | Container instead of JPanel. | |
673 | * javax/swing/MenuSelectionManager.java: Added Javadocs. | |
674 | (clearSelectedPath): Reimplemented to clear selectedPath | |
675 | in reverse order. | |
676 | (processMouseEvent): Reimplemented. | |
677 | (setSelectedPath): Fire stateChange event indicating that | |
678 | selected menu path has changed. | |
679 | (getPath): Change to use ArrayList instead of Vector. | |
680 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
681 | (installUI): call installKeyboardActions(). | |
682 | (uninstallUI): call uninstallKeyboardActions(). | |
683 | ||
684 | 2004-06-13 Michael Koch <konqueror@gmx.de> | |
685 | ||
686 | * javax/swing/text/DefaultCaret.java, | |
687 | javax/swing/text/BadLocationException.java: | |
688 | Reformatted. | |
689 | ||
690 | 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
691 | ||
692 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS, | |
693 | DEFAULT_COLS): New variables. | |
694 | (create): Don't allow 0 rows or 0 columns. Instead, set the | |
695 | values to DEFAULT_ROWS or DEFAULT_COLS. | |
696 | (getMinimumSize): Likewise. | |
697 | (getPreferredSize): Likewise. | |
698 | (minimumSize): Likewise. | |
699 | (preferredSize): Likewise. | |
700 | (create): Set peer's editable state. | |
701 | * java/awt/TextArea.java (TextArea()): Set rows and columns to | |
702 | zero. Update javadocs. | |
703 | (TextArea(String)): Likewise. | |
704 | (TextArea(int,int)): Fix javadocs. | |
705 | (TextArea(String,int,int,int)): Only throw exception if one of | |
706 | rows or columns is zero. Fix javadocs. | |
707 | ||
708 | 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
709 | ||
710 | * java/awt/AWTEvent.java (toString): Handle MenuComponents in | |
711 | addition to Components. | |
712 | ||
713 | * java/awt/MenuItem.java (dispatchEventImpl): If the event | |
714 | wasn't consumed by normal processing, send it to the parent | |
715 | menu. | |
716 | ||
717 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
718 | (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove | |
719 | translation. | |
720 | ||
721 | 2004-06-11 David Jee <djee@redhat.com> | |
722 | ||
723 | * java/awt/MediaTracker.java | |
724 | (addImage(Image,int)): Call imageUpdate() to udpate image status. | |
725 | (addImage(Image,int,int,int)): Likewise. | |
726 | ||
727 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
728 | ||
729 | * javax/swing/text/AbstractDocument.java, | |
730 | javax/swing/text/Document.java, | |
731 | javax/swing/text/GapContent.java, | |
732 | javax/swing/text/JTextComponent.java, | |
733 | javax/swing/text/PlainDocument.java: | |
734 | Reformatted. | |
735 | ||
736 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
737 | ||
738 | * javax/swing/JRootPane.java | |
739 | (AccessibleJRootPane.serialVersionUID): New field. | |
740 | (AccessibleJRootPane.AccessibleJRootPane): New constructor. | |
741 | (AccessibleJRootPane.getAccessibleRole): New method. | |
742 | (RootLayout): Implements Serializable. | |
743 | (RootLayout.serialVersionUID): New field. | |
744 | (RootLayout.RootLayout): New constructor. | |
745 | (setJMenuBar): Made public. | |
746 | (getJMenuBar): Likewise. | |
747 | (JRootPane): Likewise. | |
748 | (createContentPane): Likewise. | |
749 | (createGlassPane): Likewise. | |
750 | (createLayeredPane): Likewise. | |
751 | ||
752 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
753 | ||
754 | * javax/swing/SwingUtilities.java | |
755 | (isLeftMouseButton): Fixed javadoc. | |
756 | (isMiddleMouseButton): Likewise. | |
757 | (isRightMouseButton): Likewise. | |
758 | ||
759 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
760 | ||
761 | * javax/swing/JScrollPane.java | |
762 | (serialVersionUID): New field. | |
763 | (columnHeader): Made protected. | |
764 | (rowHeader): Likewise. | |
765 | (lowerLeft): Likewise. | |
766 | (lowerRight): Likewise. | |
767 | (upperLeft): Likewise. | |
768 | (upperRight): Likewise. | |
769 | (horizontalScrollBar): Likewise. | |
770 | (horizontalScrollBarPolicy): Likewise. | |
771 | (verticalScrollBar): Likewise. | |
772 | (verticalScrollBarPolicy): Likewise. | |
773 | (viewport): Likewise. | |
774 | ||
775 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
776 | ||
777 | * javax/swing/LookAndFeel.java: Fixed javadocs. | |
778 | ||
779 | 2004-06-11 Michael Koch <konqueror@gmx.de> | |
780 | ||
781 | * javax/swing/JEditorPane.java: Fixed javadocs. | |
782 | (JEditorPane): Removed redundant call to to this(). | |
783 | (fireHyperlinkUpdate): Implemented. | |
784 | ||
785 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
786 | ||
787 | * javax/swing/JMenu.java: Fixed file name | |
788 | in the file comment. | |
789 | ||
790 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
791 | ||
792 | * javax/swing/JMenu.java: Added javadoc. | |
793 | (JMenu): Added MenuChangeListener to listen to | |
794 | ChangeEvents occuring in menu's model. | |
795 | (insert): Throw IllegalArgumentException if | |
796 | index is less than 0 | |
797 | (setSelected): Reimplement. | |
798 | (setPopupMenuVisible): Call menu's model isEnabled() | |
799 | (setDelay): Throw IllegalArgumentException if | |
800 | given amount of delay is less than 0. | |
801 | (createActionComponent): Implemented. | |
802 | (createActionChangeListener): Implemented. | |
803 | (addSeparator): Implemented. | |
804 | (getItem): Throw IllegalArgumentException if index is | |
805 | less than 0. | |
806 | (getItemCount): Implemented. | |
807 | (fireMenuSelected): Changed to use menuEvent. | |
808 | (fireMenuDeselected): Likewise. | |
809 | (fireMenuCanceled): Likewise. | |
810 | (setAccelerator): Changed to throw an error if this | |
811 | method is used. | |
812 | (doClick): Implemented. | |
813 | (JMenu.ActionChangedListener): New inner class to handle | |
814 | PropertyChangeEvents occuring in the actions associated with menu. | |
815 | * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc. | |
816 | (BasicMenuUI): Added PropertyChangeListener to the menu. | |
817 | (createChangeListener): Implemented. | |
818 | (createMenuDragMouseListener): Likewise. | |
819 | (createMenuKeyListener): Likewise. | |
820 | (createPropertyChangeListener): Likewise. | |
821 | (uninstallListeners): Likewise. | |
822 | (BasicMenuUI.MouseInputHandler): Reimplemented. | |
823 | (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet. | |
824 | (BasicMenuUI.ChangeHandler): Likewise. | |
825 | (BasicMenuUI.MenuDragMouseHandler): Likewise. | |
826 | (BasicMenuUI.MenuKeyHandler): Likewise. | |
827 | ||
828 | 2004-06-10 David Jee <djee@redhat.com> | |
829 | ||
830 | * java/awt/MediaTracker.java | |
831 | (imageUpdate): Only do notifyAll() if the image is complete. | |
832 | ||
833 | 2004-06-10 Olga Rodimina <rodimina@redhat.com> | |
834 | ||
835 | * javax/swing/JApplet.java: | |
836 | (getJMenuBar): Made public. | |
837 | (setJMenuBar): Likewise. | |
838 | * javax/swing/JFrame.java: | |
839 | (getJMenuBar): Made public. | |
840 | (setJMenuBar): Likewise. | |
841 | * javax/swing/JWindow.java: | |
842 | (getJMenuBar): Removed. | |
843 | (setJMenuBar): Removed. | |
844 | ||
845 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
846 | ||
847 | * javax/swing/JEditorPane.java | |
848 | (createEditorKitForContentType): Fixed visibility. | |
849 | (fireHyperlinkUpdate): Likewise. | |
850 | (getContentType): Likewise. | |
851 | (getEditorKit): Likewise. | |
852 | (getEditorKitForContentType): Likewise. | |
853 | (getPage): Likewise. | |
854 | (read): Likewise. | |
855 | (registerEditorKitForContentTyoe): Likewise. | |
856 | (replaceSelection): Likewise. | |
857 | (setContentType): Likewise. | |
858 | (setEditorKit): Likewise. | |
859 | (setPage): Likewise. | |
860 | ||
861 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
862 | ||
863 | * javax/swing/Timer.java | |
864 | (Timer): New constructor. | |
865 | * javax/swing/plaf/basic/BasicProgressBarUI.java | |
866 | (animationTimer): Don't initialize at construction. | |
867 | (startAnimationTimer): Added since tag. | |
868 | (stopAnimationTimer): Likewise. | |
869 | (installUI): Use new Timer constructor. | |
870 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
871 | (installUI): Likewise. | |
872 | * javax/swing/plaf/basic/BasicSliderUI.java | |
873 | (installUI): Likewise. | |
874 | ||
875 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
876 | ||
877 | * javax/swing/ButtonGroup.java | |
878 | (serialVersionUID): Made private. | |
879 | (buttons): Renamed from v, added javadoc. | |
880 | (sel): Added javadoc. | |
881 | (ButtonGroup): Likewise. | |
882 | (add): Likewise. | |
883 | (remove): Likewise. | |
884 | (getElements): Likewise. | |
885 | (getSelection): Likewise. | |
886 | (setSelected): Likewise. | |
887 | (isSelected): Likewise. | |
888 | (getButtonCount): Likewise. | |
889 | ||
890 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
891 | ||
892 | * javax/swing/ButtonGroup.java, | |
893 | javax/swing/ImageIcon.java, | |
894 | javax/swing/JEditorPane.java, | |
895 | javax/swing/JRootPane.java, | |
896 | javax/swing/JTextField.java, | |
897 | javax/swing/LookAndFeel.java, | |
898 | javax/swing/plaf/basic/BasicTextUI.java: | |
899 | Reindented. | |
900 | ||
901 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
902 | ||
903 | * javax/swing/text/Style.java: Added javadocs. | |
904 | ||
905 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
906 | ||
907 | * javax/swing/JComponent.java | |
908 | (fireVetoableChange): Removed redundant cast. | |
909 | * javax/swing/JLabel.java | |
910 | (getDisabledIcon): Save icon for next call. | |
911 | ||
912 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
913 | ||
914 | * javax/swing/KeyStroke.java | |
915 | (getKeyStroke(char,boolean)): Marked deprecated. | |
916 | ||
917 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
918 | ||
919 | * javax/swing/DefaultCellEditor.java, | |
920 | javax/swing/GrayFilter.java, | |
921 | javax/swing/event/DocumentEvent.java, | |
922 | javax/swing/text/JTextComponent.java, | |
923 | javax/swing/text/MutableAttributeSet.java: | |
924 | Reindented. | |
925 | ||
926 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
927 | ||
928 | * javax/swing/plaf/BorderUIResource.java: | |
929 | Added serialVersionUID all over. | |
930 | ||
931 | 2004-06-10 Sascha Brawer <brawer@dandelis.ch> | |
932 | ||
933 | * javax/swing/undo/UndoManager.java: Re-written from scratch. | |
934 | ||
935 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
936 | ||
937 | * javax/swing/table/DefaultTableCellRenderer.java | |
938 | (noFocusBorder): Initialize directly. | |
939 | ||
940 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
941 | ||
942 | * javax/swing/plaf/basic/BasicArrowButton.java | |
943 | (setDirection): Use method argument. | |
944 | ||
945 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
946 | ||
947 | * javax/swing/plaf/BorderUIResource.java, | |
948 | javax/swing/plaf/ComponentUI.java, | |
949 | javax/swing/undo/CompoundEdit.java, | |
950 | javax/swing/undo/StateEdit.java: | |
951 | Fixed javadocs all over. | |
952 | ||
953 | 2004-06-10 Michael Koch <konqueror@gmx.de> | |
954 | ||
955 | * javax/swing/DefaultButtonModel.java | |
956 | (ARMED): Made public final, fixed value. | |
957 | (ENABLED): Likewise. | |
958 | (PRESSED): Likewise. | |
959 | (ROLLOVER): Likewise. | |
960 | (SELECTED): Likewise. | |
961 | (stateMask): Initialize directly. | |
962 | (listenerList): Likewise. | |
963 | (mnemonic): Likewise. | |
964 | (fireStateChanged): Removed argument, use changeEvent as event. | |
965 | All places where this method is called are fixed too. | |
966 | (getActionCommant): Fixed javadoc. | |
967 | (setGroup): Fixed javadoc. | |
968 | (getGroup): New method. | |
969 | ||
970 | 2004-06-09 Olga Rodimina <rodimina@redhat.com> | |
971 | ||
972 | * javax/swing/AbstractButton.java | |
973 | (AbstractButton): Use init() to initialize the button. | |
974 | (init): New Method. Initializes AbstractButton. | |
975 | * javax/swing/JMenuItem.java: Documented. | |
976 | (JMenuItem): Reimplemented. | |
977 | (init): Implemented. | |
978 | (setEnabled): Changed to call super.setEnabled() | |
979 | (processMouseEvent): Reimplemented. | |
980 | (fireMenuKeyPressed): Implemented. | |
981 | (fireMenuKeyReleased): Implemented. | |
982 | (fireMenuKeyTyped): Implemented. | |
983 | (menuSelectionChanged): disarm the model if the menu item was | |
984 | deselected. | |
985 | * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented. | |
986 | (getPath): Change to use ArrayList instead of Vector. | |
987 | (getPreferredSize): Renamed variable. | |
988 | (paintMenuItem): Paint margin area of menu item. | |
989 | (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager. | |
990 | (MouseInputHandler.mouseReleased): Check if mouse was pressed inside | |
991 | menu item's bounds before clearing the selection. | |
992 | ||
993 | 2004-06-09 David Jee <djee@redhat.com> | |
994 | ||
995 | * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java | |
996 | (GtkTextComponentPeer): Set caret position to 0. | |
997 | * java/awt/TextComponent.java | |
998 | (setText): Set caret position to 0. | |
999 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1000 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter): | |
1001 | Handle GtkScrolledWindow separately. Fix signal handler blocking. | |
1002 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter): | |
1003 | Likewise. | |
1004 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
1005 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor | |
1006 | visible. | |
1007 | ||
1008 | 2004-06-09 Kim Ho <kho@redhat.com> | |
1009 | ||
1010 | * Makefile.am: New files | |
1011 | * Makefile.in: Regenerated | |
1012 | * java/awt/Container.java | |
1013 | (getComponentAt): Removed. | |
1014 | * javax/swing/AbstractAction.java | |
1015 | (ENABLED_PROPERTY): New property. | |
1016 | (putValue): Fire PropertyChangeEvents. | |
1017 | (setEnabled): ditto. | |
1018 | (firePropertyChange): Javadoc and implement | |
1019 | convenience method. | |
1020 | * javax/swing/AbstractButton.java | |
1021 | (setAction): Don't create PropertyChangeListener | |
1022 | if new Action is null. | |
1023 | (setIcon): Don't set icon till after comparing | |
1024 | it. | |
1025 | (configurePropertiesFromAction): Check mnemonic | |
1026 | key before calling intValue(). | |
1027 | (createActionPropertyChangeListener): Check | |
1028 | properties rather than bulk change. | |
1029 | * javax/swing/DefaultDesktopManager.java: | |
1030 | Implement. | |
1031 | * javax/swing/DesktopManager.java: | |
1032 | Jalopy and javadoc. | |
1033 | * javax/swing/JComponent.java | |
1034 | (fireVetoableChange): Implement. | |
1035 | (paintImmediately): Use root component. | |
1036 | * javax/swing/JDesktopPane.java: Implement | |
1037 | * javax/swing/JInternalFrame.java: Implement | |
1038 | * javax/swing/JLabel.java | |
1039 | (getDisabledIcon): Return grayscaled icon if | |
1040 | no disabled icon specified. | |
1041 | * javax/swing/JMenuBar.java | |
1042 | (getComponentAtIndex): Use getComponent | |
1043 | * javax/swing/JOptionPane.java | |
1044 | (getDesktopPaneForComponent): Use SwingUtilities' | |
1045 | getAncestorOfClass | |
1046 | (getFrameForComponent): ditto. | |
1047 | * javax/swing/JSplitPane.java | |
1048 | (remove): Use getComponent. | |
1049 | * javax/swing/SwingUtilities.java | |
1050 | (convertPoint): Implement. | |
1051 | * javax/swing/plaf/basic/BasicButtonUI.java | |
1052 | (paintButtonNormal): Check opaqueness before | |
1053 | filling background. | |
1054 | * javax/swing/plaf/basic/BasicDesktopIconUI.java: | |
1055 | Implement | |
1056 | * javax/swing/plaf/basic/BasicDesktopPaneUI.java: | |
1057 | Implement. | |
1058 | * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: | |
1059 | Implement. | |
1060 | * javax/swing/plaf/basic/BasicInternalFrameUI.java: | |
1061 | Implement. | |
1062 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
1063 | Change InternalFrame and Desktop colors. | |
1064 | ||
1065 | 2004-06-09 David Jee <djee@redhat.com> | |
1066 | ||
1067 | * java/awt/Container.java | |
1068 | (remove): Do not set component to invisible. | |
1069 | ||
1070 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
1071 | ||
1072 | * javax/swing/tree/DefaultMutableTreeNode.java | |
1073 | (getLeafCount): Renamed enum to e. | |
1074 | ||
1075 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
1076 | ||
1077 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
1078 | (positionForMouseEvent): Removed redundant semicolon. | |
1079 | (continueDrag): Use method arguments. | |
1080 | ||
1081 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
1082 | ||
1083 | * javax/swing/border/TitledBorder.java, | |
1084 | javax/swing/filechooser/FileSystemView.java, | |
1085 | javax/swing/plaf/basic/BasicButtonListener.java, | |
1086 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
1087 | javax/swing/plaf/basic/BasicLabelUI.java, | |
1088 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
1089 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
1090 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
1091 | javax/swing/plaf/basic/BasicSliderUI.java, | |
1092 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
1093 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
1094 | javax/swing/table/JTableHeader.java, | |
1095 | javax/swing/text/AbstractDocument.java, | |
1096 | javax/swing/text/DefaultCaret.java, | |
1097 | javax/swing/text/StyledEditorKit.java, | |
1098 | javax/swing/tree/DefaultTreeCellEditor.java: | |
1099 | Reworked import statements. | |
1100 | ||
1101 | 2004-06-08 Graydon Hoare <graydon@redhat.com> | |
1102 | ||
1103 | * javax/swing/Box.java: Temporarily comment out code | |
1104 | broken due to visibility bug. | |
1105 | ||
1106 | 2004-06-09 Michael Koch <konqueror@gmx.de> | |
1107 | ||
1108 | * javax/swing/ImageIcon.java | |
1109 | (ImageIcon): Added missing constructor. | |
1110 | ||
1111 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1112 | ||
1113 | * javax/swing/JToggleButton.java | |
1114 | (JToggleButton): New constructor. | |
1115 | (getAccessibleContext): Moved documentation into javadoc. | |
1116 | (getUIClassID): Likewise. | |
1117 | ||
1118 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1119 | ||
1120 | * javax/swing/AbstractButton.java | |
1121 | (getDisabledIcon): Create disabled icon if none exists yet. | |
1122 | ||
1123 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1124 | ||
1125 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
1126 | (initClassDefaults): Added FormattedTextFieldUI. | |
1127 | (loadResourceBundle): Renamed enum to e. | |
1128 | ||
1129 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1130 | ||
1131 | * javax/swing/plaf/basic/BasicButtonUI.java | |
1132 | (paintIcon): Simplified. | |
1133 | (paintText): Paint disabled button correctly. | |
1134 | ||
1135 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1136 | ||
1137 | * javax/swing/JComponent.java | |
1138 | (createToolTip): Use official JToolTip API. | |
1139 | ||
1140 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1141 | ||
1142 | * javax/swing/JToolTip.java | |
1143 | (JToolTip): No arguments in API. | |
1144 | (setTipText): New method. | |
1145 | ||
1146 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1147 | ||
1148 | * javax/swing/SwingUtilities.java | |
1149 | (isLeftMouseButton): New method. | |
1150 | (isMiddleMouseButton): New method. | |
1151 | (isRightMouseButton): New method. | |
1152 | ||
1153 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1154 | ||
1155 | * javax/swing/AbstractButton.java, | |
1156 | javax/swing/CellRendererPane.java, | |
1157 | javax/swing/JCheckBoxMenuItem.java, | |
1158 | javax/swing/JColorChooser.java, | |
1159 | javax/swing/JComboBox.java, | |
1160 | javax/swing/JComponent.java, | |
1161 | javax/swing/JDesktopPane.java, | |
1162 | javax/swing/JFileChooser.java, | |
1163 | javax/swing/JMenu.java, | |
1164 | javax/swing/JMenuItem.java, | |
1165 | javax/swing/JOptionPane.java, | |
1166 | javax/swing/JPasswordField.java, | |
1167 | javax/swing/JPopupMenu.java, | |
1168 | javax/swing/JProgressBar.java, | |
1169 | javax/swing/JRadioButtonMenuItem.java, | |
1170 | javax/swing/JScrollBar.java, | |
1171 | javax/swing/JSeparator.java, | |
1172 | javax/swing/JSlider.java, | |
1173 | javax/swing/JSplitPane.java, | |
1174 | javax/swing/JTabbedPane.java, | |
1175 | javax/swing/JTextField.java, | |
1176 | javax/swing/JToolBar.java, | |
1177 | javax/swing/text/JTextComponent.java: | |
1178 | Fixed all constructors of accessibility classes. | |
1179 | ||
1180 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1181 | ||
1182 | * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all | |
1183 | over. | |
1184 | ||
1185 | 2004-06-08 Michael Koch <konqueror@gmx.de> | |
1186 | ||
1187 | * javax/swing/Box.java | |
1188 | (AccessibleBoxFiller): Extends AccessibleAWTComponent. | |
1189 | (AccessibleBoxFiller.serialVersionUID): New member variable. | |
1190 | * javax/swing/DefaultButtonModel.java | |
1191 | (stateMask): Made protected. | |
1192 | (listenerList): Likewise. | |
1193 | (changeEvent): Likewise. | |
1194 | (group): Likewise. | |
1195 | (mnemonic): Likewise. | |
1196 | (actionCommand): Likewise. | |
1197 | (getListeners): New method. | |
1198 | (getActionListeners): New method. | |
1199 | (getItemListeners): New method. | |
1200 | (getChangeListeners): New method. | |
1201 | (fireItemStateChanged): Simplified. | |
1202 | (fireActionPerformed): Simplified. | |
1203 | (fireStateChanged): Simplified. | |
1204 | * javax/swing/JFrame.java | |
1205 | (JFrame): Implements WindowContants. | |
1206 | (HIDE_ON_CLOSE): Removed. | |
1207 | (EXIT_ON_CLOSE): Removed. | |
1208 | (DISPOSE_ON_CLOSE): Removed. | |
1209 | (DO_NOTHING_ON_CLOSE): Removed. | |
1210 | (processWindowEvent): Exit with code 0. | |
1211 | (setDefaultCloseOperation): Do security check before setting value. | |
1212 | * javax/swing/JOptionPane.java | |
1213 | (message): Initialize only in constructor. | |
1214 | * javax/swing/JToolTip.java: Removed unused imports. | |
1215 | * javax/swing/JViewport.java | |
1216 | (serialVersionUID): New member variable. | |
1217 | (SIMPLE_SCROLL_MODE): Made final, fixed value. | |
1218 | (BLIT_SCROLL_MODE): Likewise. | |
1219 | (BACKINGSTORE_SCROLL_MODE): Likewise. | |
1220 | (scrollUnderway): Made protected. | |
1221 | (isViewSizeSet): Likewise. | |
1222 | * javax/swing/ListModel.java: Fixed javadoc. | |
1223 | * javax/swing/Popup.java: Likewise. | |
1224 | * javax/swing/RepaintManager.java | |
1225 | (paintDirtyRegions): Don't use internal classes of | |
1226 | java.util.AbstractMap. | |
1227 | * javax/swing/ScrollPaneConstants.java: Reindented. | |
1228 | * javax/swing/ScrollPaneLayout.java | |
1229 | (viewport): Made protected. | |
1230 | (verticalScrollBar): Made protected, renamed to vsb. | |
1231 | (horizontalScrollBar): Made protected, renamed to hsb. | |
1232 | (rowHeader): Made protected, renamed to rowHead. | |
1233 | (columnHeader): Made protected, renamed to colHead. | |
1234 | (lowerLeft): Made protected. | |
1235 | (lowerRight): Made protected. | |
1236 | (upperLeft): Made protected. | |
1237 | (upperRight): Made protected. | |
1238 | (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy. | |
1239 | (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy. | |
1240 | ||
1241 | 2004-06-07 Bernd Schmidt <bernds@btinternet.com> | |
1242 | ||
1243 | * java/awt/MediaTracker.java (imageUpdate): Only set status to | |
1244 | LOADING if flags has SOMEBITS set. | |
1245 | ||
1246 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
1247 | ||
1248 | * javax/swing/AbstractButton.java: Reorganized imports. | |
1249 | * javax/swing/ActionMap.java: Likewise. | |
1250 | * javax/swing/DefaultButtonModel.java: Likewise. | |
1251 | * javax/swing/DefaultListModel.java: Likewise. | |
1252 | * javax/swing/ImageIcon.java: Likewise. | |
1253 | (serialVersionUID): New member variable. | |
1254 | * javax/swing/JComboBox.java: Reorganized imports. | |
1255 | * javax/swing/JComponent.java: Likewise. | |
1256 | (ui): Made protected. | |
1257 | (listenerList): Made protected. | |
1258 | (TOOL_TIP_TEXT_KEY): New constant. | |
1259 | (scrollRectToVisible): Removed redundant null check. | |
1260 | * javax/swing/JFrame.java: Reorganized imports. | |
1261 | * javax/swing/JInternalFrame.java: Reorganized imports. | |
1262 | * javax/swing/JProgressBar.java: Likewise. | |
1263 | * javax/swing/JRootPane.java: Likewise. | |
1264 | * javax/swing/JScrollBar.java: Likewise. | |
1265 | * javax/swing/JSeparator.java: Likewise. | |
1266 | * javax/swing/JSlider.java: Likewise. | |
1267 | * javax/swing/JTabbedPane.java: Likewise. | |
1268 | * javax/swing/JTextField.java: Likewise. | |
1269 | * javax/swing/JToolBar.java: Likewise. | |
1270 | * javax/swing/JTree.java: Likewise. | |
1271 | * javax/swing/JViewport.java: Likewise. | |
1272 | * javax/swing/JWindow.java: Likewise. | |
1273 | * javax/swing/KeyStroke.java: Likewise. | |
1274 | * javax/swing/LookAndFeel.java: Likewise. | |
1275 | * javax/swing/MenuSelectionManager.java: Likewise. | |
1276 | * javax/swing/SwingUtilities.java: Likewise. | |
1277 | * javax/swing/Timer.java: Likewise. | |
1278 | * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc. | |
1279 | * javax/swing/JList.java | |
1280 | (HORIZONTAL_WRAP): Made final, fixed value. | |
1281 | (VERTICAL): Likewise. | |
1282 | (VERTICAL_WRAP): Likewise. | |
1283 | ||
1284 | 2004-06-07 Michael Koch <konqueror@gmx.de> | |
1285 | ||
1286 | * javax/swing/AbstractButton.java | |
1287 | (serialVersionUID): New member variable. | |
1288 | (AccessibleAbstractButton.serialVersionUID): Likewise. | |
1289 | (AbstractButton): Made public. | |
1290 | * javax/swing/Box.java | |
1291 | (AccessibleBox.serialVersionUID): New member variable. | |
1292 | (Filler.serialVersionUID): Likewise. | |
1293 | * javax/swing/DefaultListSelectionModel.java | |
1294 | (serialVersionUID): Likewise. | |
1295 | * javax/swing/JApplet.java | |
1296 | (serialVersionUID): Likewise. | |
1297 | * javax/swing/JCheckBox.java | |
1298 | (serialVersionUID): Likewise. | |
1299 | * javax/swing/JCheckBoxMenuItem.java | |
1300 | (serialVersionUID): Likewise. | |
1301 | (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise. | |
1302 | * javax/swing/JColorChooser.java | |
1303 | (serialVersionUID): Likewise. | |
1304 | (AccessibleJColorChooser.serialVersionUID): Likewise. | |
1305 | * javax/swing/JComponent.java | |
1306 | (serialVersionUID): Made private. | |
1307 | (AccessibleJComponent.serialVersionUID): New member variable. | |
1308 | * javax/swing/JDesktopPane.java | |
1309 | (serialVersionUID): Likewise. | |
1310 | * javax/swing/JDialog.java | |
1311 | (serialVersionUID): Likewise. | |
1312 | * javax/swing/JFormattedTextField.java | |
1313 | (serialVersionUID): Fixed value. | |
1314 | * javax/swing/JFrame.java | |
1315 | (serialVersionUID): New member variable. | |
1316 | (getDefaultCloseOpertation): Made public. | |
1317 | * javax/swing/JLayeredPane.java | |
1318 | (serialVersionUID): Likewise. | |
1319 | (LAYER_PROPERTY): Made final, fixed value. | |
1320 | (JLayeredPane): Made public. | |
1321 | * javax/swing/JMenu.java | |
1322 | (AccessibleJMenu.serialVersionUID): New member variable. | |
1323 | (WinListener.serialVersionUID): Likewise. | |
1324 | * javax/swing/JMenuBar.java | |
1325 | (serialVersionUID): Likewise. | |
1326 | (getComponentAtIndex): Added @deprecated tag. | |
1327 | * javax/swing/JMenuItem.java | |
1328 | (serialVersionUID): New member variable. | |
1329 | (AccessibleJMenuItem.serialVersionUID): Likewise. | |
1330 | * javax/swing/JOptionPane.java | |
1331 | (serialVersionUID): Likewise. | |
1332 | (AccessibleJOptionPane.serialVersionUID): Likewise. | |
1333 | * javax/swing/JPopupMenu.java | |
1334 | (serialVersionUID): Likewise. | |
1335 | (AccessibleJPopupMenu.serialVersionUID): Likewise. | |
1336 | (getPopupMenuListeners): New method. | |
1337 | (getComponentAtIndex): Added @deprecated tag. | |
1338 | * javax/swing/JProgressBar.java | |
1339 | (serialVersionUID): New member variable. | |
1340 | (AccessibleJProgressBar.serialVersionUID): Likewise. | |
1341 | * javax/swing/JRadioButton.java | |
1342 | (serialVersionUID): Likewise. | |
1343 | * javax/swing/JRadioButtonMenuItem.java | |
1344 | (serialVersionUID): Likewise. | |
1345 | (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise. | |
1346 | * javax/swing/JScrollBar.java | |
1347 | (serialVersionUID): Likewise. | |
1348 | (AccessibleJScrollBar.serialVersionUID): Likewise. | |
1349 | * javax/swing/JSeparator.java | |
1350 | (serialVersionUID): Likewise. | |
1351 | (AccessibleJSeparator.serialVersionUID): Likewise. | |
1352 | * javax/swing/JSlider.java: Fixed javadocs. | |
1353 | (AccessibleJSlider.serialVersionUID): New member variable. | |
1354 | * javax/swing/JSplitPane.java: Added copyright statement. | |
1355 | (serialVersionUID): New member variable. | |
1356 | (AccessibleJSplitPane.serialVersionUID): Likewise. | |
1357 | * javax/swing/JTabbedPane.java | |
1358 | (serialVersionUID): Likewise. | |
1359 | (AccessibleJTabbedPane.serialVersionUID): Likewise. | |
1360 | (ModelListener.serialVersionUID): Likewise. | |
1361 | (ModelListener.ModelListener): New constructor. | |
1362 | (SCROLL_TAB_LAYOUT): Made public final, fixed value. | |
1363 | (WRAP_TAB_LAYOUT): Likewise. | |
1364 | * javax/swing/JTable.java | |
1365 | (serialVersionUID): New member variable. | |
1366 | * javax/swing/JToggleButton.java | |
1367 | (serialVersionUID): Likewise. | |
1368 | (ToggleButtonModel): Made static. | |
1369 | (ToggleButtonModel.serialVersionUID): New member variable. | |
1370 | * javax/swing/JToolTip.java | |
1371 | (serialVersionUID): Likewise. | |
1372 | * javax/swing/JTree.java | |
1373 | (serialVersionUID): Likewise. | |
1374 | * javax/swing/JWindow.java | |
1375 | (serialVersionUID): Likewise. | |
1376 | * javax/swing/Timer.java | |
1377 | (serialVersionUID): Likewise. | |
1378 | ||
1379 | 2004-06-06 Michael Koch <konqueror@gmx.de> | |
1380 | ||
1381 | * javax/swing/SwingConstants.java | |
1382 | (NEXT): New constant. | |
1383 | (PREVIOUS): Likewise. | |
1384 | * javax/swing/UIManager.java | |
1385 | (LookAndFeel): Made public. | |
1386 | (LookAndFeel.getClassName): Likewise. | |
1387 | (LookAndFeel.getName): Likewise. | |
1388 | ||
1389 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> | |
1390 | ||
1391 | * javax/swing/JCheckBoxMenuItem.java: | |
1392 | Removed CVS tags. | |
1393 | * javax/swing/JMenu.java: Likewise. | |
1394 | * javax/swing/JMenuBar.java: Likewise. | |
1395 | * javax/swing/JMenuItem.java: Likewise. | |
1396 | * javax/swing/JPopupMenu.java: Likewise. | |
1397 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
1398 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
1399 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
1400 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
1401 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
1402 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
1403 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
1404 | ||
1405 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> | |
1406 | ||
1407 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
1408 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
1409 | Call getPath() from super class instead. | |
1410 | ||
1411 | 2004-05-31 David Jee <djee@redhat.com> | |
1412 | ||
1413 | * java/awt/Container.java | |
1414 | (remove): Set component visibility to false after removing it. | |
1415 | ||
1416 | 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1417 | ||
1418 | * java/awt/Component.java (getForeground): Return SystemColor if | |
1419 | parent is null. | |
1420 | (getBackground): Likewise. | |
1421 | ||
1422 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
1423 | (item_highlighted): New function. | |
1424 | (connectSignals): Set item_highlighted as list's select | |
1425 | function. | |
1426 | ||
1427 | * java/applet/Applet.java: Revert changes from 2004-04-29, | |
1428 | 2004-03-15 and 2004-03-14. | |
1429 | ||
1430 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
1431 | Divide baseline y coordinate by PANGO_SCALE, not DPI conversion | |
1432 | factor. | |
1433 | ||
1434 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set | |
1435 | "Dialog" as the default font. | |
1436 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): | |
1437 | Likewise. | |
1438 | * java/awt/Component.java (getFont): Return "Dialog" font by | |
1439 | default. | |
1440 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: | |
1441 | Multiply size argument to pango_font_description_set_size by the | |
1442 | DPI conversion factor rather than by PANGO_SCALE. | |
1443 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise. | |
1444 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise. | |
1445 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise. | |
1446 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise. | |
1447 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
1448 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise. | |
1449 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise. | |
1450 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise. | |
1451 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. | |
1452 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString): | |
1453 | Divide baseline y coordinate by DPI conversion factor rather | |
1454 | than by PANGO_SCALE. | |
1455 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | |
1456 | (area_prepared): Fix typo. | |
1457 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c | |
1458 | (gtkSetFont): Move gtk_bin_get_child inside GDK critical region. | |
1459 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c | |
1460 | (dpi_conversion_factor): New global variable. | |
1461 | (init_dpi_conversion_factor): New function to calculate and | |
1462 | track DPI conversion factor. | |
1463 | (dpi_changed_cb): New callback. | |
1464 | * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare. | |
1465 | ||
1466 | 2004-05-27 David Jee <djee@redhat.com> | |
1467 | ||
1468 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
1469 | (getGraphics): Return a new GdkGraphics instance. | |
1470 | * gnu/java/awt/peer/gtk/GtkContainerPeer.java | |
1471 | (getGraphics): Call super.getGraphics(). | |
1472 | ||
1473 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1474 | ||
1475 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1476 | (setNativeBounds): Clamp width and height values to >= 0. | |
1477 | ||
1478 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1479 | (find_fg_color_widget): Handle GtkOptionMenu specially. | |
1480 | ||
1481 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
1482 | (pre_event_handler): Only post configure events to visible | |
1483 | top-level windows. | |
1484 | ||
1485 | 2004-05-26 David Jee <djee@redhat.com> | |
1486 | ||
1487 | * java/awt/BorderLayout.java | |
1488 | (layoutContainer): Fix size calculations. | |
1489 | ||
1490 | 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1491 | ||
1492 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
1493 | (window_wm_protocols_filter): Remove function. | |
1494 | (create): Remove filter that removes WM_TAKE_FOCUS client | |
1495 | messages. | |
1496 | ||
794c3bee AG |
1497 | 2004-06-17 Anthony Green <green@redhat.com> |
1498 | ||
1616280e AG |
1499 | * java/util/zip/ZipFile.java (getInputStream): Return null if |
1500 | entry not found. | |
1501 | ||
794c3bee AG |
1502 | * gnu/gcj/runtime/VMClassLoader.java (init): Add extension |
1503 | directory contents to the class path. | |
1504 | ||
d1238423 AH |
1505 | 2004-06-15 Andrew Haley <aph@redhat.com> |
1506 | ||
1507 | * java/lang/natSystem.cc (getenv0): Don't assume environment | |
1508 | variable is Latin 1 coded. | |
1509 | ||
f1c3e0a6 AJ |
1510 | 2004-06-14 Andreas Jaeger <aj@suse.de> |
1511 | ||
1512 | * configure.in: Support --enable-version-specific-runtime-libs. | |
1513 | * configure: Regenerated. | |
1514 | ||
84b1d821 BM |
1515 | 2004-06-14 Bryce McKinlay <mckinlay@redhat.com> |
1516 | ||
1517 | * java/util/Calendar.java: Change ResourceBundle.getBundle() calls | |
1518 | to pass ClassLoader argument. | |
1519 | * java/util/GregorianCalendar.java: Likewise. | |
1520 | * java/util/Currency.java: Likewise. | |
1521 | * java/text/BreakIterator.java: Likewise. | |
1522 | * java/text/Collator.java: Likewise. | |
1523 | * java/text/DateFormat.java: Likewise. | |
1524 | * java/text/DateFormatSymbols.java: Likewise. | |
1525 | * java/text/DecimalFormatSymbols.java: Likewise. | |
1526 | * java/text/NumberFormat.java: Likewise. | |
1527 | * java/awt/Window.java: Likewise. | |
1528 | ||
df94fa14 AH |
1529 | 2004-06-14 Andrew Haley <aph@redhat.com> |
1530 | ||
1531 | * java/lang/System.java: (getenv0): New method. | |
1532 | (getenv): Add security check. Do the right thing. | |
1533 | * java/lang/natSystem.cc (getenv0): New method. | |
1534 | ||
ff6ea709 MW |
1535 | 2004-06-12 Mark Wielaard <mark@klomp.org> |
1536 | ||
1537 | * javax/swing/RepaintManager.java | |
1538 | (paintDirtyRegions): Use entrySet(), not values(). | |
1539 | ||
d1ee8381 MW |
1540 | 2004-06-10 Mark Wielaard <mark@klomp.org> |
1541 | ||
1542 | * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to | |
1543 | NoSuchMethodError. | |
1544 | ||
b092552d JQ |
1545 | 2004-06-11 Jerry Quinn <jlquinn@optonline.net> |
1546 | ||
1547 | * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae | |
1548 | when we already know the answer. | |
1549 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
1550 | (setStartRule,setEndRule): Don't take abs of day number. | |
1551 | (getOffset): Clarify docs. Add argument checks. | |
1552 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
1553 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
1554 | endTimeMode. | |
1555 | ||
618df745 TT |
1556 | 2004-06-10 Tom Tromey <tromey@redhat.com> |
1557 | ||
1558 | * interpret.cc (run): Handle wide fload. | |
1559 | ||
648b6075 JQ |
1560 | 2004-06-06 Jerry Quinn <jlquinn@optonline.net> |
1561 | ||
1562 | * java/util/zip/ZipEntry.java (setTime): Remove scaling. | |
1563 | ||
9fc3ed51 MK |
1564 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
1565 | ||
1566 | * javax/swing/SwingConstants.java | |
1567 | (NEXT): New constant. | |
1568 | (PREVIOUS): Likewise. | |
1569 | ||
c6dd0441 MK |
1570 | 2004-06-05 Michael Koch <konqueror@gmx.de> |
1571 | ||
1572 | * javax/swing/UIManager.java | |
1573 | (LookAndFeel): Made public. | |
1574 | (LookAndFeel.getName): Likewise. | |
1575 | (LookAndFeel.getClassName): Likewise. | |
1576 | ||
53ef271f MK |
1577 | 2004-06-03 Michael Koch <konqueror@gmx.de> |
1578 | ||
1579 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
1580 | (requestFocus): Revert last changes. | |
1581 | (gtkRequestFocus): Removed. | |
1582 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1583 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
1584 | Renamed to ... | |
1585 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus): | |
1586 | Reverted last patch. | |
1587 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
1588 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup): | |
1589 | Reverted comment change. | |
1590 | ||
26f4ba86 OR |
1591 | 2004-06-02 Olga Rodimina <rodimina@redhat.com> |
1592 | ||
1593 | * javax/swing/JCheckBoxMenuItem.java: | |
1594 | Removed CVS tags. | |
1595 | * javax/swing/JMenu.java: Likewise. | |
1596 | * javax/swing/JMenuBar.java: Likewise. | |
1597 | * javax/swing/JMenuItem.java: Likewise. | |
1598 | * javax/swing/JPopupMenu.java: Likewise. | |
1599 | * javax/swing/JRadioButtonMenuItem.java: Likewise. | |
1600 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise. | |
1601 | * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise. | |
1602 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
1603 | * javax/swing/plaf/basic/BasicMenuUI.java: Likewise. | |
1604 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise. | |
1605 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise. | |
1606 | ||
c05e85e2 MK |
1607 | 2004-06-01 Tom Tromey <tromey@redhat.com> |
1608 | ||
1609 | * java/io/ObjectStreamField.java: Cleaned up imports. | |
1610 | ||
1611 | 2004-06-01 Michael Koch <konqueror@gmx.de> | |
1612 | ||
1613 | * java/io/ObjectStreamField.java: Style and javadoc cleanup. | |
1614 | ||
1615 | 2004-06-01 Mark Wielaard <mark@klomp.org> | |
1616 | ||
1617 | * java/io/Writer.java (Writer(Object)): Fixed API doc. | |
1618 | ||
6ef44cfd MK |
1619 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
1620 | ||
1621 | * java/security/Security.java | |
1622 | (insertProviderAt): Use equals() instead of ==. | |
1623 | (removeProvicer): Likewise. | |
1624 | (getProvider): Likewise. | |
1625 | * java/security/Signature.java | |
1626 | (sign): Don't set state to UNINITIALIZED. | |
1627 | (verify): Likewise. | |
1628 | ||
1900c4c6 MW |
1629 | 2004-06-01 Mark Wielaard <mark@klomp.org> |
1630 | ||
1631 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus): | |
1632 | Implement by calling gtkRequestFocus. | |
1633 | (gtkRequestFocus): New native method. | |
1634 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1635 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__): | |
1636 | Renamed to ... | |
1637 | (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): | |
1638 | New function name. | |
1639 | (filter_expose_event_handler): | |
1640 | Mark static. | |
1641 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
1642 | (menu_pos): Mark static. | |
1643 | ||
57807c31 MK |
1644 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
1645 | ||
1646 | * java/text/CollationElementIterator.java, | |
1647 | java/text/CollationKey.java, | |
1648 | java/text/RuleBasedCollator.java: New versions from GNU classpath. | |
1649 | * testsuite/libjava.mauve/xfails: Removed all | |
1650 | java.text.CollationElementIterator tests. | |
1651 | ||
f7dbd56c MK |
1652 | 2004-06-01 Michael Koch <konqueror@gmx.de> |
1653 | ||
1654 | * java/util/zip/InflaterInputStream.java: Merged more with Classpath | |
1655 | version. | |
1656 | * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed | |
1657 | Java 1.5 keyword usage. | |
1658 | ||
44a4b8db OR |
1659 | 2004-05-31 Olga Rodimina <rodimina@redhat.com> |
1660 | ||
1661 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
1662 | (MouseEntered): Do not call getPath() from MenuSelectionManager. | |
1663 | Call getPath() from super class instead. | |
1664 | ||
58128b9d MK |
1665 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
1666 | ||
1667 | * java/io/SequenceInputStream.java: | |
1668 | Rename enum to e because enum is a keyword in Java 1.5. | |
1669 | ||
771b9ca3 MK |
1670 | 2004-05-31 Michael Koch <konqueror@gmx.de> |
1671 | ||
1672 | * gnu/java/rmi/rmic/CompilerProcess.java: | |
1673 | Fixed javadoc to by XHTML compliant. | |
1674 | ||
7a70d70c MW |
1675 | 2004-05-30 Mark Wielaard <mark@klomp.org> |
1676 | ||
1677 | * java/awt/Toolkit.java (loadSystemColors): Implement. | |
1678 | ||
289f9db7 MK |
1679 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
1680 | ||
071917b0 MK |
1681 | * java/lang/System.java: Reordered imports. |
1682 | ||
1683 | 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org> | |
1684 | ||
289f9db7 MK |
1685 | * java/text/DecimalFormat.java |
1686 | (parse): Fixed parsing of decimal strings. Number of maximum | |
1687 | digits to be read should now work. | |
1688 | * java/text/SimpleDateFormat.java | |
1689 | (SimpleDateFormat): Set maximumFractionDigit to 0 for the number | |
1690 | formatter. This fixes DateFormatTest. | |
1691 | ||
1b2545bc MK |
1692 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
1693 | ||
1694 | * java/nio/Buffer.java | |
1695 | (limit): Fixed off by one error. | |
1696 | * java/nio/CharBuffer.java | |
1697 | (wrap): Fixed arguments, added javadocs. | |
1698 | ||
74c2dbf7 MK |
1699 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
1700 | ||
1701 | * gnu/java/beans/BeanInfoEmbryo.java, | |
1702 | java/awt/im/InputContext.java, | |
1703 | javax/swing/tree/DefaultMutableTreeNode.java: | |
1704 | Rename enum to e because enum is a keyword in Java 1.5. | |
1705 | ||
27d14326 MK |
1706 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
1707 | ||
1708 | * gnu/java/math/MPN.java, | |
1709 | java/awt/geom/Arc2D.java: | |
1710 | Fixed javadocs all over. | |
1711 | ||
933592af MK |
1712 | 2004-05-30 Michael Koch <konqueror@gmx.de> |
1713 | ||
1714 | * java/awt/DefaultKeyboardFocusManager.java | |
1715 | (dispatchEvent): Call method to get key event dispatchers. | |
1716 | (dispatchKeyEvent): Call method to get key event post processors. | |
1717 | * javax/swing/JComponent.java | |
1718 | (listenerList): Made protected. | |
1719 | * javax/swing/JOptionPane.java | |
1720 | (message): Don't initialize. | |
1721 | (JOptionPane): Set message text. | |
1722 | * javax/swing/JPopupMenu.java | |
1723 | (show): Fixed typo in argument name. | |
1724 | * javax/swing/RepaintManager.java | |
1725 | (paintDirtyRegions): Use public API of java.util.Map. | |
1726 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
1727 | (positionForMouseEvent): Removed redundant ';'. | |
1728 | (continueDrag): Use method arguments. | |
1729 | ||
5ba95354 RM |
1730 | 2004-05-29 Ranjit Mathew <rmathew@hotmail.com> |
1731 | ||
1732 | * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge | |
1733 | results. | |
1734 | ||
ca60dce2 BM |
1735 | 2004-05-28 Bryce McKinlay <mckinlay@redhat.com> |
1736 | ||
1737 | * gcj/cni.h (JvAllocBytes): New public CNI function. Calls | |
1738 | _Jv_AllocBytes. | |
1739 | * gnu/gcj/RawDataManaged.java: New file. | |
1740 | * java/lang/Thread.java (data): Declare as RawDataManaged. | |
1741 | * java/lang/natThread.cc (init_native): Cast natThread data to | |
1742 | RawDataManaged, not jobject. | |
1743 | * Makefile.am (ordinary_java_source_files): Add RawDataManaged. | |
1744 | * Makefile.in: Rebuilt. | |
1745 | ||
b9f065be JQ |
1746 | 2004-05-27 Jerry Quinn <jlquinn@optonline.net> |
1747 | ||
1748 | * java/util/SimpleTimeZone.java: Reverting my last change until I | |
1749 | can fix it properly. | |
1750 | ||
a4171ce1 MK |
1751 | 2004-05-27 Michael Koch <konqueror@gmx.de> |
1752 | ||
1753 | * javax/swing/JPopupMenu.java | |
1754 | (isVisible): Do not use visible directly. | |
1755 | (setVisible): Likewise. | |
1756 | * javax/swing/JWindow.java | |
1757 | (JWindow): call accessible constructor. | |
1758 | * javax/swing/RepaintManager.java | |
1759 | (paintDirtyRegions): Use public methods to obtain iterator. | |
1760 | ||
c5d2de6b GH |
1761 | 2004-05-25 David Jee <djee@redhat.com> |
1762 | ||
1763 | * java/awt/Container.java | |
1764 | (remove): Set component's parent to null only after we removed the | |
1765 | component from its parent's layout manager. | |
1766 | ||
1767 | 2004-05-25 David Jee <djee@redhat.com> | |
1768 | ||
1769 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
1770 | (GtkComponentPeer): Set bounds regardless of whether awtComponent | |
1771 | is valid. | |
1772 | * gnu/java/awt/peer/gtk/GtkListPeer.java | |
1773 | (getSize): Change native method declaration. | |
1774 | (minimumSize): Pass visible row count into getSize(). | |
1775 | (preferredSize): Likewise. | |
1776 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c | |
1777 | (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's | |
1778 | natural size. Use visible row count to determine the final height | |
1779 | value to return. | |
1780 | ||
1781 | 2004-05-21 Graydon Hoare <graydon@redhat.com> | |
1782 | ||
1783 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
1784 | (setClip): Minor correction to order of operations. | |
1785 | ||
1786 | * javax/swing/JScrollPane.java: Extend sketchy implementation. | |
1787 | * javax/swing/ScrollPaneLayout.java: Likewise. | |
1788 | * javax/swing/JViewPort.java: Likewise. | |
1789 | * javax/swing/ViewportLayout.java: Likewise. | |
1790 | ||
1791 | * javax/swing/JComponent.java: Rewrite. | |
1792 | * javax/swing/RepaintManager.java: Likewise. | |
1793 | ||
1794 | * javax/swing/JLayeredPane.java: Change validate() to revalidate(). | |
1795 | * javax/swing/JList.java | |
1796 | (setSelectedIndices): | |
1797 | (getSelectedIndices): | |
1798 | (getSelectedValues): New functions. | |
1799 | (getPreferredScrollableViewportSize): Return preferred size. | |
1800 | (getScrollableUnitIncrement): | |
1801 | (getScrollableBlockIncrement): Initial implementations. | |
1802 | * javax/swing/JRootPane.java: Clean up slightly. | |
1803 | (getUI): | |
1804 | (setUI): | |
1805 | (updateUI): | |
1806 | (getUIClassID): | |
1807 | (isValidateRoot): Add overrides from JComponent. | |
1808 | * javax/swing/JScrollBar.java: Set default orientation to VERTICAL. | |
1809 | * javax/swing/UIManager.java (getDimension): Return the dimension. | |
1810 | ||
1811 | * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque. | |
1812 | * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. | |
1813 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. | |
1814 | * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. | |
1815 | * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. | |
1816 | * javax/swing/plaf/basic/BasicSliderUI.java: Likewise. | |
1817 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise. | |
1818 | * javax/swing/plaf/basic/BasicRootPaneUI.java: | |
1819 | Likewise, and set background. | |
1820 | * javax/swing/plaf/basic/BasicListUI.java: | |
1821 | Likewise, and improve a bit. | |
1822 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
1823 | Likewise, and adjust calculations. | |
1824 | * javax/swing/plaf/basic/BasicViewportUI.java: | |
1825 | Likewise, and improve a bit. | |
1826 | * javax/swing/plaf/basic/BasicLookAndFeel.java | |
1827 | (Button.margin): Shrink. | |
1828 | ||
1829 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
1830 | Hack to set horizontal always, workaround pango. | |
1831 | ||
1832 | * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API. | |
1833 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: | |
1834 | Synchronize more often, check cairo status after ops, | |
1835 | handle changes to cairo pattern API, check for disposal. | |
1836 | ||
1837 | 2004-05-21 Olga Rodimina <rodimina@redhat.com> | |
1838 | ||
1839 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
1840 | (BasicMenuItemUI): Create propertyChangeListener. | |
1841 | (getPath):Implemented. | |
1842 | (installListeners): Add propertyChangeListener to menuItem. | |
1843 | (uninstallListeners): Remove propertyChangeListener from menuItem. | |
1844 | (update): Implemented. | |
1845 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
1846 | (mouseEntered): Take insets of popup menu into account when | |
1847 | calculating position of popup menu. | |
1848 | ||
1849 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
1850 | ||
1851 | * Makefile.am: Added new file. | |
1852 | * Makefile.in: Regenerate. | |
1853 | * javax/swing/JMenuBar.java: | |
1854 | Started implementation. | |
1855 | * javax/swing/JPopupMenu.java: | |
1856 | (setVisible): Fixed location of lightweight/mediumweight | |
1857 | popup menu. | |
1858 | (show): Fixed location of PopupMenu. | |
1859 | * javax/swing/plaf/basic/BasicMenuBarUI.java: | |
1860 | New file. UI Delegate for JMenuBar. | |
1861 | * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler: | |
1862 | (mouseEntered): Corrected position of the submenu. | |
1863 | ||
1864 | 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1865 | ||
1866 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls | |
1867 | to _gtk_accel_group_attach. | |
1868 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
1869 | Likewise. | |
1870 | ||
1871 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont | |
1872 | package access. Don't override setFont. | |
1873 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise. | |
1874 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give | |
1875 | gtkWidgetRequestFocus package access. | |
1876 | * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override | |
1877 | setFont. | |
1878 | * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont. | |
1879 | Give gtkWidgetRequestFocus package access. | |
1880 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give | |
1881 | gtkWidgetRequestFocus package access. Don't override setFont. | |
1882 | * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override | |
1883 | setFont. | |
1884 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
1885 | (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical | |
1886 | region. | |
1887 | (gtkSetFont): Likewise. | |
1888 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont): | |
1889 | Implement. | |
1890 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
1891 | (gtkSetFont): Whitespace fix. | |
1892 | ||
1893 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
1894 | (gtkWidgetSetUsize): Remove method. | |
1895 | ||
1896 | 2004-05-18 David Jee <djee@redhat.com> | |
1897 | ||
1898 | * java/awt/image/MemoryImageSource.java | |
1899 | (newPixels(int,int,int,int,boolean)): Set only the specified | |
1900 | rectangle of pixels. | |
1901 | (newPixels(byte[],ColorModel,int,int)): Implement. | |
1902 | (newPixels(int[],ColorModel,int,int)): Implement. | |
1903 | ||
1904 | 2004-05-18 Olga Rodimina <rodimina@redhat.com> | |
1905 | ||
1906 | * Makefile.am: Added new file. | |
1907 | * Makefile.in: Regenerate. | |
1908 | * javax/swing/JMenu.java: Started | |
1909 | implementation. | |
1910 | * javax/swing/JPopupMenu.java: | |
1911 | (insert): If specified index is -1, then | |
1912 | add component at the end. | |
1913 | (isPopupTrigger): Reimplemented. | |
1914 | (JPopupMenu.LightWeightPopup): setBounds | |
1915 | of the lightWeightPopup before adding it | |
1916 | to the layeredPane. | |
1917 | (javax/swing/plaf/basic/BasicIconFactory.java): | |
1918 | (getMenuArrowIcon): Implemented. | |
1919 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
1920 | (getPreferredSize): Add size of the arrow icon | |
1921 | if this menu item is instance of JMenu. | |
1922 | (paintMenuItem): Paint arrow icon if this | |
1923 | menu item is a submenu. | |
1924 | * javax/swing/plaf/basic/BasicMenuUI.java: | |
1925 | New File. UI Delegate for JMenu. | |
1926 | ||
1927 | 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1928 | ||
1929 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): | |
1930 | Post KEY_TYPED events. | |
1931 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
1932 | (generates_key_typed_event): Remove function. | |
1933 | ||
1934 | 2004-05-17 Olga Rodimina <rodimina@redhat.com> | |
1935 | ||
1936 | * javax/swing/JRootPane.java | |
1937 | (JRootPane.RootLayout): Reimplemented to | |
1938 | set bounds of contentPane and menuBar. | |
1939 | (setJMenuBar): Add menu bar to the layered pane. | |
1940 | (createLayeredPane): Set layout of layeredPane | |
1941 | to null. | |
1942 | * javax/swing/JLayeredPane.java: | |
1943 | (addImpl): Calculate index of the component in the | |
1944 | layeredPane according to the specified position within | |
1945 | the layer. | |
1946 | ||
1947 | 2004-05-17 David Jee <djee@redhat.com> | |
1948 | ||
1949 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
1950 | (setPixels): Change color model to the default model after | |
1951 | converting pixels. | |
1952 | * java/awt/image/MemoryImageSource.java | |
1953 | (newPixels): Set only the specified rectangle of pixels. | |
1954 | ||
1955 | 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1956 | ||
1957 | * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet | |
1958 | -l-java-beans -l-javax-accessibility -l-javax-swing. | |
1959 | ||
1960 | * java/awt/AWTEvent.java (toString): Print source's name rather | |
1961 | than the source itself. | |
1962 | ||
1963 | 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1964 | ||
1965 | * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make | |
1966 | native. | |
1967 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | |
1968 | (gdk_color_to_java_color): New function. | |
1969 | * jni/gtk-peer/gtkpeer.h: Add SystemColor defines. | |
1970 | ||
1971 | 2004-05-12 David Jee <djee@redhat.com> | |
1972 | ||
1973 | * java/awt/image/RGBImageFilter.java: | |
1974 | Initialize origmodel as null. | |
1975 | (makeColor): Fix pixel component order. | |
1976 | (filterRGBPixels): Fix pixel iteration. | |
1977 | (setPixels): Add extra checks for index color model. Convert pixels | |
1978 | to default color model if necessary. | |
1979 | (convertColorModelToDefault): New override method for byte pixels. | |
1980 | (convertColorModelToDefault): For int pixels, fix pixel iteration. | |
1981 | (makeColorbyDefaultCM): New override method for byte pixels. | |
1982 | (makeColorbyDefaultCM): For int pixel, add color model as argument. | |
1983 | (makeColor): Fix pixel component order. | |
1984 | ||
1985 | 2004-05-11 Kim Ho <kho@redhat.com> | |
1986 | ||
1987 | * javax/swing/Box.java: | |
1988 | Comment out more parts of Box.Filler. | |
1989 | ||
1990 | 2004-05-11 Kim Ho <kho@redhat.com> | |
1991 | ||
1992 | * javax/swing/Box.java: | |
1993 | Remove reference to AccessibleAWTComponent so | |
1994 | it compiles again. | |
1995 | ||
1996 | 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
1997 | ||
1998 | * gnu/java/awt/peer/gtk/GtkListPeer.java, | |
1999 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update | |
2000 | implementation of list peer to use GtkTreeView instead of | |
2001 | deprecated GtkCList. | |
2002 | ||
2003 | 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2004 | ||
2005 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
2006 | (gtkWidgetDispatchKeyEvent): Remove keyChar parameter. | |
2007 | (handleEvent): Remove keyChar argument to | |
2008 | gtkWidgetDispatchKeyEvent calls. | |
2009 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix | |
2010 | compiler warnings. | |
2011 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
2012 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise. | |
2013 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
2014 | Likewise. | |
2015 | ||
2016 | 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2017 | ||
2018 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java | |
2019 | (gtkWidgetRequestFocus): Mark protected. | |
2020 | (GtkComponentPeer): Only set the peer's bounds if its component | |
2021 | is valid. | |
2022 | * java/awt/Component.java (static): Set the default keyboard | |
2023 | focus manager. | |
2024 | (requestFocus(), requestFocus(boolean), requestFocusInWindow(), | |
2025 | requestFocusInWindow(temporary)): Don't request focus if the | |
2026 | component is not showing. Get tree lock before traversing | |
2027 | component hierarchy. | |
2028 | * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): | |
2029 | Only set the global focus owner if it is not a Window. | |
2030 | (processKeyEvent): Consume keystrokes associated with the focus | |
2031 | traversal keystroke. | |
2032 | (focusPreviousComponent, focusNextComponent, upFocusCycle, | |
2033 | downFocusCycle): Call requestFocusInWindow instead of | |
2034 | requestFocus. | |
2035 | * java/awt/EventDispatchThread.java (run): Move setting of | |
2036 | default keyboard focus manager to Component.java. | |
2037 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
2038 | (awt_keycode_to_keysym): New function. | |
2039 | (gtkWidgetDispatchKeyEvent): Finish implementation. | |
2040 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
2041 | (pre_event_handler): Add FIXME comment. | |
2042 | ||
2043 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, | |
2044 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
2045 | (gtkWidgetRequestFocus): New method. | |
2046 | * java/awt/TextArea.java (TextArea): Set focus traversal keys to | |
2047 | disable Tab and Shift-Tab keystrokes. | |
2048 | (addNotify, appendText, insertText, replaceText): Simplify peer | |
2049 | retrieval code. | |
2050 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | |
2051 | (connectSignals): Remove connections to "commit" signals. | |
2052 | Remove C++-style comments. | |
2053 | ||
2054 | * gnu/java/awt/peer/gtk/GtkButtonPeer.java, | |
2055 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c | |
2056 | (handleEvent): Activate GTK button when the space bar key is | |
2057 | pressed. | |
2058 | (gtkActivate): New method. | |
2059 | ||
2060 | 2004-05-06 David Jee <djee@redhat.com> | |
2061 | ||
2062 | * java/awt/image/CropImageFilter.java | |
2063 | (setPixels): Implement for byte array pixels. | |
2064 | * java/awt/image/ReplicateScaleFilter.java | |
2065 | (setPixels): Implement for byte array pixels. | |
2066 | (replicatePixels): Overload for byte array pixels. | |
2067 | ||
2068 | 2004-05-06 Kim Ho <kho@redhat.com> | |
2069 | ||
2070 | * javax/swing/Box.java: | |
2071 | (getAccessibleContext): Return an instance of the | |
2072 | correct class. | |
2073 | ||
2074 | 2004-05-05 David Jee <djee@redhat.com> | |
2075 | ||
2076 | * gnu/java/awt/peer/gtk/GdkGraphics.java | |
2077 | (drawImage): When component is null, use SystemColor.window as | |
2078 | the default bgcolor. | |
2079 | * gnu/java/awt/peer/gtk/GtkImage.java | |
2080 | (setPixels): We can avoid iterating through the pixel rows only | |
2081 | when height is 1. | |
2082 | * java/awt/Image.java | |
2083 | (getScaledInstance): Partially implement. | |
2084 | * java/awt/image/CropImageFilter.java | |
2085 | (setProperties): Fix "filter" property. | |
2086 | (setPixels): Implement. | |
2087 | * java/awt/image/ReplicateScaleFilter.java | |
2088 | (setDimensions): Use scaled dimensions. | |
2089 | (setPixels): Implement. | |
2090 | (replicatePixels): New method. | |
2091 | ||
2092 | 2004-05-05 David Jee <djee@redhat.com> | |
2093 | ||
2094 | * gnu/java/awt/peer/gtk/GtkImagePainter.java | |
2095 | (convertPixels): If either pixels or model is null, return null. | |
2096 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c | |
2097 | (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels | |
2098 | is null, do nothing and return. | |
2099 | ||
2100 | 2004-05-03 Kim Ho <kho@redhat.com> | |
2101 | ||
2102 | * gnu/java/awt/peer/gtk/GtkDialogPeer.java: | |
2103 | (getGraphics): Like GtkFramePeer, the Graphics | |
2104 | object needs to be translate to account for | |
2105 | window decorations. | |
2106 | (postMouseEvent): New method. Account for | |
2107 | translation. | |
2108 | (postExposeEvent): ditto. | |
2109 | * javax/swing/Box.java: Stubbed. | |
2110 | * javax/swing/JDialog.java: Ran through jalopy | |
2111 | to fix indentation. | |
2112 | (JDialog): Call SwingUtilities' getOwnerFrame | |
2113 | for null owners. | |
2114 | (setLayout): Check isRootPaneCheckingEnabled | |
2115 | * javax/swing/JOptionPane.java: Re-implemented. | |
2116 | * javax/swing/SwingUtilities.java: | |
2117 | (getOwnerFrame): Static method to grab a default | |
2118 | owner frame for Dialogs that don't specify owners. | |
2119 | * javax/swing/event/SwingPropertyChangeSupport.java: | |
2120 | (firePropertyChange): Fix early exit condition. | |
2121 | * javax/swing/plaf/basic/BasicLabelUI.java: | |
2122 | (paint): Avoid painting text if it is null | |
2123 | or empty. | |
2124 | * javax/swing/plaf/basic/BasicOptionPaneUI.java: | |
2125 | Implement. | |
2126 | ||
2127 | 2004-05-03 Olga Rodimina <rodimina@redhat.com> | |
2128 | ||
2129 | * Makefile.am: Added new file. | |
2130 | * Makefile.in: Regenerate. | |
2131 | * javax/swing/JPopupMenu.java: | |
2132 | Started implementation. | |
2133 | * javax/swing/JWindow.java | |
2134 | (JWindow): call super() if parent for window | |
2135 | is not specified. | |
2136 | * javax/swing/plaf/basic/BasicPopupMenuUI.java: | |
2137 | New File. UI Delegate for JPopupMenu. | |
2138 | ||
2139 | 2004-04-30 Olga Rodimina <rodimina@redhat.com> | |
2140 | ||
2141 | * javax/swing/JApplet.java: Indicated that JApplet | |
2142 | implements RootPaneContainer and made method of this | |
2143 | interface public. | |
2144 | * javax/swing/JFrame.java: Ditto. | |
2145 | * javax/swing/JWindow.java: Ditto. | |
2146 | ||
2147 | 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2148 | ||
2149 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
2150 | (nativeSetBounds): Call gdk_window_move in addition to | |
2151 | gtk_window_move. | |
2152 | ||
2153 | * java/applet/Applet.java (preferredSize): Call parent's | |
2154 | preferredSize if the applet stub is null. | |
2155 | (minimumSize): Likewise for parent's minimumSize. | |
2156 | ||
2157 | 2004-04-27 Olga Rodimina <rodimina@redhat.com> | |
2158 | ||
2159 | * javax/swing/JMenuItem.java | |
2160 | (createActionPropertyChangeListener): Implemented. | |
2161 | (processMouseEvent): Ditto. | |
2162 | (fireMenuDragMouseEntered): Ditto. | |
2163 | (fireMenuDragMouseExited): Ditto. | |
2164 | (fireMenuDragMouseDragged): Ditto. | |
2165 | (fireMenuDragMouseReleased): Ditto. | |
2166 | (menuSelectionChanged): Ditto. | |
2167 | (getSubElements): Ditto. | |
2168 | (getComponent): Ditto. | |
2169 | (addMenuDragMouseListener): Ditto. | |
2170 | (removeMenuDragMouseListener):Ditto. | |
2171 | (addMenuKeyListener): Ditto. | |
2172 | (removeMenuKeyListener): Ditto. | |
2173 | * javax/swing/plaf/basic/BasicMenuItemUI.java | |
2174 | (doClick): Imlemented. | |
2175 | * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler: | |
2176 | Don't handle mouse events here. Pass them to | |
2177 | MenuSelectionManager. | |
2178 | ||
2179 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
2180 | Used correct version of jalopy configuration | |
2181 | file to fix style in the files below. | |
2182 | ||
2183 | 2004-04-26 Olga Rodimina <rodimina@redhat.com> | |
2184 | ||
2185 | * javax/swing/JCheckBoxMenuItem.java: | |
2186 | Fixed style and removed unnecessary comments. | |
2187 | * javax/swing/JMenuItem.java: Ditto. | |
2188 | * javax/swing/JRadioButtonMenuItem.java: Ditto. | |
2189 | * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto. | |
2190 | * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto. | |
2191 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto. | |
2192 | ||
2193 | 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2194 | ||
2195 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to | |
2196 | C-style. | |
2197 | ||
2198 | * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment. | |
2199 | ||
2200 | * java/awt/ContainerOrderFocusTraversalPolicy.java | |
2201 | (getComponentAfter): Start from current component and work up | |
2202 | the component hierarchy until an acceptable component is found. | |
2203 | Synchronize on tree lock. | |
2204 | (getComponentBefore): Likewise. | |
2205 | ||
2206 | 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com> | |
2207 | ||
2208 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove | |
2209 | focus-related debugging messages. | |
2210 | * java/awt/DefaultKeyboardFocusManager.java: Likewise. | |
2211 | * java/awt/EventDispatchThread.java: Likewise. | |
2212 | * java/awt/KeyboardFocusManager.java: Likewise. | |
2213 | * java/awt/Window.java: Likewise. | |
2214 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. | |
2215 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
2216 | ||
2217 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change | |
2218 | new C++-style comments to C-style comments. | |
2219 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. | |
2220 | ||
2221 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java, | |
2222 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
2223 | (handleEvent): Dispatch key press and key release events to | |
2224 | backing widget. | |
2225 | (requestFocus): Post a FOCUS_GAINED event to the event queue. | |
2226 | (gtkWidgetRequestFocus): New method. | |
2227 | (gtkWidgetDispatchKeyEvent): Likewise. | |
2228 | * java/awt/Component.java (requestFocus, requestFocus(boolean), | |
2229 | requestFocusInWindow, requestFocusInWindow(boolean), | |
2230 | getFocusCycleRootAncestor, nextFocus, transferFocus, | |
2231 | transferFocusBackward, transferFocusUpCycle, hasFocus, | |
2232 | isFocusOwner): Implement and document focus-handling methods. | |
2233 | (setFocusTraversalKeys): Inherit focus traversal keys when | |
2234 | keystrokes argument is null. Fix focus-handling documentation | |
2235 | throughout class. | |
2236 | * java/awt/Container.java (setFocusTraversalKeys, | |
2237 | getFocusTraversalKeys, areFocusTraversalKeysSet, | |
2238 | isFocusCycleRoot, setFocusTraversalPolicy, | |
2239 | getFocusTraversalPolicy, isFocusTraversalPolicySet, | |
2240 | setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle): | |
2241 | Implement and document focus-handling methods. | |
2242 | (transferFocusBackward): Remove method. | |
2243 | (readObject, writeObject): Implement and document serialization | |
2244 | methods. | |
2245 | * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement | |
2246 | and document. | |
2247 | * java/awt/DefaultFocusTraversalPolicy.java: Implement and | |
2248 | document. | |
2249 | * java/awt/DefaultKeyboardFocusManager.java: Implement and | |
2250 | partially document. | |
2251 | * java/awt/EventDispatchThread.java (run): Set default keyboard | |
2252 | focus manager. Attempt to dispatch each event to the keyboard | |
2253 | focus manager before normal dispatch. | |
2254 | * java/awt/KeyboardFocusManager.java: Implement and partially | |
2255 | document. | |
2256 | * java/awt/Window.java (Window): Set focusCycleRoot to true. | |
2257 | (show): Focus initial component when window is shown for the | |
2258 | first time. | |
2259 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c | |
2260 | (pre_event_handler): Replace complex key press and key release | |
2261 | logic with simple callbacks into GtkComponentPeer. | |
2262 | * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal. | |
2263 | ||
2264 | 2004-04-21 Olga Rodimina <rodimina@redhat.com> | |
2265 | ||
2266 | * javax/swing/MenuSelectionManager.java | |
2267 | (componentForPoint): Added new method. | |
2268 | (defaultManager): New Method. Implemented. | |
2269 | (getSelectedPath): Ditto. | |
2270 | (isComponentPartOfCurrentMenu): Ditto. | |
2271 | (processKeyEvent): Added new method. | |
2272 | (processMouseEvent): New Method. Implemented. | |
2273 | (setSelectedPath): Ditto. | |
2274 | (getPath): Ditto. | |
2275 | ||
2276 | 2004-04-19 Kim Ho <kho@redhat.com> | |
2277 | ||
2278 | * java/awt/Container.java: | |
2279 | (remove): Set the component's parent to null. | |
2280 | (getComponentAt): Implement. | |
2281 | * javax/swing/JComponent.java: | |
2282 | (JComponent): Initialize defaultLocale | |
2283 | (getDefaultLocale): Implement. | |
2284 | (setDefaultLocale): ditto. | |
2285 | * javax/swing/JSlider.java: | |
2286 | (JSlider): Fix calculation of value. | |
2287 | * javax/swing/JSplitPane.java: Implement. | |
2288 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
2289 | Change SplitPane's default divider size. | |
2290 | * javax/swing/plaf/basic/BasicScrollBarUI.java: | |
2291 | (paint): Remove unused code. | |
2292 | * javax/swing/plaf/basic/BasicSplitPaneDivider.java: | |
2293 | Added comments and ran through jalopy. | |
2294 | (setBasicSplitPaneUI): Get reference to hidden divider | |
2295 | and set up one touch buttons if necessary. | |
2296 | (setBorder): Fire propertyChangeEvent only if | |
2297 | borders are different. | |
2298 | (getPreferredSize): Defer to layout manager. | |
2299 | (propertyChange): Implement. | |
2300 | (oneTouchExpandableChanged): ditto. | |
2301 | (createLeftOneTouchButton): Use BasicArrowButton. | |
2302 | (createRightOneTouchButton): ditto. | |
2303 | (moveDividerTo): New method. Moves the divider | |
2304 | to a set location based on the last divider location. | |
2305 | (BasicSplitPaneDivider::MouseHandler): Implement. | |
2306 | (BasicSplitPaneDivider::OneTouchButton): Removed. | |
2307 | (BasicSplitPaneDivider::DragController): Implement. | |
2308 | (BasicSplitPaneDivider::VerticalDragController): | |
2309 | ditto. | |
2310 | (BasicSplitPaneDivider::DividerLayout): ditto. | |
2311 | * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement. | |
2312 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
2313 | (calculateLayoutInfo): Don't show component if it's | |
2314 | null. | |
2315 | (paintTab): Fix title paint logic. | |
2316 | ||
2140214f JQ |
2317 | 2004-05-26 Jerry Quinn <jlquinn@optonline.net> |
2318 | ||
2319 | PR libgcj/8321 | |
2320 | * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2. | |
2321 | (setStartRule,setEndRule): Don't take abs of day number. | |
2322 | (getOffset): Clarify docs. Add argument checks. | |
2323 | (isBefore): Take abs of day number in DOW_LE_DOM_MODE. | |
2324 | (equals,hasSameRules,toString,readObject): Use startTimeMode and | |
2325 | endTimeMode. | |
2326 | * testsuite/libjava.mauve/xfails | |
2327 | (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22. | |
2328 | ||
17abdabc BM |
2329 | 2004-05-21 Bryce McKinlay <mckinlay@redhat.com> |
2330 | ||
2331 | Layout interfaces during preparation, not initialization. | |
2332 | * java/lang/natClass.cc (initializeClass): Move | |
2333 | _Jv_LayoutInterfaceMethods call... | |
2334 | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here. | |
2335 | ||
0fa13661 AG |
2336 | 2004-05-19 Anthony Green <green@localhost.localdomain> |
2337 | ||
2338 | * Makefile.am (awt_java_source_files): Remove javax.rmi and | |
2339 | gnu.javax.rmi code. | |
2340 | * Makefile.in: Rebuilt. | |
2341 | * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java, | |
2342 | javax/rmi/UtilDelegate.java, javax/rmi/Stub.java, | |
2343 | javax/rmi/Util.java, javax/rmi/ObjectImpl.java, | |
2344 | javax/rmi/SystemException.java, javax/rmi/ValueHandler.java, | |
2345 | javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java, | |
2346 | gnu/javax/rmi/CORBA/DelegateFactory.java, | |
2347 | gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, | |
2348 | gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, | |
2349 | gnu/javax/rmi/CORBA/StubDelegateImpl.java, | |
2350 | gnu/javax/rmi/CORBA/UtilDelegateImpl.java, | |
2351 | gnu/javax/rmi/CORBA/ValueHandlerImpl.java, | |
2352 | gnu/javax/rmi/PortableServer.java: Remove files. | |
2353 | ||
0f22079e AG |
2354 | 2004-05-19 Anthony Green <green@redhat.com> |
2355 | ||
2356 | * Makefile.am: Define JAVA_EXT_DIRS. | |
2357 | * Makefile.in: Rebuilt. | |
2358 | * java/lang/natRuntime.cc (insertSystemProperties): Set | |
2359 | java.ext.dirs property. | |
2360 | ||
9152dcf4 MW |
2361 | 2004-05-16 Mark Wielaard <mark@klomp.org> |
2362 | ||
2363 | * java/io/Writer.java (Writer(Object)): Check for null lock object. | |
2364 | ||
fb0e7ec0 MW |
2365 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
2366 | ||
2367 | * doc/cni.sgml: Removed, merged into gcj.texi. | |
2368 | ||
85ff6f62 MW |
2369 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
2370 | ||
2371 | * Makefile.am (ordinary_java_source_files): Add new javax.print | |
2372 | classes. | |
2373 | * Makefile.in: Regenerated. | |
2374 | ||
2375 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2376 | ||
2377 | * javax/print/attribute/standard/DateTimeAtCompleted.java, | |
2378 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
2379 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
2380 | javax/print/attribute/standard/DocumentName.java, | |
2381 | javax/print/attribute/standard/JobHoldUntil.java, | |
2382 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
2383 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
2384 | javax/print/attribute/standard/JobName.java, | |
2385 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
2386 | javax/print/attribute/standard/JobPriority.java, | |
2387 | javax/print/attribute/standard/JobPrioritySupported.java, | |
2388 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
2389 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
2390 | javax/print/attribute/standard/PrinterInfo.java, | |
2391 | javax/print/attribute/standard/PrinterLocation.java, | |
2392 | javax/print/attribute/standard/PrinterMakeAndModel.java, | |
2393 | javax/print/attribute/standard/PrinterMessageFromOperator.java, | |
2394 | javax/print/attribute/standard/PrinterName.java, | |
2395 | javax/print/attribute/standard/QueuedJobCount.java, | |
2396 | javax/print/attribute/standard/RequestingUserName.java: | |
2397 | Fixed javadocs all over. | |
2398 | ||
2399 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2400 | ||
2401 | * javax/print/DocFlavor.java, | |
2402 | javax/print/attribute/standard/ColorSupported.java, | |
2403 | javax/print/attribute/standard/Compression.java, | |
2404 | javax/print/attribute/standard/CopiesSupported.java, | |
2405 | javax/print/attribute/standard/Fidelity.java, | |
2406 | javax/print/attribute/standard/Finishings.java, | |
2407 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
2408 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
2409 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
2410 | javax/print/attribute/standard/JobSheets.java, | |
2411 | javax/print/attribute/standard/JobState.java, | |
2412 | javax/print/attribute/standard/JobStateReason.java, | |
2413 | javax/print/attribute/standard/JobStateReasons.java, | |
2414 | javax/print/attribute/standard/Media.java, | |
2415 | javax/print/attribute/standard/MediaSizeName.java, | |
2416 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
2417 | javax/print/attribute/standard/NumberUpSupported.java, | |
2418 | javax/print/attribute/standard/OrientationRequested.java, | |
2419 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
2420 | javax/print/attribute/standard/PageRanges.java, | |
2421 | javax/print/attribute/standard/PresentationDirection.java, | |
2422 | javax/print/attribute/standard/PrintQuality.java, | |
2423 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
2424 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
2425 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
2426 | javax/print/attribute/standard/PrinterResolution.java, | |
2427 | javax/print/attribute/standard/PrinterState.java, | |
2428 | javax/print/attribute/standard/PrinterStateReason.java, | |
2429 | javax/print/attribute/standard/PrinterStateReasons.java, | |
2430 | javax/print/attribute/standard/PrinterURI.java, | |
2431 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
2432 | javax/print/attribute/standard/Severity.java, | |
2433 | javax/print/attribute/standard/SheetCollate.java, | |
2434 | javax/print/attribute/standard/Sides.java: | |
2435 | Added serialVersionUID and removed final keyword where it doenst | |
2436 | belong. | |
2437 | ||
2438 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2439 | ||
2440 | * javax/print/PrintServiceLookup.java: New file. | |
2441 | ||
2442 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2443 | ||
2444 | * javax/print/DocFlavor.java: | |
2445 | Implemented all flavor classes. | |
2446 | ||
2447 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2448 | ||
2449 | * javax/print/attribute/standard/ColorSupported.java, | |
2450 | javax/print/attribute/standard/Compression.java, | |
2451 | javax/print/attribute/standard/CopiesSupported.java, | |
2452 | javax/print/attribute/standard/Fidelity.java, | |
2453 | javax/print/attribute/standard/Finishings.java, | |
2454 | javax/print/attribute/standard/JobImpressionsSupported.java, | |
2455 | javax/print/attribute/standard/JobKOctetsSupported.java, | |
2456 | javax/print/attribute/standard/JobMediaSheetsSupported.java, | |
2457 | javax/print/attribute/standard/JobSheets.java, | |
2458 | javax/print/attribute/standard/JobState.java, | |
2459 | javax/print/attribute/standard/JobStateReason.java, | |
2460 | javax/print/attribute/standard/JobStateReasons.java, | |
2461 | javax/print/attribute/standard/Media.java, | |
2462 | javax/print/attribute/standard/MediaSizeName.java, | |
2463 | javax/print/attribute/standard/MultipleDocumentHandling.java, | |
2464 | javax/print/attribute/standard/NumberUpSupported.java, | |
2465 | javax/print/attribute/standard/OrientationRequested.java, | |
2466 | javax/print/attribute/standard/PDLOverrideSupported.java, | |
2467 | javax/print/attribute/standard/PageRanges.java, | |
2468 | javax/print/attribute/standard/PresentationDirection.java, | |
2469 | javax/print/attribute/standard/PrintQuality.java, | |
2470 | javax/print/attribute/standard/PrinterIsAcceptingJobs.java, | |
2471 | javax/print/attribute/standard/PrinterMoreInfo.java, | |
2472 | javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, | |
2473 | javax/print/attribute/standard/PrinterResolution.java, | |
2474 | javax/print/attribute/standard/PrinterState.java, | |
2475 | javax/print/attribute/standard/PrinterStateReason.java, | |
2476 | javax/print/attribute/standard/PrinterStateReasons.java, | |
2477 | javax/print/attribute/standard/PrinterURI.java, | |
2478 | javax/print/attribute/standard/ReferenceUriSchemesSupported.java, | |
2479 | javax/print/attribute/standard/Severity.java, | |
2480 | javax/print/attribute/standard/SheetCollate.java, | |
2481 | javax/print/attribute/standard/Sides.java: New files. | |
2482 | ||
2483 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2484 | ||
2485 | * javax/print/Doc.java | |
2486 | (getPrintData): Throws IOException. | |
2487 | (getReaderForText): Likewise. | |
2488 | (getStreamForBytes): Likewise. | |
2489 | * javax/print/DocFlavor.java: | |
2490 | Fixed filename in copyright. | |
2491 | (serialVersionUID): New field. | |
2492 | * javax/print/ServiceUIFactory.java: | |
2493 | Made all constants final. | |
2494 | * javax/print/AttributeException.java | |
2495 | javax/print/MultiDoc.java | |
2496 | javax/print/MultiDocPrintJob.java | |
2497 | javax/print/MultiDocPrintService.java | |
2498 | javax/print/StreamPrintService.java | |
2499 | javax/print/URIException.java: New files. | |
2500 | * javax/print/Makefile.am | |
2501 | (EXTRA_DIST): Added all new files. | |
2502 | ||
2503 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2504 | ||
2505 | * javax/print/attribute/standard/Copies.java, | |
2506 | javax/print/attribute/standard/DateTimeAtCompleted.java, | |
2507 | javax/print/attribute/standard/DateTimeAtCreation.java, | |
2508 | javax/print/attribute/standard/DateTimeAtProcessing.java, | |
2509 | javax/print/attribute/standard/DocumentName.java, | |
2510 | javax/print/attribute/standard/JobHoldUntil.java, | |
2511 | javax/print/attribute/standard/JobImpressions.java, | |
2512 | javax/print/attribute/standard/JobImpressionsCompleted.java, | |
2513 | javax/print/attribute/standard/JobKOctets.java, | |
2514 | javax/print/attribute/standard/JobKOctetsProcessed.java, | |
2515 | javax/print/attribute/standard/JobMediaSheets.java, | |
2516 | javax/print/attribute/standard/JobMediaSheetsCompleted.java, | |
2517 | javax/print/attribute/standard/JobMessageFromOperator.java, | |
2518 | javax/print/attribute/standard/JobName.java, | |
2519 | javax/print/attribute/standard/JobOriginatingUserName.java, | |
2520 | javax/print/attribute/standard/JobPriority.java, | |
2521 | javax/print/attribute/standard/JobPrioritySupported.java, | |
2522 | javax/print/attribute/standard/NumberOfDocuments.java, | |
2523 | javax/print/attribute/standard/NumberOfInterveningJobs.java, | |
2524 | javax/print/attribute/standard/NumberUp.java, | |
2525 | javax/print/attribute/standard/OutputDeviceAssigned.java, | |
2526 | javax/print/attribute/standard/PagesPerMinute.java, | |
2527 | javax/print/attribute/standard/PagesPerMinuteColor.java: | |
2528 | Fixed @return tag all over. | |
2529 | ||
2530 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2531 | ||
2532 | * javax/print/attribute/AttributeSetUtilities.java | |
2533 | (verifyCategoryForValue): Fixed typo in javadoc. | |
2534 | * javax/print/attribute/HashAttributeSet.java | |
2535 | (containsKey): Fixed @return tag. | |
2536 | (comtainsValue): Likewise. | |
2537 | (equals): Likewise. | |
2538 | * javax/print/attribute/IntegerSyntax.java | |
2539 | (equals): Likewise. | |
2540 | * javax/print/attribute/ResolutionSyntax.java | |
2541 | (equals): Likewise. | |
2542 | (getCrossFeedResolution): Removed unused code. | |
2543 | (getFeedResolution): Likewise. | |
2544 | * javax/print/attribute/SetOfIntegerSyntax.java | |
2545 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
2546 | (equals): Fixed @return tag. | |
2547 | * javax/print/attribute/TextSyntax.java | |
2548 | (TextSyntax): Take locale into account. | |
2549 | (hashCode): Better implementation. | |
2550 | ||
2551 | 2004-05-15 Michael Koch <konqueror@gmx.de> | |
2552 | ||
2553 | * javax/print/CancelablePrintJob.java, | |
2554 | javax/print/Doc.java, | |
2555 | javax/print/DocFlavor.java, | |
2556 | javax/print/DocPrintJob.java, | |
2557 | javax/print/FlavorException.java, | |
2558 | javax/print/PrintException.java, | |
2559 | javax/print/PrintService.java, | |
2560 | javax/print/ServiceUIFactory.java: New files. | |
2561 | ||
f437e359 MW |
2562 | 2004-05-15 Mark Wielaard <mark@klomp.org> |
2563 | ||
2564 | * gnu/regexp/CharIndexedReader.java: Removed. | |
2565 | * gnu/regexp/REFilterReader.java: Likewise. | |
2566 | * gnu/regexp/RETokenLookAhead.java: Likewise. | |
2567 | * Makefile.am (ordinary_java_source_files): Remove above classes. | |
2568 | * Makefile.in: Regenerated. | |
2569 | ||
ae0d0d59 TT |
2570 | 2004-05-14 Tom Tromey <tromey@redhat.com> |
2571 | ||
2572 | * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage', | |
2573 | not `XGraphicsConfiguration.XOffScreenImage'. | |
2574 | ||
1cd29ad2 SG |
2575 | 2004-05-14 Scott Gilbertson <scottg@mantatest.com> |
2576 | ||
2577 | * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap. | |
2578 | ||
a01a235c SA |
2579 | 2004-05-14 Steven Augart <augart@watson.ibm.com> |
2580 | ||
2581 | * include/jni.h (_Jv_func): Removed. | |
2582 | (struct JNINativeInterface): Use `void *' for reserved slots. | |
2583 | (struct JNIInvokeInterface): Likewise. | |
2584 | ||
8f0b9daa MK |
2585 | 2004-05-11 Michael Koch <konqueror@gmx.de> |
2586 | ||
2587 | * gnu/java/net/natPlainSocketImplPosix.cc | |
2588 | (read): Fixed typo in expression. | |
2589 | ||
3f68457e AT |
2590 | 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch> |
2591 | ||
2592 | * testsuite/lib/libjava.exp (libjava_invoke): Add new argument | |
2593 | ld_library_additions. Adjust all calls to libjava_invoke to match | |
2594 | the new argument. | |
2595 | ||
2596 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++ | |
2597 | path to cxxflagslist. | |
2598 | Pass path of libstdc++ to libjava_invoke. | |
2599 | ||
2600 | * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust | |
2601 | libjava_invoke arguments. | |
2602 | ||
731d47a6 RM |
2603 | 2004-05-10 Ranjit Mathew <rmathew@hotmail.com> |
2604 | ||
2605 | * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current | |
2606 | reality. | |
2607 | ||
8e31e128 RM |
2608 | 2004-05-07 Ranjit Mathew <rmathew@gmail.com> |
2609 | ||
2610 | * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the | |
2611 | main binary against the JNI shared library. | |
2612 | ||
61af3d86 JQ |
2613 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> |
2614 | ||
2615 | * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode, | |
2616 | WALL_TIME, STANDARD_TIME, UTC_TIME): New members. | |
2617 | (SimpleTimeZone): Tweak docs. Add new variation. | |
2618 | (setStartRule,setEndRule): Add new variations. Use | |
2619 | startTimeMode and endTimeMode. | |
2620 | ||
2621 | 2004-05-07 Jerry Quinn <jlquinn@optonline.net> | |
2622 | ||
2623 | * java/util/Calendar.java (getActualMinimum, | |
2624 | getActualMaximum): Remove abstract. Implement. | |
2625 | ||
579f9640 BM |
2626 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
2627 | ||
2628 | Run the jni tests using the interpreter. | |
2629 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append | |
2630 | options_cxx to shared lib compile command. | |
2631 | (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so | |
2632 | they are used to link the shared lib, not the main binary. | |
2633 | Use libjava_invoke to run gij. | |
2634 | ||
0a215a11 MK |
2635 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
2636 | ||
2637 | * java/util/logging/Level.java | |
2638 | (parse): Use == instead of String.equals(). | |
2639 | ||
e51f7aeb BM |
2640 | 2004-05-06 Bryce McKinlay <mckinlay@redhat.com> |
2641 | ||
2642 | * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use | |
2643 | verify_field_signature and verify_method_signature, not | |
2644 | _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature. | |
2645 | (_Jv_ClassReader::handleField): Likewise. | |
2646 | (_Jv_ClassReader::handleMethod): Likewise. | |
2647 | ||
c8395524 MK |
2648 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
2649 | ||
2650 | * javax/swing/table/TableColumn.java: | |
2651 | Reformated. | |
2652 | ||
c8b86f1a MK |
2653 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
2654 | ||
2655 | * javax/imageio/spi/ImageReaderWriterSpi.java | |
2656 | (ImageReaderWriterSpi): Made it public. | |
2657 | * javax/imageio/stream/ImageInputStream.java: | |
2658 | Clean up imports. | |
2659 | ||
9f2eefb7 MK |
2660 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
2661 | ||
2662 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
2663 | Removed empty line. | |
2664 | ||
45505d4d MK |
2665 | 2004-05-06 Michael Koch <konqueror@gmx.de> |
2666 | ||
2667 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c, | |
2668 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c: | |
2669 | New files. | |
2670 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c: | |
2671 | Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h. | |
2672 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
2673 | Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to | |
2674 | their own source file. | |
2675 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
2676 | Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to | |
2677 | their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize. | |
2678 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
2679 | (create): Define variable on top of function. | |
2680 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
2681 | (menu_pos): Prototyped. | |
2682 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
2683 | (setTitle): Removed. | |
2684 | * jni/gtk-peer/gthread-jni.c | |
2685 | (gdk_threads_wake): Removed. | |
2686 | * Makefile.am (gtk_c_source_files): Added new files | |
2687 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and | |
2688 | jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c. | |
2689 | * Makefile.in: Regenerated. | |
2690 | ||
74e94435 BM |
2691 | 2004-05-05 Bryce McKinlay <mckinlay@redhat.com> |
2692 | ||
2693 | * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary() | |
2694 | call. | |
2695 | ||
68ea5833 MW |
2696 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
2697 | ||
2698 | * javax/swing/AbstractButton.java: Replace special HTML entities with | |
2699 | ASCII equivalent. | |
2700 | * javax/swing/DefaultBoundedRangeModel.java: Likewise. | |
2701 | * javax/swing/DefaultButtonModel.java: Likewise. | |
2702 | * javax/swing/DefaultListModel.java: Likewise. | |
2703 | * javax/swing/JList.java: Likewise. | |
2704 | * javax/swing/JSlider.java: Likewise. | |
2705 | * javax/swing/ListModel.java: Likewise. | |
2706 | * javax/swing/Popup.java: Likewise. | |
2707 | * javax/swing/SwingUtilities.java: Likewise. | |
2708 | ||
880fa238 MK |
2709 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
2710 | ||
2711 | * javax/swing/AbstractButton.java, | |
2712 | javax/swing/ActionMap.java, | |
2713 | javax/swing/DefaultButtonModel.java, | |
2714 | javax/swing/DefaultListModel.java, | |
2715 | javax/swing/ImageIcon.java, | |
2716 | javax/swing/JComboBox.java, | |
2717 | javax/swing/JComponent.java, | |
2718 | javax/swing/JFrame.java, | |
2719 | javax/swing/JInternalFrame.java, | |
2720 | javax/swing/JMenuBar.java, | |
2721 | javax/swing/JMenuItem.java, | |
2722 | javax/swing/JOptionPane.java, | |
2723 | javax/swing/JProgressBar.java, | |
2724 | javax/swing/JRootPane.java, | |
2725 | javax/swing/JScrollBar.java, | |
2726 | javax/swing/JScrollPane.java, | |
2727 | javax/swing/JSeparator.java, | |
2728 | javax/swing/JSlider.java, | |
2729 | javax/swing/JTabbedPane.java, | |
2730 | javax/swing/JTable.java, | |
2731 | javax/swing/JTextField.java, | |
2732 | javax/swing/JToolBar.java, | |
2733 | javax/swing/JToolTip.java, | |
2734 | javax/swing/JTree.java, | |
2735 | javax/swing/JViewport.java, | |
2736 | javax/swing/JWindow.java, | |
2737 | javax/swing/KeyStroke.java, | |
2738 | javax/swing/LookAndFeel.java, | |
2739 | javax/swing/SwingUtilities.java, | |
2740 | javax/swing/Timer.java, | |
2741 | javax/swing/ToolTipManager.java, | |
2742 | javax/swing/UIDefaults.java, | |
2743 | javax/swing/border/TitledBorder.java, | |
2744 | javax/swing/filechooser/FileSystemView.java, | |
2745 | javax/swing/plaf/basic/BasicButtonListener.java, | |
2746 | javax/swing/plaf/basic/BasicButtonUI.java, | |
2747 | javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java, | |
2748 | javax/swing/plaf/basic/BasicGraphicsUtils.java, | |
2749 | javax/swing/plaf/basic/BasicLabelUI.java, | |
2750 | javax/swing/plaf/basic/BasicMenuItemUI.java, | |
2751 | javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java, | |
2752 | javax/swing/plaf/basic/BasicRootPaneUI.java, | |
2753 | javax/swing/plaf/basic/BasicScrollBarUI.java, | |
2754 | javax/swing/plaf/basic/BasicScrollPaneUI.java, | |
2755 | javax/swing/plaf/basic/BasicSliderUI.java, | |
2756 | javax/swing/plaf/basic/BasicTabbedPaneUI.java, | |
2757 | javax/swing/plaf/basic/BasicToggleButtonUI.java, | |
2758 | javax/swing/table/JTableHeader.java, | |
2759 | javax/swing/text/AbstractDocument.java, | |
2760 | javax/swing/text/DefaultCaret.java, | |
2761 | javax/swing/text/StyledEditorKit.java, | |
2762 | javax/swing/tree/DefaultTreeCellEditor.java: | |
2763 | Cleaned up imports. | |
2764 | ||
4a93a226 MK |
2765 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
2766 | ||
2767 | * java/util/prefs/AbstractPreferences.java | |
2768 | (AbstractPreferences): Added parenthesis for clarity. | |
2769 | Closes classpath bug #7940. | |
2770 | ||
aaec686e TT |
2771 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
2772 | ||
2773 | * javax/naming/CompoundName.java (endsWith): Look at correct | |
2774 | element of source name. | |
2775 | ||
b1210ca2 MW |
2776 | 2004-05-05 Mark Wielaard <mark@klomp.org> |
2777 | ||
2778 | Reported by f.haeglsperger@gmx.de [classpath patch #2485] | |
2779 | * java/util/HashMap.java (rehash): Add entry at start of bucket. | |
2780 | ||
a54f498a TT |
2781 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
2782 | ||
2783 | * java/io/BufferedReader.java (skip): Removed unused | |
2784 | variable. | |
2785 | ||
e8430418 MK |
2786 | 2004-05-05 Michael Koch <konqueror@gmx.de> |
2787 | ||
2788 | * java/awt/FileDialog.java: Import java.io.Serializable explicitly. | |
2789 | ||
f32c742c DT |
2790 | 2004-05-05 Dalibor Topic <robilad@kaffe.org> |
2791 | ||
2792 | * java/text/AttributedString.java, | |
2793 | java/text/AttributedStringIterator.java, | |
2794 | java/text/Collator.java, | |
2795 | java/text/DecimalFormatSymbols.java, | |
2796 | java/text/NumberFormat.java, | |
2797 | java/text/RuleBasedCollator.java: | |
2798 | Cleaned up imports. | |
2799 | ||
d70bd7ff TT |
2800 | 2004-05-05 Tom Tromey <tromey@redhat.com> |
2801 | ||
2802 | * java/text/Format.java: Cleaned up imports. | |
2803 | * java/text/DecimalFormat.java: Cleaned up imports. | |
2804 | * java/security/SecureRandom.java: Cleaned up imports. | |
2805 | (SecureRandom): Removed unused variable. | |
2806 | * java/security/UnresolvedPermission.java: Cleaned up imports. | |
2807 | * java/util/Date.java (parse): Removed unused variable. | |
2808 | * java/util/ResourceBundle.java: Cleaned up imports. | |
2809 | (getBundle): Removed unused variable. | |
2810 | (tryBundle): Likewise. | |
2811 | * java/util/regex/Pattern.java (Pattern): Removed unused constructor. | |
2812 | ||
2225a42a GL |
2813 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
2814 | ||
2815 | * java/text/SimpleDateFormat.java: | |
2816 | (formatWithAttribute): New method. It implements | |
2817 | the formatting process with attributes. | |
2818 | (format): Use formatWithAttribute. | |
2819 | (formatToCharacterIterator): New method. Use | |
2820 | formatWithAttribute. | |
2821 | ||
1f646142 GL |
2822 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
2823 | ||
2824 | * java/text/MessageFormat.java: | |
2825 | (class Field): New class. | |
2826 | (formatToCharacterIterator): New method. | |
2827 | (format): Use formatInternal now. | |
2828 | (formatInternal): New method. String formatter should | |
2829 | be done here (with attributes). Attributes merging supported. | |
2830 | (parse): More documentation. | |
2831 | (getFormatsByArgumentIndex): New method. | |
2832 | (setFormatByArgumentIndex): New method. | |
2833 | (setFormatsByArgumentIndex): New method. | |
2834 | ||
8cf1edb3 GL |
2835 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> |
2836 | ||
2837 | * java/text/DecimalFormat.java | |
2838 | (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309. | |
2839 | (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS. | |
2840 | (parse): Fixed handling of exponentiation notation and grouping. | |
2841 | ||
2842 | 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org> | |
2843 | ||
2844 | * java/text/DecimalFormat.java | |
2845 | (scanFix): Build attribute array. Fixed error reporting. | |
2846 | (applyPatternWithSymbols): Store attributes for the prefix and | |
2847 | suffix. | |
2848 | (formatInternal): New method. Changed the way the string is | |
2849 | computed. Implemented attributes. Cleant up rounding in | |
2850 | exponential notation. | |
2851 | (format): Use formatInternal. | |
2852 | (formatToCharacterIterator): New method. | |
2853 | (exponentRound, negativePrefixRanges, positivePrefixRanges, | |
2854 | negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges, | |
2855 | positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs): | |
2856 | New fields. | |
2857 | ||
aff9d141 DT |
2858 | 2004-05-04 Dalibor Topic <robilad@kaffe.org> |
2859 | ||
2860 | * java/security/interfaces/DSAKeyPairGenerator.java, | |
2861 | java/security/interfaces/DSAPrivateKey.java, | |
2862 | java/security/interfaces/DSAPublicKey.java, | |
2863 | java/security/interfaces/RSAPrivateKey.java, | |
2864 | java/security/interfaces/RSAPublicKey.java: | |
2865 | Cleaned up imports. | |
2866 | ||
933522fb MK |
2867 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
2868 | ||
2869 | * java/nio/ByteBuffer.java, | |
2870 | java/nio/CharBuffer.java, | |
2871 | java/nio/DoubleBuffer.java, | |
2872 | java/nio/FloatBuffer.java, | |
2873 | java/nio/IntBuffer.java, | |
2874 | java/nio/LongBuffer.java, | |
2875 | java/nio/ShortBuffer.java: | |
2876 | (compareTo): Fixed bogus implementation in all buffer classes. | |
2877 | ||
27c2c3ec IP |
2878 | 2004-05-04 Ingo Proetel <proetel@aicas.com> |
2879 | ||
2880 | * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has | |
2881 | 32 bit pixels not 8 bit pixels. | |
2882 | (isCompatibleRaster): Added javadoc comment. | |
2883 | ||
2884 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
2885 | ||
2886 | * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset | |
2887 | scanline stride. | |
2888 | ||
2889 | 2004-05-04 Ingo Proetel <proetel@aicas.com> | |
2890 | ||
2891 | * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature. | |
2892 | (getColorModel): Return the actual color model. | |
2893 | (getRaster): Implemented. | |
2894 | (ColorRaster): New inner class. | |
2895 | * java/awt/SystemColor.java (createContext): Use ColorModel when creating | |
2896 | a PaintContext. | |
2897 | * java/awt/Color.java (<init>): Make exception more verbose. | |
2898 | (createContext): Use ColorModel when creating a PaintContext. | |
2899 | ||
a31d9d6c MK |
2900 | 2004-05-04 Michael Koch <konqueror@gmx.de> |
2901 | ||
2902 | * gnu/java/text/CharacterBreakIterator.java | |
2903 | (previous): Removed unused variable. | |
2904 | ||
065afdfa GL |
2905 | 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org> |
2906 | ||
2907 | * gnu/java/text/FormatBuffer.java, | |
2908 | gnu/java/text/AttributedFormatBuffer.java, | |
2909 | gnu/java/text/StringFormatBuffer.java: New classes to implement | |
2910 | attributed iterators in java.text. | |
2911 | * gnu/java/text/FormatCharacterIterator.java: Moved | |
2912 | from java/text as it is an internal class. | |
2913 | * java/text/FormatCharacterIterator.java: Removed. | |
2914 | * java/text/Format.java: | |
2915 | Import gnu.java.text.FormatCharacterIterator. | |
2916 | * Makefile.am (java_source_files): Added new files. | |
2917 | * Makefile.in: Regenerated. | |
2918 | ||
2919 | ||
af62fd12 MW |
2920 | 2004-05-04 Mark Wielaard <mark@klomp.org> |
2921 | ||
53c87e49 | 2922 | * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method. |
af62fd12 | 2923 | |
a3c44036 AT |
2924 | 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch> |
2925 | ||
2926 | * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra. | |
2927 | * Makefile.in: Rebuilt. | |
2928 | ||
007265b8 MW |
2929 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
2930 | ||
2931 | * gnu/java/security/der/DERReader.java: Call static methods staticly. | |
2932 | * java/awt/TextComponent.java (select): Use selectionEnd parameter. | |
2933 | * java/net/URL.java | |
2934 | (set(String, String, int, String, String, String, String, String)): | |
2935 | Assign this.file to path or path + "?" + query. | |
2936 | * java/util/Arrays.java: Call static methods staticly. | |
2937 | * java/util/zip/ZipEntry.java: Likewise. | |
2938 | * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign | |
2939 | dir to this.direction. | |
2940 | * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): | |
2941 | Assign static field only once. | |
2942 | (DefaultTableCellRenderer): Don't reassign noFocusBorder each time. | |
2943 | ||
a00d3b3c MW |
2944 | 2004-05-03 Mark Wielaard <mark@klomp.org> |
2945 | ||
2946 | * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed | |
2947 | unused variables hScrollbarHeight and vScrollbarWidth. | |
2948 | (preferredSize): Likewise. | |
2949 | * gnu/java/security/provider/DSAParameters.java (engineToString): | |
2950 | Removed unused call to System.getProperty("line.seperator"); | |
2951 | * java/security/Security.java (loadProviders): Return result. | |
2952 | ||
7b68f0bf TT |
2953 | 2004-05-03 Tom Tromey <tromey@redhat.com> |
2954 | ||
2955 | * java/net/URLStreamHandler.java (toExternalForm): Removed | |
2956 | unused variables. | |
2957 | unused constructor. | |
2958 | * java/math/BigDecimal.java (divide): Removed unused variable. | |
2959 | * java/lang/Throwable.java: Cleaned up imports. | |
2960 | * java/lang/ClassLoader.java: Cleaned up imports. | |
2961 | * java/io/FilePermission.java (implies): Removed unused | |
2962 | variable. | |
2963 | * java/awt/TextComponent.java: Removed unused import. | |
2964 | * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. | |
2965 | * gnu/java/util/DoubleEnumeration.java: Removed unused import. | |
2966 | * gnu/java/text/WordBreakIterator.java: Removed unused import. | |
2967 | * gnu/java/text/SentenceBreakIterator.java: Removed unused | |
2968 | import. | |
2969 | * gnu/java/text/LineBreakIterator.java: Removed unused import. | |
2970 | * gnu/java/text/CharacterBreakIterator.java: Removed | |
2971 | unused import. | |
2972 | * gnu/java/security/provider/DSAKeyPairGenerator.java: | |
2973 | Cleaned up imports. | |
2974 | * gnu/java/security/der/DERWriter.java: Cleaned up imports. | |
2975 | * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed | |
2976 | unused method. | |
2977 | * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. | |
2978 | * gnu/java/nio/FileLockImpl.java: Cleaned up imports. | |
2979 | * gnu/java/io/Base64InputStream.java: Cleaned up imports. | |
2980 | * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. | |
2981 | * gnu/classpath/ServiceFactory.java: Cleaned up imports. | |
2982 | (lookupProviders): Removed unused variable. | |
2983 | (loadNextServiceProvider): Likewise. | |
2984 | * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports. | |
2985 | ||
493b3c9c MK |
2986 | 2004-05-03 Michael Koch <konqueror@gmx.de> |
2987 | ||
2988 | Fixes PR libgcj/14695: | |
2989 | * java/net/NetworkInterface.java | |
2990 | (getByName): Return null when no interface was found. | |
2991 | ||
55ce9c52 RM |
2992 | 2004-04-30 Ranjit Mathew <rmathew@hotmail.com> |
2993 | Tom Tromey <tromey@redhat.com> | |
2994 | ||
2995 | * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use | |
2996 | additional option "-Wmissing-prototypes" for compiling C sources. | |
2997 | Print actual filename for pass/fail rather than $name.c. | |
2998 | * testsuite/libjava.jni/PR15133.java: New testcase file. | |
2999 | * testsuite/libjava.jni/PR15133.c: Likewise. | |
3000 | * testsuite/libjava.jni/PR15133.out: Likewise. | |
3001 | ||
2d99c042 RS |
3002 | 2004-04-30 Roger Sayle <roger@eyesopen.com> |
3003 | ||
3004 | * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin, | |
3005 | ceil and floor. | |
3006 | ||
c1fcbbc3 RM |
3007 | 2004-04-25 Ranjit Mathew <rmathew@hotmail.com> |
3008 | ||
3009 | * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly | |
3010 | limit the maximum heap size to avoid unnecessary thrashing. | |
3011 | ||
6f0b1fa5 JQ |
3012 | 2004-04-24 Jerry Quinn <jlquinn@optonline.net> |
3013 | ||
3014 | * java/text/CollationElementIterator.java (reset): Reset | |
3015 | lookahead variables. | |
3016 | ||
99a88816 MW |
3017 | 2004-04-23 Mark Wielaard <mark@klomp.org> |
3018 | ||
3019 | * jni/classpath/jcl.c: Changed C++ comments into C comments. | |
3020 | ||
b4e7ef8d DT |
3021 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
3022 | ||
3023 | * java/sql/DriverManager.java: | |
3024 | Cleaned up imports. | |
3025 | ||
e9d34968 MK |
3026 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
3027 | ||
3028 | * java/net/URL.java | |
3029 | (hashcode): Don't initialize with default value explicitely. | |
3030 | (getContent): Removed redundant "final" keyword. | |
3031 | (openStream): Likewise. | |
3032 | (getURLStreamHandler): Fixed coding style. | |
3033 | * java/net/URLConnection.java | |
3034 | (defaultAllowUserInteraction): Don't initialize with default value | |
3035 | explicitely. | |
3036 | (connected): Likewise. | |
3037 | (doOutput): Likewise. | |
3038 | (ifModifiedSince): Likewise. | |
3039 | (dateformats_initialized): Likewise. | |
3040 | (setURLStreamHander): Use StreamTokenizer where it belongs to. | |
3041 | ||
87939d70 MK |
3042 | 2004-04-23 Michael Koch <konqueror@gmx.de> |
3043 | ||
3044 | * gnu/java/nio/channels/FileChannelImpl.java | |
3045 | (SET, CUR): Unused, removed. | |
3046 | (read): Implement here directly. | |
3047 | (implRead): Removed. | |
3048 | (write): Implement here directly. | |
3049 | (implWrite): Removed. | |
3050 | ||
5d837a58 DT |
3051 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
3052 | ||
3053 | * javax/rmi/CORBA/PortableRemoteObjectDelegate.java, | |
3054 | javax/rmi/CORBA/Stub.java, | |
3055 | javax/rmi/CORBA/Util.java, | |
3056 | javax/rmi/CORBA/ValueHandler.java, | |
3057 | javax/rmi/CORBA/ValueHandler.java, | |
3058 | javax/rmi/PortableRemoteObject.java: | |
3059 | Cleaned up imports. | |
3060 | ||
ace7ed7c DT |
3061 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> |
3062 | ||
3063 | * java/util/jar/JarFile.java, | |
3064 | java/util/jar/JarInputStream.java, | |
3065 | java/util/jar/JarOutputStream.java, | |
3066 | java/util/jar/Manifest.java: | |
3067 | Cleaned up imports. | |
3068 | ||
3069 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
3070 | ||
3071 | * java/util/ArrayList.java, | |
3072 | java/util/Calendar.java, | |
3073 | java/util/Currency.java, | |
3074 | java/util/HashMap.java, | |
3075 | java/util/HashSet.java, | |
3076 | java/util/Hashtable.java, | |
3077 | java/util/LinkedList.java, | |
3078 | java/util/Properties.java, | |
3079 | java/util/PropertyPermission.java, | |
3080 | java/util/TimeZone.java, | |
3081 | java/util/TreeMap.java, | |
3082 | java/util/TreeSet.java, | |
3083 | java/util/Vector.java, | |
3084 | java/util/WeakHashMap.java: | |
3085 | Cleaned up imports. | |
3086 | ||
3087 | 2004-04-23 Dalibor Topic <robilad@kaffe.org> | |
3088 | ||
3089 | * java/util/logging/FileHandler.java, | |
3090 | java/util/logging/Formatter.java, | |
3091 | java/util/logging/Handler.java, | |
3092 | java/util/logging/Logger.java, | |
3093 | java/util/logging/SimpleFormatter.java, | |
3094 | java/util/logging/XMLFormatter.java: | |
3095 | Cleaned up imports. | |
3096 | ||
ae522139 MW |
3097 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
3098 | ||
3099 | * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall | |
3100 | -Wno-long-long flags variable. | |
3101 | (gtk_c_files): Use PEDANTIC_CFLAGS. | |
3102 | * Makefile.in: Regenerated. | |
3103 | ||
838a4849 MK |
3104 | 2004-04-22 Mark Wielaard <mark@klomp.org> |
3105 | ||
3106 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
3107 | Changed C++ comments into C comments. | |
3108 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: | |
3109 | Likewise. | |
3110 | ||
3111 | 2004-04-22 Michael Koch <konqueror@gmx.de> | |
3112 | ||
3113 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: | |
3114 | Merged copyright year with GNU classpath. | |
3115 | ||
fe2235d1 DT |
3116 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
3117 | ||
3118 | * javax/security/auth/x500/X500Principal.java: | |
3119 | Cleaned up imports. | |
3120 | ||
b7db3d0a DT |
3121 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
3122 | ||
3123 | * javax/swing/JSlider.java: | |
3124 | Fixed HTML tags in comments. | |
3125 | ||
32bfc773 DT |
3126 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
3127 | ||
3128 | * javax/accessibility/AccessibleText.java: | |
3129 | Cleaned up imports. | |
3130 | ||
e930d01a MK |
3131 | 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl> |
3132 | ||
3133 | * java/net/URLStreamHandler.java | |
3134 | (parseURL): Convert the file path to using '/' instead of native | |
3135 | file separator. | |
3136 | ||
3137 | 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org> | |
3138 | ||
3139 | * java/net/URL.java | |
3140 | (userInfo): New field. | |
3141 | (URL): Set authority to the right value. | |
3142 | (setURL): Fixed authority and file initialization. | |
3143 | * java/net/URLStreamHandler.java | |
3144 | (parseURL): Take care of the query tag. Build authority. | |
3145 | (toExternalForm): Fixed URL building using authority. | |
3146 | ||
5d79367d MK |
3147 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
3148 | ||
3149 | * java/net/Socket.java | |
3150 | (impl): Made package-private. | |
3151 | * java/net/ServerSocket.java | |
3152 | (implAccept): Access Socket.impl field directly. | |
3153 | ||
c0dce235 DT |
3154 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> |
3155 | ||
3156 | * java/util/prefs/Preferences.java, | |
3157 | java/util/prefs/InvalidPreferencesFormatException.java, | |
3158 | java/util/prefs/BackingStoreException.java, | |
3159 | java/util/prefs/AbstractPreferences.java: | |
3160 | Cleaned up imports. | |
3161 | ||
3162 | 2004-04-22 Dalibor Topic <robilad@kaffe.org> | |
3163 | ||
3164 | * java/util/regex/Matcher.java, | |
3165 | java/util/regex/Pattern.java: | |
3166 | Cleaned up imports. | |
3167 | ||
5c09d725 MK |
3168 | 2004-04-22 Michael Koch <konqueror@gmx.de> |
3169 | ||
3170 | * java/nio/charset/IllegalCharsetNameException.java | |
3171 | (charsetName): Made private. | |
3172 | (IllegalCharsetNameException): Added @param tag to javadoc. | |
3173 | (getCharsetName): Added @return tag to javadoc. | |
3174 | * java/nio/charset/MalformedInputException.java | |
3175 | (MalformedInputException): Added @param tag to javadoc. | |
3176 | (getInputLength): Revised method description, added @return tag. | |
3177 | (getMessage): Added @return tag. | |
3178 | ||
83ef3f2b JQ |
3179 | 2004-04-22 Jerry Quinn <jlquinn@optonline.net> |
3180 | ||
3181 | * java/awt/Font.java (deriveFont): Implement missing variants. | |
3182 | * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement | |
3183 | missing variants. | |
3184 | ||
746ecc78 BM |
3185 | 2004-04-21 Bryce McKinlay <mckinlay@redhat.com> |
3186 | ||
3187 | * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method. | |
3188 | Set method->index values for interface methods to their itable index. | |
3189 | (initializeClass): Call _Jv_LayoutInterfaceMethods. | |
3190 | ||
86a80fc3 MK |
3191 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
3192 | ||
3193 | * java/nio/DirectByteBufferImpl.java | |
3194 | (shiftDown): Made static, give address as argument and | |
3195 | provide a convenience method that overwrites shiftDown in | |
3196 | ByteBufferImpl and calls the native shiftDown. | |
3197 | * java/nio/MappedByteBufferImpl.java | |
3198 | (): Use optimized method in DirectByteBufferImpl. | |
3199 | * java/nio/natDirectByteBufferImpl.cc | |
3200 | (shiftDown): Changed method signature. Removed usage of array_offset. | |
3201 | ||
6e90ed19 MK |
3202 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
3203 | ||
3204 | * gnu/java/net/natPlainSocketImplPosix.cc | |
3205 | (SocketInputStream::read): Make sure returned data is a byte value. | |
3206 | ||
96d22b12 MK |
3207 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
3208 | ||
3209 | * gnu/classpath/ServiceFactory.java, | |
3210 | gnu/classpath/ServiceProviderLoadingAction.java, | |
3211 | javax/imageio/ImageReader.java, | |
3212 | javax/imageio/ImageTranscoder.java, | |
3213 | javax/imageio/ImageWriter.java, | |
3214 | javax/imageio/package.html, | |
3215 | javax/imageio/spi/IIOServiceProvider.java, | |
3216 | javax/imageio/spi/ImageInputStreamSpi.java, | |
3217 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
3218 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
3219 | javax/imageio/spi/ImageTranscoderSpi.java, | |
3220 | javax/imageio/spi/RegisterableService.java, | |
3221 | javax/imageio/spi/ServiceRegistry.java, | |
3222 | javax/imageio/spi/package.html, | |
3223 | javax/imageio/stream/IIOByteBuffer.java, | |
3224 | javax/imageio/stream/ImageInputStream.java, | |
3225 | javax/imageio/stream/ImageOutputStream.java, | |
3226 | javax/imageio/stream/package.html: | |
3227 | New files. | |
3228 | * Makefile.am | |
3229 | (ordinary_java_source_files): Added | |
3230 | gnu/classpath/ServiceFactory.java and | |
3231 | gnu/classpath/ServiceProviderLoadingAction.java. | |
3232 | (javax_source_files): Added | |
3233 | javax/imageio/ImageReader.java, | |
3234 | javax/imageio/ImageTranscoder.java, | |
3235 | javax/imageio/ImageWriter.java, | |
3236 | javax/imageio/spi/IIOServiceProvider.java, | |
3237 | javax/imageio/spi/ImageInputStreamSpi.java, | |
3238 | javax/imageio/spi/ImageOutputStreamSpi.java, | |
3239 | javax/imageio/spi/ImageReaderWriterSpi.java, | |
3240 | javax/imageio/spi/ImageTranscoderSpi.java, | |
3241 | javax/imageio/spi/RegisterableService.java, | |
3242 | javax/imageio/spi/ServiceRegistry.java, | |
3243 | javax/imageio/stream/IIOByteBuffer.java, | |
3244 | javax/imageio/stream/ImageInputStream.java and | |
3245 | javax/imageio/stream/ImageOutputStream.java. | |
3246 | * Makefile.in: Regenerated. | |
3247 | ||
ca17d211 MK |
3248 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
3249 | ||
3250 | * java/util/Properties.java | |
3251 | (load): Fix wrongly merged fix. | |
3252 | ||
60e957d0 MW |
3253 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
3254 | ||
3255 | * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly | |
3256 | malloc and free buf. | |
3257 | ||
27dd18cf DT |
3258 | 2004-04-21 Dalibor Topic <robilad@kaffe.org> |
3259 | ||
3260 | * javax/naming/AuthenticationException.java, | |
3261 | javax/naming/AuthenticationNotSupportedException.java, | |
3262 | javax/naming/CannotProceedException.java, | |
3263 | javax/naming/CommunicationException.java, | |
3264 | javax/naming/CompoundName.java, | |
3265 | javax/naming/ConfigurationException.java, | |
3266 | javax/naming/ContextNotEmptyException.java, | |
3267 | javax/naming/InitialContext.java, | |
3268 | javax/naming/InsufficientResourcesException.java, | |
3269 | javax/naming/InterruptedNamingException.java, | |
3270 | javax/naming/LimitExceededException.java, | |
3271 | javax/naming/LinkException.java, | |
3272 | javax/naming/LinkLoopException.java, | |
3273 | javax/naming/LinkRef.java, | |
3274 | javax/naming/MalformedLinkException.java, | |
3275 | javax/naming/Name.java, | |
3276 | javax/naming/NameAlreadyBoundException.java, | |
3277 | javax/naming/NameNotFoundException.java, | |
3278 | javax/naming/NamingSecurityException.java, | |
3279 | javax/naming/NoInitialContextException.java, | |
3280 | javax/naming/NoPermissionException.java, | |
3281 | javax/naming/NotContextException.java, | |
3282 | javax/naming/PartialResultException.java, | |
3283 | javax/naming/ReferralException.java, | |
3284 | javax/naming/ServiceUnavailableException.java, | |
3285 | javax/naming/SizeLimitExceededException.java, | |
3286 | javax/naming/TimeLimitExceededException.java, | |
3287 | javax/naming/directory/Attribute.java, | |
3288 | javax/naming/directory/Attributes.java, | |
3289 | javax/naming/directory/SearchResult.java, | |
3290 | javax/naming/event/NamingExceptionEvent.java, | |
3291 | javax/naming/spi/ResolveResult.java: | |
3292 | Cleaned up imports. | |
3293 | ||
2635995a MW |
3294 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
3295 | ||
3296 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: | |
3297 | Changed C++ comments into C comments. Removed commented out code. | |
3298 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: | |
3299 | Likewise. | |
3300 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: | |
3301 | Likewise. | |
3302 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: | |
3303 | Likewise. | |
3304 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: | |
3305 | Likewise. | |
3306 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: | |
3307 | Likewise. | |
3308 | * native/jni/gtk-peer/gthread-jni.c: | |
3309 | Likewise. | |
3310 | ||
1c3d6bb2 MW |
3311 | 2004-04-21 Mark Wielaard <mark@klomp.org> |
3312 | ||
3313 | * javax/awt/JFrame.java: Implement WindowConstants. Remove final | |
3314 | static fields defined in interface. | |
3315 | * javax/awt/JDialog.java: Likewise. | |
3316 | (JDialog): Make constructors public. | |
3317 | (getDefaultCloseOperation): Make public. | |
3318 | (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set. | |
3319 | (setDefaultCloseOperation): Make public. Check argument. Add API doc. | |
3320 | * javax/swing/JViewport.java (JViewport): Make constructor public. | |
3321 | ||
387fa012 MK |
3322 | 2004-04-21 Michael Koch <konqueror@gmx.de> |
3323 | ||
3324 | * java/util/Map.java | |
3325 | (Entry): Removed redundant "static" modifier. | |
3326 | * java/text/AttributedCharacterIterator.java: | |
3327 | Updated copyright year. | |
3328 | ||
bf9f06ae MK |
3329 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3330 | ||
3331 | * javax/naming/directory/SearchControls.java: | |
3332 | Don't explicitely extend java.lang.Object. | |
3333 | * javax/naming/spi/DirStateFactory.java: | |
3334 | Merged copyright year with GNU classpath. | |
3335 | ||
8a6c1d29 MK |
3336 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3337 | ||
3338 | * java/nio/channels/Channels.java: | |
3339 | Merged coding style with GNU classpath. | |
3340 | ||
f5874634 MK |
3341 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3342 | ||
3343 | * java/net/ServerSocket.java | |
3344 | Merged coding style from GNU classpath. | |
3345 | ||
90cb5151 MK |
3346 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3347 | ||
3348 | * java/io/BufferedWriter.java: | |
3349 | Reordered variables to be at top of the class. | |
3350 | (localFlush): Removed redundant final keyword. | |
3351 | ||
5ede96a4 IP |
3352 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
3353 | ||
3354 | * java/awt/event/MouseEvent.java (<init>): fixed field assignment | |
3355 | ||
391d8ef5 MK |
3356 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
3357 | ||
3358 | * java/text/DecimalFormat.java (scanFix): Removed suffix check | |
3359 | for percent and permill check. | |
3360 | ||
3361 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
3362 | ||
3363 | * java/text/FieldPosition.java | |
3364 | (FieldPosition) Constructor now behaves as it should according | |
3365 | to the java documentation. | |
3366 | ||
3367 | 2004-04-20 Mark Wielaard <mark@klomp.org> | |
3368 | ||
3369 | * java/util/Properties.java: Use the word umlaut, not ä in api | |
3370 | documentation. | |
3371 | ||
92e1fe67 MK |
3372 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3373 | ||
3374 | * java/nio/Buffer.java, | |
3375 | java/nio/channels/AlreadyConnectedException.java, | |
3376 | java/nio/channels/AsynchronousCloseException.java, | |
3377 | java/nio/channels/ByteChannel.java, | |
3378 | java/nio/channels/CancelledKeyException.java, | |
3379 | java/nio/channels/Channel.java, | |
3380 | java/nio/channels/Channels.java, | |
3381 | java/nio/channels/ClosedByInterruptException.java, | |
3382 | java/nio/channels/ClosedChannelException.java, | |
3383 | java/nio/channels/ClosedSelectorException.java, | |
3384 | java/nio/channels/ConnectionPendingException.java, | |
3385 | java/nio/channels/DatagramChannel.java, | |
3386 | java/nio/channels/FileChannel.java, | |
3387 | java/nio/channels/FileLock.java, | |
3388 | java/nio/channels/FileLockInterruptionException.java, | |
3389 | java/nio/channels/GatheringByteChannel.java, | |
3390 | java/nio/channels/IllegalBlockingModeException.java, | |
3391 | java/nio/channels/IllegalSelectorException.java, | |
3392 | java/nio/channels/InterruptibleChannel.java, | |
3393 | java/nio/channels/NoConnectionPendingException.java, | |
3394 | java/nio/channels/NonReadableChannelException.java, | |
3395 | java/nio/channels/NonWritableChannelException.java, | |
3396 | java/nio/channels/NotYetBoundException.java, | |
3397 | java/nio/channels/NotYetConnectedException.java, | |
3398 | java/nio/channels/OverlappingFileLockException.java, | |
3399 | java/nio/channels/Pipe.java, | |
3400 | java/nio/channels/ReadableByteChannel.java, | |
3401 | java/nio/channels/ScatteringByteChannel.java, | |
3402 | java/nio/channels/SelectableChannel.java, | |
3403 | java/nio/channels/SelectionKey.java, | |
3404 | java/nio/channels/Selector.java, | |
3405 | java/nio/channels/ServerSocketChannel.java, | |
3406 | java/nio/channels/SocketChannel.java, | |
3407 | java/nio/channels/UnresolvedAddressException.java, | |
3408 | java/nio/channels/UnsupportedAddressTypeException.java, | |
3409 | java/nio/channels/WritableByteChannel.java, | |
3410 | java/nio/channels/spi/AbstractInterruptibleChannel.java, | |
3411 | java/nio/channels/spi/AbstractSelectableChannel.java, | |
3412 | java/nio/channels/spi/AbstractSelectionKey.java, | |
3413 | java/nio/channels/spi/AbstractSelector.java, | |
3414 | java/nio/channels/spi/SelectorProvider.java, | |
3415 | java/nio/charset/spi/CharsetProvider.java: | |
3416 | Fixed javadocs and jalopied all over java.nio. | |
3417 | ||
08c5d757 MK |
3418 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3419 | ||
3420 | * java/nio/ByteBufferImpl.java, | |
3421 | java/nio/CharBufferImpl.java, | |
3422 | java/nio/DirectByteBufferImpl.java, | |
3423 | java/nio/DoubleBufferImpl.java, | |
3424 | java/nio/DoubleViewBufferImpl.java, | |
3425 | java/nio/FloatBufferImpl.java, | |
3426 | java/nio/FloatViewBufferImpl.java, | |
3427 | java/nio/IntBufferImpl.java, | |
3428 | java/nio/IntViewBufferImpl.java, | |
3429 | java/nio/LongBufferImpl.java, | |
3430 | java/nio/LongViewBufferImpl.java, | |
3431 | java/nio/MappedByteBufferImpl.java, | |
3432 | java/nio/ShortBufferImpl.java, | |
3433 | java/nio/ShortViewBufferImpl.java: | |
3434 | Made sure all classes are final and removed final keyword from all | |
3435 | methods. | |
3436 | ||
a17c9f2e MK |
3437 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3438 | ||
3439 | * java/rmi/MarshalledObject.java, | |
3440 | java/rmi/Naming.java, | |
3441 | java/rmi/RemoteException.java, | |
3442 | java/rmi/activation/ActivationException.java, | |
3443 | java/rmi/server/ServerCloneException.java, | |
3444 | java/security/AccessController.java, | |
3445 | java/security/AlgorithmParameterGenerator.java, | |
3446 | java/security/AlgorithmParameters.java, | |
3447 | java/security/CodeSource.java, | |
3448 | java/security/Identity.java, | |
3449 | java/security/IdentityScope.java, | |
3450 | java/security/KeyPairGenerator.java, | |
3451 | java/security/KeyStore.java, | |
3452 | java/security/Security.java, | |
3453 | java/security/Signature.java, | |
3454 | java/security/SignatureSpi.java, | |
3455 | java/security/SignedObject.java, | |
3456 | java/security/spec/DSAParameterSpec.java, | |
3457 | java/security/spec/DSAPrivateKeySpec.java, | |
3458 | java/security/spec/DSAPublicKeySpec.java, | |
3459 | java/sql/Array.java, | |
3460 | java/sql/DatabaseMetaData.java, | |
3461 | java/sql/ResultSet.java, | |
3462 | java/text/ChoiceFormat.java, | |
3463 | java/text/CollationElementIterator.java, | |
3464 | java/text/CollationKey.java, | |
3465 | java/text/Collator.java, | |
3466 | java/text/DateFormat.java, | |
3467 | java/text/DateFormatSymbols.java, | |
3468 | java/text/DecimalFormatSymbols.java, | |
3469 | java/text/Format.java, | |
3470 | java/text/ParsePosition.java, | |
3471 | java/text/RuleBasedCollator.java, | |
3472 | java/text/SimpleDateFormat.java, | |
3473 | java/text/StringCharacterIterator.java, | |
3474 | java/util/Collections.java, | |
3475 | java/util/PropertyResourceBundle.java, | |
3476 | java/util/ResourceBundle.java, | |
3477 | java/util/StringTokenizer.java, | |
3478 | java/util/jar/Attributes.java, | |
3479 | java/util/logging/ConsoleHandler.java, | |
3480 | java/util/logging/LogManager.java, | |
3481 | java/util/logging/MemoryHandler.java, | |
3482 | java/util/logging/SocketHandler.java, | |
3483 | javax/naming/NamingException.java: | |
3484 | Fixed javadoc, coding style and argument names all over. | |
3485 | ||
0fc920c8 MK |
3486 | 2004-04-20 Jeroen Frijters <jeroen@frijters.net> |
3487 | ||
3488 | * java/io/FileDescriptor.java: (FileDescriptor) Added public | |
3489 | constructor. (valid) Added null check. | |
3490 | ||
3491 | 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org> | |
3492 | ||
3493 | Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com> | |
3494 | * java/io/FileOutputStream.java | |
3495 | (FileOutputStream) Reorganized constructors. Constructors now | |
3496 | check whether the given path is directory. | |
3497 | ||
f6d49f66 MK |
3498 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3499 | ||
3500 | * java/net/Authenticator.java, | |
3501 | java/net/BindException.java, | |
3502 | java/net/ConnectException.java, | |
3503 | java/net/ContentHandler.java, | |
3504 | java/net/ContentHandlerFactory.java, | |
3505 | java/net/DatagramPacket.java, | |
3506 | java/net/DatagramSocket.java, | |
3507 | java/net/DatagramSocketImpl.java, | |
3508 | java/net/DatagramSocketImplFactory.java, | |
3509 | java/net/FileNameMap.java, | |
3510 | java/net/HttpURLConnection.java, | |
3511 | java/net/Inet4Address.java, | |
3512 | java/net/Inet6Address.java, | |
3513 | java/net/InetAddress.java, | |
3514 | java/net/InetSocketAddress.java, | |
3515 | java/net/JarURLConnection.java, | |
3516 | java/net/MalformedURLException.java, | |
3517 | java/net/MulticastSocket.java, | |
3518 | java/net/NetPermission.java, | |
3519 | java/net/NetworkInterface.java, | |
3520 | java/net/NoRouteToHostException.java, | |
3521 | java/net/PasswordAuthentication.java, | |
3522 | java/net/PortUnreachableException.java, | |
3523 | java/net/ProtocolException.java, | |
3524 | java/net/ServerSocket.java, | |
3525 | java/net/Socket.java, | |
3526 | java/net/SocketAddress.java, | |
3527 | java/net/SocketException.java, | |
3528 | java/net/SocketImpl.java, | |
3529 | java/net/SocketImplFactory.java, | |
3530 | java/net/SocketOptions.java, | |
3531 | java/net/SocketPermission.java, | |
3532 | java/net/SocketTimeoutException.java, | |
3533 | java/net/URI.java, | |
3534 | java/net/URISyntaxException.java, | |
3535 | java/net/URL.java, | |
3536 | java/net/URLClassLoader.java, | |
3537 | java/net/URLConnection.java, | |
3538 | java/net/URLDecoder.java, | |
3539 | java/net/URLEncoder.java, | |
3540 | java/net/URLStreamHandler.java, | |
3541 | java/net/URLStreamHandlerFactory.java, | |
3542 | java/net/UnknownHostException.java, | |
3543 | java/net/UnknownServiceException.java: | |
3544 | Fixed javadocs, coding style and argument names all over. | |
3545 | ||
cf6f7d55 MK |
3546 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3547 | ||
3548 | * java/lang/Byte.java, | |
3549 | java/lang/CharSequence.java, | |
3550 | java/lang/ClassLoader.java, | |
3551 | java/lang/Compiler.java, | |
3552 | java/lang/Double.java, | |
3553 | java/lang/Float.java, | |
3554 | java/lang/Integer.java, | |
3555 | java/lang/Long.java, | |
3556 | java/lang/Math.java, | |
3557 | java/lang/Number.java, | |
3558 | java/lang/Package.java, | |
3559 | java/lang/Runtime.java, | |
3560 | java/lang/RuntimePermission.java, | |
3561 | java/lang/SecurityManager.java, | |
3562 | java/lang/Short.java, | |
3563 | java/lang/StringBuffer.java, | |
3564 | java/lang/System.java, | |
3565 | java/lang/ThreadGroup.java, | |
3566 | java/lang/Throwable.java, | |
3567 | java/lang/reflect/InvocationHandler.java, | |
3568 | java/lang/reflect/Proxy.java: | |
3569 | Fixed javadocs, coding style and argument names all over. | |
3570 | ||
9f714d5e MK |
3571 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3572 | ||
3573 | * java/io/BufferedWriter.java, | |
3574 | java/io/ByteArrayInputStream.java, | |
3575 | java/io/CharArrayWriter.java, | |
3576 | java/io/DataInput.java, | |
3577 | java/io/DataInputStream.java, | |
3578 | java/io/File.java, | |
3579 | java/io/FilterInputStream.java, | |
3580 | java/io/InputStream.java, | |
3581 | java/io/InputStreamReader.java, | |
3582 | java/io/ObjectInputStream.java, | |
3583 | java/io/ObjectStreamClass.java, | |
3584 | java/io/PipedInputStream.java, | |
3585 | java/io/PipedReader.java, | |
3586 | java/io/PushbackInputStream.java, | |
3587 | java/io/PushbackReader.java, | |
3588 | java/io/RandomAccessFile.java, | |
3589 | java/io/SerializablePermission.java, | |
3590 | java/io/StreamTokenizer.java, | |
3591 | java/io/StringWriter.java, | |
3592 | java/io/WriteAbortedException.java, | |
3593 | java/io/Writer.java: | |
3594 | Fixed javadocs all over, rename arguments to match javadocs, | |
3595 | fixed coding style. | |
3596 | ||
23f0ecff MK |
3597 | 2004-04-20 Ingo Proetel <proetel@aicas.com> |
3598 | ||
3599 | * java/awt/FontMetrics.java: | |
3600 | (charsWidth): fixed accumulation of total_width | |
3601 | (getWidth): simple default implementation | |
3602 | * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate | |
3603 | in Rectangle constructor. | |
3604 | * java/awt/image/Raster.java (toString): Added method. | |
3605 | * java/awt/image/SampleModel.java (<init>): Added error cause | |
3606 | information to thrown exception. | |
3607 | * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements): | |
3608 | New method. | |
3609 | (setDataElements): New method. | |
3610 | (setPixels): New method. | |
3611 | (toString): New method. | |
3612 | ||
3613 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> | |
3614 | ||
3615 | * java/awt/image/ComponentColorModel.java | |
3616 | (createCompatibleSampleModel): Return PixelInterleavedSampleModel | |
3617 | for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the | |
3618 | Mauve tests on this method. Improved documentation. | |
3619 | ||
2c4d54e6 MK |
3620 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3621 | ||
3622 | * javax/swing/JLayeredPane.java, | |
3623 | javax/swing/plaf/BorderUIResource.java, | |
3624 | javax/swing/plaf/ComponentUI.java, | |
3625 | javax/swing/undo/CompoundEdit.java, | |
3626 | javax/swing/undo/StateEdit.java: | |
3627 | Fixed HTML tags in javadocs all over. | |
3628 | ||
5589f3e5 MK |
3629 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3630 | ||
3631 | * javax/print/attribute/EnumSyntax.java | |
3632 | (getOffset): Made protected. | |
3633 | * javax/print/attribute/HashAttributeSet.java | |
3634 | (HashAttributeSet): Likewise. | |
3635 | * javax/print/attribute/ResolutionSyntax.java | |
3636 | (getFeedResolution): Fixed typo in exception name. | |
3637 | (getCrossFeedResolution): Likewise. | |
3638 | * javax/print/attribute/SetOfIntegerSyntax.java | |
3639 | (SetOfIntegerSyntax): Fixed HTML entities in javadoc. | |
3640 | * javax/print/attribute/TextSyntax.java | |
3641 | (TextSyntax): Handle locale correctly. | |
3642 | (hashCode): Calc better hashcode value. | |
3643 | (equals): Fixed @return tag. | |
3644 | (toString): New method. | |
3645 | ||
0150fc22 MK |
3646 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3647 | ||
3648 | * gnu/java/nio/FileLockImpl.java | |
3649 | (static): Removed, not needed anymore. | |
3650 | * gnu/java/nio/channels/FileChannelImpl.java | |
3651 | (FileChannelImpl): Made final. | |
3652 | (mode): Made private. | |
3653 | (READ, WRITE, APPEND): Made public. | |
3654 | (EXCL, SYNC, DSYNC): Likewise. | |
3655 | (static): Load native JNI library, when needed. | |
3656 | (length): Unused, removed. | |
3657 | (available): Made public. | |
3658 | (implPosition): Throws IOException. | |
3659 | (seek): Likewise. | |
3660 | (implTruncate): Likewise. | |
3661 | (unlock): Likewise. | |
3662 | (lock): Likewise. | |
3663 | ||
7431acbe MK |
3664 | 2004-04-20 Michael Koch <konqueror@gmx.de> |
3665 | ||
3666 | * java/awt/AWTPermission.java, | |
3667 | java/awt/Component.java, | |
3668 | java/awt/ComponentOrientation.java,, | |
3669 | java/awt/Dialog.java, | |
3670 | java/awt/FontMetrics.java, | |
3671 | java/awt/Graphics.java, | |
3672 | java/awt/datatransfer/DataFlavor.java, | |
3673 | java/beans/Introspector.java, | |
3674 | java/beans/PropertyEditor.java, | |
3675 | java/beans/PropertyEditorManager.java, | |
3676 | java/beans/beancontext/BeanContextServiceProvider.java: | |
3677 | Fixed HTML tags in javadocs all over. | |
3678 | ||
7f6f517f MW |
3679 | 2004-04-20 Mark Wielaard <mark@klomp.org> |
3680 | ||
3681 | * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when | |
3682 | MissingResourceException is thrown. | |
3683 | * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return | |
3684 | null when a MissingResourceException is thrown. Should never happen. | |
3685 | ||
8ecb0346 MK |
3686 | 2004-04-20 Sascha Brawer <brawer@dandelis.ch> |
3687 | ||
3688 | * java/awt/image/DataBufferShort.java, | |
3689 | java/awt/image/DataBufferFloat.java, | |
3690 | java/awt/image/DataBufferDouble.java, | |
3691 | java/awt/image/PixelInterleavedSampleModel.java: New files. | |
3692 | * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData, | |
3693 | getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE. | |
3694 | ||
3695 | 2004-04-20 Michael Koch <konqueror@gmx.de> | |
3696 | ||
3697 | * Makefile.am (java_source_files): Added | |
3698 | java/awt/image/DataBufferDouble.java, | |
3699 | java/awt/image/DataBufferFloat.java, | |
3700 | java/awt/image/DataBufferShort.java and | |
3701 | java/awt/image/PixelInterleavedSampleModel.java. | |
3702 | * Makefile.in: Regenerated. | |
3703 | ||
f5310108 BM |
3704 | 2004-04-19 Bryce McKinlay <mckinlay@redhat.com> |
3705 | ||
3706 | * gcj/cni.h (JvAllocObject): Remove these obsolete, | |
3707 | undocumented CNI calls. | |
3708 | * include/java-interp.h (_Jv_InterpClass): No longer | |
3709 | extends java.lang.Class. | |
3710 | * java/lang/Class.h (Class): Add new field `aux_info'. | |
3711 | * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking. | |
3712 | * defineclass.cc: Remove Class<->_Jv_InterpClass casts. | |
3713 | Use Class->aux_info instead. | |
3714 | * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject. | |
3715 | * resolve.cc: Remove Class<->_Jv_InterpClass casts. | |
3716 | Use Class->aux_info instead. | |
3717 | * java/io/natObjectInputStream.cc (allocateObject): Use | |
3718 | _Jv_AllocObject. | |
3719 | * java/lang/natClass.cc (newInstance): Likewise. | |
3720 | * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise. | |
3721 | * java/lang/natObject.cc (clone): Likewise. | |
3722 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. | |
3723 | * java/lang/natVMClassLoader.cc (defineClass): Don't use | |
3724 | JvAllocObject. Allocate klass->aux_info here for interpreted | |
3725 | class. | |
3726 | ||
afd7c0dc MW |
3727 | 2004-04-17 Mark Wielaard <mark@klomp.org> |
3728 | ||
3729 | * javax/swing/JToggleButton.java (ToggleButtonModel): | |
3730 | Make public static inner class. | |
3731 | * javax/swing/JTabbedPane.java (setComponentAt): | |
3732 | Call Page.setComponent(). | |
3733 | (SCROLL_TAB_LAYOUT): Make public, value is 1. | |
3734 | (WRAP_TAB_LAYOUT): Make public, value is 0. | |
3735 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton): | |
3736 | Make private static inner class. | |
3737 | ||
bf7ad402 BM |
3738 | 2004-04-16 Bryce McKinlay <mckinlay@redhat.com> |
3739 | ||
3740 | * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject | |
3741 | arguments to match new signature. Remove FIXME comments. | |
3742 | ||
31e632d3 GH |
3743 | 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com> |
3744 | ||
3745 | * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals): | |
3746 | Remove method. | |
3747 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove | |
3748 | unused code. | |
3749 | ||
3750 | 2004-04-02 Olga Rodimina <rodimina@redhat.com> | |
3751 | ||
3752 | * Makefile.am: Added new file. | |
3753 | * Makefile.in: Regenerate. | |
3754 | * javax/swing/ImageIcon.java: | |
3755 | (ImageIcon(file)): set description of the icon | |
3756 | to the file name | |
3757 | * javax/swing/JCheckBoxMenuItem.java: | |
3758 | Mostly Implemented. Work in progress. | |
3759 | * javax/swing/JRadioButtonMenuItem.java: | |
3760 | Reimplement constructors to use JToggleButtonModel. | |
3761 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
3762 | (getCheckBoxMenuItemIcon): return check box | |
3763 | icon. | |
3764 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3765 | paint menu item selected only when it is armed and | |
3766 | pressed. | |
3767 | ||
3768 | 2004-04-02 David Jee <djee@redhat.com> | |
3769 | ||
3770 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
3771 | (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer. | |
3772 | * java/awt/Component.java | |
3773 | (add): Set the parent of the popup as this component. | |
3774 | * java/awt/PopupMenu.java | |
3775 | (addNotify): Create popup menu when peer is null. | |
3776 | (show): Call addNotify() if peer is null. | |
3777 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | |
3778 | (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button | |
3779 | argument for gtk_menu_popup() as zero. This causes the popup menu to | |
3780 | respond to any mouse button. | |
3781 | ||
3782 | 2004-03-31 Olga Rodimina <rodimina@redhat.com> | |
3783 | ||
3784 | * Makefile.am: Added new file. | |
3785 | * Makefile.in: Regenerate. | |
3786 | * javax/swing/JRadioButtonMenuItem.java: | |
3787 | Implemented. | |
3788 | * javax/swing/plaf/basic/BasicIconFactory.java: | |
3789 | (getRadioButtonMenuItemIcon): Return | |
3790 | radio button icon. | |
3791 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3792 | (getPreferredSize): Add size of checkIcon if it | |
3793 | exists. | |
3794 | (installDefaults): Don't initialize checkIcon. | |
3795 | It's value will be set in subclasses. | |
3796 | (uninstallDefaults): remove uninstallation of | |
3797 | checkIcon. | |
3798 | (paint): Moved code to paintMenuItem(). | |
3799 | (paintMenuItem): Implemented. | |
3800 | * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: | |
3801 | UI delegate for JRadioButtonMenuItem. | |
3802 | ||
3803 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
3804 | ||
3805 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3806 | Corrected position of the accelerator. | |
3807 | ||
3808 | 2004-03-29 Olga Rodimina <rodimina@redhat.com> | |
3809 | ||
3810 | * Makefile.am: Added new file. | |
3811 | * Makefile.in: Regenerate. | |
3812 | * javax/swing/JMenuItem.java: Partly | |
3813 | implemented. Work in progress | |
3814 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
3815 | Changed default value of acceleratorDelimiter. | |
3816 | * javax/swing/plaf/basic/BasicMenuItemUI.java: | |
3817 | New class. Partly implemented. | |
3818 | ||
3819 | 2004-03-26 Mark Wielaard <mark@klomp.org> | |
3820 | ||
3821 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c | |
3822 | (item_activate): Declare label before use. | |
3823 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c | |
3824 | (gtkSetFont): Removed unused variable label. | |
3825 | (addExposeFilter): Declare variables before use. | |
3826 | (removeExposeFilter): Likewise. | |
3827 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | |
3828 | (ok_clicked): Declare str_fileName before use. | |
3829 | ||
3830 | 2004-03-26 David Jee <djee@redhat.com> | |
3831 | ||
3832 | * gnu/java/awt/peer/gtk/GtkMenuPeer.java | |
3833 | (addSeparator): Remove. | |
3834 | * java/awt/Menu.java | |
3835 | (separator): Remove static final MenuItem field. | |
3836 | (separatorLabel): New static final String field. | |
3837 | (addSeparator): Do not use peer method; use add(MenuItem) instead. | |
3838 | Use separatorLabel to denote that it is a separator. | |
3839 | (insertSeparator): Create a new MenuItem with separatorLabel, instead | |
3840 | of reusing the static separator instance, because a MenuItem instance | |
3841 | can't be added more than once without being cloned. | |
3842 | * java/awt/peer/MenuPeer.java | |
3843 | (addSeparator): Remove from interface. | |
3844 | ||
3845 | 2004-03-26 David Jee <djee@redhat.com> | |
3846 | ||
3847 | * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java | |
3848 | (connectSignals): New native method declaration. | |
3849 | (GtkMenuItemPeer): Connect signals if the parent is a Menu. | |
3850 | * java/awt/MenuItem.java | |
3851 | (getActionCommand): Return the label if the action command is not set. | |
3852 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | |
3853 | (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use | |
3854 | gtk_menu_shell_append(). | |
3855 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | |
3856 | (item_activate): Fix argument type. | |
3857 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect | |
3858 | signal here. | |
3859 | (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New | |
3860 | method. | |
3861 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c | |
3862 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is | |
3863 | given. Add the menu widget's top-level GtkWindow to the global window | |
3864 | group, so it can grab the pointer. | |
3865 | (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use | |
3866 | gtk_menu_shell_append(). | |
3867 | ||
3868 | 2004-03-23 Graydon Hoare <graydon@redhat.com> | |
3869 | ||
3870 | * java/text/AttributedString.java | |
3871 | (addAttribute): Fix off-by-one. | |
3872 | (getIterator): Likewise. | |
3873 | * java/text/AttributedStringIterator.java | |
3874 | (getRunLimit): Correct logic. | |
3875 | (getRunStart): Likewise. | |
3876 | (getAttribute): Fix inequality. | |
3877 | (getAttributes): Likewise. | |
3878 | * testsuite/libjava.mauve/xfails: Remove AttributedString xfail. | |
3879 | ||
3880 | 2004-03-23 Kim Ho <kho@redhat.com> | |
3881 | ||
3882 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
3883 | (calculateSizes): Return real width and height. | |
3884 | ||
3885 | 2004-03-23 Kim Ho <kho@redhat.com> | |
3886 | ||
3887 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java | |
3888 | (calculateTabRects): Set the selectedRun before | |
3889 | trying to rotate tabs. | |
3890 | ||
3891 | 2004-03-23 Kim Ho <kho@redhat.com> | |
3892 | ||
3893 | * Makefile.am: New file | |
3894 | * Makefile.in: Regenerate | |
3895 | * java/awt/Graphics.java: (drawRect): | |
3896 | Draw to the correct point. | |
3897 | * javax/swing/DefaultSingleSelectionModel.java | |
3898 | (isSelected): Return true if the selected index | |
3899 | is not -1. | |
3900 | * javax/swing/JLabel.java: Do not change mnemonic | |
3901 | index if text is null. | |
3902 | * javax/swing/JProgressBar.java: Use JComponent's | |
3903 | EventListenerList. | |
3904 | * javax/swing/JScrollBar.java: Ditto. | |
3905 | * javax/swing/JSlider.java: Ditto. | |
3906 | * javax/swing/JTabbedPane.java: Reimplement. | |
3907 | * javax/swing/plaf/basic/BasicLookAndFeel.java: | |
3908 | Add defaults for TabbedPane. | |
3909 | * javax/swing/plaf/basic/BasicArrowButton.java: | |
3910 | Implement | |
3911 | * javax/swing/plaf/basic/BasicProgressBarUI.java: | |
3912 | (paintDeterminate): Don't paint String if it's | |
3913 | empty. | |
3914 | (paintIndeterminate): ditto. | |
3915 | * javax/swing/plaf/basic/BasicTabbedPaneUI.java: | |
3916 | Reimplement. | |
3917 | ||
3918 | 2004-03-19 Michael Koch <konqueror@gmx.de> | |
3919 | ||
3920 | * java/awt/image/AffineTransformOp.java | |
3921 | (AffineTransformOp): Made public. | |
3922 | * javax/swing/JComponent.java | |
3923 | (listenerList): Made protected. | |
3924 | (accessibleContext): Likewise. | |
3925 | * javax/swing/JList.java | |
3926 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
3927 | * javax/swing/JViewport.java | |
3928 | (getView): Dont use internal fields of Component. | |
3929 | (addImpl): Likewise. | |
3930 | * javax/swing/Timer.java | |
3931 | (isRunning): Made public. | |
3932 | (start): Likewise. | |
3933 | (stop): Likewise. | |
3934 | * javax/swing/UIDefaults.java | |
3935 | (getInt): Made public. | |
3936 | * javax/swing/plaf/basic/BasicListUI.java | |
3937 | (mousePressed): Dont use internal fields of MouseEvent. | |
3938 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
3939 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
3940 | (arrowIcon): Made static. | |
3941 | * javax/swing/plaf/basic/BasicViewportUI.java | |
3942 | (stateChanged): Dont use internal field on ChangeEvent. | |
3943 | * javax/swing/text/JTextComponent.java | |
3944 | (getUI): Call UIManager.getUI(). | |
3945 | (updateUI): Use getUI(). | |
3946 | ||
3947 | 2004-03-19 Graydon Hoare <graydon@redhat.com> | |
3948 | ||
3949 | * javax/swing/JComponent.java: Turn off double buffer by default. | |
3950 | * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting. | |
3951 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c | |
3952 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): | |
3953 | Use cairo to copy areas. | |
3954 | (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip): | |
3955 | Initialize and set clip region. | |
3956 | ||
3957 | 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3958 | ||
3959 | * java/applet/Applet.java (preferredSize): Override deprecated | |
3960 | variant of getPreferredSize. | |
3961 | (minimumSize): Override deprecated variant of getMinimumSize. | |
3962 | ||
3963 | 2004-03-15 Olga Rodimina <rodimina@redhat.com> | |
3964 | ||
3965 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java | |
3966 | (drawImage(img,xform,bgcolor,obs)): New Method. | |
3967 | Helper function that every drawImage method will | |
3968 | use. | |
3969 | (drawRaster): Added new parameter, bgcolor. All | |
3970 | transparent pixels are changed to bgcolor before | |
3971 | image is drawn. | |
3972 | (drawRenderedImage): Fixed to use changed drawRaster(). | |
3973 | (drawImage(image,xform,obs): Fixed to use new helper function | |
3974 | (drawImage(image,op,x,y)): Ditto. | |
3975 | (drawImage (img,x,y,observer)): Ditto. | |
3976 | ((PainterThread) bgcolor): New Field. | |
3977 | ((PainterThread) (setPixels)): Changed all transparent pixels | |
3978 | to bgcolor. | |
3979 | (drawImage(img,x,y,width,height,bgcolor,observer)): | |
3980 | Fixed FIXME - all the transparent pixels are | |
3981 | changed to the specified bgcolor. | |
3982 | (drawImage(img, x, y, width, height, observer): Changed to | |
3983 | use function above. | |
3984 | (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): | |
3985 | Fixed FIXME- changed all transparent pixels to bgcolor. | |
3986 | (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)): | |
3987 | Changed to use function above. | |
3988 | ||
3989 | 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3990 | ||
3991 | * java/applet/Applet.java (dimensions): New field. | |
3992 | (getDimensions): New method. | |
3993 | (getPreferredSize): Call getDimensions. | |
3994 | (getMinimumSize): Likewise. | |
3995 | ||
3996 | 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> | |
3997 | ||
3998 | * jni/classpath/jcl.c: Include stdlib.h, not malloc.h. | |
3999 | * jni/classpath/jnilink.c: Likewise. | |
4000 | ||
4001 | * java/applet/Applet.java (getPreferredSize): New method. | |
4002 | (getMinimumSize): New method. | |
4003 | ||
245c3c04 BM |
4004 | 2004-04-15 Bryce McKinlay <mckinlay@redhat.com> |
4005 | ||
4006 | * prims.cc (_Jv_AllocObject): Remove `size' argument. | |
4007 | (_Jv_AllocObjectNoFinalizer): Likewise. | |
4008 | (_Jv_AllocObjectNoInitNoFinalizer): Likewise. | |
4009 | (_Jv_AllocPtrFreeObject): Likewise. | |
4010 | (_Jv_AllocString): Moved from natString.cc. Call collector interface | |
4011 | directly even in the JVMPI case. | |
4012 | * gcj/cni.h (JvAllocObject): Remove `size' argument from | |
4013 | _Jv_AllocObject calls. | |
4014 | * gcj/javaprims.h: Update prototypes. | |
4015 | * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject. | |
4016 | * java/lang/Class.h: Update _Jv_AllocObject friend prototype. | |
4017 | * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc. | |
4018 | ||
d7afe286 BM |
4019 | 2004-04-14 Andrew Haley <aph@redhat.com> |
4020 | Bryce McKinlay <mckinlay@redhat.com> | |
4021 | ||
4022 | * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use | |
4023 | _Jv_LookupInterfaceMethodIdx for calls to interfaces. | |
4024 | * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg. | |
4025 | ||
4026 | * testsuite/libjava.lang/InvokeInterface.java: New file. | |
4027 | * testsuite/libjava.lang/InvokeInterface.out: New file. | |
4028 | ||
84264cb6 RM |
4029 | 2004-04-09 Ranjit Mathew <rmathew@hotmail.com> |
4030 | ||
4031 | * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to | |
4032 | modified lookup(). | |
4033 | * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a | |
4034 | StackTraceElement directly. | |
4035 | (newElement): New native helper method to create StackTraceElement | |
4036 | bypassing Java access control. | |
4037 | (createStackTraceElement): Use newElement() instead of directly | |
4038 | calling StackTraceElement's constructor. | |
4039 | * gnu/gcj/runtime/natNameFinder.cc (newElement): New method. | |
4040 | ||
2b6b5c35 MK |
4041 | 2004-04-01 Michael Koch <konqueror@gmx.de> |
4042 | ||
4043 | * java/lang/SecurityManager.java | |
4044 | (checkAwtEventQueueAccess): Implemented. | |
4045 | ||
1c19eacc GB |
4046 | 2004-04-01 Gary Benson <gbenson@redhat.com> |
4047 | ||
4048 | * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception. | |
4049 | (_Jv_SearchMethodInClass): Likewise. | |
4050 | ||
99b43239 PM |
4051 | 2004-03-26 Peter Moon <peterm@miraculum.com> |
4052 | ||
4053 | * java/text/NumberFormat.java: Fix spelling of setCurrency | |
4054 | method. | |
4055 | ||
95e59f1a AG |
4056 | 2004-03-21 Anthony Green <green@redhat.com> |
4057 | ||
4058 | * java/lang/natClass.cc (getClassLoader): Circumvent infinite | |
4059 | recursion when searching for the system ClassLoader. | |
4060 | ||
de205e06 IK |
4061 | 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org> |
4062 | ||
4063 | * java/net/ServerSocket.java | |
4064 | (accept): Close the socket when error occured. | |
4065 | ||
bdf11d55 JF |
4066 | 2004-03-21 Jeroen Frijters <jeroen@frijters.net> |
4067 | ||
4068 | * java/net/URI.java (parseURI): Added unquoting. | |
4069 | (unquote): New method. | |
4070 | (quoteAuthority): Implemented. | |
4071 | (quote(String,String)): New method. | |
4072 | (quotePath): Implemented. | |
4073 | (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field. | |
4074 | (getSchemeSpecificPart): Removed FIXME comment. | |
4075 | (getRawAuthority): Return new rawAuthority field. | |
4076 | (getAuthority): Removed FIXME comment. | |
4077 | (getRawUserInfo): Return new rawUserInfo field. | |
4078 | (getUserInfo): Removed FIXME comment. | |
4079 | (getRawPath): Return new rawPath field. | |
4080 | (getPath): Removed FIXME comment. | |
4081 | (getRawQuery): Return new rawQuery field. | |
4082 | (getQuery): Removed FIXME comment. | |
4083 | (getRawFragment): Return new rawFragment field. | |
4084 | (getFragment): Removed FIXME comment. | |
4085 | ||
0d13be1e MK |
4086 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
4087 | ||
4088 | * java/net/URLConnection.java: Merged copyright year with classpath. | |
4089 | ||
f903e73b NF |
4090 | 2004-03-20 Norbert Frese <postfach@nfrese.net> |
4091 | ||
4092 | * gnu/java/rmi/server/RMIIncomingThread.java: New file. | |
4093 | * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java: | |
4094 | Create a new RMIObjectOuputStream/RMIObjectInputStream for every | |
4095 | rmi-message. | |
4096 | (getObjectInputStream): Return object reference, throw IOException if null. | |
4097 | (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'. | |
4098 | (getObjectOutputStream): Return object reference, throw IOException if null. | |
4099 | (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'. | |
4100 | * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java: | |
4101 | (UnicastConnectionManager): Throw RemoteException if port is not available. | |
4102 | (getInstance): Throw RemoteException. | |
4103 | (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval. | |
4104 | * gcc/libjava/gnu/java/rmi/server/UnicastRef.java: | |
4105 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
4106 | Collect Exceptions which are returned by a rmi-call and fix void returns. | |
4107 | * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java: | |
4108 | Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message. | |
4109 | * gcc/libjava/gnu/java/rmi/server/UnicastServer.java: | |
4110 | (dispatch): Answer ping messages which are sent by other java implementions. | |
4111 | (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream | |
4112 | for every rmi-message and fix void return problems. | |
4113 | * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java | |
4114 | (UnicastServerRef): Throw RemoteException. | |
4115 | (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic. | |
4116 | In some situations it is necessary to export a subclass of the class which has the _Stub. | |
4117 | For instance when the class with has the _Stub is abstract. | |
4118 | (findStubSkelClass): New method which looks for the class which has the _Stub. | |
4119 | (getClientHost): Implementated. | |
4120 | * gcc/libjava/java/rmi/server/RemoteServer.java | |
4121 | (getClientHost): Implementated. | |
4122 | * gcc/libjava/Makefile.am (rmi_java_source_files): | |
4123 | Added gnu/java/rmi/server/RMIIncomingThread.java. | |
4124 | * Makefile.in: Regenerated. | |
4125 | ||
7f5773c6 MK |
4126 | 2004-03-20 Michael Koch <konqueror@gmx.de> |
4127 | ||
4128 | * java/net/InetAddress.java | |
4129 | (getLocalHostname): Added javadoc. | |
4130 | ||
ab16524d PB |
4131 | 2004-03-19 Per Bothner <per@bothner.com> |
4132 | ||
4133 | * configure.in: FILE variable overrides FLATFORM when linking | |
4134 | natFileChannelXXX.cc. | |
4135 | ||
4136 | * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored. | |
4137 | (write): Call diag_write, as in old natFileDescriptorEcos.cc. | |
4138 | ||
0fca95f5 PB |
4139 | 2004-03-19 Per Bothner <per@bothner.com> |
4140 | ||
4141 | * gnu/gcj/convert/Input_UnicodeBig.java: New class.. | |
4142 | * gnu/gcj/convert/Input_UnicodeLittle.java: New class. | |
4143 | * Makefile.am: Update accordingly. | |
4144 | * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be" | |
4145 | as aliases for UnicodeLittle and UnicodeBig. | |
4146 | ||
edb3d426 MW |
4147 | 2004-03-20 Mark Wielaard <mark@klomp.org> |
4148 | ||
4149 | * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | |
4150 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth): | |
4151 | Don't access ws when it is null. | |
4152 | (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight): | |
4153 | Likewise. | |
4154 | ||
b121dcb5 JF |
4155 | 2004-03-19 Jeroen Frijters <jeroen@frijters.net> |
4156 | ||
4157 | * java/lang/ThreadGroup.java (list): Changed print to println. | |
4158 | ||
44b20223 MW |
4159 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
4160 | ||
4161 | * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc | |
4162 | happy. | |
4163 | ||
f94b0887 RC |
4164 | 2004-02-10 Randolph Chung <tausq@debian.org> |
4165 | ||
4166 | * configure.in: Build java for hppa target. | |
4167 | * configure: Regenerate. | |
4168 | * libjava/configure.host (hppa-*): Add target. | |
4169 | * libjava/sysdeps/pa/lock.h: New file. | |
4170 | ||
d511a273 MW |
4171 | 2004-03-19 Mark Wielaard <mark@klomp.org> |
4172 | ||
4173 | Reported by Stephen Crawley | |
4174 | * java/io/FilePermission.java (implies): Use String.length() -1 to | |
4175 | access last char of String. | |
4176 | ||
9c6637c8 MK |
4177 | 2004-03-19 Michael Koch <konqueror@gmx.de> |
4178 | ||
4179 | * java/awt/image/AffineTransformOp.java | |
4180 | (AffineTransformOp): Made public. | |
4181 | * javax/swing/JComponent.java | |
4182 | (listenerList): Made protected. | |
4183 | (accessibleContext): Likewise. | |
4184 | * javax/swing/JList.java | |
4185 | (valueChanged): Dont use internal fields of ListSelectionEvent. | |
4186 | * javax/swing/JViewport.java | |
4187 | (getView): Dont use internal fields of Component. | |
4188 | (addImpl): Likewise. | |
4189 | * javax/swing/Timer.java | |
4190 | (isRunning): Made public. | |
4191 | (start): Likewise. | |
4192 | (stop): Likewise. | |
4193 | * javax/swing/UIDefaults.java | |
4194 | (getInt): Made public. | |
4195 | * javax/swing/plaf/basic/BasicListUI.java | |
4196 | (mousePressed): Dont use internal fields of MouseEvent. | |
4197 | (propertyChanged): Dont use internal fields of PropertyChangeEvent. | |
4198 | * javax/swing/plaf/basic/BasicScrollBarUI.java | |
4199 | (arrowIcon): Made static. | |
4200 | * javax/swing/plaf/basic/BasicViewportUI.java | |
4201 | (stateChanged): Dont use internal field on ChangeEvent. | |
4202 | * javax/swing/text/JTextComponent.java | |
4203 | (getUI): Call UIManager.getUI(). | |
4204 | (updateUI): Use getUI(). | |
4205 | ||
165c9b04 RO |
4206 | 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4207 | ||
4208 | * verify.cc: Undef PC. | |
4209 | ||
138f5109 MK |
4210 | 2004-03-18 Michael Koch <konqueror@gmx.de> |
4211 | ||
4212 | * java/nio/channels/spi/AbstractSelectableChannel.java | |
4213 | (keys): Initialize at declaration. | |
4214 | (locate): keys cant be null. | |
4215 | (add): Removed. | |
4216 | (addSelectionKey): New method. | |
4217 | (removeSelectionKey): New method. | |
4218 | * java/nio/channels/spi/AbstractSelectionKey.java | |
4219 | (cancel): Call AbstractSelector.cancelKey(SelectionKey key). | |
4220 | * java/nio/channels/spi/AbstractSelector.java | |
4221 | (provider): Javadoc added. | |
4222 | (cancelledKeys): Javadoc added. | |
4223 | (cancelKey): Javadoc added, add key to cancelledKeys. | |
4224 | (deregister): Implemented. | |
4225 | ||
acc63e4c RO |
4226 | 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4227 | ||
4228 | * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast | |
4229 | MAP_FAILED to void *. | |
4230 | ||
86881a7b GH |
4231 | 2004-03-12 Graydon Hoare <graydon@redhat.com> |
4232 | ||
4233 | * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes. | |
4234 | * javax/swing/JComponent.java (paint): Use persistent double buffer. | |
4235 | * javax/swing/JList.java (ListListener): Revalidate on changes. | |
4236 | * javax/swing/JScrollPane.java: Reimplement. | |
4237 | * javax/swing/JViewport.java: Reimplement. | |
4238 | * javax/swing/ScrollPaneLayout.java: Reimplement. | |
4239 | * javax/swing/ViewportLayout.java: Tidy up. | |
4240 | * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns. | |
4241 | * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement. | |
4242 | * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels. | |
4243 | * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of | |
4244 | backing store only. | |
4245 | ||
4246 | 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4247 | ||
4248 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c | |
4249 | (window_wm_protocols_filter): New function. | |
4250 | (window_focus_in_cb): Remove function. | |
4251 | (window_focus_out_cb): Likewise. | |
4252 | (window_focus_or_active_state_change_cb): New function. | |
4253 | (create): Add filter that removes WM_TAKE_FOCUS client messages. | |
4254 | (connectSignals): Don't attach handlers to focus-in-event or | |
4255 | focus-out-event signals. Handle notify signal. | |
4256 | ||
4257 | 2004-03-11 David Jee <djee@redhat.com> | |
4258 | ||
4259 | * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java | |
4260 | (gtkSetLabel): New native method declaration. | |
4261 | (setLabel): Use gtkSetLabel. | |
4262 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | |
4263 | (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method. | |
4264 | ||
4265 | 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com> | |
4266 | ||
4267 | * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to | |
4268 | black when color argument is null. | |
4269 | ||
4270 | 2004-03-10 Kim Ho <kho@redhat.com> | |
4271 | ||
4272 | * java/awt/Container.java: Remove check | |
4273 | for drag events. | |
4274 | ||
4275 | 2004-03-10 Kim Ho <kho@redhat.com> | |
4276 | ||
4277 | * java/awt/Container.java: (visitChild): | |
4278 | Remove candidate clip. Use the component | |
4279 | clip to intersect. | |
4280 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
4281 | (handleEvent): Use the PaintEvent's clip. | |
4282 | ||
4283 | 2004-03-10 Kim Ho <kho@redhat.com> | |
4284 | ||
4285 | * gnu/java/awt/peer/gtk/GtkComponentPeer.java: | |
4286 | (handleEvent): Don't set the clip for the | |
4287 | Graphics object. | |
4288 | ||
4289 | 2004-03-09 Graydon Hoare <graydon@redhat.com> | |
4290 | ||
4291 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: | |
4292 | Fix double <-> fixed macros, reset font transform. | |
4293 | * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: | |
4294 | Likewise. | |
4295 | ||
4296 |