1 2005-01-13 Mark Wielaard <mark@klomp.org>
3 * configure.ac: Set version to 0.20.
4 * NEWS: Add entries for all the new work done.
6 2005-01-13 Mark Wielaard <mark@klomp.org>
8 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
10 2005-01-13 Mark Wielaard <mark@klomp.org>
12 * java/util/regex/Pattern.java (Pattern): Chain REException.
14 2006-01-13 Chris Burdess <dog@gnu.org>
16 * gnu/xml/xpath/NameTest.java: Removed debugging output.
18 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
20 * java/security/Security.java
21 (getProperty): Added hack to skip security check when trusted
22 code is direct caller.
24 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
26 * java/io/PrintStream.java
27 (line_separator, PrintStream(OutputStream,boolean)): Use
30 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
32 * gnu/java/nio/charset/Provider.java: Added comment about its
33 special relation with CharsetProvider.
35 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
36 its special relation with CharsetProvider.
38 * java/nio/charset/spi/CharsetProvider.java
39 (CharsetProvider): Add special case to skip security check for
42 2005-01-13 Mark Wielaard <mark@klomp.org>
44 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
45 name, accel, mnemonic and command are defined before setting.
47 2005-01-12 Mark Wielaard <mark@klomp.org>
49 * javax/swing/plaf/metal/MetalFileChooserUI.java
50 (FileRenderer.getListCellRendererComponent): Set empty name and null
51 icon when File is null.
53 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
55 * gnu/java/rmi/server/UnicastRef.java (newCall):
56 Throw ConnectException after catching IOException.
58 2006-01-12 Lillian Angel <langel@redhat.com>
60 * javax/swing/text/DefaultStyledDocument.java
61 (insertUpdate): Removed unneeded check.
63 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
65 * javax/swing/text/DefaultStyledDocument.java:
66 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
67 and we haven't come immediately after a fracture, adjust the Element
68 offsets. Added comment explaining the situation.
69 (insert): Return early if no ElementSpecs passed in. Removed redundant
70 call to insertUpdate. Fired the UndoableEditUpdate.
72 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
75 * gnu/regexp/RE.java(initialize): Fixed the parsing of
76 character classes within a subexpression.
78 2006-12-12 Lillian Angel <langel@redhat.com>
80 * javax/swing/text/DefaultStyledDocument.java
81 (insertUpdate): Added check to check if attribute set is
83 (insertUpdate): Added check to determine if last character
84 is a newline. If it is, we should not be fracturing.
85 (insert): Added check to determine if attribute set is empty.
86 If it is, insertUpdate should not be called.
88 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
90 * configure.ac: Check for isnan.
92 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
95 2006-01-12 Chris Burdess <dog@gnu.org>
97 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
100 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
102 * javax/swing/TransferHandler.java:
103 (TransferAction<init>): Call super constructor. Fixes Mauve regression
104 gnu/testlet/javax/swing/JTextField/CopyPaste.
106 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
108 * resource/Makefile.am: Install
109 logging.properties into $(prefix)/lib.
110 * resource/Makefile.am (securitydir): Changed to
111 $(prefix)/lib/security.
113 2006-01-12 Roman Kennke <kennke@aicas.com>
115 * javax/swing/JTextField.java
116 (createDefaultModel): Moved installation of the filterNewlines
117 property to setDocument().
118 (setDocument): New method. Installs the filterNewlines property
121 2006-01-12 Chris Burdess <dog@gnu.org>
123 * gnu/xml/dom/DomNode.java,
124 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
126 * gnu/xml/xpath/NameTest.java,
127 gnu/xml/xpath/NamespaceTest.java,
128 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
130 * gnu/xml/transform/MessageNode.java: Use standard logging system
131 for outputting messages.
133 2006-01-12 Tom Tromey <tromey@redhat.com>
135 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
136 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
137 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
138 (static initializer): Removed cache code.
139 (checkCacheFor, addToCache): Removed.
140 (getAllByName): Removed cache code.
141 (lookup_time): Removed.
142 (InetAddress): Updated.
144 2006-01-12 Chris Burdess <dog@gnu.org>
146 * gnu/xml/dom/DomDocument.java,
147 gnu/xml/dom/DomElement.java,
148 gnu/xml/dom/DomNode.java,
149 gnu/xml/stream/XMLParser.java,
150 gnu/xml/transform/Bindings.java,
151 gnu/xml/transform/ElementAvailableFunction.java,
152 gnu/xml/transform/ElementNode.java,
153 gnu/xml/transform/FunctionAvailableFunction.java,
154 gnu/xml/transform/NamespaceProxy.java,
155 gnu/xml/transform/StreamSerializer.java,
156 gnu/xml/transform/Stylesheet.java,
157 gnu/xml/transform/TransformerImpl.java,
158 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
159 document and element nodes; correct coalescing semantics when parsing;
160 attribute-sets can only refer to top-level variables and parameters;
161 fix namespace retrieval during element-available and
162 function-available functions; implement xsl:fallback for extension
163 elements; tokenize whitespace correctly during whitespace stripping;
164 correct following and previous node axes selectors.
166 2006-01-12 Roman Kennke <kennke@aicas.com>
168 * java/util/Hashtable.java
169 (KeyEnumerator.nextElement): Added null check to avoid NPE.
170 (ValueEnumerator.nextElement): Added null check to avoid NPE.
172 2006-01-12 Lillian Angel <langel@redhat.com>
174 * javax/swing/text/GapContent.java
175 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
177 2006-01-12 Mark Wielaard <mark@klomp.org>
179 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
180 Throw UnknowHostException when name could not be resolved.
182 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
185 (static, getURLStreamHandler): Use SystemProperties.
187 2006-01-12 Mark Wielaard <mark@klomp.org>
189 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
190 Use packet.getLength().
191 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
192 (nativeReceive): Check whether the receiver wants zero bytes.
194 2006-01-12 Mark Wielaard <mark@klomp.org>
196 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
197 other side orderly closed connection.
198 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
199 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
200 when end of stream reached.
202 2006-01-12 Mark Wielaard <mark@klomp.org>
204 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
206 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
207 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
208 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
209 * native/jni/java-net/javanet.c: Likewise.
211 2006-01-12 Mark Wielaard <mark@klomp.org>
213 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
216 2006-01-11 Chris Burdess <dog@gnu.org>
218 * gnu/xml/transform/AttributeNode.java,
219 gnu/xml/transform/ElementNode.java,
220 gnu/xml/transform/LiteralNode.java,
221 gnu/xml/transform/StreamSerializer.java,
222 gnu/xml/transform/StrippingInstruction.java,
223 gnu/xml/transform/Stylesheet.java,
224 gnu/xml/transform/TransformerImpl.java,
225 gnu/xml/transform/ValueOfNode.java,
226 gnu/xml/xpath/Expr.java,
227 gnu/xml/xpath/LocalNameFunction.java,
228 gnu/xml/xpath/NameFunction.java,
229 gnu/xml/xpath/NameTest.java,
230 gnu/xml/xpath/NamespaceUriFunction.java,
231 gnu/xml/xpath/NodeTypeTest.java,
232 gnu/xml/xpath/SubstringFunction.java,
233 javax/xml/namespace/QName.java: don't determine element namespace
234 from namespace aliases when specified; better namespace handling
235 when serializing elements; don't create HTML meta element unless
236 head element exists; correct encoding of CDATA sections containing
237 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
238 default encoding for HTML output; rewrite of XSLT
239 strip-space/preserve-space handling; correct doctype-public and
240 doctype-system output attributes; insert generated doctype before
241 document element; fixed result tree whitespace stripping
242 algorithm; fixed semantics of XPath name, local-name, and
243 namespace-uri functions; name tests handle XML/XMLNS namespaces
244 correctly; fixed semantics of processing-instruction node test.
245 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
248 2006-01-11 Lillian Angel <langel@redhat.com>
250 * javax/swing/text/DefaultStyledDocument.java
251 (insertFracture): Added calls to addEdit for each time a structure
252 is changed. addEdit is called on the newBranch, previous, and parent
255 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
257 * javax/swing/text/DefaultStyledDocument.java:
258 (ElementBuffer.insertContentTag): Don't adjust the structure here.
259 This will have been taken care of in insertFracture. Added a comment
260 explaining that we need to add edits to the DocumentEvent and that
261 this may be the place to do it.
263 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
265 * javax/swing/text/DefaultStyledDocument.java:
266 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
267 tag is an end tag. Avoid NPE by pushing the proper Element on to the
268 elementStack when there is a start tag with JoinNextDirection.
270 2006-01-11 Roman Kennke <kennke@aicas.com>
272 Reported by: Fridjof Siebert <siebert@aicas.com>
273 * java/util/Hashtable.java
274 (KEYS): Removed unneeded field.
275 (VALUES): Removed unneeded field.
276 (ENTRIES): Removed unneeded field.
277 (keys): Return a KeyEnumerator instance.
278 (elements): Returns a ValueEnumerator instance.
279 (toString): Use an EntryIterator instance.
280 (keySet): Return a KeyIterator instance.
281 (values): Return a ValueIterator instance.
282 (entrySet): Return an EntryIterator instance.
283 (hashCode): Use EntryIterator instance.
284 (rehash): Changed this loop to avoid redundant reads and make
285 it obvious that null checking is not needed.
286 (writeObject): Use EntryIterator instance.
287 (HashIterator): Removed class.
288 (Enumerator): Removed class.
289 (EntryIterator): New class.
290 (KeyIterator): New class.
291 (ValueIterator): New class.
292 (EntryEnumerator): New class.
293 (KeyEnumerator): New class.
294 (ValueEnumerator): New class.
296 2006-01-11 Lillian Angel <langel@redhat.com>
298 * javax/swing/text/DefaultStyledDocument.java
299 (toString): Shouldn't append the '>' character here.
300 (createDefaultRoot): Should not set the resolve parent. This
301 causes problems when comparing attribute sets.
303 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
305 * javax/swing/text/DefaultStyledDocument.java:
306 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
308 (ElementBuffer.insertFracture): New method.
309 (ElementBuffer.insertContentTag): Removed unnecessary case for
310 JoinFractureDirection - this only applies to start tags, not content
312 (insertUpdate): Corrected conditions for setting direction to
315 2006-01-10 Roman Kennke <kennke@aicas.com>
317 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
318 * ChangeLog-2005: New File.
320 2006-01-10 Roman Kennke <kennke@aicas.com>
322 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
323 (get): Release the array with the correct pointer.
324 (put): Release the array with the correct pointer. Copy the array
325 around _before_ releasing it.
327 2006-01-10 Roman Kennke <kennke@aicas.com>
329 * javax/swing/ViewportLayout.java
330 (layoutContainer): Fixed condition, to avoid ClasscastException.
332 2006-01-10 Roman Kennke <kennke@aicas.com>
334 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
335 (MouseHandler.mousePressed): Fixed indendation.
336 (MouseHandler.mouseDragged): Fixed indendation.
338 2006-01-10 Roman Kennke <kennke@aicas.com>
340 * javax/swing/plaf/basic/BasicLookAndFeel.java
341 (playSound): Added @since 1.4 to the API docs.
343 2006-01-10 Roman Kennke <kennke@aicas.com>
345 * javax/swing/plaf/basic/BasicListUI.java
346 (maybeUpdateLayoutState): Also update the layout state, if the
347 list has been invalidated since the last update.
349 2006-01-10 Roman Kennke <kennke@aicas.com>
351 * javax/swing/plaf/ComponentUI.java
352 (update): Fixed indendation.
354 2006-01-10 Roman Kennke <kennke@aicas.com>
356 * javax/swing/ViewportLayout.java
357 (layoutContainer): Fixed condition, so that Scrollable components
358 are always forced to have to Viewport size, when they
359 return true for getScrollableTracksViewportHeight() and ..Width().
361 2006-01-10 Roman Kennke <kennke@aicas.com>
363 * javax/swing/RepaintManager.java
364 (validateInvalidComponents): Fixed condition to avoid NPE.
366 2006-01-10 Roman Kennke <kennke@aicas.com>
368 * javax/swing/JViewport.java:
369 (static_initializer): Removed unused variable myScrollMode.
371 2006-01-10 Roman Kennke <kennke@aicas.com>
373 * javax/swing/JTabbedPane.java:
374 Cleared API docs a little.
376 2006-01-10 Roman Kennke <kennke@aicas.com>
378 * java/util/StringTokenizer.java
379 (StringTokenizer(String, String, boolean)):
380 Don't trigger NPE here for conformance with the spec.
382 2006-01-10 Roman Kennke <kennke@aicas.com>
384 * java/util/ArrayList.java
385 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
387 2006-01-10 Roman Kennke <kennke@aicas.com>
389 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
390 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
393 2006-01-10 Roman Kennke <kennke@aicas.com>
395 * native/jni/java-net/javanet.c
396 (_javanet_shutdownOutput): Replaced strerror() with
397 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
398 (_javanet_shutdownInput): Replaced strerror() with
399 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
401 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
403 * java/beans/EventSetDescriptor.java: Reformatted and
406 2006-01-10 Roman Kennke <kennke@aicas.com>
408 * java/lang/SecurityManager.java
409 Fully qualified AWT class references in API docs.
411 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
413 * java/beans/EventSetDescriptor.java:
414 (getGetListenerMethod): New method.
416 2006-01-10 Mark Wielaard <mark@klomp.org>
418 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
420 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
423 * java/util/Hashtable.java
424 (contains): Call equals on existing value.
425 (containsKey, get, put, remove): Call equals on existing key.
426 (getEntry): Call equals on existing entry.
428 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
431 * java/util/AbstractMap.java
432 (equals(Object,Object)): Test for identity first.
433 * java/util/WeakHashMap.java
434 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
435 (WeakBucket.WeakEntry.toString): Fixed string representation of
437 (internalGet): Use helper method to determine equality.
439 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
441 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
444 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
446 * javax/swing/text/PlainDocument.java:
447 (insertUpdate): Handle special case of an insertion immediately
448 following a newline character.
450 2006-01-09 Roman Kennke <kennke@aicas.com>
452 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
453 (connect): Added stream parameter to _connect() call.
454 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
455 (connect): Added stream parameter to _connect() call.
456 * native/jni/java-net/javanet.c
457 (_javanet_create_localfd): Added stream parameter. Look up
458 fd field based on the stream parameter either in SocketImpl or
459 in DatagramSocketImpl.
460 (_javanet_connect): Added stream parameter. Call create_localfd
461 using this stream parameter. Set localPort field either in
462 SocketImpl or in DatagramSocketImpl, depending on the stream
464 * native/jni/java-net/javanet.c
465 (_javanet_connect): Added stream parameter.
467 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
469 * javax.management.Attribute.java: Grammar and
472 2006-01-09 Mark Wielaard <mark@klomp.org>
474 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
475 exception when channel is not readable or writable.
476 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
477 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
478 there is enough space to mmap().
480 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
482 * java/beans/Introspector.java:
483 (getBeanInfo(Class, int)): New method.
484 (getBeanInfo(Class, Class): Moved common code in a new method.
487 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
489 * java/beans/XMLEncoder.java: Fix spelling mistakes.
491 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
493 * javax/swing/text/DefaultStyledDocument.java:
494 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
495 inlined this method because it needs to change the value of the
496 finalStartTag and finalStartDirection variables.
497 (checkForInsertAfterNewline): Removed this method.
498 (handleInsertAfterNewline): Added case for making the start tag's
499 direction JoinNextDirection.
501 2006-01-09 Lillian Angel <langel@redhat.com>
503 * javax/swing/plaf/basic/BasicTreeUI.java:
505 (setRowHeight): Row height is set to the max height of
506 all the nodes, or 20 as a default value.
507 (getPathBounds): Cleaned up code.
508 (getMaxHeight): New helper function that gets the max
509 height of all the rows.
510 (getClosestPathForLocation): Fixed to use getMaxHeight.
511 (updateCachedPreferredSize): Likewise.
512 (installUI): Shouldn't expand tree on startup.
513 (getNodeDimensions): Fixed to use getMaxHeight.
515 2006-01-09 Mark Wielaard <mark@klomp.org>
517 * javax/swing/JList.java (setSelectedIndex): Clear selection when
518 argument is negative.
520 2006-01-08 Mark Wielaard <mark@klomp.org>
522 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
524 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
526 * javax.management.Attribute.java: New file.
528 2006-01-09 Roman Kennke <kennke@aicas.com>
530 * java/net/DatagramSocketImpl.java
531 (localPort): Renamed to localport for correct access from native
534 2006-01-09 Roman Kennke <kennke@aicas.com>
536 * javax/swing/Popup.java
537 (LightweightPopup.hide): Repaint the layered pane when popup is
540 2006-01-09 Roman Kennke <kennke@aicas.com>
542 * java/awt/Container.java
543 (remove): Don't repaint the container here.
545 2006-01-08 Tom Tromey <tromey@redhat.com>
547 * java/lang/InheritableThreadLocal.java: Organized imports.
549 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
552 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
553 when an empty string matched an empty token.
555 2006-01-08 Chris Burdess <dog@gnu.org>
557 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
558 content models from external entities.
559 * gnu/xml/stream/UnicodeReader.java: Report error instead of
560 attempting to continue with unpaired surrogates.
561 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
562 resolving entities with character entity references; better
563 checking of valid character ranges; don't report an error for URI
564 fragments in notation declarations; check unbound namespace
565 prefixes for elements and attributes, including XML 1.1 unbinding
566 syntax; namespace-aware checking of attribute duplicates.
568 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
570 * java/beans/Statement.java: Doc fixes.
571 (doExecute): Workaround for Class.forName call.
572 (toString): Made output look more like on the JDK.
573 * java/beans/Expression.java: Doc fixes.
574 (toString): Made output look more like on the JDK.
575 * java/beans/PersistenceDelegate.java,
576 java/beans/DefaultPersistenceDelegate.java,
577 java/beans/Encoder.java,
578 java/beans/XMLEncoder.java: New file.
579 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
580 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
581 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
582 gnu/java/beans/encoder/Context.java,
583 gnu/java/beans/encoder/GenericScannerState.java,
584 gnu/java/beans/encoder/IgnoringScannerState.java,
585 gnu/java/beans/encoder/MapPersistenceDelegate.java,
586 gnu/java/beans/encoder/ObjectId.java,
587 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
588 gnu/java/beans/encoder/ReportingScannerState.java,
589 gnu/java/beans/encoder/Root.java,
590 gnu/java/beans/encoder/ScanEngine.java,
591 gnu/java/beans/encoder/ScannerState.java,
592 gnu/java/beans/encoder/StAXWriter.java,
593 gnu/java/beans/encoder/Writer.java: New file.
594 * gnu/java/beans/encoder/elements/Array_Get.java,
595 gnu/java/beans/encoder/elements/Element.java,
596 gnu/java/beans/encoder/elements/List_Set.java,
597 gnu/java/beans/encoder/elements/Array_Set.java,
598 gnu/java/beans/encoder/elements/NullObject.java,
599 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
600 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
601 gnu/java/beans/encoder/elements/StringReference.java,
602 gnu/java/beans/encoder/elements/ClassResolution.java,
603 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
604 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
605 gnu/java/beans/encoder/elements/ObjectReference.java,
606 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
607 gnu/java/beans/encoder/elements/List_Get.java,
608 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
610 2006-01-08 Chris Burdess <dog@gnu.org>
612 * java/lang/Character.java (toChars,toCodePoint): Correct these
613 methods to use algorithms from Unicode specification.
615 2006-01-08 Mark Wielaard <mark@klomp.org>
617 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
619 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
622 * examples/Makefile.am: Corrected DESTDIR install paths.
624 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
626 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
627 ASCII character (line 46).
629 2006-01-07 Roman Kennke <kennke@aicas.com>
631 * javax/swing/text/TableView.java: New file.
633 2006-01-07 Chris Burdess <dog@gnu.org>
635 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
636 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
637 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
638 available; correct handling of unparsed entity references;
639 absolutize all base URIs; remove commented out code.
641 2006-01-07 Chris Burdess <dog@gnu.org>
643 * gnu/xml/stream/SAXParser.java,
644 gnu/xml/stream/XMLParser.java: Add SAX property to return base
645 URI of the current event.
647 2006-01-07 Chris Burdess <dog@gnu.org>
649 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
652 2006-01-07 Chris Burdess <dog@gnu.org>
654 * gnu/xml/stream/SAXParser.java,
655 gnu/xml/stream/XIncludeFilter.java,
656 gnu/xml/stream/XMLParser.java: Updated documentation.
658 2006-01-07 Chris Burdess <dog@gnu.org>
662 2006-01-06 Casey Marshall <csm@gnu.org>
664 * AUTHORS: add myself.
666 2006-01-06 Casey Marshall <csm@gnu.org>
669 * javax/crypto/CipherInputStream.java (logger): new constant.
670 (cipher): make final.
671 (outLength, inBuffer, inLength): removed.
672 (isStream): make final.
673 (VIRGIN, LIVING, DYING, DEAD, state): removed.
675 (<init>): call `super,' not `this;' remove `inBuffer' and
676 `outBuffer' initialization; init `eof;' add debug logging.
677 (<init>): call `this' with a new null cipher.
678 (available): fix javadoc to reflect the real semantics; if we
679 don't have a buffer, call `nextBlock.'
680 (close): synchronize.
681 (read): synchronize; fix testing for buffered data.
682 (read): synchronize; add `skip' semantics if first argument is
683 `null;' decrypt stream cipher data only if there is any; fix tests
685 (skip): stop using `available' to see how many data are buffered.
686 (nextBlock): simplify to use cipher-allocated output buffers
687 instead of internally allocated ones.
689 2006-01-06 Tom Tromey <tromey@redhat.com>
691 * java/lang/String.java (codePointCount): Fixed javadoc.
693 2006-01-06 Tom Tromey <tromey@redhat.com>
695 * java/lang/String.java (contains): Added @since.
697 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
700 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
701 * gnu/regexp/RETokenRepeated.java(match): Break the loop
702 when an empty string matched an empty token.
704 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
707 * gnu/java/util/WeakIdentityHashMap.java: New file.
708 * java/lang/InheritableThreadLocal.java
709 (newChildThread): Modified to remove key indirection.
710 * java/lang/Thread.java
711 (locals): Changed type to WeakIdentityHashMap.
712 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
714 * java/lang/ThreadLocal.java
716 (get, set): Changed to use "this" instead of "key".
718 2006-01-06 Dalibor Topic <robilad@kaffe.org>
720 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
722 * native/fdlibm/java-assert.h: Removed file.
724 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
725 Replaced use of JvAssert by assert.
727 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
729 * javax/swing/text/DefaultCaret.java:
730 (setDot): Fixed paramater to Math.max to be this.dot and not the
733 2006-01-05 Roman Kennke <kennke@aicas.com>
735 * javax/swing/plaf/basic/BasicListUI.java
736 (getCellHeight): New helper method.
737 (getCellBounds): Use new helper method for determining the cell
739 (paint): Don't call list.indexToLocation() but instead call
740 directly into the same UI method.
741 (locationToIndex): Fixed calculation of # visible rows and handling
743 (indexToLocation): Fixed calculation of # visible rows and handling
746 2006-01-05 Roman Kennke <kennke@aicas.com>
748 * javax/swing/plaf/metal/MetalFileChooserUI.java
749 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
752 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
754 * javax/swing/JTextPane.java:
755 (replaceSelection): If the document is an AbstractDocument, use replace
756 rather than remove and insert.
757 * javax/swing/event/EventListenerList.java:
758 (getListeners): Reversed the order of the listeners to match the
759 reference implementation.
760 * javax/swing/text/AbstractDocument.java:
761 (insertString): Add the UndoableEdit from the content.insertString call
762 to the DocumentEvent.
763 (DefaultDocumentEvent.toString): Implemented.
764 * javax/swing/text/DefaultCaret.java:
765 (setDot): Make sure dot is > 0 and less than the length of the
767 * javax/swing/text/DefaultStyledDocument.java:
768 (ElementBuffer.insertUpdate): Set the modified tag of the document
769 event when we get start and end tags. This ensures that we create the
770 proper BranchElements in endEdit().
771 (ElementBuffer.insertUpdate): Added FIXME to handle
772 JoinFractureDirection case.
773 (insertUpdate): Added code to check if we're inserting immediately
774 after a newline and to handle this case (create start and end tags).
775 Only change the direction of the first and last tags if they are of
777 (checkForInsertAfterNewline): New helper method.
778 (handleInsertAfterNewline): Likewise.
779 * javax/swing/text/View.java:
780 (updateLayout): Avoid NPE by checking if shape is null. Repaint
783 2006-01-05 Mark Wielaard <mark@klomp.org>
785 * newsitems.txt: Add fosdem meeting.
786 * events/events.wml: Likewise.
787 * events/fosdem06.wml: New file.
789 2006-01-05 Lillian Angel <langel@redhat.com>
791 * javax/swing/text/GapContent.java
792 (createPosition): No positions should be created inside the
793 gap. Fixed check to ensure this does not happen.
795 2006-01-05 Roman Kennke <kennke@aicas.com>
797 * javax/swing/RepaintManager.java
798 (validateInvalidComponents): Search for the validate root
799 and start validating there.
801 2006-01-05 Roman Kennke <kennke@aicas.com>
803 * javax/swing/plaf/basic/BasicListUI.java
804 (ComponentHandler): Removed unneeded class.
805 (ListDataHandler.contentsChanged): Revalidate instead of calling
807 (ListDataHandler.intervalAdded): Revalidate instead of calling
809 (ListDataHandler.intervalRemoved): Revalidate instead of calling
811 (PropertyChangeHandler.propertyChange): Or flags together instead
812 of adding them. Don't call damageLayout().
813 (componentListener): Removed unnecessary field.
814 (damageLayout): Removed unnecessary method.
815 (installListeners): Don't install unnecessary listeners.
816 (uninstallListeners): Dito.
817 (getPreferredSize): Don't ask for the real list height and
818 calculate with the previously calculated list height.
819 (locationToIndex): Renamed list parameter to l so that it doesn't
820 shadow the field with the same name.
821 (indexToLocation): Renamed list parameter to l so that it doesn't
822 shadow the field with the same name.
824 2006-01-04 Tom Tromey <tromey@redhat.com>
826 * include/.cvsignore: Ignore config-int.h.
828 2006-01-04 Roman Kennke <kennke@aicas.com>
830 * javax/swing/plaf/basic/BasicListUI.java
831 (getPreferredSize): Rewritten to match the specs.
833 2006-01-04 Roman Kennke <kennke@aicas.com>
835 * javax/swing/JFileChooser.java
836 (showOpenDialog): Set fixed width on the dialog.
837 (showSaveDialog): Set fixed width on the dialog.
838 (showDialog): Set fixed width on the dialog.
840 2006-01-04 Roman Kennke <kennke@aicas.com>
842 * javax/swing/plaf/basic/BasicListUI.java
843 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
844 Adjusted iteration to not use visibleRowCount and instead iterate
845 over the real number of elements in cellHeights.
846 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
847 Adjusted iteration to not use visibleRowCount and instead iterate
848 over the real number of elements in cellHeights.
850 2006-01-04 Roman Kennke <kennke@aicas.com>
852 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
853 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
854 Added __attribute__((__unused__)) macros to avoid gcc warnings.
856 2006-01-04 Roman Kennke <kennke@aicas.com>
858 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
859 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
861 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
862 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
864 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
866 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
867 * native/jni/java-net/Makefile.am: Adjusted for new source files.
868 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
869 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
870 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
871 * include/gnu_java_net_PlainSocketImpl.h: Removed.
872 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
873 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
875 2006-01-04 Lillian Angel <langel@redhat.com>
877 * javax/swing/plaf/metal/MetalFileChooserUI.java
878 (propertyChange): Fixed to change the combo box label
879 appropriately. Also, fixed to set the textfield's text
881 (editFile): Fixed size of editing field.
882 (installComponents): Correctly aligned all panels.
883 (installStrings): Fixed to set the label's text
884 appropriately depending on the dialog type.
886 2006-01-04 Lillian Angel <langel@redhat.com>
890 * javax/swing/JTree.java
891 (JTree): Because some L&F defaults have been updated,
892 the selectionMode for the tree needed to be set to SINGLE.
893 * javax/swing/plaf/basic/BasicFileChooserUI.java:
894 Initialized accessoryPanel.
895 * javax/swing/plaf/metal/MetalFileChooserUI.java
896 (installComponents): Added accessoryPanel to the filechooser.
898 2006-01-04 Dalibor Topic <robilad@kaffe.org>
900 * configure.ac: Added AX_CREATE_STDINT_H
902 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
904 * m4/ax_create_stdint_h.m4: New file.
906 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
907 typedefs. Removed stdint.h and inttypes.h includes.
909 2006-01-03 Mark Wielaard <mark@klomp.org>
911 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
912 register keyboard action when accelerator is not null.
913 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
914 re-register accelerator if not null.
915 (installKeyboardActions): Only put accelerator in map when not null.
917 2006-01-04 Lillian Angel <langel@redhat.com>
919 * javax/swing/plaf/basic/BasicLookAndFeel.java
920 (initComponentDefaults): Removed unneeded default.
921 * javax/swing/plaf/metal/MetalLookAndFeel.java
922 (initComponentDefaults): Added and fixed several defaults.
924 2006-01-04 Roman Kennke <kennke@aicas.com>
926 * javax/swing/plaf/basic/BasicHTML.java: New class.
928 2006-01-03 Tom Tromey <tromey@redhat.com>
930 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
931 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
933 2006-01-03 Mark Wielaard <mark@klomp.org>
935 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
937 2006-01-03 Mark Wielaard <mark@klomp.org>
939 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
940 Always call createDefaultTheme().
941 (createDefaultTheme): Check whether theme is still null.
943 2006-01-03 Mark Wielaard <mark@klomp.org>
945 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
948 2006-01-03 Lillian Angel <langel@redhat.com>
950 * javax/swing/plaf/metal/MetalLookAndFeel.java
951 (getDescription): Fixed to return the correct string.
954 (getDefaults): Added check to avoid NPE.
955 (getAcceleratorForeground): Likewise.
956 (getAcceleratorSelectedForeground): Likewise.
957 (getBlack): Likewise.
958 (getControl): Likewise.
959 (getControlDarkShadow): Likewise.
960 (getControlDisabled): Likewise.
961 (getControlHighlight): Likewise.
962 (getControlInfo): Likewise.
963 (getControlShadow): Likewise.
964 (getControlTextColor): Likewise.
965 (getControlTextFont): Likewise.
966 (getDesktopColor): Likewise.
967 (getFocusColor): Likewise.
968 (getHighlightedTextColor): Likewise.
969 (getInactiveControlTextColor): Likewise.
970 (getInactiveSystemTextColor): Likewise.
971 (getMenuBackground): Likewise.
972 (getMenuDisabledForeground): Likewise.
973 (getMenuForeground): Likewise.
974 (getMenuSelectedBackground): Likewise.
975 (getMenuSelectedForeground): Likewise.
976 (getMenuTextFont): Likewise.
977 (getPrimaryControl): Likewise.
978 (getPrimaryControlDarkShadow): Likewise.
979 (getPrimaryControlHighlight): Likewise.
980 (getPrimaryControlInfo): Likewise.
981 (getPrimaryControlShadow): Likewise.
982 (getSeparatorBackground): Likewise.
983 (getSeparatorForeground): Likewise.
984 (getSubTextFont): Likewise.
985 (getSystemTextColor): Likewise.
986 (getSystemTextFont): Likewise.
987 (getTextHighlightColor): Likewise.
988 (getUserTextColor): Likewise.
989 (getUserTextFont): Likewise.
990 (getWhite): Likewise.
991 (getWindowBackground): Likewise.
992 (getWindowTitleBackground): Likewise.
993 (getWindowTitleFont): Likewise.
994 (getWindowTitleForeground): Likewise.
995 (getWindowTitleInactiveBackground): Likewise.
996 (getWindowTitleInactiveForeground): Likewise.
998 2006-01-03 Mark Wielaard <mark@klomp.org>
1000 * javax/swing/JTextArea.java
1001 (JTextArea(Document,text,int,int)): Only call setText() when text is
1004 2006-01-03 Lillian Angel <langel@redhat.com>
1006 * javax/swing/plaf/basic/BasicFileChooserUI.java
1007 (installStrings): Fixed installation of defaults that
1008 were changed in BasicLookAndFeel.
1009 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1010 (installDefaults): Fixed installation of defaults that
1011 were changed in BasicLookAndFeel.
1013 2006-01-03 Lillian Angel <langel@redhat.com>
1015 * javax/swing/plaf/basic/BasicLookAndFeel.java
1016 (initComponentDefaults): Fixed several defaults that differed
1019 2006-01-03 Lillian Angel <langel@redhat.com>
1021 * javax/swing/tree/DefaultTreeSelectionModel.java
1022 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
1024 2006-01-03 Lillian Angel <langel@redhat.com>
1026 * javax/swing/AbstractAction.java
1027 (AbstractAction): Fixed to pass in null. Should not be
1028 an empty string. Removed TODO comment.
1029 (AbstractAction): Removed TODO comment.
1030 * javax/swing/JList.java
1031 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
1032 * javax/swing/JMenuItem.java
1033 (JMenuItem): Set all defaults if the action passed in is not null.
1034 * javax/swing/JProgressBar.java
1035 (JProgressBar): Added check to prevent NPE.
1037 2006-01-03 Lillian Angel <langel@redhat.com>
1039 * javax/swing/plaf/basic/BasicListUI.java
1040 (getPreferredSize): The JDK adds some extra space to
1041 the list, so we should as well.
1042 * javax/swing/plaf/metal/MetalFileChooserUI.java
1043 (getPreferredSize): Should only take the fileListPanel's
1044 width into account when getting the size. Also, the buttonPanel's
1045 size should not be checked, since it is in the bottomPanel already.
1046 (getMinimumSize): Likewise.
1048 2006-01-03 Lillian Angel <langel@redhat.com>
1050 * javax/swing/JList.java
1051 (init): visibleRowCount should be 7, like the JDK.
1052 * javax/swing/plaf/metal/MetalFileChooserUI.java
1053 (installComponents): No need to add the fileFilterCombo
1054 to a panel. It can be added to the row directly.
1056 2006-01-03 Lillian Angel <langel@redhat.com>
1058 PR classpath/25480 PR classpath/25478
1059 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1060 (updateViewport): Made changes suggested by
1062 * javax/swing/plaf/metal/MetalFileChooserUI.java:
1063 Removed unneeded import.
1064 (createList): Removed comment, JList wrapping
1066 (getPreferredSize): Made changes suggested by
1067 Chris Lansdown. Uses fileListPanel, instead
1069 (getMinimumSize): Uses fileListPanel, instead
1071 * javax/swing/plaf/metal/MetalRadioButtonUI.java
1072 (paintFocus): Fixed height.
1074 2006-01-03 Roman Kennke <kennke@aicas.com>
1076 * javax/swing/plaf/basic/BasicListUI.java
1077 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
1079 2006-01-03 Roman Kennke <kennke@aicas.com>
1081 * javax/swing/plaf/basic/BasicListUI.java
1082 (locationToIndex): Special case for when variable cell heights
1083 are possible. (cellHeights is used instead of cellHeight).
1084 (indexToLocation): Special case for when variable cell heights
1085 are possible. (cellHeights is used instead of cellHeight).
1087 2006-01-03 Roman Kennke <kennke@aicas.com>
1089 * javax/swing/text/DefaultStyledDocument.java
1090 (ElementBuffer.remove): New method.
1091 (ElementBuffer.removeUpdate): New method.
1092 (removeUpdate): New method.
1094 2006-01-03 Roman Kennke <kennke@aicas.com>
1097 (dist-hook): Preserve attributes of Java sources when copying to
1100 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
1102 * AUTHORS: Added self.
1103 * java/security/Security.java (getProvider): Ensures provider's name is
1104 not null, not an empty string, and is trimmed before usage.
1106 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1108 * gnu/CORBA/Poa/AOM.java (add):
1109 Changed parameter Object into gnuServantObject.
1110 (Obj.object): Changed type to gnuServantObject.
1111 (findObject): Rewritten.
1113 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
1115 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
1116 buffering. Ability has gone in Qt-4.1.x.
1118 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
1119 to have the right include flags.
1121 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
1123 * java/security/MessageDigest.java (getInstance(String,String)):
1124 Use trimmed copy of provider name.
1125 * gnu/java/security/Engine.java
1126 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
1127 service and algorithm names.
1129 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
1131 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
1132 localhost is null or is an empty string. Trim hostname before
1137 coding: iso-latin-1-unix