"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "gcc-4.1-20080630/libjava/ChangeLog-2003" of archive gcc-4.1-20080630.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 2003-12-31 Michael Koch <konqueror@gmx.de>
2
3 * gnu/java/net/protocol/http/Connection.java
4 (sendRequest): Dont encode output in default character encoding,
5 add correct version number to HTTP user agent string.
6
7 2003-12-31 Graydon Hoare <graydon@redhat.com>
8
9 * configure.in: Add --enable-gtk-cairo check.
10 * configure: Regenerate.
11 * Makefile.am: Conditionally link against cairo.
12 * Makefile.in: Regenerate.
13 * acinclude.m4: Include PKG_CHECK_MODULES.
14 * aclocal.m4: Regenerate.
15 * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
16 (getFontMetrics, getClasspathFontPeer):
17 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
18 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
19 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
20 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
21 Switch behavior depending on GtkToolkit.useGraphics2D().
22 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
23 * java/awt/Font.java: Switch to peer model.
24 * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
25 * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
26 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
27 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h.
28
29 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
30
31 * java/io/ObjectOutputStream.java
32 (putFields): Reindented. Fixed behaviour: currentPutField should be
33 null
34 before calling this method.
35 (writeFields): Likewise.
36 (markFieldsWritten): Fixed the exception message.
37 (callWriteMethod): Ensure currentPutField is null.
38 (getBooleanField): Translate IllegalArgumentException into
39 InvalidClassException.
40 (getByteField): Likewise.
41 (getCharField): Likewise.
42 (getDoubleField): Likewise.
43 (getFloatField): Likewise.
44 (getIntField): Likewise.
45 (getLongField): Likewise.
46 (getShortField): Likewise.
47 (getObjectField): Check the type code before returning the object.
48 (getField): Translate NoSuchFieldException into InvalidClassException
49 directly.
50
51 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
52
53 * java/net/URL.java
54 (URL): Change context path to "/" if it is empty.
55
56 2003-12-31 Michael Koch <konqueror@gmx.de>
57
58 * testsuite/libjava.mauve/xfails: Removed tests that pass now:
59 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
60 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
61 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
62 (number 26)
63 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
64 (number 54)
65
66
67 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
68
69 * java/util/GregorianCalendar.java
70 (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
71 Fixed the computation of DAY_OF_WEEK_IN_MONTH.
72 (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
73
74 2003-12-30 Michael Koch <konqueror@gmx.de>
75
76 * testsuite/libjava.mauve/xfails: Removed the following testcase
77 because it passes now:
78 FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
79 (number 1)
80
81 2003-12-30 Michael Koch <konqueror@gmx.de>
82
83 * java/io/ObjectInputStream.java,
84 java/io/ObjectOutputStream.java,
85 java/io/ObjectStreamClass.java:
86 Reformated, no functional code changes.
87
88 2003-12-30 Michael Koch <konqueror@gmx.de>
89
90 * gnu/java/net/protocol/http/Connection.java
91 (outputStream): New field.
92 (bufferedOutputStream): New field.
93 (connect): Initialize outputStream and bufferedOutputStream.
94 (sendRequest): Create PrintWriter object from outputStream,
95 support HTTP 1.1, send missing HTTP headers and buffered output data
96 for POST method.
97 (getOutputStream): Set request method to POST if output stream is
98 used, return bufferedOutputStream.
99 (setRequestMethod): Allow HEAD and POST methods.
100 This fixes libgcj PR/6302 and libgcj PR/7752.
101
102 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
103
104 * java/io/LineNumberReader.java
105 (countLines): Removed.
106 (fill): New private method.
107 (mark): Changed logic to use and matchedNewLine.
108 (reset): Likewise.
109 (read): Likewise.
110 (skipRedundantLF): Likewise.
111
112 2003-12-30 Michael Koch <konqueror@gmx.de>
113
114 * gnu/java/net/protocol/http/Connection.java
115 (requestProperties): New field.
116 (addRequestProperty): New method.
117 (getRequestProperty): New method.
118 (setRequestProperty): New method.
119 (getRequestProperties): New method.
120
121 2003-12-28 Michael Koch <konqueror@gmx.de>
122
123 * gnu/java/net/protocol/http/Connection.java
124 (inputStream): Made it a DataInputStream.
125 (requestProperties): Removed.
126 (hdrHash): Removed.
127 (hdrVec): Removed.
128 (headers): New field to store headers.
129 (connect): Initialize inputStream.
130 (receiveReply): Merged from classpath. The new algorithm is line based
131 instead of character based.
132 (getHeaderField): Use headers.
133 (getHeaderFields): Use headers.
134 (getKey): Removed.
135 (getField): Removed.
136 * gnu/java/net/HeaderFieldHelper.java: New file.
137 * Makefile.am (ordinary_java_source_files):
138 Added gnu/java/net/HeaderFieldHelper.java.
139 * Makefile.in: Regenerated.
140
141 2003-12-28 Guilhem Lavaux <guilhem@kaffe.org>
142
143 * java/io/LineNumberReader.java
144 (mark): Improved error checking.
145 (read): Likewise.
146 (skip): Likewise. Skip is now really eating the specified number of
147 characters.
148 * java/io/CharArrayReader.java (read): It should throw
149 IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
150 mauve).
151 * java/io/BufferedReader.java (readLine): Make readLine() really block
152 until either EOF is reached or a true error happens.
153
154 2003-12-27 Michael Koch <konqueror@gmx.de>
155
156 * gnu/java/net/protocol/http/Connection.java
157 (getRequestProperty): Removed.
158 (setRequestProperty): Removed.
159
160 2003-12-27 Michael Koch <konqueror@gmx.de>
161
162 * gnu/java/net/protocol/http/Connection.java
163 (connect): Call receiveReply().
164 (receiveReply): Renamed from getHttpHeaders().
165 (getOutputStream): Moved check on doOutput before check for connection
166 state.
167
168 2003-12-27 Michael Koch <konqueror@gmx.de>
169
170 * javax/print/attribute/ResolutionSyntax.java,
171 javax/print/attribute/SetOfIntegerSyntax.java,
172 javax/print/attribute/Size2DSyntax.java,
173 javax/print/attribute/standard/Copies.java,
174 javax/print/attribute/standard/JobImpressions.java,
175 javax/print/attribute/standard/JobMediaSheets.java,
176 javax/print/attribute/standard/NumberOfDocuments.java,
177 javax/print/attribute/standard/NumberOfInterveningJobs.java,
178 javax/print/attribute/standard/PagesPerMinute.java,
179 javax/print/attribute/standard/PagesPerMinuteColor.java,
180 javax/print/attribute/standard/QueuedJobCount.java:
181 Fixed typo (s/then/than/).
182
183 2003-12-27 Guilhem Lavaux <guilhem@kaffe.org>
184
185 * java/rmi/Naming.java (lookup): Check if the first character of the
186 filename returned by URL.getFile() is a '/', only if it is the case
187 we cut this first character and call the registry with the good name.
188 (bind): Likewise.
189 (rebind): Likewise.
190
191 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
192 Mark Wielaard <mark@klomp.org>
193
194 * java/io/BufferedReader.java (BufferedReader):
195 Throw IllegalArgumentException when size <= 0.
196 (mark): Document and better exception message for negative
197 readLimit IllegalArgumentException.
198 (read(char[],int,int)): Throw IndexOutOfBoundsException
199 if offset and count are not valid regarding buf.
200 (skip): Throw IllegalArgumentException when count is negative.
201
202 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
203
204 * java/io/FileInputStream.java
205 (FileInputStream(String)): Call FileInputStream(File).
206 (FileInputStream(File)): Check whether the argument is a directory.
207
208 2003-12-26 Michael Koch <konqueror@gmx.de>
209
210 * Makefile.am (rmi_java_source_files):
211 Added gnu/java/rmi/server/RMIVoidValue.java.
212 * Makefile.in: Regenerated.
213
214 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
215 Mark Wielaard <mark@klomp.org>
216
217 * gnu/java/rmi/server/UnicastConnectionManager.java
218 (startScavenger): Set the client connection manager to daemon
219 state because it may block clients until TIMEOUT is reached
220 when they are exiting.
221
222 * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
223 a void return.
224
225 * gnu/java/rmi/server/UnicastRemoteCall.java
226 (DummyOutputStream): Add a boolean before each written field to
227 know whether it is a primitive.
228 (releaseOutputStream): Flush parameters at write time.
229
230 * gnu/java/rmi/server/UnicastServerRef.java
231 (incomingMessageCall): Return a RMIVoidValue if no value is to be
232 returned.
233
234 * gnu/java/rmi/server/UnicastServer.java
235 (incomingMessageCall): Do not write a returned object if it is
236 a RMIVoidValue.
237
238 2003-12-25 Andreas Tobler <a.tobler@schweiz.ch>
239
240 * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for
241 darwin. Fixed by fixinclude now.
242
243 2003-12-25 Michael Koch <konqueror@gmx.de>
244
245 * java/net/ServerSocket.java bind():
246 If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
247 address to bind to.
248
249 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
250
251 * java/io/ObjectInputStream.java
252 (getField): Handle transient and non persistent fields.
253 (readClassDescriptor): Better error handling, use the right
254 class loader.
255 (readFields): Fields marked as not present in the stream
256 or not to be set are not read and set.
257 * java/io/ObjectInputStream.java
258 (readFields): Changed implementation of GetField.
259 (readClassDescriptor): Documented.
260 * java/io/ObjectOutputStream.java
261 (writeClassDescriptor): Added condition when to write class super
262 class information.
263
264 2003-12-22 Fernando Nasser <fnasser@redhat.com>
265
266 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
267 (choicePostItemEvent): Change signature to more specific String object.
268 * java/awt/Choice.java (add): Generate ItemEvent for the first item
269 added.
270 (insert): Generate ItemEvent if insertion caused
271 selection to change.
272 (remove): Generate ItemEvent if removal cause selection to change.
273 (removeAll): Change algorithm to prevent generation of ItemEvents.
274 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
275 (connect_choice_item_selectable_hook): Change argument type.
276 Fix argument value.
277 Make sure resources are feed by registering callback.
278 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
279 above function.
280 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
281 (item_activate): Ditto.
282 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
283 menuitem.
284 (item_removed): New function. Free resources.
285 * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
286 name.
287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
288 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
289 choicePostItemEvent.
290
291 2003-12-23 Michael Koch <konqueror@gmx.de>
292
293 * javax/print/attribute/standard/Copies.java,
294 javax/print/attribute/standard/JobImpressions.java,
295 javax/print/attribute/standard/JobMediaSheets.java,
296 javax/print/attribute/standard/JobPriority.java,
297 javax/print/attribute/standard/NumberOfDocuments.java,
298 javax/print/attribute/standard/NumberOfInterveningJobs.java,
299 javax/print/attribute/standard/NumberUp.java,
300 javax/print/attribute/standard/PagesPerMinuteColor.java,
301 javax/print/attribute/standard/PagesPerMinute.java,
302 javax/print/attribute/standard/QueuedJobCount.java: New files.
303 * Makefile.am (ordinary_java_source_files): Added new files.
304 * Makefile.in: Regenerated.
305
306 2003-12-23 Michael Koch <konqueror@gmx.de>
307
308 * javax/print/attribute/AttributeSetUtilities.java
309 (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
310 * javax/print/attribute/HashAttributeSet.java
311 (HashAttributeSet): Call internal add methods, added missing
312 exceptions.
313 (add): Call addInternal, added exceptions to documentation.
314 (addInternal): New method.
315 (addAll): Call addAllInternal, added exception to documentation.
316 (addAllInternal): New method.
317 (clear): Added exception to documentation.
318 (remove): Likewise.
319 * javax/print/attribute/URISyntax.java
320 (serialVersionUID): Fixed value.
321
322 2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com>
323
324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
325 (pre_event_handler): Don't dereference NULL focus_obj_ptr.
326
327 2003-12-21 Michael Koch <konqueror@gmx.de>
328
329 * javax/print/attribute/AttributeSetUtilities.java,
330 javax/print/attribute/HashAttributeSet.java,
331 javax/print/attribute/HashDocAttributeSet.java,
332 javax/print/attribute/HashPrintJobAttributeSet.java,
333 javax/print/attribute/HashPrintRequestAttributeSet.java,
334 javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
335 * Makefile.am (ordinary_java_source_files): Added new files.
336 * Makefile.in: Regenerated.
337
338 2003-12-21 Michael Koch <konqueror@gmx.de>
339
340 * javax/print/attribute/EnumSyntax.java,
341 javax/print/attribute/SetOfIntegerSyntax.java: New files.
342 * Makefile.am (ordinary_java_source_files):
343 Added javax/print/attribute/EnumSyntax.java
344 and javax/print/attribute/SetOfIntegerSyntax.java.
345 * Makefile.in: Regenerated.
346
347 2003-12-21 Michael Koch <konqueror@gmx.de>
348
349 * javax/print/attribute/PrintJobAttribute.java,
350 javax/print/attribute/PrintJobAttributeSet.java,
351 javax/print/attribute/PrintRequestAttribute.java,
352 javax/print/attribute/PrintServiceAttribute.java,
353 javax/print/attribute/PrintServiceAttributeSet.java,
354 javax/print/attribute/SupportedValuesAttribute.java: New files.
355 * Makefile.am (ordinary_java_source_files): Added new files.
356 * Makefile.in: Regenerated.
357
358 2003-12-21 Michael Koch <konqueror@gmx.de>
359
360 * javax/print/attribute/DateTimeSyntax.java,
361 javax/print/attribute/DocAttribute.java,
362 javax/print/attribute/DocAttributeSet.java,
363 javax/print/attribute/IntegerSyntax.java,
364 javax/print/attribute/ResolutionSyntax.java,
365 javax/print/attribute/Size2DSyntax.java,
366 javax/print/attribute/TextSyntax.java,
367 javax/print/attribute/URISyntax.java,
368 javax/print/attribute/UnmodifiableSetException.java: New files.
369 * Makefile.am (ordinary_java_source_files): Added new files.
370 * Makefile.in: Regenerated.
371
372 2003-12-21 Michael Koch <konqueror@gmx.de>
373
374 * gnu/java/net/PlainDatagramSocketImpl.java
375 (mcastGrp): Added documentation.
376
377 2003-12-20 Michael Koch <konqueror@gmx.de>
378
379 * gnu/java/net/protocol/jar/Connection.java
380 (connectionCache): New field.
381 (connect): New method.
382 (getInputStream): New method.
383 (hdrHash): New field.
384 (hdrVec): New field.
385 (gotHeaders): New field.
386 (getHeaderField): New method.
387 (getHeaderFields): New method.
388 (getHeaderFieldKey): New method.
389 (getKey): New method.
390 (getField): New method.
391 (getHeaders): New method.
392 * java/net/JarURLConnection.java
393 (connectionCache): Removed.
394 (connect): Removed.
395 (getInputStream): Removed.
396 (hdrHash): Removed.
397 (hdrVec): Removed.
398 (gotHeaders): Removed.
399 (getHeaderField): Removed.
400 (getHeaderFields): Removed.
401 (getHeaderFieldKey): Removed.
402 (getKey): Removed.
403 (getField): Removed.
404 (getHeaders): Removed.
405
406 2003-12-20 Michael Koch <konqueror@gmx.de>
407
408 * java/io/ObjectStreamField.java (isUnshared): Added documentation.
409
410 2003-12-20 Mohan Embar <gnustuff@thisiscool.com>
411
412 * gnu/java/nio/SelectorImpl.java
413 (selectThreadMutex): New field.
414 (selectThread): New field.
415 (unhandledWakeup): New field.
416 (implCloseSelector): Added skeleton code which
417 synchronizes as per Sun JRE JavaDoc.
418 (keys): Throw ClosedSelectorException if selector
419 is closed.
420 (selectNow): Added comment that we're faking out
421 an immediate select with a one-microsecond-timeout one.
422 (select): Use 0 instead of -1 for infinite timeout.
423 (implSelect): Changed comment in declaration.
424 (select): Added synchronized to method declaration.
425 Added synchronization and wakeup support as per Sun
426 JRE JavaDoc.
427 (selectedKeys): Throw ClosedSelectorException if selector
428 is closed.
429 (wakeup): Implemented.
430 (deregisterCancelledKeys): Synchronize on cancelled key
431 set before deregistering.
432 (register): Synchronize on key set before registering.
433 * java/nio/channels/spi/AbstractSelector.java
434 Added import for java.nio.channels.ClosedSelectorException.
435 (close): Added synchronized to method declaration.
436 (cancelledKeys): Throw ClosedSelectorException if selector
437 is closed.
438 (cancelKey): Synchronize on cancelled key set before key.
439
440 2003-12-20 Michael Koch <konqueror@gmx.de>
441
442 * Makefile.am (ordinary_java_source_files):
443 Added gnu.java.net.URLParseError.java.
444 * Makefile.in: Regenerated.
445
446 2003-12-20 Guilhem Lavaux <guilhem@kaffe.org>
447
448 * gnu/java/net/URLParseError.java: New file.
449 * gnu/java/net/protocol/jar/Handler.java
450 (parseURL): Throw URLParseError if needed, fix '/' handling.
451 * java/net/URL.java (URL): Catch URLParseError and
452 transform it into a MalformedURLException.
453
454 2003-12-19 Michael Koch <konqueror@gmx.de>
455
456 * gnu/java/nio/ChannelOutputStream.java: New file.
457 * java/nio/channels/Channels.java
458 (newOutputStream): Implemented.
459 * Makefile.am (ordinary_java_source_files)
460 Added gnu/java/nio/ChannelOutputStream.java.
461 * Makefile.in: Regenerated.
462
463 2003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
464
465 * java/awt/FlowLayout.java (layoutContainer): Let components
466 assume their preferred height. Centre components vertically.
467
468 2003-12-19 Michael Koch <konqueror@gmx.de>
469
470 * gnu/java/nio/ChannelInputStream.java: New file.
471 * java/nio/channels/Channels.java (newInputStream): Implemented.
472 * java/nio/channels/FileChannelImpl.java
473 (readImpl): Only put data into buffer if something was read.
474 * Makefile.am (ordinary_java_source_files):
475 Added gnu/java/nio/ChannelInputStream.java.
476 * Makefile.in: Regenerated.
477
478 2003-12-19 Michael Koch <konqueror@gmx.de>
479
480 * gnu/java/nio/OutputStreamChannel.java: New file.
481 * java/nio/channels/Channels.java (newChannel): Implemented.
482 * Makefile.am (ordinary_java_source_files):
483 Added gnu/java/nio/OutputStreamChannel.java.
484 * Makefile.in: Regenerated.
485
486 2003-12-19 Michael Koch <konqueror@gmx.de>
487
488 * Makefile.am (ordinary_java_source_files):
489 Added gnu.java.nio.InputStreamChannel.
490 * Makefile.in: Regenerated.
491
492 2003-12-19 Michael Koch <konqueror@gmx.de>
493
494 * gnu/java/nio/InputStreamChannel.java: New file.
495 * java/nio/channels/Channels.java (newChannel): Implemented.
496
497 2003-12-19 Michael Koch <konqueror@gmx.de>
498
499 * java/util/SimpleTimeZone.java
500 (setStartRule): Reformated documentation.
501 (setEndRule): Reworked documentation.
502 (getDSTSavings): Fixed @since tag.
503 (setDSTSavings): New method.
504
505 2003-12-19 Michael Koch <konqueror@gmx.de>
506
507 * java/text/NumberFormat.java: Sorted imports.
508 (getCurrency): New method.
509 (setCurrency): New method.
510
511
512 2003-12-19 Michael Koch <konqueror@gmx.de>
513
514 * java/text/MessageFormat.java
515 (MessageFormat): New constructor.
516
517 2003-12-19 Michael Koch <konqueror@gmx.de>
518
519 * gnu/java/net/protocol/jar/Handler.java
520 (parseURL): New method.
521 (toExternalForm): New method.
522
523 2003-12-18 Fernando Nasser <fnasser@redhat.com>
524
525 * java/awt/List.java (replaceItem): Prevent selection to move with
526 replace and minimize flickering.
527
528 2003-12-18 Michael Koch <konqueror@gmx.de>
529
530 * libltdl/ltdl.c: Define __private_extern__ if needed.
531
532 2003-12-18 Michael Koch <konqueror@gmx.de>
533
534 * libltdl/.cvsignore: Ignore autom4te.cache
535 * libltdl/Makefile.in: Regenerated.
536 * libltdl/aclocal.m4: Regenerated.
537 * libltdl/acconfig.h: Removed (obsolete).
538 * libltdl/config-h.in: Regenerated.
539 * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
540 * libltdl/configure: Regenerated.
541
542 2003-12-18 Michael Koch <konqueror@gmx.de>
543
544 * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
545 java.text.CollationElementIterator tests as they compile again.
546 * testsuite/libjava.mauve/xfails: Added failing
547 java.text.CollationElementIterator tests.
548
549 2003-12-18 Michael Koch <konqueror@gmx.de>
550
551 * java/util/prefs/AbstractPreferences.java
552 (cachedChildren): New method.
553
554 2003-12-18 Michael Koch <konqueror@gmx.de>
555
556 * java/util/TimeZone.java (getOffset): New method.
557
558 2003-12-17 Fernando Nasser <fnasser@redhat.com>
559
560 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
561 of ActionEvents for mouse double-clicks.
562
563 2003-12-17 Fernando Nasser <fnasser@redhat.com>
564
565 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
566 null Graphics pointer returned by FileDialogPeer.
567
568 2003-12-17 Michael Koch <konqueror@gmx.de>
569
570 * libltdl/stamp-h.in: Removed, not used anymore.
571
572 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
573
574 * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
575 Removed unused InterruptedIOException.h include.
576 * gnu/java/net/natPlainSocketImplWin32.cc
577 (connect): Reset and ignore our thread's interrupted
578 flag instead of testing and throwing an InterruptedIOException
579 if set.
580 (accept): Likewise + changed case of SocketTimeoutException
581 text.
582 (write): Likewise (for both overloads).
583 (doRead): Likewise.
584
585 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
586
587 * win32.cc (WSAEventWrapper): Implemented default
588 constructor and init() methods.
589 (_Jv_select): Removed.
590 * gnu/java/nio/natSelectorImplWin32.cc
591 (helper_put_filedescriptors): Removed.
592 (helper_get_filedescriptors): Removed.
593 (implSelect): Implemented in terms of WSAEventWrapper
594 and WSAWaitForMultipleEvents instead of _Jv_select().
595 Added support for thread interruption.
596 * include/win32.h (WSAEventWrapper): Minor formatting
597 changes; added default constructor declaration, init(),
598 getFD() and getEventHandle() methods.
599 (_Jv_select): Removed.
600
601 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
602
603 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
604 (peekData): Throw SocketTimeoutException instead of
605 InterruptedIOException on timeout.
606 (receive): Likewise.
607 * gnu/java/net/natPlainSocketImplPosix.cc
608 (read): Made a minor exception text case change.
609
610 2003-12-16 Michael Koch <konqueror@gmx.de>
611
612 Fix for PR libgcj/13056.
613 * libltdl/configure.in,
614 libltdl/config.h.in: Removed.
615 * libltdl/configure.ac,
616 libltdl/config-h.in,
617 libltdl/install-sh,
618 libltdl/config.guess,
619 libltdl/config.sub,
620 libltdl/missing,
621 libltdl/mkinstalldirs,
622 libltdl/ltmain.sh: New files.
623 * libltdl/Makefile.am,
624 libltdl/acinclude.m4,
625 libltdl/aclocal.m4,
626 libltdl/ltdl.c,
627 libltdl/ltdl.h,
628 libltdl/README: Update to versions from libtool 1.5.
629 libltdl/configure,
630 * libltdl/Makefile.in: Regenerated.
631 * java/lang/natRuntime.cc (find_symbol):
632 Use type 'lt_ptr' instead of 'lt_ptr_t'.
633
634 2003-12-16 Michael Koch <konqueror@gmx.de>
635
636 * java/awt/MenuComponent.java
637 (serialVersionUID): Fixed value.
638
639 2003-12-16 Fernando Nasser <fnasser@redhat.com>
640
641 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
642 (pre_event_handler): Handle GtkButton widgets differently as events
643 go to its event_window.
644 (connect_awt_hook): Remove compiler warning.
645
646 i2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
647
648 * java/io/ObjectInputStream.java
649 (lookupClass): New method.
650 (currentLoader): New method.
651 (inputGetObjectStreamClasses): New method.
652 (assignNewHandle): Documented.
653 (currentClassLoader): Documented.
654 * java/io/ObjectStreamClass.java
655 (setClass): Changed API. Better handling of the imported/exported
656 fields.
657 (getSerialPersistentFields): Make it throw previously caught exceptions
658 so they can handled in setClass.
659
660 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
661
662 * java/io/ObjectStreamField.java: A few methods were added in prevision
663 of the upcoming upgrade of the serialization code. This also adds
664 some missing documentation.
665 (ObjectStreamField): We should throw a NullPointerException when 'name'
666 is null.
667
668 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
669
670 * java/io/ObjectInputStream.java (setBooleanField):
671 Throw an InvalidClassException if the field hasn't the required type,
672 documentation added.
673 (setByteField) Likewise.
674 (setCharField) Likewise.
675 (setDoubleField) Likewise.
676 (setFloatField) Likewise.
677 (setIntField) Likewise.
678 (setShortField) Likewise.
679 (setLongField) Likewise.
680 (setObjectField) Likewise.
681
682 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
683 Helmer Kraemer <hkraemer@freenet.de>
684
685 * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
686 Splitted the method so we can specify an explicit boot loader.
687
688 2003-12-15 Graydon Hoare <graydon@redhat.com>
689
690 * jni/gtk-peer/gdkfont.h: New file.
691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
692 include of cairo-xlib.h, add extra gdk_flush().
693
694 2003-12-12 Fernando Nasser <fnasser@redhat.com>
695
696 * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
697 native state table -- native_global_ref_table.
698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
699 native_global_ref_table pointer.
700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
701 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
702 global reference is deleted and memory allocated for pointer freed.
703 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
704 JNI global reference instead of JNI local reference.
705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
706 (pre_event_handler): Remove compilation warning.
707 (connect_awt_hook): Use saved JNI global reference instead of creating
708 a new one.
709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
710 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
711 reference to the Java object.
712 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
713 unused variable declaration and add comment.
714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
715 (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
716 reference to the Java object.
717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
718 (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
720 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
721 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
722 JNI global reference instead of JNI local reference.
723 (item_toggled): Add debug statement.
724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
725 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
726 reference to the Java object.
727 (connect_choice_item_selectable_hook): Use saved JNI global references
728 instead of JNI local reference.
729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
730 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
731 global reference to the Java object.
732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
733 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
734 reference to the Java object.
735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
736 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
738 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
740 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
742 (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
743 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
744 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
745 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
746 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
748 (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
749 (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
750 JNI global reference instead of JNI local reference.
751 (item_selected): Add debug statement.
752 (item_unselected): Add debug statement.
753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
754 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
755 reference to the Java object.
756 Connect "activate" signal handler using global JNI reference.
757 (connect_activate_hook): Removed in favor of inline code.
758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
759 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
760 reference to the Java object.
761 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
762 JNI global reference instead of JNI local reference. Add FIXME comment.
763 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
764 reference to the Java object. Add FIXME comment.
765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
766 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
767 reference to the Java object.
768 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
769 JNI global reference instead of JNI local reference.
770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
771 (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
772 saved JNI global reference instead of JNI local reference.
773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
774 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
775 reference to the Java object.
776 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
777 JNI global reference instead of JNI local reference.
778
779 2003-12-11 Michael Koch <konqueror@gmx.de>
780
781 * java/text/Format.java (serialVersionUID): Fixed value.
782
783 2003-12-11 Michael Koch <konqueror@gmx.de>
784
785 * javax/naming/event/EventDirContext.java: Jalopied.
786 (addNamingListener): Fixed typo in method name.
787
788
789 2003-12-11 Mohan Embar <gnustuff@thisiscool.com>
790
791 * gnu/java/nio/SocketChannelImpl.java
792 (write): Removed diagnostic trace.
793 * gnu/java/nio/natSelectorImplPosix.cc: Added
794 includes for java.lang.Thread and java.io.InterruptedIOException.
795 (helper_put_filedescriptors): Don't put invalid file descriptors
796 in select set.
797 (helper_get_filedescriptors): Clear invalid file descriptors
798 from select set.
799 (helper_reset): New method for clearing our file descriptor
800 array.
801 (implSelect): Correctly calculate timeout if specified and
802 legal.
803 Intercept and deal with any java.io.InterruptedIOException
804 thrown by _Jv_select().
805
806 2003-12-08 Fernando Nasser <fnasser@redhat.com>
807
808 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
809 Most coded moved to pre_event_handler, with the modifications
810 mentioned below.
811 (pre_event_handler): New function. Called on the Gtk "event" signal.
812 Do not retrieve the jobject from the window property as it is already
813 available as user data in the signal.
814 Do not try and find the grab widget as it is already done by Gtk at
815 this point.
816 Do not search for Window ancestor as Gtk already sends the signal to it.
817 Do not meddle with the activation state of peer widgets on each
818 key press or release.
819 Add CList to the special handling when looking for the focused widget.
820 * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
822 New function.
823 (connectSignals): New function.
824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
825 Rename to...
826 (connectSignals): New name. Get rid of NewGlobalRef call.
827 Use g_signal_connect instead of deprecated gtk_signal_connect.
828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
829 (connect_choice_item_selectable_hook): Use g_signal_connect instead of
830 deprecated gtk_signal_connect.
831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
834 (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
836 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
837 function.
838 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
839 function.
840 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
841 function.
842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
843 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
844 function.
845 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
846 function.
847 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
848 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
849 function.
850 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
851 function.
852 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
853 function.
854 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
855 code.
856 (item_select): Remove indirection.
857 (item_unselect): Ditto.
858 (connect_selectable_hook): Folded into connectSignals.
859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
860 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
861 function.
862 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
863 function.
864 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
865 function.
866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
867 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
868 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
869 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
870 function.
871 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
872 function.
873 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call
874 connectJObject and connectSignals instead of connectHooks.
875 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
876 connectSignals.
877 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
878 and not connectHooks.
879 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
880 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
881 and not connectHooks.
882 * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
883 connectSignals instead of connectHooks.
884 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
885 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
886 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto.
887
888 2003-12-09 Michael Koch <konqueror@gmx.de>
889
890 * Makefile.am (nat_headers_install): New variable with header files to
891 install automatically.
892 (install-data-local): Install all headers listed in
893 nat_headers_install. Install innert nat headers explicitely.
894 * Makefile.in: Regenerated.
895
896 2003-12-09 Michael Koch <konqueror@gmx.de>
897
898 * java/util/Calendar.java,
899 java/util/IdentityHashMap.java,
900 java/util/prefs/Preferences.java:
901 Import used classes explicitely.
902
903 2003-12-09 Michael Koch <konqueror@gmx.de>
904
905 * java/net/DatagramSocket.java
906 (close): Directly return if socket is closed.
907 * java/net/ServerSocket.java
908 (close): Directly return if socket is closed.
909 * java/net/Socket.java
910 (close): Directly return if socket is closed.
911
912 2003-12-09 Michael Koch <konqueror@gmx.de>
913
914 * gnu/java/nio/SelectorImpl.java
915 (implSelect): Throws IOException.
916 (select): Likewise.
917
918 2003-12-08 Kim Ho <kho@redhat.com>
919
920 Fix for Checkbox states.
921 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
922 (currentState): New field.
923 (nativeCreate): Add initial state parameter.
924 (create): Changed to reflect new parameter.
925 (setState): Fire only on changed states.
926 (postItemEvent): Fire only on changed states. Also change the
927 Java Checkbox to reflect new state.
928 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
929 (nativeCreate): Add parameter and set active state.
930
931 2003-12-08 Fernando Nasser <fnasser@redhat.com>
932
933 * java/awt/datatransfer/StringSelection.java (getTransferData): Return
934 object of type expected by specified DataFlavor.
935
936 2003-12-08 Fernando Nasser <fnasser@redhat.com>
937
938 * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
939 error which was clipping off the first character of a parameter value.
940
941 2003-12-08 Olga Rodimina <rodimina@redhat.com>
942
943 * java/awt/Polygon.java
944 (translate): Fixed error that caused polygon
945 to move right/left when up/down translation was required.
946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
947 (getSelectionStart): Initialized start position to 0.
948 (getSelectionEnd): Initialized end position to 0.
949 (getCaretPosition): Initialized caret position to 0.
950 (getText): Initialized selected text to NULL
951
952 2003-12-08 Michael Koch <konqueror@gmx.de>
953
954 Fix for PR libgcj/13176.
955 * java/io/PrintStream.java: Partly revert my previous patches to get
956 (line_separator): New field.
957 (converter): New field.
958 (work): New field.
959 (work_bytes): New field.
960 (pw): Removed.
961 (closed): Removed.
962 (PrintStrean): Initialize converter and not pw.
963 (checkError): Flush always, pw doesn't exist anymore.
964 (close): Close underlying out stream.
965 (print): New method.
966 (writeChars): New method.
967 (print): Use new internal print method.
968 (println): Likewise.
969
970 2003-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
971
972 * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
973 putAllInternal.
974 (putAllInternal): Correct comment.
975 * java/util/HashMap.java (HashMap(Map)): As above.
976 (putAllInternal): As above.
977
978 2003-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
979
980 * java/util/Hashtable.java (internalContainsValue): Removed.
981 (containsValue): Don't delegate to internalContainsValue.
982
983 2003-12-06 Michael Koch <konqueror@gmx.de>
984
985 * javax/naming/directory/Attribute.java,
986 javax/naming/directory/Attributes.java,
987 javax/naming/directory/DirContext.java,
988 javax/naming/directory/InitialDirContext.java,
989 javax/naming/directory/SearchResult.java,
990 javax/naming/event/EventContext.java,
991 javax/naming/event/NamingEvent.java,
992 javax/naming/event/NamingExceptionEvent.java,
993 javax/naming/ldap/ControlFactory.java,
994 javax/naming/ldap/ExtendedRequest.java,
995 javax/naming/ldap/HasControls.java,
996 javax/naming/ldap/InitialLdapContext.java,
997 javax/naming/ldap/LdapContext.java,
998 javax/naming/ldap/LdapReferralException.java,
999 javax/naming/ldap/UnsolicitedNotification.java,
1000 javax/naming/ldap/UnsolicitedNotificationListener.java,
1001 javax/naming/spi/DirObjectFactory.java,
1002 javax/naming/spi/DirStateFactory.java,
1003 javax/naming/spi/DirectoryManager.java,
1004 javax/naming/spi/NamingManager.java,
1005 javax/naming/spi/ObjectFactoryBuilder.java,
1006 javax/naming/spi/ResolveResult.java,
1007 javax/naming/spi/Resolver.java,
1008 javax/naming/spi/StateFactory.java:
1009 Import used classes explicitely.
1010
1011 2003-12-05 Scott Gilbertson <scottg@mantatest.com>
1012
1013 * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1014 (clip): Removed field
1015 (clipRectangles): New field.
1016 (clone): Use new updateClip.
1017 (setClipRectangles): Use new updateClip.
1018 * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1019
1020 2003-12-04 Michael Koch <konqueror@gmx.de>
1021
1022 * java/io/FilePermission.java:
1023 Import used classes explicitely.
1024
1025 2003-12-04 Michael Koch <konqueror@gmx.de>
1026
1027 * java/beans/BeanDescriptor.java,
1028 java/beans/EventSetDescriptor.java,
1029 java/beans/FeatureDescriptor.java,
1030 java/beans/IndexedPropertyDescriptor.java,
1031 java/beans/Introspector.java,
1032 java/beans/MethodDescriptor.java,
1033 java/beans/PropertyDescriptor.java,
1034 java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1035 * java/beans/beancontext/BeanContextServicesSupport.java
1036 (serialVersionUID): New field.
1037
1038 2003-12-04 Michael Koch <konqueror@gmx.de>
1039
1040 * java/awt/MenuComponent.java: Import java.io.Serialization.
1041 * java/awt/MenuItem.java: Likewise.
1042 * java/awt/TextComponent.java: Likewise.
1043 * java/awt/image/ImagingOpException.java
1044 (serialVersionUID): Fixed.
1045
1046 2003-12-04 Michael Koch <konqueror@gmx.de>
1047
1048 * gnu/java/net/protocol/http/Connection.java
1049 (sendRequest): Merged writing http headers with classpath.
1050 (getInputStream): Merged documentation from classpath.
1051 (getHeaderField): Likewise.
1052 (getHeaderFieldKey): Likewise.
1053
1054 2003-12-04 Michael Koch <konqueror@gmx.de>
1055
1056 * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1057
1058 2003-12-04 Michael Koch <konqueror@gmx.de>
1059
1060 * java/net/DatagramPacket.java
1061 (length): Made packge-private to make it accessible via CNI.
1062 (maxlen): New field.
1063 (DatagramPacket): Cleaned up.
1064 (setSocketAddress): Add message to exception.
1065 (setData): Call other setData().
1066 (setData): Call setLength().
1067 (setLength): Initialize maxlen too.
1068 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1069 Get maximal length from maxlen field, set length field directly.
1070 (receive): Likewise.
1071 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1072 Get maximal length from maxlen field, set length field directly.
1073 (receive): Likewise.
1074
1075 2003-12-03 Mohan Embar <gnustuff@thisiscool.com>
1076
1077 * gnu/java/nio/natSelectorImplPosix.cc
1078 (implSelect): A timeout of 0 means an infinite
1079 timeout.
1080
1081 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1082
1083 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1084 of ActionEvents.
1085
1086 2003-12-03 Michael Koch <konqueror@gmx.de>
1087
1088 * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1089 * java/lang/natClass.cc (getSigners): Likewise.
1090 (setSigners): Likewise.
1091
1092 2003-12-02 Mohan Embar <gnustuff@thisiscool.com>
1093
1094 * configure.in: Added new MinGW-specific configure flag
1095 --with-win32-nlsapi.
1096 Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1097 Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1098 is set to unicows.
1099 * configure: Rebuilt.
1100 * include/config.h.in: Rebuilt.
1101 * win32.cc (_Jv_Win32NewString): Implemented.
1102 (nativeToUnicode): New helper function defined only for
1103 non-UNICODE builds.
1104 (unicodeToNative): Likewise.
1105 (_Jv_Win32TempString): Implemented.
1106 (lots): Refactored using tchar.h macros.
1107 (WSAEventWrapper): Use _Jv_Win32NewString.
1108 (_Jv_platform_initialize): Use GetModuleFileNameA instead
1109 of GetModuleFileName.
1110 (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1111 Use temporary stack buffer instead of a heap buffer.
1112 * include/win32.h
1113 Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1114 defined; added tchar.h include.
1115 (_Jv_Win32TempString): Declared new helper class.
1116 (JV_TEMP_STRING_WIN32): New helper macro.
1117 (_Jv_Win32NewString): Declared new helper method.
1118 * java/io/natFileDescriptorWin32.cc (open): Use
1119 JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1120 (write): Reformatted slightly.
1121 * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1122 use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1123 (getCanonicalPath): Use _Jv_Win32NewString instead of
1124 JvNewStringUTF.
1125 (performList): Likewise.
1126 * java/lang/natWin32Process.cc (ChildProcessPipe):
1127 Use tchar.h macros.
1128 (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1129 and UNICODE environment flag for CreateProcess.
1130 * java/net/natNetworkInterfaceWin32.cc
1131 (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1132 _Jv_Win32NewString.
1133
1134 2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1135
1136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1137 (initState): Mark obj parameter as unused.
1138 (stringWidth): Mark obj parameter as unused. Initialize
1139 font_name properly.
1140
1141 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1142 BufferedImageBuilder class static.
1143
1144 2003-12-02 Mark Wielaard <mark@klomp.org>
1145
1146 * java/security/Security.java: Don't use in the api doc.
1147
1148 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1149
1150 Reported by: Jim Pick <jim@kaffe.org>
1151 * libraries/javalib/java/util/Hashtable.java
1152 (internalcontainsValue): New method.
1153 (contains): Delegate to internalContainsValue.
1154
1155 Reported by: Mark Wielaard <mark@klomp.org>
1156 * libraries/javalib/java/util/Hashtable.java
1157 (contains): Improved comment.
1158
1159 Reported by: Jeroen Frijters <jeroen@frijters.net>
1160 * libraries/javalib/java/util/Hashtable.java
1161 (containsValue): Delegate to contains(Object) to make sure older
1162 code overwriting it continues to work.
1163
1164 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1165
1166 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1167 method. Handle mouse and key events that must generate
1168 ActionEvents.
1169 * java/awt/List.java (getSelectedIndex): Return -1
1170 if no list element is selected.
1171 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1172 Correct handling of mouse and key events so that List receives them.
1173 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1174 (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1175 multiple list elements.
1176
1177 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
1178
1179 * java/text/SimpleDateFormat.java (compileFormat):
1180 isLowerCase() and isUpperCase() allow too many characters.
1181 Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1182
1183 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1184
1185 * java/text/FieldPosition.java (equals): Fixed comment.
1186
1187 2003-12-02 Mark Wielaard <mark@klomp.org>
1188
1189 Reported by Archie Cobbs:
1190 * java/security/DigestInputStream.java (read(byte[], int, int): Call
1191 digest.update() with temp, not len as lenght.
1192
1193 2003-12-02 Michael Koch <konqueror@gmx.de>
1194
1195 * java/net/DatagramSocket.java
1196 (close): Close associated DatagramChannel object.
1197 * java/net/ServerSocket.java
1198 * java/net/Socket.java
1199 (close): Reset impl and bound before calling getChannel().close() to
1200 prevent from loops.
1201
1202 2003-12-02 Michael Koch <konqueror@gmx.de>
1203
1204 * java/nio/channels/spi/AbstractInterruptibleChannel.java
1205 (opened): Removed.
1206 (closed): New field.
1207 (close): Check of channel is closed already.
1208 (isOpen): Return !closed.
1209
1210 2003-12-02 Michael Koch <konqueror@gmx.de>
1211
1212 * gnu/java/nio/DatagramChannelImpl.java
1213 (blocking): Initialize with true by default.
1214 * gnu/java/nio/ServerSocketChannelImpl.java
1215 (serverSocket): Made private.
1216 (blocking): Likewise.
1217 (connected): Likewise.
1218 * gnu/java/nio/SocketChannelImpl.java
1219 (connectionPending): Made private.
1220 * gnu/java/nio/FileLockImpl.java
1221 (static): Load native library (needed for classpath).
1222 * gnu/java/nio/SelectorImpl.java
1223 (static): Load native library (needed for classpath).
1224
1225 2003-12-02 Michael Koch <konqueror@gmx.de>
1226
1227 * gnu/java/net/protocol/file/Connection.java
1228 (getLastModified): Implement for file connections.
1229 (getContentLength): Likewise.
1230
1231 2003-12-02 Michael Koch <konqueror@gmx.de>
1232
1233 * gnu/java/net/protocol/file/Connection.java:
1234 Some reformating.
1235 (file): Renamed from fileIn.
1236 (getPermission): Moved around.
1237
1238 2003-12-02 Michael Koch <konqueror@gmx.de>
1239
1240 * gnu/java/net/protocol/jar/Connection.java
1241 (Connection): Made class final, merged documentation with classpath.
1242 (file_cache): Made private.
1243 (jar_file): Renamed from jarfile.
1244
1245 2003-12-02 Michael Koch <konqueror@gmx.de>
1246
1247 * gnu/java/net/protocol/http/Connection.java
1248 (Connection): Initialize doOutput to false;
1249 (connect): Initialize inputStream, moved "send request" code to new
1250 method.
1251 (sendRequest): New method.
1252 (getHttpHeaders): Don't reinitialize inputStream.
1253
1254 2003-12-02 Michael Koch <konqueror@gmx.de>
1255
1256 * gnu/java/net/protocol//http/Connection.java
1257 (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1258 (requestProperties): Initialize, documentation added.
1259 (inputStream): Renamed from bufferedIn.
1260 (Connection): Dont initialize requestProperties.
1261 (setDefaultRequestProperty): Removed.
1262 (getDefaultRequestProperty): Removed.
1263 (usingProxy): Documentation added.
1264 (getHttpHeaders): Likewise.
1265
1266 2003-12-02 Michael Koch <konqueror@gmx.de>
1267
1268 * java/text/DateFormat.java:
1269 Explicitely import used classes.
1270
1271 2003-12-01 Jeff Sturm <jsturm@one-point.com>
1272
1273 * verify.cc (state::clean_subrs): Clear seen_subrs.
1274 (state::copy): Walk seen_subrs from copy, not `this'.
1275 Don't clear seen_subrs.
1276
1277 2003-12-01 Kim Ho <kho@redhat.com>
1278
1279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1280 Disable wrapping if TextArea has horizontal scroll bars.
1281
1282 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1283
1284 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1285 (awt_event_handler): Hard-code inset values.
1286
1287 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1288 Pass font name, not XLFD, to initState.
1289 (stringWidth(String, int, String)): New method.
1290 (stringWidth(String)): Call new stringWidth.
1291 (getLeading): Always return 0.
1292 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1293 (initState): New Pango implementation.
1294 (stringWidth): Likewise.
1295
1296 2003-12-01 Olga Rodimina <rodimina@redhat.com>
1297
1298 * java/awt/TextComponent.java:
1299 (getSelectionStart): Updated javadocs.
1300 (getSelectionEnd): Ditto.
1301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1302 (getSelectionStart): Changed to return caret position if no
1303 text is selected
1304 (getSelectionEnd): Ditto.
1305
1306 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1307
1308 * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1309 gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1310 gnu/awt/gtk/GtkContainerPeer.java,
1311 gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1312 gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1313 gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1314 gnu/awt/gtk/natGtkComponentPeer.cc,
1315 gnu/awt/gtk/natGtkContainerPeer.cc,
1316 gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1317 gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1318 gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1319
1320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1321 (closed): Mark loader parameter as unused.
1322
1323 2003-12-01 Michael Koch <konqueror@gmx.de>
1324
1325 * gnu/java/net/protocol/http/Connection.java
1326 (Connection): Merged class documentation.
1327 (socket): Renamed from sock.
1328 (Connection): Made protected, documentation added.
1329 (connect): Give URL'S host instead of InetAddress to Socket
1330 constructor.
1331 (disconnect): Documentation added.
1332 (getOutputStream): Rewrapped.
1333
1334 2003-12-01 Michael Koch <konqueror@gmx.de>
1335
1336 * gnu/java/net/protocol/file/Connection.java
1337 (fileIn): Documentation added.
1338 (inputStream): Likewise.
1339 (outputStream): Likewise.
1340 (Connection): Likewise.
1341 (connect): Simplified.
1342
1343 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1344
1345 * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1346 setProperties): Check that io is not null before calling
1347 io.imageUpdate.
1348 * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1349 Update javadocs.
1350 * java/awt/image/PixelGrabber.java: Fix implementation and
1351 update javadocs.
1352
1353 2003-12-01 Michael Koch <konqueror@gmx.de>
1354
1355 * gnu/java/net/natPlainSocketImplPosix.cc
1356 bind(): Dont set SockedImpl.address field on succesful bind.
1357 * gnu/java/net/natPlainSocketImplWin32.cc
1358 bind(): Likewise.
1359
1360 2003-11-30 Jeff Sturm <jsturm@one-point.com>
1361
1362 * java/net/InetAddress.java:
1363 (static): Don'f force DNS request for ANY_IF address.
1364
1365 2003-11-30 Michael Koch <konqueror@gmx.de>
1366
1367 * java/net/InetAddress.java,
1368 java/net/natInetAddressNoNet.cc,
1369 java/net/natInetAddressPosix.cc,
1370 java/net/natInetAddressWin32.cc:
1371 Reverted my last patch.
1372
1373 2003-11-28 Michael Koch <konqueror@gmx.de>
1374
1375 * java/net/InetAddress.java
1376 (lookup): New method that doesnt lookup "0.0.0.0".
1377 (ImplLookup): Renamed from lookup.
1378 * java/net/natInetAddressNoNet.cc
1379 (ImplLookup): Renamed from lookup.
1380 * java/net/natInetAddressPosix.cc
1381 (ImplLookup): Renamed from lookup.
1382 * java/net/natInetAddressWin32.cc
1383 (ImplLookup): Renamed from lookup.
1384
1385 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1386
1387 * configure: Rebuilt.
1388 * configure.in: Require gtk and glib 2.2.0.
1389
1390 2003-11-27 Dalibor Topic <robilad@kaffe.org>
1391
1392 * java/text/FieldPosition.java (equals): Adapted to handle
1393 field_attribute. Added fast-circuit check for comparison to self.
1394 Replaced use of instanceof by getClass to fix symmetry for derived
1395 types.
1396 (toString): Adapted to handle field_attribute. Improved readability.
1397 (hashCode): New method.
1398
1399 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1400
1401 * java/text/FieldPosition.java (field_attribute): New field.
1402 (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1403 getFieldAttribute): New methods.
1404
1405 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1406
1407 * java/text/DecimalFormatSymbols.java (locale): New field.
1408 (DecimalFormatSymbols (Locale)): Set locale.
1409 (serialVersionOnStream): Upgraded to number 2.
1410 (readObject): Assign locale if it wasn't by the serializer.
1411
1412 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1413
1414 * java/text/FormatCharacterIterator.java: Documented the class and
1415
1416 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1417
1418 * java/text/FormatCharacterIterator.java: Fixed some typos.
1419
1420 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1421
1422 * java/text/NumberFormat.java:
1423 (getIntegerInstance) Added the java version in the comments.
1424
1425 2003-11-27 Mark Wielaard <mark@klomp.org>
1426
1427 * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1428 (readResolve): Reformat.
1429
1430 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1431
1432 * java/text/NumberFormat.java
1433 (NumberFormat.Field): New implemented class to match Java 1.4.
1434 (getIntegerInstance): Two new Java 1.4 methods.o
1435
1436 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1437
1438 * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1439 the leap day of the leap year twice.
1440 (computeFields): First week of month is 1 not 0.
1441
1442 2003-11-27 Mark Wielaard <mark@klomp.org>
1443
1444 * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1445 AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1446
1447 2003-11-27 Michael Koch <konqueror@gmx.de>
1448
1449 * javax/swing/UIDefaults.java:
1450 Reformated to match classpath's version.
1451
1452 2003-11-27 Sascha Brawer <brawer@dandelis.ch>
1453
1454 * javax/swing/UIManager.java (getDefaults, getDimension,
1455 getIcon, getInsets, getInstalledLookAndFeels, getInt,
1456 getLookAndFeel, getString, getSystemLookAndFeelClassName):
1457 Declare as public.
1458
1459 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1460
1461 * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1462 * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1463 isSignificant): Likewise.
1464
1465 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1466
1467 * javax/swing/undo/CompoundEdit.java: Re-format, document.
1468 (inProgress): Set initial value to true.
1469 (undo, redo, die, canUndo, canRedo): Also call inherited
1470 implementation; simplify code structure.
1471 (getPresentationName, getUndoPresentationName,
1472 getRedoPresentationName): Make behavior dependent on lastEdit.
1473 (addEdit, isSignificant): Completely re-written.
1474
1475 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1476
1477 * javax/swing/undo/StateEdit.java: Re-format, document.
1478 (undo, redo): Also call inherited implementation.
1479
1480 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1481
1482 * javax/swing/undo/StateEditable.java: Re-format, document.
1483
1484 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1485
1486 * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1487 (AbstractUndoableEdit): Initialize hasBeenDone to true.
1488 (canUndo, canRedo): Simplify.
1489 (getUndoPresentationName, getRedoPresentationName): Support
1490 localized message; call getPresentationName() only once.
1491
1492 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
1493
1494 * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1495 (ZipFile(File,int)): Likewise.
1496
1497 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
1498
1499 * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1500 (putAllInternal): Likewise.
1501 * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1502 (putAllInternal): Likewise.
1503
1504 2003-11-26 Michael Koch <konqueror@gmx.de>
1505
1506 * java/net/URLStreamHandler.java
1507 (parseURL): Added comment in catch statement.
1508 (canonicalizeFilename): Add documentation.
1509 (sameURL): Completed documentation.
1510 (equals): Likewise.
1511 (hostsEqual): Likewise.
1512 (getDefaulPort): Likewise.
1513 (hashCode): Likewise.
1514 (toExternalForm): Likewise.
1515 (getHostName): Fix empty hostname check, completed documentation.
1516
1517 2003-11-26 Tom Tromey <tromey@redhat.com>
1518
1519 * java/lang/natDouble.cc (parseDouble): Reverted patch of
1520 2003-11-13.
1521
1522 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
1523 Mark Wielaard <mark@klomp.org>
1524
1525 * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1526 ('@' should be checked to distinguish port from userinfo).
1527 (toExternalForm): Add @ userInfo if necessary.
1528
1529
1530 2003-11-26 Michael Koch <konqueror@gmx.de>
1531
1532 * java/net/DatagramSocket.java
1533 (DategramSocket, bind): Moved binding code from DatagramSocket
1534 constructor to bind method.
1535
1536 2003-11-26 Michael Koch <konqueror@gmx.de>
1537
1538 * java/net/DatagramSocket.java
1539 (impl): Made private.
1540 (bound): New private member variable.
1541 (DatagramSocket): Fixed documentation, use getImpl().
1542 (getImpl): New package-private method.
1543 (isClosed): Use getImpl().
1544 (getLocalAddress): Completed documentation, use getImpl().
1545 (getLocalPort): Use getImpl().
1546 (getSoTimeout): Likewise.
1547 (setSoTimeout): Likewise.
1548 (getSendBufferSize): Likewise.
1549 (setSendBufferSize): Likewise.
1550 (getReceiveBufferSize): Likewise.
1551 (setReceiveBufferSize): Likewise.
1552 (connect): Likewise.
1553 (disconnect): Likewise.
1554 (receive): Likewise.
1555 (send): Likewise.
1556 (setReuseAddress): Likewise.
1557 (setTrafficClass): Likewise.
1558 (bind): Added message to exception.
1559 (isClosed): Completed documentation.
1560 (getChannel): Likewise.
1561 (connect): Added missing exception, refined exception message.
1562 (isBound): Completed documentation, just return bound.
1563 (isConnected): Completed documentation.
1564 (getRemoteSocketAddress): Likewise.
1565 (getReuseAddress): Completed documentation, use getImpl().
1566 (setSoBroadcast): Likewise.
1567 (getSoBroadcast): Likewise.
1568 (getTrafficClass): Likewise.
1569 (getLocalSocketAddress): Simplified.
1570 * java/net/MulticastSocket.java
1571 (MulticastSocket): Removed comment not applying anymore.
1572 (getInterface): Use getImpl().
1573 (getTTL): Likewise.
1574 (getTimeToLive): Likewise.
1575 (setInterface): Likewise.
1576 (setNetworkInterface): Likewise.
1577 (getNetworkInterface): Likewise.
1578 (setLoopback): Likewise.
1579 (getLoopback): Likewise.
1580 (setTTL): Likewise.
1581 (setTimeToLive): Likewise.
1582 (joinGroup): Likewise.
1583 (leaveGroup): Likewise.
1584 (send): Likewise.
1585
1586 2003-11-26 Michael Koch <konqueror@gmx.de>
1587
1588 * java/net/Socket.java
1589 (implCreated): Dont set default value explicitely, added
1590 documentation.
1591 (inputShutdown): Likewise.
1592 (outputShutdown): Likewise.
1593 (bound): New private member variable.
1594 (bind): Set bound to true.
1595 (close): Set bound to false.
1596 (isBound): Return bound.
1597 * java/net/ServerSocket.java
1598 (bound): New private member variable.
1599 (bind): Set bound to true.
1600 (close): Set bound to false.
1601 (isBound): Return bound.
1602
1603 2003-11-26 Michael Koch <konqueror@gmx.de>
1604
1605 * java/net/URL.java
1606 (URL): Fixed documentation to be HTML compliant.
1607 (getContent): Completed documentation.
1608 (getFile): Likewise.
1609 (getPath): Likewise.
1610 (getAuthority): Likewise.
1611 (getHost): Likewise.
1612 (getDefaultPort): Likewise.
1613 (getProtocol): Likewise.
1614 (hashCode): Likewise.
1615 (openConnection): Likewise.
1616 (openStream): Likewise.
1617 (set): Likewise.
1618 (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1619
1620 2003-11-26 Michael Koch <konqueror@gmx.de>
1621
1622 * java/net/InetSocketAddress.java
1623 (hostname): Made private, added documentation.
1624 (addr): Likewise.
1625 (port): Likewise.
1626 (equals): Completed documentation.
1627 (getAddress): Likewise.
1628 (getHostName): Likewise.
1629 (getPort): Likewise.
1630 (hashCode): Likewise.
1631 (isUnresolved): Likewise.
1632 (toString): Likewise.
1633
1634 2003-11-26 Michael Koch <konqueror@gmx.de>
1635
1636 * gnu/java/net/protocol/file/Handler.java
1637 (Handler): New explicit constructor.
1638 (openConnection): Added documentation.
1639 * gnu/java/net/protocol/jar/Handler.java
1640 (Handler): New explicit constructor.
1641 (openConnection): Added documentation.
1642
1643 2003-11-26 Michael Koch <konqueror@gmx.de>
1644
1645 * java/net/DatagramPacket.java
1646 (DatagramPacket): Fixed documentation to become legal HTML.
1647
1648 2003-11-25 Michael Koch <konqueror@gmx.de>
1649
1650 * gcj/javaprims.h: Added missing java.util.Currency.
1651
1652 2003-11-25 Michael Koch <konqueror@gmx.de>
1653
1654 * testsuite/libjava.mauve/xfails:
1655 Removed these two tests, they mystically pass now:
1656 -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1657 test_params failed - 5getInetAddress did not return proper values
1658 (number 1)
1659 -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1660 test_BasicServer failed - 11 exception was thrown :Illegal seek
1661 (number 1)
1662
1663 2003-11-25 Michael Koch <konqueror@gmx.de>
1664
1665 * java/net/DatagramSocket.java
1666 (factory): Made private.
1667 (closed): Removed.
1668 (DatagramSocket): Check impl argument, use constructor with
1669 SocketAddress argument.
1670 (close): Set impl to null, use isClosed().
1671 (isClosed): Check for impl == null.
1672 (getLocalAddress): Use isClosed().
1673 (getLocalPort): Check if socket is closed.
1674 (getSoTimeout): Likewise.
1675 (setSoTimeout): Likewise.
1676 (getSendBufferSize): Likewise.
1677 (setSendBufferSize): Likewise.
1678 (getReceiveBufferSize): Likewise.
1679 (setReceiveBufferSize): Likewise.
1680 (receive): Likewise.
1681 (send): Likewise.
1682 (bind): Likewise.
1683 (connect): Likewise.
1684 (setReuseAddress): Likewise.
1685 (getReuseAddress): Likewise.
1686 (setBroadcast): Likewise.
1687 (getBroadcast): Likewise.
1688 (setTrafficClass): Likewise.
1689 (getTrafficClass): Likewise.
1690 * java/net/MulticastSocket.java
1691 (getInterface): Check if socket is closed.
1692 (getTTL): Likewise.
1693 (getTimeToLive): Likewise.
1694 (setInterface): Likewise.
1695 (setNetworkInterface): Likewise.
1696 (getNetworkInterface): Likewise.
1697 (setLoopbackMode): Likewise.
1698 (setTTL): Likewise.
1699 (setTimeToLive): Likewise.
1700 (joinGroup): Likewise.
1701 (leaveGroup): Likewise.
1702 (send): Likewise.
1703 * java/net/ServerSocket.java
1704 (closed): Removed.
1705 (close): Check if socket is closed, set impl to null.
1706 (isClosed): Check impl == null;
1707 (ServerSocket): Check impl argument.
1708 (getInetAddress): Check if socket is bound.
1709 (getLocalPort): Likewise.
1710 (getLocalSocketAddress): Likewise.
1711 (bind): Check if socket is closed.
1712 (implAccept): Likewise.
1713 (setSoTimeout): Likewise.
1714 (getSoTimeout): Likewise.
1715 (setReuseAddress): Likewise.
1716 (getReuseAddress): Likewise.
1717 (setReceiveBufferSize): Likewise.
1718 (getReceiveBufferSize): Likewise.
1719 (toString): Make output compliant to JDK 1.4.2.
1720 * java/net/Socket.java
1721 (closed): Removed.
1722 (Socket): Fixed documentation.
1723 (connect): Check if socket is closed, changed exception text,
1724 fixed documentation.
1725 (getInputStream): Check of socket is closed and connected.
1726 (getOutputStream): Likewise.
1727 (bind): Check if socket is closed.
1728 (setTcpNoDelay): Likewise.
1729 (getTcpNoDelay): Likewise.
1730 (setSoLinger): Likewise.
1731 (getSoLinger): Likewise.
1732 (sendUrgentData): Likewise.
1733 (setOOBInline): Likewise.
1734 (getOOBInline): Likewise.
1735 (setSoTimeout): Likewise.
1736 (getSoTimeout): Likewise.
1737 (setSendBufferSize): Likewise.
1738 (getSendBufferSize): Likewise.
1739 (setReceiveBufferSize): Likewise.
1740 (getReceiveBufferSize): Likewise.
1741 (setKeepAlive): Likewise.
1742 (getKeepAlive): Likewise.
1743 (close): Likewise.
1744 (shutdownInput): Likewise.
1745 (shutdownOutput): Likewise.
1746 (getReuseAddress): Likewise.
1747 (getTrafficClass): Likewise.
1748 (setTrafficClass): Likewise.
1749 (isClosed): Check impl == null.
1750 (toString): Added missing ']'.
1751
1752 2003-11-24 Tom Tromey <tromey@redhat.com>
1753
1754 * Makefile.in: Rebuilt.
1755 * Makefile.am (propdir): New macro.
1756 (install-data-local): Install logging.properties.
1757 (core_java_source_files): Added java.util.logging.*.
1758 * java/util/logging/logging.properties: New file.
1759
1760 2003-11-25 Michael Koch <konqueror@gmx.de>
1761
1762 * java/net/DatagramSocket.java
1763 (DatagramSocket): Move binding code to bind(), simplify constructors.
1764 * java/net/MulticastSocket.java
1765 (MulticastSocket): Call parent constructor with null argument,
1766 bind socket after setReuseAddress is called, simplify constructors.
1767
1768 2003-11-24 Michael Koch <konqueror@gmx.de>
1769
1770 * javax/swing/BoxLayout.java
1771 (serialVersionUIR): New member variable.
1772 (X_AXIS, Y_AXIS): Documentation added.
1773 (LINE_AXIS, PAGE_AXIS): New constants.
1774 (grid): Renamed from gridbag.
1775 (BoxLayout): Use new constants, throw exception if invalid value for
1776 way, added documentation.
1777 (BoxLayout): Removed.
1778 (addLayoutComponent): Use new constants, added documentation.
1779 (removeLayoutComponent): Likewise.
1780 (addLayoutContainer): Added documentation.
1781 (preferredLayoutSize): Added documentation, check given argument.
1782 (minimumLayoutSize): Likewise.
1783 (layoutContainer): Likewise.
1784 (getLayoutAlignmentX): Likewise.
1785 (getLayoutAlignmentY): Likewise.
1786 (invalidateLayout): Likewise.
1787 (maximumLayoutSize): Likewise.
1788
1789 2003-11-22 Michael Koch <konqueror@gmx.de>
1790
1791 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1792 (peekData): Use offset and maximal free space in datagram packet.
1793 (receive): Likewise.
1794 (send): Use offset in datagram packet.
1795
1796 2003-11-22 Michael Koch <konqueror@gmx.de>
1797
1798 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1799 (peekData): Use offset and maximal free space in datagram packet.
1800 (receive): Likewise.
1801 (send): Use offset in datagram packet.
1802
1803 2003-11-22 Michael Koch <konqueror@gmx.de>
1804
1805 * gnu/java/nio/DatagramChannelImpl.java
1806 (getNativeFD): Use getPlainDatagramSocketImpl().
1807 * gnu/java/nio/NIODatagramSocket.java
1808 (getPlainDatagramSocketImpl): Renamed from getImpl().
1809 * gnu/java/nio/NIOSocket.java
1810 (getPlainSocketImpl): Renamed from getImpl().
1811 (setChannel): Use getPlainSocketImpl().
1812 * gnu/java/nio/SocketChannelImpl.java
1813 (SocketChannelImpl): Use getPlainSocketImpl().
1814 (getPlainSocketImpl): Renamed from getImpl().
1815 (getNativeFD): Use getPlainSocketImpl().
1816
1817 2003-11-18 Graydon Hoare <graydon@redhat.com>
1818
1819 *