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