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