1 2002-09-03 Richard Henderson <rth@redhat.com>
3 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
4 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
5 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
6 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
7 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
8 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
9 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
10 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
11 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
12 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
13 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
14 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
15 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
16 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
17 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
18 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
19 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
20 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
21 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
22 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
23 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
24 __glibcpp_float_digits10, __glibcpp_float_radix,
25 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
26 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
27 __glibcpp_float_max_exponent10, __glibcpp_double_min,
28 __glibcpp_double_max, __glibcpp_double_digits,
29 __glibcpp_double_digits10, __glibcpp_double_radix,
30 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
31 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
32 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
33 __glibcpp_long_double_max, __glibcpp_long_double_digits,
34 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
35 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
36 __glibcpp_long_double_min_exponent10,
37 __glibcpp_long_double_max_exponent,
38 __glibcpp_long_double_max_exponent10): Remove macros.
39 (std::numeric_limits<float>, std::numeric_limits<double>,
40 std::numeric_limits<long double>): Use protected float.h macros.
42 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
44 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
45 Fix spelling in comment.
46 * testsuite/Makefile.in: Regenerate.
47 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
48 than 'quote' and 'bslash'.
50 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
52 * acinclude.m4: Minor comment tweaks.
54 * docs/html/makedoc.awk: New file...
55 * docs/html/Makefile: ...called from here...
56 * docs/html/documentation.html: ...to help generate this.
58 * docs/html/21_strings/howto.html: Prepare for new entry.
59 * include/bits/basic_string.h: Initial basic_stirng hook for
60 doxygen. Remove trailing whitespace.
61 * include/bits/char_traits.h: Point to onlinedocs for new entry.
62 * include/bits/stringfwd.h: Add doxygen hooks for string and
65 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
67 * config/cpu/arm/cpu_limits.h: New file.
68 * configure.target: Use config/cpu/arm for XScale and StrongARM
71 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
73 * include/std/std_limits.h (__glibcpp_char_bits,
74 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
75 __glibcpp_long_long_bits, __glibcpp_float_bits,
76 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
77 compiler predifined macros.
78 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
81 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
83 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
84 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
85 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
86 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
87 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
88 __glibcpp_f64_infinity_bytes,
89 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
90 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
91 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
92 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
93 __glibcpp_f80_infinity_bytes,
94 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
95 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
96 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
97 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
98 __glibcpp_f96_infinity_bytes,
99 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
100 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
101 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
102 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
103 __glibcpp_f128_infinity_bytes,
104 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
105 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
106 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
107 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
108 __glibcpp_float_infinity_bytes,
109 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
110 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
111 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
112 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
113 __glibcpp_double_infinity_bytes,
114 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
115 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
116 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
117 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
118 __glibcpp_long_double_infinity_bytes,
119 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
120 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
121 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
122 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
124 (__glibcpp_word_bits, __glibcpp_word): Likewise.
125 (__glibcpp_byte): New typedef.
126 (__float_storage, __double_storage, __long_double_storage): New types.
127 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
128 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
130 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
131 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
132 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
133 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
136 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
137 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
138 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
139 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
140 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
141 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
144 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
146 * include/std/std_limits.h: Indent conditional macro definitions.
148 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
150 * Makefile.am (check-abi): Specify current directory.
151 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
152 abi_baseline_triplet in baseline_file.
153 * Makefile.in, aclocal.m4, configure: Regenerate.
154 * configure.target: Add abi_baseline_triplet with default.
155 * testsuite/abi_check.cc: More error checking.
157 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
159 * config/linker-map.gnu: Verbose comments, clean up spacing.
160 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
162 __allocator: Change class declaration to struct.
163 * docs/html/17_intro/C++STYLE: Fix typo.
164 * include/bits/stl_deque.h, include/bits/stl_list.h,
165 include/bits/stl_map.h, include/bits/stl_multimap.h,
166 include/bits/stl_vector.h: Fix fallout from typo.
168 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
170 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
171 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
173 * aclocal.m4: Regenerate.
174 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
176 * testsuite/Makefile.in: Regenerate.
178 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
180 * testsuite/abi_check.cc: Enhance shell portability.
181 Support older binutils/readelf.
182 * config/abi/i386-unknown-freebsd4.6: Add.
183 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
185 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
187 * docs/html/faq/index.html: Add Loren James Rittle and
188 Paolo Carlini to the list of v3 maintainers.
189 * docs/html/faq/index.txt: Ditto.
190 * docs/html/17_intro/RELEASE-NOTES: Ditto.
192 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
193 Phil Edwards <pme@gcc.gnu.org>
194 Ulrich Drepper <drepper@redhat.com>
196 * Makefile.am (check-abi): New rule.
197 * Makefile.in: Regenerate.
198 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
199 * aclocal.m4: Regenerate.
200 * configure: Regenerate.
201 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
202 (abi_check_SOURCES): Add.
203 * testsuite/Makefile.in: Regenerate.
204 * testsuite/abi_check.cc: New file.
206 * config/abi/i686-pc-linux-gnu: Add.
207 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
209 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
211 * configure.in (libtool_VERSION): Update to 5:1:0.
212 * configure: Regenerate.
214 2002-08-19 Jonathan Wakely <jw@kayari.org>
216 * docs/html/configopts.html, docs/html/documentation.html,
217 docs/html/install.html, docs/html/22_locale/codecvt.html,
218 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
219 docs/html/22_locale/locale.html,
220 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
222 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
224 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
225 _M_buf_size_opt to zero when unbuffering.
226 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
227 Consistency checks for _M_buf_size_opt.
229 Revert PR libstdc++/7445
230 * src/locale.cc (locale::classic): Revert.
232 * docs/html/17_intro/TODO: Add.
234 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
236 * docs/html/documentation.html: Update doxygen links for 3.2.
238 2002-08-15 Steve Ellcey <sje@cup.hp.com>
240 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
241 type from void* to _Unwind_Ptr.
242 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
243 Do not cast landing_pad or base_of_encoded_value to (void *).
244 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
245 Accept _URC_NO_REASON as a valid reason code.
247 2002-08-14 Jonathan Wakely <jw@kayari.org>
249 * docs/html/22_locale/messages.html: Use HTML entities for
252 2002-08-13 Jonathan Wakely <jw@kayari.org>
253 Phil Edwards <pme@gcc.gnu.org>
255 * docs/html/documentation.html: Use HTML entities for punctuation.
257 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
259 * include/bits/deque.tcc, include/bits/list.tcc,
260 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
261 include/bits/stl_list.h, include/bits/stl_map.h,
262 include/bits/stl_multimap.h, include/bits/stl_queue.h,
263 include/bits/stl_stack.h, include/bits/stl_vector.h,
264 include/bits/vector.tcc: Re-indent contents of namespace std,
265 re-wrap comment lines as necessary.
267 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
268 Benjamin Kosnik <bkoz@redhat.com>
270 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
272 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
274 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
276 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
277 * libsupc++/Makefile.in: Regenerate.
279 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
282 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
283 Instantiate with new function objects.
284 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
286 * include/bits/gslice_array.h: Likewise.
287 * include/bits/indirect_array.h: Likewise.
289 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
291 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
292 testsuite/26_numerics/valarray_name_lookup.C
294 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
295 object function surrogates.
296 * include/bits/valarray_meta.h (__shift_left): Fix typo.
297 (_BinFunClos<>): Remove.
298 (_BinFunBase<>): Likewise.
299 (_BinFunBase1<>):Likewise.
300 (_BinFunBase2<>): Likewise.
301 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
302 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
303 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
304 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
305 * include/std/std_valarray.h: Dont #include <functional> anymore.
306 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
307 _Shift_right<>): Remove.
308 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
309 (_DEFINE_BINARY_OPERATOR): Tweak definition.
310 (_DEFINE_LOGICAL_OPERATOR): Remove.
311 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
313 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
315 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
316 (_UnFunClos<>): Same.
317 (_UnBase<>): Reformat. Make first template-parameter non
319 (_UnClos<>): Likewise.
320 (_Expr<>): Reformate. Adjust unary member operator return types.
321 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
322 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
323 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
324 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
325 operator return types. Reformat.
326 (_Bitwise_not): Remove.
327 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
328 * testsuite/26_numerics/valarray_name_lookup.C: New test.
330 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
332 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
333 (scan_is): Use this->is.
334 (scan_not): Likewise.
336 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
338 Revert PR libstdc++/6594
339 * src/strstream.cc (strstreambuf): Revert.
340 (strstreambuf::overflow): Same.
341 (strstreambuf::~strstreambuf): Same.
342 * testsuite/backward/strstream_members.cc (test02): Add.
344 * docs/html/abi.txt: Update. Spell check.
346 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
348 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
349 * testsuite/Makefile.in: Regenerate.
350 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
351 include functexcept.h so that -fno-exceptions will build.
353 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
355 * include/bits/valarray_meta.h (__unary_plus, __negate,
356 __bitwise_not, __plus, __minus, __multiplies, __divides,
357 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
358 __shift_left, __shift_right, __logical_and, __logical_or,
359 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
360 __greater_equal, __greater, __atan2, __pow): New function object
362 (__fun<>): New function traits class.
364 2002-08-01 Rick Danos <rdanos@hotmail.com>
367 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
368 * config/os/newlib/ctype_inline.h (is): Use static_cast.
370 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
372 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
373 * libsupc++/Makefile.in: Regenerate.
375 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
376 Jakub Jelinek <jakub@redhat.com>
378 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
379 GLIBCPP_3.1 to GLIBCPP_3.2.
381 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
382 Mark Mitchell <mark@codesourcery.com>
385 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
387 (__class_type_info): And here.
389 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
393 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
394 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
395 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
396 (__vmi_class_type_info::__base_info): Don't make const, of type
397 __base_class_type_info, as per 2.9.5p6c
398 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
400 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
402 (__pointer_to_member_type_info::__context_class): Change member to
403 __context, as per 2.9.5p9.
404 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
406 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
408 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
410 * libsupc++/tinfo.cc (__do_dyncast): Same.
411 * libsupc++/tinfo.cc (__do_upcast): Same.
413 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
415 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
417 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
419 * docs/html/22_locale/howto.html: Fix.
421 2002-07-31 Alex Kompel <shurik@sequoiap.com>
424 * src/locale.cc (locale::classic): Move locks inside !_S_classic
427 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
429 * docs/html/abi.txt: Update.
431 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
432 Gabriel Dos Reis <gdr@nerim.net>
434 * include/bits/char_traits.h: Remove generic definitions.
435 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
437 * include/bits/istream.tcc (istream::readsome): Don't check
438 against eof, instead use constants.
439 (istream::sync): Same.
440 (istream::sentry::sentry): Use eq_int_type.
441 (istream::get): Same.
442 * include/bits/ostream.tcc: Change __pad to
443 __pad<_CharT, _Traits>::_S_pad.
444 * include/bits/locale_facets.h: Add __pad_traits generic and
445 ostreambuf_iterator specialization.
446 * include/bits/locale_facets.tcc: Change __pad into struct __pad
447 with a _CharT and _Traits template parameter and _S_pad static
449 * src/locale-inst.cc: Update __pad instantiations.
451 * include/std/std_fstream.h: Declare _M_underflow_common
453 * src/fstream.cc: New. Add _M_underflow_common specializations.
454 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
455 (filebuf::_M_underflow_common(bool)): Remove generic version, as
456 sys_ungetc and custom int_types don't get along.
457 * include/std/std_streambuf.h: Add _M_pos.
458 * src/Makefile.am (sources): Add fstream.cc.
459 * src/Makefile.in: Regenerate.
461 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
462 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
463 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
464 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
465 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
466 * testsuite/27_io/filebuf.cc: ...here.
467 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
468 specialization for both.
469 * testsuite/27_io/streambuf.cc: Add instantiation test,
470 testsuite_hooks include.
471 * testsuite/27_io/istream.cc: Same.
472 * testsuite/27_io/ostream.cc: Same.
473 * testsuite/27_io/fstream.cc: Same.
474 * testsuite/27_io/stringstream.cc: Same.
475 * testsuite/27_io/filebuf.cc: Same.
476 * testsuite/27_io/stringbuf.cc: Same.
478 2002-07-29 Alan Modra <amodra@bigpond.net.au>
480 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
481 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
482 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
483 (__test_and_set): Remove.
484 (_STWCX): Define and use.
486 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
488 * libsupc++/new (placement delete): Remove unused parameter names.
490 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
493 * include/std/std_istream.h (basic_iostream): Add typedefs for
494 char_type, int_type, pos_type, off_type, and traits_type.
495 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
496 * testsuite/27_io/istream.cc: Same.
497 * testsuite/27_io/ostream.cc: Same.
498 * testsuite/27_io/filebuf.cc: Same.
499 * testsuite/27_io/stringbuf.cc: Replace content, move to...
500 * testsuite/27_io/stringbuf_members.cc: ...here.
501 * testsuite/27_io/streambuf.cc: Replace content, move to...
502 * testsuite/27_io/streambuf_members.cc: ...here.
503 * testsuite/27_io/stringstream.cc: Replace content, move to...
504 * testsuite/27_io/stringstream_members.cc: ...here.
505 * testsuite/27_io/ios.cc: New file.
506 * testsuite/27_io/fstream.cc: New file.
507 * testsuite/27_io/ifstream.cc: New file.
508 * testsuite/27_io/ofstream.cc: New file.
509 * testsuite/27_io/istringstream.cc: New file.
510 * testsuite/27_io/ostringstream.cc: New file.
512 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
515 * include/bits/istream.tcc (istream::ignore): Don't extract on
517 * testsuite/27_io/istream_unformatted.cc (test10): Add.
519 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
521 * testsuite/27_io/ios_base_type.cc: Move to...
522 * testsuite/27_io/ios_base_types.cc: ...here.
524 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
527 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
528 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
530 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
533 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
534 * include/Makefile.am (backward_headers): Use strstream, not
536 * include/Makefile.in: Regenerate.
537 * include/backward/strstream: Revert.
538 * include/backward/strstream.h: Remove.
539 * src/strstream.cc: Revert.
540 * testsuite/backward/strstream_members.cc: Change include.
542 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
545 * include/bits/ios_base.h (ios_base::streampos): Add.
546 (ios_base::streamoff): Add.
547 * testsuite/27_io/ios_base_type.cc: New.
549 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
552 * libsupc++/new: Add placement delete.
553 * testsuite/18_support/new_delete_placement.cc: New.
555 * docs/html/abi.txt: Fix typos.
557 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
559 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
560 confusing usage of "latest."
561 De-tangle contributor information from introductory notes.
562 Move abi.txt link placement, activate.
564 Move chapter info into old FAQ format.
565 * docs/html/organization.html: Removed, obsoleted by doxygen work.
566 * docs/html/abi.txt: Add notes on testing ABI changes.
568 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
570 * docs/html/abi.txt: New file.
571 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
572 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
573 Import from upstream, R22.
575 * include/bits/char_traits.h, include/bits/stl_iterator.h,
576 include/bits/stl_iterator_base_types.h, libsupc++/exception,
577 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
579 * include/bits/deque.tcc, include/bits/stl_alloc.h,
580 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
581 of deprecated functions until 3.4. (Same timeframe, different text.)
582 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
583 the other sequence classes received.
585 2002-07-18 Brendan Kehoe <brendan@zen.org>
587 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
590 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
593 * include/bits/slice_array.h
594 (slice_array<T>::operator=(const T&)): Constify.
595 * include/bits/gslice_array.h
596 (gslice_array<T>::operator=(const T&)): Likewise.
597 * include/bits/mask_array.h
598 (mask_array<T>::operator=(const T&)): Likewise.
599 * include/bits/indirect_array.h
600 (indirect_array<T>::operator=(const T&): Likewise.
602 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
604 * docs/doxygen/run_doxygen: Remove template parameter names from
605 "Compound List" summary page. Reformat.
606 * docs/html/documentation.html: XHTML fixes.
608 2002-07-16 Andreas Schwab <schwab@suse.de>
610 * libsupc++/new (set_new_handler): Declare to not throw any
612 * libsupc++/new_handler.cc (set_new_handler): Likewise.
614 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
616 * include/Makefile.am (bits_headers): Remove slice.h
617 * include/Makefile.in: Regenerate.
618 * include/bits/slice.h (slice): move to include/bits/slice_array.h
619 * include/bits/slice.h Remove.
620 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
621 * include/bits/slice_array.h: Comply to official coding styles.
622 * testsuite/26_numerics/slice.cc: New test.
624 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
626 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
627 print to match vendor <ctype.h>.
629 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
631 * docs/html/faq/index.html: Fix download links.
632 * docs/html/faq/index.txt: Regenerate.
633 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
635 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
637 * configure.target (target_os switch): Allow for irix6*o32
640 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
642 * include/bits/valarray_meta.h (_UnFunBase): Take a second
643 template parameter. Remove _M_func data member.
644 (_UnFunClos): Take a third template parameter.
645 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
646 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
647 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
649 2002-07-08 Eric Christopher <echristo@redhat.com>
651 * configure.target: Fix comment for mips atomicity. Add
652 mips*-*-linux* target, enable atomic operations there.
653 * config/cpu/mips/atomicity.h: Fix comments, remove
654 #ifndef/#endif. Add push/pop mips2.
656 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
658 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
659 member declarations to avoid compiler warnings and restore 3.1 ABI.
661 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
663 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
666 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
669 * include/bits/stl_deque.h (_Deque_iterator::operator-):
670 Make non-member, as already happens for the comparison
671 operators in accord with DR179 (Ready).
672 * testsuite/23_containers/deque_operators.cc: Add test02.
674 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
675 Jack Reeves <jackw_reeves@hotmail.com>
677 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
678 size_t, from int_type.
679 (basic_streambuf::_M_buf_size_opt): Same.
680 (basic_streambuf::_S_pback_sizex): Same.
681 * include/bits/streambuf.tcc: Same.
682 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
684 (basic_streambuf::uflow): Same.
685 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
687 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
688 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
690 (basic_streambuf::xsputn): Same.
691 (__copy_streambufs): Same.
693 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
695 * include/std/std_memory.h: Fix formatting.
696 * testsuite/20_util/auto_ptr_neg.cc: New.
697 * testsuite/20_util/auto_ptr.cc: Tweaks.
698 * testsuite/23_containers/map_operators.cc (test01): Split into..
699 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
700 * testsuite/23_containers/set_operators.cc: Move to...
701 * testsuite/23_containers/set_operators_neg.cc: ...here.
702 * testsuite/README: Add some more naming rules.
704 2002-07-03 Steev Wilcox <steev@paradigmds.com>
707 * include/ext/stl_hashtable.h: Fix.
708 * testsuite/ext/hash_map.cc: New.
710 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
711 Kenny Simpson <theonetruekenny@yahoo.com>
712 Phil Edwards <pme@gcc.gnu.org>
715 * testsuite/20_util/auto_ptr.cc (test08): New test.
716 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
717 (auto_ptr::operator auto_ptr_ref): Fix typo.
718 General reformatting and doxygenating of the whole file.
720 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
723 * include/c/std_cwchar.h: Fix.
725 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
728 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
729 char* name parameter.
730 * config/locale/gnu/monetary_members.cc: Use it.
731 * config/locale/generic/monetary_members.cc: Same.
732 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
734 * include/backward/strstream.h: Update date.
736 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
739 * include/bits/stl_iterator.h
740 (__normal_iterator::operator-(const __normal_iterator&)):
741 Make non-member, as already happens for the comparison
742 operators in accord with DR179 (Ready).
743 * testsuite/24_iterators/iterator.cc: Add test from the PR.
745 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
748 * acinclude.m4: Simplify determination of gcc_version, and move
749 up to GLIBCPP_CONFIGURE.
750 * configure.in (release_VERSION): Really remove.
751 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
752 * aclocal.m4, configure: Regenerate.
754 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
756 * docs/html/configopts.html, docs/html/install.html: Tweaks.
757 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
758 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
759 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
761 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
763 * include/backward/strstream: Remove namespace std. Transfer to...
764 * include/backward/strstream.h: ...here. Qualify std names.
765 * src/strstream.cc: Remove namespace std.
766 * include/Makefile.am (backward_headers): Remove strstream.h.
767 * include/Makefile.in: Regenerate.
768 * config/linker-map.gnu: Export strstream bits.
770 * src/fstream-inst.cc: Tweak.
771 * src/io-inst.cc: Same.
772 * src/istream-inst.cc: Same.
773 * src/misc-inst.cc: Same.
774 * src/ostream-inst.cc: Same.
775 * src/sstream-inst.cc: Same.
776 * src/valarray-inst.cc: Same.
777 * src/misc-inst.cc: Remove unused instantiations.
779 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
781 * configure.in (libtool_VERSION): Bump to 5:0:0.
782 * configure: Regenerate.
784 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
786 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
787 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
788 * include/std/std_stack.h: Include deque.tcc.
789 * testsuite/23_containers/adaptors.cc: New file.
791 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
793 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
794 * docs/html/ext/howto.html: Update allocator notes.
796 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
798 * configure.in (INTERFACE): Remove.
799 (release_VERSION): Remove.
800 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
801 (libstdcxx_interface): Change. Use gcc methods to determine version.
802 * configure: Regenerate.
803 * aclocal.m4: Regenerate.
805 2002-06-25 DJ Delorie <dj@redhat.com>
807 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
808 GLIBCPP_TOPREL_CONFIGURE.
809 * aclocal.m4: Likewise.
810 * configure.in: Call it before AC_CANONICAL_SYSTEM.
811 * configure: Regenerate.
813 2002-06-25 Jessica Han <jessica@cup.hp.com>
815 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
816 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
817 _GLIBCPP_VTABLE_PADDING is defined.
819 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
821 * include/bits/stl_alloc.h: Additional formatting.
823 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
825 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
827 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
829 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
830 * config/os/*/bits/*: Likewise.
831 * configure.in: Update.
832 * configure: Regenerate.
833 * configure.target: Update.
834 * docs/html/17_intro/porting.texi: Update.
836 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
838 * include/bits/stl_map.h, include/bits/stl_multimap.h,
839 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
840 complete doxygenation.
841 * include/bits/boost_concept_check.h: Minor comment.
843 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
845 * include/c_compatibility: New.
846 * include/c_compatibility/assert.h: New.
847 * include/c_compatibility/ctype.h: New.
848 * include/c_compatibility/errno.h: New.
849 * include/c_compatibility/float.h: New.
850 * include/c_compatibility/iso646.h: New.
851 * include/c_compatibility/limits.h: New.
852 * include/c_compatibility/locale.h: New.
853 * include/c_compatibility/math.h: New.
854 * include/c_compatibility/setjmp.h: New.
855 * include/c_compatibility/signal.h: New.
856 * include/c_compatibility/stdarg.h: New.
857 * include/c_compatibility/stddef.h: New.
858 * include/c_compatibility/stdio.h: New.
859 * include/c_compatibility/stdlib.h: New.
860 * include/c_compatibility/string.h: New.
861 * include/c_compatibility/time.h: New.
862 * include/c_compatibility/wchar.h: New.
863 * include/c_compatibility/wctype.h: New.
865 * include/c/std_cerrno.h: Get out of the way... define errno.
866 * include/c/std_cmath.h: Add abs, modf overloads.
867 Undefine C99 isms. Still not sure how to deal with this sanely.
868 * include/c/std_csetjmp.h: Tweak.
869 * include/c/std_cwchar.h: Include cstddef for size_t.
871 * include/c_std/std_cmath.h: Remove extra function.
873 Pendantic std usage in testsuites.
874 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
876 * testsuite/17_intro/header_cwchar.cc: Tweak.
877 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
879 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
880 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
881 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
882 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
883 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
884 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
885 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
886 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
887 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
888 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
889 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
890 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
891 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
892 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
893 * testsuite/22_locale/num_get_members_char.cc: Same.
894 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
895 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
896 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
897 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
898 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
899 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
900 * testsuite/22_locale/messages_members_char.cc (test03): Same.
901 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
902 * testsuite/22_locale/collate_members_char.cc (test04): Same.
903 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
904 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
905 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
907 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
909 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
912 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
914 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
915 Use size_type instead of unsigned long.
917 2002-06-20 Steve Ellcey <sje@cup.hp.com>
919 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
923 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
925 * include/Makefile.am: Add rules.
926 * include/Makefile.in: Regenerate.
928 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
929 * aclocal.m4: Regenerate.
930 * configure: Regenerate.
931 * configure.target (c_model, c_compatibility): Add.
933 * libsupc++/Makefile.am (c_sources): New.
934 (libsupc___la_SOURCES): Add c_sources.
935 (LTCOMPILE): Remove INCLUDES.
937 (C_COMPILE): New, like COMPILE but without INCLUDES.
938 (cxa_demangle.o): Use C_COMPILE.
939 (dyn-string.o): Use C_COMPILE.
941 * include/c/std_cstdarg.h: Define __need___va_list.
942 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
943 need_NULL, need_offsetof.
945 2002-06-19 Steve Ellcey <sje@cup.hp.com>
947 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
948 definitions in hpux11 cross-build because these functions do
949 not exist on hpux11 (but some exist on hpux10); move defaults out
950 into existing sections.
951 * configure: Regenerate.
953 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
955 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
956 * include/c/std_cwctype.h: Guard.
958 * libsupc++/eh_alloc.cc: Tweak include order.
959 * libsupc++/pure.cc: Use cstdio.
960 * libsupc++/new_op.cc: Remove malloc forward declaration, as
961 cstdlib brings it in. Use std::malloc.
963 * src/Makefile.am (sources): Remove cmath.cc.
964 * src/Makefile.in: Regenerate.
965 * src/cmath.cc: Remove.
967 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
969 * configure.target: Force mips to use the generic cpu routines.
971 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
973 * configure.host: Delete file.
974 * configure.target: More documentation. Factor out common parts of
975 script into "intelligent" settings about defaults. Remove redundancy.
977 * acinclude.m4: Update comments. Do not call configure.host.
978 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
980 * configure.in: Slight reformatting, more comments. Factor out
981 "config/" from all the directories.
982 * docs/html/17_intro/porting.texi: Update and expand.
983 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
986 * aclocal.m4, configure, docs/html/17_intro/porting.html,
987 testsuite/Makefile.in: Regenerate.
989 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
991 * docs/doxygen/TODO: Update.
992 * docs/doxygen/tables.html: Uncomment magical middle column.
993 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
994 * include/bits/stl_queue.h: Doxygenate and reformat.
995 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
996 for deprecated names required by the standard.
998 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1000 * configure.in (target_alias): Fix.
1001 * configure: Regenerate.
1002 * aclocal.m4: Regenerate.
1004 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1006 * include/Makefile.am: Add new files.
1007 * include/Makefile.in: Regenerate.
1009 * include/bits/stl_deque.h, include/bits/stl_list.h,
1010 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1011 * include/bits/deque.tcc, include/bits/list.tcc,
1012 include/bits/vector.tcc: ...to here. New files.
1014 * include/ext/stl_hashtable.h: Inclide correct full headers.
1015 * include/std/std_deque.h: Include .tcc files for now.
1016 * include/std/std_list.h: Likewise.
1017 * include/std/std_vector.h: Likewise.
1019 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1021 * Makefile.am: Add FLAGS_TO_PASS.
1022 * Makefile.in: Regenerated.
1024 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1025 Benjamin Kosnik <bkoz@redhat.com>
1027 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1029 * configure.in: Add support for *-qnx6.[12]*.
1030 * configure: Regenerate.
1032 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1034 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1035 ctype_noninline.h, os_defines.h: New files.
1037 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1039 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1040 include all required headers for test against older POSIX standard.
1041 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1042 (ac_setrlimit): Likewise.
1043 * aclocal.m4: Regenerate.
1044 * configure: Regenerate.
1045 * testsuite/testsuite_hooks.cc: Reorder and include all
1046 required headers for use against older POSIX standard.
1048 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1050 * testsuite/backwards/strstream_members.cc: New.
1052 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1054 * include/backwards/strstream: Format.
1055 * src/strstream.cc: Format.
1057 2002-06-08 Andreas Schwab <schwab@suse.de>
1059 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1060 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1062 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1064 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1066 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1068 * src/locale-inst.cc (__codecvt_abstract_base):
1069 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1070 * include/bits/istream.tcc (basic_istream): Ditto.
1073 * include/bits/ostream.tcc (basic_ostream): Ditto.
1077 (operator<<): Ditto.
1079 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1081 * mkcheck.in: Link against local testsuite library.
1082 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1083 implementation out...
1084 * testsuite/testsuite_hooks.cc: ...to here.
1086 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1088 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1089 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1090 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1091 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1092 * testsuite/Makefile.in: Likewise.
1094 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1096 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1097 Call external symbol.
1099 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1101 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1102 Search correct multilib testsuite dir for libv3test.
1104 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1105 Gaby Dos Reis <gdr@codesourcery.com>
1107 * include/bits/basic_string.tcc
1108 (basic_string::_S_construct(forward_iterator_tag):
1109 Fix typo in null pointer check.
1110 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1112 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1114 * testsuite/22_locale/money_get_members_char.cc
1115 (test02): Add decimal point to long double constants.
1116 * testsuite/22_locale/money_get_members_wchar_t.cc
1118 * testsuite/22_locale/money_put_members_char.cc
1119 (test02, test03, test06): Likewise.
1120 * testsuite/22_locale/money_put_members_wchar_t.cc:
1121 (test02, test03, test06): Likewise.
1122 * testsuite/22_locale/num_get_members_char.cc:
1123 (test02, test01): Likewise; suffix long long constants with LL.
1124 * testsuite/22_locale/num_get_members_wchar_t.cc:
1125 (test02, test01): Likewise.
1126 * testsuite/22_locale/num_put_members_char.cc:
1127 (test02, test01): Likewise.
1128 * testsuite/22_locale/num_put_members_wchar_t.cc:
1129 (test02, test01): Likewise.
1131 2002-06-03 Marc Espie <espie@openbsd.org>
1133 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1134 assembly for old assemblers.
1136 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1138 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1140 (vector<bool>::swap(reference,reference)): ...to this.
1142 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1144 * docs/doxygen/TODO: Update.
1145 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1146 some class members are in 14882 order.
1147 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1149 * include/std/std_bitset.h: Update comment.
1150 * src/bitset.cc: Update comments, clean up spacing.
1152 * src/Makefile.am (sources): Alphabetize for convenience.
1153 * src/Makefile.in: Regenerate.
1155 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1157 * include/bits/stl_deque.h, include/bits/stl_list.h,
1158 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1159 Reorder to match 14882. Doxygen blocks for all public members.
1161 2002-05-31 Marcus Meissner <meissner@suse.de>
1164 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1165 * testsuite/23_containers/vector_bool.cc (test02): New test.
1167 2002-05-30 Marc Espie <espie@openbsd.org>
1169 * configure.in: Always check for sys/types.h
1170 * configure: Regenerate.
1172 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1174 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1175 Rebuild the wrapper file every time this proc is called.
1177 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1179 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1181 * testsuite/Makefile.in: Regenerate.
1182 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1183 list_modifiers.cc and rename from 'T'. Move code bodies...
1184 * testsuite/testsuite_hooks.cc: ...to here. New file.
1185 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1186 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1187 Add libv3test.a to link options.
1189 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1191 * src/misc-inst.cc: Define unnecessary algorithm
1192 instantiations. Break apart instantiations into groupings below.
1193 * src/fstream-inst.cc: New.
1194 * src/io-inst.cc: New.
1195 * src/istream-inst.cc: New.
1196 * src/ostream-inst.cc: New.
1197 * src/streambuf-inst.cc: New.
1198 * src/sstream-inst.cc: New.
1199 * src/Makefile.am (sources): Add files.
1200 * src/Makefile.in: Regenerate.
1202 * acinclude.m4: Work around automake 1.4-p5 bug, change
1203 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1205 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1208 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1209 (classic_table): Fix.
1210 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1212 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1214 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1215 _GLIBCPP_USE_WCHAR_T.
1216 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1217 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1218 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1220 2002-05-26 Carlo Wood <carlo@alinoe.com>
1221 Paolo Carlini <pcarlini@unitus.it>
1224 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1225 (__enc_traits::operator=): add missing return statement.
1227 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1230 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1231 (operator>>): If nothing was extracted, don't fail in the
1233 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1235 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1238 * testsuite/22_locale/ctype_narrow_char.cc: New.
1239 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1240 * testsuite/22_locale/ctype_widen_char.cc: New.
1241 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1242 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1243 * testsuite/22_locale/ctype_is_char.cc: ...this.
1244 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1245 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1246 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1247 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1249 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1251 2002-05-24 Dale Peakall <dale@peakall.net>
1254 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1255 * config/locale/generic/ctype_members.cc: Same.
1257 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1260 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1261 for empty string literal.
1262 (ostream::operator<<(const _CharT*)): Same.
1263 (ostream<char>::operator<<(const char*)): Same.
1264 (ostream<char>::operator<<(streambuf*)): Same.
1265 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1266 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1268 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1270 * configure.in (release_VERSION): Update to 3.1.1.
1271 (libtool_VERSION): Update to 4:1:0.
1272 * configure: Regenerate.
1274 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1276 * include/bits/stl_pair.h: Tweak comment markup.
1278 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1280 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1282 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1284 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1286 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1288 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1289 Doxygenate all public members. Reorder to follow 14882.
1290 (vector::push_back(void)): Remove previously-deprecated fn.
1291 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1292 Deprecate for removal in 3.3.
1294 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1296 * docs/html/faq/index.html (5.4): Recommend against -I options for
1297 finding the ext headers.
1298 * docs/html/faq/index.txt: Regenerate.
1300 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1302 * testsuite/23_containers/deque_operators.cc (test01):
1303 Fix minor typo in last commit.
1305 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1308 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1309 operator!=, operator<, operator>, operator>=, operator<=):
1310 Make non-member functions, to allow comparing const and
1311 non-const iterators in any order.
1312 * testsuite/23_containers/deque_operators.cc: New testfile.
1314 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1316 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1317 * docs/html/faq/index.txt: Regenerate.
1319 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1321 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1322 * acinclude.m4: Likewise.
1323 * docs/html/Makefile: Likewise.
1324 * aclocal.m4: Regenerate.
1325 * configure: Regenerate.
1326 * Makefile.in: Regenerate.
1328 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1331 * include/bits/c++config (__USE_MALLOC): Report case where
1332 the user improperly defined it on the command line.
1334 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1336 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1337 Retrieve current limits before setting.
1339 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1342 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1344 (ostream::operator<<(const _CharT*)): Same.
1345 (ostream<char>::operator<<(const char*)): Same.
1346 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1348 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1351 * src/strstream.cc (strstreambuf): Fix leak.
1353 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1356 * include/bits/istream.tcc (istream::getline, ignore):
1357 Upon __idelim (__delim) call sbumpc() not snextc().
1358 * testsuite/27_io/narrow_stream_objects.cc:
1359 Add test08 and test09.
1361 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1363 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1364 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1366 * docs/html/install.html: Fix.
1368 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1370 * include/bits/fstream.tcc
1371 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1373 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1375 * docs/html/install.html: Tweak, add bits about required locales
1376 for the 22_locale tests when using the gnu model.
1378 * testsuite/27_io/istream_sentry.cc: Tweak.
1380 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1382 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1383 Fix typo, use this->is() rather than manually (and perhaps
1384 incorrectly) inlining it.
1385 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1387 * testsuite/22_locale/ctype_scan_char.cc: New file.
1389 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1390 Jakub Jelinek <jakub@redhat.com>
1392 * testsuite/22_locale/money_get_members_char.cc
1393 (test01, test02, test04): Use the de_DE@euro named locale
1394 instead of de_DE to allow for an uniform behaviour with
1395 both old and Euro-era localedata; tweak some tests.
1396 * testsuite/22_locale/money_get_members_wchar_t.cc
1397 (test01, test02, test04): Likewise.
1398 * testsuite/22_locale/money_put_members_char.cc
1399 (test01, test02, test04): Likewise.
1400 * testsuite/22_locale/money_put_members_wchar_t.cc
1401 (test01, test02, test04): Likewise.
1403 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1405 * testsuite/22_locale/codecvt_members_char_char.cc
1406 (test03): Robustify wrt localedata.
1407 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1408 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1409 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1410 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1411 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1412 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1413 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1414 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1415 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1416 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1417 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1418 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1419 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1420 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1421 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1422 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1423 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1424 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1425 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1426 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1427 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1428 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1430 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1432 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1435 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1437 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1438 to 64 for hppa 64-bit port.
1439 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1441 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1443 * acinclude.m4 (enable_symvers): Quote $LD.
1444 * aclocal.m4: Regenerate.
1445 * configure: Likewise.
1447 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1449 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1450 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1453 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1455 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1456 script entry, and set LD to it when configuring multilibs.
1457 * configure: Rebuilt.
1459 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1461 * configure.in: Add support for WindISS.
1462 * configure: Regenerated.
1463 * configure.target: Add support for WindISS.
1464 * config/os/windiss/bits/ctype_base.h: New file.
1465 * config/os/windiss/bits/ctype_inline.h: Likewise.
1466 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1467 * config/os/windiss/bits/os_defines.h: Likewise.
1469 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1471 Test all the facets for the temporary "C" locale switch issue.
1472 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1473 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1474 * testsuite/22_locale/collate_members_char.cc: Add test04.
1475 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1476 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1477 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1478 * testsuite/22_locale/messages_members_char.cc: Add test03.
1479 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1480 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1481 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1482 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1483 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1484 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1485 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1486 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1487 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1488 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1489 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1490 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1491 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1492 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1494 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1495 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1497 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1499 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1500 __EXTENSIONS__): Ensure they are always defined.
1502 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1504 * docs/html/documentation.html: Fix broken link.
1506 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1507 Paolo Carlini <pcarlini@unitus.it>
1509 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1510 testing for the locale_facets.tcc entry of the previous commit.
1511 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1513 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1515 * config/locale/generic/c_locale.cc
1516 (__convert_to_v(float, double, long double)):
1517 Fix the temporary switch to the "C" locale, saving and
1518 restoring in the proper way the current locale.
1519 * config/locale/generic/time_members.cc
1520 (__timepunct<char, wchar_t>::_M_put): Likewise.
1521 * config/locale/gnu/messages_members.cc
1522 (messages<char>::do_get): Likewise.
1523 * config/locale/gnu/messages_members.h
1524 (messages<_CharT>::do_get): Likewise.
1525 * config/locale/gnu/time_members.cc
1526 (__timepunct<char, wchar_t>::_M_put): Likewise.
1527 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1529 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1531 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1532 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1534 * Makefile.in, config.h.in, configure: Regenerate.
1536 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1539 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1540 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1542 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1544 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1546 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1548 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1550 * configure.in: Update local install.html, configopts.html paths.
1551 * configure: Regenerate.
1553 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1555 * config/os/irix/irix5.2/bits/os_defines.h
1556 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1558 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1561 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1563 * docs/html/faq/index.html: Update list in #4.1.
1564 * docs/html/faq/index.txt: Regenerated.
1566 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1568 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1570 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1572 * include/std/std_bitset.h: Fix doxygen comments.
1573 * docs/html/documentation.html: Minor tweaks for 3.1.
1574 * docs/html/27_io/howto.html: Likewise.
1575 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1576 * docs/html/faq/index.html: Likewise.
1577 * docs/html/faq/index.txt: Regenerated.
1579 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1582 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1583 (istreambuf_iterator::equal): Use it.
1584 (istreambuf_iterator::operator*): Use it.
1586 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1589 * include/bits/stl_uninitialized.h
1590 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1591 Fix typo in 2001-07-17 commit: typedef _ValueType to
1592 iterator_traits<_ForwardIter> not <_InputIter>.
1593 * testsuite/23_containers/vector_ctor.cc: Add test04.
1595 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1598 * include/c_std/std_cctype.h: Include bits/c++config.h.
1599 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1601 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1603 * include/ext/stdio_filebuf.h: New file.
1604 * include/ext/enc_filebuf.h: New file.
1605 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1606 * config/io/basic_file_stdio.cc: Same.
1607 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1608 Remove _M_unbuf hacks.
1609 (filebuf::_M_destroy_internal_buffer): Same.
1610 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1611 (filebuf::fd): Remove.
1612 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1613 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1614 (filebuf::fd): Remove.
1615 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1617 (ios_base::_S_ios_destroy): Same.
1618 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1619 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1620 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1622 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1625 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1627 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1630 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1632 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1633 (istreambuf_iterator::operator++): Invalidate on eof.
1634 (istreambuf_iterator::operator++(int)): Same.
1635 (istreambuf_iterator::operator*): Same.
1637 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1639 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1640 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1643 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1646 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1647 (__basic_file::sys_ungetc): Take int.
1648 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1649 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1650 Use sys_getc for unbuffered input.
1651 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1653 * src/ios.cc (_M_grow_words): Adjust error checking.
1654 * testsuite/27_io/ios_base_storage.cc: Same.
1656 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1658 * include/ext/stl_hashtable.h: Import __iterator_category
1660 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1661 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1663 * testsuite/ext/hash_set.cc: New testfile.
1665 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1667 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1669 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1670 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1672 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1674 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1675 Fix and tighten __throw_length_error check.
1676 * testsuite/21_strings/replace.cc (test05): New.
1677 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1679 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1681 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1682 unconditional flush on lower-layer handle to here...
1683 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1684 ...from here. Optimize remaining _M_file.sync() call pattern.
1685 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1688 2002-04-23 Jason Merrill <jason@redhat.com>
1690 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1691 output-only filebufs.
1692 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1694 (basic_filebuf::_M_set_determinate): Likewise.
1697 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1698 value properly in the trivial case.
1699 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1700 tellg() returns the right value after a read.
1702 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1704 * config/cpu/mmix/bits/cpu_limits.h: New file.
1705 * configure.target (CPULIMITSH): Use it.
1707 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1709 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1710 * docs/html/17_intro/porting.html: Rebuilt.
1712 2002-04-20 Jason Merrill <jason@redhat.com>
1715 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1717 (basic_streambuf::_M_set_determinate): Likewise.
1718 (basic_streambuf::_M_is_indeterminate): Likewise.
1719 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1720 non-static data member.
1721 (basic_filebuf::_M_underflow_common): New non-static member function.
1722 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1723 (basic_filebuf::sync): Avoid useless seeking.
1724 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1726 (basic_filebuf::_M_set_determinate): Likewise.
1727 (basic_filebuf::_M_is_indeterminate): Likewise.
1728 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1729 back to _M_out_beg if necessary.
1730 (basic_filebuf::seekoff): Likewise.
1731 (basic_filebuf::_M_underflow_common): Generalization of old
1732 underflow(). Don't seek back to _M_in_beg.
1733 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1734 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1735 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1736 * config/os/mingw32/bits/os_defines.h: Likewise.
1737 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1740 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1742 * include/bits/istream.tcc (istream::read): Fix.
1743 * testsuite/27_io/istream_unformatted.cc (main): Add.
1745 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1748 * include/bits/istream.tcc (istream::ignore): Streamline, use
1750 * include/bits/streambuf.tcc: Use this->gptr.
1751 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1753 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1755 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1756 as type safety is important, especially on solaris.
1757 * include/bits/istream.tcc (istream::read): Clean.
1758 (istream::readsome): Same.
1759 * locale.cc: Wrap lines.
1761 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1762 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1763 * testsuite/21_strings/capacity.cc: Clean.
1765 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1767 * docs/doxygen/doxygroups.cc: New group on binary searching.
1768 * include/bits/stl_algo.h: Document binary searches and merges.
1769 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1771 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1773 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1774 * docs/doxygen/run_doxygen: Bump required version.
1775 * docs/doxygen/user.cfg.in: Revert accidental change.
1776 * docs/html/faq/index.html: Reindent a block of links.
1777 (4.4): New note on using dlsym.
1778 * docs/html/faq/index.txt: Regenerated.
1780 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1782 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1784 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1786 * config/linker-map.gnu (__malloc_alloc_template): Add.
1787 (__default_alloc_template): Same.
1788 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1790 (__default_alloc_template): Same.
1792 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1794 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1796 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1798 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1799 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1800 (__malloc_alloc_template): Conditionalize.
1802 * include/bits/istream.tcc: Remove sputbackc calls.
1804 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1806 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1808 * testsuite/24_iterators/rel_ops.cc: New test.
1810 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1812 * include/bits/type_traits.h (__normal_iterator): Declare in
1813 __gnu_cxx. Adjust use at global namespace.
1814 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1815 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1816 * include/bits/basic_string.h (basic_string): Adjust use of
1818 * include/bits/stl_vector.h (_Alloc>): Likewise.
1819 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1820 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1822 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1826 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1828 (__basic_file::close): Call fflush. Correct return if fclose ok.
1829 (__basic_file::is_open): Make const.
1830 Change __c_file_type to __c_file.
1831 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1832 (__basic_file::is_open): Make const.
1833 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1834 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1835 (filebuf::_M_unbuf): Add.
1836 (filebuf::_M_file): Change to non-pointer.
1837 (filebuf::_M_allocate_pback_buffer): Remove.
1838 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1839 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1840 Change initialization list for _M_file change.
1841 (filebuf::_M_allocate_pback_buffer): Remove.
1842 Change _M_file usage to reflect non-pointer data member.
1844 * config/locale/generic/c_locale.cc
1845 (locale::facet::_S_create_c_locale): Add parameter.
1846 * config/locale/generic/collate_members.cc: Change
1847 _M_compare_helper to _M_compare.
1848 Change _M_transform_helper to _M_transform.
1849 * config/locale/generic/monetary_members.cc: Changeup data types.
1851 * config/locale/generic/numeric_members.cc: Add dtors.
1852 * config/locale/generic/time_members.cc: Add dtors.
1853 * config/locale/gnu/c_locale.cc: Add parameter.
1854 * config/locale/gnu/collate_members.cc:Change
1855 _M_compare_helper to _M_compare.
1856 Change _M_transform_helper to _M_transform.
1857 * config/locale/gnu/ctype_members.cc: Better error checking.
1858 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1859 * config/locale/gnu/messages_members.cc: Tweak comment.
1860 * config/locale/gnu/monetary_members.cc: Change data types.
1862 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1864 * config/locale/gnu/time_members.cc: Same.
1865 * config/locale/ieee_1003.1-2001/c_locale.cc
1866 (locale::facet::_S_create_c_locale): Add parameter.
1867 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1868 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1871 * include/bits/locale_facets.h (moneypunct): Use string literals.
1874 (__timepunct): Same.
1875 (locale::_Impl::_M_facets): Change from vector to array.
1876 (locale::_Impl::_M_names): Change from array of strings to array
1878 (locale::facet::_S_create_c_locale): Add parameter.
1879 (locale::locale::_S_num_facets): Move to...
1880 (locale::_Impl::_M_facets_size): Here.
1881 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1883 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1884 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1885 (locale::_Impl::_Impl(string, size_t)): Change to
1886 (locale::_Impl::_Impl(const char*, size_t)): This.
1888 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1889 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1890 (streambuf::_S_pback_size): This.
1892 * src/globals.cc: Add pre-allocations for "C" facets.
1893 * src/locale-inst.cc: Remove vector instantiations.
1894 * src/locale.cc: Remove vector include. Fixups for _M_names,
1896 * src/localename.cc: Same.
1898 * include/bits/stl_vector.h: Fix odd formatting.
1900 * include/bits/basic_string.tcc: Tweak comment.
1902 * libsupc++/new: Make sure parameters are uglified.
1903 * libsupc++/typeinfo: Same.
1905 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1906 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1907 * testsuite/27_io/filebuf_members.cc: Same.
1909 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1911 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1912 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1913 does not define strtoll or strtoull, but does define strtol
1914 and strtoul which are the same since in 64 bit mode
1915 sizeof(long) == sizeof(long long).
1917 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1919 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1920 trailing spaces, indentation, and macro names. Make exception
1921 messages more informative.
1923 2002-04-11 Richard Henderson <rth@redhat.com>
1925 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1926 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1927 (basic_ostream<>::operator<<(long long)): Same.
1929 2002-04-11 Richard Henderson <rth@redhat.com>
1931 * config/linker-map.gnu: Add __gxx_personality_sj0.
1933 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1936 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1938 Remove forward declaration of vector.
1940 * include/bits/locale_facets.tcc: Remove vector include.
1941 (use_locale): Adjust.
1942 (has_locale): Adjust.
1943 * src/locale.cc: Adjust.
1944 * src/localename.cc: Same.
1946 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1947 Richard Henderson <rth@redhat.com>
1949 * include/bits/sstream.tcc: Clean up bit ops.
1950 * include/bits/fstream.tcc: Same.
1952 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1954 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1955 (__num_base::_S_scale_oct): Remove.
1956 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1957 (__num_base::_S_scale_oct): Remove.
1959 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1962 * testsuite/23_containers/bitset_members.cc: New test.
1963 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1964 (_S_bit_count): Here.
1965 (_First_one::_S_first_one): Move...
1966 (_S_first_one): Here.
1968 * src/bitset.cc: Adjust.
1969 * config/linker-map.gnu: Export.
1971 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1974 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1975 * include/std/std_fstream.h: Clean.
1976 * include/bits/ostream.tcc: Remove extraneous variables.
1977 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1978 open modes and which modes.
1979 (stringbuf::seekpos): Same.
1980 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1982 2002-04-05 Jonathan Wakely <jw@kayari.org>
1984 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
1985 random_shuffle, partition, stable_partition, sort, stable_sort,
1986 partial_sort, partial_sort_copy, nth_element): Doxygenate.
1988 2002-04-05 David S. Miller <davem@redhat.com>
1990 * config/os/gnu-linux/bits/os_defines.h
1991 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
1993 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
1996 via gawrilow@math.tu-berlin.de
1997 * acinclude.m4 (version_specific_libs): Fix combo usage with
1998 --with-gxx-include-dir.
1999 * aclocal.m4: Regenerate.
2002 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2004 As per DR 184, libstdc++/3139
2005 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2006 (numeric_limits<bool>::is_iec559): False.
2007 (numeric_limits<bool>::is_modulo): False.
2009 * testsuite/27_io/ios_init.cc: Add instantiations.
2011 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2014 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2015 * testsuite/27_io/ios_init.cc (tests04): Add test.
2018 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2019 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2020 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2021 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2023 * testsuite/27_io/ios_init.cc (tests03): Add test.
2025 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2027 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2028 * include/Makefile.in: Regenerate.
2030 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2031 Nathan Myers <ncm@cantrip.org>
2032 Philip Martin <philip@codematters.co.uk>
2034 * include/bits/basic_string.h
2035 (replace(i1, i2, _CharT* k1, _CharT* k2),
2036 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2037 replace(i1, i2, iterator k1, iterator k2,
2038 replace(i1, i2, const_iterator k1, const_iterator k2):
2039 New specializations to optimize for the common cases of
2040 pointers and iterators.
2041 (replace(pos, n1, s, n2)): Tweak.
2042 * include/bits/basic_string.tcc: Tweak comments.
2043 * testsuite/21_strings/replace.cc (test04): New tests.
2045 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2048 * acinclude: More extensive checks for msgfmt, --enable-nls.
2049 * aclocal.m4: Regenerate.
2050 * configure: Regenerate.
2052 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2054 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2055 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2056 * docs/html/18_support/howto.html: Document the demangler.
2057 * docs/html/17_intro/howto.html: And link to it.
2059 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2060 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2062 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2064 * config/linker-map.gnu: Export __verbose_terminate_handler.
2065 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2066 Make new LTCOMPILE variable, use it in new special build rules.
2067 * libsupc++/Makefile.in: Rebuild.
2068 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2069 runtime __cxa_demangle.
2071 * docs/html/install.html: Update prereqs and instructions.
2072 * docs/html/19_diagnostics/howto.html: Bring naming for
2073 verbose_terminate_handler into line with reality.
2075 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2078 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2079 (basic_ios::_M_streambuf_state): Move.
2080 * include/bits/ios_base (ios_base): To here.
2081 * include/bits/ios_base.h (ios_base::_S_local_words): To
2083 (ios_base::_M_word_array): To _M_local_word.
2084 (ios_base::_M_words_limit): To _M_word_size.
2085 (ios_base::_M_words): To _M_word.
2087 * include/bits/basic_ios.tcc: Adjust.
2088 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2089 * testsuite/27_io/ios_base_storage.cc: Add tests.
2092 Kenny Simpson <theonetruekenny@yahoo.com>
2093 * include/bits/ios_base.h: Fix.
2095 Richard Henderson <rth@redhat.com>
2096 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2099 * include/bits/basic_string.h: Tweak formatting.
2101 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2103 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2104 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2105 By definition, sizeof(char) == 1.
2106 * include/bits/locale_facets.tcc (money_get::do_get,
2107 money_put::do_put): Ditto.
2108 * testsuite/21_strings/inserters_extractors.cc
2111 2002-03-30 Richard Henderson <rth@redhat.com>
2114 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2115 data out of the exception struct before calling unexpectedHandler.
2117 2002-03-28 Roger Sayle <roger@eyesopen.com>
2119 * include/c_std/std_cmath.h: To prevent problems overloading
2120 g++ builtins, use the double variants from the global namespace
2121 before defining float and long double variants in std::.
2123 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2125 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2127 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2129 * testsuite/24_iterators/istream_iterator.cc
2130 (test02): New tests.
2132 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2133 Paolo Carlini <pcarlini@unitus.it>
2135 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2136 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2137 fix i_lit_base e_lit_base arrays, making them independent
2138 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2140 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2142 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2143 allocate at least a byte.
2145 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2147 * testsuite/27_io/streambuf.cc (test07): Fix.
2150 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2152 * docs/doxygen/Intro.3: Date tweak.
2153 * docs/doxygen/TODO: Update.
2154 * docs/doxygen/doxygroups.cc: Point to tables.html.
2155 * docs/doxygen/mainpage.html: Date tweak.
2156 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2157 * docs/doxygen/tables.html: Fill in the blanks.
2159 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2160 * include/bits/stl_algo.h: Likewise; use expanded form.
2161 * include/bits/stl_alloc.h: Likewise.
2162 * include/bits/stl_construct.h: Likewise.
2163 * include/bits/stl_deque.h: Likewise.
2164 * include/bits/stl_iterator_base_types.h: Likewise.
2165 * include/bits/stl_list.h: Likewise.
2166 * include/bits/stl_relops.h: Likewise.
2167 * include/bits/stl_tempbuf.h: Likewise.
2168 * include/bits/stl_vector.h: Likewise.
2169 * include/std/std_memory.h: Likewise.
2171 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2172 * include/bits/stl_list.h: Likewise.
2173 * include/bits/stl_vector.h: Likewise.
2175 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2177 * include/c/: Guard with _CPP_.
2178 * include/c_std/: Same.
2179 * include/Makefile.am: Fixup install, link routines for null
2180 c_base_headers_extra scenarios.
2181 * include/Makefile.in: Regerate.
2183 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2184 Richard Henderson <rth@redhat.com>
2186 * testsuite/22_locale/codecvt_members_unicode_char.cc
2187 (test01, test02): make sure that the i_lit_base array
2188 is sufficiently aligned.
2190 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2192 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2195 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2197 * testsuite/22_locale/collate_byname.cc
2198 (test01): compare the result of collate::compare with
2199 that of collate::transform + string::compare, not with
2200 that of collate::transform + collate::compare; values
2201 returned by collate::compare are normalized, therefore
2204 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2205 Jakub Jelinek <jakub@redhat.com>
2207 * config/locale/gnu/messages_members.h: Correct conditional.
2208 * config/locale/gnu/messages_members.cc: Same.
2209 * config/locale/gnu/time_members.cc: Same.
2211 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2212 Paolo Carlini <pcarlini@unitus.it>
2214 * testsuite/22_locale/codecvt_members_unicode_char.cc
2215 (test01, test02): Fix i_lit_base arrays, making them
2216 independent from the endianness of the platform.
2218 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2220 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2221 signbit and __signbit directly.
2222 * aclocal.m4: Regenerate.
2223 * configure: Regenerate.
2224 * config.h.in: Regenerate.
2225 * libmath/Makefile.am: Simplify.
2226 * libmath/Makefile.in: Regenerate.
2227 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2229 * include/Makefile.am: Clean up handling of extra "C" header files.
2230 Add hooks for "C" compatibility headers.
2231 * include/Makefile.in: Regenerate.
2233 * include/c/*: Formatting tweaks, cleanups.
2234 * include/c_std/*: Same.
2236 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2238 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2239 * config/locale/gnu/messages_members.cc: Same.
2240 * config/locale/gnu/time_members.cc: Same.
2242 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2244 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2246 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2248 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2249 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2250 * aclocal.m4: Regenerate.
2251 * configure: Likewise.
2253 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2254 Ulrich Drepper <drepper@redhat.com>
2256 * src/locale-inst.cc (__convert_from_v): Add an additional
2257 __size parameter in the declarations.
2258 * include/bits/locale_facets.tcc
2259 (__convert_from_v): When available (that is,
2260 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2261 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2262 being defined or not, call and use __convert_from_v in the
2264 (num_put::_M_convert_int): Same here.
2265 (money_put::do_put(long double)): Same here.
2267 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2269 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2270 * docs/html/faq/index.txt: Regenerate.
2272 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2274 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2275 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2276 --enable-libunwind-exceptions is set.
2277 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2278 macro to check for libunwind.
2279 * configure: Regenerate.
2280 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2281 LIBUNWIND_FLAG to libstdc link line.
2282 * src/Makefile.in: Regenerate.
2284 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2286 * docs/html/faq/index.html: Add OS X workaround.
2287 * docs/html/17_intro/TODO: Update.
2289 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2291 * include/bits/locale_facets.tcc
2292 (money_put::do_put(long double)): Fix dimensioning of
2293 temporary buffers to avoid risk of overruns.
2294 (money_put::do_put(string)): Same for the buffer used to
2295 add the grouping chars.
2296 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2297 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2299 * include/bits/locale_facets.tcc
2300 (collate::do_transform): Simplify.
2302 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2304 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2305 * configure.in: Add comments pointing the way for autoconf 2.5x.
2306 * aclocal.m4, config.h.in, configure: Regenerate.
2308 2002-03-18 Philipp Thomas <pthomas@suse.de>
2310 * include/backward/hash_map.h: hash, hashtable, hash_map and
2311 hash_multimap are in namespace __gnu_cxx.
2312 include/backward/hash_set.h: hash, hashtable, hash_set and
2313 hash_multiset are in namespace __gnu_cxx.
2314 include/backward/hashtable.h: hash and hashtable are in
2315 namespace __gnu_cxx.
2316 include/backward/rope.h: char_producer, sequence_buffer,
2317 rope, crope and wrope are in namespace __gnu_cxx.
2318 include/backward/slist.h: slist is in namespace __gnu_cxx.
2319 * testsuite/backward/header_hash_map_h.cc
2320 testsuite/backward/header_hash_set_h.cc
2321 testsuite/backward/header_hashtable_h.cc
2322 testsuite/backward/header_rope_h.cc
2323 testsuite/backward/header_slist_h.cc
2324 testsuite/backward/header_tempbuf_h.cc: New tests for
2325 checking that we're using the correct namespace.
2327 2002-03-17 Jason Merrill <jason@redhat.com>
2330 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2331 (check_exception_spec): Call it. Take the thrown pointer.
2332 (__cxa_call_unexpected): Pass it.
2333 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2335 2002-03-15 Anthony Green <green@redhat.com>
2337 * configure.in: Remove useless is_mingw32.
2338 * configure: Rebuilt.
2340 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2342 * testsuite/22_locale/collate_members_char.cc
2343 (test01): compare the result of collate::compare with
2344 that of collate::transform + string::compare, not with
2345 that of collate::transform + collate::compare.
2346 (test01): values returned by collate::compare are
2347 normalized, therefore test against +-1.
2348 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2350 2002-03-12 Loren Rittle <ljrittle@acm.org>
2352 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2353 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2355 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2356 Per Liboriussen <liborius@stofanet.dk>
2358 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2360 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2362 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2364 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2365 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2367 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2368 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2370 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2371 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2373 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2375 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2377 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2378 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2379 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2380 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2381 that memory limits are in place.
2382 (test03): Add tests.
2384 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2386 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2387 * aclocal.m4: Regenerate.
2388 * config.h.in: Regenerate.
2389 * configure: Regenerate.
2390 * include/c_std/std_cwctype.h: Guard.
2392 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2394 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2395 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2396 * aclocal.m4: Regenerate.
2397 * configure: Regenerate.
2399 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2401 * include/bits/stl_bvector.h: Fix warning.
2403 2002-03-11 Richard Henderson <rth@redhat.com>
2405 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2407 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2409 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2410 New function. Build the list of tests to run in testsuite_files.
2411 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2413 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2415 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2416 platforms with no weak support.
2417 * testsuite/27_io/ios_init.cc: Likewise.
2419 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2421 * include/bits/locale_facets.tcc (time_put::do_put):
2422 Consider sizeof(char_type) in allocating the buffer.
2424 * include/bits/locale_facets.tcc (collate::do_tranform):
2425 Remove redundant variable.
2427 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2428 Paolo Carlini <pcarlini@unitus.it>
2430 * config/locale/generic/collate_members.cc
2431 (collate<char,wchar_t>::_M_compare_helper): normalize
2432 values returned by strcoll and wcscoll.
2433 * config/locale/gnu/collate_members.cc
2434 (collate<char,wchar_t>::_M_compare_helper): ditto
2435 for __strcoll_l and __wcscoll_l.
2437 2002-03-10 Anthony Green <green@redhat.com>
2439 * configure.in: Support cross builds to mingw32 target.
2440 * configure: Rebuilt.
2442 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2444 * include/bits/locale_facets.tcc (collate::do_transform):
2445 Rewrite to fix problems with long transformed strings.
2447 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2449 * c_locale_generic.cc: Move to...
2450 * generic/c_locale.cc
2451 * c_locale_generic.h: Move to...
2452 * generic/c_locale.h
2453 * codecvt_specializations_generic.h: Move to...
2454 * generic/codecvt_specializations.h
2455 * collate_members_generic.cc: Move to...
2456 * generic/collate_members.cc
2457 * ctype_members_generic.cc: Move to...
2458 * generic/ctype_members.cc
2459 * messages_members_generic.cc: Move to...
2460 * generic/messages_members.cc
2461 * messages_members_generic.h: Move to...
2462 * generic/messages_members.h
2463 * moneypunct_members_generic.cc: Move to...
2464 * generic/monetary_members.cc
2465 * numpunct_members_generic.cc: Move to...
2466 * generic/numeric_members.cc
2467 * time_members_generic.cc: Move to...
2468 * generic/time_members.cc
2469 * c_locale_gnu.cc: Move to...
2471 * c_locale_gnu.h: Move to...
2473 * collate_members_gnu.cc: Move to...
2474 * gnu/collate_members.cc
2475 * ctype_members_gnu.cc: Move to...
2476 * gnu/ctype_members.cc
2477 * messages_members_gnu.cc: Move to...
2478 * gnu/messages_members.cc
2479 * messages_members_gnu.h: Move to...
2480 * gnu/messages_members.h
2481 * moneypunct_members_gnu.cc: Move to...
2482 * gnu/monetary_members.cc
2483 * numpunct_members_gnu.cc: Move to...
2484 * gnu/numeric_members.cc
2485 * time_members_gnu.cc: Move to...
2486 * gnu/time_members.cc
2487 * c_locale_ieee_1003.1-200x.cc: Move to...
2488 * ieee_1003.1-2001/c_locale.cc
2489 * c_locale_ieee_1003.1-200x.h: Move to...
2490 * ieee_1003.1-2001/c_locale.h
2491 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2492 * ieee_1003.1-2001/codecvt_specializations.h
2493 * messages_members_ieee_1003.1-200x.cc: Move to...
2494 * ieee_1003.1-2001/messages_members.cc
2495 * messages_members_ieee_1003.1-200x.h: Move to...
2496 * ieee_1003.1-2001/messages_members.h
2498 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2499 * aclocal.m4: Regenerate.
2500 * configure: Regenerate.
2501 * src/Makefile.am (sources): Change to monetary and numeric.
2502 * src/Makefile.in: Regenerate.
2503 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2505 2002-03-08 scott snyder <snyder@fnal.gov>
2508 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2509 Allow one more digit of precision.
2510 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2511 write a double and read back in the same value.
2513 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2515 * include/std/std_limits.h: Move static const data members out of
2516 generic template, into base class __numeric_limits_base.
2517 * src/limits.cc: Add definitions.
2518 * config/linker-map.gnu: Add __numeric_limits_base.
2519 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2521 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2523 * include/bits/stl_alloc.h: Add extern implicit allocator
2525 * include/bits/basic_string.tcc: Tweak.
2526 * include/bits/locale_facets.tcc: Remove default args. Add
2527 has_facet, use_facet extern instantiations.
2528 * src/stl-inst.cc: Add explicit instantiation.
2529 * src/locale-inst.cc: Clean. Remove locale member template
2532 * testsuite/22_locale/operators.cc (test02): Enable.
2534 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2535 Stephen M. Webb <stephen.webb@bregmasoft.com>
2537 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2538 (_S_rb_tree_black): Make enum.
2540 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2541 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2542 (__stl_threshold): _M_threshold, enum.
2543 * src/stl-inst.cc: Same.
2544 * config/linker-map.gnu: Remove.
2546 * testsuite/23_containers/vector_bool.cc: New.
2548 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2550 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2551 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2552 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2553 referring to the collection as a whole. New section on which macros
2554 can be redefined by the user.
2555 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2556 * docs/html/20_util/howto.html: Update link to SGI.
2557 * docs/html/faq/index.html: Update snapshot versions. New entry
2558 on why g++ (but not gcc) must currently predefine certain macros.
2559 * docs/html/faq/index.txt: Regenerated.
2561 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2562 names in declaration.
2563 (basic_string::compare): These are no longer optional.
2564 * include/bits/ostream.tcc: Tweak closing brace placement.
2565 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2566 * include/std/std_sstream.h: Fix typo in comment.
2567 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2568 * src/locale.cc: Likewise.
2570 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2573 * include/bits/stl_vector.h (vector::push_back()): Guard with
2574 _GLIBCPP_DEPRECATED.
2576 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2578 * include/bits/c++config: Fix misplaced leading blanks on first line.
2580 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2582 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2583 * README (libmath): Make clear.
2585 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2587 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2588 script globbing in ld.
2589 * aclocal.m4: Rebuilt.
2590 * configure: Rebuilt.
2592 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2594 * docs/html/17_intro/RELEASE-NOTES: Update.
2595 * README: Format subdirectories.
2597 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2600 * include/bits/locale_facets.tcc
2601 (num_get::_M_extract_float): Fix the parsing of __dec, since
2602 the standard prescribes that if no grouping characters are
2603 seen, no grouping check is applied.
2604 * testsuite/22_locale/num_get_members_char.cc: Add test05
2605 distilled from the PR.
2606 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2608 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2610 * docs/html/17_intro/porting-howto.xml: Refer to
2611 http://www.oasis-open.org for docbookx.dtd.
2612 * docs/html/17_intro/porting-howto.html: Regenerated.
2614 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2617 * include/std/std_sstream.h: Remove trailing spaces.
2618 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2619 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2621 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2623 * testsuite/22_locale/num_get_members_char.cc (test04):
2624 Use a named locale expecting grouping (de_DE).
2625 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2627 * testsuite/27_io/ios_manip_basefield.cc (test01):
2628 Extend coverage, uniform treatment of hexs and octs.
2630 2002-02-28 Richard Henderson <rth@redhat.com>
2632 * config/linker-map.gnu: Export operator new with unsigned long,
2633 and with std::nothrow_t. Likewise operator delete.
2635 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2637 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2638 Admit grouping for octals and hexadecimals too.
2639 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2640 (test01): Tweak "." -> "," in void* test.
2641 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2643 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2644 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2646 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2648 * testsuite/27_io/ios_manip_basefield.cc (test01):
2649 Fix for 64 bit machines.
2651 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2654 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2656 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2657 (basic_ios::_M_fill_init): New.
2658 (basic_ios::fill()): Delay dealing with _M_fill.
2660 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2661 (ios_base::_M_call_callbacks): Adjust.
2662 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2664 2002-02-26 Loren Rittle <ljrittle@acm.org>
2666 * include/Makefile.am (thread_target_headers): Unconditionally
2667 stage and install gthr-posix.h.
2668 (${target_builddir}/gthr-posix.h): New rule cloned off
2669 ${target_builddir}/gthr-default.h.
2670 (${target_builddir}/gthr-default.h): Support chained inclusion
2671 of gthr support headers.
2672 * include/Makefile.in: Rebuilt.
2674 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2676 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2677 Group all the integral types, not only decs.
2678 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2679 tests, add a few more.
2681 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2683 * src/ios.cc (ios_base::~ios_base): Tweak.
2684 (ios_base::_M_call_callbacks): Deal with null __p.
2685 (ios_base::ios_base): Set _M_callbacks.
2686 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2687 * testsuite/27_io/ios_init.cc (test02): Fix.
2689 * mkcheck.in (static_fail): Failed links go to output file.
2691 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2693 * docs/html/faq/index.html: Update.
2694 * docs/html/faq/index.txt: Regenerate.
2696 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2698 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2699 * aclocal.m4: Regenerate.
2700 * docs/html/configopts.html: Document --enable-symvers.
2701 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2703 2002-02-22 Philipp Thomas <pthomas@suse.de>
2705 * include/backward/tempbuf.h: get_temporary_buffer and
2706 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2708 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2710 * configure.in (target_alias): Default to yes.
2711 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2712 libgcc to default case.
2714 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2716 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2717 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2718 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2719 * aclocal.m4: Regenerate.
2720 * configure: Regenerate.
2721 * config/linker-map.dummy: New file. Contains nothing useful.
2723 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2725 * testsuite/22_locale/money_put_members_char.cc: Fix.
2726 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2728 * testsuite/27_io/standard_manipulators.cc: New file.
2730 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2731 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2733 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2735 * config/os/mingw32/bits/ctype_noninline.h
2736 (ctype<char>::ctype): Remove default args from parm list.
2737 * config/os/djgpp/bits/ctype_noninline.h: Same.
2739 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2741 * include/std/std_iomanip.h: Inline, tweaks.
2742 * config/linker-map.gnu: Remove hacks.
2744 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2745 * testsuite/27_io/ios_init.cc: Same.
2746 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2747 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2749 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2751 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2752 variable, and thunk info as per CXXABI docs.
2754 2002-02-19 Loren Rittle <ljrittle@acm.org>
2756 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2757 * include/Makefile.in: Rebuilt.
2759 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2761 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2762 with size3 for the string collations of str5.
2764 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2767 * include/bits/locale_facets.tcc (money_put::do_put):
2768 For the space field use __fill instead of ' ', uniformly.
2769 * testsuite/22_locale/money_put_members_char.cc:
2770 Add test05 distilled from PR.
2771 (test01-02-03): Trim some '*' to ' '.
2772 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2774 2002-02-18 Loren Rittle <ljrittle@acm.org>
2777 * include/Makefile.am (thread_builddir): Remove (map all
2778 existing uses to target_builddir).
2779 (thread_headers): Rename to...
2780 (thread_target_headers): ...this.
2781 (stamp-thread): Remove.
2782 (stamp-target): Correctly state the position as built.
2783 Update all dependencies to match the new reality. Remove all
2784 dependency calculations on directories.
2785 * include/Makefile.in: Rebuilt.
2787 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2789 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2790 * include/bits/fstream.tcc: Same.
2791 * include/bits/sstream.tcc: Same.
2792 * include/bits/ostream.tcc: Same.
2793 * include/bits/istream.tcc: Same.
2794 * include/bits/streambuf.tcc: Same.
2795 * include/bits/basic_ios.tcc: Same.
2796 * include/bits/basic_string.tcc: Same.
2798 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2800 * include/std/std_iosfwd.h: Don't guard typedefs with
2801 _GLIBCPP_USE_WCHAR_T
2802 * include/bits/stringfwd.h: Same.
2804 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2806 * src/locale.cc (moneypunct_byname): Remove definitions.
2807 * include/std/std_streambuf.h (streambuf::operator=): Return.
2809 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2812 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2813 explicit instantiation.
2814 (string::_Rep::_S_max_size): Same.
2815 * include/bits/basic_string.tcc: Add extern explicit
2816 instantiations for string, wstring.
2817 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2819 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2820 * include/bits/istream.tcc: Same, for istream, wistream.
2821 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2823 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2824 istringstream, wistringstream, ostringstream, wostringstream,
2825 stringstream, wstringstream.
2826 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2827 wifstream, ofstream, wofstream, fstream, wfstream.
2828 * src/misc-inst.cc: Correct comments.
2829 Add iomanip instantiations for wide streams.
2830 * include/std/std_iomanip.h: Same.
2831 * include/bits/locale_facets.tcc: Same.
2833 * include/std/std_streambuf.h: Correct
2834 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2835 * include/std/std_sstream.h: Same.
2836 * include/std/std_ostream.h: Same.
2837 * include/std/std_istream.h: Same.
2838 * include/std/std_fstream.h: Same.
2840 * include/std/std_streambuf.h: Add definitions for private copy
2841 ctor and assignment operator.
2842 * include/std/std_istream.h: Remove declared but undefined copy
2843 ctor and assignment operator. This is taken care of in ios_base,
2844 so adding it in the derived class as well is superfluous.
2845 * include/std/std_ostream.h: Same.
2847 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2848 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2850 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2852 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2853 Add typeinfo bits. Smooth.
2854 * aclocal.m4: Regenerate.
2856 * src/Makefile.in: Same.
2858 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2860 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2861 which do not have a CAS instruction.
2863 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2865 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2866 * configure.in: Call it.
2867 * config/linker-map.gnu: New file, initial incomplete revision.
2868 * src/Makefile.am: Optionally pass version script to the linker.
2869 * aclocal.m4: Regenerate.
2870 * configure: Regenerate.
2871 * src/Makefile.in: Regenerate.
2873 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2875 * src/localename.cc: Remove stdexcept include.
2876 * src/locale-inst.cc: Same.
2877 * src/locale.cc: Same.
2878 * src/functexcept.cc: Remove string includes.
2879 * include/std/std_bitset.h: Remove stdexcept include.
2880 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2881 * testsuite/23_containers/bitset_ctor.cc: Same.
2883 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2885 * include/bits/stl_algo (__stl_threshold): Declare external.
2886 (__stl_chunk_size): Same.
2887 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2888 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2889 (_S_rb_tree_black): Same.
2890 * src/stl-inst.cc (__stl_threshold): Define.
2891 (__stl_chunk_size): Same.
2893 (_S_rb_tree_red): Same.
2894 (_S_rb_tree_black): Same.
2896 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2897 * include/bits/basic_file.h: Remove.
2898 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2899 Declare generic types, specialization.
2900 * config/io/basic_file_stdio.cc: Definitions.
2901 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2902 Declare generic types.
2903 * include/Makefile.am (bits_headers): Remove basic_file.h.
2904 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2905 (stamp-target): Same.
2907 * include/bits/stl_alloc.h: Tweaks.
2908 * include/bits/localefwd.h: Same.
2910 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2912 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2913 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2914 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2916 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2918 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2919 Use __typeof__ in concept checks.
2921 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2923 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2924 adjacent_find, count, count_if, search, search_n, swap_ranges,
2925 transform, replace, replace_if, replace_copy, replace_copy_if,
2926 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2927 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2929 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2931 * include/bits/locale_facets.h
2932 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2933 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2934 (__timepunct<_CharT>::_M_put_helper): Same.
2935 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2937 * include/bits/fstream.tcc (filebuf::underflow): Remove
2938 __codecvt_type typedef.
2939 (filebuf::_M_convert_to_external): Same.
2941 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2943 * docs/doxygen/TODO: Update.
2944 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2945 * docs/doxygen/mainpage.html: Add TODO list link.
2946 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2947 * docs/doxygen/tables.html: New file, emoty structure only.
2949 * include/bits/stl_iterator.h: Doxygenate just about everything.
2950 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2951 * include/bits/stl_iterator_base_types.h: Add notes.
2953 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2955 * include/bits/stl_map.h: Tweak doxygen markup.
2956 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2957 * include/bits/stl_vector.h: Likewise.
2959 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2963 * include/std/std_fstream.h (filebuf::__file_type): Change to
2965 (filebuf::_M_convert_to_external): Declare.
2966 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2967 codecvt bits for wide streams.
2968 (filebuf::_M_really_overflow): Use it.
2969 (filebuf::underflow): Use codecvt.
2970 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2971 (codecvt<__enc_traits>::do_out): Deal with partial.
2972 (codecvt<__enc_traits>::do_encoding): Return something useful.
2973 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2975 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2976 Change expected encoding output.
2978 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2981 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2982 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
2984 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
2985 (basic_ios::widen): Same.
2987 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
2989 * testsuite/22_locale/money_get_members_char.cc:
2990 Add comment, tidy up.
2991 (test01): more "en_HK" tests (without showbase).
2992 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
2994 2002-02-06 Loren Rittle <ljrittle@acm.org>
2996 * config/locale/c_locale_generic.cc: Do not trust
2997 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3000 2002-02-06 Loren Rittle <ljrittle@acm.org>
3002 * acinclude.m4: Add C++ linkage check for strtof.
3003 * aclocal.m4: Rebuilt.
3004 * config.h.in: Rebuilt.
3005 * configure: Rebuilt.
3006 * config/locale/c_locale_generic.cc: Conditionally include
3007 <ieeefp.h>. Improve handling and error checking of float
3008 and long double input for non-C99 configurations.
3010 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3012 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3013 In case money_base::symbol deal properly with multi-char sign
3014 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3015 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3016 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3018 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3020 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3021 First construct a tentative returned string, then, only if the
3022 parsing succeeds, copy it into the string passed by reference.
3023 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3024 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3026 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3028 * docs/doxygen/TODO: Impl-defined behavior now documented...
3029 * docs/html/17_intro/howto.html: ...here.
3030 * docs/doxygen/mainpage.doxy: Remove, rename...
3031 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3032 * docs/doxygen/style.css: Add small text.
3033 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3034 * docs/doxygen/user.cfg.in: Likewise.
3036 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3038 * include/bits/stl_map.h: Initial doxygen markup.
3039 * include/std/std_fstream.h: Initial doxygen markup.
3041 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3044 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3045 Deal correctly with !(__io.flags() & ios_base::showbase)
3046 for case money_base::symbol.
3047 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3048 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3050 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3052 * testsuite/22_locale/operators.cc
3053 (gnu_collate::do_compare()): Add return statement to
3054 suppress "no return statement" warning.
3056 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3058 * testsuite/27_io/ostream_manip.cc: Enable test02.
3060 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3062 * docs/html/documentation.html: Update for 3.0.96.
3063 * docs/html/faq/index.html: Update for 3.0.96.
3064 * docs/html/faq/index.txt: Regenerated.
3065 * docs/doxygen/TODO: Update notes.
3066 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3068 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3070 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3071 Initialize all data members in copy ctor. Make ctors explicit.
3072 (__enc_traits::__enc_traits()): Default ctor does nothing.
3073 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3074 * include/std/std_sstream.h (basic_stringbuf): Make data members
3076 * include/std/std_fstream.h (basic_filebuf): Same.
3077 * include/std/std_streambuf.h: Tweak.
3078 * include/bits/streambuf.tcc: Same.
3079 * include/bits/sstream.tcc: Same.
3080 * include/bits/fstream.tcc: Same.
3082 2002-01-31 Loren Rittle <ljrittle@acm.org>
3084 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3085 allow NULL argument to be passed to setenv().
3086 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3087 * testsuite/22_locale/collate_members_char.cc: Likewise.
3088 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3089 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3090 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3091 * testsuite/22_locale/messages_members_char.cc: Likewise.
3092 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3093 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3094 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3095 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3096 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3097 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3098 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3099 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3100 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3101 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3102 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3103 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3104 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3105 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3106 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3107 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3109 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3111 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3113 * ChangeLog-2001: Fix spelling errors...
3114 * docs/html/17_intro/RELEASE-NOTES: Update.
3115 * docs/html/17_intro/TODO: Update.
3116 * README (file): Update.
3118 2002-01-30 Loren Rittle <ljrittle@acm.org>
3120 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3121 instead of non-zero to aid portability.
3123 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3125 * docs/html/22_locale/messages.html: Fix example code.
3127 2002-01-30 Richard Henderson <rth@redhat.com>
3129 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3130 out from test03 and templatize.
3133 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3135 * config/locale/numpunct_members_gnu.cc
3136 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3137 Fix initialization of _M_grouping for locales which have
3138 _M_thousands_sep == '\0'(L'\0', respectively).
3139 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3141 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3143 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3144 Better fix for 32/64 bit architectures, avoiding the
3145 implicit assumption that CHAR_BIT == 8.
3147 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3149 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3150 * Makefile.in: Regenerate.
3152 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3153 * docs/doxygen/Intro.3: Update.
3154 * docs/doxygen/TODO: Update.
3155 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3156 * docs/doxygen/mainpage.doxy: Update.
3157 * docs/doxygen/user.cfg.in: Update for header rename. Also
3158 regenerate comments and variables with 1.2.12.
3159 * docs/doxygen/maint.cfg.in: Remove file.
3161 * include/bits/stl_relops.h: Doxygenate.
3162 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3164 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3165 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3166 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3167 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3168 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3169 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3170 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3171 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3172 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3173 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3174 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3175 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3176 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3177 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3178 include/std/std_algorithm.h, include/std/std_bitset.h,
3179 include/std/std_complex.h, include/std/std_deque.h,
3180 include/std/std_fstream.h, include/std/std_functional.h,
3181 include/std/std_iomanip.h, include/std/std_ios.h,
3182 include/std/std_iosfwd.h, include/std/std_iostream.h,
3183 include/std/std_istream.h, include/std/std_iterator.h,
3184 include/std/std_limits.h, include/std/std_list.h,
3185 include/std/std_locale.h, include/std/std_map.h,
3186 include/std/std_memory.h, include/std/std_numeric.h,
3187 include/std/std_ostream.h, include/std/std_queue.h,
3188 include/std/std_set.h, include/std/std_sstream.h,
3189 include/std/std_stack.h, include/std/std_stdexcept.h,
3190 include/std/std_streambuf.h, include/std/std_string.h,
3191 include/std/std_utility.h, include/std/std_valarray.h,
3192 include/std/std_vector.h: Add/correct @file doxygen hook.
3194 * include/ext/memory: Doxygenate most of rest of file.
3195 * libsupc++/exception: Doxygen output formatting.
3196 * libsupc++/new: Say which header it is.
3198 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3199 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3200 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3201 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3203 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3204 Charles Leggett <CGLeggett@lbl.gov>
3206 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3208 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3210 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3211 Fix to deal correctly with both 32 bit and 64 bit architectures
3213 2002-01-25 Loren Rittle <ljrittle@acm.org>
3215 * testsuite/thread/pthread1.cc: Use one condition variable
3216 per predicate instead of tricky use of one condition variable.
3218 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3220 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3222 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3223 * testsuite/27_io/filebuf.cc: Compile only.
3224 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3225 * testsuite/27_io/filebuf_virtuals.cc: And here.
3226 Revert sungetc, sync changes for expected values.
3227 * testsuite/27_io/filebuf-*: Move to...
3228 * testsuite/27_io/filebuf_virtuals-*: ...here.
3229 * testsuite/27_io/istream.cc: Compile only, activate.
3230 * testsuite/27_io/ostream.cc: Same.
3231 * testsuite/27_io/iostream.cc: New.
3232 * testsuite/27_io/iostream_members.cc: New.
3234 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3236 * testsuite/thread/pthread1.cc: Enable on cygwin.
3237 * testsuite/thread/pthread2.cc: Likewise.
3238 * testsuite/thread/pthread3.cc: Likewise.
3239 * testsuite/thread/pthread4.cc: Likewise.
3240 * testsuite/thread/pthread5.cc: Likewise.
3241 * testsuite/thread/pthread6.cc: Likewise.
3243 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3245 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3247 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3249 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3251 (basic_ios::fill(char_type)): Use fill().
3252 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3253 (basic_ios::narrow): Same.
3254 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3255 if they are invalid.
3256 (basic_ios::init): Comment.
3257 * testsuite/27_io/ios_init.cc (test02): New.
3259 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3261 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3262 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3263 * include/ext/memory: Do not include stl_tempbuf.h.
3264 (temporary_buffer): Add doxygen hook.
3265 (__get_temporary_buffer, get_temporary_buffer,
3266 return_temporary_buffer): Move back to std:: header...
3267 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3268 * include/ext/rope: Do not include stl_tempbuf.h.
3269 * include/ext/stl_hashtable.h: Likewise.
3270 * include/std/std_algorithm.h: Likewise.
3271 * testsuite/20_util/temporary_buffer.cc: New file.
3273 2002-01-24 andrew@andypo.net
3274 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3277 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3278 * include/bits/localefwd.h: Likewise.
3279 Also use for std::locale::id::_S_highwater.
3280 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3281 * src/locale.cc: Support new usage of _Atomic_word.
3282 (std::locale::classic): Guard entire function against reentry.
3283 * src/localename.cc: Support new usage of _Atomic_word.
3285 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3287 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3288 _GLIBCPP_HAVE_SETENV.
3289 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3290 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3291 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3292 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3293 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3294 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3295 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3296 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3297 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3298 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3299 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3300 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3301 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3302 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3303 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3304 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3305 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3306 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3307 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3308 * aclocal.m4: Regenerate.
3309 * configure: Regenerate.
3310 * config.h.in: Regenerate.
3312 2002-01-23 Loren Rittle <ljrittle@acm.org>
3314 * testsuite/thread/pthread1.cc: New test.
3315 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3316 * testsuite/thread/pthread3.cc: Likewise.
3317 * testsuite/thread/pthread4.cc: New test adapted from
3318 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3319 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3320 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3322 2002-01-23 Richard Henderson <rth@redhat.com>
3325 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3326 CAS on the cpu variants that support it. Add versions that use
3327 TAS and that disable interrupts.
3328 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3330 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3332 * include/bits/locale_facets.tcc: Remove old comments.
3334 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3336 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3338 (__convert_from_v): Same.
3340 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3342 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3344 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3345 __max_digits checks, adjust arguments.
3346 (num_get::do_get(*)): Changeup.
3348 2002-01-23 Loren Rittle <ljrittle@acm.org>
3350 * config/locale/c_locale_generic.cc: Fix typename usage.
3352 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3354 * config/locale/c_locale_generic.cc: Fix.
3356 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3358 * docs/html/22_locale/messages.html: Remove angle brackets.
3359 * docs/html/17_intro/TODO: Add.
3361 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3363 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3364 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3365 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3366 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3368 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3370 Audit for LANG independence.
3371 * include/bits/localefwd.h: Tweaks.
3372 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3374 (time_get::do_get_year): Same.
3375 (__convert_from_v): Add.
3376 (num_put::_M_convert_float): Use.
3377 (num_put::_M_convert_int): Same.
3378 (money_put::do_put): Same.
3380 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3381 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3382 * config/locale/time_members_generic.cc:
3383 * config/locale/messages_members_gnu.cc: Same.
3384 * config/locale/messages_members_gnu.h: Same.
3386 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3387 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3388 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3389 * testsuite/22_locale/collate_members_char.cc (test02): New.
3390 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3391 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3392 * testsuite/22_locale/messages_members_char.cc (test02): New.
3393 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3394 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3395 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3396 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3397 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3398 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3399 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3400 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3401 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3402 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3403 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3404 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3405 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3406 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3407 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3408 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3410 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3412 * testsuite/22_locale/time_get_members_char.cc: Same.
3414 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3417 * include/bits/localefwd.h: Tweak comments.
3418 * include/bits/locale_facets.h (__convert_to_v): Add.
3419 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3420 (num_get::do_get(float)): Same.
3421 (num_get::do_get(long double)): Same.
3422 (num_get::do_get(bool)): Same.
3423 (num_get::do_get(long)): Same.
3424 (num_get::do_get(long long)): Same.
3425 (num_get::do_get(unsigned int)): Same.
3426 (num_get::do_get(unsigned short)): Same.
3427 (num_get::do_get(unsigned long)): Same.
3428 (num_get::do_get(unsigned long long)): Same.
3429 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3430 * config/locale/c_locale_generic.cc: Same.
3432 2002-01-22 Loren Rittle <ljrittle@acm.org>
3434 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3435 (std_builddir): Likewise.
3436 (std_headers_rename): Fix cut-n-paste typo.
3437 (install-data-local): Concat path per element instead of once to
3438 first element of list.
3439 * include/Makefile.in: Rebuilt.
3441 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3443 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3444 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3445 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3447 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3449 * include/bits/locale_facets.h (ctype<char>::classic_table):
3451 (ctype<char>::_S_ctable): Remove.
3452 * config/os/gnu-linux/bits/ctype_noninline.h
3453 (ctype<char>::_S_table): Remove definition.
3454 (ctype<char>::classic_table): Define.
3455 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3456 * config/os/aix/bits/ctype_noninline.h: Same.
3457 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3458 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3459 * config/os/djgpp/bits/ctype_noninline.h: Same.
3460 * config/os/generic/bits/ctype_noninline.h: Same.
3461 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3462 * config/os/hpux/bits/ctype_noninline.h: Same.
3463 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3464 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3465 * config/os/mingw32/bits/ctype_noninline.h: Same.
3466 * config/os/newlib/bits/ctype_noninline.h: Same.
3467 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3468 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3469 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3471 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3473 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3474 of _pctype. Use to define _S_ctable. Add definition for alternate
3475 ctor. Initialise _M_ctable to _S_ctable in ctors.
3476 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3477 rather than ::toupper, ::tolower.
3479 2002-01-18 Loren Rittle <ljrittle@acm.org>
3481 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3482 Add specialization for FreeBSD systems only to avoid losing test
3483 only due to extra precision unmentioned in system headers.
3485 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3487 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3489 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3491 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3492 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3494 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3496 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3498 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3500 * configure.target: Define OPT_LDFLAGS for AIX case.
3502 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3504 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3505 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3507 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3509 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3511 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3513 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3514 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3515 * aclocal.m4: Regenerate.
3516 * configure: Regenerate.
3518 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3520 * include/Makefile.am (c_base_headers_rename): New.
3521 (c_base_headers_extra): New.
3522 (stamp-c_base): Modify.
3523 (install-data-local): Use both.
3524 * include/Makefile.in: Regenerate.
3525 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3526 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3527 cstdio ctime cwctype]: Move to..
3528 * include/c/std_*: Here.
3529 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3530 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3531 cstdio ctime cwctype]: Move to..
3532 * include/c_std/std_*: Here.
3534 Alexandre Oliva <aoliva@redhat.com>
3535 * include/Makefile.am (.PRECIOUS): Add rule.
3536 * include/Makefile.in: Regenerate.
3538 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3539 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3541 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3542 Deuglify, should be current.
3543 (back_insert_iterator::_M_container): Deuglify, should be container.
3544 (front_insert_iterator::_M_container): Same.
3545 (insert_iterator::_M_container): Same.
3546 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3547 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3548 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3549 * testsuite/24_iterators/insert_iterator.cc: Same.
3551 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3553 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3555 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3556 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3557 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3558 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3559 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3560 * config/os/newlib/bits/ctype_noninline.h: Same.
3561 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3562 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3563 * config/os/hpux/bits/ctype_noninline.h: Same.
3564 * config/os/djgpp/bits/ctype_noninline.h: Same.
3565 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3566 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3567 * config/os/aix/bits/ctype_noninline.h: Same.
3569 Testcase by Dietmar Kühl via Peter Schmid
3570 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3573 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3575 * libmath/signbitl.c: Copyright years as list, not range.
3576 * libmath/Makefile.am: Same.
3577 * libmath/Makefie.in: Regenerate.
3578 * libmath/signbit.c: Same.
3579 * libmath/nan.c: Same.
3580 * libmath/copysignf.c: Same.
3581 * libmath/signbitf.c: Same.
3582 * testsuite/22_locale/money_get_members_char.cc: Same.
3583 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3584 * testsuite/22_locale/money_put_members_char.cc: Same.
3585 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3586 * testsuite/22_locale/time_get_members_char.cc: Same.
3587 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3588 * testsuite/22_locale/time_put_members_char.cc: Same.
3589 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3590 * testsuite/21_strings/nonmember.cc: Same.
3591 * testsuite/21_strings/compare.cc: Same.
3592 * testsuite/27_io/stringstream.cc: Same.
3593 * testsuite/27_io/stringbuf.cc: Same.
3594 * testsuite/27_io/filebuf.cc: Same.
3595 * testsuite/27_io/ios_manip_basefield.cc: Same.
3596 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3597 * include/bits/cpp_type_traits.h: Same.
3598 * include/bits/generic_shadow.h: Same.
3599 * include/bits/gslice_array.h: Same.
3600 * include/bits/gslice.h: Same.
3601 * include/bits/indirect_array.h: Same.
3602 * include/bits/slice_array.h: Same.
3603 * include/bits/sstream.tcc: Same.
3604 * include/bits/streambuf_iterator.h: Same.
3605 * include/bits/valarray_array.tcc: Same.
3606 * include/bits/valarray_meta.h: Same.
3607 * include/bits/valarray_array.h: Same.
3608 * config/os/mingw32/bits/ctype_noninline.h: Same.
3609 * config/os/mingw32/bits/ctype_base.h: Same.
3610 * config/os/hpux/bits/ctype_noninline.h: Same.
3611 * config/os/hpux/bits/ctype_base.h: Same.
3612 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3613 * config/os/gnu-linux/bits/ctype_base.h: Same.
3614 * config/os/generic/bits/ctype_noninline.h: Same.
3615 * config/os/generic/bits/ctype_base.h: Same.
3617 * libsupc++/tinfo.h: Tweaks.
3619 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3621 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3622 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3623 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3625 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3627 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3628 (num_put::do_put(void*)): Fix.
3629 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3630 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3631 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3632 long double, void, bool types.
3633 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3635 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3636 Alexandre Oliva <aoliva@redhat.com>
3638 * libmath/Makefile.am (LINK): Add --tag CC.
3639 * libmath/Makefile.in: Regenerate.
3641 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3643 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3644 of character to attribute mapping table.
3646 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3648 * testsuite/26_numerics/c99_classification_macros_c.cc
3649 Remove dg-error and dg-excess-errors comments.
3651 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3653 * include/bits/locale_facets.tcc (time_put::put): Correct output
3655 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3656 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3657 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3658 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3660 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3662 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3664 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3665 Nathan Myers <ncm@cantrip.org>
3667 * include/bits/basic_string.h
3668 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3669 temporaries (i.e., call _M_replace_safe) when possible.
3670 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3671 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3672 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3673 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3674 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3675 * include/bits/basic_string.tcc
3676 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3677 replace(__pos, __n1, __s, __n2).
3678 * testsuite/21_strings/replace.cc (test03): New testcases.
3680 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3681 Adjust comparison wrt overflow.
3683 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3685 * include/Makefile.am (std_headers_rename): New variable.
3686 (install-data-local): Use it.
3687 * include/Makefile.in: Regenerate.
3689 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3691 * include/bits/locale_facets.tcc (money_put::do_put(string):
3692 Correct output iterator value.
3693 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3694 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3696 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3698 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3701 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3703 * include/Makefile.am (std_headers): Update list with new names.
3704 (stamp-std): Link to standardized name.
3705 * include/Makefile.in: Regenerate.
3707 * include/std/algorithm, include/std/bitset, include/std/complex,
3708 include/std/deque, include/std/fstream, include/std/functional,
3709 include/std/iomanip, include/std/ios, include/std/iosfwd,
3710 include/std/iostream, include/std/istream, include/std/iterator,
3711 include/std/limits, include/std/list, include/std/locale,
3712 include/std/map, include/std/memory, include/std/numeric,
3713 include/std/ostream, include/std/queue, include/std/set,
3714 include/std/sstream, include/std/stack, include/std/stdexcept,
3715 include/std/streambuf, include/std/string, include/std/utility,
3716 include/std/valarray, include/std/vector: Rename to...
3718 * include/std/std_algorithm.h, include/std/std_bitset.h,
3719 include/std/std_complex.h, include/std/std_deque.h,
3720 include/std/std_fstream.h, include/std/std_functional.h,
3721 include/std/std_iomanip.h, include/std/std_ios.h,
3722 include/std/std_iosfwd.h, include/std/std_iostream.h,
3723 include/std/std_istream.h, include/std/std_iterator.h,
3724 include/std/std_limits.h, include/std/std_list.h,
3725 include/std/std_locale.h, include/std/std_map.h,
3726 include/std/std_memory.h, include/std/std_numeric.h,
3727 include/std/std_ostream.h, include/std/std_queue.h,
3728 include/std/std_set.h, include/std/std_sstream.h,
3729 include/std/std_stack.h, include/std/std_stdexcept.h,
3730 include/std/std_streambuf.h, include/std/std_string.h,
3731 include/std/std_utility.h, include/std/std_valarray.h,
3732 include/std/std_vector.h: ...this.
3734 2002-01-11 Loren Rittle <ljrittle@acm.org>
3736 * include/Makefile.am (extra_target_headers): New list of all
3737 target files built with ad hoc naming rules.
3738 (stamp-*): Handle LN_S failure in manner portable across make
3740 (install-data-local): Install header files from human-maintained
3741 file lists and directory components instead of non-robust find.
3742 * include/Makefile.in: Rebuilt.
3744 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3746 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3747 Check for zero-length negative sign before adding it to output
3749 (money_get::do_get(long double)): Return beg.
3750 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3752 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3754 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3757 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3758 for _M_extract_float and _M_extract_int
3759 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3760 (num_get<>::_M_extract_int): Likewise, all callers changed
3761 * testsuite/22_locale/num_get_members_char.cc: Testcase
3763 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3765 * libsupc++/exception (bad_exception): Add comment.
3766 * libsupc++/new (bad_alloc): Same.
3767 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3769 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3771 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3772 that the destructors should be removed from the descriptions
3773 in the standard: writing them explicitly allows the vtable
3774 heuristic to work. For additional information see:
3775 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3776 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3777 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3778 * libsupc++/exception (bad_exception::~bad_exception()):
3779 Reintroduce declaration.
3780 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3781 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3782 (bad_typeid::~bad_typeid()): Same.
3783 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3784 Reintroduce definition.
3785 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3786 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3787 (bad_typeid::~bad_typeid()): Same.
3789 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3791 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3792 * include/Makefile.in: Regenerate.
3794 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3796 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3799 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3803 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3804 return value of _M_file->sync().
3805 (filebuf::showmanyc): Check for is_open.
3806 * include/std/fstream (filebuf::sync): Tweak.
3807 * testsuite/27_io/filebuf.cc: Tweak.
3809 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3810 Brad Garcia <garsh@attbi.com>
3812 * testsuite/27_io/filebuf_members.cc: Add test.
3814 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3815 Craig Rodrigues <rodrigc@mediaone.net>
3818 * po/Makefile.am (mkinstalldirs): Add.
3819 * po/Makefile.in: Regenerate.
3821 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3823 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3824 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3826 * testsuite/23_containers/map_operators.cc: Remove
3827 dg-excess-errors comment.
3828 * testsuite/23_containers/set_operators.cc: Likewise.
3830 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3832 * include/bits/stl_function.h: Remove two lines of comments;
3833 adjust copyright years.
3835 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3837 * include/Makefile.am (std_headers): Remove cXXX from list.
3838 (c_base_srcdir): No bits subdirectory.
3839 (c_base_builddir): Same.
3840 (c_base_headers): Adjust names, add ciso646.
3841 (bits_headers): Remove std_xxx.h headers.
3842 * include/Makefile.in: Regenerate.
3844 * include/ext/iterator: Adjust includes.
3845 * include/ext/ropeimpl.h: Same.
3846 * include/ext/stl_hash_fun.h: Same.
3847 * include/ext/algorithm: Same.
3849 * include/backward/bvector.h: Adjust includes.
3850 * include/backward/vector.h: Same.
3851 * include/backward/strstream: Same.
3852 * include/backward/streambuf.h: Same.
3853 * include/backward/stack.h: Same.
3854 * include/backward/set.h: Same.
3855 * include/backward/queue.h: Same.
3856 * include/backward/multiset.h: Same.
3857 * include/backward/multimap.h: Same.
3858 * include/backward/map.h: Same.
3859 * include/backward/list.h: Same.
3860 * include/backward/iterator.h: Same.
3861 * include/backward/iostream.h: Same.
3862 * include/backward/iomanip.h: Same.
3863 * include/backward/fstream.h: Same.
3864 * include/backward/deque.h: Same.
3865 * include/backward/complex.h: Same.
3867 * include/bits/std_algorithm.h: Move to...
3868 * include/std/algorithm: ...here.
3869 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3870 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3871 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3872 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3873 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3874 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3875 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3878 * include/c_std/bits/std_cassert.h: Move to...
3879 * include/c_std/cassert: Here.
3880 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3881 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3882 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3883 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3884 std_cwctype.h: Same.
3885 * include/c_std/cmath: Adjust cmath.tcc include.
3886 * include/c_std/cstdlib: Adjust includes.
3887 * include/c_std/cwchar: Same.
3888 * include/c_std/ctime: Same.
3889 * include/c_std/cstring: Same.
3890 * include/c_std/cstdio: Same.
3891 * include/c_std/bits: Remove directory.
3893 * include/c/bits/std_cassert.h: Move to...
3894 * include/c/cassert: Here.
3895 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3896 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3897 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3898 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3899 std_cwctype.h: Same.
3900 * include/c/bits: Remove directory.
3902 * include/std/cwctype: Remove.
3903 * include/std/cwchar: Remove.
3904 * include/std/ctime: Remove.
3905 * include/std/cstring: Remove.
3906 * include/std/cstdlib: Remove.
3907 * include/std/cstdio: Remove.
3908 * include/std/cstddef: Remove.
3909 * include/std/cstdarg: Remove.
3910 * include/std/csignal: Remove.
3911 * include/std/csetjmp: Remove.
3912 * include/std/cmath: Remove.
3913 * include/std/clocale: Remove.
3914 * include/std/climits: Remove.
3915 * include/std/ciso646: Remove.
3916 * include/std/cfloat: Remove.
3917 * include/std/cerrno: Remove.
3918 * include/std/cctype: Remove.
3919 * include/std/cassert: Remove.
3921 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3922 files and subsituting <xxx>.
3923 * include/bits/valarray_array.h: Same.
3924 * include/bits/stl_uninitialized.h: Same.
3925 * include/bits/stl_alloc.h: Same.
3926 * include/bits/stl_algobase.h: Same.
3927 * include/bits/sstream.tcc: Same.
3928 * include/bits/pthread_allocimpl.h: Same.
3929 * include/bits/ostream.tcc: Same.
3930 * include/bits/localefwd.h: Same.
3931 * include/bits/locale_facets.tcc: Same.
3932 * include/bits/locale_facets.h: Same.
3933 * include/bits/istream.tcc: Same.
3934 * include/bits/char_traits.h: Same.
3935 * include/bits/boost_concept_check.h: Same.
3936 * include/bits/basic_file.h: Same.
3937 * include/std/bitset: Same.
3938 * include/std/complex: Same.
3939 * include/std/fstream: Same.
3940 * include/std/functional: Same.
3941 * include/std/ios: Same.
3942 * include/std/iostream: Same.
3943 * include/std/ostream: Same.
3944 * include/std/sstream: Same.
3945 * include/std/streambuf: Same.
3946 * include/std/string: Same.
3947 * include/std/iterator: Same.
3948 * include/std/valarray: Same.
3950 * src/ios.cc: Adjust includes.
3951 * src/valarray-inst.cc: Same.
3952 * src/string-inst.cc: Same.
3953 * src/stl-inst.cc: Same.
3954 * src/stdexcept.cc: Same.
3955 * src/misc-inst.cc: Same.
3956 * src/localename.cc: Same.
3957 * src/locale-inst.cc: Same.
3958 * src/locale.cc: Same.
3959 * src/limits.cc: Same.
3960 * src/concept-inst.cc: Same.
3961 * src/complex_io.cc: Same.
3962 * src/codecvt.cc: Same.
3963 * src/bitset.cc: Same.
3964 * src/cmath.cc: Same.
3966 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3968 * include/bits/stl_tree.h (rb_tree): Move to...
3969 * include/ext/rb_tree: ...here, new file.
3970 * include/Makefile.am (ext_headers): Add new file.
3971 * include/Makefile.in: Regenerate.
3972 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3973 return_temporary_buffer, struct temporary_buffer): Move to...
3974 * include/ext/memory: ...here.
3975 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3976 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3977 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3979 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3981 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3982 * include/ext/numeric: ...here, new file.
3983 * include/bits/stl_function.h (identity_element, unary_compose,
3984 binary_compose, compose1, compose2, identity, select1st,
3985 select2nd, project1st + helper, project2nd + helper,
3986 constant_void_fun + helper, constant_unary_fun + helper,
3987 costant_binary_fun + helper, constant0, constant1, constant2,
3988 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
3989 * include/ext/functional: ...here, new file.
3990 * include/Makefile.am (ext_headers): Add new files.
3991 * include/Makefile.in: Regenerate.
3992 * testsuite/ext/headers.cc: Include <ext/numeric> and
3994 * include/backward/algo.h: Include <ext/numeric>, tweak.
3995 * include/backward/function.h: Include <ext/functional>, tweak.
3996 * include/ext/ropeimpl.h: Include <ext/numeric>.
3998 2002-01-03 Jeffrey A Law <law@redhat.com>
4000 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4001 __strtoull declarations with __extension__.
4003 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4005 * testsuite/lib/prune.exp: Correct regular expression for
4008 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4010 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4011 Change concept checks, as with lower_bound and PR 2054.
4012 * testsuite/ext/concept_checks.cc: Expand test to include those.
4014 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4016 * include/bits/boost_concept_check.h: Import some changes from
4017 upsteam (Boost) version.
4019 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4021 * include/bits/stl_algobase.h (copy_n + helpers,
4022 lexicographical_compare_3way + helpers): Move to...
4023 * include/ext/algorithm: ...here.
4024 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4025 helpers): Move to...
4026 * include/ext/memory: ...here, new file.
4027 * include/Makefile.am (ext_headers): Add new file.
4028 * include/Makefile.in: Regenerate.
4029 * testsuite/ext/headers.cc: Include <ext/memory>.
4030 * include/backward/algobase.h: Include <ext/memory> and
4031 <ext/algorithm>, tweak.
4032 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4033 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4035 2002-01-01 Roger Sayle <roger@eyesopen.com>
4037 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4038 equivalent ___builtin__ versions.
4040 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4041 are available in libstdc++ as the necessary stub implementations
4042 are provided by libmath/stubs.c.
4044 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4046 * configure.in: Add support for NetBSD cross compiles.
4047 * configure: Regenerate.