1 2002-09-04 Richard Henderson <rth@redhat.com>
3 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
4 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
5 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
6 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
7 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
8 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
9 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
10 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
11 __glibcpp_long_double_has_infinity): Remove.
12 (std::numeric_limits<float>, std::numeric_limits<double>,
13 std::numeric_limits<long double>): Use __builtin_huge_val
14 to implement has_infinity and infinity().
15 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
16 __glibcpp_long_double_infinity): Remove.
18 2002-09-03 Richard Henderson <rth@redhat.com>
20 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
21 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
22 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
23 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
24 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
25 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
26 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
27 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
28 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
29 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
30 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
31 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
32 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
33 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
34 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
35 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
36 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
37 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
38 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
39 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
40 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
41 __glibcpp_float_digits10, __glibcpp_float_radix,
42 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
43 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
44 __glibcpp_float_max_exponent10, __glibcpp_double_min,
45 __glibcpp_double_max, __glibcpp_double_digits,
46 __glibcpp_double_digits10, __glibcpp_double_radix,
47 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
48 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
49 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
50 __glibcpp_long_double_max, __glibcpp_long_double_digits,
51 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
52 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
53 __glibcpp_long_double_min_exponent10,
54 __glibcpp_long_double_max_exponent,
55 __glibcpp_long_double_max_exponent10): Remove macros.
56 (std::numeric_limits<float>, std::numeric_limits<double>,
57 std::numeric_limits<long double>): Use protected float.h macros.
59 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
61 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
62 Fix spelling in comment.
63 * testsuite/Makefile.in: Regenerate.
64 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
65 than 'quote' and 'bslash'.
67 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
69 * acinclude.m4: Minor comment tweaks.
71 * docs/html/makedoc.awk: New file...
72 * docs/html/Makefile: ...called from here...
73 * docs/html/documentation.html: ...to help generate this.
75 * docs/html/21_strings/howto.html: Prepare for new entry.
76 * include/bits/basic_string.h: Initial basic_stirng hook for
77 doxygen. Remove trailing whitespace.
78 * include/bits/char_traits.h: Point to onlinedocs for new entry.
79 * include/bits/stringfwd.h: Add doxygen hooks for string and
82 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
84 * config/cpu/arm/cpu_limits.h: New file.
85 * configure.target: Use config/cpu/arm for XScale and StrongARM
88 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
90 * include/std/std_limits.h (__glibcpp_char_bits,
91 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
92 __glibcpp_long_long_bits, __glibcpp_float_bits,
93 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
94 compiler predifined macros.
95 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
98 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
100 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
101 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
102 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
103 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
104 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
105 __glibcpp_f64_infinity_bytes,
106 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
107 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
108 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
109 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
110 __glibcpp_f80_infinity_bytes,
111 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
112 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
113 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
114 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
115 __glibcpp_f96_infinity_bytes,
116 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
117 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
118 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
119 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
120 __glibcpp_f128_infinity_bytes,
121 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
122 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
123 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
124 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
125 __glibcpp_float_infinity_bytes,
126 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
127 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
128 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
129 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
130 __glibcpp_double_infinity_bytes,
131 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
132 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
133 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
134 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
135 __glibcpp_long_double_infinity_bytes,
136 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
137 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
138 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
139 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
141 (__glibcpp_word_bits, __glibcpp_word): Likewise.
142 (__glibcpp_byte): New typedef.
143 (__float_storage, __double_storage, __long_double_storage): New types.
144 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
145 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
147 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
148 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
149 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
150 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
153 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
154 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
155 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
156 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
157 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
158 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
161 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
163 * include/std/std_limits.h: Indent conditional macro definitions.
165 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
167 * Makefile.am (check-abi): Specify current directory.
168 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
169 abi_baseline_triplet in baseline_file.
170 * Makefile.in, aclocal.m4, configure: Regenerate.
171 * configure.target: Add abi_baseline_triplet with default.
172 * testsuite/abi_check.cc: More error checking.
174 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
176 * config/linker-map.gnu: Verbose comments, clean up spacing.
177 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
179 __allocator: Change class declaration to struct.
180 * docs/html/17_intro/C++STYLE: Fix typo.
181 * include/bits/stl_deque.h, include/bits/stl_list.h,
182 include/bits/stl_map.h, include/bits/stl_multimap.h,
183 include/bits/stl_vector.h: Fix fallout from typo.
185 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
187 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
188 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
190 * aclocal.m4: Regenerate.
191 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
193 * testsuite/Makefile.in: Regenerate.
195 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
197 * testsuite/abi_check.cc: Enhance shell portability.
198 Support older binutils/readelf.
199 * config/abi/i386-unknown-freebsd4.6: Add.
200 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
202 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
204 * docs/html/faq/index.html: Add Loren James Rittle and
205 Paolo Carlini to the list of v3 maintainers.
206 * docs/html/faq/index.txt: Ditto.
207 * docs/html/17_intro/RELEASE-NOTES: Ditto.
209 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
210 Phil Edwards <pme@gcc.gnu.org>
211 Ulrich Drepper <drepper@redhat.com>
213 * Makefile.am (check-abi): New rule.
214 * Makefile.in: Regenerate.
215 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
216 * aclocal.m4: Regenerate.
217 * configure: Regenerate.
218 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
219 (abi_check_SOURCES): Add.
220 * testsuite/Makefile.in: Regenerate.
221 * testsuite/abi_check.cc: New file.
223 * config/abi/i686-pc-linux-gnu: Add.
224 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
226 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
228 * configure.in (libtool_VERSION): Update to 5:1:0.
229 * configure: Regenerate.
231 2002-08-19 Jonathan Wakely <jw@kayari.org>
233 * docs/html/configopts.html, docs/html/documentation.html,
234 docs/html/install.html, docs/html/22_locale/codecvt.html,
235 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
236 docs/html/22_locale/locale.html,
237 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
239 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
241 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
242 _M_buf_size_opt to zero when unbuffering.
243 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
244 Consistency checks for _M_buf_size_opt.
246 Revert PR libstdc++/7445
247 * src/locale.cc (locale::classic): Revert.
249 * docs/html/17_intro/TODO: Add.
251 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
253 * docs/html/documentation.html: Update doxygen links for 3.2.
255 2002-08-15 Steve Ellcey <sje@cup.hp.com>
257 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
258 type from void* to _Unwind_Ptr.
259 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
260 Do not cast landing_pad or base_of_encoded_value to (void *).
261 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
262 Accept _URC_NO_REASON as a valid reason code.
264 2002-08-14 Jonathan Wakely <jw@kayari.org>
266 * docs/html/22_locale/messages.html: Use HTML entities for
269 2002-08-13 Jonathan Wakely <jw@kayari.org>
270 Phil Edwards <pme@gcc.gnu.org>
272 * docs/html/documentation.html: Use HTML entities for punctuation.
274 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
276 * include/bits/deque.tcc, include/bits/list.tcc,
277 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
278 include/bits/stl_list.h, include/bits/stl_map.h,
279 include/bits/stl_multimap.h, include/bits/stl_queue.h,
280 include/bits/stl_stack.h, include/bits/stl_vector.h,
281 include/bits/vector.tcc: Re-indent contents of namespace std,
282 re-wrap comment lines as necessary.
284 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
285 Benjamin Kosnik <bkoz@redhat.com>
287 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
289 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
291 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
293 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
294 * libsupc++/Makefile.in: Regenerate.
296 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
299 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
300 Instantiate with new function objects.
301 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
303 * include/bits/gslice_array.h: Likewise.
304 * include/bits/indirect_array.h: Likewise.
306 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
308 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
309 testsuite/26_numerics/valarray_name_lookup.C
311 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
312 object function surrogates.
313 * include/bits/valarray_meta.h (__shift_left): Fix typo.
314 (_BinFunClos<>): Remove.
315 (_BinFunBase<>): Likewise.
316 (_BinFunBase1<>):Likewise.
317 (_BinFunBase2<>): Likewise.
318 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
319 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
320 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
321 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
322 * include/std/std_valarray.h: Dont #include <functional> anymore.
323 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
324 _Shift_right<>): Remove.
325 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
326 (_DEFINE_BINARY_OPERATOR): Tweak definition.
327 (_DEFINE_LOGICAL_OPERATOR): Remove.
328 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
330 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
332 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
333 (_UnFunClos<>): Same.
334 (_UnBase<>): Reformat. Make first template-parameter non
336 (_UnClos<>): Likewise.
337 (_Expr<>): Reformate. Adjust unary member operator return types.
338 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
339 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
340 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
341 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
342 operator return types. Reformat.
343 (_Bitwise_not): Remove.
344 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
345 * testsuite/26_numerics/valarray_name_lookup.C: New test.
347 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
349 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
350 (scan_is): Use this->is.
351 (scan_not): Likewise.
353 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
355 Revert PR libstdc++/6594
356 * src/strstream.cc (strstreambuf): Revert.
357 (strstreambuf::overflow): Same.
358 (strstreambuf::~strstreambuf): Same.
359 * testsuite/backward/strstream_members.cc (test02): Add.
361 * docs/html/abi.txt: Update. Spell check.
363 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
365 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
366 * testsuite/Makefile.in: Regenerate.
367 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
368 include functexcept.h so that -fno-exceptions will build.
370 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
372 * include/bits/valarray_meta.h (__unary_plus, __negate,
373 __bitwise_not, __plus, __minus, __multiplies, __divides,
374 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
375 __shift_left, __shift_right, __logical_and, __logical_or,
376 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
377 __greater_equal, __greater, __atan2, __pow): New function object
379 (__fun<>): New function traits class.
381 2002-08-01 Rick Danos <rdanos@hotmail.com>
384 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
385 * config/os/newlib/ctype_inline.h (is): Use static_cast.
387 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
389 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
390 * libsupc++/Makefile.in: Regenerate.
392 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
393 Jakub Jelinek <jakub@redhat.com>
395 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
396 GLIBCPP_3.1 to GLIBCPP_3.2.
398 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
399 Mark Mitchell <mark@codesourcery.com>
402 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
404 (__class_type_info): And here.
406 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
410 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
411 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
412 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
413 (__vmi_class_type_info::__base_info): Don't make const, of type
414 __base_class_type_info, as per 2.9.5p6c
415 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
417 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
419 (__pointer_to_member_type_info::__context_class): Change member to
420 __context, as per 2.9.5p9.
421 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
423 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
425 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
427 * libsupc++/tinfo.cc (__do_dyncast): Same.
428 * libsupc++/tinfo.cc (__do_upcast): Same.
430 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
432 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
434 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
436 * docs/html/22_locale/howto.html: Fix.
438 2002-07-31 Alex Kompel <shurik@sequoiap.com>
441 * src/locale.cc (locale::classic): Move locks inside !_S_classic
444 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
446 * docs/html/abi.txt: Update.
448 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
449 Gabriel Dos Reis <gdr@nerim.net>
451 * include/bits/char_traits.h: Remove generic definitions.
452 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
454 * include/bits/istream.tcc (istream::readsome): Don't check
455 against eof, instead use constants.
456 (istream::sync): Same.
457 (istream::sentry::sentry): Use eq_int_type.
458 (istream::get): Same.
459 * include/bits/ostream.tcc: Change __pad to
460 __pad<_CharT, _Traits>::_S_pad.
461 * include/bits/locale_facets.h: Add __pad_traits generic and
462 ostreambuf_iterator specialization.
463 * include/bits/locale_facets.tcc: Change __pad into struct __pad
464 with a _CharT and _Traits template parameter and _S_pad static
466 * src/locale-inst.cc: Update __pad instantiations.
468 * include/std/std_fstream.h: Declare _M_underflow_common
470 * src/fstream.cc: New. Add _M_underflow_common specializations.
471 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
472 (filebuf::_M_underflow_common(bool)): Remove generic version, as
473 sys_ungetc and custom int_types don't get along.
474 * include/std/std_streambuf.h: Add _M_pos.
475 * src/Makefile.am (sources): Add fstream.cc.
476 * src/Makefile.in: Regenerate.
478 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
479 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
480 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
481 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
482 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
483 * testsuite/27_io/filebuf.cc: ...here.
484 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
485 specialization for both.
486 * testsuite/27_io/streambuf.cc: Add instantiation test,
487 testsuite_hooks include.
488 * testsuite/27_io/istream.cc: Same.
489 * testsuite/27_io/ostream.cc: Same.
490 * testsuite/27_io/fstream.cc: Same.
491 * testsuite/27_io/stringstream.cc: Same.
492 * testsuite/27_io/filebuf.cc: Same.
493 * testsuite/27_io/stringbuf.cc: Same.
495 2002-07-29 Alan Modra <amodra@bigpond.net.au>
497 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
498 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
499 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
500 (__test_and_set): Remove.
501 (_STWCX): Define and use.
503 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
505 * libsupc++/new (placement delete): Remove unused parameter names.
507 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
510 * include/std/std_istream.h (basic_iostream): Add typedefs for
511 char_type, int_type, pos_type, off_type, and traits_type.
512 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
513 * testsuite/27_io/istream.cc: Same.
514 * testsuite/27_io/ostream.cc: Same.
515 * testsuite/27_io/filebuf.cc: Same.
516 * testsuite/27_io/stringbuf.cc: Replace content, move to...
517 * testsuite/27_io/stringbuf_members.cc: ...here.
518 * testsuite/27_io/streambuf.cc: Replace content, move to...
519 * testsuite/27_io/streambuf_members.cc: ...here.
520 * testsuite/27_io/stringstream.cc: Replace content, move to...
521 * testsuite/27_io/stringstream_members.cc: ...here.
522 * testsuite/27_io/ios.cc: New file.
523 * testsuite/27_io/fstream.cc: New file.
524 * testsuite/27_io/ifstream.cc: New file.
525 * testsuite/27_io/ofstream.cc: New file.
526 * testsuite/27_io/istringstream.cc: New file.
527 * testsuite/27_io/ostringstream.cc: New file.
529 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
532 * include/bits/istream.tcc (istream::ignore): Don't extract on
534 * testsuite/27_io/istream_unformatted.cc (test10): Add.
536 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
538 * testsuite/27_io/ios_base_type.cc: Move to...
539 * testsuite/27_io/ios_base_types.cc: ...here.
541 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
544 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
545 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
547 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
550 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
551 * include/Makefile.am (backward_headers): Use strstream, not
553 * include/Makefile.in: Regenerate.
554 * include/backward/strstream: Revert.
555 * include/backward/strstream.h: Remove.
556 * src/strstream.cc: Revert.
557 * testsuite/backward/strstream_members.cc: Change include.
559 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
562 * include/bits/ios_base.h (ios_base::streampos): Add.
563 (ios_base::streamoff): Add.
564 * testsuite/27_io/ios_base_type.cc: New.
566 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
569 * libsupc++/new: Add placement delete.
570 * testsuite/18_support/new_delete_placement.cc: New.
572 * docs/html/abi.txt: Fix typos.
574 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
576 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
577 confusing usage of "latest."
578 De-tangle contributor information from introductory notes.
579 Move abi.txt link placement, activate.
581 Move chapter info into old FAQ format.
582 * docs/html/organization.html: Removed, obsoleted by doxygen work.
583 * docs/html/abi.txt: Add notes on testing ABI changes.
585 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
587 * docs/html/abi.txt: New file.
588 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
589 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
590 Import from upstream, R22.
592 * include/bits/char_traits.h, include/bits/stl_iterator.h,
593 include/bits/stl_iterator_base_types.h, libsupc++/exception,
594 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
596 * include/bits/deque.tcc, include/bits/stl_alloc.h,
597 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
598 of deprecated functions until 3.4. (Same timeframe, different text.)
599 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
600 the other sequence classes received.
602 2002-07-18 Brendan Kehoe <brendan@zen.org>
604 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
607 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
610 * include/bits/slice_array.h
611 (slice_array<T>::operator=(const T&)): Constify.
612 * include/bits/gslice_array.h
613 (gslice_array<T>::operator=(const T&)): Likewise.
614 * include/bits/mask_array.h
615 (mask_array<T>::operator=(const T&)): Likewise.
616 * include/bits/indirect_array.h
617 (indirect_array<T>::operator=(const T&): Likewise.
619 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
621 * docs/doxygen/run_doxygen: Remove template parameter names from
622 "Compound List" summary page. Reformat.
623 * docs/html/documentation.html: XHTML fixes.
625 2002-07-16 Andreas Schwab <schwab@suse.de>
627 * libsupc++/new (set_new_handler): Declare to not throw any
629 * libsupc++/new_handler.cc (set_new_handler): Likewise.
631 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
633 * include/Makefile.am (bits_headers): Remove slice.h
634 * include/Makefile.in: Regenerate.
635 * include/bits/slice.h (slice): move to include/bits/slice_array.h
636 * include/bits/slice.h Remove.
637 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
638 * include/bits/slice_array.h: Comply to official coding styles.
639 * testsuite/26_numerics/slice.cc: New test.
641 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
643 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
644 print to match vendor <ctype.h>.
646 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
648 * docs/html/faq/index.html: Fix download links.
649 * docs/html/faq/index.txt: Regenerate.
650 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
652 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
654 * configure.target (target_os switch): Allow for irix6*o32
657 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
659 * include/bits/valarray_meta.h (_UnFunBase): Take a second
660 template parameter. Remove _M_func data member.
661 (_UnFunClos): Take a third template parameter.
662 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
663 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
664 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
666 2002-07-08 Eric Christopher <echristo@redhat.com>
668 * configure.target: Fix comment for mips atomicity. Add
669 mips*-*-linux* target, enable atomic operations there.
670 * config/cpu/mips/atomicity.h: Fix comments, remove
671 #ifndef/#endif. Add push/pop mips2.
673 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
675 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
676 member declarations to avoid compiler warnings and restore 3.1 ABI.
678 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
680 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
683 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
686 * include/bits/stl_deque.h (_Deque_iterator::operator-):
687 Make non-member, as already happens for the comparison
688 operators in accord with DR179 (Ready).
689 * testsuite/23_containers/deque_operators.cc: Add test02.
691 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
692 Jack Reeves <jackw_reeves@hotmail.com>
694 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
695 size_t, from int_type.
696 (basic_streambuf::_M_buf_size_opt): Same.
697 (basic_streambuf::_S_pback_sizex): Same.
698 * include/bits/streambuf.tcc: Same.
699 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
701 (basic_streambuf::uflow): Same.
702 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
704 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
705 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
707 (basic_streambuf::xsputn): Same.
708 (__copy_streambufs): Same.
710 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
712 * include/std/std_memory.h: Fix formatting.
713 * testsuite/20_util/auto_ptr_neg.cc: New.
714 * testsuite/20_util/auto_ptr.cc: Tweaks.
715 * testsuite/23_containers/map_operators.cc (test01): Split into..
716 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
717 * testsuite/23_containers/set_operators.cc: Move to...
718 * testsuite/23_containers/set_operators_neg.cc: ...here.
719 * testsuite/README: Add some more naming rules.
721 2002-07-03 Steev Wilcox <steev@paradigmds.com>
724 * include/ext/stl_hashtable.h: Fix.
725 * testsuite/ext/hash_map.cc: New.
727 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
728 Kenny Simpson <theonetruekenny@yahoo.com>
729 Phil Edwards <pme@gcc.gnu.org>
732 * testsuite/20_util/auto_ptr.cc (test08): New test.
733 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
734 (auto_ptr::operator auto_ptr_ref): Fix typo.
735 General reformatting and doxygenating of the whole file.
737 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
740 * include/c/std_cwchar.h: Fix.
742 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
745 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
746 char* name parameter.
747 * config/locale/gnu/monetary_members.cc: Use it.
748 * config/locale/generic/monetary_members.cc: Same.
749 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
751 * include/backward/strstream.h: Update date.
753 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
756 * include/bits/stl_iterator.h
757 (__normal_iterator::operator-(const __normal_iterator&)):
758 Make non-member, as already happens for the comparison
759 operators in accord with DR179 (Ready).
760 * testsuite/24_iterators/iterator.cc: Add test from the PR.
762 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
765 * acinclude.m4: Simplify determination of gcc_version, and move
766 up to GLIBCPP_CONFIGURE.
767 * configure.in (release_VERSION): Really remove.
768 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
769 * aclocal.m4, configure: Regenerate.
771 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
773 * docs/html/configopts.html, docs/html/install.html: Tweaks.
774 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
775 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
776 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
778 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
780 * include/backward/strstream: Remove namespace std. Transfer to...
781 * include/backward/strstream.h: ...here. Qualify std names.
782 * src/strstream.cc: Remove namespace std.
783 * include/Makefile.am (backward_headers): Remove strstream.h.
784 * include/Makefile.in: Regenerate.
785 * config/linker-map.gnu: Export strstream bits.
787 * src/fstream-inst.cc: Tweak.
788 * src/io-inst.cc: Same.
789 * src/istream-inst.cc: Same.
790 * src/misc-inst.cc: Same.
791 * src/ostream-inst.cc: Same.
792 * src/sstream-inst.cc: Same.
793 * src/valarray-inst.cc: Same.
794 * src/misc-inst.cc: Remove unused instantiations.
796 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
798 * configure.in (libtool_VERSION): Bump to 5:0:0.
799 * configure: Regenerate.
801 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
803 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
804 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
805 * include/std/std_stack.h: Include deque.tcc.
806 * testsuite/23_containers/adaptors.cc: New file.
808 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
810 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
811 * docs/html/ext/howto.html: Update allocator notes.
813 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
815 * configure.in (INTERFACE): Remove.
816 (release_VERSION): Remove.
817 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
818 (libstdcxx_interface): Change. Use gcc methods to determine version.
819 * configure: Regenerate.
820 * aclocal.m4: Regenerate.
822 2002-06-25 DJ Delorie <dj@redhat.com>
824 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
825 GLIBCPP_TOPREL_CONFIGURE.
826 * aclocal.m4: Likewise.
827 * configure.in: Call it before AC_CANONICAL_SYSTEM.
828 * configure: Regenerate.
830 2002-06-25 Jessica Han <jessica@cup.hp.com>
832 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
833 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
834 _GLIBCPP_VTABLE_PADDING is defined.
836 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
838 * include/bits/stl_alloc.h: Additional formatting.
840 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
842 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
844 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
846 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
847 * config/os/*/bits/*: Likewise.
848 * configure.in: Update.
849 * configure: Regenerate.
850 * configure.target: Update.
851 * docs/html/17_intro/porting.texi: Update.
853 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
855 * include/bits/stl_map.h, include/bits/stl_multimap.h,
856 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
857 complete doxygenation.
858 * include/bits/boost_concept_check.h: Minor comment.
860 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
862 * include/c_compatibility: New.
863 * include/c_compatibility/assert.h: New.
864 * include/c_compatibility/ctype.h: New.
865 * include/c_compatibility/errno.h: New.
866 * include/c_compatibility/float.h: New.
867 * include/c_compatibility/iso646.h: New.
868 * include/c_compatibility/limits.h: New.
869 * include/c_compatibility/locale.h: New.
870 * include/c_compatibility/math.h: New.
871 * include/c_compatibility/setjmp.h: New.
872 * include/c_compatibility/signal.h: New.
873 * include/c_compatibility/stdarg.h: New.
874 * include/c_compatibility/stddef.h: New.
875 * include/c_compatibility/stdio.h: New.
876 * include/c_compatibility/stdlib.h: New.
877 * include/c_compatibility/string.h: New.
878 * include/c_compatibility/time.h: New.
879 * include/c_compatibility/wchar.h: New.
880 * include/c_compatibility/wctype.h: New.
882 * include/c/std_cerrno.h: Get out of the way... define errno.
883 * include/c/std_cmath.h: Add abs, modf overloads.
884 Undefine C99 isms. Still not sure how to deal with this sanely.
885 * include/c/std_csetjmp.h: Tweak.
886 * include/c/std_cwchar.h: Include cstddef for size_t.
888 * include/c_std/std_cmath.h: Remove extra function.
890 Pendantic std usage in testsuites.
891 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
893 * testsuite/17_intro/header_cwchar.cc: Tweak.
894 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
896 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
897 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
898 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
899 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
900 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
901 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
902 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
903 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
904 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
905 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
906 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
907 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
908 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
909 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
910 * testsuite/22_locale/num_get_members_char.cc: Same.
911 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
912 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
913 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
914 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
915 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
916 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
917 * testsuite/22_locale/messages_members_char.cc (test03): Same.
918 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
919 * testsuite/22_locale/collate_members_char.cc (test04): Same.
920 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
921 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
922 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
924 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
926 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
929 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
931 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
932 Use size_type instead of unsigned long.
934 2002-06-20 Steve Ellcey <sje@cup.hp.com>
936 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
940 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
942 * include/Makefile.am: Add rules.
943 * include/Makefile.in: Regenerate.
945 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
946 * aclocal.m4: Regenerate.
947 * configure: Regenerate.
948 * configure.target (c_model, c_compatibility): Add.
950 * libsupc++/Makefile.am (c_sources): New.
951 (libsupc___la_SOURCES): Add c_sources.
952 (LTCOMPILE): Remove INCLUDES.
954 (C_COMPILE): New, like COMPILE but without INCLUDES.
955 (cxa_demangle.o): Use C_COMPILE.
956 (dyn-string.o): Use C_COMPILE.
958 * include/c/std_cstdarg.h: Define __need___va_list.
959 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
960 need_NULL, need_offsetof.
962 2002-06-19 Steve Ellcey <sje@cup.hp.com>
964 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
965 definitions in hpux11 cross-build because these functions do
966 not exist on hpux11 (but some exist on hpux10); move defaults out
967 into existing sections.
968 * configure: Regenerate.
970 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
972 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
973 * include/c/std_cwctype.h: Guard.
975 * libsupc++/eh_alloc.cc: Tweak include order.
976 * libsupc++/pure.cc: Use cstdio.
977 * libsupc++/new_op.cc: Remove malloc forward declaration, as
978 cstdlib brings it in. Use std::malloc.
980 * src/Makefile.am (sources): Remove cmath.cc.
981 * src/Makefile.in: Regenerate.
982 * src/cmath.cc: Remove.
984 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
986 * configure.target: Force mips to use the generic cpu routines.
988 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
990 * configure.host: Delete file.
991 * configure.target: More documentation. Factor out common parts of
992 script into "intelligent" settings about defaults. Remove redundancy.
994 * acinclude.m4: Update comments. Do not call configure.host.
995 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
997 * configure.in: Slight reformatting, more comments. Factor out
998 "config/" from all the directories.
999 * docs/html/17_intro/porting.texi: Update and expand.
1000 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1001 from configure.host.
1003 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1004 testsuite/Makefile.in: Regenerate.
1006 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1008 * docs/doxygen/TODO: Update.
1009 * docs/doxygen/tables.html: Uncomment magical middle column.
1010 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1011 * include/bits/stl_queue.h: Doxygenate and reformat.
1012 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1013 for deprecated names required by the standard.
1015 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1017 * configure.in (target_alias): Fix.
1018 * configure: Regenerate.
1019 * aclocal.m4: Regenerate.
1021 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1023 * include/Makefile.am: Add new files.
1024 * include/Makefile.in: Regenerate.
1026 * include/bits/stl_deque.h, include/bits/stl_list.h,
1027 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1028 * include/bits/deque.tcc, include/bits/list.tcc,
1029 include/bits/vector.tcc: ...to here. New files.
1031 * include/ext/stl_hashtable.h: Inclide correct full headers.
1032 * include/std/std_deque.h: Include .tcc files for now.
1033 * include/std/std_list.h: Likewise.
1034 * include/std/std_vector.h: Likewise.
1036 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1038 * Makefile.am: Add FLAGS_TO_PASS.
1039 * Makefile.in: Regenerated.
1041 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1042 Benjamin Kosnik <bkoz@redhat.com>
1044 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1046 * configure.in: Add support for *-qnx6.[12]*.
1047 * configure: Regenerate.
1049 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1051 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1052 ctype_noninline.h, os_defines.h: New files.
1054 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1056 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1057 include all required headers for test against older POSIX standard.
1058 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1059 (ac_setrlimit): Likewise.
1060 * aclocal.m4: Regenerate.
1061 * configure: Regenerate.
1062 * testsuite/testsuite_hooks.cc: Reorder and include all
1063 required headers for use against older POSIX standard.
1065 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1067 * testsuite/backwards/strstream_members.cc: New.
1069 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1071 * include/backwards/strstream: Format.
1072 * src/strstream.cc: Format.
1074 2002-06-08 Andreas Schwab <schwab@suse.de>
1076 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1077 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1079 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1081 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1083 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1085 * src/locale-inst.cc (__codecvt_abstract_base):
1086 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1087 * include/bits/istream.tcc (basic_istream): Ditto.
1090 * include/bits/ostream.tcc (basic_ostream): Ditto.
1094 (operator<<): Ditto.
1096 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1098 * mkcheck.in: Link against local testsuite library.
1099 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1100 implementation out...
1101 * testsuite/testsuite_hooks.cc: ...to here.
1103 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1105 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1106 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1107 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1108 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1109 * testsuite/Makefile.in: Likewise.
1111 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1113 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1114 Call external symbol.
1116 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1118 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1119 Search correct multilib testsuite dir for libv3test.
1121 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1122 Gaby Dos Reis <gdr@codesourcery.com>
1124 * include/bits/basic_string.tcc
1125 (basic_string::_S_construct(forward_iterator_tag):
1126 Fix typo in null pointer check.
1127 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1129 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1131 * testsuite/22_locale/money_get_members_char.cc
1132 (test02): Add decimal point to long double constants.
1133 * testsuite/22_locale/money_get_members_wchar_t.cc
1135 * testsuite/22_locale/money_put_members_char.cc
1136 (test02, test03, test06): Likewise.
1137 * testsuite/22_locale/money_put_members_wchar_t.cc:
1138 (test02, test03, test06): Likewise.
1139 * testsuite/22_locale/num_get_members_char.cc:
1140 (test02, test01): Likewise; suffix long long constants with LL.
1141 * testsuite/22_locale/num_get_members_wchar_t.cc:
1142 (test02, test01): Likewise.
1143 * testsuite/22_locale/num_put_members_char.cc:
1144 (test02, test01): Likewise.
1145 * testsuite/22_locale/num_put_members_wchar_t.cc:
1146 (test02, test01): Likewise.
1148 2002-06-03 Marc Espie <espie@openbsd.org>
1150 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1151 assembly for old assemblers.
1153 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1155 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1157 (vector<bool>::swap(reference,reference)): ...to this.
1159 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1161 * docs/doxygen/TODO: Update.
1162 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1163 some class members are in 14882 order.
1164 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1166 * include/std/std_bitset.h: Update comment.
1167 * src/bitset.cc: Update comments, clean up spacing.
1169 * src/Makefile.am (sources): Alphabetize for convenience.
1170 * src/Makefile.in: Regenerate.
1172 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1174 * include/bits/stl_deque.h, include/bits/stl_list.h,
1175 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1176 Reorder to match 14882. Doxygen blocks for all public members.
1178 2002-05-31 Marcus Meissner <meissner@suse.de>
1181 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1182 * testsuite/23_containers/vector_bool.cc (test02): New test.
1184 2002-05-30 Marc Espie <espie@openbsd.org>
1186 * configure.in: Always check for sys/types.h
1187 * configure: Regenerate.
1189 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1191 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1192 Rebuild the wrapper file every time this proc is called.
1194 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1196 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1198 * testsuite/Makefile.in: Regenerate.
1199 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1200 list_modifiers.cc and rename from 'T'. Move code bodies...
1201 * testsuite/testsuite_hooks.cc: ...to here. New file.
1202 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1203 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1204 Add libv3test.a to link options.
1206 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1208 * src/misc-inst.cc: Define unnecessary algorithm
1209 instantiations. Break apart instantiations into groupings below.
1210 * src/fstream-inst.cc: New.
1211 * src/io-inst.cc: New.
1212 * src/istream-inst.cc: New.
1213 * src/ostream-inst.cc: New.
1214 * src/streambuf-inst.cc: New.
1215 * src/sstream-inst.cc: New.
1216 * src/Makefile.am (sources): Add files.
1217 * src/Makefile.in: Regenerate.
1219 * acinclude.m4: Work around automake 1.4-p5 bug, change
1220 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1222 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1225 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1226 (classic_table): Fix.
1227 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1229 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1231 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1232 _GLIBCPP_USE_WCHAR_T.
1233 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1234 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1235 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1237 2002-05-26 Carlo Wood <carlo@alinoe.com>
1238 Paolo Carlini <pcarlini@unitus.it>
1241 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1242 (__enc_traits::operator=): add missing return statement.
1244 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1247 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1248 (operator>>): If nothing was extracted, don't fail in the
1250 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1252 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1255 * testsuite/22_locale/ctype_narrow_char.cc: New.
1256 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1257 * testsuite/22_locale/ctype_widen_char.cc: New.
1258 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1259 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1260 * testsuite/22_locale/ctype_is_char.cc: ...this.
1261 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1262 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1263 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1264 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1266 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1268 2002-05-24 Dale Peakall <dale@peakall.net>
1271 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1272 * config/locale/generic/ctype_members.cc: Same.
1274 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1277 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1278 for empty string literal.
1279 (ostream::operator<<(const _CharT*)): Same.
1280 (ostream<char>::operator<<(const char*)): Same.
1281 (ostream<char>::operator<<(streambuf*)): Same.
1282 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1283 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1285 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1287 * configure.in (release_VERSION): Update to 3.1.1.
1288 (libtool_VERSION): Update to 4:1:0.
1289 * configure: Regenerate.
1291 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1293 * include/bits/stl_pair.h: Tweak comment markup.
1295 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1297 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1299 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1301 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1303 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1305 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1306 Doxygenate all public members. Reorder to follow 14882.
1307 (vector::push_back(void)): Remove previously-deprecated fn.
1308 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1309 Deprecate for removal in 3.3.
1311 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1313 * docs/html/faq/index.html (5.4): Recommend against -I options for
1314 finding the ext headers.
1315 * docs/html/faq/index.txt: Regenerate.
1317 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1319 * testsuite/23_containers/deque_operators.cc (test01):
1320 Fix minor typo in last commit.
1322 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1325 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1326 operator!=, operator<, operator>, operator>=, operator<=):
1327 Make non-member functions, to allow comparing const and
1328 non-const iterators in any order.
1329 * testsuite/23_containers/deque_operators.cc: New testfile.
1331 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1333 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1334 * docs/html/faq/index.txt: Regenerate.
1336 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1338 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1339 * acinclude.m4: Likewise.
1340 * docs/html/Makefile: Likewise.
1341 * aclocal.m4: Regenerate.
1342 * configure: Regenerate.
1343 * Makefile.in: Regenerate.
1345 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1348 * include/bits/c++config (__USE_MALLOC): Report case where
1349 the user improperly defined it on the command line.
1351 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1353 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1354 Retrieve current limits before setting.
1356 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1359 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1361 (ostream::operator<<(const _CharT*)): Same.
1362 (ostream<char>::operator<<(const char*)): Same.
1363 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1365 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1368 * src/strstream.cc (strstreambuf): Fix leak.
1370 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1373 * include/bits/istream.tcc (istream::getline, ignore):
1374 Upon __idelim (__delim) call sbumpc() not snextc().
1375 * testsuite/27_io/narrow_stream_objects.cc:
1376 Add test08 and test09.
1378 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1380 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1381 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1383 * docs/html/install.html: Fix.
1385 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1387 * include/bits/fstream.tcc
1388 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1390 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1392 * docs/html/install.html: Tweak, add bits about required locales
1393 for the 22_locale tests when using the gnu model.
1395 * testsuite/27_io/istream_sentry.cc: Tweak.
1397 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1399 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1400 Fix typo, use this->is() rather than manually (and perhaps
1401 incorrectly) inlining it.
1402 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1404 * testsuite/22_locale/ctype_scan_char.cc: New file.
1406 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1407 Jakub Jelinek <jakub@redhat.com>
1409 * testsuite/22_locale/money_get_members_char.cc
1410 (test01, test02, test04): Use the de_DE@euro named locale
1411 instead of de_DE to allow for an uniform behaviour with
1412 both old and Euro-era localedata; tweak some tests.
1413 * testsuite/22_locale/money_get_members_wchar_t.cc
1414 (test01, test02, test04): Likewise.
1415 * testsuite/22_locale/money_put_members_char.cc
1416 (test01, test02, test04): Likewise.
1417 * testsuite/22_locale/money_put_members_wchar_t.cc
1418 (test01, test02, test04): Likewise.
1420 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1422 * testsuite/22_locale/codecvt_members_char_char.cc
1423 (test03): Robustify wrt localedata.
1424 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1425 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1426 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1427 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1428 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1429 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1430 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1431 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1432 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1433 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1434 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1435 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1436 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1437 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1438 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1439 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1440 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1441 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1442 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1443 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1444 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1445 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1447 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1449 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1452 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1454 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1455 to 64 for hppa 64-bit port.
1456 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1458 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1460 * acinclude.m4 (enable_symvers): Quote $LD.
1461 * aclocal.m4: Regenerate.
1462 * configure: Likewise.
1464 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1466 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1467 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1470 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1472 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1473 script entry, and set LD to it when configuring multilibs.
1474 * configure: Rebuilt.
1476 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1478 * configure.in: Add support for WindISS.
1479 * configure: Regenerated.
1480 * configure.target: Add support for WindISS.
1481 * config/os/windiss/bits/ctype_base.h: New file.
1482 * config/os/windiss/bits/ctype_inline.h: Likewise.
1483 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1484 * config/os/windiss/bits/os_defines.h: Likewise.
1486 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1488 Test all the facets for the temporary "C" locale switch issue.
1489 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1490 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1491 * testsuite/22_locale/collate_members_char.cc: Add test04.
1492 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1493 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1494 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1495 * testsuite/22_locale/messages_members_char.cc: Add test03.
1496 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1497 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1498 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1499 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1500 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1501 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1502 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1503 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1504 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1505 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1506 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1507 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1508 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1509 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1511 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1512 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1514 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1516 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1517 __EXTENSIONS__): Ensure they are always defined.
1519 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1521 * docs/html/documentation.html: Fix broken link.
1523 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1524 Paolo Carlini <pcarlini@unitus.it>
1526 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1527 testing for the locale_facets.tcc entry of the previous commit.
1528 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1530 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1532 * config/locale/generic/c_locale.cc
1533 (__convert_to_v(float, double, long double)):
1534 Fix the temporary switch to the "C" locale, saving and
1535 restoring in the proper way the current locale.
1536 * config/locale/generic/time_members.cc
1537 (__timepunct<char, wchar_t>::_M_put): Likewise.
1538 * config/locale/gnu/messages_members.cc
1539 (messages<char>::do_get): Likewise.
1540 * config/locale/gnu/messages_members.h
1541 (messages<_CharT>::do_get): Likewise.
1542 * config/locale/gnu/time_members.cc
1543 (__timepunct<char, wchar_t>::_M_put): Likewise.
1544 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1546 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1548 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1549 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1551 * Makefile.in, config.h.in, configure: Regenerate.
1553 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1556 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1557 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1559 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1561 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1563 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1565 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1567 * configure.in: Update local install.html, configopts.html paths.
1568 * configure: Regenerate.
1570 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1572 * config/os/irix/irix5.2/bits/os_defines.h
1573 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1575 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1578 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1580 * docs/html/faq/index.html: Update list in #4.1.
1581 * docs/html/faq/index.txt: Regenerated.
1583 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1585 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1587 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1589 * include/std/std_bitset.h: Fix doxygen comments.
1590 * docs/html/documentation.html: Minor tweaks for 3.1.
1591 * docs/html/27_io/howto.html: Likewise.
1592 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1593 * docs/html/faq/index.html: Likewise.
1594 * docs/html/faq/index.txt: Regenerated.
1596 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1599 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1600 (istreambuf_iterator::equal): Use it.
1601 (istreambuf_iterator::operator*): Use it.
1603 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1606 * include/bits/stl_uninitialized.h
1607 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1608 Fix typo in 2001-07-17 commit: typedef _ValueType to
1609 iterator_traits<_ForwardIter> not <_InputIter>.
1610 * testsuite/23_containers/vector_ctor.cc: Add test04.
1612 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1615 * include/c_std/std_cctype.h: Include bits/c++config.h.
1616 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1618 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1620 * include/ext/stdio_filebuf.h: New file.
1621 * include/ext/enc_filebuf.h: New file.
1622 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1623 * config/io/basic_file_stdio.cc: Same.
1624 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1625 Remove _M_unbuf hacks.
1626 (filebuf::_M_destroy_internal_buffer): Same.
1627 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1628 (filebuf::fd): Remove.
1629 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1630 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1631 (filebuf::fd): Remove.
1632 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1634 (ios_base::_S_ios_destroy): Same.
1635 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1636 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1637 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1639 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1642 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1644 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1647 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1649 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1650 (istreambuf_iterator::operator++): Invalidate on eof.
1651 (istreambuf_iterator::operator++(int)): Same.
1652 (istreambuf_iterator::operator*): Same.
1654 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1656 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
1657 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
1660 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
1663 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
1664 (__basic_file::sys_ungetc): Take int.
1665 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
1666 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1667 Use sys_getc for unbuffered input.
1668 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
1670 * src/ios.cc (_M_grow_words): Adjust error checking.
1671 * testsuite/27_io/ios_base_storage.cc: Same.
1673 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1675 * include/ext/stl_hashtable.h: Import __iterator_category
1677 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
1678 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1680 * testsuite/ext/hash_set.cc: New testfile.
1682 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
1684 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1686 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1687 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1689 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
1691 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
1692 Fix and tighten __throw_length_error check.
1693 * testsuite/21_strings/replace.cc (test05): New.
1694 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
1696 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
1698 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
1699 unconditional flush on lower-layer handle to here...
1700 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
1701 ...from here. Optimize remaining _M_file.sync() call pattern.
1702 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
1705 2002-04-23 Jason Merrill <jason@redhat.com>
1707 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
1708 output-only filebufs.
1709 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
1711 (basic_filebuf::_M_set_determinate): Likewise.
1714 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
1715 value properly in the trivial case.
1716 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
1717 tellg() returns the right value after a read.
1719 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
1721 * config/cpu/mmix/bits/cpu_limits.h: New file.
1722 * configure.target (CPULIMITSH): Use it.
1724 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
1726 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
1727 * docs/html/17_intro/porting.html: Rebuilt.
1729 2002-04-20 Jason Merrill <jason@redhat.com>
1732 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
1734 (basic_streambuf::_M_set_determinate): Likewise.
1735 (basic_streambuf::_M_is_indeterminate): Likewise.
1736 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
1737 non-static data member.
1738 (basic_filebuf::_M_underflow_common): New non-static member function.
1739 (basic_filebuf::_M_underflow, _M_uflow): Call it.
1740 (basic_filebuf::sync): Avoid useless seeking.
1741 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
1743 (basic_filebuf::_M_set_determinate): Likewise.
1744 (basic_filebuf::_M_is_indeterminate): Likewise.
1745 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
1746 back to _M_out_beg if necessary.
1747 (basic_filebuf::seekoff): Likewise.
1748 (basic_filebuf::_M_underflow_common): Generalization of old
1749 underflow(). Don't seek back to _M_in_beg.
1750 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
1751 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
1752 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
1753 * config/os/mingw32/bits/os_defines.h: Likewise.
1754 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
1757 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
1759 * include/bits/istream.tcc (istream::read): Fix.
1760 * testsuite/27_io/istream_unformatted.cc (main): Add.
1762 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
1765 * include/bits/istream.tcc (istream::ignore): Streamline, use
1767 * include/bits/streambuf.tcc: Use this->gptr.
1768 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
1770 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
1772 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
1773 as type safety is important, especially on solaris.
1774 * include/bits/istream.tcc (istream::read): Clean.
1775 (istream::readsome): Same.
1776 * locale.cc: Wrap lines.
1778 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
1779 * testsuite/27_io/instantiations.cc (test): Add bool variable...
1780 * testsuite/21_strings/capacity.cc: Clean.
1782 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1784 * docs/doxygen/doxygroups.cc: New group on binary searching.
1785 * include/bits/stl_algo.h: Document binary searches and merges.
1786 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
1788 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1790 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
1791 * docs/doxygen/run_doxygen: Bump required version.
1792 * docs/doxygen/user.cfg.in: Revert accidental change.
1793 * docs/html/faq/index.html: Reindent a block of links.
1794 (4.4): New note on using dlsym.
1795 * docs/html/faq/index.txt: Regenerated.
1797 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
1799 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
1801 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1803 * config/linker-map.gnu (__malloc_alloc_template): Add.
1804 (__default_alloc_template): Same.
1805 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
1807 (__default_alloc_template): Same.
1809 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
1811 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
1813 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
1815 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
1816 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
1817 (__malloc_alloc_template): Conditionalize.
1819 * include/bits/istream.tcc: Remove sputbackc calls.
1821 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
1823 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
1825 * testsuite/24_iterators/rel_ops.cc: New test.
1827 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1829 * include/bits/type_traits.h (__normal_iterator): Declare in
1830 __gnu_cxx. Adjust use at global namespace.
1831 * include/bits/stl_iterator.h (__normal_iterator): Move definition
1832 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
1833 * include/bits/basic_string.h (basic_string): Adjust use of
1835 * include/bits/stl_vector.h (_Alloc>): Likewise.
1836 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
1837 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
1839 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
1843 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
1845 (__basic_file::close): Call fflush. Correct return if fclose ok.
1846 (__basic_file::is_open): Make const.
1847 Change __c_file_type to __c_file.
1848 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
1849 (__basic_file::is_open): Make const.
1850 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
1851 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
1852 (filebuf::_M_unbuf): Add.
1853 (filebuf::_M_file): Change to non-pointer.
1854 (filebuf::_M_allocate_pback_buffer): Remove.
1855 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
1856 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
1857 Change initialization list for _M_file change.
1858 (filebuf::_M_allocate_pback_buffer): Remove.
1859 Change _M_file usage to reflect non-pointer data member.
1861 * config/locale/generic/c_locale.cc
1862 (locale::facet::_S_create_c_locale): Add parameter.
1863 * config/locale/generic/collate_members.cc: Change
1864 _M_compare_helper to _M_compare.
1865 Change _M_transform_helper to _M_transform.
1866 * config/locale/generic/monetary_members.cc: Changeup data types.
1868 * config/locale/generic/numeric_members.cc: Add dtors.
1869 * config/locale/generic/time_members.cc: Add dtors.
1870 * config/locale/gnu/c_locale.cc: Add parameter.
1871 * config/locale/gnu/collate_members.cc:Change
1872 _M_compare_helper to _M_compare.
1873 Change _M_transform_helper to _M_transform.
1874 * config/locale/gnu/ctype_members.cc: Better error checking.
1875 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
1876 * config/locale/gnu/messages_members.cc: Tweak comment.
1877 * config/locale/gnu/monetary_members.cc: Change data types.
1879 * config/locale/gnu/numeric_members.cc: Add dtors, better error
1881 * config/locale/gnu/time_members.cc: Same.
1882 * config/locale/ieee_1003.1-2001/c_locale.cc
1883 (locale::facet::_S_create_c_locale): Add parameter.
1884 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
1885 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
1888 * include/bits/locale_facets.h (moneypunct): Use string literals.
1891 (__timepunct): Same.
1892 (locale::_Impl::_M_facets): Change from vector to array.
1893 (locale::_Impl::_M_names): Change from array of strings to array
1895 (locale::facet::_S_create_c_locale): Add parameter.
1896 (locale::locale::_S_num_facets): Move to...
1897 (locale::_Impl::_M_facets_size): Here.
1898 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
1900 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
1901 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
1902 (locale::_Impl::_Impl(string, size_t)): Change to
1903 (locale::_Impl::_Impl(const char*, size_t)): This.
1905 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
1906 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
1907 (streambuf::_S_pback_size): This.
1909 * src/globals.cc: Add pre-allocations for "C" facets.
1910 * src/locale-inst.cc: Remove vector instantiations.
1911 * src/locale.cc: Remove vector include. Fixups for _M_names,
1913 * src/localename.cc: Same.
1915 * include/bits/stl_vector.h: Fix odd formatting.
1917 * include/bits/basic_string.tcc: Tweak comment.
1919 * libsupc++/new: Make sure parameters are uglified.
1920 * libsupc++/typeinfo: Same.
1922 * testsuite/22_locale/num_get_members_char.cc: Fixup.
1923 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1924 * testsuite/27_io/filebuf_members.cc: Same.
1926 2002-04-12 Steve Ellcey <sje@cup.hp.com>
1928 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
1929 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
1930 does not define strtoll or strtoull, but does define strtol
1931 and strtoul which are the same since in 64 bit mode
1932 sizeof(long) == sizeof(long long).
1934 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
1936 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
1937 trailing spaces, indentation, and macro names. Make exception
1938 messages more informative.
1940 2002-04-11 Richard Henderson <rth@redhat.com>
1942 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
1943 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
1944 (basic_ostream<>::operator<<(long long)): Same.
1946 2002-04-11 Richard Henderson <rth@redhat.com>
1948 * config/linker-map.gnu: Add __gxx_personality_sj0.
1950 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1953 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
1955 Remove forward declaration of vector.
1957 * include/bits/locale_facets.tcc: Remove vector include.
1958 (use_locale): Adjust.
1959 (has_locale): Adjust.
1960 * src/locale.cc: Adjust.
1961 * src/localename.cc: Same.
1963 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1964 Richard Henderson <rth@redhat.com>
1966 * include/bits/sstream.tcc: Clean up bit ops.
1967 * include/bits/fstream.tcc: Same.
1969 2002-04-09 Jakub Jelinek <jakub@redhat.com>
1971 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
1972 (__num_base::_S_scale_oct): Remove.
1973 * src/locale.cc (__num_base::_S_scale_hex): Remove.
1974 (__num_base::_S_scale_oct): Remove.
1976 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
1979 * testsuite/23_containers/bitset_members.cc: New test.
1980 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
1981 (_S_bit_count): Here.
1982 (_First_one::_S_first_one): Move...
1983 (_S_first_one): Here.
1985 * src/bitset.cc: Adjust.
1986 * config/linker-map.gnu: Export.
1988 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
1991 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
1992 * include/std/std_fstream.h: Clean.
1993 * include/bits/ostream.tcc: Remove extraneous variables.
1994 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
1995 open modes and which modes.
1996 (stringbuf::seekpos): Same.
1997 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
1999 2002-04-05 Jonathan Wakely <jw@kayari.org>
2001 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2002 random_shuffle, partition, stable_partition, sort, stable_sort,
2003 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2005 2002-04-05 David S. Miller <davem@redhat.com>
2007 * config/os/gnu-linux/bits/os_defines.h
2008 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2010 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2013 via gawrilow@math.tu-berlin.de
2014 * acinclude.m4 (version_specific_libs): Fix combo usage with
2015 --with-gxx-include-dir.
2016 * aclocal.m4: Regenerate.
2019 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2021 As per DR 184, libstdc++/3139
2022 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2023 (numeric_limits<bool>::is_iec559): False.
2024 (numeric_limits<bool>::is_modulo): False.
2026 * testsuite/27_io/ios_init.cc: Add instantiations.
2028 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2031 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2032 * testsuite/27_io/ios_init.cc (tests04): Add test.
2035 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2036 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2037 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2038 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2040 * testsuite/27_io/ios_init.cc (tests03): Add test.
2042 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2044 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2045 * include/Makefile.in: Regenerate.
2047 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2048 Nathan Myers <ncm@cantrip.org>
2049 Philip Martin <philip@codematters.co.uk>
2051 * include/bits/basic_string.h
2052 (replace(i1, i2, _CharT* k1, _CharT* k2),
2053 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2054 replace(i1, i2, iterator k1, iterator k2,
2055 replace(i1, i2, const_iterator k1, const_iterator k2):
2056 New specializations to optimize for the common cases of
2057 pointers and iterators.
2058 (replace(pos, n1, s, n2)): Tweak.
2059 * include/bits/basic_string.tcc: Tweak comments.
2060 * testsuite/21_strings/replace.cc (test04): New tests.
2062 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2065 * acinclude: More extensive checks for msgfmt, --enable-nls.
2066 * aclocal.m4: Regenerate.
2067 * configure: Regenerate.
2069 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2071 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2072 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2073 * docs/html/18_support/howto.html: Document the demangler.
2074 * docs/html/17_intro/howto.html: And link to it.
2076 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2077 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2079 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2081 * config/linker-map.gnu: Export __verbose_terminate_handler.
2082 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2083 Make new LTCOMPILE variable, use it in new special build rules.
2084 * libsupc++/Makefile.in: Rebuild.
2085 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2086 runtime __cxa_demangle.
2088 * docs/html/install.html: Update prereqs and instructions.
2089 * docs/html/19_diagnostics/howto.html: Bring naming for
2090 verbose_terminate_handler into line with reality.
2092 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2095 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2096 (basic_ios::_M_streambuf_state): Move.
2097 * include/bits/ios_base (ios_base): To here.
2098 * include/bits/ios_base.h (ios_base::_S_local_words): To
2100 (ios_base::_M_word_array): To _M_local_word.
2101 (ios_base::_M_words_limit): To _M_word_size.
2102 (ios_base::_M_words): To _M_word.
2104 * include/bits/basic_ios.tcc: Adjust.
2105 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2106 * testsuite/27_io/ios_base_storage.cc: Add tests.
2109 Kenny Simpson <theonetruekenny@yahoo.com>
2110 * include/bits/ios_base.h: Fix.
2112 Richard Henderson <rth@redhat.com>
2113 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2116 * include/bits/basic_string.h: Tweak formatting.
2118 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2120 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2121 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2122 By definition, sizeof(char) == 1.
2123 * include/bits/locale_facets.tcc (money_get::do_get,
2124 money_put::do_put): Ditto.
2125 * testsuite/21_strings/inserters_extractors.cc
2128 2002-03-30 Richard Henderson <rth@redhat.com>
2131 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2132 data out of the exception struct before calling unexpectedHandler.
2134 2002-03-28 Roger Sayle <roger@eyesopen.com>
2136 * include/c_std/std_cmath.h: To prevent problems overloading
2137 g++ builtins, use the double variants from the global namespace
2138 before defining float and long double variants in std::.
2140 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2142 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2144 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2146 * testsuite/24_iterators/istream_iterator.cc
2147 (test02): New tests.
2149 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2150 Paolo Carlini <pcarlini@unitus.it>
2152 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2153 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2154 fix i_lit_base e_lit_base arrays, making them independent
2155 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2157 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2159 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2160 allocate at least a byte.
2162 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2164 * testsuite/27_io/streambuf.cc (test07): Fix.
2167 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2169 * docs/doxygen/Intro.3: Date tweak.
2170 * docs/doxygen/TODO: Update.
2171 * docs/doxygen/doxygroups.cc: Point to tables.html.
2172 * docs/doxygen/mainpage.html: Date tweak.
2173 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2174 * docs/doxygen/tables.html: Fill in the blanks.
2176 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2177 * include/bits/stl_algo.h: Likewise; use expanded form.
2178 * include/bits/stl_alloc.h: Likewise.
2179 * include/bits/stl_construct.h: Likewise.
2180 * include/bits/stl_deque.h: Likewise.
2181 * include/bits/stl_iterator_base_types.h: Likewise.
2182 * include/bits/stl_list.h: Likewise.
2183 * include/bits/stl_relops.h: Likewise.
2184 * include/bits/stl_tempbuf.h: Likewise.
2185 * include/bits/stl_vector.h: Likewise.
2186 * include/std/std_memory.h: Likewise.
2188 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2189 * include/bits/stl_list.h: Likewise.
2190 * include/bits/stl_vector.h: Likewise.
2192 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2194 * include/c/: Guard with _CPP_.
2195 * include/c_std/: Same.
2196 * include/Makefile.am: Fixup install, link routines for null
2197 c_base_headers_extra scenarios.
2198 * include/Makefile.in: Regerate.
2200 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2201 Richard Henderson <rth@redhat.com>
2203 * testsuite/22_locale/codecvt_members_unicode_char.cc
2204 (test01, test02): make sure that the i_lit_base array
2205 is sufficiently aligned.
2207 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2209 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2212 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2214 * testsuite/22_locale/collate_byname.cc
2215 (test01): compare the result of collate::compare with
2216 that of collate::transform + string::compare, not with
2217 that of collate::transform + collate::compare; values
2218 returned by collate::compare are normalized, therefore
2221 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2222 Jakub Jelinek <jakub@redhat.com>
2224 * config/locale/gnu/messages_members.h: Correct conditional.
2225 * config/locale/gnu/messages_members.cc: Same.
2226 * config/locale/gnu/time_members.cc: Same.
2228 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2229 Paolo Carlini <pcarlini@unitus.it>
2231 * testsuite/22_locale/codecvt_members_unicode_char.cc
2232 (test01, test02): Fix i_lit_base arrays, making them
2233 independent from the endianness of the platform.
2235 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2237 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2238 signbit and __signbit directly.
2239 * aclocal.m4: Regenerate.
2240 * configure: Regenerate.
2241 * config.h.in: Regenerate.
2242 * libmath/Makefile.am: Simplify.
2243 * libmath/Makefile.in: Regenerate.
2244 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2246 * include/Makefile.am: Clean up handling of extra "C" header files.
2247 Add hooks for "C" compatibility headers.
2248 * include/Makefile.in: Regenerate.
2250 * include/c/*: Formatting tweaks, cleanups.
2251 * include/c_std/*: Same.
2253 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2255 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2256 * config/locale/gnu/messages_members.cc: Same.
2257 * config/locale/gnu/time_members.cc: Same.
2259 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2261 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2263 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2265 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2266 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2267 * aclocal.m4: Regenerate.
2268 * configure: Likewise.
2270 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2271 Ulrich Drepper <drepper@redhat.com>
2273 * src/locale-inst.cc (__convert_from_v): Add an additional
2274 __size parameter in the declarations.
2275 * include/bits/locale_facets.tcc
2276 (__convert_from_v): When available (that is,
2277 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2278 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2279 being defined or not, call and use __convert_from_v in the
2281 (num_put::_M_convert_int): Same here.
2282 (money_put::do_put(long double)): Same here.
2284 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2286 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2287 * docs/html/faq/index.txt: Regenerate.
2289 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2291 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2292 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2293 --enable-libunwind-exceptions is set.
2294 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2295 macro to check for libunwind.
2296 * configure: Regenerate.
2297 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2298 LIBUNWIND_FLAG to libstdc link line.
2299 * src/Makefile.in: Regenerate.
2301 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2303 * docs/html/faq/index.html: Add OS X workaround.
2304 * docs/html/17_intro/TODO: Update.
2306 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2308 * include/bits/locale_facets.tcc
2309 (money_put::do_put(long double)): Fix dimensioning of
2310 temporary buffers to avoid risk of overruns.
2311 (money_put::do_put(string)): Same for the buffer used to
2312 add the grouping chars.
2313 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2314 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2316 * include/bits/locale_facets.tcc
2317 (collate::do_transform): Simplify.
2319 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2321 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2322 * configure.in: Add comments pointing the way for autoconf 2.5x.
2323 * aclocal.m4, config.h.in, configure: Regenerate.
2325 2002-03-18 Philipp Thomas <pthomas@suse.de>
2327 * include/backward/hash_map.h: hash, hashtable, hash_map and
2328 hash_multimap are in namespace __gnu_cxx.
2329 include/backward/hash_set.h: hash, hashtable, hash_set and
2330 hash_multiset are in namespace __gnu_cxx.
2331 include/backward/hashtable.h: hash and hashtable are in
2332 namespace __gnu_cxx.
2333 include/backward/rope.h: char_producer, sequence_buffer,
2334 rope, crope and wrope are in namespace __gnu_cxx.
2335 include/backward/slist.h: slist is in namespace __gnu_cxx.
2336 * testsuite/backward/header_hash_map_h.cc
2337 testsuite/backward/header_hash_set_h.cc
2338 testsuite/backward/header_hashtable_h.cc
2339 testsuite/backward/header_rope_h.cc
2340 testsuite/backward/header_slist_h.cc
2341 testsuite/backward/header_tempbuf_h.cc: New tests for
2342 checking that we're using the correct namespace.
2344 2002-03-17 Jason Merrill <jason@redhat.com>
2347 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2348 (check_exception_spec): Call it. Take the thrown pointer.
2349 (__cxa_call_unexpected): Pass it.
2350 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2352 2002-03-15 Anthony Green <green@redhat.com>
2354 * configure.in: Remove useless is_mingw32.
2355 * configure: Rebuilt.
2357 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2359 * testsuite/22_locale/collate_members_char.cc
2360 (test01): compare the result of collate::compare with
2361 that of collate::transform + string::compare, not with
2362 that of collate::transform + collate::compare.
2363 (test01): values returned by collate::compare are
2364 normalized, therefore test against +-1.
2365 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2367 2002-03-12 Loren Rittle <ljrittle@acm.org>
2369 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2370 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2372 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2373 Per Liboriussen <liborius@stofanet.dk>
2375 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2377 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2379 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2381 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2382 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2384 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2385 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2387 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2388 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2390 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2392 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2394 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2395 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2396 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2397 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2398 that memory limits are in place.
2399 (test03): Add tests.
2401 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2403 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2404 * aclocal.m4: Regenerate.
2405 * config.h.in: Regenerate.
2406 * configure: Regenerate.
2407 * include/c_std/std_cwctype.h: Guard.
2409 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2411 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2412 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2413 * aclocal.m4: Regenerate.
2414 * configure: Regenerate.
2416 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2418 * include/bits/stl_bvector.h: Fix warning.
2420 2002-03-11 Richard Henderson <rth@redhat.com>
2422 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2424 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2426 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2427 New function. Build the list of tests to run in testsuite_files.
2428 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2430 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2432 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2433 platforms with no weak support.
2434 * testsuite/27_io/ios_init.cc: Likewise.
2436 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2438 * include/bits/locale_facets.tcc (time_put::do_put):
2439 Consider sizeof(char_type) in allocating the buffer.
2441 * include/bits/locale_facets.tcc (collate::do_tranform):
2442 Remove redundant variable.
2444 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2445 Paolo Carlini <pcarlini@unitus.it>
2447 * config/locale/generic/collate_members.cc
2448 (collate<char,wchar_t>::_M_compare_helper): normalize
2449 values returned by strcoll and wcscoll.
2450 * config/locale/gnu/collate_members.cc
2451 (collate<char,wchar_t>::_M_compare_helper): ditto
2452 for __strcoll_l and __wcscoll_l.
2454 2002-03-10 Anthony Green <green@redhat.com>
2456 * configure.in: Support cross builds to mingw32 target.
2457 * configure: Rebuilt.
2459 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2461 * include/bits/locale_facets.tcc (collate::do_transform):
2462 Rewrite to fix problems with long transformed strings.
2464 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2466 * c_locale_generic.cc: Move to...
2467 * generic/c_locale.cc
2468 * c_locale_generic.h: Move to...
2469 * generic/c_locale.h
2470 * codecvt_specializations_generic.h: Move to...
2471 * generic/codecvt_specializations.h
2472 * collate_members_generic.cc: Move to...
2473 * generic/collate_members.cc
2474 * ctype_members_generic.cc: Move to...
2475 * generic/ctype_members.cc
2476 * messages_members_generic.cc: Move to...
2477 * generic/messages_members.cc
2478 * messages_members_generic.h: Move to...
2479 * generic/messages_members.h
2480 * moneypunct_members_generic.cc: Move to...
2481 * generic/monetary_members.cc
2482 * numpunct_members_generic.cc: Move to...
2483 * generic/numeric_members.cc
2484 * time_members_generic.cc: Move to...
2485 * generic/time_members.cc
2486 * c_locale_gnu.cc: Move to...
2488 * c_locale_gnu.h: Move to...
2490 * collate_members_gnu.cc: Move to...
2491 * gnu/collate_members.cc
2492 * ctype_members_gnu.cc: Move to...
2493 * gnu/ctype_members.cc
2494 * messages_members_gnu.cc: Move to...
2495 * gnu/messages_members.cc
2496 * messages_members_gnu.h: Move to...
2497 * gnu/messages_members.h
2498 * moneypunct_members_gnu.cc: Move to...
2499 * gnu/monetary_members.cc
2500 * numpunct_members_gnu.cc: Move to...
2501 * gnu/numeric_members.cc
2502 * time_members_gnu.cc: Move to...
2503 * gnu/time_members.cc
2504 * c_locale_ieee_1003.1-200x.cc: Move to...
2505 * ieee_1003.1-2001/c_locale.cc
2506 * c_locale_ieee_1003.1-200x.h: Move to...
2507 * ieee_1003.1-2001/c_locale.h
2508 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2509 * ieee_1003.1-2001/codecvt_specializations.h
2510 * messages_members_ieee_1003.1-200x.cc: Move to...
2511 * ieee_1003.1-2001/messages_members.cc
2512 * messages_members_ieee_1003.1-200x.h: Move to...
2513 * ieee_1003.1-2001/messages_members.h
2515 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2516 * aclocal.m4: Regenerate.
2517 * configure: Regenerate.
2518 * src/Makefile.am (sources): Change to monetary and numeric.
2519 * src/Makefile.in: Regenerate.
2520 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2522 2002-03-08 scott snyder <snyder@fnal.gov>
2525 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2526 Allow one more digit of precision.
2527 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2528 write a double and read back in the same value.
2530 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2532 * include/std/std_limits.h: Move static const data members out of
2533 generic template, into base class __numeric_limits_base.
2534 * src/limits.cc: Add definitions.
2535 * config/linker-map.gnu: Add __numeric_limits_base.
2536 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2538 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2540 * include/bits/stl_alloc.h: Add extern implicit allocator
2542 * include/bits/basic_string.tcc: Tweak.
2543 * include/bits/locale_facets.tcc: Remove default args. Add
2544 has_facet, use_facet extern instantiations.
2545 * src/stl-inst.cc: Add explicit instantiation.
2546 * src/locale-inst.cc: Clean. Remove locale member template
2549 * testsuite/22_locale/operators.cc (test02): Enable.
2551 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2552 Stephen M. Webb <stephen.webb@bregmasoft.com>
2554 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2555 (_S_rb_tree_black): Make enum.
2557 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2558 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2559 (__stl_threshold): _M_threshold, enum.
2560 * src/stl-inst.cc: Same.
2561 * config/linker-map.gnu: Remove.
2563 * testsuite/23_containers/vector_bool.cc: New.
2565 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2567 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2568 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2569 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2570 referring to the collection as a whole. New section on which macros
2571 can be redefined by the user.
2572 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2573 * docs/html/20_util/howto.html: Update link to SGI.
2574 * docs/html/faq/index.html: Update snapshot versions. New entry
2575 on why g++ (but not gcc) must currently predefine certain macros.
2576 * docs/html/faq/index.txt: Regenerated.
2578 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2579 names in declaration.
2580 (basic_string::compare): These are no longer optional.
2581 * include/bits/ostream.tcc: Tweak closing brace placement.
2582 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2583 * include/std/std_sstream.h: Fix typo in comment.
2584 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2585 * src/locale.cc: Likewise.
2587 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2590 * include/bits/stl_vector.h (vector::push_back()): Guard with
2591 _GLIBCPP_DEPRECATED.
2593 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2595 * include/bits/c++config: Fix misplaced leading blanks on first line.
2597 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2599 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2600 * README (libmath): Make clear.
2602 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2604 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2605 script globbing in ld.
2606 * aclocal.m4: Rebuilt.
2607 * configure: Rebuilt.
2609 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2611 * docs/html/17_intro/RELEASE-NOTES: Update.
2612 * README: Format subdirectories.
2614 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2617 * include/bits/locale_facets.tcc
2618 (num_get::_M_extract_float): Fix the parsing of __dec, since
2619 the standard prescribes that if no grouping characters are
2620 seen, no grouping check is applied.
2621 * testsuite/22_locale/num_get_members_char.cc: Add test05
2622 distilled from the PR.
2623 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2625 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2627 * docs/html/17_intro/porting-howto.xml: Refer to
2628 http://www.oasis-open.org for docbookx.dtd.
2629 * docs/html/17_intro/porting-howto.html: Regenerated.
2631 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2634 * include/std/std_sstream.h: Remove trailing spaces.
2635 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2636 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2638 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2640 * testsuite/22_locale/num_get_members_char.cc (test04):
2641 Use a named locale expecting grouping (de_DE).
2642 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2644 * testsuite/27_io/ios_manip_basefield.cc (test01):
2645 Extend coverage, uniform treatment of hexs and octs.
2647 2002-02-28 Richard Henderson <rth@redhat.com>
2649 * config/linker-map.gnu: Export operator new with unsigned long,
2650 and with std::nothrow_t. Likewise operator delete.
2652 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
2654 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
2655 Admit grouping for octals and hexadecimals too.
2656 * testsuite/22_locale/num_get_members_char.cc: Add test04.
2657 (test01): Tweak "." -> "," in void* test.
2658 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2660 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
2661 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
2663 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
2665 * testsuite/27_io/ios_manip_basefield.cc (test01):
2666 Fix for 64 bit machines.
2668 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
2671 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
2673 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
2674 (basic_ios::_M_fill_init): New.
2675 (basic_ios::fill()): Delay dealing with _M_fill.
2677 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
2678 (ios_base::_M_call_callbacks): Adjust.
2679 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
2681 2002-02-26 Loren Rittle <ljrittle@acm.org>
2683 * include/Makefile.am (thread_target_headers): Unconditionally
2684 stage and install gthr-posix.h.
2685 (${target_builddir}/gthr-posix.h): New rule cloned off
2686 ${target_builddir}/gthr-default.h.
2687 (${target_builddir}/gthr-default.h): Support chained inclusion
2688 of gthr support headers.
2689 * include/Makefile.in: Rebuilt.
2691 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
2693 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
2694 Group all the integral types, not only decs.
2695 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
2696 tests, add a few more.
2698 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
2700 * src/ios.cc (ios_base::~ios_base): Tweak.
2701 (ios_base::_M_call_callbacks): Deal with null __p.
2702 (ios_base::ios_base): Set _M_callbacks.
2703 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
2704 * testsuite/27_io/ios_init.cc (test02): Fix.
2706 * mkcheck.in (static_fail): Failed links go to output file.
2708 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
2710 * docs/html/faq/index.html: Update.
2711 * docs/html/faq/index.txt: Regenerate.
2713 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
2715 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
2716 * aclocal.m4: Regenerate.
2717 * docs/html/configopts.html: Document --enable-symvers.
2718 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
2720 2002-02-22 Philipp Thomas <pthomas@suse.de>
2722 * include/backward/tempbuf.h: get_temporary_buffer and
2723 return_temporary_buffer are in namespace std, not in __gnu_cxx.
2725 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
2727 * configure.in (target_alias): Default to yes.
2728 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
2729 libgcc to default case.
2731 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
2733 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
2734 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
2735 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
2736 * aclocal.m4: Regenerate.
2737 * configure: Regenerate.
2738 * config/linker-map.dummy: New file. Contains nothing useful.
2740 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
2742 * testsuite/22_locale/money_put_members_char.cc: Fix.
2743 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
2745 * testsuite/27_io/standard_manipulators.cc: New file.
2747 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
2748 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
2750 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
2752 * config/os/mingw32/bits/ctype_noninline.h
2753 (ctype<char>::ctype): Remove default args from parm list.
2754 * config/os/djgpp/bits/ctype_noninline.h: Same.
2756 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2758 * include/std/std_iomanip.h: Inline, tweaks.
2759 * config/linker-map.gnu: Remove hacks.
2761 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
2762 * testsuite/27_io/ios_init.cc: Same.
2763 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
2764 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
2766 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
2768 * config/linker-map.gnu: Export global vtable, typeinfo, guard
2769 variable, and thunk info as per CXXABI docs.
2771 2002-02-19 Loren Rittle <ljrittle@acm.org>
2773 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2774 * include/Makefile.in: Rebuilt.
2776 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2778 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
2779 with size3 for the string collations of str5.
2781 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
2784 * include/bits/locale_facets.tcc (money_put::do_put):
2785 For the space field use __fill instead of ' ', uniformly.
2786 * testsuite/22_locale/money_put_members_char.cc:
2787 Add test05 distilled from PR.
2788 (test01-02-03): Trim some '*' to ' '.
2789 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2791 2002-02-18 Loren Rittle <ljrittle@acm.org>
2794 * include/Makefile.am (thread_builddir): Remove (map all
2795 existing uses to target_builddir).
2796 (thread_headers): Rename to...
2797 (thread_target_headers): ...this.
2798 (stamp-thread): Remove.
2799 (stamp-target): Correctly state the position as built.
2800 Update all dependencies to match the new reality. Remove all
2801 dependency calculations on directories.
2802 * include/Makefile.in: Rebuilt.
2804 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
2806 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
2807 * include/bits/fstream.tcc: Same.
2808 * include/bits/sstream.tcc: Same.
2809 * include/bits/ostream.tcc: Same.
2810 * include/bits/istream.tcc: Same.
2811 * include/bits/streambuf.tcc: Same.
2812 * include/bits/basic_ios.tcc: Same.
2813 * include/bits/basic_string.tcc: Same.
2815 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2817 * include/std/std_iosfwd.h: Don't guard typedefs with
2818 _GLIBCPP_USE_WCHAR_T
2819 * include/bits/stringfwd.h: Same.
2821 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2823 * src/locale.cc (moneypunct_byname): Remove definitions.
2824 * include/std/std_streambuf.h (streambuf::operator=): Return.
2826 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
2829 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
2830 explicit instantiation.
2831 (string::_Rep::_S_max_size): Same.
2832 * include/bits/basic_string.tcc: Add extern explicit
2833 instantiations for string, wstring.
2834 * include/bits/basic_ios.tcc: Add extern explicit instantiations
2836 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
2837 * include/bits/istream.tcc: Same, for istream, wistream.
2838 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
2840 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
2841 istringstream, wistringstream, ostringstream, wostringstream,
2842 stringstream, wstringstream.
2843 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
2844 wifstream, ofstream, wofstream, fstream, wfstream.
2845 * src/misc-inst.cc: Correct comments.
2846 Add iomanip instantiations for wide streams.
2847 * include/std/std_iomanip.h: Same.
2848 * include/bits/locale_facets.tcc: Same.
2850 * include/std/std_streambuf.h: Correct
2851 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
2852 * include/std/std_sstream.h: Same.
2853 * include/std/std_ostream.h: Same.
2854 * include/std/std_istream.h: Same.
2855 * include/std/std_fstream.h: Same.
2857 * include/std/std_streambuf.h: Add definitions for private copy
2858 ctor and assignment operator.
2859 * include/std/std_istream.h: Remove declared but undefined copy
2860 ctor and assignment operator. This is taken care of in ios_base,
2861 so adding it in the derived class as well is superfluous.
2862 * include/std/std_ostream.h: Same.
2864 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
2865 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
2867 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2869 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2870 Add typeinfo bits. Smooth.
2871 * aclocal.m4: Regenerate.
2873 * src/Makefile.in: Same.
2875 2001-02-14 Joel Sherrill <joel@OARcorp.com>
2877 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
2878 which do not have a CAS instruction.
2880 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
2882 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2883 * configure.in: Call it.
2884 * config/linker-map.gnu: New file, initial incomplete revision.
2885 * src/Makefile.am: Optionally pass version script to the linker.
2886 * aclocal.m4: Regenerate.
2887 * configure: Regenerate.
2888 * src/Makefile.in: Regenerate.
2890 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
2892 * src/localename.cc: Remove stdexcept include.
2893 * src/locale-inst.cc: Same.
2894 * src/locale.cc: Same.
2895 * src/functexcept.cc: Remove string includes.
2896 * include/std/std_bitset.h: Remove stdexcept include.
2897 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
2898 * testsuite/23_containers/bitset_ctor.cc: Same.
2900 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
2902 * include/bits/stl_algo (__stl_threshold): Declare external.
2903 (__stl_chunk_size): Same.
2904 * include/bits/stl_bvector.h (__WORD_BIT): Same.
2905 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
2906 (_S_rb_tree_black): Same.
2907 * src/stl-inst.cc (__stl_threshold): Define.
2908 (__stl_chunk_size): Same.
2910 (_S_rb_tree_red): Same.
2911 (_S_rb_tree_black): Same.
2913 * config/io/basic_file_libio.h (__basic_file): Add declarations.
2914 * include/bits/basic_file.h: Remove.
2915 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
2916 Declare generic types, specialization.
2917 * config/io/basic_file_stdio.cc: Definitions.
2918 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
2919 Declare generic types.
2920 * include/Makefile.am (bits_headers): Remove basic_file.h.
2921 (extra_target_headers): Change basic_file_model.h to basic_file.h.
2922 (stamp-target): Same.
2924 * include/bits/stl_alloc.h: Tweaks.
2925 * include/bits/localefwd.h: Same.
2927 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
2929 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
2930 * testsuite/22_locale/collate_members_char.cc (test03): New test.
2931 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
2933 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
2935 * include/bits/stl_algo.h (transform (both signatures), generate_n):
2936 Use __typeof__ in concept checks.
2938 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
2940 * include/bits/stl_algo.h (__median, for_each, find, find_if,
2941 adjacent_find, count, count_if, search, search_n, swap_ranges,
2942 transform, replace, replace_if, replace_copy, replace_copy_if,
2943 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
2944 unique, unique_copy, reverse, reverse_copy): Doxygenate.
2946 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
2948 * include/bits/locale_facets.h
2949 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
2950 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
2951 (__timepunct<_CharT>::_M_put_helper): Same.
2952 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
2954 * include/bits/fstream.tcc (filebuf::underflow): Remove
2955 __codecvt_type typedef.
2956 (filebuf::_M_convert_to_external): Same.
2958 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
2960 * docs/doxygen/TODO: Update.
2961 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
2962 * docs/doxygen/mainpage.html: Add TODO list link.
2963 * docs/doxygen/user.cfg.in: Add @doctodo hook.
2964 * docs/doxygen/tables.html: New file, emoty structure only.
2966 * include/bits/stl_iterator.h: Doxygenate just about everything.
2967 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
2968 * include/bits/stl_iterator_base_types.h: Add notes.
2970 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
2972 * include/bits/stl_map.h: Tweak doxygen markup.
2973 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
2974 * include/bits/stl_vector.h: Likewise.
2976 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2980 * include/std/std_fstream.h (filebuf::__file_type): Change to
2982 (filebuf::_M_convert_to_external): Declare.
2983 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
2984 codecvt bits for wide streams.
2985 (filebuf::_M_really_overflow): Use it.
2986 (filebuf::underflow): Use codecvt.
2987 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
2988 (codecvt<__enc_traits>::do_out): Deal with partial.
2989 (codecvt<__enc_traits>::do_encoding): Return something useful.
2990 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
2992 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
2993 Change expected encoding output.
2995 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
2998 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
2999 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3001 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3002 (basic_ios::widen): Same.
3004 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3006 * testsuite/22_locale/money_get_members_char.cc:
3007 Add comment, tidy up.
3008 (test01): more "en_HK" tests (without showbase).
3009 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3011 2002-02-06 Loren Rittle <ljrittle@acm.org>
3013 * config/locale/c_locale_generic.cc: Do not trust
3014 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3017 2002-02-06 Loren Rittle <ljrittle@acm.org>
3019 * acinclude.m4: Add C++ linkage check for strtof.
3020 * aclocal.m4: Rebuilt.
3021 * config.h.in: Rebuilt.
3022 * configure: Rebuilt.
3023 * config/locale/c_locale_generic.cc: Conditionally include
3024 <ieeefp.h>. Improve handling and error checking of float
3025 and long double input for non-C99 configurations.
3027 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3029 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3030 In case money_base::symbol deal properly with multi-char sign
3031 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3032 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3033 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3035 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3037 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3038 First construct a tentative returned string, then, only if the
3039 parsing succeeds, copy it into the string passed by reference.
3040 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3041 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3043 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3045 * docs/doxygen/TODO: Impl-defined behavior now documented...
3046 * docs/html/17_intro/howto.html: ...here.
3047 * docs/doxygen/mainpage.doxy: Remove, rename...
3048 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3049 * docs/doxygen/style.css: Add small text.
3050 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3051 * docs/doxygen/user.cfg.in: Likewise.
3053 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3055 * include/bits/stl_map.h: Initial doxygen markup.
3056 * include/std/std_fstream.h: Initial doxygen markup.
3058 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3061 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3062 Deal correctly with !(__io.flags() & ios_base::showbase)
3063 for case money_base::symbol.
3064 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3065 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3067 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3069 * testsuite/22_locale/operators.cc
3070 (gnu_collate::do_compare()): Add return statement to
3071 suppress "no return statement" warning.
3073 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3075 * testsuite/27_io/ostream_manip.cc: Enable test02.
3077 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3079 * docs/html/documentation.html: Update for 3.0.96.
3080 * docs/html/faq/index.html: Update for 3.0.96.
3081 * docs/html/faq/index.txt: Regenerated.
3082 * docs/doxygen/TODO: Update notes.
3083 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3085 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3087 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3088 Initialize all data members in copy ctor. Make ctors explicit.
3089 (__enc_traits::__enc_traits()): Default ctor does nothing.
3090 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3091 * include/std/std_sstream.h (basic_stringbuf): Make data members
3093 * include/std/std_fstream.h (basic_filebuf): Same.
3094 * include/std/std_streambuf.h: Tweak.
3095 * include/bits/streambuf.tcc: Same.
3096 * include/bits/sstream.tcc: Same.
3097 * include/bits/fstream.tcc: Same.
3099 2002-01-31 Loren Rittle <ljrittle@acm.org>
3101 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3102 allow NULL argument to be passed to setenv().
3103 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3104 * testsuite/22_locale/collate_members_char.cc: Likewise.
3105 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3106 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3107 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3108 * testsuite/22_locale/messages_members_char.cc: Likewise.
3109 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3110 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3111 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3112 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3113 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3114 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3115 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3116 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3117 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3118 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3119 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3120 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3121 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3122 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3123 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3124 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3126 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3128 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3130 * ChangeLog-2001: Fix spelling errors...
3131 * docs/html/17_intro/RELEASE-NOTES: Update.
3132 * docs/html/17_intro/TODO: Update.
3133 * README (file): Update.
3135 2002-01-30 Loren Rittle <ljrittle@acm.org>
3137 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3138 instead of non-zero to aid portability.
3140 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3142 * docs/html/22_locale/messages.html: Fix example code.
3144 2002-01-30 Richard Henderson <rth@redhat.com>
3146 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3147 out from test03 and templatize.
3150 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3152 * config/locale/numpunct_members_gnu.cc
3153 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3154 Fix initialization of _M_grouping for locales which have
3155 _M_thousands_sep == '\0'(L'\0', respectively).
3156 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3158 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3160 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3161 Better fix for 32/64 bit architectures, avoiding the
3162 implicit assumption that CHAR_BIT == 8.
3164 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3166 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3167 * Makefile.in: Regenerate.
3169 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3170 * docs/doxygen/Intro.3: Update.
3171 * docs/doxygen/TODO: Update.
3172 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3173 * docs/doxygen/mainpage.doxy: Update.
3174 * docs/doxygen/user.cfg.in: Update for header rename. Also
3175 regenerate comments and variables with 1.2.12.
3176 * docs/doxygen/maint.cfg.in: Remove file.
3178 * include/bits/stl_relops.h: Doxygenate.
3179 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3181 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3182 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3183 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3184 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3185 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3186 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3187 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3188 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3189 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3190 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3191 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3192 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3193 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3194 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3195 include/std/std_algorithm.h, include/std/std_bitset.h,
3196 include/std/std_complex.h, include/std/std_deque.h,
3197 include/std/std_fstream.h, include/std/std_functional.h,
3198 include/std/std_iomanip.h, include/std/std_ios.h,
3199 include/std/std_iosfwd.h, include/std/std_iostream.h,
3200 include/std/std_istream.h, include/std/std_iterator.h,
3201 include/std/std_limits.h, include/std/std_list.h,
3202 include/std/std_locale.h, include/std/std_map.h,
3203 include/std/std_memory.h, include/std/std_numeric.h,
3204 include/std/std_ostream.h, include/std/std_queue.h,
3205 include/std/std_set.h, include/std/std_sstream.h,
3206 include/std/std_stack.h, include/std/std_stdexcept.h,
3207 include/std/std_streambuf.h, include/std/std_string.h,
3208 include/std/std_utility.h, include/std/std_valarray.h,
3209 include/std/std_vector.h: Add/correct @file doxygen hook.
3211 * include/ext/memory: Doxygenate most of rest of file.
3212 * libsupc++/exception: Doxygen output formatting.
3213 * libsupc++/new: Say which header it is.
3215 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3216 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3217 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3218 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3220 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3221 Charles Leggett <CGLeggett@lbl.gov>
3223 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3225 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3227 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3228 Fix to deal correctly with both 32 bit and 64 bit architectures
3230 2002-01-25 Loren Rittle <ljrittle@acm.org>
3232 * testsuite/thread/pthread1.cc: Use one condition variable
3233 per predicate instead of tricky use of one condition variable.
3235 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3237 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3239 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3240 * testsuite/27_io/filebuf.cc: Compile only.
3241 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3242 * testsuite/27_io/filebuf_virtuals.cc: And here.
3243 Revert sungetc, sync changes for expected values.
3244 * testsuite/27_io/filebuf-*: Move to...
3245 * testsuite/27_io/filebuf_virtuals-*: ...here.
3246 * testsuite/27_io/istream.cc: Compile only, activate.
3247 * testsuite/27_io/ostream.cc: Same.
3248 * testsuite/27_io/iostream.cc: New.
3249 * testsuite/27_io/iostream_members.cc: New.
3251 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3253 * testsuite/thread/pthread1.cc: Enable on cygwin.
3254 * testsuite/thread/pthread2.cc: Likewise.
3255 * testsuite/thread/pthread3.cc: Likewise.
3256 * testsuite/thread/pthread4.cc: Likewise.
3257 * testsuite/thread/pthread5.cc: Likewise.
3258 * testsuite/thread/pthread6.cc: Likewise.
3260 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3262 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3264 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3266 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3268 (basic_ios::fill(char_type)): Use fill().
3269 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3270 (basic_ios::narrow): Same.
3271 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3272 if they are invalid.
3273 (basic_ios::init): Comment.
3274 * testsuite/27_io/ios_init.cc (test02): New.
3276 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3278 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3279 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3280 * include/ext/memory: Do not include stl_tempbuf.h.
3281 (temporary_buffer): Add doxygen hook.
3282 (__get_temporary_buffer, get_temporary_buffer,
3283 return_temporary_buffer): Move back to std:: header...
3284 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3285 * include/ext/rope: Do not include stl_tempbuf.h.
3286 * include/ext/stl_hashtable.h: Likewise.
3287 * include/std/std_algorithm.h: Likewise.
3288 * testsuite/20_util/temporary_buffer.cc: New file.
3290 2002-01-24 andrew@andypo.net
3291 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3294 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3295 * include/bits/localefwd.h: Likewise.
3296 Also use for std::locale::id::_S_highwater.
3297 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3298 * src/locale.cc: Support new usage of _Atomic_word.
3299 (std::locale::classic): Guard entire function against reentry.
3300 * src/localename.cc: Support new usage of _Atomic_word.
3302 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3304 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3305 _GLIBCPP_HAVE_SETENV.
3306 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3307 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3308 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3309 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3310 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3311 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3312 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3313 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3314 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3315 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3316 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3317 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3318 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3319 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3320 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3321 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3322 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3323 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3324 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3325 * aclocal.m4: Regenerate.
3326 * configure: Regenerate.
3327 * config.h.in: Regenerate.
3329 2002-01-23 Loren Rittle <ljrittle@acm.org>
3331 * testsuite/thread/pthread1.cc: New test.
3332 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3333 * testsuite/thread/pthread3.cc: Likewise.
3334 * testsuite/thread/pthread4.cc: New test adapted from
3335 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3336 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3337 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3339 2002-01-23 Richard Henderson <rth@redhat.com>
3342 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3343 CAS on the cpu variants that support it. Add versions that use
3344 TAS and that disable interrupts.
3345 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3347 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3349 * include/bits/locale_facets.tcc: Remove old comments.
3351 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3353 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3355 (__convert_from_v): Same.
3357 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3359 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3361 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3362 __max_digits checks, adjust arguments.
3363 (num_get::do_get(*)): Changeup.
3365 2002-01-23 Loren Rittle <ljrittle@acm.org>
3367 * config/locale/c_locale_generic.cc: Fix typename usage.
3369 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3371 * config/locale/c_locale_generic.cc: Fix.
3373 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3375 * docs/html/22_locale/messages.html: Remove angle brackets.
3376 * docs/html/17_intro/TODO: Add.
3378 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3380 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3381 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3382 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3383 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3385 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3387 Audit for LANG independence.
3388 * include/bits/localefwd.h: Tweaks.
3389 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3391 (time_get::do_get_year): Same.
3392 (__convert_from_v): Add.
3393 (num_put::_M_convert_float): Use.
3394 (num_put::_M_convert_int): Same.
3395 (money_put::do_put): Same.
3397 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3398 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3399 * config/locale/time_members_generic.cc:
3400 * config/locale/messages_members_gnu.cc: Same.
3401 * config/locale/messages_members_gnu.h: Same.
3403 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3404 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3405 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3406 * testsuite/22_locale/collate_members_char.cc (test02): New.
3407 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3408 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3409 * testsuite/22_locale/messages_members_char.cc (test02): New.
3410 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3411 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3412 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3413 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3414 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3415 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3416 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3417 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3418 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3419 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3420 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3421 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3422 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3423 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3424 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3425 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3427 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3429 * testsuite/22_locale/time_get_members_char.cc: Same.
3431 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3434 * include/bits/localefwd.h: Tweak comments.
3435 * include/bits/locale_facets.h (__convert_to_v): Add.
3436 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3437 (num_get::do_get(float)): Same.
3438 (num_get::do_get(long double)): Same.
3439 (num_get::do_get(bool)): Same.
3440 (num_get::do_get(long)): Same.
3441 (num_get::do_get(long long)): Same.
3442 (num_get::do_get(unsigned int)): Same.
3443 (num_get::do_get(unsigned short)): Same.
3444 (num_get::do_get(unsigned long)): Same.
3445 (num_get::do_get(unsigned long long)): Same.
3446 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3447 * config/locale/c_locale_generic.cc: Same.
3449 2002-01-22 Loren Rittle <ljrittle@acm.org>
3451 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3452 (std_builddir): Likewise.
3453 (std_headers_rename): Fix cut-n-paste typo.
3454 (install-data-local): Concat path per element instead of once to
3455 first element of list.
3456 * include/Makefile.in: Rebuilt.
3458 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3460 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3461 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3462 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3464 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3466 * include/bits/locale_facets.h (ctype<char>::classic_table):
3468 (ctype<char>::_S_ctable): Remove.
3469 * config/os/gnu-linux/bits/ctype_noninline.h
3470 (ctype<char>::_S_table): Remove definition.
3471 (ctype<char>::classic_table): Define.
3472 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3473 * config/os/aix/bits/ctype_noninline.h: Same.
3474 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3475 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3476 * config/os/djgpp/bits/ctype_noninline.h: Same.
3477 * config/os/generic/bits/ctype_noninline.h: Same.
3478 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3479 * config/os/hpux/bits/ctype_noninline.h: Same.
3480 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3481 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3482 * config/os/mingw32/bits/ctype_noninline.h: Same.
3483 * config/os/newlib/bits/ctype_noninline.h: Same.
3484 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3485 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3486 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3488 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3490 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3491 of _pctype. Use to define _S_ctable. Add definition for alternate
3492 ctor. Initialise _M_ctable to _S_ctable in ctors.
3493 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3494 rather than ::toupper, ::tolower.
3496 2002-01-18 Loren Rittle <ljrittle@acm.org>
3498 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3499 Add specialization for FreeBSD systems only to avoid losing test
3500 only due to extra precision unmentioned in system headers.
3502 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3504 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3506 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3508 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3509 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3511 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3513 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3515 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3517 * configure.target: Define OPT_LDFLAGS for AIX case.
3519 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3521 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3522 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3524 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3526 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3528 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3530 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3531 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3532 * aclocal.m4: Regenerate.
3533 * configure: Regenerate.
3535 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3537 * include/Makefile.am (c_base_headers_rename): New.
3538 (c_base_headers_extra): New.
3539 (stamp-c_base): Modify.
3540 (install-data-local): Use both.
3541 * include/Makefile.in: Regenerate.
3542 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3543 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3544 cstdio ctime cwctype]: Move to..
3545 * include/c/std_*: Here.
3546 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3547 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3548 cstdio ctime cwctype]: Move to..
3549 * include/c_std/std_*: Here.
3551 Alexandre Oliva <aoliva@redhat.com>
3552 * include/Makefile.am (.PRECIOUS): Add rule.
3553 * include/Makefile.in: Regenerate.
3555 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3556 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3558 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3559 Deuglify, should be current.
3560 (back_insert_iterator::_M_container): Deuglify, should be container.
3561 (front_insert_iterator::_M_container): Same.
3562 (insert_iterator::_M_container): Same.
3563 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3564 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3565 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3566 * testsuite/24_iterators/insert_iterator.cc: Same.
3568 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3570 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3572 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3573 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3574 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3575 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3576 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3577 * config/os/newlib/bits/ctype_noninline.h: Same.
3578 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3579 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3580 * config/os/hpux/bits/ctype_noninline.h: Same.
3581 * config/os/djgpp/bits/ctype_noninline.h: Same.
3582 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3583 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3584 * config/os/aix/bits/ctype_noninline.h: Same.
3586 Testcase by Dietmar Kühl via Peter Schmid
3587 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3590 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3592 * libmath/signbitl.c: Copyright years as list, not range.
3593 * libmath/Makefile.am: Same.
3594 * libmath/Makefie.in: Regenerate.
3595 * libmath/signbit.c: Same.
3596 * libmath/nan.c: Same.
3597 * libmath/copysignf.c: Same.
3598 * libmath/signbitf.c: Same.
3599 * testsuite/22_locale/money_get_members_char.cc: Same.
3600 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3601 * testsuite/22_locale/money_put_members_char.cc: Same.
3602 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3603 * testsuite/22_locale/time_get_members_char.cc: Same.
3604 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3605 * testsuite/22_locale/time_put_members_char.cc: Same.
3606 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3607 * testsuite/21_strings/nonmember.cc: Same.
3608 * testsuite/21_strings/compare.cc: Same.
3609 * testsuite/27_io/stringstream.cc: Same.
3610 * testsuite/27_io/stringbuf.cc: Same.
3611 * testsuite/27_io/filebuf.cc: Same.
3612 * testsuite/27_io/ios_manip_basefield.cc: Same.
3613 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3614 * include/bits/cpp_type_traits.h: Same.
3615 * include/bits/generic_shadow.h: Same.
3616 * include/bits/gslice_array.h: Same.
3617 * include/bits/gslice.h: Same.
3618 * include/bits/indirect_array.h: Same.
3619 * include/bits/slice_array.h: Same.
3620 * include/bits/sstream.tcc: Same.
3621 * include/bits/streambuf_iterator.h: Same.
3622 * include/bits/valarray_array.tcc: Same.
3623 * include/bits/valarray_meta.h: Same.
3624 * include/bits/valarray_array.h: Same.
3625 * config/os/mingw32/bits/ctype_noninline.h: Same.
3626 * config/os/mingw32/bits/ctype_base.h: Same.
3627 * config/os/hpux/bits/ctype_noninline.h: Same.
3628 * config/os/hpux/bits/ctype_base.h: Same.
3629 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3630 * config/os/gnu-linux/bits/ctype_base.h: Same.
3631 * config/os/generic/bits/ctype_noninline.h: Same.
3632 * config/os/generic/bits/ctype_base.h: Same.
3634 * libsupc++/tinfo.h: Tweaks.
3636 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3638 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3639 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3640 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3642 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3644 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3645 (num_put::do_put(void*)): Fix.
3646 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3647 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3648 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3649 long double, void, bool types.
3650 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
3652 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3653 Alexandre Oliva <aoliva@redhat.com>
3655 * libmath/Makefile.am (LINK): Add --tag CC.
3656 * libmath/Makefile.in: Regenerate.
3658 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3660 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
3661 of character to attribute mapping table.
3663 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
3665 * testsuite/26_numerics/c99_classification_macros_c.cc
3666 Remove dg-error and dg-excess-errors comments.
3668 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
3670 * include/bits/locale_facets.tcc (time_put::put): Correct output
3672 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
3673 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
3674 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
3675 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
3677 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
3679 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
3681 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
3682 Nathan Myers <ncm@cantrip.org>
3684 * include/bits/basic_string.h
3685 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
3686 temporaries (i.e., call _M_replace_safe) when possible.
3687 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
3688 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
3689 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
3690 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
3691 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
3692 * include/bits/basic_string.tcc
3693 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
3694 replace(__pos, __n1, __s, __n2).
3695 * testsuite/21_strings/replace.cc (test03): New testcases.
3697 * include/bits/basic_string.h (insert(__pos, __s, __n)):
3698 Adjust comparison wrt overflow.
3700 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3702 * include/Makefile.am (std_headers_rename): New variable.
3703 (install-data-local): Use it.
3704 * include/Makefile.in: Regenerate.
3706 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
3708 * include/bits/locale_facets.tcc (money_put::do_put(string):
3709 Correct output iterator value.
3710 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
3711 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3713 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3715 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
3718 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
3720 * include/Makefile.am (std_headers): Update list with new names.
3721 (stamp-std): Link to standardized name.
3722 * include/Makefile.in: Regenerate.
3724 * include/std/algorithm, include/std/bitset, include/std/complex,
3725 include/std/deque, include/std/fstream, include/std/functional,
3726 include/std/iomanip, include/std/ios, include/std/iosfwd,
3727 include/std/iostream, include/std/istream, include/std/iterator,
3728 include/std/limits, include/std/list, include/std/locale,
3729 include/std/map, include/std/memory, include/std/numeric,
3730 include/std/ostream, include/std/queue, include/std/set,
3731 include/std/sstream, include/std/stack, include/std/stdexcept,
3732 include/std/streambuf, include/std/string, include/std/utility,
3733 include/std/valarray, include/std/vector: Rename to...
3735 * include/std/std_algorithm.h, include/std/std_bitset.h,
3736 include/std/std_complex.h, include/std/std_deque.h,
3737 include/std/std_fstream.h, include/std/std_functional.h,
3738 include/std/std_iomanip.h, include/std/std_ios.h,
3739 include/std/std_iosfwd.h, include/std/std_iostream.h,
3740 include/std/std_istream.h, include/std/std_iterator.h,
3741 include/std/std_limits.h, include/std/std_list.h,
3742 include/std/std_locale.h, include/std/std_map.h,
3743 include/std/std_memory.h, include/std/std_numeric.h,
3744 include/std/std_ostream.h, include/std/std_queue.h,
3745 include/std/std_set.h, include/std/std_sstream.h,
3746 include/std/std_stack.h, include/std/std_stdexcept.h,
3747 include/std/std_streambuf.h, include/std/std_string.h,
3748 include/std/std_utility.h, include/std/std_valarray.h,
3749 include/std/std_vector.h: ...this.
3751 2002-01-11 Loren Rittle <ljrittle@acm.org>
3753 * include/Makefile.am (extra_target_headers): New list of all
3754 target files built with ad hoc naming rules.
3755 (stamp-*): Handle LN_S failure in manner portable across make
3757 (install-data-local): Install header files from human-maintained
3758 file lists and directory components instead of non-robust find.
3759 * include/Makefile.in: Rebuilt.
3761 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
3763 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3764 Check for zero-length negative sign before adding it to output
3766 (money_get::do_get(long double)): Return beg.
3767 * testsuite/22_locale/money_get_members_char.cc (test02): Add
3769 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3771 2002-01-10 David Seymour <seymour_dj@yahoo.com>
3774 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
3775 for _M_extract_float and _M_extract_int
3776 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
3777 (num_get<>::_M_extract_int): Likewise, all callers changed
3778 * testsuite/22_locale/num_get_members_char.cc: Testcase
3780 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3782 * libsupc++/exception (bad_exception): Add comment.
3783 * libsupc++/new (bad_alloc): Same.
3784 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
3786 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
3788 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
3789 that the destructors should be removed from the descriptions
3790 in the standard: writing them explicitly allows the vtable
3791 heuristic to work. For additional information see:
3792 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
3793 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
3794 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
3795 * libsupc++/exception (bad_exception::~bad_exception()):
3796 Reintroduce declaration.
3797 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
3798 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
3799 (bad_typeid::~bad_typeid()): Same.
3800 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
3801 Reintroduce definition.
3802 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
3803 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
3804 (bad_typeid::~bad_typeid()): Same.
3806 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
3808 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
3809 * include/Makefile.in: Regenerate.
3811 2002-01-09 Bo Thorsen <bo@suse.co.uk>
3813 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
3816 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
3820 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
3821 return value of _M_file->sync().
3822 (filebuf::showmanyc): Check for is_open.
3823 * include/std/fstream (filebuf::sync): Tweak.
3824 * testsuite/27_io/filebuf.cc: Tweak.
3826 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
3827 Brad Garcia <garsh@attbi.com>
3829 * testsuite/27_io/filebuf_members.cc: Add test.
3831 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
3832 Craig Rodrigues <rodrigc@mediaone.net>
3835 * po/Makefile.am (mkinstalldirs): Add.
3836 * po/Makefile.in: Regenerate.
3838 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
3840 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
3841 testsuite/lib/prune.exp: Delete lines ":In function ..." from
3843 * testsuite/23_containers/map_operators.cc: Remove
3844 dg-excess-errors comment.
3845 * testsuite/23_containers/set_operators.cc: Likewise.
3847 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
3849 * include/bits/stl_function.h: Remove two lines of comments;
3850 adjust copyright years.
3852 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
3854 * include/Makefile.am (std_headers): Remove cXXX from list.
3855 (c_base_srcdir): No bits subdirectory.
3856 (c_base_builddir): Same.
3857 (c_base_headers): Adjust names, add ciso646.
3858 (bits_headers): Remove std_xxx.h headers.
3859 * include/Makefile.in: Regenerate.
3861 * include/ext/iterator: Adjust includes.
3862 * include/ext/ropeimpl.h: Same.
3863 * include/ext/stl_hash_fun.h: Same.
3864 * include/ext/algorithm: Same.
3866 * include/backward/bvector.h: Adjust includes.
3867 * include/backward/vector.h: Same.
3868 * include/backward/strstream: Same.
3869 * include/backward/streambuf.h: Same.
3870 * include/backward/stack.h: Same.
3871 * include/backward/set.h: Same.
3872 * include/backward/queue.h: Same.
3873 * include/backward/multiset.h: Same.
3874 * include/backward/multimap.h: Same.
3875 * include/backward/map.h: Same.
3876 * include/backward/list.h: Same.
3877 * include/backward/iterator.h: Same.
3878 * include/backward/iostream.h: Same.
3879 * include/backward/iomanip.h: Same.
3880 * include/backward/fstream.h: Same.
3881 * include/backward/deque.h: Same.
3882 * include/backward/complex.h: Same.
3884 * include/bits/std_algorithm.h: Move to...
3885 * include/std/algorithm: ...here.
3886 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
3887 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
3888 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
3889 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
3890 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
3891 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
3892 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
3895 * include/c_std/bits/std_cassert.h: Move to...
3896 * include/c_std/cassert: Here.
3897 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
3898 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3899 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3900 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3901 std_cwctype.h: Same.
3902 * include/c_std/cmath: Adjust cmath.tcc include.
3903 * include/c_std/cstdlib: Adjust includes.
3904 * include/c_std/cwchar: Same.
3905 * include/c_std/ctime: Same.
3906 * include/c_std/cstring: Same.
3907 * include/c_std/cstdio: Same.
3908 * include/c_std/bits: Remove directory.
3910 * include/c/bits/std_cassert.h: Move to...
3911 * include/c/cassert: Here.
3912 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
3913 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
3914 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
3915 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
3916 std_cwctype.h: Same.
3917 * include/c/bits: Remove directory.
3919 * include/std/cwctype: Remove.
3920 * include/std/cwchar: Remove.
3921 * include/std/ctime: Remove.
3922 * include/std/cstring: Remove.
3923 * include/std/cstdlib: Remove.
3924 * include/std/cstdio: Remove.
3925 * include/std/cstddef: Remove.
3926 * include/std/cstdarg: Remove.
3927 * include/std/csignal: Remove.
3928 * include/std/csetjmp: Remove.
3929 * include/std/cmath: Remove.
3930 * include/std/clocale: Remove.
3931 * include/std/climits: Remove.
3932 * include/std/ciso646: Remove.
3933 * include/std/cfloat: Remove.
3934 * include/std/cerrno: Remove.
3935 * include/std/cctype: Remove.
3936 * include/std/cassert: Remove.
3938 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
3939 files and subsituting <xxx>.
3940 * include/bits/valarray_array.h: Same.
3941 * include/bits/stl_uninitialized.h: Same.
3942 * include/bits/stl_alloc.h: Same.
3943 * include/bits/stl_algobase.h: Same.
3944 * include/bits/sstream.tcc: Same.
3945 * include/bits/pthread_allocimpl.h: Same.
3946 * include/bits/ostream.tcc: Same.
3947 * include/bits/localefwd.h: Same.
3948 * include/bits/locale_facets.tcc: Same.
3949 * include/bits/locale_facets.h: Same.
3950 * include/bits/istream.tcc: Same.
3951 * include/bits/char_traits.h: Same.
3952 * include/bits/boost_concept_check.h: Same.
3953 * include/bits/basic_file.h: Same.
3954 * include/std/bitset: Same.
3955 * include/std/complex: Same.
3956 * include/std/fstream: Same.
3957 * include/std/functional: Same.
3958 * include/std/ios: Same.
3959 * include/std/iostream: Same.
3960 * include/std/ostream: Same.
3961 * include/std/sstream: Same.
3962 * include/std/streambuf: Same.
3963 * include/std/string: Same.
3964 * include/std/iterator: Same.
3965 * include/std/valarray: Same.
3967 * src/ios.cc: Adjust includes.
3968 * src/valarray-inst.cc: Same.
3969 * src/string-inst.cc: Same.
3970 * src/stl-inst.cc: Same.
3971 * src/stdexcept.cc: Same.
3972 * src/misc-inst.cc: Same.
3973 * src/localename.cc: Same.
3974 * src/locale-inst.cc: Same.
3975 * src/locale.cc: Same.
3976 * src/limits.cc: Same.
3977 * src/concept-inst.cc: Same.
3978 * src/complex_io.cc: Same.
3979 * src/codecvt.cc: Same.
3980 * src/bitset.cc: Same.
3981 * src/cmath.cc: Same.
3983 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
3985 * include/bits/stl_tree.h (rb_tree): Move to...
3986 * include/ext/rb_tree: ...here, new file.
3987 * include/Makefile.am (ext_headers): Add new file.
3988 * include/Makefile.in: Regenerate.
3989 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
3990 return_temporary_buffer, struct temporary_buffer): Move to...
3991 * include/ext/memory: ...here.
3992 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
3993 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
3994 * include/backward/tree.h: Include <ext/rb_tree), tweak.
3996 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
3998 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
3999 * include/ext/numeric: ...here, new file.
4000 * include/bits/stl_function.h (identity_element, unary_compose,
4001 binary_compose, compose1, compose2, identity, select1st,
4002 select2nd, project1st + helper, project2nd + helper,
4003 constant_void_fun + helper, constant_unary_fun + helper,
4004 costant_binary_fun + helper, constant0, constant1, constant2,
4005 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4006 * include/ext/functional: ...here, new file.
4007 * include/Makefile.am (ext_headers): Add new files.
4008 * include/Makefile.in: Regenerate.
4009 * testsuite/ext/headers.cc: Include <ext/numeric> and
4011 * include/backward/algo.h: Include <ext/numeric>, tweak.
4012 * include/backward/function.h: Include <ext/functional>, tweak.
4013 * include/ext/ropeimpl.h: Include <ext/numeric>.
4015 2002-01-03 Jeffrey A Law <law@redhat.com>
4017 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4018 __strtoull declarations with __extension__.
4020 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4022 * testsuite/lib/prune.exp: Correct regular expression for
4025 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4027 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4028 Change concept checks, as with lower_bound and PR 2054.
4029 * testsuite/ext/concept_checks.cc: Expand test to include those.
4031 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4033 * include/bits/boost_concept_check.h: Import some changes from
4034 upsteam (Boost) version.
4036 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4038 * include/bits/stl_algobase.h (copy_n + helpers,
4039 lexicographical_compare_3way + helpers): Move to...
4040 * include/ext/algorithm: ...here.
4041 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4042 helpers): Move to...
4043 * include/ext/memory: ...here, new file.
4044 * include/Makefile.am (ext_headers): Add new file.
4045 * include/Makefile.in: Regenerate.
4046 * testsuite/ext/headers.cc: Include <ext/memory>.
4047 * include/backward/algobase.h: Include <ext/memory> and
4048 <ext/algorithm>, tweak.
4049 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4050 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4052 2002-01-01 Roger Sayle <roger@eyesopen.com>
4054 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4055 equivalent ___builtin__ versions.
4057 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4058 are available in libstdc++ as the necessary stub implementations
4059 are provided by libmath/stubs.c.
4061 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4063 * configure.in: Add support for NetBSD cross compiles.
4064 * configure: Regenerate.