valarray_meta.h (_UnFunBase<>): Remove.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
2
3 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
4 (_UnFunClos<>): Same.
5 (_UnBase<>): Reformat. Make first template-parameter non
6 template.
7 (_UnClos<>): Likewise.
8 (_Expr<>): Reformate. Adjust unary member operator return types.
9 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
10 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
11 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
12 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
13 operator return types. Reformat.
14 (_Bitwise_not): Remove.
15 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
16 * testsuite/26_numerics/valarray_name_lookup.C: New test.
17
18 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
19
20 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
21 (scan_is): Use this->is.
22 (scan_not): Likewise.
23
24 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
25
26 Revert PR libstdc++/6594
27 * src/strstream.cc (strstreambuf): Revert.
28 (strstreambuf::overflow): Same.
29 (strstreambuf::~strstreambuf): Same.
30 * testsuite/backward/strstream_members.cc (test02): Add.
31
32 * docs/html/abi.txt: Update. Spell check.
33
34 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
35
36 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
37 * testsuite/Makefile.in: Regenerate.
38 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
39 include functexcept.h so that -fno-exceptions will build.
40
41 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
42
43 * include/bits/valarray_meta.h (__unary_plus, __negate,
44 __bitwise_not, __plus, __minus, __multiplies, __divides,
45 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
46 __shift_left, __shift_right, __logical_and, __logical_or,
47 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
48 __greater_equal, __greater, __atan2, __pow): New function object
49 classes.
50 (__fun<>): New function traits class.
51
52 2002-08-01 Rick Danos <rdanos@hotmail.com>
53
54 PR libstdc++/7461
55 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
56 * config/os/newlib/ctype_inline.h (is): Use static_cast.
57
58 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
59
60 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
61 * libsupc++/Makefile.in: Regenerate.
62
63 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
64 Jakub Jelinek <jakub@redhat.com>
65
66 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
67 GLIBCPP_3.1 to GLIBCPP_3.2.
68
69 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
70 Mark Mitchell <mark@codesourcery.com>
71
72 PR libstdc++/7442
73 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
74 Change to __hwm_bit.
75 (__class_type_info): And here.
76
77 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
78
79 PR libstdc++/7442
80 * libsupc++/cxxabi.h
81 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
82 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
83 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
84 (__vmi_class_type_info::__base_info): Don't make const, of type
85 __base_class_type_info, as per 2.9.5p6c
86 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
87 2.9.5p7.
88 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
89 2.9.5p7.
90 (__pointer_to_member_type_info::__context_class): Change member to
91 __context, as per 2.9.5p9.
92 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
93 __context.
94 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
95 __flags.
96 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
97 __base_type.
98 * libsupc++/tinfo.cc (__do_dyncast): Same.
99 * libsupc++/tinfo.cc (__do_upcast): Same.
100
101 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
102
103 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
104
105 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
106
107 * docs/html/22_locale/howto.html: Fix.
108
109 2002-07-31 Alex Kompel <shurik@sequoiap.com>
110
111 PR libstdc++/7445
112 * src/locale.cc (locale::classic): Move locks inside !_S_classic
113 block.
114
115 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
116
117 * docs/html/abi.txt: Update.
118
119 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
120 Gabriel Dos Reis <gdr@nerim.net>
121
122 * include/bits/char_traits.h: Remove generic definitions.
123 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
124 eof, not -2.
125 * include/bits/istream.tcc (istream::readsome): Don't check
126 against eof, instead use constants.
127 (istream::sync): Same.
128 (istream::sentry::sentry): Use eq_int_type.
129 (istream::get): Same.
130 * include/bits/ostream.tcc: Change __pad to
131 __pad<_CharT, _Traits>::_S_pad.
132 * include/bits/locale_facets.h: Add __pad_traits generic and
133 ostreambuf_iterator specialization.
134 * include/bits/locale_facets.tcc: Change __pad into struct __pad
135 with a _CharT and _Traits template parameter and _S_pad static
136 member function.
137 * src/locale-inst.cc: Update __pad instantiations.
138
139 * include/std/std_fstream.h: Declare _M_underflow_common
140 specializations.
141 * src/fstream.cc: New. Add _M_underflow_common specializations.
142 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
143 (filebuf::_M_underflow_common(bool)): Remove generic version, as
144 sys_ungetc and custom int_types don't get along.
145 * include/std/std_streambuf.h: Add _M_pos.
146 * src/Makefile.am (sources): Add fstream.cc.
147 * src/Makefile.in: Regenerate.
148
149 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
150 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
151 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
152 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
153 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
154 * testsuite/27_io/filebuf.cc: ...here.
155 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
156 specialization for both.
157 * testsuite/27_io/streambuf.cc: Add instantiation test,
158 testsuite_hooks include.
159 * testsuite/27_io/istream.cc: Same.
160 * testsuite/27_io/ostream.cc: Same.
161 * testsuite/27_io/fstream.cc: Same.
162 * testsuite/27_io/stringstream.cc: Same.
163 * testsuite/27_io/filebuf.cc: Same.
164 * testsuite/27_io/stringbuf.cc: Same.
165
166 2002-07-29 Alan Modra <amodra@bigpond.net.au>
167
168 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
169 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
170 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
171 (__test_and_set): Remove.
172 (_STWCX): Define and use.
173
174 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
175
176 * libsupc++/new (placement delete): Remove unused parameter names.
177
178 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
179
180 PR libstdc++/7216
181 * include/std/std_istream.h (basic_iostream): Add typedefs for
182 char_type, int_type, pos_type, off_type, and traits_type.
183 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
184 * testsuite/27_io/istream.cc: Same.
185 * testsuite/27_io/ostream.cc: Same.
186 * testsuite/27_io/filebuf.cc: Same.
187 * testsuite/27_io/stringbuf.cc: Replace content, move to...
188 * testsuite/27_io/stringbuf_members.cc: ...here.
189 * testsuite/27_io/streambuf.cc: Replace content, move to...
190 * testsuite/27_io/streambuf_members.cc: ...here.
191 * testsuite/27_io/stringstream.cc: Replace content, move to...
192 * testsuite/27_io/stringstream_members.cc: ...here.
193 * testsuite/27_io/ios.cc: New file.
194 * testsuite/27_io/fstream.cc: New file.
195 * testsuite/27_io/ifstream.cc: New file.
196 * testsuite/27_io/ofstream.cc: New file.
197 * testsuite/27_io/istringstream.cc: New file.
198 * testsuite/27_io/ostringstream.cc: New file.
199
200 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
201
202 PR libstdc++/7220
203 * include/bits/istream.tcc (istream::ignore): Don't extract on
204 zero.
205 * testsuite/27_io/istream_unformatted.cc (test10): Add.
206
207 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
208
209 * testsuite/27_io/ios_base_type.cc: Move to...
210 * testsuite/27_io/ios_base_types.cc: ...here.
211
212 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
213
214 PR libstdc++/7222
215 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
216 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
217
218 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
219
220 PR libstdc++/7230
221 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
222 * include/Makefile.am (backward_headers): Use strstream, not
223 strstream.h.
224 * include/Makefile.in: Regenerate.
225 * include/backward/strstream: Revert.
226 * include/backward/strstream.h: Remove.
227 * src/strstream.cc: Revert.
228 * testsuite/backward/strstream_members.cc: Change include.
229
230 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
231
232 PR libstdc++/7219
233 * include/bits/ios_base.h (ios_base::streampos): Add.
234 (ios_base::streamoff): Add.
235 * testsuite/27_io/ios_base_type.cc: New.
236
237 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
238
239 PR libstdc++/7286
240 * libsupc++/new: Add placement delete.
241 * testsuite/18_support/new_delete_placement.cc: New.
242
243 * docs/html/abi.txt: Fix typos.
244
245 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
246
247 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
248 confusing usage of "latest."
249 De-tangle contributor information from introductory notes.
250 Move abi.txt link placement, activate.
251 Re-organize.
252 Move chapter info into old FAQ format.
253 * docs/html/organization.html: Removed, obsoleted by doxygen work.
254 * docs/html/abi.txt: Add notes on testing ABI changes.
255
256 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
257
258 * docs/html/abi.txt: New file.
259 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
260 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
261 Import from upstream, R22.
262
263 * include/bits/char_traits.h, include/bits/stl_iterator.h,
264 include/bits/stl_iterator_base_types.h, libsupc++/exception,
265 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
266
267 * include/bits/deque.tcc, include/bits/stl_alloc.h,
268 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
269 of deprecated functions until 3.4. (Same timeframe, different text.)
270 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
271 the other sequence classes received.
272
273 2002-07-18 Brendan Kehoe <brendan@zen.org>
274
275 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
276 _Nname to _Name.
277
278 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
279
280 DR/123
281 * include/bits/slice_array.h
282 (slice_array<T>::operator=(const T&)): Constify.
283 * include/bits/gslice_array.h
284 (gslice_array<T>::operator=(const T&)): Likewise.
285 * include/bits/mask_array.h
286 (mask_array<T>::operator=(const T&)): Likewise.
287 * include/bits/indirect_array.h
288 (indirect_array<T>::operator=(const T&): Likewise.
289
290 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
291
292 * docs/doxygen/run_doxygen: Remove template parameter names from
293 "Compound List" summary page. Reformat.
294 * docs/html/documentation.html: XHTML fixes.
295
296 2002-07-16 Andreas Schwab <schwab@suse.de>
297
298 * libsupc++/new (set_new_handler): Declare to not throw any
299 exceptions.
300 * libsupc++/new_handler.cc (set_new_handler): Likewise.
301
302 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
303
304 * include/Makefile.am (bits_headers): Remove slice.h
305 * include/Makefile.in: Regenerate.
306 * include/bits/slice.h (slice): move to include/bits/slice_array.h
307 * include/bits/slice.h Remove.
308 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
309 * include/bits/slice_array.h: Comply to official coding styles.
310 * testsuite/26_numerics/slice.cc: New test.
311
312 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
313
314 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
315 print to match vendor <ctype.h>.
316
317 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
318
319 * docs/html/faq/index.html: Fix download links.
320 * docs/html/faq/index.txt: Regenerate.
321 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
322
323 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
324
325 * configure.target (target_os switch): Allow for irix6*o32
326 configurations.
327
328 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
329
330 * include/bits/valarray_meta.h (_UnFunBase): Take a second
331 template parameter. Remove _M_func data member.
332 (_UnFunClos): Take a third template parameter.
333 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
334 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
335 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
336
337 2002-07-08 Eric Christopher <echristo@redhat.com>
338
339 * configure.target: Fix comment for mips atomicity. Add
340 mips*-*-linux* target, enable atomic operations there.
341 * config/cpu/mips/atomicity.h: Fix comments, remove
342 #ifndef/#endif. Add push/pop mips2.
343
344 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
345
346 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
347 member declarations to avoid compiler warnings and restore 3.1 ABI.
348
349 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
350
351 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
352 and homepage.
353
354 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
355
356 PR libstdc++/7186
357 * include/bits/stl_deque.h (_Deque_iterator::operator-):
358 Make non-member, as already happens for the comparison
359 operators in accord with DR179 (Ready).
360 * testsuite/23_containers/deque_operators.cc: Add test02.
361
362 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
363 Jack Reeves <jackw_reeves@hotmail.com>
364
365 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
366 size_t, from int_type.
367 (basic_streambuf::_M_buf_size_opt): Same.
368 (basic_streambuf::_S_pback_sizex): Same.
369 * include/bits/streambuf.tcc: Same.
370 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
371 eq_int_type.
372 (basic_streambuf::uflow): Same.
373 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
374 to_char_type.
375 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
376 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
377 eq_int_type.
378 (basic_streambuf::xsputn): Same.
379 (__copy_streambufs): Same.
380
381 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
382
383 * include/std/std_memory.h: Fix formatting.
384 * testsuite/20_util/auto_ptr_neg.cc: New.
385 * testsuite/20_util/auto_ptr.cc: Tweaks.
386 * testsuite/23_containers/map_operators.cc (test01): Split into..
387 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
388 * testsuite/23_containers/set_operators.cc: Move to...
389 * testsuite/23_containers/set_operators_neg.cc: ...here.
390 * testsuite/README: Add some more naming rules.
391
392 2002-07-03 Steev Wilcox <steev@paradigmds.com>
393
394 PR libstdc++/7057
395 * include/ext/stl_hashtable.h: Fix.
396 * testsuite/ext/hash_map.cc: New.
397
398 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
399 Kenny Simpson <theonetruekenny@yahoo.com>
400 Phil Edwards <pme@gcc.gnu.org>
401
402 PR libstdc++/3946
403 * testsuite/20_util/auto_ptr.cc (test08): New test.
404 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
405 (auto_ptr::operator auto_ptr_ref): Fix typo.
406 General reformatting and doxygenating of the whole file.
407
408 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
409
410 PR libstdc++/7097
411 * include/c/std_cwchar.h: Fix.
412
413 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
414
415 PR libstdc++/6410
416 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
417 char* name parameter.
418 * config/locale/gnu/monetary_members.cc: Use it.
419 * config/locale/generic/monetary_members.cc: Same.
420 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
421
422 * include/backward/strstream.h: Update date.
423
424 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
425
426 PR libstdc++/6642
427 * include/bits/stl_iterator.h
428 (__normal_iterator::operator-(const __normal_iterator&)):
429 Make non-member, as already happens for the comparison
430 operators in accord with DR179 (Ready).
431 * testsuite/24_iterators/iterator.cc: Add test from the PR.
432
433 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
434
435 PR libstdc++/7173
436 * acinclude.m4: Simplify determination of gcc_version, and move
437 up to GLIBCPP_CONFIGURE.
438 * configure.in (release_VERSION): Really remove.
439 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
440 * aclocal.m4, configure: Regenerate.
441
442 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
443
444 * docs/html/configopts.html, docs/html/install.html: Tweaks.
445 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
446 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
447 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
448
449 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
450
451 * include/backward/strstream: Remove namespace std. Transfer to...
452 * include/backward/strstream.h: ...here. Qualify std names.
453 * src/strstream.cc: Remove namespace std.
454 * include/Makefile.am (backward_headers): Remove strstream.h.
455 * include/Makefile.in: Regenerate.
456 * config/linker-map.gnu: Export strstream bits.
457
458 * src/fstream-inst.cc: Tweak.
459 * src/io-inst.cc: Same.
460 * src/istream-inst.cc: Same.
461 * src/misc-inst.cc: Same.
462 * src/ostream-inst.cc: Same.
463 * src/sstream-inst.cc: Same.
464 * src/valarray-inst.cc: Same.
465 * src/misc-inst.cc: Remove unused instantiations.
466
467 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
468
469 * configure.in (libtool_VERSION): Bump to 5:0:0.
470 * configure: Regenerate.
471
472 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
473
474 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
475 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
476 * include/std/std_stack.h: Include deque.tcc.
477 * testsuite/23_containers/adaptors.cc: New file.
478
479 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
480
481 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
482 * docs/html/ext/howto.html: Update allocator notes.
483
484 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
485
486 * configure.in (INTERFACE): Remove.
487 (release_VERSION): Remove.
488 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
489 (libstdcxx_interface): Change. Use gcc methods to determine version.
490 * configure: Regenerate.
491 * aclocal.m4: Regenerate.
492
493 2002-06-25 DJ Delorie <dj@redhat.com>
494
495 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
496 GLIBCPP_TOPREL_CONFIGURE.
497 * aclocal.m4: Likewise.
498 * configure.in: Call it before AC_CANONICAL_SYSTEM.
499 * configure: Regenerate.
500
501 2002-06-25 Jessica Han <jessica@cup.hp.com>
502
503 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
504 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
505 _GLIBCPP_VTABLE_PADDING is defined.
506
507 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
508
509 * include/bits/stl_alloc.h: Additional formatting.
510
511 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
512
513 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
514
515 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
516
517 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
518 * config/os/*/bits/*: Likewise.
519 * configure.in: Update.
520 * configure: Regenerate.
521 * configure.target: Update.
522 * docs/html/17_intro/porting.texi: Update.
523
524 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
525
526 * include/bits/stl_map.h, include/bits/stl_multimap.h,
527 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
528 complete doxygenation.
529 * include/bits/boost_concept_check.h: Minor comment.
530
531 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
532
533 * include/c_compatibility: New.
534 * include/c_compatibility/assert.h: New.
535 * include/c_compatibility/ctype.h: New.
536 * include/c_compatibility/errno.h: New.
537 * include/c_compatibility/float.h: New.
538 * include/c_compatibility/iso646.h: New.
539 * include/c_compatibility/limits.h: New.
540 * include/c_compatibility/locale.h: New.
541 * include/c_compatibility/math.h: New.
542 * include/c_compatibility/setjmp.h: New.
543 * include/c_compatibility/signal.h: New.
544 * include/c_compatibility/stdarg.h: New.
545 * include/c_compatibility/stddef.h: New.
546 * include/c_compatibility/stdio.h: New.
547 * include/c_compatibility/stdlib.h: New.
548 * include/c_compatibility/string.h: New.
549 * include/c_compatibility/time.h: New.
550 * include/c_compatibility/wchar.h: New.
551 * include/c_compatibility/wctype.h: New.
552
553 * include/c/std_cerrno.h: Get out of the way... define errno.
554 * include/c/std_cmath.h: Add abs, modf overloads.
555 Undefine C99 isms. Still not sure how to deal with this sanely.
556 * include/c/std_csetjmp.h: Tweak.
557 * include/c/std_cwchar.h: Include cstddef for size_t.
558
559 * include/c_std/std_cmath.h: Remove extra function.
560
561 Pendantic std usage in testsuites.
562 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
563 with std.
564 * testsuite/17_intro/header_cwchar.cc: Tweak.
565 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
566 std::setlocale.
567 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
568 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
569 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
570 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
571 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
572 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
573 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
574 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
575 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
576 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
577 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
578 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
579 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
580 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
581 * testsuite/22_locale/num_get_members_char.cc: Same.
582 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
583 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
584 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
585 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
586 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
587 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
588 * testsuite/22_locale/messages_members_char.cc (test03): Same.
589 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
590 * testsuite/22_locale/collate_members_char.cc (test04): Same.
591 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
592 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
593 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
594
595 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
596
597 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
598 c_sources.
599
600 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
601
602 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
603 Use size_type instead of unsigned long.
604
605 2002-06-20 Steve Ellcey <sje@cup.hp.com>
606
607 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
608 wchar types.
609 (_S_min_len): Ditto.
610
611 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
612
613 * include/Makefile.am: Add rules.
614 * include/Makefile.in: Regenerate.
615
616 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
617 * aclocal.m4: Regenerate.
618 * configure: Regenerate.
619 * configure.target (c_model, c_compatibility): Add.
620
621 * libsupc++/Makefile.am (c_sources): New.
622 (libsupc___la_SOURCES): Add c_sources.
623 (LTCOMPILE): Remove INCLUDES.
624 (GCC_INCLUDES): New.
625 (C_COMPILE): New, like COMPILE but without INCLUDES.
626 (cxa_demangle.o): Use C_COMPILE.
627 (dyn-string.o): Use C_COMPILE.
628
629 * include/c/std_cstdarg.h: Define __need___va_list.
630 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
631 need_NULL, need_offsetof.
632
633 2002-06-19 Steve Ellcey <sje@cup.hp.com>
634
635 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
636 definitions in hpux11 cross-build because these functions do
637 not exist on hpux11 (but some exist on hpux10); move defaults out
638 into existing sections.
639 * configure: Regenerate.
640
641 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
642
643 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
644 * include/c/std_cwctype.h: Guard.
645
646 * libsupc++/eh_alloc.cc: Tweak include order.
647 * libsupc++/pure.cc: Use cstdio.
648 * libsupc++/new_op.cc: Remove malloc forward declaration, as
649 cstdlib brings it in. Use std::malloc.
650
651 * src/Makefile.am (sources): Remove cmath.cc.
652 * src/Makefile.in: Regenerate.
653 * src/cmath.cc: Remove.
654
655 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
656
657 * configure.target: Force mips to use the generic cpu routines.
658
659 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
660
661 * configure.host: Delete file.
662 * configure.target: More documentation. Factor out common parts of
663 script into "intelligent" settings about defaults. Remove redundancy.
664
665 * acinclude.m4: Update comments. Do not call configure.host.
666 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
667 libgcc_s.
668 * configure.in: Slight reformatting, more comments. Factor out
669 "config/" from all the directories.
670 * docs/html/17_intro/porting.texi: Update and expand.
671 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
672 from configure.host.
673
674 * aclocal.m4, configure, docs/html/17_intro/porting.html,
675 testsuite/Makefile.in: Regenerate.
676
677 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
678
679 * docs/doxygen/TODO: Update.
680 * docs/doxygen/tables.html: Uncomment magical middle column.
681 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
682 * include/bits/stl_queue.h: Doxygenate and reformat.
683 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
684 for deprecated names required by the standard.
685
686 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
687
688 * configure.in (target_alias): Fix.
689 * configure: Regenerate.
690 * aclocal.m4: Regenerate.
691
692 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
693
694 * include/Makefile.am: Add new files.
695 * include/Makefile.in: Regenerate.
696
697 * include/bits/stl_deque.h, include/bits/stl_list.h,
698 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
699 * include/bits/deque.tcc, include/bits/list.tcc,
700 include/bits/vector.tcc: ...to here. New files.
701
702 * include/ext/stl_hashtable.h: Inclide correct full headers.
703 * include/std/std_deque.h: Include .tcc files for now.
704 * include/std/std_list.h: Likewise.
705 * include/std/std_vector.h: Likewise.
706
707 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
708
709 * Makefile.am: Add FLAGS_TO_PASS.
710 * Makefile.in: Regenerated.
711
712 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
713 Benjamin Kosnik <bkoz@redhat.com>
714
715 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
716 under *-qnx6.[12]*.
717 * configure.in: Add support for *-qnx6.[12]*.
718 * configure: Regenerate.
719
720 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
721 New directories.
722 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
723 ctype_noninline.h, os_defines.h: New files.
724
725 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
726
727 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
728 include all required headers for test against older POSIX standard.
729 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
730 (ac_setrlimit): Likewise.
731 * aclocal.m4: Regenerate.
732 * configure: Regenerate.
733 * testsuite/testsuite_hooks.cc: Reorder and include all
734 required headers for use against older POSIX standard.
735
736 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
737
738 * testsuite/backwards/strstream_members.cc: New.
739
740 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
741
742 * include/backwards/strstream: Format.
743 * src/strstream.cc: Format.
744
745 2002-06-08 Andreas Schwab <schwab@suse.de>
746
747 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
748 _M_buf_size and _M_buf_size_opt to the new buffer and size.
749
750 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
751
752 * config/os/generic/bits/ctype_noninline.h: Tweak format.
753
754 2002-06-07 Steve Ellcey <sje@cup.hp.com>
755
756 * src/locale-inst.cc (__codecvt_abstract_base):
757 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
758 * include/bits/istream.tcc (basic_istream): Ditto.
759 (ws) Ditto.
760 (operator>>) Ditto.
761 * include/bits/ostream.tcc (basic_ostream): Ditto.
762 (endl): Ditto.
763 (ends): Ditto.
764 (flush): Ditto.
765 (operator<<): Ditto.
766
767 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
768
769 * mkcheck.in: Link against local testsuite library.
770 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
771 implementation out...
772 * testsuite/testsuite_hooks.cc: ...to here.
773
774 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
775
776 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
777 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
778 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
779 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
780 * testsuite/Makefile.in: Likewise.
781
782 2002-06-05 David Edelsohn <edelsohn@gnu.org>
783
784 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
785 Call external symbol.
786
787 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
788
789 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
790 Search correct multilib testsuite dir for libv3test.
791
792 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
793 Gaby Dos Reis <gdr@codesourcery.com>
794
795 * include/bits/basic_string.tcc
796 (basic_string::_S_construct(forward_iterator_tag):
797 Fix typo in null pointer check.
798 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
799
800 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
801
802 * testsuite/22_locale/money_get_members_char.cc
803 (test02): Add decimal point to long double constants.
804 * testsuite/22_locale/money_get_members_wchar_t.cc
805 (test02): Likewise.
806 * testsuite/22_locale/money_put_members_char.cc
807 (test02, test03, test06): Likewise.
808 * testsuite/22_locale/money_put_members_wchar_t.cc:
809 (test02, test03, test06): Likewise.
810 * testsuite/22_locale/num_get_members_char.cc:
811 (test02, test01): Likewise; suffix long long constants with LL.
812 * testsuite/22_locale/num_get_members_wchar_t.cc:
813 (test02, test01): Likewise.
814 * testsuite/22_locale/num_put_members_char.cc:
815 (test02, test01): Likewise.
816 * testsuite/22_locale/num_put_members_wchar_t.cc:
817 (test02, test01): Likewise.
818
819 2002-06-03 Marc Espie <espie@openbsd.org>
820
821 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
822 assembly for old assemblers.
823
824 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
825
826 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
827 Move/rename...
828 (vector<bool>::swap(reference,reference)): ...to this.
829
830 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
831
832 * docs/doxygen/TODO: Update.
833 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
834 some class members are in 14882 order.
835 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
836
837 * include/std/std_bitset.h: Update comment.
838 * src/bitset.cc: Update comments, clean up spacing.
839
840 * src/Makefile.am (sources): Alphabetize for convenience.
841 * src/Makefile.in: Regenerate.
842
843 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
844
845 * include/bits/stl_deque.h, include/bits/stl_list.h,
846 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
847 Reorder to match 14882. Doxygen blocks for all public members.
848
849 2002-05-31 Marcus Meissner <meissner@suse.de>
850
851 PR libstdc++/6886
852 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
853 * testsuite/23_containers/vector_bool.cc (test02): New test.
854
855 2002-05-30 Marc Espie <espie@openbsd.org>
856
857 * configure.in: Always check for sys/types.h
858 * configure: Regenerate.
859
860 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
861
862 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
863 Rebuild the wrapper file every time this proc is called.
864
865 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
866
867 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
868 CXX/INCLUDES.
869 * testsuite/Makefile.in: Regenerate.
870 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
871 list_modifiers.cc and rename from 'T'. Move code bodies...
872 * testsuite/testsuite_hooks.cc: ...to here. New file.
873 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
874 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
875 Add libv3test.a to link options.
876
877 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
878
879 * src/misc-inst.cc: Define unnecessary algorithm
880 instantiations. Break apart instantiations into groupings below.
881 * src/fstream-inst.cc: New.
882 * src/io-inst.cc: New.
883 * src/istream-inst.cc: New.
884 * src/ostream-inst.cc: New.
885 * src/streambuf-inst.cc: New.
886 * src/sstream-inst.cc: New.
887 * src/Makefile.am (sources): Add files.
888 * src/Makefile.in: Regenerate.
889
890 * acinclude.m4: Work around automake 1.4-p5 bug, change
891 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
892
893 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
894
895 PR libstdc++/6795.
896 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
897 (classic_table): Fix.
898 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
899
900 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
901
902 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
903 _GLIBCPP_USE_WCHAR_T.
904 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
905 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
906 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
907
908 2002-05-26 Carlo Wood <carlo@alinoe.com>
909 Paolo Carlini <pcarlini@unitus.it>
910
911 PR libstdc++/6811
912 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
913 (__enc_traits::operator=): add missing return statement.
914
915 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
916
917 PR libstdc++/6282
918 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
919 (operator>>): If nothing was extracted, don't fail in the
920 zero-length case.
921 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
922
923 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
924
925 PR libstdc++/6701
926 * testsuite/22_locale/ctype_narrow_char.cc: New.
927 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
928 * testsuite/22_locale/ctype_widen_char.cc: New.
929 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
930 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
931 * testsuite/22_locale/ctype_is_char.cc: ...this.
932 * testsuite/22_locale/ctype_to_char.cc: ...and this.
933 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
934 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
935 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
936
937 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
938
939 2002-05-24 Dale Peakall <dale@peakall.net>
940
941 PR libstdc++/6701
942 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
943 * config/locale/generic/ctype_members.cc: Same.
944
945 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
946
947 PR libstdc++/6750
948 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
949 for empty string literal.
950 (ostream::operator<<(const _CharT*)): Same.
951 (ostream<char>::operator<<(const char*)): Same.
952 (ostream<char>::operator<<(streambuf*)): Same.
953 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
954 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
955
956 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
957
958 * configure.in (release_VERSION): Update to 3.1.1.
959 (libtool_VERSION): Update to 4:1:0.
960 * configure: Regenerate.
961
962 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
963
964 * include/bits/stl_pair.h: Tweak comment markup.
965
966 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
967
968 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
969
970 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
971
972 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
973
974 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
975
976 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
977 Doxygenate all public members. Reorder to follow 14882.
978 (vector::push_back(void)): Remove previously-deprecated fn.
979 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
980 Deprecate for removal in 3.3.
981
982 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
983
984 * docs/html/faq/index.html (5.4): Recommend against -I options for
985 finding the ext headers.
986 * docs/html/faq/index.txt: Regenerate.
987
988 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
989
990 * testsuite/23_containers/deque_operators.cc (test01):
991 Fix minor typo in last commit.
992
993 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
994
995 PR libstdc++/6503
996 * include/bits/stl_deque.h (_Deque_iterator::operator==,
997 operator!=, operator<, operator>, operator>=, operator<=):
998 Make non-member functions, to allow comparing const and
999 non-const iterators in any order.
1000 * testsuite/23_containers/deque_operators.cc: New testfile.
1001
1002 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1003
1004 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1005 * docs/html/faq/index.txt: Regenerate.
1006
1007 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1008
1009 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1010 * acinclude.m4: Likewise.
1011 * docs/html/Makefile: Likewise.
1012 * aclocal.m4: Regenerate.
1013 * configure: Regenerate.
1014 * Makefile.in: Regenerate.
1015
1016 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1017
1018 libstdc++/6641
1019 * include/bits/c++config (__USE_MALLOC): Report case where
1020 the user improperly defined it on the command line.
1021
1022 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1023
1024 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1025 Retrieve current limits before setting.
1026
1027 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1028
1029 PR libstdc++/6518
1030 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1031 for null case.
1032 (ostream::operator<<(const _CharT*)): Same.
1033 (ostream<char>::operator<<(const char*)): Same.
1034 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1035
1036 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1037
1038 PR libstdc++/6594
1039 * src/strstream.cc (strstreambuf): Fix leak.
1040
1041 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1042
1043 PR libstdc++/6648
1044 * include/bits/istream.tcc (istream::getline, ignore):
1045 Upon __idelim (__delim) call sbumpc() not snextc().
1046 * testsuite/27_io/narrow_stream_objects.cc:
1047 Add test08 and test09.
1048
1049 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1050
1051 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1052 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1053
1054 * docs/html/install.html: Fix.
1055
1056 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1057
1058 * include/bits/fstream.tcc
1059 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1060 try/catch blocks.
1061 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1062
1063 * docs/html/install.html: Tweak, add bits about required locales
1064 for the 22_locale tests when using the gnu model.
1065
1066 * testsuite/27_io/istream_sentry.cc: Tweak.
1067
1068 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1069
1070 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1071 Fix typo, use this->is() rather than manually (and perhaps
1072 incorrectly) inlining it.
1073 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1074 Likewise.
1075 * testsuite/22_locale/ctype_scan_char.cc: New file.
1076
1077 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1078 Jakub Jelinek <jakub@redhat.com>
1079
1080 * testsuite/22_locale/money_get_members_char.cc
1081 (test01, test02, test04): Use the de_DE@euro named locale
1082 instead of de_DE to allow for an uniform behaviour with
1083 both old and Euro-era localedata; tweak some tests.
1084 * testsuite/22_locale/money_get_members_wchar_t.cc
1085 (test01, test02, test04): Likewise.
1086 * testsuite/22_locale/money_put_members_char.cc
1087 (test01, test02, test04): Likewise.
1088 * testsuite/22_locale/money_put_members_wchar_t.cc
1089 (test01, test02, test04): Likewise.
1090
1091 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1092
1093 * testsuite/22_locale/codecvt_members_char_char.cc
1094 (test03): Robustify wrt localedata.
1095 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1096 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1097 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1098 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1099 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1100 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1101 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1102 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1103 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1104 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1105 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1106 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1107 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1108 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1109 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1110 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1111 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1112 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1113 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1114 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1115 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1116 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1117
1118 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1119
1120 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1121 change.
1122
1123 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1124
1125 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1126 to 64 for hppa 64-bit port.
1127 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1128
1129 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1130
1131 * acinclude.m4 (enable_symvers): Quote $LD.
1132 * aclocal.m4: Regenerate.
1133 * configure: Likewise.
1134
1135 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1136
1137 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1138 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1139 LD_LIBRARY_PATH.
1140
1141 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1142
1143 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1144 script entry, and set LD to it when configuring multilibs.
1145 * configure: Rebuilt.
1146
1147 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1148
1149 * configure.in: Add support for WindISS.
1150 * configure: Regenerated.
1151 * configure.target: Add support for WindISS.
1152 * config/os/windiss/bits/ctype_base.h: New file.
1153 * config/os/windiss/bits/ctype_inline.h: Likewise.
1154 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1155 * config/os/windiss/bits/os_defines.h: Likewise.
1156
1157 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1158
1159 Test all the facets for the temporary "C" locale switch issue.
1160 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1161 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1162 * testsuite/22_locale/collate_members_char.cc: Add test04.
1163 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1164 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1165 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1166 * testsuite/22_locale/messages_members_char.cc: Add test03.
1167 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1168 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1169 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1170 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1171 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1172 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1173 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1174 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1175 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1176 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1177 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1178 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1179 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1180 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1181
1182 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1183 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1184
1185 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1186
1187 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1188 __EXTENSIONS__): Ensure they are always defined.
1189
1190 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1191
1192 * docs/html/documentation.html: Fix broken link.
1193
1194 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1195 Paolo Carlini <pcarlini@unitus.it>
1196
1197 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1198 testing for the locale_facets.tcc entry of the previous commit.
1199 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1200
1201 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1202
1203 * config/locale/generic/c_locale.cc
1204 (__convert_to_v(float, double, long double)):
1205 Fix the temporary switch to the "C" locale, saving and
1206 restoring in the proper way the current locale.
1207 * config/locale/generic/time_members.cc
1208 (__timepunct<char, wchar_t>::_M_put): Likewise.
1209 * config/locale/gnu/messages_members.cc
1210 (messages<char>::do_get): Likewise.
1211 * config/locale/gnu/messages_members.h
1212 (messages<_CharT>::do_get): Likewise.
1213 * config/locale/gnu/time_members.cc
1214 (__timepunct<char, wchar_t>::_M_put): Likewise.
1215 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1216
1217 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1218
1219 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1220 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1221
1222 * Makefile.in, config.h.in, configure: Regenerate.
1223
1224 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1225
1226 PR libstdc++/6549.
1227 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1228 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1229
1230 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1231
1232 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1233 Return __ctype + 1.
1234 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1235
1236 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1237
1238 * configure.in: Update local install.html, configopts.html paths.
1239 * configure: Regenerate.
1240
1241 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1242
1243 * config/os/irix/irix5.2/bits/os_defines.h
1244 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1245
1246 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1247 char.
1248
1249 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1250
1251 * docs/html/faq/index.html: Update list in #4.1.
1252 * docs/html/faq/index.txt: Regenerated.
1253
1254 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1255
1256 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1257
1258 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1259
1260 * include/std/std_bitset.h: Fix doxygen comments.
1261 * docs/html/documentation.html: Minor tweaks for 3.1.
1262 * docs/html/27_io/howto.html: Likewise.
1263 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1264 * docs/html/faq/index.html: Likewise.
1265 * docs/html/faq/index.txt: Regenerated.
1266
1267 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1268
1269 PR libstdc++/6533
1270 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1271 (istreambuf_iterator::equal): Use it.
1272 (istreambuf_iterator::operator*): Use it.
1273
1274 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1275
1276 PR libstdc++/6513
1277 * include/bits/stl_uninitialized.h
1278 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1279 Fix typo in 2001-07-17 commit: typedef _ValueType to
1280 iterator_traits<_ForwardIter> not <_InputIter>.
1281 * testsuite/23_containers/vector_ctor.cc: Add test04.
1282
1283 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1284
1285 PR libstdc++/6501
1286 * include/c_std/std_cctype.h: Include bits/c++config.h.
1287 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1288
1289 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1290
1291 * include/ext/stdio_filebuf.h: New file.
1292 * include/ext/enc_filebuf.h: New file.
1293 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1294 * config/io/basic_file_stdio.cc: Same.
1295 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1296 Remove _M_unbuf hacks.
1297 (filebuf::_M_destroy_internal_buffer): Same.
1298 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1299 (filebuf::fd): Remove.
1300 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1301 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1302 (filebuf::fd): Remove.
1303 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1304 filebufs.
1305 (ios_base::_S_ios_destroy): Same.
1306 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1307 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1308 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1309
1310 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1311
1312 PR libstdc++/6511
1313 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1314
1315 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1316
1317 PR libstdc++/5820
1318 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1319 Check for eof.
1320 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1321 (istreambuf_iterator::operator++): Invalidate on eof.
1322 (istreambuf_iterator::operator++(int)): Same.
1323 (istreambuf_iterator::operator*): Same.
1324
1325 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1326
1327 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1328 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1329 LD_LIBRARY64_PATH.
1330
1331 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1332
1333 PR libstdc++/5820
1334 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1335 (__basic_file::sys_ungetc): Take int.
1336 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1337 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1338 Use sys_getc for unbuffered input.
1339 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1340
1341 * src/ios.cc (_M_grow_words): Adjust error checking.
1342 * testsuite/27_io/ios_base_storage.cc: Same.
1343
1344 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1345
1346 * include/ext/stl_hashtable.h: Import __iterator_category
1347
1348 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1349 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1350
1351 * testsuite/ext/hash_set.cc: New testfile.
1352
1353 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1354
1355 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1356 _G_USING_THUNKS.
1357 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1358 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1359
1360 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1361
1362 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1363 Fix and tighten __throw_length_error check.
1364 * testsuite/21_strings/replace.cc (test05): New.
1365 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1366
1367 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1368
1369 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1370 unconditional flush on lower-layer handle to here...
1371 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1372 ...from here. Optimize remaining _M_file.sync() call pattern.
1373 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1374 (test05): Likewise.
1375
1376 2002-04-23 Jason Merrill <jason@redhat.com>
1377
1378 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1379 output-only filebufs.
1380 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1381 Likewise.
1382 (basic_filebuf::_M_set_determinate): Likewise.
1383
1384 PR libstdc++/6414
1385 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1386 value properly in the trivial case.
1387 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1388 tellg() returns the right value after a read.
1389
1390 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1391
1392 * config/cpu/mmix/bits/cpu_limits.h: New file.
1393 * configure.target (CPULIMITSH): Use it.
1394
1395 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1396
1397 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1398 * docs/html/17_intro/porting.html: Rebuilt.
1399
1400 2002-04-20 Jason Merrill <jason@redhat.com>
1401
1402 PR libstdc++/4150
1403 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1404 Move to filebuf.
1405 (basic_streambuf::_M_set_determinate): Likewise.
1406 (basic_streambuf::_M_is_indeterminate): Likewise.
1407 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1408 non-static data member.
1409 (basic_filebuf::_M_underflow_common): New non-static member function.
1410 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1411 (basic_filebuf::sync): Avoid useless seeking.
1412 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1413 Set _M_filepos.
1414 (basic_filebuf::_M_set_determinate): Likewise.
1415 (basic_filebuf::_M_is_indeterminate): Likewise.
1416 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1417 back to _M_out_beg if necessary.
1418 (basic_filebuf::seekoff): Likewise.
1419 (basic_filebuf::_M_underflow_common): Generalization of old
1420 underflow(). Don't seek back to _M_in_beg.
1421 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1422 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1423 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1424 * config/os/mingw32/bits/os_defines.h: Likewise.
1425 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1426 ungetc test.
1427
1428 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1429
1430 * include/bits/istream.tcc (istream::read): Fix.
1431 * testsuite/27_io/istream_unformatted.cc (main): Add.
1432
1433 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1434
1435 PR libstdc++/6360
1436 * include/bits/istream.tcc (istream::ignore): Streamline, use
1437 delimiter as is.
1438 * include/bits/streambuf.tcc: Use this->gptr.
1439 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1440
1441 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1442
1443 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1444 as type safety is important, especially on solaris.
1445 * include/bits/istream.tcc (istream::read): Clean.
1446 (istream::readsome): Same.
1447 * locale.cc: Wrap lines.
1448
1449 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1450 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1451 * testsuite/21_strings/capacity.cc: Clean.
1452
1453 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1454
1455 * docs/doxygen/doxygroups.cc: New group on binary searching.
1456 * include/bits/stl_algo.h: Document binary searches and merges.
1457 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1458
1459 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1460
1461 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1462 * docs/doxygen/run_doxygen: Bump required version.
1463 * docs/doxygen/user.cfg.in: Revert accidental change.
1464 * docs/html/faq/index.html: Reindent a block of links.
1465 (4.4): New note on using dlsym.
1466 * docs/html/faq/index.txt: Regenerated.
1467
1468 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1469
1470 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1471
1472 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1473
1474 * config/linker-map.gnu (__malloc_alloc_template): Add.
1475 (__default_alloc_template): Same.
1476 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1477 template.
1478 (__default_alloc_template): Same.
1479
1480 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1481
1482 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1483
1484 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1485
1486 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1487 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1488 (__malloc_alloc_template): Conditionalize.
1489
1490 * include/bits/istream.tcc: Remove sputbackc calls.
1491
1492 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1493
1494 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1495
1496 * testsuite/24_iterators/rel_ops.cc: New test.
1497
1498 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1499
1500 * include/bits/type_traits.h (__normal_iterator): Declare in
1501 __gnu_cxx. Adjust use at global namespace.
1502 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1503 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1504 * include/bits/basic_string.h (basic_string): Adjust use of
1505 __normal_iterator.
1506 * include/bits/stl_vector.h (_Alloc>): Likewise.
1507 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1508 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1509
1510 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1511
1512 PR libstdc++/4164
1513 Valgrind fixes.
1514 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1515 Call close.
1516 (__basic_file::close): Call fflush. Correct return if fclose ok.
1517 (__basic_file::is_open): Make const.
1518 Change __c_file_type to __c_file.
1519 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1520 (__basic_file::is_open): Make const.
1521 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1522 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1523 (filebuf::_M_unbuf): Add.
1524 (filebuf::_M_file): Change to non-pointer.
1525 (filebuf::_M_allocate_pback_buffer): Remove.
1526 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1527 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1528 Change initialization list for _M_file change.
1529 (filebuf::_M_allocate_pback_buffer): Remove.
1530 Change _M_file usage to reflect non-pointer data member.
1531
1532 * config/locale/generic/c_locale.cc
1533 (locale::facet::_S_create_c_locale): Add parameter.
1534 * config/locale/generic/collate_members.cc: Change
1535 _M_compare_helper to _M_compare.
1536 Change _M_transform_helper to _M_transform.
1537 * config/locale/generic/monetary_members.cc: Changeup data types.
1538 Add dtors.
1539 * config/locale/generic/numeric_members.cc: Add dtors.
1540 * config/locale/generic/time_members.cc: Add dtors.
1541 * config/locale/gnu/c_locale.cc: Add parameter.
1542 * config/locale/gnu/collate_members.cc:Change
1543 _M_compare_helper to _M_compare.
1544 Change _M_transform_helper to _M_transform.
1545 * config/locale/gnu/ctype_members.cc: Better error checking.
1546 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1547 * config/locale/gnu/messages_members.cc: Tweak comment.
1548 * config/locale/gnu/monetary_members.cc: Change data types.
1549 Add dtors.
1550 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1551 checking.
1552 * config/locale/gnu/time_members.cc: Same.
1553 * config/locale/ieee_1003.1-2001/c_locale.cc
1554 (locale::facet::_S_create_c_locale): Add parameter.
1555 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1556 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1557 bogus ctor.
1558
1559 * include/bits/locale_facets.h (moneypunct): Use string literals.
1560 Don't define dtor.
1561 (numpunct): Same.
1562 (__timepunct): Same.
1563 (locale::_Impl::_M_facets): Change from vector to array.
1564 (locale::_Impl::_M_names): Change from array of strings to array
1565 of string literals.
1566 (locale::facet::_S_create_c_locale): Add parameter.
1567 (locale::locale::_S_num_facets): Move to...
1568 (locale::_Impl::_M_facets_size): Here.
1569 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1570 changes.
1571 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1572 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1573 (locale::_Impl::_Impl(string, size_t)): Change to
1574 (locale::_Impl::_Impl(const char*, size_t)): This.
1575
1576 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1577 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1578 (streambuf::_S_pback_size): This.
1579
1580 * src/globals.cc: Add pre-allocations for "C" facets.
1581 * src/locale-inst.cc: Remove vector instantiations.
1582 * src/locale.cc: Remove vector include. Fixups for _M_names,
1583 _M_facets changes.
1584 * src/localename.cc: Same.
1585
1586 * include/bits/stl_vector.h: Fix odd formatting.
1587
1588 * include/bits/basic_string.tcc: Tweak comment.
1589
1590 * libsupc++/new: Make sure parameters are uglified.
1591 * libsupc++/typeinfo: Same.
1592
1593 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1594 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1595 * testsuite/27_io/filebuf_members.cc: Same.
1596
1597 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1598
1599 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1600 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1601 does not define strtoll or strtoull, but does define strtol
1602 and strtoul which are the same since in 64 bit mode
1603 sizeof(long) == sizeof(long long).
1604
1605 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1606
1607 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1608 trailing spaces, indentation, and macro names. Make exception
1609 messages more informative.
1610
1611 2002-04-11 Richard Henderson <rth@redhat.com>
1612
1613 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1614 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1615 (basic_ostream<>::operator<<(long long)): Same.
1616
1617 2002-04-11 Richard Henderson <rth@redhat.com>
1618
1619 * config/linker-map.gnu: Add __gxx_personality_sj0.
1620
1621 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1622
1623 libstdc++/1072
1624 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1625 pointer to vector.
1626 Remove forward declaration of vector.
1627 Include vector.
1628 * include/bits/locale_facets.tcc: Remove vector include.
1629 (use_locale): Adjust.
1630 (has_locale): Adjust.
1631 * src/locale.cc: Adjust.
1632 * src/localename.cc: Same.
1633
1634 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1635 Richard Henderson <rth@redhat.com>
1636
1637 * include/bits/sstream.tcc: Clean up bit ops.
1638 * include/bits/fstream.tcc: Same.
1639
1640 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1641
1642 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1643 (__num_base::_S_scale_oct): Remove.
1644 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1645 (__num_base::_S_scale_oct): Remove.
1646
1647 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1648
1649 libstdc++/6124
1650 * testsuite/23_containers/bitset_members.cc: New test.
1651 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1652 (_S_bit_count): Here.
1653 (_First_one::_S_first_one): Move...
1654 (_S_first_one): Here.
1655 Format.
1656 * src/bitset.cc: Adjust.
1657 * config/linker-map.gnu: Export.
1658
1659 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1660
1661 libstdc++/5180
1662 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1663 * include/std/std_fstream.h: Clean.
1664 * include/bits/ostream.tcc: Remove extraneous variables.
1665 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1666 open modes and which modes.
1667 (stringbuf::seekpos): Same.
1668 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1669
1670 2002-04-05 Jonathan Wakely <jw@kayari.org>
1671
1672 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1673 random_shuffle, partition, stable_partition, sort, stable_sort,
1674 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1675
1676 2002-04-05 David S. Miller <davem@redhat.com>
1677
1678 * config/os/gnu-linux/bits/os_defines.h
1679 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1680
1681 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1682
1683 libstdc++/3457
1684 via gawrilow@math.tu-berlin.de
1685 * acinclude.m4 (version_specific_libs): Fix combo usage with
1686 --with-gxx-include-dir.
1687 * aclocal.m4: Regenerate.
1688 * configure: Same.
1689
1690 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
1691
1692 As per DR 184, libstdc++/3139
1693 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
1694 (numeric_limits<bool>::is_iec559): False.
1695 (numeric_limits<bool>::is_modulo): False.
1696
1697 * testsuite/27_io/ios_init.cc: Add instantiations.
1698
1699 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
1700
1701 libstdc++/5268
1702 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
1703 * testsuite/27_io/ios_init.cc (tests04): Add test.
1704
1705 libstdc++/3983
1706 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1707 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
1708 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
1709 * include/bits/istream.tcc: Use _M_fctype, make consistent with
1710 ostream.
1711 * testsuite/27_io/ios_init.cc (tests03): Add test.
1712
1713 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
1714
1715 * include/Makefile.am (install-data-local): Use mkinstalldirs.
1716 * include/Makefile.in: Regenerate.
1717
1718 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
1719 Nathan Myers <ncm@cantrip.org>
1720 Philip Martin <philip@codematters.co.uk>
1721
1722 * include/bits/basic_string.h
1723 (replace(i1, i2, _CharT* k1, _CharT* k2),
1724 replace(i2, i2, const _CharT* k1, const _CharT* k2),
1725 replace(i1, i2, iterator k1, iterator k2,
1726 replace(i1, i2, const_iterator k1, const_iterator k2):
1727 New specializations to optimize for the common cases of
1728 pointers and iterators.
1729 (replace(pos, n1, s, n2)): Tweak.
1730 * include/bits/basic_string.tcc: Tweak comments.
1731 * testsuite/21_strings/replace.cc (test04): New tests.
1732
1733 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1734
1735 libstdc++/5542
1736 * acinclude: More extensive checks for msgfmt, --enable-nls.
1737 * aclocal.m4: Regenerate.
1738 * configure: Regenerate.
1739
1740 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1741
1742 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
1743 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
1744 * docs/html/18_support/howto.html: Document the demangler.
1745 * docs/html/17_intro/howto.html: And link to it.
1746
1747 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
1748 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
1749
1750 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
1751
1752 * config/linker-map.gnu: Export __verbose_terminate_handler.
1753 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
1754 Make new LTCOMPILE variable, use it in new special build rules.
1755 * libsupc++/Makefile.in: Rebuild.
1756 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
1757 runtime __cxa_demangle.
1758
1759 * docs/html/install.html: Update prereqs and instructions.
1760 * docs/html/19_diagnostics/howto.html: Bring naming for
1761 verbose_terminate_handler into line with reality.
1762
1763 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
1764
1765 libstdc++/3129
1766 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
1767 (basic_ios::_M_streambuf_state): Move.
1768 * include/bits/ios_base (ios_base): To here.
1769 * include/bits/ios_base.h (ios_base::_S_local_words): To
1770 _S_local_word_size.
1771 (ios_base::_M_word_array): To _M_local_word.
1772 (ios_base::_M_words_limit): To _M_word_size.
1773 (ios_base::_M_words): To _M_word.
1774 Comment.
1775 * include/bits/basic_ios.tcc: Adjust.
1776 * src/ios.cc (ios_base::_M_grow_words): Tweak.
1777 * testsuite/27_io/ios_base_storage.cc: Add tests.
1778
1779 libstdc++/5207
1780 Kenny Simpson <theonetruekenny@yahoo.com>
1781 * include/bits/ios_base.h: Fix.
1782
1783 Richard Henderson <rth@redhat.com>
1784 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
1785 last change.
1786
1787 * include/bits/basic_string.h: Tweak formatting.
1788
1789 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
1790
1791 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1792 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
1793 By definition, sizeof(char) == 1.
1794 * include/bits/locale_facets.tcc (money_get::do_get,
1795 money_put::do_put): Ditto.
1796 * testsuite/21_strings/inserters_extractors.cc
1797 (test04): Ditto.
1798
1799 2002-03-30 Richard Henderson <rth@redhat.com>
1800
1801 PR c++/3719
1802 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
1803 data out of the exception struct before calling unexpectedHandler.
1804
1805 2002-03-28 Roger Sayle <roger@eyesopen.com>
1806
1807 * include/c_std/std_cmath.h: To prevent problems overloading
1808 g++ builtins, use the double variants from the global namespace
1809 before defining float and long double variants in std::.
1810
1811 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1812
1813 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
1814
1815 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
1816
1817 * testsuite/24_iterators/istream_iterator.cc
1818 (test02): New tests.
1819
1820 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1821 Paolo Carlini <pcarlini@unitus.it>
1822
1823 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
1824 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
1825 fix i_lit_base e_lit_base arrays, making them independent
1826 from the endianness of the platform; tweak UCS4 to UCS-4BE.
1827
1828 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
1829
1830 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
1831 allocate at least a byte.
1832
1833 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
1834 debugger-friendly.
1835 * testsuite/27_io/streambuf.cc (test07): Fix.
1836 (test06): Enable.
1837
1838 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
1839
1840 * docs/doxygen/Intro.3: Date tweak.
1841 * docs/doxygen/TODO: Update.
1842 * docs/doxygen/doxygroups.cc: Point to tables.html.
1843 * docs/doxygen/mainpage.html: Date tweak.
1844 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
1845 * docs/doxygen/tables.html: Fill in the blanks.
1846
1847 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
1848 * include/bits/stl_algo.h: Likewise; use expanded form.
1849 * include/bits/stl_alloc.h: Likewise.
1850 * include/bits/stl_construct.h: Likewise.
1851 * include/bits/stl_deque.h: Likewise.
1852 * include/bits/stl_iterator_base_types.h: Likewise.
1853 * include/bits/stl_list.h: Likewise.
1854 * include/bits/stl_relops.h: Likewise.
1855 * include/bits/stl_tempbuf.h: Likewise.
1856 * include/bits/stl_vector.h: Likewise.
1857 * include/std/std_memory.h: Likewise.
1858
1859 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
1860 * include/bits/stl_list.h: Likewise.
1861 * include/bits/stl_vector.h: Likewise.
1862
1863 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
1864
1865 * include/c/: Guard with _CPP_.
1866 * include/c_std/: Same.
1867 * include/Makefile.am: Fixup install, link routines for null
1868 c_base_headers_extra scenarios.
1869 * include/Makefile.in: Regerate.
1870
1871 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1872 Richard Henderson <rth@redhat.com>
1873
1874 * testsuite/22_locale/codecvt_members_unicode_char.cc
1875 (test01, test02): make sure that the i_lit_base array
1876 is sufficiently aligned.
1877
1878 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1879
1880 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
1881 _ctype_.
1882
1883 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
1884
1885 * testsuite/22_locale/collate_byname.cc
1886 (test01): compare the result of collate::compare with
1887 that of collate::transform + string::compare, not with
1888 that of collate::transform + collate::compare; values
1889 returned by collate::compare are normalized, therefore
1890 test against +-1.
1891
1892 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
1893 Jakub Jelinek <jakub@redhat.com>
1894
1895 * config/locale/gnu/messages_members.h: Correct conditional.
1896 * config/locale/gnu/messages_members.cc: Same.
1897 * config/locale/gnu/time_members.cc: Same.
1898
1899 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1900 Paolo Carlini <pcarlini@unitus.it>
1901
1902 * testsuite/22_locale/codecvt_members_unicode_char.cc
1903 (test01, test02): Fix i_lit_base arrays, making them
1904 independent from the endianness of the platform.
1905
1906 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1907
1908 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
1909 signbit and __signbit directly.
1910 * aclocal.m4: Regenerate.
1911 * configure: Regenerate.
1912 * config.h.in: Regenerate.
1913 * libmath/Makefile.am: Simplify.
1914 * libmath/Makefile.in: Regenerate.
1915 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
1916
1917 * include/Makefile.am: Clean up handling of extra "C" header files.
1918 Add hooks for "C" compatibility headers.
1919 * include/Makefile.in: Regenerate.
1920
1921 * include/c/*: Formatting tweaks, cleanups.
1922 * include/c_std/*: Same.
1923
1924 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1925
1926 * config/locale/gnu/messages_members.h: Add __uselocale bits.
1927 * config/locale/gnu/messages_members.cc: Same.
1928 * config/locale/gnu/time_members.cc: Same.
1929
1930 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
1931
1932 * src/vterminate.cc: Format, -fno-exceptions cleanup.
1933
1934 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1935
1936 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
1937 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
1938 * aclocal.m4: Regenerate.
1939 * configure: Likewise.
1940
1941 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
1942 Ulrich Drepper <drepper@redhat.com>
1943
1944 * src/locale-inst.cc (__convert_from_v): Add an additional
1945 __size parameter in the declarations.
1946 * include/bits/locale_facets.tcc
1947 (__convert_from_v): When available (that is,
1948 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
1949 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
1950 being defined or not, call and use __convert_from_v in the
1951 appropriate way.
1952 (num_put::_M_convert_int): Same here.
1953 (money_put::do_put(long double)): Same here.
1954
1955 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
1956
1957 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
1958 * docs/html/faq/index.txt: Regenerate.
1959
1960 2002-03-19 Steve Ellcey <sje@cup.hp.com>
1961
1962 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
1963 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
1964 --enable-libunwind-exceptions is set.
1965 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
1966 macro to check for libunwind.
1967 * configure: Regenerate.
1968 * src/Makefile.am (libstdc___la_LDFLAGS): Add
1969 LIBUNWIND_FLAG to libstdc link line.
1970 * src/Makefile.in: Regenerate.
1971
1972 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
1973
1974 * docs/html/faq/index.html: Add OS X workaround.
1975 * docs/html/17_intro/TODO: Update.
1976
1977 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
1978
1979 * include/bits/locale_facets.tcc
1980 (money_put::do_put(long double)): Fix dimensioning of
1981 temporary buffers to avoid risk of overruns.
1982 (money_put::do_put(string)): Same for the buffer used to
1983 add the grouping chars.
1984 * testsuite/22_locale/money_put_members_char.cc: Add test06.
1985 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1986
1987 * include/bits/locale_facets.tcc
1988 (collate::do_transform): Simplify.
1989
1990 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
1991
1992 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
1993 * configure.in: Add comments pointing the way for autoconf 2.5x.
1994 * aclocal.m4, config.h.in, configure: Regenerate.
1995
1996 2002-03-18 Philipp Thomas <pthomas@suse.de>
1997
1998 * include/backward/hash_map.h: hash, hashtable, hash_map and
1999 hash_multimap are in namespace __gnu_cxx.
2000 include/backward/hash_set.h: hash, hashtable, hash_set and
2001 hash_multiset are in namespace __gnu_cxx.
2002 include/backward/hashtable.h: hash and hashtable are in
2003 namespace __gnu_cxx.
2004 include/backward/rope.h: char_producer, sequence_buffer,
2005 rope, crope and wrope are in namespace __gnu_cxx.
2006 include/backward/slist.h: slist is in namespace __gnu_cxx.
2007 * testsuite/backward/header_hash_map_h.cc
2008 testsuite/backward/header_hash_set_h.cc
2009 testsuite/backward/header_hashtable_h.cc
2010 testsuite/backward/header_rope_h.cc
2011 testsuite/backward/header_slist_h.cc
2012 testsuite/backward/header_tempbuf_h.cc: New tests for
2013 checking that we're using the correct namespace.
2014
2015 2002-03-17 Jason Merrill <jason@redhat.com>
2016
2017 PR c++/4381
2018 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2019 (check_exception_spec): Call it. Take the thrown pointer.
2020 (__cxa_call_unexpected): Pass it.
2021 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2022
2023 2002-03-15 Anthony Green <green@redhat.com>
2024
2025 * configure.in: Remove useless is_mingw32.
2026 * configure: Rebuilt.
2027
2028 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2029
2030 * testsuite/22_locale/collate_members_char.cc
2031 (test01): compare the result of collate::compare with
2032 that of collate::transform + string::compare, not with
2033 that of collate::transform + collate::compare.
2034 (test01): values returned by collate::compare are
2035 normalized, therefore test against +-1.
2036 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2037
2038 2002-03-12 Loren Rittle <ljrittle@acm.org>
2039
2040 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2041 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2042
2043 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2044 Per Liboriussen <liborius@stofanet.dk>
2045
2046 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2047 unsigned char.
2048 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2049
2050 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2051
2052 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2053 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2054
2055 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2056 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2057
2058 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2059 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2060
2061 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2062
2063 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2064
2065 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2066 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2067 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2068 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2069 that memory limits are in place.
2070 (test03): Add tests.
2071
2072 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2073
2074 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2075 * aclocal.m4: Regenerate.
2076 * config.h.in: Regenerate.
2077 * configure: Regenerate.
2078 * include/c_std/std_cwctype.h: Guard.
2079
2080 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2081
2082 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2083 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2084 * aclocal.m4: Regenerate.
2085 * configure: Regenerate.
2086
2087 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2088
2089 * include/bits/stl_bvector.h: Fix warning.
2090
2091 2002-03-11 Richard Henderson <rth@redhat.com>
2092
2093 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2094
2095 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2096
2097 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2098 New function. Build the list of tests to run in testsuite_files.
2099 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2100
2101 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2102
2103 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2104 platforms with no weak support.
2105 * testsuite/27_io/ios_init.cc: Likewise.
2106
2107 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2108
2109 * include/bits/locale_facets.tcc (time_put::do_put):
2110 Consider sizeof(char_type) in allocating the buffer.
2111
2112 * include/bits/locale_facets.tcc (collate::do_tranform):
2113 Remove redundant variable.
2114
2115 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2116 Paolo Carlini <pcarlini@unitus.it>
2117
2118 * config/locale/generic/collate_members.cc
2119 (collate<char,wchar_t>::_M_compare_helper): normalize
2120 values returned by strcoll and wcscoll.
2121 * config/locale/gnu/collate_members.cc
2122 (collate<char,wchar_t>::_M_compare_helper): ditto
2123 for __strcoll_l and __wcscoll_l.
2124
2125 2002-03-10 Anthony Green <green@redhat.com>
2126
2127 * configure.in: Support cross builds to mingw32 target.
2128 * configure: Rebuilt.
2129
2130 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2131
2132 * include/bits/locale_facets.tcc (collate::do_transform):
2133 Rewrite to fix problems with long transformed strings.
2134
2135 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2136
2137 * c_locale_generic.cc: Move to...
2138 * generic/c_locale.cc
2139 * c_locale_generic.h: Move to...
2140 * generic/c_locale.h
2141 * codecvt_specializations_generic.h: Move to...
2142 * generic/codecvt_specializations.h
2143 * collate_members_generic.cc: Move to...
2144 * generic/collate_members.cc
2145 * ctype_members_generic.cc: Move to...
2146 * generic/ctype_members.cc
2147 * messages_members_generic.cc: Move to...
2148 * generic/messages_members.cc
2149 * messages_members_generic.h: Move to...
2150 * generic/messages_members.h
2151 * moneypunct_members_generic.cc: Move to...
2152 * generic/monetary_members.cc
2153 * numpunct_members_generic.cc: Move to...
2154 * generic/numeric_members.cc
2155 * time_members_generic.cc: Move to...
2156 * generic/time_members.cc
2157 * c_locale_gnu.cc: Move to...
2158 * gnu/c_locale.cc
2159 * c_locale_gnu.h: Move to...
2160 * gnu/c_locale.h
2161 * collate_members_gnu.cc: Move to...
2162 * gnu/collate_members.cc
2163 * ctype_members_gnu.cc: Move to...
2164 * gnu/ctype_members.cc
2165 * messages_members_gnu.cc: Move to...
2166 * gnu/messages_members.cc
2167 * messages_members_gnu.h: Move to...
2168 * gnu/messages_members.h
2169 * moneypunct_members_gnu.cc: Move to...
2170 * gnu/monetary_members.cc
2171 * numpunct_members_gnu.cc: Move to...
2172 * gnu/numeric_members.cc
2173 * time_members_gnu.cc: Move to...
2174 * gnu/time_members.cc
2175 * c_locale_ieee_1003.1-200x.cc: Move to...
2176 * ieee_1003.1-2001/c_locale.cc
2177 * c_locale_ieee_1003.1-200x.h: Move to...
2178 * ieee_1003.1-2001/c_locale.h
2179 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2180 * ieee_1003.1-2001/codecvt_specializations.h
2181 * messages_members_ieee_1003.1-200x.cc: Move to...
2182 * ieee_1003.1-2001/messages_members.cc
2183 * messages_members_ieee_1003.1-200x.h: Move to...
2184 * ieee_1003.1-2001/messages_members.h
2185
2186 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2187 * aclocal.m4: Regenerate.
2188 * configure: Regenerate.
2189 * src/Makefile.am (sources): Change to monetary and numeric.
2190 * src/Makefile.in: Regenerate.
2191 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2192
2193 2002-03-08 scott snyder <snyder@fnal.gov>
2194
2195 libstdc++/5875
2196 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2197 Allow one more digit of precision.
2198 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2199 write a double and read back in the same value.
2200
2201 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2202
2203 * include/std/std_limits.h: Move static const data members out of
2204 generic template, into base class __numeric_limits_base.
2205 * src/limits.cc: Add definitions.
2206 * config/linker-map.gnu: Add __numeric_limits_base.
2207 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2208
2209 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2210
2211 * include/bits/stl_alloc.h: Add extern implicit allocator
2212 instantiations.
2213 * include/bits/basic_string.tcc: Tweak.
2214 * include/bits/locale_facets.tcc: Remove default args. Add
2215 has_facet, use_facet extern instantiations.
2216 * src/stl-inst.cc: Add explicit instantiation.
2217 * src/locale-inst.cc: Clean. Remove locale member template
2218 instantiations.
2219
2220 * testsuite/22_locale/operators.cc (test02): Enable.
2221
2222 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2223 Stephen M. Webb <stephen.webb@bregmasoft.com>
2224
2225 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2226 (_S_rb_tree_black): Make enum.
2227 Clean. Format.
2228 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2229 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2230 (__stl_threshold): _M_threshold, enum.
2231 * src/stl-inst.cc: Same.
2232 * config/linker-map.gnu: Remove.
2233
2234 * testsuite/23_containers/vector_bool.cc: New.
2235
2236 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2237
2238 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2239 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2240 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2241 referring to the collection as a whole. New section on which macros
2242 can be redefined by the user.
2243 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2244 * docs/html/20_util/howto.html: Update link to SGI.
2245 * docs/html/faq/index.html: Update snapshot versions. New entry
2246 on why g++ (but not gcc) must currently predefine certain macros.
2247 * docs/html/faq/index.txt: Regenerated.
2248
2249 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2250 names in declaration.
2251 (basic_string::compare): These are no longer optional.
2252 * include/bits/ostream.tcc: Tweak closing brace placement.
2253 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2254 * include/std/std_sstream.h: Fix typo in comment.
2255 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2256 * src/locale.cc: Likewise.
2257
2258 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2259
2260 PR libstdc++/5734
2261 * include/bits/stl_vector.h (vector::push_back()): Guard with
2262 _GLIBCPP_DEPRECATED.
2263
2264 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2265
2266 * include/bits/c++config: Fix misplaced leading blanks on first line.
2267
2268 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2269
2270 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2271 * README (libmath): Make clear.
2272
2273 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2274
2275 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2276 script globbing in ld.
2277 * aclocal.m4: Rebuilt.
2278 * configure: Rebuilt.
2279
2280 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2281
2282 * docs/html/17_intro/RELEASE-NOTES: Update.
2283 * README: Format subdirectories.
2284
2285 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2286
2287 libstdc++/5816
2288 * include/bits/locale_facets.tcc
2289 (num_get::_M_extract_float): Fix the parsing of __dec, since
2290 the standard prescribes that if no grouping characters are
2291 seen, no grouping check is applied.
2292 * testsuite/22_locale/num_get_members_char.cc: Add test05
2293 distilled from the PR.
2294 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2295
2296 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2297
2298 * docs/html/17_intro/porting-howto.xml: Refer to
2299 http://www.oasis-open.org for docbookx.dtd.
2300 * docs/html/17_intro/porting-howto.html: Regenerated.
2301
2302 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2303
2304 PR libstdc++/3955
2305 * include/std/std_sstream.h: Remove trailing spaces.
2306 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2307 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2308
2309 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2310
2311 * testsuite/22_locale/num_get_members_char.cc (test04):
2312 Use a named locale expecting grouping (de_DE).
2313 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2314 Ditto.
2315 * testsuite/27_io/ios_manip_basefield.cc (test01):
2316 Extend coverage, uniform treatment of hexs and octs.
2317
2318 2002-02-28 Richard Henderson <rth@redhat.com>
2319
2320 * config/linker-map.gnu: Export operator new with unsigned long,
2321 and with std::nothrow_t. Likewise operator delete.
2322
2323 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2324
2325 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2326 Admit grouping for octals and hexadecimals too.
2327 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2328 (test01): Tweak "." -> "," in void* test.
2329 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2330
2331 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2332 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2333
2334 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2335
2336 * testsuite/27_io/ios_manip_basefield.cc (test01):
2337 Fix for 64 bit machines.
2338
2339 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2340
2341 libstdc++/3983
2342 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2343 Adjust comment.
2344 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2345 (basic_ios::_M_fill_init): New.
2346 (basic_ios::fill()): Delay dealing with _M_fill.
2347 Adjust comment.
2348 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2349 (ios_base::_M_call_callbacks): Adjust.
2350 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2351
2352 2002-02-26 Loren Rittle <ljrittle@acm.org>
2353
2354 * include/Makefile.am (thread_target_headers): Unconditionally
2355 stage and install gthr-posix.h.
2356 (${target_builddir}/gthr-posix.h): New rule cloned off
2357 ${target_builddir}/gthr-default.h.
2358 (${target_builddir}/gthr-default.h): Support chained inclusion
2359 of gthr support headers.
2360 * include/Makefile.in: Rebuilt.
2361
2362 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2363
2364 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2365 Group all the integral types, not only decs.
2366 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2367 tests, add a few more.
2368
2369 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2370
2371 * src/ios.cc (ios_base::~ios_base): Tweak.
2372 (ios_base::_M_call_callbacks): Deal with null __p.
2373 (ios_base::ios_base): Set _M_callbacks.
2374 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2375 * testsuite/27_io/ios_init.cc (test02): Fix.
2376
2377 * mkcheck.in (static_fail): Failed links go to output file.
2378
2379 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2380
2381 * docs/html/faq/index.html: Update.
2382 * docs/html/faq/index.txt: Regenerate.
2383
2384 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2385
2386 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2387 * aclocal.m4: Regenerate.
2388 * docs/html/configopts.html: Document --enable-symvers.
2389 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2390
2391 2002-02-22 Philipp Thomas <pthomas@suse.de>
2392
2393 * include/backward/tempbuf.h: get_temporary_buffer and
2394 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2395
2396 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2397
2398 * configure.in (target_alias): Default to yes.
2399 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2400 libgcc to default case.
2401
2402 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2403
2404 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2405 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2406 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2407 * aclocal.m4: Regenerate.
2408 * configure: Regenerate.
2409 * config/linker-map.dummy: New file. Contains nothing useful.
2410
2411 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2412
2413 * testsuite/22_locale/money_put_members_char.cc: Fix.
2414 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2415
2416 * testsuite/27_io/standard_manipulators.cc: New file.
2417
2418 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2419 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2420
2421 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2422
2423 * config/os/mingw32/bits/ctype_noninline.h
2424 (ctype<char>::ctype): Remove default args from parm list.
2425 * config/os/djgpp/bits/ctype_noninline.h: Same.
2426
2427 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2428
2429 * include/std/std_iomanip.h: Inline, tweaks.
2430 * config/linker-map.gnu: Remove hacks.
2431
2432 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2433 * testsuite/27_io/ios_init.cc: Same.
2434 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2435 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2436
2437 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2438
2439 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2440 variable, and thunk info as per CXXABI docs.
2441
2442 2002-02-19 Loren Rittle <ljrittle@acm.org>
2443
2444 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2445 * include/Makefile.in: Rebuilt.
2446
2447 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2448
2449 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2450 with size3 for the string collations of str5.
2451
2452 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2453
2454 libstdc++/5708
2455 * include/bits/locale_facets.tcc (money_put::do_put):
2456 For the space field use __fill instead of ' ', uniformly.
2457 * testsuite/22_locale/money_put_members_char.cc:
2458 Add test05 distilled from PR.
2459 (test01-02-03): Trim some '*' to ' '.
2460 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2461
2462 2002-02-18 Loren Rittle <ljrittle@acm.org>
2463
2464 libstdc++/5697
2465 * include/Makefile.am (thread_builddir): Remove (map all
2466 existing uses to target_builddir).
2467 (thread_headers): Rename to...
2468 (thread_target_headers): ...this.
2469 (stamp-thread): Remove.
2470 (stamp-target): Correctly state the position as built.
2471 Update all dependencies to match the new reality. Remove all
2472 dependency calculations on directories.
2473 * include/Makefile.in: Rebuilt.
2474
2475 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2476
2477 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2478 * include/bits/fstream.tcc: Same.
2479 * include/bits/sstream.tcc: Same.
2480 * include/bits/ostream.tcc: Same.
2481 * include/bits/istream.tcc: Same.
2482 * include/bits/streambuf.tcc: Same.
2483 * include/bits/basic_ios.tcc: Same.
2484 * include/bits/basic_string.tcc: Same.
2485
2486 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2487
2488 * include/std/std_iosfwd.h: Don't guard typedefs with
2489 _GLIBCPP_USE_WCHAR_T
2490 * include/bits/stringfwd.h: Same.
2491
2492 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2493
2494 * src/locale.cc (moneypunct_byname): Remove definitions.
2495 * include/std/std_streambuf.h (streambuf::operator=): Return.
2496
2497 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2498
2499 Tune for size.
2500 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2501 explicit instantiation.
2502 (string::_Rep::_S_max_size): Same.
2503 * include/bits/basic_string.tcc: Add extern explicit
2504 instantiations for string, wstring.
2505 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2506 for ios, wios.
2507 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2508 * include/bits/istream.tcc: Same, for istream, wistream.
2509 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2510 wiostream.
2511 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2512 istringstream, wistringstream, ostringstream, wostringstream,
2513 stringstream, wstringstream.
2514 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2515 wifstream, ofstream, wofstream, fstream, wfstream.
2516 * src/misc-inst.cc: Correct comments.
2517 Add iomanip instantiations for wide streams.
2518 * include/std/std_iomanip.h: Same.
2519 * include/bits/locale_facets.tcc: Same.
2520
2521 * include/std/std_streambuf.h: Correct
2522 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2523 * include/std/std_sstream.h: Same.
2524 * include/std/std_ostream.h: Same.
2525 * include/std/std_istream.h: Same.
2526 * include/std/std_fstream.h: Same.
2527
2528 * include/std/std_streambuf.h: Add definitions for private copy
2529 ctor and assignment operator.
2530 * include/std/std_istream.h: Remove declared but undefined copy
2531 ctor and assignment operator. This is taken care of in ios_base,
2532 so adding it in the derived class as well is superfluous.
2533 * include/std/std_ostream.h: Same.
2534
2535 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2536 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2537
2538 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2539
2540 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2541 Add typeinfo bits. Smooth.
2542 * aclocal.m4: Regenerate.
2543 * configure: Same.
2544 * src/Makefile.in: Same.
2545
2546 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2547
2548 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2549 which do not have a CAS instruction.
2550
2551 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2552
2553 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2554 * configure.in: Call it.
2555 * config/linker-map.gnu: New file, initial incomplete revision.
2556 * src/Makefile.am: Optionally pass version script to the linker.
2557 * aclocal.m4: Regenerate.
2558 * configure: Regenerate.
2559 * src/Makefile.in: Regenerate.
2560
2561 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2562
2563 * src/localename.cc: Remove stdexcept include.
2564 * src/locale-inst.cc: Same.
2565 * src/locale.cc: Same.
2566 * src/functexcept.cc: Remove string includes.
2567 * include/std/std_bitset.h: Remove stdexcept include.
2568 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2569 * testsuite/23_containers/bitset_ctor.cc: Same.
2570
2571 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2572
2573 * include/bits/stl_algo (__stl_threshold): Declare external.
2574 (__stl_chunk_size): Same.
2575 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2576 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2577 (_S_rb_tree_black): Same.
2578 * src/stl-inst.cc (__stl_threshold): Define.
2579 (__stl_chunk_size): Same.
2580 (__WORD_BIT): Same.
2581 (_S_rb_tree_red): Same.
2582 (_S_rb_tree_black): Same.
2583
2584 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2585 * include/bits/basic_file.h: Remove.
2586 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2587 Declare generic types, specialization.
2588 * config/io/basic_file_stdio.cc: Definitions.
2589 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2590 Declare generic types.
2591 * include/Makefile.am (bits_headers): Remove basic_file.h.
2592 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2593 (stamp-target): Same.
2594
2595 * include/bits/stl_alloc.h: Tweaks.
2596 * include/bits/localefwd.h: Same.
2597
2598 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2599
2600 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2601 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2602 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2603
2604 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2605
2606 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2607 Use __typeof__ in concept checks.
2608
2609 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2610
2611 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2612 adjacent_find, count, count_if, search, search_n, swap_ranges,
2613 transform, replace, replace_if, replace_copy, replace_copy_if,
2614 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2615 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2616
2617 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2618
2619 * include/bits/locale_facets.h
2620 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2621 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2622 (__timepunct<_CharT>::_M_put_helper): Same.
2623 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2624
2625 * include/bits/fstream.tcc (filebuf::underflow): Remove
2626 __codecvt_type typedef.
2627 (filebuf::_M_convert_to_external): Same.
2628
2629 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2630
2631 * docs/doxygen/TODO: Update.
2632 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2633 * docs/doxygen/mainpage.html: Add TODO list link.
2634 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2635 * docs/doxygen/tables.html: New file, emoty structure only.
2636
2637 * include/bits/stl_iterator.h: Doxygenate just about everything.
2638 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2639 * include/bits/stl_iterator_base_types.h: Add notes.
2640
2641 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2642
2643 * include/bits/stl_map.h: Tweak doxygen markup.
2644 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2645 * include/bits/stl_vector.h: Likewise.
2646
2647 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2648
2649 libstdc++/5286
2650 libstdc++/3860
2651 * include/std/std_fstream.h (filebuf::__file_type): Change to
2652 __basic_file<char>.
2653 (filebuf::_M_convert_to_external): Declare.
2654 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2655 codecvt bits for wide streams.
2656 (filebuf::_M_really_overflow): Use it.
2657 (filebuf::underflow): Use codecvt.
2658 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2659 (codecvt<__enc_traits>::do_out): Deal with partial.
2660 (codecvt<__enc_traits>::do_encoding): Return something useful.
2661 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2662 wchar_t.
2663 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2664 Change expected encoding output.
2665 (test02): Same.
2666 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2667 (test02): Same.
2668
2669 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2670 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2671
2672 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2673 (basic_ios::widen): Same.
2674
2675 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2676
2677 * testsuite/22_locale/money_get_members_char.cc:
2678 Add comment, tidy up.
2679 (test01): more "en_HK" tests (without showbase).
2680 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2681
2682 2002-02-06 Loren Rittle <ljrittle@acm.org>
2683
2684 * config/locale/c_locale_generic.cc: Do not trust
2685 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
2686 set by configure.
2687
2688 2002-02-06 Loren Rittle <ljrittle@acm.org>
2689
2690 * acinclude.m4: Add C++ linkage check for strtof.
2691 * aclocal.m4: Rebuilt.
2692 * config.h.in: Rebuilt.
2693 * configure: Rebuilt.
2694 * config/locale/c_locale_generic.cc: Conditionally include
2695 <ieeefp.h>. Improve handling and error checking of float
2696 and long double input for non-C99 configurations.
2697
2698 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
2699
2700 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2701 In case money_base::symbol deal properly with multi-char sign
2702 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
2703 * testsuite/22_locale/money_get_members_char.cc: Add test07.
2704 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
2705
2706 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
2707
2708 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2709 First construct a tentative returned string, then, only if the
2710 parsing succeeds, copy it into the string passed by reference.
2711 * testsuite/22_locale/money_get_members_char.cc: Add test06.
2712 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
2713
2714 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
2715
2716 * docs/doxygen/TODO: Impl-defined behavior now documented...
2717 * docs/html/17_intro/howto.html: ...here.
2718 * docs/doxygen/mainpage.doxy: Remove, rename...
2719 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
2720 * docs/doxygen/style.css: Add small text.
2721 * docs/doxygen/run_doxygen: Adjust for new mainpage.
2722 * docs/doxygen/user.cfg.in: Likewise.
2723
2724 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
2725
2726 * include/bits/stl_map.h: Initial doxygen markup.
2727 * include/std/std_fstream.h: Initial doxygen markup.
2728
2729 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
2730
2731 libstdc++/5579
2732 * include/bits/locale_facets.tcc (money_get::do_get(string)):
2733 Deal correctly with !(__io.flags() & ios_base::showbase)
2734 for case money_base::symbol.
2735 * testsuite/22_locale/money_get_members_char.cc: Add test05.
2736 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
2737
2738 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
2739
2740 * testsuite/22_locale/operators.cc
2741 (gnu_collate::do_compare()): Add return statement to
2742 suppress "no return statement" warning.
2743
2744 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
2745
2746 * testsuite/27_io/ostream_manip.cc: Enable test02.
2747
2748 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
2749
2750 * docs/html/documentation.html: Update for 3.0.96.
2751 * docs/html/faq/index.html: Update for 3.0.96.
2752 * docs/html/faq/index.txt: Regenerated.
2753 * docs/doxygen/TODO: Update notes.
2754 * docs/html/17_intro/howto.html: Initial impl-specific listing.
2755
2756 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
2757
2758 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2759 Initialize all data members in copy ctor. Make ctors explicit.
2760 (__enc_traits::__enc_traits()): Default ctor does nothing.
2761 (__enc_traits::_M_init): Guard against multiple iconv_opens.
2762 * include/std/std_sstream.h (basic_stringbuf): Make data members
2763 protected.
2764 * include/std/std_fstream.h (basic_filebuf): Same.
2765 * include/std/std_streambuf.h: Tweak.
2766 * include/bits/streambuf.tcc: Same.
2767 * include/bits/sstream.tcc: Same.
2768 * include/bits/fstream.tcc: Same.
2769
2770 2002-01-31 Loren Rittle <ljrittle@acm.org>
2771
2772 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
2773 allow NULL argument to be passed to setenv().
2774 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2775 * testsuite/22_locale/collate_members_char.cc: Likewise.
2776 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2777 * testsuite/22_locale/ctype_members_char.cc: Likewise.
2778 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
2779 * testsuite/22_locale/messages_members_char.cc: Likewise.
2780 * testsuite/22_locale/money_get_members_char.cc: Likewise.
2781 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2782 * testsuite/22_locale/money_put_members_char.cc: Likewise.
2783 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2784 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
2785 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2786 * testsuite/22_locale/num_get_members_char.cc: Likewise.
2787 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2788 * testsuite/22_locale/num_put_members_char.cc: Likewise.
2789 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2790 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
2791 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2792 * testsuite/22_locale/time_get_members_char.cc: Likewise.
2793 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2794 * testsuite/22_locale/time_put_members_char.cc: Likewise.
2795 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2796
2797 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
2798
2799 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
2800
2801 * ChangeLog-2001: Fix spelling errors...
2802 * docs/html/17_intro/RELEASE-NOTES: Update.
2803 * docs/html/17_intro/TODO: Update.
2804 * README (file): Update.
2805
2806 2002-01-30 Loren Rittle <ljrittle@acm.org>
2807
2808 * config/locale/c_locale_generic.cc: Check errno for ERANGE
2809 instead of non-zero to aid portability.
2810
2811 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2812
2813 * docs/html/22_locale/messages.html: Fix example code.
2814
2815 2002-01-30 Richard Henderson <rth@redhat.com>
2816
2817 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
2818 out from test03 and templatize.
2819 (test03): Use it.
2820
2821 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2822
2823 * config/locale/numpunct_members_gnu.cc
2824 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
2825 Fix initialization of _M_grouping for locales which have
2826 _M_thousands_sep == '\0'(L'\0', respectively).
2827 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
2828
2829 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
2830
2831 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2832 Better fix for 32/64 bit architectures, avoiding the
2833 implicit assumption that CHAR_BIT == 8.
2834
2835 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
2836
2837 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
2838 * Makefile.in: Regenerate.
2839
2840 * docs/doxygen/run_doxygen: Update, mostly for man pages.
2841 * docs/doxygen/Intro.3: Update.
2842 * docs/doxygen/TODO: Update.
2843 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
2844 * docs/doxygen/mainpage.doxy: Update.
2845 * docs/doxygen/user.cfg.in: Update for header rename. Also
2846 regenerate comments and variables with 1.2.12.
2847 * docs/doxygen/maint.cfg.in: Remove file.
2848
2849 * include/bits/stl_relops.h: Doxygenate.
2850 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
2851
2852 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
2853 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
2854 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
2855 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
2856 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
2857 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
2858 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
2859 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
2860 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
2861 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
2862 include/ext/hash_set, include/ext/iterator, include/ext/memory,
2863 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
2864 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
2865 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
2866 include/std/std_algorithm.h, include/std/std_bitset.h,
2867 include/std/std_complex.h, include/std/std_deque.h,
2868 include/std/std_fstream.h, include/std/std_functional.h,
2869 include/std/std_iomanip.h, include/std/std_ios.h,
2870 include/std/std_iosfwd.h, include/std/std_iostream.h,
2871 include/std/std_istream.h, include/std/std_iterator.h,
2872 include/std/std_limits.h, include/std/std_list.h,
2873 include/std/std_locale.h, include/std/std_map.h,
2874 include/std/std_memory.h, include/std/std_numeric.h,
2875 include/std/std_ostream.h, include/std/std_queue.h,
2876 include/std/std_set.h, include/std/std_sstream.h,
2877 include/std/std_stack.h, include/std/std_stdexcept.h,
2878 include/std/std_streambuf.h, include/std/std_string.h,
2879 include/std/std_utility.h, include/std/std_valarray.h,
2880 include/std/std_vector.h: Add/correct @file doxygen hook.
2881
2882 * include/ext/memory: Doxygenate most of rest of file.
2883 * libsupc++/exception: Doxygen output formatting.
2884 * libsupc++/new: Say which header it is.
2885
2886 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
2887 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
2888 * docs/html/23_containers/howto.html: Describe O(n) list::size().
2889 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
2890
2891 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2892 Charles Leggett <CGLeggett@lbl.gov>
2893
2894 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
2895
2896 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
2897
2898 * testsuite/27_io/ostream_inserter_arith.cc (test03):
2899 Fix to deal correctly with both 32 bit and 64 bit architectures
2900
2901 2002-01-25 Loren Rittle <ljrittle@acm.org>
2902
2903 * testsuite/thread/pthread1.cc: Use one condition variable
2904 per predicate instead of tricky use of one condition variable.
2905
2906 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
2907
2908 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
2909 streams.
2910 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
2911 * testsuite/27_io/filebuf.cc: Compile only.
2912 * testsuite/27_io/filebuf_members.cc: Move tests to here.
2913 * testsuite/27_io/filebuf_virtuals.cc: And here.
2914 Revert sungetc, sync changes for expected values.
2915 * testsuite/27_io/filebuf-*: Move to...
2916 * testsuite/27_io/filebuf_virtuals-*: ...here.
2917 * testsuite/27_io/istream.cc: Compile only, activate.
2918 * testsuite/27_io/ostream.cc: Same.
2919 * testsuite/27_io/iostream.cc: New.
2920 * testsuite/27_io/iostream_members.cc: New.
2921
2922 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
2923
2924 * testsuite/thread/pthread1.cc: Enable on cygwin.
2925 * testsuite/thread/pthread2.cc: Likewise.
2926 * testsuite/thread/pthread3.cc: Likewise.
2927 * testsuite/thread/pthread4.cc: Likewise.
2928 * testsuite/thread/pthread5.cc: Likewise.
2929 * testsuite/thread/pthread6.cc: Likewise.
2930
2931 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2932
2933 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
2934
2935 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2936
2937 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
2938 const, tweak.
2939 (basic_ios::fill(char_type)): Use fill().
2940 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
2941 (basic_ios::narrow): Same.
2942 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
2943 if they are invalid.
2944 (basic_ios::init): Comment.
2945 * testsuite/27_io/ios_init.cc (test02): New.
2946
2947 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
2948
2949 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2950 * include/bits/stl_algo.h: Include stl_tempbuf.h.
2951 * include/ext/memory: Do not include stl_tempbuf.h.
2952 (temporary_buffer): Add doxygen hook.
2953 (__get_temporary_buffer, get_temporary_buffer,
2954 return_temporary_buffer): Move back to std:: header...
2955 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
2956 * include/ext/rope: Do not include stl_tempbuf.h.
2957 * include/ext/stl_hashtable.h: Likewise.
2958 * include/std/std_algorithm.h: Likewise.
2959 * testsuite/20_util/temporary_buffer.cc: New file.
2960
2961 2002-01-24 andrew@andypo.net
2962 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
2963
2964 libstdc++/5432
2965 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
2966 * include/bits/localefwd.h: Likewise.
2967 Also use for std::locale::id::_S_highwater.
2968 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
2969 * src/locale.cc: Support new usage of _Atomic_word.
2970 (std::locale::classic): Guard entire function against reentry.
2971 * src/localename.cc: Support new usage of _Atomic_word.
2972
2973 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
2974
2975 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
2976 _GLIBCPP_HAVE_SETENV.
2977 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
2978 * testsuite/22_locale/collate_members_char.cc (test02): Same.
2979 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
2980 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
2981 * testsuite/22_locale/messages_members_char.cc (test02): Same.
2982 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
2983 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
2984 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
2985 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
2986 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
2987 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
2988 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
2989 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
2990 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
2991 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
2992 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
2993 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
2994 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
2995 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
2996 * aclocal.m4: Regenerate.
2997 * configure: Regenerate.
2998 * config.h.in: Regenerate.
2999
3000 2002-01-23 Loren Rittle <ljrittle@acm.org>
3001
3002 * testsuite/thread/pthread1.cc: New test.
3003 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3004 * testsuite/thread/pthread3.cc: Likewise.
3005 * testsuite/thread/pthread4.cc: New test adapted from
3006 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3007 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3008 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3009
3010 2002-01-23 Richard Henderson <rth@redhat.com>
3011
3012 PR libstdc++/5198
3013 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3014 CAS on the cpu variants that support it. Add versions that use
3015 TAS and that disable interrupts.
3016 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3017
3018 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3019
3020 * include/bits/locale_facets.tcc: Remove old comments.
3021
3022 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3023
3024 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3025 parameter to _Tv.
3026 (__convert_from_v): Same.
3027
3028 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3029
3030 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3031 prototype.
3032 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3033 __max_digits checks, adjust arguments.
3034 (num_get::do_get(*)): Changeup.
3035
3036 2002-01-23 Loren Rittle <ljrittle@acm.org>
3037
3038 * config/locale/c_locale_generic.cc: Fix typename usage.
3039
3040 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3041
3042 * config/locale/c_locale_generic.cc: Fix.
3043
3044 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3045
3046 * docs/html/22_locale/messages.html: Remove angle brackets.
3047 * docs/html/17_intro/TODO: Add.
3048
3049 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3050
3051 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3052 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3053 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3054 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3055
3056 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3057
3058 Audit for LANG independence.
3059 * include/bits/localefwd.h: Tweaks.
3060 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3061 Use __convert_to_v.
3062 (time_get::do_get_year): Same.
3063 (__convert_from_v): Add.
3064 (num_put::_M_convert_float): Use.
3065 (num_put::_M_convert_int): Same.
3066 (money_put::do_put): Same.
3067
3068 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3069 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3070 * config/locale/time_members_generic.cc:
3071 * config/locale/messages_members_gnu.cc: Same.
3072 * config/locale/messages_members_gnu.h: Same.
3073
3074 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3075 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3076 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3077 * testsuite/22_locale/collate_members_char.cc (test02): New.
3078 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3079 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3080 * testsuite/22_locale/messages_members_char.cc (test02): New.
3081 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3082 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3083 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3084 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3085 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3086 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3087 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3088 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3089 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3090 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3091 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3092 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3093 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3094 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3095 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3096 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3097
3098 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3099 locale issues.
3100 * testsuite/22_locale/time_get_members_char.cc: Same.
3101
3102 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3103
3104 libstdc++/5280
3105 * include/bits/localefwd.h: Tweak comments.
3106 * include/bits/locale_facets.h (__convert_to_v): Add.
3107 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3108 (num_get::do_get(float)): Same.
3109 (num_get::do_get(long double)): Same.
3110 (num_get::do_get(bool)): Same.
3111 (num_get::do_get(long)): Same.
3112 (num_get::do_get(long long)): Same.
3113 (num_get::do_get(unsigned int)): Same.
3114 (num_get::do_get(unsigned short)): Same.
3115 (num_get::do_get(unsigned long)): Same.
3116 (num_get::do_get(unsigned long long)): Same.
3117 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3118 * config/locale/c_locale_generic.cc: Same.
3119
3120 2002-01-22 Loren Rittle <ljrittle@acm.org>
3121
3122 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3123 (std_builddir): Likewise.
3124 (std_headers_rename): Fix cut-n-paste typo.
3125 (install-data-local): Concat path per element instead of once to
3126 first element of list.
3127 * include/Makefile.in: Rebuilt.
3128
3129 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3130
3131 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3132 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3133 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3134
3135 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3136
3137 * include/bits/locale_facets.h (ctype<char>::classic_table):
3138 Remove definition.
3139 (ctype<char>::_S_ctable): Remove.
3140 * config/os/gnu-linux/bits/ctype_noninline.h
3141 (ctype<char>::_S_table): Remove definition.
3142 (ctype<char>::classic_table): Define.
3143 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3144 * config/os/aix/bits/ctype_noninline.h: Same.
3145 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3146 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3147 * config/os/djgpp/bits/ctype_noninline.h: Same.
3148 * config/os/generic/bits/ctype_noninline.h: Same.
3149 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3150 * config/os/hpux/bits/ctype_noninline.h: Same.
3151 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3152 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3153 * config/os/mingw32/bits/ctype_noninline.h: Same.
3154 * config/os/newlib/bits/ctype_noninline.h: Same.
3155 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3156 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3157 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3158
3159 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3160
3161 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3162 of _pctype. Use to define _S_ctable. Add definition for alternate
3163 ctor. Initialise _M_ctable to _S_ctable in ctors.
3164 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3165 rather than ::toupper, ::tolower.
3166
3167 2002-01-18 Loren Rittle <ljrittle@acm.org>
3168
3169 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3170 Add specialization for FreeBSD systems only to avoid losing test
3171 only due to extra precision unmentioned in system headers.
3172
3173 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3174
3175 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3176
3177 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3178
3179 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3180 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3181
3182 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3183
3184 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3185
3186 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3187
3188 * configure.target: Define OPT_LDFLAGS for AIX case.
3189
3190 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3191
3192 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3193 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3194
3195 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3196
3197 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3198
3199 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3200
3201 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3202 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3203 * aclocal.m4: Regenerate.
3204 * configure: Regenerate.
3205
3206 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3207
3208 * include/Makefile.am (c_base_headers_rename): New.
3209 (c_base_headers_extra): New.
3210 (stamp-c_base): Modify.
3211 (install-data-local): Use both.
3212 * include/Makefile.in: Regenerate.
3213 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3214 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3215 cstdio ctime cwctype]: Move to..
3216 * include/c/std_*: Here.
3217 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3218 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3219 cstdio ctime cwctype]: Move to..
3220 * include/c_std/std_*: Here.
3221
3222 Alexandre Oliva <aoliva@redhat.com>
3223 * include/Makefile.am (.PRECIOUS): Add rule.
3224 * include/Makefile.in: Regenerate.
3225
3226 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3227 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3228
3229 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3230 Deuglify, should be current.
3231 (back_insert_iterator::_M_container): Deuglify, should be container.
3232 (front_insert_iterator::_M_container): Same.
3233 (insert_iterator::_M_container): Same.
3234 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3235 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3236 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3237 * testsuite/24_iterators/insert_iterator.cc: Same.
3238
3239 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3240
3241 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3242 static.
3243 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3244 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3245 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3246 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3247 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3248 * config/os/newlib/bits/ctype_noninline.h: Same.
3249 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3250 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3251 * config/os/hpux/bits/ctype_noninline.h: Same.
3252 * config/os/djgpp/bits/ctype_noninline.h: Same.
3253 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3254 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3255 * config/os/aix/bits/ctype_noninline.h: Same.
3256
3257 Testcase by Dietmar Kühl via Peter Schmid
3258 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3259 classic_table().
3260
3261 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3262
3263 * libmath/signbitl.c: Copyright years as list, not range.
3264 * libmath/Makefile.am: Same.
3265 * libmath/Makefie.in: Regenerate.
3266 * libmath/signbit.c: Same.
3267 * libmath/nan.c: Same.
3268 * libmath/copysignf.c: Same.
3269 * libmath/signbitf.c: Same.
3270 * testsuite/22_locale/money_get_members_char.cc: Same.
3271 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3272 * testsuite/22_locale/money_put_members_char.cc: Same.
3273 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3274 * testsuite/22_locale/time_get_members_char.cc: Same.
3275 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3276 * testsuite/22_locale/time_put_members_char.cc: Same.
3277 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3278 * testsuite/21_strings/nonmember.cc: Same.
3279 * testsuite/21_strings/compare.cc: Same.
3280 * testsuite/27_io/stringstream.cc: Same.
3281 * testsuite/27_io/stringbuf.cc: Same.
3282 * testsuite/27_io/filebuf.cc: Same.
3283 * testsuite/27_io/ios_manip_basefield.cc: Same.
3284 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3285 * include/bits/cpp_type_traits.h: Same.
3286 * include/bits/generic_shadow.h: Same.
3287 * include/bits/gslice_array.h: Same.
3288 * include/bits/gslice.h: Same.
3289 * include/bits/indirect_array.h: Same.
3290 * include/bits/slice_array.h: Same.
3291 * include/bits/sstream.tcc: Same.
3292 * include/bits/streambuf_iterator.h: Same.
3293 * include/bits/valarray_array.tcc: Same.
3294 * include/bits/valarray_meta.h: Same.
3295 * include/bits/valarray_array.h: Same.
3296 * config/os/mingw32/bits/ctype_noninline.h: Same.
3297 * config/os/mingw32/bits/ctype_base.h: Same.
3298 * config/os/hpux/bits/ctype_noninline.h: Same.
3299 * config/os/hpux/bits/ctype_base.h: Same.
3300 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3301 * config/os/gnu-linux/bits/ctype_base.h: Same.
3302 * config/os/generic/bits/ctype_noninline.h: Same.
3303 * config/os/generic/bits/ctype_base.h: Same.
3304
3305 * libsupc++/tinfo.h: Tweaks.
3306
3307 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3308
3309 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3310 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3311 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3312
3313 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3314
3315 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3316 (num_put::do_put(void*)): Fix.
3317 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3318 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3319 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3320 long double, void, bool types.
3321 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3322
3323 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3324 Alexandre Oliva <aoliva@redhat.com>
3325
3326 * libmath/Makefile.am (LINK): Add --tag CC.
3327 * libmath/Makefile.in: Regenerate.
3328
3329 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3330
3331 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3332 of character to attribute mapping table.
3333
3334 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3335
3336 * testsuite/26_numerics/c99_classification_macros_c.cc
3337 Remove dg-error and dg-excess-errors comments.
3338
3339 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3340
3341 * include/bits/locale_facets.tcc (time_put::put): Correct output
3342 iterator positions.
3343 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3344 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3345 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3346 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3347
3348 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3349
3350 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3351
3352 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3353 Nathan Myers <ncm@cantrip.org>
3354
3355 * include/bits/basic_string.h
3356 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3357 temporaries (i.e., call _M_replace_safe) when possible.
3358 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3359 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3360 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3361 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3362 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3363 * include/bits/basic_string.tcc
3364 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3365 replace(__pos, __n1, __s, __n2).
3366 * testsuite/21_strings/replace.cc (test03): New testcases.
3367
3368 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3369 Adjust comparison wrt overflow.
3370
3371 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3372
3373 * include/Makefile.am (std_headers_rename): New variable.
3374 (install-data-local): Use it.
3375 * include/Makefile.in: Regenerate.
3376
3377 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3378
3379 * include/bits/locale_facets.tcc (money_put::do_put(string):
3380 Correct output iterator value.
3381 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3382 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3383
3384 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3385
3386 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3387 previous commit.
3388
3389 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3390
3391 * include/Makefile.am (std_headers): Update list with new names.
3392 (stamp-std): Link to standardized name.
3393 * include/Makefile.in: Regenerate.
3394
3395 * include/std/algorithm, include/std/bitset, include/std/complex,
3396 include/std/deque, include/std/fstream, include/std/functional,
3397 include/std/iomanip, include/std/ios, include/std/iosfwd,
3398 include/std/iostream, include/std/istream, include/std/iterator,
3399 include/std/limits, include/std/list, include/std/locale,
3400 include/std/map, include/std/memory, include/std/numeric,
3401 include/std/ostream, include/std/queue, include/std/set,
3402 include/std/sstream, include/std/stack, include/std/stdexcept,
3403 include/std/streambuf, include/std/string, include/std/utility,
3404 include/std/valarray, include/std/vector: Rename to...
3405
3406 * include/std/std_algorithm.h, include/std/std_bitset.h,
3407 include/std/std_complex.h, include/std/std_deque.h,
3408 include/std/std_fstream.h, include/std/std_functional.h,
3409 include/std/std_iomanip.h, include/std/std_ios.h,
3410 include/std/std_iosfwd.h, include/std/std_iostream.h,
3411 include/std/std_istream.h, include/std/std_iterator.h,
3412 include/std/std_limits.h, include/std/std_list.h,
3413 include/std/std_locale.h, include/std/std_map.h,
3414 include/std/std_memory.h, include/std/std_numeric.h,
3415 include/std/std_ostream.h, include/std/std_queue.h,
3416 include/std/std_set.h, include/std/std_sstream.h,
3417 include/std/std_stack.h, include/std/std_stdexcept.h,
3418 include/std/std_streambuf.h, include/std/std_string.h,
3419 include/std/std_utility.h, include/std/std_valarray.h,
3420 include/std/std_vector.h: ...this.
3421
3422 2002-01-11 Loren Rittle <ljrittle@acm.org>
3423
3424 * include/Makefile.am (extra_target_headers): New list of all
3425 target files built with ad hoc naming rules.
3426 (stamp-*): Handle LN_S failure in manner portable across make
3427 implementations.
3428 (install-data-local): Install header files from human-maintained
3429 file lists and directory components instead of non-robust find.
3430 * include/Makefile.in: Rebuilt.
3431
3432 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3433
3434 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3435 Check for zero-length negative sign before adding it to output
3436 string.
3437 (money_get::do_get(long double)): Return beg.
3438 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3439 iterator checks.
3440 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3441
3442 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3443
3444 libstdc++/5331
3445 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3446 for _M_extract_float and _M_extract_int
3447 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3448 (num_get<>::_M_extract_int): Likewise, all callers changed
3449 * testsuite/22_locale/num_get_members_char.cc: Testcase
3450
3451 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3452
3453 * libsupc++/exception (bad_exception): Add comment.
3454 * libsupc++/new (bad_alloc): Same.
3455 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3456
3457 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3458
3459 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3460 that the destructors should be removed from the descriptions
3461 in the standard: writing them explicitly allows the vtable
3462 heuristic to work. For additional information see:
3463 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3464 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3465 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3466 * libsupc++/exception (bad_exception::~bad_exception()):
3467 Reintroduce declaration.
3468 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3469 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3470 (bad_typeid::~bad_typeid()): Same.
3471 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3472 Reintroduce definition.
3473 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3474 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3475 (bad_typeid::~bad_typeid()): Same.
3476
3477 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3478
3479 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3480 * include/Makefile.in: Regenerate.
3481
3482 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3483
3484 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3485 definition.
3486
3487 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3488
3489 libstdc++/2913
3490 libstdc++/4879
3491 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3492 return value of _M_file->sync().
3493 (filebuf::showmanyc): Check for is_open.
3494 * include/std/fstream (filebuf::sync): Tweak.
3495 * testsuite/27_io/filebuf.cc: Tweak.
3496
3497 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3498 Brad Garcia <garsh@attbi.com>
3499
3500 * testsuite/27_io/filebuf_members.cc: Add test.
3501
3502 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3503 Craig Rodrigues <rodrigc@mediaone.net>
3504
3505 libstdc++/5174
3506 * po/Makefile.am (mkinstalldirs): Add.
3507 * po/Makefile.in: Regenerate.
3508
3509 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3510
3511 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3512 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3513 compiler output.
3514 * testsuite/23_containers/map_operators.cc: Remove
3515 dg-excess-errors comment.
3516 * testsuite/23_containers/set_operators.cc: Likewise.
3517
3518 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3519
3520 * include/bits/stl_function.h: Remove two lines of comments;
3521 adjust copyright years.
3522
3523 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3524
3525 * include/Makefile.am (std_headers): Remove cXXX from list.
3526 (c_base_srcdir): No bits subdirectory.
3527 (c_base_builddir): Same.
3528 (c_base_headers): Adjust names, add ciso646.
3529 (bits_headers): Remove std_xxx.h headers.
3530 * include/Makefile.in: Regenerate.
3531
3532 * include/ext/iterator: Adjust includes.
3533 * include/ext/ropeimpl.h: Same.
3534 * include/ext/stl_hash_fun.h: Same.
3535 * include/ext/algorithm: Same.
3536
3537 * include/backward/bvector.h: Adjust includes.
3538 * include/backward/vector.h: Same.
3539 * include/backward/strstream: Same.
3540 * include/backward/streambuf.h: Same.
3541 * include/backward/stack.h: Same.
3542 * include/backward/set.h: Same.
3543 * include/backward/queue.h: Same.
3544 * include/backward/multiset.h: Same.
3545 * include/backward/multimap.h: Same.
3546 * include/backward/map.h: Same.
3547 * include/backward/list.h: Same.
3548 * include/backward/iterator.h: Same.
3549 * include/backward/iostream.h: Same.
3550 * include/backward/iomanip.h: Same.
3551 * include/backward/fstream.h: Same.
3552 * include/backward/deque.h: Same.
3553 * include/backward/complex.h: Same.
3554
3555 * include/bits/std_algorithm.h: Move to...
3556 * include/std/algorithm: ...here.
3557 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3558 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3559 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3560 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3561 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3562 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3563 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3564 Same.
3565
3566 * include/c_std/bits/std_cassert.h: Move to...
3567 * include/c_std/cassert: Here.
3568 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3569 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3570 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3571 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3572 std_cwctype.h: Same.
3573 * include/c_std/cmath: Adjust cmath.tcc include.
3574 * include/c_std/cstdlib: Adjust includes.
3575 * include/c_std/cwchar: Same.
3576 * include/c_std/ctime: Same.
3577 * include/c_std/cstring: Same.
3578 * include/c_std/cstdio: Same.
3579 * include/c_std/bits: Remove directory.
3580
3581 * include/c/bits/std_cassert.h: Move to...
3582 * include/c/cassert: Here.
3583 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3584 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3585 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3586 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3587 std_cwctype.h: Same.
3588 * include/c/bits: Remove directory.
3589
3590 * include/std/cwctype: Remove.
3591 * include/std/cwchar: Remove.
3592 * include/std/ctime: Remove.
3593 * include/std/cstring: Remove.
3594 * include/std/cstdlib: Remove.
3595 * include/std/cstdio: Remove.
3596 * include/std/cstddef: Remove.
3597 * include/std/cstdarg: Remove.
3598 * include/std/csignal: Remove.
3599 * include/std/csetjmp: Remove.
3600 * include/std/cmath: Remove.
3601 * include/std/clocale: Remove.
3602 * include/std/climits: Remove.
3603 * include/std/ciso646: Remove.
3604 * include/std/cfloat: Remove.
3605 * include/std/cerrno: Remove.
3606 * include/std/cctype: Remove.
3607 * include/std/cassert: Remove.
3608
3609 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3610 files and subsituting <xxx>.
3611 * include/bits/valarray_array.h: Same.
3612 * include/bits/stl_uninitialized.h: Same.
3613 * include/bits/stl_alloc.h: Same.
3614 * include/bits/stl_algobase.h: Same.
3615 * include/bits/sstream.tcc: Same.
3616 * include/bits/pthread_allocimpl.h: Same.
3617 * include/bits/ostream.tcc: Same.
3618 * include/bits/localefwd.h: Same.
3619 * include/bits/locale_facets.tcc: Same.
3620 * include/bits/locale_facets.h: Same.
3621 * include/bits/istream.tcc: Same.
3622 * include/bits/char_traits.h: Same.
3623 * include/bits/boost_concept_check.h: Same.
3624 * include/bits/basic_file.h: Same.
3625 * include/std/bitset: Same.
3626 * include/std/complex: Same.
3627 * include/std/fstream: Same.
3628 * include/std/functional: Same.
3629 * include/std/ios: Same.
3630 * include/std/iostream: Same.
3631 * include/std/ostream: Same.
3632 * include/std/sstream: Same.
3633 * include/std/streambuf: Same.
3634 * include/std/string: Same.
3635 * include/std/iterator: Same.
3636 * include/std/valarray: Same.
3637
3638 * src/ios.cc: Adjust includes.
3639 * src/valarray-inst.cc: Same.
3640 * src/string-inst.cc: Same.
3641 * src/stl-inst.cc: Same.
3642 * src/stdexcept.cc: Same.
3643 * src/misc-inst.cc: Same.
3644 * src/localename.cc: Same.
3645 * src/locale-inst.cc: Same.
3646 * src/locale.cc: Same.
3647 * src/limits.cc: Same.
3648 * src/concept-inst.cc: Same.
3649 * src/complex_io.cc: Same.
3650 * src/codecvt.cc: Same.
3651 * src/bitset.cc: Same.
3652 * src/cmath.cc: Same.
3653
3654 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3655
3656 * include/bits/stl_tree.h (rb_tree): Move to...
3657 * include/ext/rb_tree: ...here, new file.
3658 * include/Makefile.am (ext_headers): Add new file.
3659 * include/Makefile.in: Regenerate.
3660 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3661 return_temporary_buffer, struct temporary_buffer): Move to...
3662 * include/ext/memory: ...here.
3663 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3664 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3665 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3666
3667 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3668
3669 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3670 * include/ext/numeric: ...here, new file.
3671 * include/bits/stl_function.h (identity_element, unary_compose,
3672 binary_compose, compose1, compose2, identity, select1st,
3673 select2nd, project1st + helper, project2nd + helper,
3674 constant_void_fun + helper, constant_unary_fun + helper,
3675 costant_binary_fun + helper, constant0, constant1, constant2,
3676 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3677 * include/ext/functional: ...here, new file.
3678 * include/Makefile.am (ext_headers): Add new files.
3679 * include/Makefile.in: Regenerate.
3680 * testsuite/ext/headers.cc: Include <ext/numeric> and
3681 <ext/functional>.
3682 * include/backward/algo.h: Include <ext/numeric>, tweak.
3683 * include/backward/function.h: Include <ext/functional>, tweak.
3684 * include/ext/ropeimpl.h: Include <ext/numeric>.
3685
3686 2002-01-03 Jeffrey A Law <law@redhat.com>
3687
3688 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
3689 __strtoull declarations with __extension__.
3690
3691 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
3692
3693 * testsuite/lib/prune.exp: Correct regular expression for
3694 -ffunction-sections
3695
3696 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3697
3698 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
3699 Change concept checks, as with lower_bound and PR 2054.
3700 * testsuite/ext/concept_checks.cc: Expand test to include those.
3701
3702 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
3703
3704 * include/bits/boost_concept_check.h: Import some changes from
3705 upsteam (Boost) version.
3706
3707 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
3708
3709 * include/bits/stl_algobase.h (copy_n + helpers,
3710 lexicographical_compare_3way + helpers): Move to...
3711 * include/ext/algorithm: ...here.
3712 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
3713 helpers): Move to...
3714 * include/ext/memory: ...here, new file.
3715 * include/Makefile.am (ext_headers): Add new file.
3716 * include/Makefile.in: Regenerate.
3717 * testsuite/ext/headers.cc: Include <ext/memory>.
3718 * include/backward/algobase.h: Include <ext/memory> and
3719 <ext/algorithm>, tweak.
3720 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
3721 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
3722
3723 2002-01-01 Roger Sayle <roger@eyesopen.com>
3724
3725 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
3726 equivalent ___builtin__ versions.
3727
3728 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
3729 are available in libstdc++ as the necessary stub implementations
3730 are provided by libmath/stubs.c.
3731
3732 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
3733
3734 * configure.in: Add support for NetBSD cross compiles.
3735 * configure: Regenerate.