Resolve classpath ChangeLog merge conflict.
[gcc.git] / libjava / classpath / ChangeLog
1 2005-01-13 Mark Wielaard <mark@klomp.org>
2
3 * configure.ac: Set version to 0.20.
4 * NEWS: Add entries for all the new work done.
5
6 2005-01-13 Mark Wielaard <mark@klomp.org>
7
8 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
9
10 2005-01-13 Mark Wielaard <mark@klomp.org>
11
12 * java/util/regex/Pattern.java (Pattern): Chain REException.
13
14 2006-01-13 Chris Burdess <dog@gnu.org>
15
16 * gnu/xml/xpath/NameTest.java: Removed debugging output.
17
18 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
19
20 * java/security/Security.java
21 (getProperty): Added hack to skip security check when trusted
22 code is direct caller.
23
24 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
25
26 * java/io/PrintStream.java
27 (line_separator, PrintStream(OutputStream,boolean)): Use
28 SystemProperties.
29
30 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
31
32 * gnu/java/nio/charset/Provider.java: Added comment about its
33 special relation with CharsetProvider.
34 (static): Removed.
35 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
36 its special relation with CharsetProvider.
37 (static): Removed.
38 * java/nio/charset/spi/CharsetProvider.java
39 (CharsetProvider): Add special case to skip security check for
40 built in providers.
41
42 2005-01-13 Mark Wielaard <mark@klomp.org>
43
44 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
45 name, accel, mnemonic and command are defined before setting.
46
47 2005-01-12 Mark Wielaard <mark@klomp.org>
48
49 * javax/swing/plaf/metal/MetalFileChooserUI.java
50 (FileRenderer.getListCellRendererComponent): Set empty name and null
51 icon when File is null.
52
53 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
54
55 * gnu/java/rmi/server/UnicastRef.java (newCall):
56 Throw ConnectException after catching IOException.
57
58 2006-01-12 Lillian Angel <langel@redhat.com>
59
60 * javax/swing/text/DefaultStyledDocument.java
61 (insertUpdate): Removed unneeded check.
62
63 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
64
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.
71
72 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
73
74 Fixes bug #22802
75 * gnu/regexp/RE.java(initialize): Fixed the parsing of
76 character classes within a subexpression.
77
78 2006-12-12 Lillian Angel <langel@redhat.com>
79
80 * javax/swing/text/DefaultStyledDocument.java
81 (insertUpdate): Added check to check if attribute set is
82 empty.
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.
87
88 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
89
90 * configure.ac: Check for isnan.
91
92 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
93 define the macro.
94
95 2006-01-12 Chris Burdess <dog@gnu.org>
96
97 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
98 1.1 character ranges.
99
100 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
101
102 * javax/swing/TransferHandler.java:
103 (TransferAction<init>): Call super constructor. Fixes Mauve regression
104 gnu/testlet/javax/swing/JTextField/CopyPaste.
105
106 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
107
108 * resource/Makefile.am: Install
109 logging.properties into $(prefix)/lib.
110 * resource/Makefile.am (securitydir): Changed to
111 $(prefix)/lib/security.
112
113 2006-01-12 Roman Kennke <kennke@aicas.com>
114
115 * javax/swing/JTextField.java
116 (createDefaultModel): Moved installation of the filterNewlines
117 property to setDocument().
118 (setDocument): New method. Installs the filterNewlines property
119 on the document.
120
121 2006-01-12 Chris Burdess <dog@gnu.org>
122
123 * gnu/xml/dom/DomNode.java,
124 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
125 output.
126 * gnu/xml/xpath/NameTest.java,
127 gnu/xml/xpath/NamespaceTest.java,
128 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
129 navigation.
130 * gnu/xml/transform/MessageNode.java: Use standard logging system
131 for outputting messages.
132
133 2006-01-12 Tom Tromey <tromey@redhat.com>
134
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.
143
144 2006-01-12 Chris Burdess <dog@gnu.org>
145
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.
165
166 2006-01-12 Roman Kennke <kennke@aicas.com>
167
168 * java/util/Hashtable.java
169 (KeyEnumerator.nextElement): Added null check to avoid NPE.
170 (ValueEnumerator.nextElement): Added null check to avoid NPE.
171
172 2006-01-12 Lillian Angel <langel@redhat.com>
173
174 * javax/swing/text/GapContent.java
175 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
176
177 2006-01-12 Mark Wielaard <mark@klomp.org>
178
179 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
180 Throw UnknowHostException when name could not be resolved.
181
182 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
183
184 * java/net/URL.java
185 (static, getURLStreamHandler): Use SystemProperties.
186
187 2006-01-12 Mark Wielaard <mark@klomp.org>
188
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.
193
194 2006-01-12 Mark Wielaard <mark@klomp.org>
195
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.
201
202 2006-01-12 Mark Wielaard <mark@klomp.org>
203
204 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
205 Remove asserts.
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.
210
211 2006-01-12 Mark Wielaard <mark@klomp.org>
212
213 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
214 PR classpath/23863.
215
216 2006-01-11 Chris Burdess <dog@gnu.org>
217
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
246 aid debugging.
247
248 2006-01-11 Lillian Angel <langel@redhat.com>
249
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
253 structures.
254
255 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
256
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.
262
263 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
264
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.
269
270 2006-01-11 Roman Kennke <kennke@aicas.com>
271
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.
295
296 2006-01-11 Lillian Angel <langel@redhat.com>
297
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.
302
303 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
304
305 * javax/swing/text/DefaultStyledDocument.java:
306 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
307 end tags.
308 (ElementBuffer.insertFracture): New method.
309 (ElementBuffer.insertContentTag): Removed unnecessary case for
310 JoinFractureDirection - this only applies to start tags, not content
311 tags.
312 (insertUpdate): Corrected conditions for setting direction to
313 JoinNextDirection.
314
315 2006-01-10 Roman Kennke <kennke@aicas.com>
316
317 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
318 * ChangeLog-2005: New File.
319
320 2006-01-10 Roman Kennke <kennke@aicas.com>
321
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.
326
327 2006-01-10 Roman Kennke <kennke@aicas.com>
328
329 * javax/swing/ViewportLayout.java
330 (layoutContainer): Fixed condition, to avoid ClasscastException.
331
332 2006-01-10 Roman Kennke <kennke@aicas.com>
333
334 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
335 (MouseHandler.mousePressed): Fixed indendation.
336 (MouseHandler.mouseDragged): Fixed indendation.
337
338 2006-01-10 Roman Kennke <kennke@aicas.com>
339
340 * javax/swing/plaf/basic/BasicLookAndFeel.java
341 (playSound): Added @since 1.4 to the API docs.
342
343 2006-01-10 Roman Kennke <kennke@aicas.com>
344
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.
348
349 2006-01-10 Roman Kennke <kennke@aicas.com>
350
351 * javax/swing/plaf/ComponentUI.java
352 (update): Fixed indendation.
353
354 2006-01-10 Roman Kennke <kennke@aicas.com>
355
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().
360
361 2006-01-10 Roman Kennke <kennke@aicas.com>
362
363 * javax/swing/RepaintManager.java
364 (validateInvalidComponents): Fixed condition to avoid NPE.
365
366 2006-01-10 Roman Kennke <kennke@aicas.com>
367
368 * javax/swing/JViewport.java:
369 (static_initializer): Removed unused variable myScrollMode.
370
371 2006-01-10 Roman Kennke <kennke@aicas.com>
372
373 * javax/swing/JTabbedPane.java:
374 Cleared API docs a little.
375
376 2006-01-10 Roman Kennke <kennke@aicas.com>
377
378 * java/util/StringTokenizer.java
379 (StringTokenizer(String, String, boolean)):
380 Don't trigger NPE here for conformance with the spec.
381
382 2006-01-10 Roman Kennke <kennke@aicas.com>
383
384 * java/util/ArrayList.java
385 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
386
387 2006-01-10 Roman Kennke <kennke@aicas.com>
388
389 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
390 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
391 field to avoid NPE.
392
393 2006-01-10 Roman Kennke <kennke@aicas.com>
394
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.
400
401 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
402
403 * java/beans/EventSetDescriptor.java: Reformatted and
404 fixed API docs.
405
406 2006-01-10 Roman Kennke <kennke@aicas.com>
407
408 * java/lang/SecurityManager.java
409 Fully qualified AWT class references in API docs.
410
411 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
412
413 * java/beans/EventSetDescriptor.java:
414 (getGetListenerMethod): New method.
415
416 2006-01-10 Mark Wielaard <mark@klomp.org>
417
418 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
419
420 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
421
422 PR classpath/25727
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.
427
428 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
429
430 PR classpath/24618
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
436 null key.
437 (internalGet): Use helper method to determine equality.
438
439 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
440
441 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
442 constructors.
443
444 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
445
446 * javax/swing/text/PlainDocument.java:
447 (insertUpdate): Handle special case of an insertion immediately
448 following a newline character.
449
450 2006-01-09 Roman Kennke <kennke@aicas.com>
451
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
463 flag.
464 * native/jni/java-net/javanet.c
465 (_javanet_connect): Added stream parameter.
466
467 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
468
469 * javax.management.Attribute.java: Grammar and
470 formatting fixes.
471
472 2006-01-09 Mark Wielaard <mark@klomp.org>
473
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().
479
480 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
481
482 * java/beans/Introspector.java:
483 (getBeanInfo(Class, int)): New method.
484 (getBeanInfo(Class, Class): Moved common code in a new method.
485 (merge): New method.
486
487 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
488
489 * java/beans/XMLEncoder.java: Fix spelling mistakes.
490
491 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
492
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.
500
501 2006-01-09 Lillian Angel <langel@redhat.com>
502
503 * javax/swing/plaf/basic/BasicTreeUI.java:
504 Added new field.
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.
514
515 2006-01-09 Mark Wielaard <mark@klomp.org>
516
517 * javax/swing/JList.java (setSelectedIndex): Clear selection when
518 argument is negative.
519
520 2006-01-08 Mark Wielaard <mark@klomp.org>
521
522 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
523
524 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
525
526 * javax.management.Attribute.java: New file.
527
528 2006-01-09 Roman Kennke <kennke@aicas.com>
529
530 * java/net/DatagramSocketImpl.java
531 (localPort): Renamed to localport for correct access from native
532 code.
533
534 2006-01-09 Roman Kennke <kennke@aicas.com>
535
536 * javax/swing/Popup.java
537 (LightweightPopup.hide): Repaint the layered pane when popup is
538 removed.
539
540 2006-01-09 Roman Kennke <kennke@aicas.com>
541
542 * java/awt/Container.java
543 (remove): Don't repaint the container here.
544
545 2006-01-08 Tom Tromey <tromey@redhat.com>
546
547 * java/lang/InheritableThreadLocal.java: Organized imports.
548
549 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
550
551 Fixes bug #25679
552 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
553 when an empty string matched an empty token.
554
555 2006-01-08 Chris Burdess <dog@gnu.org>
556
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.
567
568 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
569
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.
609
610 2006-01-08 Chris Burdess <dog@gnu.org>
611
612 * java/lang/Character.java (toChars,toCodePoint): Correct these
613 methods to use algorithms from Unicode specification.
614
615 2006-01-08 Mark Wielaard <mark@klomp.org>
616
617 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
618
619 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
620
621 Fixes bug #25711
622 * examples/Makefile.am: Corrected DESTDIR install paths.
623
624 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
625
626 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
627 ASCII character (line 46).
628
629 2006-01-07 Roman Kennke <kennke@aicas.com>
630
631 * javax/swing/text/TableView.java: New file.
632
633 2006-01-07 Chris Burdess <dog@gnu.org>
634
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.
640
641 2006-01-07 Chris Burdess <dog@gnu.org>
642
643 * gnu/xml/stream/SAXParser.java,
644 gnu/xml/stream/XMLParser.java: Add SAX property to return base
645 URI of the current event.
646
647 2006-01-07 Chris Burdess <dog@gnu.org>
648
649 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
650 aware processing.
651
652 2006-01-07 Chris Burdess <dog@gnu.org>
653
654 * gnu/xml/stream/SAXParser.java,
655 gnu/xml/stream/XIncludeFilter.java,
656 gnu/xml/stream/XMLParser.java: Updated documentation.
657
658 2006-01-07 Chris Burdess <dog@gnu.org>
659
660 * AUTHORS: add self.
661
662 2006-01-06 Casey Marshall <csm@gnu.org>
663
664 * AUTHORS: add myself.
665
666 2006-01-06 Casey Marshall <csm@gnu.org>
667
668 PR classpath/25699
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.
674 (eof): new field.
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
684 for buffered data.
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.
688
689 2006-01-06 Tom Tromey <tromey@redhat.com>
690
691 * java/lang/String.java (codePointCount): Fixed javadoc.
692
693 2006-01-06 Tom Tromey <tromey@redhat.com>
694
695 * java/lang/String.java (contains): Added @since.
696
697 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
698
699 Fixes bug #25616
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.
703
704 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
705
706 PR classpath/24858
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
713 WeakHashMap.
714 * java/lang/ThreadLocal.java
715 (key, Key): Removed.
716 (get, set): Changed to use "this" instead of "key".
717
718 2006-01-06 Dalibor Topic <robilad@kaffe.org>
719
720 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
721
722 * native/fdlibm/java-assert.h: Removed file.
723
724 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
725 Replaced use of JvAssert by assert.
726
727 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
728
729 * javax/swing/text/DefaultCaret.java:
730 (setDot): Fixed paramater to Math.max to be this.dot and not the
731 parameter dot.
732
733 2006-01-05 Roman Kennke <kennke@aicas.com>
734
735 * javax/swing/plaf/basic/BasicListUI.java
736 (getCellHeight): New helper method.
737 (getCellBounds): Use new helper method for determining the cell
738 height.
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
742 of cell heights.
743 (indexToLocation): Fixed calculation of # visible rows and handling
744 of cell heights.
745
746 2006-01-05 Roman Kennke <kennke@aicas.com>
747
748 * javax/swing/plaf/metal/MetalFileChooserUI.java
749 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
750 in the file chooser.
751
752 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
753
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
766 document.
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
776 type ContentType.
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
781 container.
782
783 2006-01-05 Mark Wielaard <mark@klomp.org>
784
785 * newsitems.txt: Add fosdem meeting.
786 * events/events.wml: Likewise.
787 * events/fosdem06.wml: New file.
788
789 2006-01-05 Lillian Angel <langel@redhat.com>
790
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.
794
795 2006-01-05 Roman Kennke <kennke@aicas.com>
796
797 * javax/swing/RepaintManager.java
798 (validateInvalidComponents): Search for the validate root
799 and start validating there.
800
801 2006-01-05 Roman Kennke <kennke@aicas.com>
802
803 * javax/swing/plaf/basic/BasicListUI.java
804 (ComponentHandler): Removed unneeded class.
805 (ListDataHandler.contentsChanged): Revalidate instead of calling
806 damageLayout().
807 (ListDataHandler.intervalAdded): Revalidate instead of calling
808 damageLayout().
809 (ListDataHandler.intervalRemoved): Revalidate instead of calling
810 damageLayout().
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.
823
824 2006-01-04 Tom Tromey <tromey@redhat.com>
825
826 * include/.cvsignore: Ignore config-int.h.
827
828 2006-01-04 Roman Kennke <kennke@aicas.com>
829
830 * javax/swing/plaf/basic/BasicListUI.java
831 (getPreferredSize): Rewritten to match the specs.
832
833 2006-01-04 Roman Kennke <kennke@aicas.com>
834
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.
839
840 2006-01-04 Roman Kennke <kennke@aicas.com>
841
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.
849
850 2006-01-04 Roman Kennke <kennke@aicas.com>
851
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.
855
856 2006-01-04 Roman Kennke <kennke@aicas.com>
857
858 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
859 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
860 New VM class.
861 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
862 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
863 New file.
864 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
865 Removed.
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.
874
875 2006-01-04 Lillian Angel <langel@redhat.com>
876
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
880 correctly.
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.
885
886 2006-01-04 Lillian Angel <langel@redhat.com>
887
888 PR classpath/25473
889 PR classpath/25479
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.
897
898 2006-01-04 Dalibor Topic <robilad@kaffe.org>
899
900 * configure.ac: Added AX_CREATE_STDINT_H
901
902 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
903
904 * m4/ax_create_stdint_h.m4: New file.
905
906 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
907 typedefs. Removed stdint.h and inttypes.h includes.
908
909 2006-01-03 Mark Wielaard <mark@klomp.org>
910
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.
916
917 2006-01-04 Lillian Angel <langel@redhat.com>
918
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.
923
924 2006-01-04 Roman Kennke <kennke@aicas.com>
925
926 * javax/swing/plaf/basic/BasicHTML.java: New class.
927
928 2006-01-03 Tom Tromey <tromey@redhat.com>
929
930 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
931 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
932
933 2006-01-03 Mark Wielaard <mark@klomp.org>
934
935 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
936
937 2006-01-03 Mark Wielaard <mark@klomp.org>
938
939 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
940 Always call createDefaultTheme().
941 (createDefaultTheme): Check whether theme is still null.
942
943 2006-01-03 Mark Wielaard <mark@klomp.org>
944
945 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
946 Color.WHITE if null.
947
948 2006-01-03 Lillian Angel <langel@redhat.com>
949
950 * javax/swing/plaf/metal/MetalLookAndFeel.java
951 (getDescription): Fixed to return the correct string.
952 (getID): Likewise.
953 (getName): Likewise.
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.
997
998 2006-01-03 Mark Wielaard <mark@klomp.org>
999
1000 * javax/swing/JTextArea.java
1001 (JTextArea(Document,text,int,int)): Only call setText() when text is
1002 not null.
1003
1004 2006-01-03 Lillian Angel <langel@redhat.com>
1005
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.
1012
1013 2006-01-03 Lillian Angel <langel@redhat.com>
1014
1015 * javax/swing/plaf/basic/BasicLookAndFeel.java
1016 (initComponentDefaults): Fixed several defaults that differed
1017 from the JDK.
1018
1019 2006-01-03 Lillian Angel <langel@redhat.com>
1020
1021 * javax/swing/tree/DefaultTreeSelectionModel.java
1022 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
1023
1024 2006-01-03 Lillian Angel <langel@redhat.com>
1025
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.
1036
1037 2006-01-03 Lillian Angel <langel@redhat.com>
1038
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.
1047
1048 2006-01-03 Lillian Angel <langel@redhat.com>
1049
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.
1055
1056 2006-01-03 Lillian Angel <langel@redhat.com>
1057
1058 PR classpath/25480 PR classpath/25478
1059 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1060 (updateViewport): Made changes suggested by
1061 Chris Lansdown.
1062 * javax/swing/plaf/metal/MetalFileChooserUI.java:
1063 Removed unneeded import.
1064 (createList): Removed comment, JList wrapping
1065 now works.
1066 (getPreferredSize): Made changes suggested by
1067 Chris Lansdown. Uses fileListPanel, instead
1068 of fileList.
1069 (getMinimumSize): Uses fileListPanel, instead
1070 of fileList.
1071 * javax/swing/plaf/metal/MetalRadioButtonUI.java
1072 (paintFocus): Fixed height.
1073
1074 2006-01-03 Roman Kennke <kennke@aicas.com>
1075
1076 * javax/swing/plaf/basic/BasicListUI.java
1077 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
1078
1079 2006-01-03 Roman Kennke <kennke@aicas.com>
1080
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).
1086
1087 2006-01-03 Roman Kennke <kennke@aicas.com>
1088
1089 * javax/swing/text/DefaultStyledDocument.java
1090 (ElementBuffer.remove): New method.
1091 (ElementBuffer.removeUpdate): New method.
1092 (removeUpdate): New method.
1093
1094 2006-01-03 Roman Kennke <kennke@aicas.com>
1095
1096 * lib/Makefile.am:
1097 (dist-hook): Preserve attributes of Java sources when copying to
1098 dist dir.
1099
1100 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
1101
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.
1105
1106 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1107
1108 * gnu/CORBA/Poa/AOM.java (add):
1109 Changed parameter Object into gnuServantObject.
1110 (Obj.object): Changed type to gnuServantObject.
1111 (findObject): Rewritten.
1112
1113 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
1114
1115 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
1116 buffering. Ability has gone in Qt-4.1.x.
1117
1118 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
1119 to have the right include flags.
1120
1121 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
1122
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.
1128
1129 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
1130
1131 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
1132 localhost is null or is an empty string. Trim hostname before
1133 lookup.
1134
1135 \f
1136 Local Variables:
1137 coding: iso-latin-1-unix
1138 End: