1 2002-09-22 Richard Henderson <rth@redhat.com>
3 * include/std/std_limits.h (__glibcpp_f32_round_error,
4 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
5 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
6 __glibcpp_float_round_error, __glibcpp_double_round_error,
7 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
8 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
9 (numeric_limits<char>::epsilon, round_error): Use constant 0.
10 (numeric_limits<float>::round_error): Use constant 0.5.
11 (numeric_limits<float>::round_style): Use round_to_nearest.
12 (numeric_limits<double>, numeric_limits<long double>): Similarly.
14 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
15 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
16 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
17 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
18 __glibcpp_long_double_is_iec559): Remove.
19 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
20 (numeric_limits<double>, numeric_limits<long double>): Similarly.
22 * include/std/std_limits.h (__glibcpp_integral_traps): New.
23 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
24 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
25 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
26 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
27 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
28 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
29 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
30 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
31 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
32 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
33 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
34 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
35 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
36 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
37 (numeric_limits<T>::is_modulo, T integral): Use true.
38 (numeric_limits<T>::is_bounded, T floating): Use true.
40 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
42 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
44 2002-09-18 Richard Henderson <rth@redhat.com>
46 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
48 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
50 * include/c_shadow: Remove.
51 * include/bits/generic_shadow.h: Remove.
52 * include/Makefile.am: Remove generic_shadow.h.
53 * acinclude.m4: Remove c_shadow references.
54 * aclocal.m4: Regenerate.
55 * configure: Regenerate.
57 * mkinclosure: Remove.
59 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
62 * include/ext/stl_rope.h (rope<>): Qualify dependent names
65 2002-09-16 Richard Henderson <rth@redhat.com>
67 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
68 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
69 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
70 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
71 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
72 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
73 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
74 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
75 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
76 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
77 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
78 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
79 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
80 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
81 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
82 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
83 __glibcpp_long_double_has_SNaN): Remove.
84 (__glibcpp_f128_is_iec559): True if IEEE.
85 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
86 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
87 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
88 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
89 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
90 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
91 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
92 (std::numeric_limits<double>): Similarly.
93 (std::numeric_limits<long double>): Similarly.
94 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
95 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
96 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
98 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
99 (test_denorm_min, test_qnan, test_is_iec559): New.
101 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
103 * testsuite/abi_check.cc: Pull shell fragments out into...
104 * config/abi/extract_symvers: ...here. New file.
105 * Makefile.am (check_abi): Change to match.
106 (new-abi-baseline): New target.
107 * Makefile.in: Regenerated.
109 2002-09-16 Richard Henderson <rth@redhat.com>
111 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
112 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
113 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
114 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
115 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
116 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
117 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
118 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
119 __glibcpp_long_double_has_denorm): Remove.
120 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
121 __glibcpp_long_double_denorm_min): Remove.
122 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
123 (std::numeric_limits<float>::denorm_min): Likewise.
124 (std::numeric_limits<double>): Similarly.
125 (std::numeric_limits<long double>): Similarly.
126 * src/limits.cc (__glibcpp_float_denorm_min,
127 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
129 2002-09-13 Andy Felt <afelt@uwsp.edu>
131 * docs/html/17_intro/howto.html: Update link.
133 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
135 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
136 * docs/html/faq/index.html: Whitespace fixes.
138 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
140 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
142 * libmath/Makefile.in: Regenerate.
143 * src/Makefile.am: Tweak comment.
144 * src/Makefile.in: Regenerate.
146 * config/locale/gnu/c_locale.h: Remove warnings.
147 Inject __uselocale into __gnu_cxx.
148 * config/locale/generic/c_locale.h: Match.
150 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
152 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
153 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
154 * config/locale/generic/c_locale.h (__convert_from_v): Add.
156 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
158 * include/bits/locale_facets.tcc (__convert_from_v):
159 Use __uselocale instead of setlocale for glibc 2.3+.
161 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
163 * src/Makefile.am (sources): Edit.
164 (target_sources): New.
165 (target_sources_extra): New.
166 * src/Makefile.in: Regenerate.
167 * acinclude.m4: Set CCODECVT_CC.
168 * aclocal.m4: Regenerate.
169 * configure: Regenerate.
170 * src/locale.cc: Move ctype definitions...
171 * src/ctype.cc: ...here. New file.
172 * src/locale.cc: Move codecvt definitions...
173 * src/codecvt.cc: ...here.
174 * config/generic/codecvt_members.cc: ...and here.
175 * config/gnu/codecvt_members.cc: ...and here.
176 * include/bits/codecvt.h: Tweak.
177 * include/bits/locale_facets: Tweak.
179 * src/bitset.cc: Correct license text.
180 * src/concept-inst.cc: Same.
181 * src/strstream.cc: Same.
182 * src/vterminate.cc: Same.
184 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
186 * include/bits/stl_vector.h (vector<>): Don't use a name with
187 different meanings before and after re-evaluation in the completed
189 * include/bits/basic_string.h (basic_string<>): Likewise.
190 * include/bits/stl_bvector.h (vector<bool>): Likewise.
191 * include/bits/stl_deque.h (std): Likewise.
192 * include/bits/stl_list.h (list<>): Likewise.
193 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
195 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
197 * include/bits/codecvt.h (class __codecvt_abstract_base):
198 Add __c_locale type _M_c_locale_codecvt member.
199 (class codecvt<char, char, mbstate_t>,
200 class codecvt<wchar_t, char, mbstate_t>): Add new
201 codecvt(__c_locale, size_t) constructor.
202 (codecvt_byname::codecvt_byname): Update.
203 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
204 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
205 constructor and ~codecvt() destructor; define
206 codecvt(__c_locale, size_t) constructor.
207 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
208 (codecvt::do_in): Ditto for mbsrtowcs call.
209 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
210 Tweak construction of codecvt facets.
212 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
214 * include/bits/locale_facets.tcc (__convert_from_v):
215 Replace strdup with ISO malloc and strcpy.
217 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
219 * docs/html/configopts.html: Change grouping. Note ABI impacts.
220 Update information for locale model defaults.
221 * docs/html/install.html: Update include directory
223 Update testing information.
224 Update linux issues for named locales.
225 * docs/html/abi.txt: Fix typos.
228 * src/misc-inst.cc: Add missing instantiations.
230 * testsuite/abi_check.cc: Make output results more verbose.
232 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
234 2002-09-07 Jakub Jelinek <jakub@redhat.com>
236 * config/locale/generic/messages_members.cc: Add specialization for
238 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
240 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
242 * include/bits/localefwd.h: Tweak formatting.
243 * docs/html/abi.txt: Add.
245 2002-09-06 Jakub Jelinek <jakub@redhat.com>
247 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
249 * config/cpu/sparc/atomicity.h: New file.
250 * config/cpu/sparc/sparc32/atomicity.h: Removed.
251 * config/cpu/sparc/sparc64/atomicity.h: Removed.
253 2002-09-06 Jakub Jelinek <jakub@redhat.com>
255 * config/os/gnu-linux/ctype_noninline.h
256 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
257 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
258 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
259 and return __ctype_b.
260 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
261 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
262 initialize using __ctype_{b,tolower,toupper}.
263 (ctype<char>::ctype(const mask*, bool, size_t)): If
264 _GLIBCPP_C_LOCALE_GNU, initialize using
265 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
266 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
268 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
269 Roland McGrath <roland@redhat.com>
272 * src/locale.cc (locale::locale(__s)): Use getenv instead
273 of setenv for the environment locale.
274 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
276 2002-09-05 Jakub Jelinek <jakub@redhat.com>
278 * config/abi/ia64-unknown-linux-gnu: Add.
279 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
280 * config/abi/alphaev67-unknown-linux-gnu: Add.
281 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
283 2002-09-05 Jonathan Wakely <jw@kayari.org>
285 * docs/html/Makefile: Use more portable shell wildcard.
286 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
287 * docs/html/configopts.html, docs/html/documentation.html,
288 docs/html/explanations.html, docs/html/install.html,
289 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
290 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
291 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
292 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
293 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
294 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
295 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
296 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
297 docs/html/27_io/howto.html, docs/html/ext/howto.html,
298 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
300 * docs/html/faq/index.txt: Regenerate.
302 2002-09-05 Jakub Jelinek <jakub@redhat.com>
304 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
305 Switch to _M_c_locale_ctype around btowc call.
306 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
307 Switch to _M_c_locale_ctype around mbsrtowcs call.
308 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
310 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
311 Switch to _M_c_locale_ctype around wcsrtombs call.
313 2002-09-05 Jakub Jelinek <jakub@redhat.com>
315 * config/locale/gnu/monetary_members.cc
316 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
317 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
318 __uselocale instead of setlocale for glibc 2.3.
320 2002-09-05 Jakub Jelinek <jakub@redhat.com>
322 * config/locale/generic/c++locale_internal.h: New header.
323 * config/locale/gnu/c++locale_internal.h: New header.
324 * config/locale/gnu/c_locale.cc: Include it.
325 * config/locale/gnu/collate_members.cc: Include it.
326 * config/locale/gnu/ctype_members.cc: Include it.
327 * config/locale/gnu/messages_members.cc: Include it.
328 * config/locale/gnu/monetary_members.cc: Include it.
329 * config/locale/gnu/numeric_members.cc: Include it.
330 * config/locale/gnu/time_members.cc: Include it.
331 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
333 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
335 * acinclude.m4: Include string.h when testing strcoll_l.
336 For glibc 2.3 provide __-prefixed prototypes.
337 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
338 * aclocal.m4, configure: Rebuilt.
340 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
342 * include/bits/locale_facets.h: Add declaration of specialization
344 * config/locale/gnu/messages_members.cc: Add specialization for
346 * config/locale/gnu/messages_members.h: Remove generic definition
349 2002-09-04 Richard Henderson <rth@redhat.com>
351 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
352 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
353 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
354 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
355 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
356 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
357 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
358 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
359 __glibcpp_long_double_has_infinity): Remove.
360 (std::numeric_limits<float>, std::numeric_limits<double>,
361 std::numeric_limits<long double>): Use __builtin_huge_val
362 to implement has_infinity and infinity().
363 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
364 __glibcpp_long_double_infinity): Remove.
366 2002-09-03 Richard Henderson <rth@redhat.com>
368 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
369 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
370 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
371 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
372 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
373 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
374 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
375 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
376 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
377 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
378 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
379 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
380 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
381 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
382 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
383 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
384 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
385 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
386 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
387 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
388 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
389 __glibcpp_float_digits10, __glibcpp_float_radix,
390 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
391 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
392 __glibcpp_float_max_exponent10, __glibcpp_double_min,
393 __glibcpp_double_max, __glibcpp_double_digits,
394 __glibcpp_double_digits10, __glibcpp_double_radix,
395 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
396 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
397 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
398 __glibcpp_long_double_max, __glibcpp_long_double_digits,
399 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
400 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
401 __glibcpp_long_double_min_exponent10,
402 __glibcpp_long_double_max_exponent,
403 __glibcpp_long_double_max_exponent10): Remove macros.
404 (std::numeric_limits<float>, std::numeric_limits<double>,
405 std::numeric_limits<long double>): Use protected float.h macros.
407 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
409 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
410 Fix spelling in comment.
411 * testsuite/Makefile.in: Regenerate.
412 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
413 than 'quote' and 'bslash'.
415 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
417 * acinclude.m4: Minor comment tweaks.
419 * docs/html/makedoc.awk: New file...
420 * docs/html/Makefile: ...called from here...
421 * docs/html/documentation.html: ...to help generate this.
423 * docs/html/21_strings/howto.html: Prepare for new entry.
424 * include/bits/basic_string.h: Initial basic_stirng hook for
425 doxygen. Remove trailing whitespace.
426 * include/bits/char_traits.h: Point to onlinedocs for new entry.
427 * include/bits/stringfwd.h: Add doxygen hooks for string and
430 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
432 * config/cpu/arm/cpu_limits.h: New file.
433 * configure.target: Use config/cpu/arm for XScale and StrongARM
436 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
438 * include/std/std_limits.h (__glibcpp_char_bits,
439 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
440 __glibcpp_long_long_bits, __glibcpp_float_bits,
441 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
442 compiler predifined macros.
443 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
446 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
448 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
449 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
450 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
451 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
452 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
453 __glibcpp_f64_infinity_bytes,
454 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
455 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
456 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
457 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
458 __glibcpp_f80_infinity_bytes,
459 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
460 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
461 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
462 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
463 __glibcpp_f96_infinity_bytes,
464 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
465 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
466 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
467 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
468 __glibcpp_f128_infinity_bytes,
469 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
470 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
471 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
472 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
473 __glibcpp_float_infinity_bytes,
474 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
475 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
476 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
477 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
478 __glibcpp_double_infinity_bytes,
479 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
480 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
481 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
482 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
483 __glibcpp_long_double_infinity_bytes,
484 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
485 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
486 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
487 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
489 (__glibcpp_word_bits, __glibcpp_word): Likewise.
490 (__glibcpp_byte): New typedef.
491 (__float_storage, __double_storage, __long_double_storage): New types.
492 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
493 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
495 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
496 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
497 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
498 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
501 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
502 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
503 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
504 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
505 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
506 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
509 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
511 * include/std/std_limits.h: Indent conditional macro definitions.
513 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
515 * Makefile.am (check-abi): Specify current directory.
516 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
517 abi_baseline_triplet in baseline_file.
518 * Makefile.in, aclocal.m4, configure: Regenerate.
519 * configure.target: Add abi_baseline_triplet with default.
520 * testsuite/abi_check.cc: More error checking.
522 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
524 * config/linker-map.gnu: Verbose comments, clean up spacing.
525 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
527 __allocator: Change class declaration to struct.
528 * docs/html/17_intro/C++STYLE: Fix typo.
529 * include/bits/stl_deque.h, include/bits/stl_list.h,
530 include/bits/stl_map.h, include/bits/stl_multimap.h,
531 include/bits/stl_vector.h: Fix fallout from typo.
533 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
535 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
536 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
538 * aclocal.m4: Regenerate.
539 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
541 * testsuite/Makefile.in: Regenerate.
543 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
545 * testsuite/abi_check.cc: Enhance shell portability.
546 Support older binutils/readelf.
547 * config/abi/i386-unknown-freebsd4.6: Add.
548 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
550 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
552 * docs/html/faq/index.html: Add Loren James Rittle and
553 Paolo Carlini to the list of v3 maintainers.
554 * docs/html/faq/index.txt: Ditto.
555 * docs/html/17_intro/RELEASE-NOTES: Ditto.
557 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
558 Phil Edwards <pme@gcc.gnu.org>
559 Ulrich Drepper <drepper@redhat.com>
561 * Makefile.am (check-abi): New rule.
562 * Makefile.in: Regenerate.
563 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
564 * aclocal.m4: Regenerate.
565 * configure: Regenerate.
566 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
567 (abi_check_SOURCES): Add.
568 * testsuite/Makefile.in: Regenerate.
569 * testsuite/abi_check.cc: New file.
571 * config/abi/i686-pc-linux-gnu: Add.
572 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
574 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
576 * configure.in (libtool_VERSION): Update to 5:1:0.
577 * configure: Regenerate.
579 2002-08-19 Jonathan Wakely <jw@kayari.org>
581 * docs/html/configopts.html, docs/html/documentation.html,
582 docs/html/install.html, docs/html/22_locale/codecvt.html,
583 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
584 docs/html/22_locale/locale.html,
585 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
587 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
589 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
590 _M_buf_size_opt to zero when unbuffering.
591 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
592 Consistency checks for _M_buf_size_opt.
594 Revert PR libstdc++/7445
595 * src/locale.cc (locale::classic): Revert.
597 * docs/html/17_intro/TODO: Add.
599 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
601 * docs/html/documentation.html: Update doxygen links for 3.2.
603 2002-08-15 Steve Ellcey <sje@cup.hp.com>
605 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
606 type from void* to _Unwind_Ptr.
607 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
608 Do not cast landing_pad or base_of_encoded_value to (void *).
609 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
610 Accept _URC_NO_REASON as a valid reason code.
612 2002-08-14 Jonathan Wakely <jw@kayari.org>
614 * docs/html/22_locale/messages.html: Use HTML entities for
617 2002-08-13 Jonathan Wakely <jw@kayari.org>
618 Phil Edwards <pme@gcc.gnu.org>
620 * docs/html/documentation.html: Use HTML entities for punctuation.
622 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
624 * include/bits/deque.tcc, include/bits/list.tcc,
625 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
626 include/bits/stl_list.h, include/bits/stl_map.h,
627 include/bits/stl_multimap.h, include/bits/stl_queue.h,
628 include/bits/stl_stack.h, include/bits/stl_vector.h,
629 include/bits/vector.tcc: Re-indent contents of namespace std,
630 re-wrap comment lines as necessary.
632 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
633 Benjamin Kosnik <bkoz@redhat.com>
635 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
637 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
639 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
641 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
642 * libsupc++/Makefile.in: Regenerate.
644 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
647 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
648 Instantiate with new function objects.
649 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
651 * include/bits/gslice_array.h: Likewise.
652 * include/bits/indirect_array.h: Likewise.
654 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
656 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
657 testsuite/26_numerics/valarray_name_lookup.C
659 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
660 object function surrogates.
661 * include/bits/valarray_meta.h (__shift_left): Fix typo.
662 (_BinFunClos<>): Remove.
663 (_BinFunBase<>): Likewise.
664 (_BinFunBase1<>):Likewise.
665 (_BinFunBase2<>): Likewise.
666 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
667 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
668 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
669 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
670 * include/std/std_valarray.h: Dont #include <functional> anymore.
671 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
672 _Shift_right<>): Remove.
673 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
674 (_DEFINE_BINARY_OPERATOR): Tweak definition.
675 (_DEFINE_LOGICAL_OPERATOR): Remove.
676 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
678 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
680 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
681 (_UnFunClos<>): Same.
682 (_UnBase<>): Reformat. Make first template-parameter non
684 (_UnClos<>): Likewise.
685 (_Expr<>): Reformate. Adjust unary member operator return types.
686 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
687 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
688 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
689 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
690 operator return types. Reformat.
691 (_Bitwise_not): Remove.
692 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
693 * testsuite/26_numerics/valarray_name_lookup.C: New test.
695 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
697 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
698 (scan_is): Use this->is.
699 (scan_not): Likewise.
701 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
703 Revert PR libstdc++/6594
704 * src/strstream.cc (strstreambuf): Revert.
705 (strstreambuf::overflow): Same.
706 (strstreambuf::~strstreambuf): Same.
707 * testsuite/backward/strstream_members.cc (test02): Add.
709 * docs/html/abi.txt: Update. Spell check.
711 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
713 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
714 * testsuite/Makefile.in: Regenerate.
715 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
716 include functexcept.h so that -fno-exceptions will build.
718 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
720 * include/bits/valarray_meta.h (__unary_plus, __negate,
721 __bitwise_not, __plus, __minus, __multiplies, __divides,
722 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
723 __shift_left, __shift_right, __logical_and, __logical_or,
724 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
725 __greater_equal, __greater, __atan2, __pow): New function object
727 (__fun<>): New function traits class.
729 2002-08-01 Rick Danos <rdanos@hotmail.com>
732 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
733 * config/os/newlib/ctype_inline.h (is): Use static_cast.
735 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
737 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
738 * libsupc++/Makefile.in: Regenerate.
740 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
741 Jakub Jelinek <jakub@redhat.com>
743 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
744 GLIBCPP_3.1 to GLIBCPP_3.2.
746 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
747 Mark Mitchell <mark@codesourcery.com>
750 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
752 (__class_type_info): And here.
754 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
758 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
759 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
760 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
761 (__vmi_class_type_info::__base_info): Don't make const, of type
762 __base_class_type_info, as per 2.9.5p6c
763 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
765 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
767 (__pointer_to_member_type_info::__context_class): Change member to
768 __context, as per 2.9.5p9.
769 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
771 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
773 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
775 * libsupc++/tinfo.cc (__do_dyncast): Same.
776 * libsupc++/tinfo.cc (__do_upcast): Same.
778 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
780 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
782 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
784 * docs/html/22_locale/howto.html: Fix.
786 2002-07-31 Alex Kompel <shurik@sequoiap.com>
789 * src/locale.cc (locale::classic): Move locks inside !_S_classic
792 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
794 * docs/html/abi.txt: Update.
796 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
797 Gabriel Dos Reis <gdr@nerim.net>
799 * include/bits/char_traits.h: Remove generic definitions.
800 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
802 * include/bits/istream.tcc (istream::readsome): Don't check
803 against eof, instead use constants.
804 (istream::sync): Same.
805 (istream::sentry::sentry): Use eq_int_type.
806 (istream::get): Same.
807 * include/bits/ostream.tcc: Change __pad to
808 __pad<_CharT, _Traits>::_S_pad.
809 * include/bits/locale_facets.h: Add __pad_traits generic and
810 ostreambuf_iterator specialization.
811 * include/bits/locale_facets.tcc: Change __pad into struct __pad
812 with a _CharT and _Traits template parameter and _S_pad static
814 * src/locale-inst.cc: Update __pad instantiations.
816 * include/std/std_fstream.h: Declare _M_underflow_common
818 * src/fstream.cc: New. Add _M_underflow_common specializations.
819 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
820 (filebuf::_M_underflow_common(bool)): Remove generic version, as
821 sys_ungetc and custom int_types don't get along.
822 * include/std/std_streambuf.h: Add _M_pos.
823 * src/Makefile.am (sources): Add fstream.cc.
824 * src/Makefile.in: Regenerate.
826 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
827 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
828 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
829 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
830 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
831 * testsuite/27_io/filebuf.cc: ...here.
832 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
833 specialization for both.
834 * testsuite/27_io/streambuf.cc: Add instantiation test,
835 testsuite_hooks include.
836 * testsuite/27_io/istream.cc: Same.
837 * testsuite/27_io/ostream.cc: Same.
838 * testsuite/27_io/fstream.cc: Same.
839 * testsuite/27_io/stringstream.cc: Same.
840 * testsuite/27_io/filebuf.cc: Same.
841 * testsuite/27_io/stringbuf.cc: Same.
843 2002-07-29 Alan Modra <amodra@bigpond.net.au>
845 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
846 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
847 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
848 (__test_and_set): Remove.
849 (_STWCX): Define and use.
851 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
853 * libsupc++/new (placement delete): Remove unused parameter names.
855 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
858 * include/std/std_istream.h (basic_iostream): Add typedefs for
859 char_type, int_type, pos_type, off_type, and traits_type.
860 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
861 * testsuite/27_io/istream.cc: Same.
862 * testsuite/27_io/ostream.cc: Same.
863 * testsuite/27_io/filebuf.cc: Same.
864 * testsuite/27_io/stringbuf.cc: Replace content, move to...
865 * testsuite/27_io/stringbuf_members.cc: ...here.
866 * testsuite/27_io/streambuf.cc: Replace content, move to...
867 * testsuite/27_io/streambuf_members.cc: ...here.
868 * testsuite/27_io/stringstream.cc: Replace content, move to...
869 * testsuite/27_io/stringstream_members.cc: ...here.
870 * testsuite/27_io/ios.cc: New file.
871 * testsuite/27_io/fstream.cc: New file.
872 * testsuite/27_io/ifstream.cc: New file.
873 * testsuite/27_io/ofstream.cc: New file.
874 * testsuite/27_io/istringstream.cc: New file.
875 * testsuite/27_io/ostringstream.cc: New file.
877 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
880 * include/bits/istream.tcc (istream::ignore): Don't extract on
882 * testsuite/27_io/istream_unformatted.cc (test10): Add.
884 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
886 * testsuite/27_io/ios_base_type.cc: Move to...
887 * testsuite/27_io/ios_base_types.cc: ...here.
889 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
892 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
893 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
895 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
898 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
899 * include/Makefile.am (backward_headers): Use strstream, not
901 * include/Makefile.in: Regenerate.
902 * include/backward/strstream: Revert.
903 * include/backward/strstream.h: Remove.
904 * src/strstream.cc: Revert.
905 * testsuite/backward/strstream_members.cc: Change include.
907 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
910 * include/bits/ios_base.h (ios_base::streampos): Add.
911 (ios_base::streamoff): Add.
912 * testsuite/27_io/ios_base_type.cc: New.
914 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
917 * libsupc++/new: Add placement delete.
918 * testsuite/18_support/new_delete_placement.cc: New.
920 * docs/html/abi.txt: Fix typos.
922 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
924 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
925 confusing usage of "latest."
926 De-tangle contributor information from introductory notes.
927 Move abi.txt link placement, activate.
929 Move chapter info into old FAQ format.
930 * docs/html/organization.html: Removed, obsoleted by doxygen work.
931 * docs/html/abi.txt: Add notes on testing ABI changes.
933 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
935 * docs/html/abi.txt: New file.
936 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
937 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
938 Import from upstream, R22.
940 * include/bits/char_traits.h, include/bits/stl_iterator.h,
941 include/bits/stl_iterator_base_types.h, libsupc++/exception,
942 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
944 * include/bits/deque.tcc, include/bits/stl_alloc.h,
945 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
946 of deprecated functions until 3.4. (Same timeframe, different text.)
947 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
948 the other sequence classes received.
950 2002-07-18 Brendan Kehoe <brendan@zen.org>
952 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
955 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
958 * include/bits/slice_array.h
959 (slice_array<T>::operator=(const T&)): Constify.
960 * include/bits/gslice_array.h
961 (gslice_array<T>::operator=(const T&)): Likewise.
962 * include/bits/mask_array.h
963 (mask_array<T>::operator=(const T&)): Likewise.
964 * include/bits/indirect_array.h
965 (indirect_array<T>::operator=(const T&): Likewise.
967 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
969 * docs/doxygen/run_doxygen: Remove template parameter names from
970 "Compound List" summary page. Reformat.
971 * docs/html/documentation.html: XHTML fixes.
973 2002-07-16 Andreas Schwab <schwab@suse.de>
975 * libsupc++/new (set_new_handler): Declare to not throw any
977 * libsupc++/new_handler.cc (set_new_handler): Likewise.
979 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
981 * include/Makefile.am (bits_headers): Remove slice.h
982 * include/Makefile.in: Regenerate.
983 * include/bits/slice.h (slice): move to include/bits/slice_array.h
984 * include/bits/slice.h Remove.
985 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
986 * include/bits/slice_array.h: Comply to official coding styles.
987 * testsuite/26_numerics/slice.cc: New test.
989 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
991 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
992 print to match vendor <ctype.h>.
994 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
996 * docs/html/faq/index.html: Fix download links.
997 * docs/html/faq/index.txt: Regenerate.
998 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1000 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1002 * configure.target (target_os switch): Allow for irix6*o32
1005 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1007 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1008 template parameter. Remove _M_func data member.
1009 (_UnFunClos): Take a third template parameter.
1010 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1011 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1012 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1014 2002-07-08 Eric Christopher <echristo@redhat.com>
1016 * configure.target: Fix comment for mips atomicity. Add
1017 mips*-*-linux* target, enable atomic operations there.
1018 * config/cpu/mips/atomicity.h: Fix comments, remove
1019 #ifndef/#endif. Add push/pop mips2.
1021 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1023 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1024 member declarations to avoid compiler warnings and restore 3.1 ABI.
1026 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1028 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1031 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1034 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1035 Make non-member, as already happens for the comparison
1036 operators in accord with DR179 (Ready).
1037 * testsuite/23_containers/deque_operators.cc: Add test02.
1039 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1040 Jack Reeves <jackw_reeves@hotmail.com>
1042 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1043 size_t, from int_type.
1044 (basic_streambuf::_M_buf_size_opt): Same.
1045 (basic_streambuf::_S_pback_sizex): Same.
1046 * include/bits/streambuf.tcc: Same.
1047 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1049 (basic_streambuf::uflow): Same.
1050 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1052 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1053 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1055 (basic_streambuf::xsputn): Same.
1056 (__copy_streambufs): Same.
1058 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1060 * include/std/std_memory.h: Fix formatting.
1061 * testsuite/20_util/auto_ptr_neg.cc: New.
1062 * testsuite/20_util/auto_ptr.cc: Tweaks.
1063 * testsuite/23_containers/map_operators.cc (test01): Split into..
1064 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1065 * testsuite/23_containers/set_operators.cc: Move to...
1066 * testsuite/23_containers/set_operators_neg.cc: ...here.
1067 * testsuite/README: Add some more naming rules.
1069 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1072 * include/ext/stl_hashtable.h: Fix.
1073 * testsuite/ext/hash_map.cc: New.
1075 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1076 Kenny Simpson <theonetruekenny@yahoo.com>
1077 Phil Edwards <pme@gcc.gnu.org>
1080 * testsuite/20_util/auto_ptr.cc (test08): New test.
1081 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1082 (auto_ptr::operator auto_ptr_ref): Fix typo.
1083 General reformatting and doxygenating of the whole file.
1085 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1088 * include/c/std_cwchar.h: Fix.
1090 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1093 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1094 char* name parameter.
1095 * config/locale/gnu/monetary_members.cc: Use it.
1096 * config/locale/generic/monetary_members.cc: Same.
1097 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1099 * include/backward/strstream.h: Update date.
1101 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1104 * include/bits/stl_iterator.h
1105 (__normal_iterator::operator-(const __normal_iterator&)):
1106 Make non-member, as already happens for the comparison
1107 operators in accord with DR179 (Ready).
1108 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1110 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1113 * acinclude.m4: Simplify determination of gcc_version, and move
1114 up to GLIBCPP_CONFIGURE.
1115 * configure.in (release_VERSION): Really remove.
1116 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1117 * aclocal.m4, configure: Regenerate.
1119 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1121 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1122 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1123 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1124 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1126 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1128 * include/backward/strstream: Remove namespace std. Transfer to...
1129 * include/backward/strstream.h: ...here. Qualify std names.
1130 * src/strstream.cc: Remove namespace std.
1131 * include/Makefile.am (backward_headers): Remove strstream.h.
1132 * include/Makefile.in: Regenerate.
1133 * config/linker-map.gnu: Export strstream bits.
1135 * src/fstream-inst.cc: Tweak.
1136 * src/io-inst.cc: Same.
1137 * src/istream-inst.cc: Same.
1138 * src/misc-inst.cc: Same.
1139 * src/ostream-inst.cc: Same.
1140 * src/sstream-inst.cc: Same.
1141 * src/valarray-inst.cc: Same.
1142 * src/misc-inst.cc: Remove unused instantiations.
1144 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1146 * configure.in (libtool_VERSION): Bump to 5:0:0.
1147 * configure: Regenerate.
1149 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1151 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1152 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1153 * include/std/std_stack.h: Include deque.tcc.
1154 * testsuite/23_containers/adaptors.cc: New file.
1156 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1158 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1159 * docs/html/ext/howto.html: Update allocator notes.
1161 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1163 * configure.in (INTERFACE): Remove.
1164 (release_VERSION): Remove.
1165 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1166 (libstdcxx_interface): Change. Use gcc methods to determine version.
1167 * configure: Regenerate.
1168 * aclocal.m4: Regenerate.
1170 2002-06-25 DJ Delorie <dj@redhat.com>
1172 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1173 GLIBCPP_TOPREL_CONFIGURE.
1174 * aclocal.m4: Likewise.
1175 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1176 * configure: Regenerate.
1178 2002-06-25 Jessica Han <jessica@cup.hp.com>
1180 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1181 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1182 _GLIBCPP_VTABLE_PADDING is defined.
1184 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1186 * include/bits/stl_alloc.h: Additional formatting.
1188 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1190 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1192 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1194 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1195 * config/os/*/bits/*: Likewise.
1196 * configure.in: Update.
1197 * configure: Regenerate.
1198 * configure.target: Update.
1199 * docs/html/17_intro/porting.texi: Update.
1201 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1203 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1204 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1205 complete doxygenation.
1206 * include/bits/boost_concept_check.h: Minor comment.
1208 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1210 * include/c_compatibility: New.
1211 * include/c_compatibility/assert.h: New.
1212 * include/c_compatibility/ctype.h: New.
1213 * include/c_compatibility/errno.h: New.
1214 * include/c_compatibility/float.h: New.
1215 * include/c_compatibility/iso646.h: New.
1216 * include/c_compatibility/limits.h: New.
1217 * include/c_compatibility/locale.h: New.
1218 * include/c_compatibility/math.h: New.
1219 * include/c_compatibility/setjmp.h: New.
1220 * include/c_compatibility/signal.h: New.
1221 * include/c_compatibility/stdarg.h: New.
1222 * include/c_compatibility/stddef.h: New.
1223 * include/c_compatibility/stdio.h: New.
1224 * include/c_compatibility/stdlib.h: New.
1225 * include/c_compatibility/string.h: New.
1226 * include/c_compatibility/time.h: New.
1227 * include/c_compatibility/wchar.h: New.
1228 * include/c_compatibility/wctype.h: New.
1230 * include/c/std_cerrno.h: Get out of the way... define errno.
1231 * include/c/std_cmath.h: Add abs, modf overloads.
1232 Undefine C99 isms. Still not sure how to deal with this sanely.
1233 * include/c/std_csetjmp.h: Tweak.
1234 * include/c/std_cwchar.h: Include cstddef for size_t.
1236 * include/c_std/std_cmath.h: Remove extra function.
1238 Pendantic std usage in testsuites.
1239 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1241 * testsuite/17_intro/header_cwchar.cc: Tweak.
1242 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1244 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1245 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1246 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1247 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1248 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1249 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1250 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1251 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1252 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1253 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1254 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1255 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1256 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1257 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1258 * testsuite/22_locale/num_get_members_char.cc: Same.
1259 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1260 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1261 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1262 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1263 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1264 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1265 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1266 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1267 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1268 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1269 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1270 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1272 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1274 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1277 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1279 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1280 Use size_type instead of unsigned long.
1282 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1284 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1286 (_S_min_len): Ditto.
1288 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1290 * include/Makefile.am: Add rules.
1291 * include/Makefile.in: Regenerate.
1293 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1294 * aclocal.m4: Regenerate.
1295 * configure: Regenerate.
1296 * configure.target (c_model, c_compatibility): Add.
1298 * libsupc++/Makefile.am (c_sources): New.
1299 (libsupc___la_SOURCES): Add c_sources.
1300 (LTCOMPILE): Remove INCLUDES.
1301 (GCC_INCLUDES): New.
1302 (C_COMPILE): New, like COMPILE but without INCLUDES.
1303 (cxa_demangle.o): Use C_COMPILE.
1304 (dyn-string.o): Use C_COMPILE.
1306 * include/c/std_cstdarg.h: Define __need___va_list.
1307 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1308 need_NULL, need_offsetof.
1310 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1312 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1313 definitions in hpux11 cross-build because these functions do
1314 not exist on hpux11 (but some exist on hpux10); move defaults out
1315 into existing sections.
1316 * configure: Regenerate.
1318 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1320 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1321 * include/c/std_cwctype.h: Guard.
1323 * libsupc++/eh_alloc.cc: Tweak include order.
1324 * libsupc++/pure.cc: Use cstdio.
1325 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1326 cstdlib brings it in. Use std::malloc.
1328 * src/Makefile.am (sources): Remove cmath.cc.
1329 * src/Makefile.in: Regenerate.
1330 * src/cmath.cc: Remove.
1332 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1334 * configure.target: Force mips to use the generic cpu routines.
1336 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1338 * configure.host: Delete file.
1339 * configure.target: More documentation. Factor out common parts of
1340 script into "intelligent" settings about defaults. Remove redundancy.
1342 * acinclude.m4: Update comments. Do not call configure.host.
1343 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1345 * configure.in: Slight reformatting, more comments. Factor out
1346 "config/" from all the directories.
1347 * docs/html/17_intro/porting.texi: Update and expand.
1348 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1349 from configure.host.
1351 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1352 testsuite/Makefile.in: Regenerate.
1354 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1356 * docs/doxygen/TODO: Update.
1357 * docs/doxygen/tables.html: Uncomment magical middle column.
1358 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1359 * include/bits/stl_queue.h: Doxygenate and reformat.
1360 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1361 for deprecated names required by the standard.
1363 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1365 * configure.in (target_alias): Fix.
1366 * configure: Regenerate.
1367 * aclocal.m4: Regenerate.
1369 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1371 * include/Makefile.am: Add new files.
1372 * include/Makefile.in: Regenerate.
1374 * include/bits/stl_deque.h, include/bits/stl_list.h,
1375 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1376 * include/bits/deque.tcc, include/bits/list.tcc,
1377 include/bits/vector.tcc: ...to here. New files.
1379 * include/ext/stl_hashtable.h: Inclide correct full headers.
1380 * include/std/std_deque.h: Include .tcc files for now.
1381 * include/std/std_list.h: Likewise.
1382 * include/std/std_vector.h: Likewise.
1384 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1386 * Makefile.am: Add FLAGS_TO_PASS.
1387 * Makefile.in: Regenerated.
1389 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1390 Benjamin Kosnik <bkoz@redhat.com>
1392 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1394 * configure.in: Add support for *-qnx6.[12]*.
1395 * configure: Regenerate.
1397 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1399 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1400 ctype_noninline.h, os_defines.h: New files.
1402 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1404 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1405 include all required headers for test against older POSIX standard.
1406 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1407 (ac_setrlimit): Likewise.
1408 * aclocal.m4: Regenerate.
1409 * configure: Regenerate.
1410 * testsuite/testsuite_hooks.cc: Reorder and include all
1411 required headers for use against older POSIX standard.
1413 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1415 * testsuite/backwards/strstream_members.cc: New.
1417 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1419 * include/backwards/strstream: Format.
1420 * src/strstream.cc: Format.
1422 2002-06-08 Andreas Schwab <schwab@suse.de>
1424 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1425 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1427 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1429 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1431 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1433 * src/locale-inst.cc (__codecvt_abstract_base):
1434 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1435 * include/bits/istream.tcc (basic_istream): Ditto.
1438 * include/bits/ostream.tcc (basic_ostream): Ditto.
1442 (operator<<): Ditto.
1444 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1446 * mkcheck.in: Link against local testsuite library.
1447 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1448 implementation out...
1449 * testsuite/testsuite_hooks.cc: ...to here.
1451 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1453 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1454 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1455 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1456 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1457 * testsuite/Makefile.in: Likewise.
1459 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1461 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1462 Call external symbol.
1464 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1466 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1467 Search correct multilib testsuite dir for libv3test.
1469 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1470 Gaby Dos Reis <gdr@codesourcery.com>
1472 * include/bits/basic_string.tcc
1473 (basic_string::_S_construct(forward_iterator_tag):
1474 Fix typo in null pointer check.
1475 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1477 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1479 * testsuite/22_locale/money_get_members_char.cc
1480 (test02): Add decimal point to long double constants.
1481 * testsuite/22_locale/money_get_members_wchar_t.cc
1483 * testsuite/22_locale/money_put_members_char.cc
1484 (test02, test03, test06): Likewise.
1485 * testsuite/22_locale/money_put_members_wchar_t.cc:
1486 (test02, test03, test06): Likewise.
1487 * testsuite/22_locale/num_get_members_char.cc:
1488 (test02, test01): Likewise; suffix long long constants with LL.
1489 * testsuite/22_locale/num_get_members_wchar_t.cc:
1490 (test02, test01): Likewise.
1491 * testsuite/22_locale/num_put_members_char.cc:
1492 (test02, test01): Likewise.
1493 * testsuite/22_locale/num_put_members_wchar_t.cc:
1494 (test02, test01): Likewise.
1496 2002-06-03 Marc Espie <espie@openbsd.org>
1498 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1499 assembly for old assemblers.
1501 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1503 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1505 (vector<bool>::swap(reference,reference)): ...to this.
1507 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1509 * docs/doxygen/TODO: Update.
1510 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1511 some class members are in 14882 order.
1512 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1514 * include/std/std_bitset.h: Update comment.
1515 * src/bitset.cc: Update comments, clean up spacing.
1517 * src/Makefile.am (sources): Alphabetize for convenience.
1518 * src/Makefile.in: Regenerate.
1520 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1522 * include/bits/stl_deque.h, include/bits/stl_list.h,
1523 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1524 Reorder to match 14882. Doxygen blocks for all public members.
1526 2002-05-31 Marcus Meissner <meissner@suse.de>
1529 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1530 * testsuite/23_containers/vector_bool.cc (test02): New test.
1532 2002-05-30 Marc Espie <espie@openbsd.org>
1534 * configure.in: Always check for sys/types.h
1535 * configure: Regenerate.
1537 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1539 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1540 Rebuild the wrapper file every time this proc is called.
1542 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1544 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1546 * testsuite/Makefile.in: Regenerate.
1547 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1548 list_modifiers.cc and rename from 'T'. Move code bodies...
1549 * testsuite/testsuite_hooks.cc: ...to here. New file.
1550 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1551 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1552 Add libv3test.a to link options.
1554 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1556 * src/misc-inst.cc: Define unnecessary algorithm
1557 instantiations. Break apart instantiations into groupings below.
1558 * src/fstream-inst.cc: New.
1559 * src/io-inst.cc: New.
1560 * src/istream-inst.cc: New.
1561 * src/ostream-inst.cc: New.
1562 * src/streambuf-inst.cc: New.
1563 * src/sstream-inst.cc: New.
1564 * src/Makefile.am (sources): Add files.
1565 * src/Makefile.in: Regenerate.
1567 * acinclude.m4: Work around automake 1.4-p5 bug, change
1568 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1570 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1573 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1574 (classic_table): Fix.
1575 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1577 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1579 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1580 _GLIBCPP_USE_WCHAR_T.
1581 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1582 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1583 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1585 2002-05-26 Carlo Wood <carlo@alinoe.com>
1586 Paolo Carlini <pcarlini@unitus.it>
1589 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1590 (__enc_traits::operator=): add missing return statement.
1592 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1595 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1596 (operator>>): If nothing was extracted, don't fail in the
1598 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1600 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1603 * testsuite/22_locale/ctype_narrow_char.cc: New.
1604 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1605 * testsuite/22_locale/ctype_widen_char.cc: New.
1606 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1607 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1608 * testsuite/22_locale/ctype_is_char.cc: ...this.
1609 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1610 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1611 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1612 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1614 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1616 2002-05-24 Dale Peakall <dale@peakall.net>
1619 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1620 * config/locale/generic/ctype_members.cc: Same.
1622 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1625 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1626 for empty string literal.
1627 (ostream::operator<<(const _CharT*)): Same.
1628 (ostream<char>::operator<<(const char*)): Same.
1629 (ostream<char>::operator<<(streambuf*)): Same.
1630 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1631 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1633 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1635 * configure.in (release_VERSION): Update to 3.1.1.
1636 (libtool_VERSION): Update to 4:1:0.
1637 * configure: Regenerate.
1639 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1641 * include/bits/stl_pair.h: Tweak comment markup.
1643 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1645 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1647 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1649 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1651 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1653 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1654 Doxygenate all public members. Reorder to follow 14882.
1655 (vector::push_back(void)): Remove previously-deprecated fn.
1656 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1657 Deprecate for removal in 3.3.
1659 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1661 * docs/html/faq/index.html (5.4): Recommend against -I options for
1662 finding the ext headers.
1663 * docs/html/faq/index.txt: Regenerate.
1665 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1667 * testsuite/23_containers/deque_operators.cc (test01):
1668 Fix minor typo in last commit.
1670 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1673 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1674 operator!=, operator<, operator>, operator>=, operator<=):
1675 Make non-member functions, to allow comparing const and
1676 non-const iterators in any order.
1677 * testsuite/23_containers/deque_operators.cc: New testfile.
1679 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1681 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1682 * docs/html/faq/index.txt: Regenerate.
1684 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1686 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1687 * acinclude.m4: Likewise.
1688 * docs/html/Makefile: Likewise.
1689 * aclocal.m4: Regenerate.
1690 * configure: Regenerate.
1691 * Makefile.in: Regenerate.
1693 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1696 * include/bits/c++config (__USE_MALLOC): Report case where
1697 the user improperly defined it on the command line.
1699 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1701 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1702 Retrieve current limits before setting.
1704 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1707 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1709 (ostream::operator<<(const _CharT*)): Same.
1710 (ostream<char>::operator<<(const char*)): Same.
1711 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1713 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1716 * src/strstream.cc (strstreambuf): Fix leak.
1718 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1721 * include/bits/istream.tcc (istream::getline, ignore):
1722 Upon __idelim (__delim) call sbumpc() not snextc().
1723 * testsuite/27_io/narrow_stream_objects.cc:
1724 Add test08 and test09.
1726 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1728 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1729 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1731 * docs/html/install.html: Fix.
1733 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1735 * include/bits/fstream.tcc
1736 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1738 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1740 * docs/html/install.html: Tweak, add bits about required locales
1741 for the 22_locale tests when using the gnu model.
1743 * testsuite/27_io/istream_sentry.cc: Tweak.
1745 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1747 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1748 Fix typo, use this->is() rather than manually (and perhaps
1749 incorrectly) inlining it.
1750 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1752 * testsuite/22_locale/ctype_scan_char.cc: New file.
1754 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1755 Jakub Jelinek <jakub@redhat.com>
1757 * testsuite/22_locale/money_get_members_char.cc
1758 (test01, test02, test04): Use the de_DE@euro named locale
1759 instead of de_DE to allow for an uniform behaviour with
1760 both old and Euro-era localedata; tweak some tests.
1761 * testsuite/22_locale/money_get_members_wchar_t.cc
1762 (test01, test02, test04): Likewise.
1763 * testsuite/22_locale/money_put_members_char.cc
1764 (test01, test02, test04): Likewise.
1765 * testsuite/22_locale/money_put_members_wchar_t.cc
1766 (test01, test02, test04): Likewise.
1768 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1770 * testsuite/22_locale/codecvt_members_char_char.cc
1771 (test03): Robustify wrt localedata.
1772 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1773 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1774 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1775 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1776 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1777 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1778 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1779 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1780 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1781 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1782 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1783 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1784 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1785 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1786 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1787 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1788 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1789 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1790 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1791 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1792 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1793 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1795 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1797 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1800 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1802 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1803 to 64 for hppa 64-bit port.
1804 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1806 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1808 * acinclude.m4 (enable_symvers): Quote $LD.
1809 * aclocal.m4: Regenerate.
1810 * configure: Likewise.
1812 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1814 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1815 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1818 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1820 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1821 script entry, and set LD to it when configuring multilibs.
1822 * configure: Rebuilt.
1824 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1826 * configure.in: Add support for WindISS.
1827 * configure: Regenerated.
1828 * configure.target: Add support for WindISS.
1829 * config/os/windiss/bits/ctype_base.h: New file.
1830 * config/os/windiss/bits/ctype_inline.h: Likewise.
1831 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1832 * config/os/windiss/bits/os_defines.h: Likewise.
1834 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1836 Test all the facets for the temporary "C" locale switch issue.
1837 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1838 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1839 * testsuite/22_locale/collate_members_char.cc: Add test04.
1840 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1841 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1842 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1843 * testsuite/22_locale/messages_members_char.cc: Add test03.
1844 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1845 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1846 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1847 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1848 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1849 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1850 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1851 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1852 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1853 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1854 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1855 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1856 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1857 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1859 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1860 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1862 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1864 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1865 __EXTENSIONS__): Ensure they are always defined.
1867 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1869 * docs/html/documentation.html: Fix broken link.
1871 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1872 Paolo Carlini <pcarlini@unitus.it>
1874 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1875 testing for the locale_facets.tcc entry of the previous commit.
1876 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1878 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1880 * config/locale/generic/c_locale.cc
1881 (__convert_to_v(float, double, long double)):
1882 Fix the temporary switch to the "C" locale, saving and
1883 restoring in the proper way the current locale.
1884 * config/locale/generic/time_members.cc
1885 (__timepunct<char, wchar_t>::_M_put): Likewise.
1886 * config/locale/gnu/messages_members.cc
1887 (messages<char>::do_get): Likewise.
1888 * config/locale/gnu/messages_members.h
1889 (messages<_CharT>::do_get): Likewise.
1890 * config/locale/gnu/time_members.cc
1891 (__timepunct<char, wchar_t>::_M_put): Likewise.
1892 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1894 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1896 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1897 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1899 * Makefile.in, config.h.in, configure: Regenerate.
1901 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1904 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1905 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1907 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1909 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1911 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1913 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1915 * configure.in: Update local install.html, configopts.html paths.
1916 * configure: Regenerate.
1918 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1920 * config/os/irix/irix5.2/bits/os_defines.h
1921 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1923 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1926 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1928 * docs/html/faq/index.html: Update list in #4.1.
1929 * docs/html/faq/index.txt: Regenerated.
1931 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1933 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1935 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1937 * include/std/std_bitset.h: Fix doxygen comments.
1938 * docs/html/documentation.html: Minor tweaks for 3.1.
1939 * docs/html/27_io/howto.html: Likewise.
1940 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
1941 * docs/html/faq/index.html: Likewise.
1942 * docs/html/faq/index.txt: Regenerated.
1944 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
1947 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
1948 (istreambuf_iterator::equal): Use it.
1949 (istreambuf_iterator::operator*): Use it.
1951 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
1954 * include/bits/stl_uninitialized.h
1955 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
1956 Fix typo in 2001-07-17 commit: typedef _ValueType to
1957 iterator_traits<_ForwardIter> not <_InputIter>.
1958 * testsuite/23_containers/vector_ctor.cc: Add test04.
1960 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
1963 * include/c_std/std_cctype.h: Include bits/c++config.h.
1964 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
1966 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1968 * include/ext/stdio_filebuf.h: New file.
1969 * include/ext/enc_filebuf.h: New file.
1970 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
1971 * config/io/basic_file_stdio.cc: Same.
1972 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
1973 Remove _M_unbuf hacks.
1974 (filebuf::_M_destroy_internal_buffer): Same.
1975 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
1976 (filebuf::fd): Remove.
1977 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
1978 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
1979 (filebuf::fd): Remove.
1980 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
1982 (ios_base::_S_ios_destroy): Same.
1983 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
1984 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
1985 stdio_filebuf.h. * include/Makefile.in: Regenerate.
1987 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
1990 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
1992 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
1995 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
1997 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
1998 (istreambuf_iterator::operator++): Invalidate on eof.
1999 (istreambuf_iterator::operator++(int)): Same.
2000 (istreambuf_iterator::operator*): Same.
2002 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2004 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2005 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2008 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2011 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2012 (__basic_file::sys_ungetc): Take int.
2013 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2014 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2015 Use sys_getc for unbuffered input.
2016 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2018 * src/ios.cc (_M_grow_words): Adjust error checking.
2019 * testsuite/27_io/ios_base_storage.cc: Same.
2021 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2023 * include/ext/stl_hashtable.h: Import __iterator_category
2025 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2026 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2028 * testsuite/ext/hash_set.cc: New testfile.
2030 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2032 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2034 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2035 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2037 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2039 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2040 Fix and tighten __throw_length_error check.
2041 * testsuite/21_strings/replace.cc (test05): New.
2042 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2044 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2046 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2047 unconditional flush on lower-layer handle to here...
2048 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2049 ...from here. Optimize remaining _M_file.sync() call pattern.
2050 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2053 2002-04-23 Jason Merrill <jason@redhat.com>
2055 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2056 output-only filebufs.
2057 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2059 (basic_filebuf::_M_set_determinate): Likewise.
2062 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2063 value properly in the trivial case.
2064 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2065 tellg() returns the right value after a read.
2067 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2069 * config/cpu/mmix/bits/cpu_limits.h: New file.
2070 * configure.target (CPULIMITSH): Use it.
2072 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2074 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2075 * docs/html/17_intro/porting.html: Rebuilt.
2077 2002-04-20 Jason Merrill <jason@redhat.com>
2080 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2082 (basic_streambuf::_M_set_determinate): Likewise.
2083 (basic_streambuf::_M_is_indeterminate): Likewise.
2084 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2085 non-static data member.
2086 (basic_filebuf::_M_underflow_common): New non-static member function.
2087 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2088 (basic_filebuf::sync): Avoid useless seeking.
2089 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2091 (basic_filebuf::_M_set_determinate): Likewise.
2092 (basic_filebuf::_M_is_indeterminate): Likewise.
2093 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2094 back to _M_out_beg if necessary.
2095 (basic_filebuf::seekoff): Likewise.
2096 (basic_filebuf::_M_underflow_common): Generalization of old
2097 underflow(). Don't seek back to _M_in_beg.
2098 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2099 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2100 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2101 * config/os/mingw32/bits/os_defines.h: Likewise.
2102 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2105 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2107 * include/bits/istream.tcc (istream::read): Fix.
2108 * testsuite/27_io/istream_unformatted.cc (main): Add.
2110 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2113 * include/bits/istream.tcc (istream::ignore): Streamline, use
2115 * include/bits/streambuf.tcc: Use this->gptr.
2116 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2118 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2120 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2121 as type safety is important, especially on solaris.
2122 * include/bits/istream.tcc (istream::read): Clean.
2123 (istream::readsome): Same.
2124 * locale.cc: Wrap lines.
2126 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2127 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2128 * testsuite/21_strings/capacity.cc: Clean.
2130 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2132 * docs/doxygen/doxygroups.cc: New group on binary searching.
2133 * include/bits/stl_algo.h: Document binary searches and merges.
2134 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2136 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2138 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2139 * docs/doxygen/run_doxygen: Bump required version.
2140 * docs/doxygen/user.cfg.in: Revert accidental change.
2141 * docs/html/faq/index.html: Reindent a block of links.
2142 (4.4): New note on using dlsym.
2143 * docs/html/faq/index.txt: Regenerated.
2145 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2147 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2149 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2151 * config/linker-map.gnu (__malloc_alloc_template): Add.
2152 (__default_alloc_template): Same.
2153 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2155 (__default_alloc_template): Same.
2157 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2159 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2161 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2163 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2164 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2165 (__malloc_alloc_template): Conditionalize.
2167 * include/bits/istream.tcc: Remove sputbackc calls.
2169 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2171 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2173 * testsuite/24_iterators/rel_ops.cc: New test.
2175 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2177 * include/bits/type_traits.h (__normal_iterator): Declare in
2178 __gnu_cxx. Adjust use at global namespace.
2179 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2180 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2181 * include/bits/basic_string.h (basic_string): Adjust use of
2183 * include/bits/stl_vector.h (_Alloc>): Likewise.
2184 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2185 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2187 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2191 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2193 (__basic_file::close): Call fflush. Correct return if fclose ok.
2194 (__basic_file::is_open): Make const.
2195 Change __c_file_type to __c_file.
2196 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2197 (__basic_file::is_open): Make const.
2198 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2199 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2200 (filebuf::_M_unbuf): Add.
2201 (filebuf::_M_file): Change to non-pointer.
2202 (filebuf::_M_allocate_pback_buffer): Remove.
2203 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2204 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2205 Change initialization list for _M_file change.
2206 (filebuf::_M_allocate_pback_buffer): Remove.
2207 Change _M_file usage to reflect non-pointer data member.
2209 * config/locale/generic/c_locale.cc
2210 (locale::facet::_S_create_c_locale): Add parameter.
2211 * config/locale/generic/collate_members.cc: Change
2212 _M_compare_helper to _M_compare.
2213 Change _M_transform_helper to _M_transform.
2214 * config/locale/generic/monetary_members.cc: Changeup data types.
2216 * config/locale/generic/numeric_members.cc: Add dtors.
2217 * config/locale/generic/time_members.cc: Add dtors.
2218 * config/locale/gnu/c_locale.cc: Add parameter.
2219 * config/locale/gnu/collate_members.cc:Change
2220 _M_compare_helper to _M_compare.
2221 Change _M_transform_helper to _M_transform.
2222 * config/locale/gnu/ctype_members.cc: Better error checking.
2223 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2224 * config/locale/gnu/messages_members.cc: Tweak comment.
2225 * config/locale/gnu/monetary_members.cc: Change data types.
2227 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2229 * config/locale/gnu/time_members.cc: Same.
2230 * config/locale/ieee_1003.1-2001/c_locale.cc
2231 (locale::facet::_S_create_c_locale): Add parameter.
2232 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2233 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2236 * include/bits/locale_facets.h (moneypunct): Use string literals.
2239 (__timepunct): Same.
2240 (locale::_Impl::_M_facets): Change from vector to array.
2241 (locale::_Impl::_M_names): Change from array of strings to array
2243 (locale::facet::_S_create_c_locale): Add parameter.
2244 (locale::locale::_S_num_facets): Move to...
2245 (locale::_Impl::_M_facets_size): Here.
2246 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2248 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2249 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2250 (locale::_Impl::_Impl(string, size_t)): Change to
2251 (locale::_Impl::_Impl(const char*, size_t)): This.
2253 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2254 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2255 (streambuf::_S_pback_size): This.
2257 * src/globals.cc: Add pre-allocations for "C" facets.
2258 * src/locale-inst.cc: Remove vector instantiations.
2259 * src/locale.cc: Remove vector include. Fixups for _M_names,
2261 * src/localename.cc: Same.
2263 * include/bits/stl_vector.h: Fix odd formatting.
2265 * include/bits/basic_string.tcc: Tweak comment.
2267 * libsupc++/new: Make sure parameters are uglified.
2268 * libsupc++/typeinfo: Same.
2270 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2271 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2272 * testsuite/27_io/filebuf_members.cc: Same.
2274 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2276 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2277 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2278 does not define strtoll or strtoull, but does define strtol
2279 and strtoul which are the same since in 64 bit mode
2280 sizeof(long) == sizeof(long long).
2282 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2284 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2285 trailing spaces, indentation, and macro names. Make exception
2286 messages more informative.
2288 2002-04-11 Richard Henderson <rth@redhat.com>
2290 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2291 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2292 (basic_ostream<>::operator<<(long long)): Same.
2294 2002-04-11 Richard Henderson <rth@redhat.com>
2296 * config/linker-map.gnu: Add __gxx_personality_sj0.
2298 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2301 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2303 Remove forward declaration of vector.
2305 * include/bits/locale_facets.tcc: Remove vector include.
2306 (use_locale): Adjust.
2307 (has_locale): Adjust.
2308 * src/locale.cc: Adjust.
2309 * src/localename.cc: Same.
2311 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2312 Richard Henderson <rth@redhat.com>
2314 * include/bits/sstream.tcc: Clean up bit ops.
2315 * include/bits/fstream.tcc: Same.
2317 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2319 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2320 (__num_base::_S_scale_oct): Remove.
2321 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2322 (__num_base::_S_scale_oct): Remove.
2324 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2327 * testsuite/23_containers/bitset_members.cc: New test.
2328 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2329 (_S_bit_count): Here.
2330 (_First_one::_S_first_one): Move...
2331 (_S_first_one): Here.
2333 * src/bitset.cc: Adjust.
2334 * config/linker-map.gnu: Export.
2336 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2339 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2340 * include/std/std_fstream.h: Clean.
2341 * include/bits/ostream.tcc: Remove extraneous variables.
2342 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2343 open modes and which modes.
2344 (stringbuf::seekpos): Same.
2345 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2347 2002-04-05 Jonathan Wakely <jw@kayari.org>
2349 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2350 random_shuffle, partition, stable_partition, sort, stable_sort,
2351 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2353 2002-04-05 David S. Miller <davem@redhat.com>
2355 * config/os/gnu-linux/bits/os_defines.h
2356 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2358 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2361 via gawrilow@math.tu-berlin.de
2362 * acinclude.m4 (version_specific_libs): Fix combo usage with
2363 --with-gxx-include-dir.
2364 * aclocal.m4: Regenerate.
2367 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2369 As per DR 184, libstdc++/3139
2370 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2371 (numeric_limits<bool>::is_iec559): False.
2372 (numeric_limits<bool>::is_modulo): False.
2374 * testsuite/27_io/ios_init.cc: Add instantiations.
2376 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2379 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2380 * testsuite/27_io/ios_init.cc (tests04): Add test.
2383 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2384 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2385 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2386 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2388 * testsuite/27_io/ios_init.cc (tests03): Add test.
2390 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2392 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2393 * include/Makefile.in: Regenerate.
2395 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2396 Nathan Myers <ncm@cantrip.org>
2397 Philip Martin <philip@codematters.co.uk>
2399 * include/bits/basic_string.h
2400 (replace(i1, i2, _CharT* k1, _CharT* k2),
2401 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2402 replace(i1, i2, iterator k1, iterator k2,
2403 replace(i1, i2, const_iterator k1, const_iterator k2):
2404 New specializations to optimize for the common cases of
2405 pointers and iterators.
2406 (replace(pos, n1, s, n2)): Tweak.
2407 * include/bits/basic_string.tcc: Tweak comments.
2408 * testsuite/21_strings/replace.cc (test04): New tests.
2410 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2413 * acinclude: More extensive checks for msgfmt, --enable-nls.
2414 * aclocal.m4: Regenerate.
2415 * configure: Regenerate.
2417 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2419 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2420 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2421 * docs/html/18_support/howto.html: Document the demangler.
2422 * docs/html/17_intro/howto.html: And link to it.
2424 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2425 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2427 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2429 * config/linker-map.gnu: Export __verbose_terminate_handler.
2430 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2431 Make new LTCOMPILE variable, use it in new special build rules.
2432 * libsupc++/Makefile.in: Rebuild.
2433 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2434 runtime __cxa_demangle.
2436 * docs/html/install.html: Update prereqs and instructions.
2437 * docs/html/19_diagnostics/howto.html: Bring naming for
2438 verbose_terminate_handler into line with reality.
2440 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2443 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2444 (basic_ios::_M_streambuf_state): Move.
2445 * include/bits/ios_base (ios_base): To here.
2446 * include/bits/ios_base.h (ios_base::_S_local_words): To
2448 (ios_base::_M_word_array): To _M_local_word.
2449 (ios_base::_M_words_limit): To _M_word_size.
2450 (ios_base::_M_words): To _M_word.
2452 * include/bits/basic_ios.tcc: Adjust.
2453 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2454 * testsuite/27_io/ios_base_storage.cc: Add tests.
2457 Kenny Simpson <theonetruekenny@yahoo.com>
2458 * include/bits/ios_base.h: Fix.
2460 Richard Henderson <rth@redhat.com>
2461 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2464 * include/bits/basic_string.h: Tweak formatting.
2466 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2468 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2469 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2470 By definition, sizeof(char) == 1.
2471 * include/bits/locale_facets.tcc (money_get::do_get,
2472 money_put::do_put): Ditto.
2473 * testsuite/21_strings/inserters_extractors.cc
2476 2002-03-30 Richard Henderson <rth@redhat.com>
2479 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2480 data out of the exception struct before calling unexpectedHandler.
2482 2002-03-28 Roger Sayle <roger@eyesopen.com>
2484 * include/c_std/std_cmath.h: To prevent problems overloading
2485 g++ builtins, use the double variants from the global namespace
2486 before defining float and long double variants in std::.
2488 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2490 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2492 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2494 * testsuite/24_iterators/istream_iterator.cc
2495 (test02): New tests.
2497 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2498 Paolo Carlini <pcarlini@unitus.it>
2500 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2501 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2502 fix i_lit_base e_lit_base arrays, making them independent
2503 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2505 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2507 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2508 allocate at least a byte.
2510 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2512 * testsuite/27_io/streambuf.cc (test07): Fix.
2515 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2517 * docs/doxygen/Intro.3: Date tweak.
2518 * docs/doxygen/TODO: Update.
2519 * docs/doxygen/doxygroups.cc: Point to tables.html.
2520 * docs/doxygen/mainpage.html: Date tweak.
2521 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2522 * docs/doxygen/tables.html: Fill in the blanks.
2524 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2525 * include/bits/stl_algo.h: Likewise; use expanded form.
2526 * include/bits/stl_alloc.h: Likewise.
2527 * include/bits/stl_construct.h: Likewise.
2528 * include/bits/stl_deque.h: Likewise.
2529 * include/bits/stl_iterator_base_types.h: Likewise.
2530 * include/bits/stl_list.h: Likewise.
2531 * include/bits/stl_relops.h: Likewise.
2532 * include/bits/stl_tempbuf.h: Likewise.
2533 * include/bits/stl_vector.h: Likewise.
2534 * include/std/std_memory.h: Likewise.
2536 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2537 * include/bits/stl_list.h: Likewise.
2538 * include/bits/stl_vector.h: Likewise.
2540 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2542 * include/c/: Guard with _CPP_.
2543 * include/c_std/: Same.
2544 * include/Makefile.am: Fixup install, link routines for null
2545 c_base_headers_extra scenarios.
2546 * include/Makefile.in: Regerate.
2548 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2549 Richard Henderson <rth@redhat.com>
2551 * testsuite/22_locale/codecvt_members_unicode_char.cc
2552 (test01, test02): make sure that the i_lit_base array
2553 is sufficiently aligned.
2555 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2557 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2560 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2562 * testsuite/22_locale/collate_byname.cc
2563 (test01): compare the result of collate::compare with
2564 that of collate::transform + string::compare, not with
2565 that of collate::transform + collate::compare; values
2566 returned by collate::compare are normalized, therefore
2569 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2570 Jakub Jelinek <jakub@redhat.com>
2572 * config/locale/gnu/messages_members.h: Correct conditional.
2573 * config/locale/gnu/messages_members.cc: Same.
2574 * config/locale/gnu/time_members.cc: Same.
2576 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2577 Paolo Carlini <pcarlini@unitus.it>
2579 * testsuite/22_locale/codecvt_members_unicode_char.cc
2580 (test01, test02): Fix i_lit_base arrays, making them
2581 independent from the endianness of the platform.
2583 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2585 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2586 signbit and __signbit directly.
2587 * aclocal.m4: Regenerate.
2588 * configure: Regenerate.
2589 * config.h.in: Regenerate.
2590 * libmath/Makefile.am: Simplify.
2591 * libmath/Makefile.in: Regenerate.
2592 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2594 * include/Makefile.am: Clean up handling of extra "C" header files.
2595 Add hooks for "C" compatibility headers.
2596 * include/Makefile.in: Regenerate.
2598 * include/c/*: Formatting tweaks, cleanups.
2599 * include/c_std/*: Same.
2601 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2603 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2604 * config/locale/gnu/messages_members.cc: Same.
2605 * config/locale/gnu/time_members.cc: Same.
2607 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2609 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2611 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2613 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2614 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2615 * aclocal.m4: Regenerate.
2616 * configure: Likewise.
2618 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2619 Ulrich Drepper <drepper@redhat.com>
2621 * src/locale-inst.cc (__convert_from_v): Add an additional
2622 __size parameter in the declarations.
2623 * include/bits/locale_facets.tcc
2624 (__convert_from_v): When available (that is,
2625 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2626 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2627 being defined or not, call and use __convert_from_v in the
2629 (num_put::_M_convert_int): Same here.
2630 (money_put::do_put(long double)): Same here.
2632 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2634 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2635 * docs/html/faq/index.txt: Regenerate.
2637 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2639 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2640 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2641 --enable-libunwind-exceptions is set.
2642 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2643 macro to check for libunwind.
2644 * configure: Regenerate.
2645 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2646 LIBUNWIND_FLAG to libstdc link line.
2647 * src/Makefile.in: Regenerate.
2649 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2651 * docs/html/faq/index.html: Add OS X workaround.
2652 * docs/html/17_intro/TODO: Update.
2654 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2656 * include/bits/locale_facets.tcc
2657 (money_put::do_put(long double)): Fix dimensioning of
2658 temporary buffers to avoid risk of overruns.
2659 (money_put::do_put(string)): Same for the buffer used to
2660 add the grouping chars.
2661 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2662 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2664 * include/bits/locale_facets.tcc
2665 (collate::do_transform): Simplify.
2667 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2669 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2670 * configure.in: Add comments pointing the way for autoconf 2.5x.
2671 * aclocal.m4, config.h.in, configure: Regenerate.
2673 2002-03-18 Philipp Thomas <pthomas@suse.de>
2675 * include/backward/hash_map.h: hash, hashtable, hash_map and
2676 hash_multimap are in namespace __gnu_cxx.
2677 include/backward/hash_set.h: hash, hashtable, hash_set and
2678 hash_multiset are in namespace __gnu_cxx.
2679 include/backward/hashtable.h: hash and hashtable are in
2680 namespace __gnu_cxx.
2681 include/backward/rope.h: char_producer, sequence_buffer,
2682 rope, crope and wrope are in namespace __gnu_cxx.
2683 include/backward/slist.h: slist is in namespace __gnu_cxx.
2684 * testsuite/backward/header_hash_map_h.cc
2685 testsuite/backward/header_hash_set_h.cc
2686 testsuite/backward/header_hashtable_h.cc
2687 testsuite/backward/header_rope_h.cc
2688 testsuite/backward/header_slist_h.cc
2689 testsuite/backward/header_tempbuf_h.cc: New tests for
2690 checking that we're using the correct namespace.
2692 2002-03-17 Jason Merrill <jason@redhat.com>
2695 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2696 (check_exception_spec): Call it. Take the thrown pointer.
2697 (__cxa_call_unexpected): Pass it.
2698 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2700 2002-03-15 Anthony Green <green@redhat.com>
2702 * configure.in: Remove useless is_mingw32.
2703 * configure: Rebuilt.
2705 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2707 * testsuite/22_locale/collate_members_char.cc
2708 (test01): compare the result of collate::compare with
2709 that of collate::transform + string::compare, not with
2710 that of collate::transform + collate::compare.
2711 (test01): values returned by collate::compare are
2712 normalized, therefore test against +-1.
2713 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2715 2002-03-12 Loren Rittle <ljrittle@acm.org>
2717 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2718 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2720 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2721 Per Liboriussen <liborius@stofanet.dk>
2723 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2725 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2727 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2729 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2730 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2732 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2733 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2735 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2736 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2738 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2740 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2742 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2743 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2744 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2745 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2746 that memory limits are in place.
2747 (test03): Add tests.
2749 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2751 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2752 * aclocal.m4: Regenerate.
2753 * config.h.in: Regenerate.
2754 * configure: Regenerate.
2755 * include/c_std/std_cwctype.h: Guard.
2757 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2759 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2760 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2761 * aclocal.m4: Regenerate.
2762 * configure: Regenerate.
2764 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2766 * include/bits/stl_bvector.h: Fix warning.
2768 2002-03-11 Richard Henderson <rth@redhat.com>
2770 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2772 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2774 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2775 New function. Build the list of tests to run in testsuite_files.
2776 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2778 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2780 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2781 platforms with no weak support.
2782 * testsuite/27_io/ios_init.cc: Likewise.
2784 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2786 * include/bits/locale_facets.tcc (time_put::do_put):
2787 Consider sizeof(char_type) in allocating the buffer.
2789 * include/bits/locale_facets.tcc (collate::do_tranform):
2790 Remove redundant variable.
2792 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2793 Paolo Carlini <pcarlini@unitus.it>
2795 * config/locale/generic/collate_members.cc
2796 (collate<char,wchar_t>::_M_compare_helper): normalize
2797 values returned by strcoll and wcscoll.
2798 * config/locale/gnu/collate_members.cc
2799 (collate<char,wchar_t>::_M_compare_helper): ditto
2800 for __strcoll_l and __wcscoll_l.
2802 2002-03-10 Anthony Green <green@redhat.com>
2804 * configure.in: Support cross builds to mingw32 target.
2805 * configure: Rebuilt.
2807 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2809 * include/bits/locale_facets.tcc (collate::do_transform):
2810 Rewrite to fix problems with long transformed strings.
2812 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2814 * c_locale_generic.cc: Move to...
2815 * generic/c_locale.cc
2816 * c_locale_generic.h: Move to...
2817 * generic/c_locale.h
2818 * codecvt_specializations_generic.h: Move to...
2819 * generic/codecvt_specializations.h
2820 * collate_members_generic.cc: Move to...
2821 * generic/collate_members.cc
2822 * ctype_members_generic.cc: Move to...
2823 * generic/ctype_members.cc
2824 * messages_members_generic.cc: Move to...
2825 * generic/messages_members.cc
2826 * messages_members_generic.h: Move to...
2827 * generic/messages_members.h
2828 * moneypunct_members_generic.cc: Move to...
2829 * generic/monetary_members.cc
2830 * numpunct_members_generic.cc: Move to...
2831 * generic/numeric_members.cc
2832 * time_members_generic.cc: Move to...
2833 * generic/time_members.cc
2834 * c_locale_gnu.cc: Move to...
2836 * c_locale_gnu.h: Move to...
2838 * collate_members_gnu.cc: Move to...
2839 * gnu/collate_members.cc
2840 * ctype_members_gnu.cc: Move to...
2841 * gnu/ctype_members.cc
2842 * messages_members_gnu.cc: Move to...
2843 * gnu/messages_members.cc
2844 * messages_members_gnu.h: Move to...
2845 * gnu/messages_members.h
2846 * moneypunct_members_gnu.cc: Move to...
2847 * gnu/monetary_members.cc
2848 * numpunct_members_gnu.cc: Move to...
2849 * gnu/numeric_members.cc
2850 * time_members_gnu.cc: Move to...
2851 * gnu/time_members.cc
2852 * c_locale_ieee_1003.1-200x.cc: Move to...
2853 * ieee_1003.1-2001/c_locale.cc
2854 * c_locale_ieee_1003.1-200x.h: Move to...
2855 * ieee_1003.1-2001/c_locale.h
2856 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2857 * ieee_1003.1-2001/codecvt_specializations.h
2858 * messages_members_ieee_1003.1-200x.cc: Move to...
2859 * ieee_1003.1-2001/messages_members.cc
2860 * messages_members_ieee_1003.1-200x.h: Move to...
2861 * ieee_1003.1-2001/messages_members.h
2863 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2864 * aclocal.m4: Regenerate.
2865 * configure: Regenerate.
2866 * src/Makefile.am (sources): Change to monetary and numeric.
2867 * src/Makefile.in: Regenerate.
2868 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2870 2002-03-08 scott snyder <snyder@fnal.gov>
2873 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2874 Allow one more digit of precision.
2875 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2876 write a double and read back in the same value.
2878 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2880 * include/std/std_limits.h: Move static const data members out of
2881 generic template, into base class __numeric_limits_base.
2882 * src/limits.cc: Add definitions.
2883 * config/linker-map.gnu: Add __numeric_limits_base.
2884 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2886 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2888 * include/bits/stl_alloc.h: Add extern implicit allocator
2890 * include/bits/basic_string.tcc: Tweak.
2891 * include/bits/locale_facets.tcc: Remove default args. Add
2892 has_facet, use_facet extern instantiations.
2893 * src/stl-inst.cc: Add explicit instantiation.
2894 * src/locale-inst.cc: Clean. Remove locale member template
2897 * testsuite/22_locale/operators.cc (test02): Enable.
2899 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2900 Stephen M. Webb <stephen.webb@bregmasoft.com>
2902 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2903 (_S_rb_tree_black): Make enum.
2905 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2906 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2907 (__stl_threshold): _M_threshold, enum.
2908 * src/stl-inst.cc: Same.
2909 * config/linker-map.gnu: Remove.
2911 * testsuite/23_containers/vector_bool.cc: New.
2913 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2915 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2916 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2917 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2918 referring to the collection as a whole. New section on which macros
2919 can be redefined by the user.
2920 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2921 * docs/html/20_util/howto.html: Update link to SGI.
2922 * docs/html/faq/index.html: Update snapshot versions. New entry
2923 on why g++ (but not gcc) must currently predefine certain macros.
2924 * docs/html/faq/index.txt: Regenerated.
2926 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2927 names in declaration.
2928 (basic_string::compare): These are no longer optional.
2929 * include/bits/ostream.tcc: Tweak closing brace placement.
2930 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2931 * include/std/std_sstream.h: Fix typo in comment.
2932 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2933 * src/locale.cc: Likewise.
2935 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2938 * include/bits/stl_vector.h (vector::push_back()): Guard with
2939 _GLIBCPP_DEPRECATED.
2941 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2943 * include/bits/c++config: Fix misplaced leading blanks on first line.
2945 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2947 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
2948 * README (libmath): Make clear.
2950 2002-03-05 Jakub Jelinek <jakub@redhat.com>
2952 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
2953 script globbing in ld.
2954 * aclocal.m4: Rebuilt.
2955 * configure: Rebuilt.
2957 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
2959 * docs/html/17_intro/RELEASE-NOTES: Update.
2960 * README: Format subdirectories.
2962 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
2965 * include/bits/locale_facets.tcc
2966 (num_get::_M_extract_float): Fix the parsing of __dec, since
2967 the standard prescribes that if no grouping characters are
2968 seen, no grouping check is applied.
2969 * testsuite/22_locale/num_get_members_char.cc: Add test05
2970 distilled from the PR.
2971 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
2973 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
2975 * docs/html/17_intro/porting-howto.xml: Refer to
2976 http://www.oasis-open.org for docbookx.dtd.
2977 * docs/html/17_intro/porting-howto.html: Regenerated.
2979 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
2982 * include/std/std_sstream.h: Remove trailing spaces.
2983 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
2984 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
2986 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
2988 * testsuite/22_locale/num_get_members_char.cc (test04):
2989 Use a named locale expecting grouping (de_DE).
2990 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
2992 * testsuite/27_io/ios_manip_basefield.cc (test01):
2993 Extend coverage, uniform treatment of hexs and octs.
2995 2002-02-28 Richard Henderson <rth@redhat.com>
2997 * config/linker-map.gnu: Export operator new with unsigned long,
2998 and with std::nothrow_t. Likewise operator delete.
3000 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3002 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3003 Admit grouping for octals and hexadecimals too.
3004 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3005 (test01): Tweak "." -> "," in void* test.
3006 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3008 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3009 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3011 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3013 * testsuite/27_io/ios_manip_basefield.cc (test01):
3014 Fix for 64 bit machines.
3016 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3019 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3021 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3022 (basic_ios::_M_fill_init): New.
3023 (basic_ios::fill()): Delay dealing with _M_fill.
3025 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3026 (ios_base::_M_call_callbacks): Adjust.
3027 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3029 2002-02-26 Loren Rittle <ljrittle@acm.org>
3031 * include/Makefile.am (thread_target_headers): Unconditionally
3032 stage and install gthr-posix.h.
3033 (${target_builddir}/gthr-posix.h): New rule cloned off
3034 ${target_builddir}/gthr-default.h.
3035 (${target_builddir}/gthr-default.h): Support chained inclusion
3036 of gthr support headers.
3037 * include/Makefile.in: Rebuilt.
3039 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3041 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3042 Group all the integral types, not only decs.
3043 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3044 tests, add a few more.
3046 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3048 * src/ios.cc (ios_base::~ios_base): Tweak.
3049 (ios_base::_M_call_callbacks): Deal with null __p.
3050 (ios_base::ios_base): Set _M_callbacks.
3051 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3052 * testsuite/27_io/ios_init.cc (test02): Fix.
3054 * mkcheck.in (static_fail): Failed links go to output file.
3056 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3058 * docs/html/faq/index.html: Update.
3059 * docs/html/faq/index.txt: Regenerate.
3061 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3063 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3064 * aclocal.m4: Regenerate.
3065 * docs/html/configopts.html: Document --enable-symvers.
3066 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3068 2002-02-22 Philipp Thomas <pthomas@suse.de>
3070 * include/backward/tempbuf.h: get_temporary_buffer and
3071 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3073 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3075 * configure.in (target_alias): Default to yes.
3076 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3077 libgcc to default case.
3079 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3081 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3082 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3083 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3084 * aclocal.m4: Regenerate.
3085 * configure: Regenerate.
3086 * config/linker-map.dummy: New file. Contains nothing useful.
3088 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3090 * testsuite/22_locale/money_put_members_char.cc: Fix.
3091 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3093 * testsuite/27_io/standard_manipulators.cc: New file.
3095 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3096 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3098 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3100 * config/os/mingw32/bits/ctype_noninline.h
3101 (ctype<char>::ctype): Remove default args from parm list.
3102 * config/os/djgpp/bits/ctype_noninline.h: Same.
3104 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3106 * include/std/std_iomanip.h: Inline, tweaks.
3107 * config/linker-map.gnu: Remove hacks.
3109 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3110 * testsuite/27_io/ios_init.cc: Same.
3111 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3112 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3114 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3116 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3117 variable, and thunk info as per CXXABI docs.
3119 2002-02-19 Loren Rittle <ljrittle@acm.org>
3121 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3122 * include/Makefile.in: Rebuilt.
3124 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3126 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3127 with size3 for the string collations of str5.
3129 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3132 * include/bits/locale_facets.tcc (money_put::do_put):
3133 For the space field use __fill instead of ' ', uniformly.
3134 * testsuite/22_locale/money_put_members_char.cc:
3135 Add test05 distilled from PR.
3136 (test01-02-03): Trim some '*' to ' '.
3137 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3139 2002-02-18 Loren Rittle <ljrittle@acm.org>
3142 * include/Makefile.am (thread_builddir): Remove (map all
3143 existing uses to target_builddir).
3144 (thread_headers): Rename to...
3145 (thread_target_headers): ...this.
3146 (stamp-thread): Remove.
3147 (stamp-target): Correctly state the position as built.
3148 Update all dependencies to match the new reality. Remove all
3149 dependency calculations on directories.
3150 * include/Makefile.in: Rebuilt.
3152 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3154 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3155 * include/bits/fstream.tcc: Same.
3156 * include/bits/sstream.tcc: Same.
3157 * include/bits/ostream.tcc: Same.
3158 * include/bits/istream.tcc: Same.
3159 * include/bits/streambuf.tcc: Same.
3160 * include/bits/basic_ios.tcc: Same.
3161 * include/bits/basic_string.tcc: Same.
3163 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3165 * include/std/std_iosfwd.h: Don't guard typedefs with
3166 _GLIBCPP_USE_WCHAR_T
3167 * include/bits/stringfwd.h: Same.
3169 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3171 * src/locale.cc (moneypunct_byname): Remove definitions.
3172 * include/std/std_streambuf.h (streambuf::operator=): Return.
3174 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3177 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3178 explicit instantiation.
3179 (string::_Rep::_S_max_size): Same.
3180 * include/bits/basic_string.tcc: Add extern explicit
3181 instantiations for string, wstring.
3182 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3184 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3185 * include/bits/istream.tcc: Same, for istream, wistream.
3186 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3188 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3189 istringstream, wistringstream, ostringstream, wostringstream,
3190 stringstream, wstringstream.
3191 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3192 wifstream, ofstream, wofstream, fstream, wfstream.
3193 * src/misc-inst.cc: Correct comments.
3194 Add iomanip instantiations for wide streams.
3195 * include/std/std_iomanip.h: Same.
3196 * include/bits/locale_facets.tcc: Same.
3198 * include/std/std_streambuf.h: Correct
3199 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3200 * include/std/std_sstream.h: Same.
3201 * include/std/std_ostream.h: Same.
3202 * include/std/std_istream.h: Same.
3203 * include/std/std_fstream.h: Same.
3205 * include/std/std_streambuf.h: Add definitions for private copy
3206 ctor and assignment operator.
3207 * include/std/std_istream.h: Remove declared but undefined copy
3208 ctor and assignment operator. This is taken care of in ios_base,
3209 so adding it in the derived class as well is superfluous.
3210 * include/std/std_ostream.h: Same.
3212 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3213 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3215 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3217 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3218 Add typeinfo bits. Smooth.
3219 * aclocal.m4: Regenerate.
3221 * src/Makefile.in: Same.
3223 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3225 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3226 which do not have a CAS instruction.
3228 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3230 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3231 * configure.in: Call it.
3232 * config/linker-map.gnu: New file, initial incomplete revision.
3233 * src/Makefile.am: Optionally pass version script to the linker.
3234 * aclocal.m4: Regenerate.
3235 * configure: Regenerate.
3236 * src/Makefile.in: Regenerate.
3238 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3240 * src/localename.cc: Remove stdexcept include.
3241 * src/locale-inst.cc: Same.
3242 * src/locale.cc: Same.
3243 * src/functexcept.cc: Remove string includes.
3244 * include/std/std_bitset.h: Remove stdexcept include.
3245 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3246 * testsuite/23_containers/bitset_ctor.cc: Same.
3248 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3250 * include/bits/stl_algo (__stl_threshold): Declare external.
3251 (__stl_chunk_size): Same.
3252 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3253 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3254 (_S_rb_tree_black): Same.
3255 * src/stl-inst.cc (__stl_threshold): Define.
3256 (__stl_chunk_size): Same.
3258 (_S_rb_tree_red): Same.
3259 (_S_rb_tree_black): Same.
3261 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3262 * include/bits/basic_file.h: Remove.
3263 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3264 Declare generic types, specialization.
3265 * config/io/basic_file_stdio.cc: Definitions.
3266 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3267 Declare generic types.
3268 * include/Makefile.am (bits_headers): Remove basic_file.h.
3269 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3270 (stamp-target): Same.
3272 * include/bits/stl_alloc.h: Tweaks.
3273 * include/bits/localefwd.h: Same.
3275 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3277 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3278 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3279 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3281 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3283 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3284 Use __typeof__ in concept checks.
3286 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3288 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3289 adjacent_find, count, count_if, search, search_n, swap_ranges,
3290 transform, replace, replace_if, replace_copy, replace_copy_if,
3291 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3292 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3294 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3296 * include/bits/locale_facets.h
3297 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3298 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3299 (__timepunct<_CharT>::_M_put_helper): Same.
3300 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3302 * include/bits/fstream.tcc (filebuf::underflow): Remove
3303 __codecvt_type typedef.
3304 (filebuf::_M_convert_to_external): Same.
3306 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3308 * docs/doxygen/TODO: Update.
3309 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3310 * docs/doxygen/mainpage.html: Add TODO list link.
3311 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3312 * docs/doxygen/tables.html: New file, emoty structure only.
3314 * include/bits/stl_iterator.h: Doxygenate just about everything.
3315 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3316 * include/bits/stl_iterator_base_types.h: Add notes.
3318 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3320 * include/bits/stl_map.h: Tweak doxygen markup.
3321 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3322 * include/bits/stl_vector.h: Likewise.
3324 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3328 * include/std/std_fstream.h (filebuf::__file_type): Change to
3330 (filebuf::_M_convert_to_external): Declare.
3331 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3332 codecvt bits for wide streams.
3333 (filebuf::_M_really_overflow): Use it.
3334 (filebuf::underflow): Use codecvt.
3335 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3336 (codecvt<__enc_traits>::do_out): Deal with partial.
3337 (codecvt<__enc_traits>::do_encoding): Return something useful.
3338 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3340 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3341 Change expected encoding output.
3343 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3346 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3347 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3349 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3350 (basic_ios::widen): Same.
3352 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3354 * testsuite/22_locale/money_get_members_char.cc:
3355 Add comment, tidy up.
3356 (test01): more "en_HK" tests (without showbase).
3357 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3359 2002-02-06 Loren Rittle <ljrittle@acm.org>
3361 * config/locale/c_locale_generic.cc: Do not trust
3362 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3365 2002-02-06 Loren Rittle <ljrittle@acm.org>
3367 * acinclude.m4: Add C++ linkage check for strtof.
3368 * aclocal.m4: Rebuilt.
3369 * config.h.in: Rebuilt.
3370 * configure: Rebuilt.
3371 * config/locale/c_locale_generic.cc: Conditionally include
3372 <ieeefp.h>. Improve handling and error checking of float
3373 and long double input for non-C99 configurations.
3375 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3377 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3378 In case money_base::symbol deal properly with multi-char sign
3379 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3380 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3381 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3383 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3385 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3386 First construct a tentative returned string, then, only if the
3387 parsing succeeds, copy it into the string passed by reference.
3388 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3389 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3391 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3393 * docs/doxygen/TODO: Impl-defined behavior now documented...
3394 * docs/html/17_intro/howto.html: ...here.
3395 * docs/doxygen/mainpage.doxy: Remove, rename...
3396 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3397 * docs/doxygen/style.css: Add small text.
3398 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3399 * docs/doxygen/user.cfg.in: Likewise.
3401 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3403 * include/bits/stl_map.h: Initial doxygen markup.
3404 * include/std/std_fstream.h: Initial doxygen markup.
3406 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3409 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3410 Deal correctly with !(__io.flags() & ios_base::showbase)
3411 for case money_base::symbol.
3412 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3413 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3415 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3417 * testsuite/22_locale/operators.cc
3418 (gnu_collate::do_compare()): Add return statement to
3419 suppress "no return statement" warning.
3421 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3423 * testsuite/27_io/ostream_manip.cc: Enable test02.
3425 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3427 * docs/html/documentation.html: Update for 3.0.96.
3428 * docs/html/faq/index.html: Update for 3.0.96.
3429 * docs/html/faq/index.txt: Regenerated.
3430 * docs/doxygen/TODO: Update notes.
3431 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3433 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3435 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3436 Initialize all data members in copy ctor. Make ctors explicit.
3437 (__enc_traits::__enc_traits()): Default ctor does nothing.
3438 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3439 * include/std/std_sstream.h (basic_stringbuf): Make data members
3441 * include/std/std_fstream.h (basic_filebuf): Same.
3442 * include/std/std_streambuf.h: Tweak.
3443 * include/bits/streambuf.tcc: Same.
3444 * include/bits/sstream.tcc: Same.
3445 * include/bits/fstream.tcc: Same.
3447 2002-01-31 Loren Rittle <ljrittle@acm.org>
3449 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3450 allow NULL argument to be passed to setenv().
3451 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3452 * testsuite/22_locale/collate_members_char.cc: Likewise.
3453 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3454 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3455 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3456 * testsuite/22_locale/messages_members_char.cc: Likewise.
3457 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3458 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3459 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3460 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3461 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3462 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3463 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3464 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3465 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3466 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3467 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3468 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3469 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3470 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3471 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3472 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3474 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3476 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3478 * ChangeLog-2001: Fix spelling errors...
3479 * docs/html/17_intro/RELEASE-NOTES: Update.
3480 * docs/html/17_intro/TODO: Update.
3481 * README (file): Update.
3483 2002-01-30 Loren Rittle <ljrittle@acm.org>
3485 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3486 instead of non-zero to aid portability.
3488 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3490 * docs/html/22_locale/messages.html: Fix example code.
3492 2002-01-30 Richard Henderson <rth@redhat.com>
3494 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3495 out from test03 and templatize.
3498 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3500 * config/locale/numpunct_members_gnu.cc
3501 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3502 Fix initialization of _M_grouping for locales which have
3503 _M_thousands_sep == '\0'(L'\0', respectively).
3504 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3506 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3508 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3509 Better fix for 32/64 bit architectures, avoiding the
3510 implicit assumption that CHAR_BIT == 8.
3512 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3514 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3515 * Makefile.in: Regenerate.
3517 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3518 * docs/doxygen/Intro.3: Update.
3519 * docs/doxygen/TODO: Update.
3520 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3521 * docs/doxygen/mainpage.doxy: Update.
3522 * docs/doxygen/user.cfg.in: Update for header rename. Also
3523 regenerate comments and variables with 1.2.12.
3524 * docs/doxygen/maint.cfg.in: Remove file.
3526 * include/bits/stl_relops.h: Doxygenate.
3527 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3529 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3530 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3531 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3532 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3533 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3534 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3535 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3536 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3537 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3538 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3539 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3540 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3541 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3542 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3543 include/std/std_algorithm.h, include/std/std_bitset.h,
3544 include/std/std_complex.h, include/std/std_deque.h,
3545 include/std/std_fstream.h, include/std/std_functional.h,
3546 include/std/std_iomanip.h, include/std/std_ios.h,
3547 include/std/std_iosfwd.h, include/std/std_iostream.h,
3548 include/std/std_istream.h, include/std/std_iterator.h,
3549 include/std/std_limits.h, include/std/std_list.h,
3550 include/std/std_locale.h, include/std/std_map.h,
3551 include/std/std_memory.h, include/std/std_numeric.h,
3552 include/std/std_ostream.h, include/std/std_queue.h,
3553 include/std/std_set.h, include/std/std_sstream.h,
3554 include/std/std_stack.h, include/std/std_stdexcept.h,
3555 include/std/std_streambuf.h, include/std/std_string.h,
3556 include/std/std_utility.h, include/std/std_valarray.h,
3557 include/std/std_vector.h: Add/correct @file doxygen hook.
3559 * include/ext/memory: Doxygenate most of rest of file.
3560 * libsupc++/exception: Doxygen output formatting.
3561 * libsupc++/new: Say which header it is.
3563 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3564 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3565 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3566 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3568 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3569 Charles Leggett <CGLeggett@lbl.gov>
3571 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3573 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3575 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3576 Fix to deal correctly with both 32 bit and 64 bit architectures
3578 2002-01-25 Loren Rittle <ljrittle@acm.org>
3580 * testsuite/thread/pthread1.cc: Use one condition variable
3581 per predicate instead of tricky use of one condition variable.
3583 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3585 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3587 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3588 * testsuite/27_io/filebuf.cc: Compile only.
3589 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3590 * testsuite/27_io/filebuf_virtuals.cc: And here.
3591 Revert sungetc, sync changes for expected values.
3592 * testsuite/27_io/filebuf-*: Move to...
3593 * testsuite/27_io/filebuf_virtuals-*: ...here.
3594 * testsuite/27_io/istream.cc: Compile only, activate.
3595 * testsuite/27_io/ostream.cc: Same.
3596 * testsuite/27_io/iostream.cc: New.
3597 * testsuite/27_io/iostream_members.cc: New.
3599 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3601 * testsuite/thread/pthread1.cc: Enable on cygwin.
3602 * testsuite/thread/pthread2.cc: Likewise.
3603 * testsuite/thread/pthread3.cc: Likewise.
3604 * testsuite/thread/pthread4.cc: Likewise.
3605 * testsuite/thread/pthread5.cc: Likewise.
3606 * testsuite/thread/pthread6.cc: Likewise.
3608 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3610 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3612 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3614 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3616 (basic_ios::fill(char_type)): Use fill().
3617 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3618 (basic_ios::narrow): Same.
3619 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3620 if they are invalid.
3621 (basic_ios::init): Comment.
3622 * testsuite/27_io/ios_init.cc (test02): New.
3624 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3626 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3627 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3628 * include/ext/memory: Do not include stl_tempbuf.h.
3629 (temporary_buffer): Add doxygen hook.
3630 (__get_temporary_buffer, get_temporary_buffer,
3631 return_temporary_buffer): Move back to std:: header...
3632 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3633 * include/ext/rope: Do not include stl_tempbuf.h.
3634 * include/ext/stl_hashtable.h: Likewise.
3635 * include/std/std_algorithm.h: Likewise.
3636 * testsuite/20_util/temporary_buffer.cc: New file.
3638 2002-01-24 andrew@andypo.net
3639 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3642 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3643 * include/bits/localefwd.h: Likewise.
3644 Also use for std::locale::id::_S_highwater.
3645 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3646 * src/locale.cc: Support new usage of _Atomic_word.
3647 (std::locale::classic): Guard entire function against reentry.
3648 * src/localename.cc: Support new usage of _Atomic_word.
3650 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3652 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3653 _GLIBCPP_HAVE_SETENV.
3654 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3655 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3656 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3657 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3658 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3659 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3660 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3661 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3662 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3663 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3664 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3665 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3666 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3667 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3668 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3669 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3670 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3671 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3672 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3673 * aclocal.m4: Regenerate.
3674 * configure: Regenerate.
3675 * config.h.in: Regenerate.
3677 2002-01-23 Loren Rittle <ljrittle@acm.org>
3679 * testsuite/thread/pthread1.cc: New test.
3680 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3681 * testsuite/thread/pthread3.cc: Likewise.
3682 * testsuite/thread/pthread4.cc: New test adapted from
3683 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3684 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3685 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3687 2002-01-23 Richard Henderson <rth@redhat.com>
3690 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3691 CAS on the cpu variants that support it. Add versions that use
3692 TAS and that disable interrupts.
3693 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3695 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3697 * include/bits/locale_facets.tcc: Remove old comments.
3699 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3701 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3703 (__convert_from_v): Same.
3705 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3707 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3709 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3710 __max_digits checks, adjust arguments.
3711 (num_get::do_get(*)): Changeup.
3713 2002-01-23 Loren Rittle <ljrittle@acm.org>
3715 * config/locale/c_locale_generic.cc: Fix typename usage.
3717 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3719 * config/locale/c_locale_generic.cc: Fix.
3721 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3723 * docs/html/22_locale/messages.html: Remove angle brackets.
3724 * docs/html/17_intro/TODO: Add.
3726 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3728 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3729 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3730 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3731 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3733 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3735 Audit for LANG independence.
3736 * include/bits/localefwd.h: Tweaks.
3737 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3739 (time_get::do_get_year): Same.
3740 (__convert_from_v): Add.
3741 (num_put::_M_convert_float): Use.
3742 (num_put::_M_convert_int): Same.
3743 (money_put::do_put): Same.
3745 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3746 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3747 * config/locale/time_members_generic.cc:
3748 * config/locale/messages_members_gnu.cc: Same.
3749 * config/locale/messages_members_gnu.h: Same.
3751 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3752 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3753 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3754 * testsuite/22_locale/collate_members_char.cc (test02): New.
3755 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3756 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3757 * testsuite/22_locale/messages_members_char.cc (test02): New.
3758 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3759 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3760 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3761 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3762 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3763 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3764 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3765 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3766 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3767 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3768 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3769 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3770 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3771 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3772 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3773 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3775 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3777 * testsuite/22_locale/time_get_members_char.cc: Same.
3779 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3782 * include/bits/localefwd.h: Tweak comments.
3783 * include/bits/locale_facets.h (__convert_to_v): Add.
3784 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3785 (num_get::do_get(float)): Same.
3786 (num_get::do_get(long double)): Same.
3787 (num_get::do_get(bool)): Same.
3788 (num_get::do_get(long)): Same.
3789 (num_get::do_get(long long)): Same.
3790 (num_get::do_get(unsigned int)): Same.
3791 (num_get::do_get(unsigned short)): Same.
3792 (num_get::do_get(unsigned long)): Same.
3793 (num_get::do_get(unsigned long long)): Same.
3794 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3795 * config/locale/c_locale_generic.cc: Same.
3797 2002-01-22 Loren Rittle <ljrittle@acm.org>
3799 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3800 (std_builddir): Likewise.
3801 (std_headers_rename): Fix cut-n-paste typo.
3802 (install-data-local): Concat path per element instead of once to
3803 first element of list.
3804 * include/Makefile.in: Rebuilt.
3806 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3808 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3809 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3810 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3812 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3814 * include/bits/locale_facets.h (ctype<char>::classic_table):
3816 (ctype<char>::_S_ctable): Remove.
3817 * config/os/gnu-linux/bits/ctype_noninline.h
3818 (ctype<char>::_S_table): Remove definition.
3819 (ctype<char>::classic_table): Define.
3820 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3821 * config/os/aix/bits/ctype_noninline.h: Same.
3822 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3823 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3824 * config/os/djgpp/bits/ctype_noninline.h: Same.
3825 * config/os/generic/bits/ctype_noninline.h: Same.
3826 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3827 * config/os/hpux/bits/ctype_noninline.h: Same.
3828 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3829 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3830 * config/os/mingw32/bits/ctype_noninline.h: Same.
3831 * config/os/newlib/bits/ctype_noninline.h: Same.
3832 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3833 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3834 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3836 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3838 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3839 of _pctype. Use to define _S_ctable. Add definition for alternate
3840 ctor. Initialise _M_ctable to _S_ctable in ctors.
3841 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3842 rather than ::toupper, ::tolower.
3844 2002-01-18 Loren Rittle <ljrittle@acm.org>
3846 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3847 Add specialization for FreeBSD systems only to avoid losing test
3848 only due to extra precision unmentioned in system headers.
3850 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3852 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3854 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3856 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3857 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3859 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3861 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3863 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3865 * configure.target: Define OPT_LDFLAGS for AIX case.
3867 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3869 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3870 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3872 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3874 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3876 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3878 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3879 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3880 * aclocal.m4: Regenerate.
3881 * configure: Regenerate.
3883 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3885 * include/Makefile.am (c_base_headers_rename): New.
3886 (c_base_headers_extra): New.
3887 (stamp-c_base): Modify.
3888 (install-data-local): Use both.
3889 * include/Makefile.in: Regenerate.
3890 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3891 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3892 cstdio ctime cwctype]: Move to..
3893 * include/c/std_*: Here.
3894 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3895 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3896 cstdio ctime cwctype]: Move to..
3897 * include/c_std/std_*: Here.
3899 Alexandre Oliva <aoliva@redhat.com>
3900 * include/Makefile.am (.PRECIOUS): Add rule.
3901 * include/Makefile.in: Regenerate.
3903 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3904 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3906 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3907 Deuglify, should be current.
3908 (back_insert_iterator::_M_container): Deuglify, should be container.
3909 (front_insert_iterator::_M_container): Same.
3910 (insert_iterator::_M_container): Same.
3911 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3912 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3913 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3914 * testsuite/24_iterators/insert_iterator.cc: Same.
3916 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3918 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3920 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3921 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3922 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3923 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3924 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3925 * config/os/newlib/bits/ctype_noninline.h: Same.
3926 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3927 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3928 * config/os/hpux/bits/ctype_noninline.h: Same.
3929 * config/os/djgpp/bits/ctype_noninline.h: Same.
3930 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3931 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3932 * config/os/aix/bits/ctype_noninline.h: Same.
3934 Testcase by Dietmar Kühl via Peter Schmid
3935 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3938 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3940 * libmath/signbitl.c: Copyright years as list, not range.
3941 * libmath/Makefile.am: Same.
3942 * libmath/Makefie.in: Regenerate.
3943 * libmath/signbit.c: Same.
3944 * libmath/nan.c: Same.
3945 * libmath/copysignf.c: Same.
3946 * libmath/signbitf.c: Same.
3947 * testsuite/22_locale/money_get_members_char.cc: Same.
3948 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
3949 * testsuite/22_locale/money_put_members_char.cc: Same.
3950 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
3951 * testsuite/22_locale/time_get_members_char.cc: Same.
3952 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
3953 * testsuite/22_locale/time_put_members_char.cc: Same.
3954 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
3955 * testsuite/21_strings/nonmember.cc: Same.
3956 * testsuite/21_strings/compare.cc: Same.
3957 * testsuite/27_io/stringstream.cc: Same.
3958 * testsuite/27_io/stringbuf.cc: Same.
3959 * testsuite/27_io/filebuf.cc: Same.
3960 * testsuite/27_io/ios_manip_basefield.cc: Same.
3961 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
3962 * include/bits/cpp_type_traits.h: Same.
3963 * include/bits/generic_shadow.h: Same.
3964 * include/bits/gslice_array.h: Same.
3965 * include/bits/gslice.h: Same.
3966 * include/bits/indirect_array.h: Same.
3967 * include/bits/slice_array.h: Same.
3968 * include/bits/sstream.tcc: Same.
3969 * include/bits/streambuf_iterator.h: Same.
3970 * include/bits/valarray_array.tcc: Same.
3971 * include/bits/valarray_meta.h: Same.
3972 * include/bits/valarray_array.h: Same.
3973 * config/os/mingw32/bits/ctype_noninline.h: Same.
3974 * config/os/mingw32/bits/ctype_base.h: Same.
3975 * config/os/hpux/bits/ctype_noninline.h: Same.
3976 * config/os/hpux/bits/ctype_base.h: Same.
3977 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3978 * config/os/gnu-linux/bits/ctype_base.h: Same.
3979 * config/os/generic/bits/ctype_noninline.h: Same.
3980 * config/os/generic/bits/ctype_base.h: Same.
3982 * libsupc++/tinfo.h: Tweaks.
3984 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3986 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
3987 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
3988 * testsuite/22_locale/ctype_members_char.cc: Tweak.
3990 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
3992 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
3993 (num_put::do_put(void*)): Fix.
3994 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
3995 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
3996 * testsuite/22_locale/num_get_members_char.cc (test02): Add
3997 long double, void, bool types.
3998 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4000 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4001 Alexandre Oliva <aoliva@redhat.com>
4003 * libmath/Makefile.am (LINK): Add --tag CC.
4004 * libmath/Makefile.in: Regenerate.
4006 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4008 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4009 of character to attribute mapping table.
4011 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4013 * testsuite/26_numerics/c99_classification_macros_c.cc
4014 Remove dg-error and dg-excess-errors comments.
4016 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4018 * include/bits/locale_facets.tcc (time_put::put): Correct output
4020 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4021 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4022 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4023 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4025 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4027 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4029 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4030 Nathan Myers <ncm@cantrip.org>
4032 * include/bits/basic_string.h
4033 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4034 temporaries (i.e., call _M_replace_safe) when possible.
4035 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4036 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4037 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4038 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4039 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4040 * include/bits/basic_string.tcc
4041 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4042 replace(__pos, __n1, __s, __n2).
4043 * testsuite/21_strings/replace.cc (test03): New testcases.
4045 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4046 Adjust comparison wrt overflow.
4048 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4050 * include/Makefile.am (std_headers_rename): New variable.
4051 (install-data-local): Use it.
4052 * include/Makefile.in: Regenerate.
4054 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4056 * include/bits/locale_facets.tcc (money_put::do_put(string):
4057 Correct output iterator value.
4058 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4059 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4061 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4063 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4066 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4068 * include/Makefile.am (std_headers): Update list with new names.
4069 (stamp-std): Link to standardized name.
4070 * include/Makefile.in: Regenerate.
4072 * include/std/algorithm, include/std/bitset, include/std/complex,
4073 include/std/deque, include/std/fstream, include/std/functional,
4074 include/std/iomanip, include/std/ios, include/std/iosfwd,
4075 include/std/iostream, include/std/istream, include/std/iterator,
4076 include/std/limits, include/std/list, include/std/locale,
4077 include/std/map, include/std/memory, include/std/numeric,
4078 include/std/ostream, include/std/queue, include/std/set,
4079 include/std/sstream, include/std/stack, include/std/stdexcept,
4080 include/std/streambuf, include/std/string, include/std/utility,
4081 include/std/valarray, include/std/vector: Rename to...
4083 * include/std/std_algorithm.h, include/std/std_bitset.h,
4084 include/std/std_complex.h, include/std/std_deque.h,
4085 include/std/std_fstream.h, include/std/std_functional.h,
4086 include/std/std_iomanip.h, include/std/std_ios.h,
4087 include/std/std_iosfwd.h, include/std/std_iostream.h,
4088 include/std/std_istream.h, include/std/std_iterator.h,
4089 include/std/std_limits.h, include/std/std_list.h,
4090 include/std/std_locale.h, include/std/std_map.h,
4091 include/std/std_memory.h, include/std/std_numeric.h,
4092 include/std/std_ostream.h, include/std/std_queue.h,
4093 include/std/std_set.h, include/std/std_sstream.h,
4094 include/std/std_stack.h, include/std/std_stdexcept.h,
4095 include/std/std_streambuf.h, include/std/std_string.h,
4096 include/std/std_utility.h, include/std/std_valarray.h,
4097 include/std/std_vector.h: ...this.
4099 2002-01-11 Loren Rittle <ljrittle@acm.org>
4101 * include/Makefile.am (extra_target_headers): New list of all
4102 target files built with ad hoc naming rules.
4103 (stamp-*): Handle LN_S failure in manner portable across make
4105 (install-data-local): Install header files from human-maintained
4106 file lists and directory components instead of non-robust find.
4107 * include/Makefile.in: Rebuilt.
4109 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4111 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4112 Check for zero-length negative sign before adding it to output
4114 (money_get::do_get(long double)): Return beg.
4115 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4117 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4119 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4122 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4123 for _M_extract_float and _M_extract_int
4124 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4125 (num_get<>::_M_extract_int): Likewise, all callers changed
4126 * testsuite/22_locale/num_get_members_char.cc: Testcase
4128 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4130 * libsupc++/exception (bad_exception): Add comment.
4131 * libsupc++/new (bad_alloc): Same.
4132 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4134 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4136 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4137 that the destructors should be removed from the descriptions
4138 in the standard: writing them explicitly allows the vtable
4139 heuristic to work. For additional information see:
4140 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4141 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4142 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4143 * libsupc++/exception (bad_exception::~bad_exception()):
4144 Reintroduce declaration.
4145 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4146 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4147 (bad_typeid::~bad_typeid()): Same.
4148 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4149 Reintroduce definition.
4150 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4151 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4152 (bad_typeid::~bad_typeid()): Same.
4154 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4156 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4157 * include/Makefile.in: Regenerate.
4159 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4161 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4164 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4168 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4169 return value of _M_file->sync().
4170 (filebuf::showmanyc): Check for is_open.
4171 * include/std/fstream (filebuf::sync): Tweak.
4172 * testsuite/27_io/filebuf.cc: Tweak.
4174 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4175 Brad Garcia <garsh@attbi.com>
4177 * testsuite/27_io/filebuf_members.cc: Add test.
4179 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4180 Craig Rodrigues <rodrigc@mediaone.net>
4183 * po/Makefile.am (mkinstalldirs): Add.
4184 * po/Makefile.in: Regenerate.
4186 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4188 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4189 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4191 * testsuite/23_containers/map_operators.cc: Remove
4192 dg-excess-errors comment.
4193 * testsuite/23_containers/set_operators.cc: Likewise.
4195 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4197 * include/bits/stl_function.h: Remove two lines of comments;
4198 adjust copyright years.
4200 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4202 * include/Makefile.am (std_headers): Remove cXXX from list.
4203 (c_base_srcdir): No bits subdirectory.
4204 (c_base_builddir): Same.
4205 (c_base_headers): Adjust names, add ciso646.
4206 (bits_headers): Remove std_xxx.h headers.
4207 * include/Makefile.in: Regenerate.
4209 * include/ext/iterator: Adjust includes.
4210 * include/ext/ropeimpl.h: Same.
4211 * include/ext/stl_hash_fun.h: Same.
4212 * include/ext/algorithm: Same.
4214 * include/backward/bvector.h: Adjust includes.
4215 * include/backward/vector.h: Same.
4216 * include/backward/strstream: Same.
4217 * include/backward/streambuf.h: Same.
4218 * include/backward/stack.h: Same.
4219 * include/backward/set.h: Same.
4220 * include/backward/queue.h: Same.
4221 * include/backward/multiset.h: Same.
4222 * include/backward/multimap.h: Same.
4223 * include/backward/map.h: Same.
4224 * include/backward/list.h: Same.
4225 * include/backward/iterator.h: Same.
4226 * include/backward/iostream.h: Same.
4227 * include/backward/iomanip.h: Same.
4228 * include/backward/fstream.h: Same.
4229 * include/backward/deque.h: Same.
4230 * include/backward/complex.h: Same.
4232 * include/bits/std_algorithm.h: Move to...
4233 * include/std/algorithm: ...here.
4234 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4235 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4236 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4237 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4238 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4239 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4240 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4243 * include/c_std/bits/std_cassert.h: Move to...
4244 * include/c_std/cassert: Here.
4245 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4246 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4247 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4248 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4249 std_cwctype.h: Same.
4250 * include/c_std/cmath: Adjust cmath.tcc include.
4251 * include/c_std/cstdlib: Adjust includes.
4252 * include/c_std/cwchar: Same.
4253 * include/c_std/ctime: Same.
4254 * include/c_std/cstring: Same.
4255 * include/c_std/cstdio: Same.
4256 * include/c_std/bits: Remove directory.
4258 * include/c/bits/std_cassert.h: Move to...
4259 * include/c/cassert: Here.
4260 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4261 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4262 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4263 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4264 std_cwctype.h: Same.
4265 * include/c/bits: Remove directory.
4267 * include/std/cwctype: Remove.
4268 * include/std/cwchar: Remove.
4269 * include/std/ctime: Remove.
4270 * include/std/cstring: Remove.
4271 * include/std/cstdlib: Remove.
4272 * include/std/cstdio: Remove.
4273 * include/std/cstddef: Remove.
4274 * include/std/cstdarg: Remove.
4275 * include/std/csignal: Remove.
4276 * include/std/csetjmp: Remove.
4277 * include/std/cmath: Remove.
4278 * include/std/clocale: Remove.
4279 * include/std/climits: Remove.
4280 * include/std/ciso646: Remove.
4281 * include/std/cfloat: Remove.
4282 * include/std/cerrno: Remove.
4283 * include/std/cctype: Remove.
4284 * include/std/cassert: Remove.
4286 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4287 files and subsituting <xxx>.
4288 * include/bits/valarray_array.h: Same.
4289 * include/bits/stl_uninitialized.h: Same.
4290 * include/bits/stl_alloc.h: Same.
4291 * include/bits/stl_algobase.h: Same.
4292 * include/bits/sstream.tcc: Same.
4293 * include/bits/pthread_allocimpl.h: Same.
4294 * include/bits/ostream.tcc: Same.
4295 * include/bits/localefwd.h: Same.
4296 * include/bits/locale_facets.tcc: Same.
4297 * include/bits/locale_facets.h: Same.
4298 * include/bits/istream.tcc: Same.
4299 * include/bits/char_traits.h: Same.
4300 * include/bits/boost_concept_check.h: Same.
4301 * include/bits/basic_file.h: Same.
4302 * include/std/bitset: Same.
4303 * include/std/complex: Same.
4304 * include/std/fstream: Same.
4305 * include/std/functional: Same.
4306 * include/std/ios: Same.
4307 * include/std/iostream: Same.
4308 * include/std/ostream: Same.
4309 * include/std/sstream: Same.
4310 * include/std/streambuf: Same.
4311 * include/std/string: Same.
4312 * include/std/iterator: Same.
4313 * include/std/valarray: Same.
4315 * src/ios.cc: Adjust includes.
4316 * src/valarray-inst.cc: Same.
4317 * src/string-inst.cc: Same.
4318 * src/stl-inst.cc: Same.
4319 * src/stdexcept.cc: Same.
4320 * src/misc-inst.cc: Same.
4321 * src/localename.cc: Same.
4322 * src/locale-inst.cc: Same.
4323 * src/locale.cc: Same.
4324 * src/limits.cc: Same.
4325 * src/concept-inst.cc: Same.
4326 * src/complex_io.cc: Same.
4327 * src/codecvt.cc: Same.
4328 * src/bitset.cc: Same.
4329 * src/cmath.cc: Same.
4331 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4333 * include/bits/stl_tree.h (rb_tree): Move to...
4334 * include/ext/rb_tree: ...here, new file.
4335 * include/Makefile.am (ext_headers): Add new file.
4336 * include/Makefile.in: Regenerate.
4337 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4338 return_temporary_buffer, struct temporary_buffer): Move to...
4339 * include/ext/memory: ...here.
4340 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4341 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4342 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4344 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4346 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4347 * include/ext/numeric: ...here, new file.
4348 * include/bits/stl_function.h (identity_element, unary_compose,
4349 binary_compose, compose1, compose2, identity, select1st,
4350 select2nd, project1st + helper, project2nd + helper,
4351 constant_void_fun + helper, constant_unary_fun + helper,
4352 costant_binary_fun + helper, constant0, constant1, constant2,
4353 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4354 * include/ext/functional: ...here, new file.
4355 * include/Makefile.am (ext_headers): Add new files.
4356 * include/Makefile.in: Regenerate.
4357 * testsuite/ext/headers.cc: Include <ext/numeric> and
4359 * include/backward/algo.h: Include <ext/numeric>, tweak.
4360 * include/backward/function.h: Include <ext/functional>, tweak.
4361 * include/ext/ropeimpl.h: Include <ext/numeric>.
4363 2002-01-03 Jeffrey A Law <law@redhat.com>
4365 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4366 __strtoull declarations with __extension__.
4368 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4370 * testsuite/lib/prune.exp: Correct regular expression for
4373 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4375 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4376 Change concept checks, as with lower_bound and PR 2054.
4377 * testsuite/ext/concept_checks.cc: Expand test to include those.
4379 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4381 * include/bits/boost_concept_check.h: Import some changes from
4382 upsteam (Boost) version.
4384 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4386 * include/bits/stl_algobase.h (copy_n + helpers,
4387 lexicographical_compare_3way + helpers): Move to...
4388 * include/ext/algorithm: ...here.
4389 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4390 helpers): Move to...
4391 * include/ext/memory: ...here, new file.
4392 * include/Makefile.am (ext_headers): Add new file.
4393 * include/Makefile.in: Regenerate.
4394 * testsuite/ext/headers.cc: Include <ext/memory>.
4395 * include/backward/algobase.h: Include <ext/memory> and
4396 <ext/algorithm>, tweak.
4397 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4398 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4400 2002-01-01 Roger Sayle <roger@eyesopen.com>
4402 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4403 equivalent ___builtin__ versions.
4405 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4406 are available in libstdc++ as the necessary stub implementations
4407 are provided by libmath/stubs.c.
4409 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4411 * configure.in: Add support for NetBSD cross compiles.
4412 * configure: Regenerate.