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