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