1 2002-09-25 Mark Mitchell <mark@codesourcery.com>
3 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
6 2002-09-23 Richard Henderson <rth@redhat.com>
8 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
9 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
10 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
11 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
12 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
13 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
14 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
15 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
16 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
17 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
18 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
19 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
20 __glibcpp_bool_digits, __glibcpp_signed_char_min,
21 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
22 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
23 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
24 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
25 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
26 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
27 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
28 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
29 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
30 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
31 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
32 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
33 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
34 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
35 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
36 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
37 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
38 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
39 __glibcpp_wchar_t_digits10): Remove.
40 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
41 (__float_storage, __double_storage, __long_double_storage): Remove.
42 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
43 (__glibcpp_digits, __glibcpp_digits10): New.
44 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
45 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
46 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
47 (numeric_limits<T>::digits): Use __glibcpp_digits.
48 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
49 * testsuite/18_support/numeric_limits.cc (test03): Don't use
50 __glibcpp_s8_digits10 et al; check vs the installed versions
51 of digits10 for particular sizes.
53 * include/std/std_limits.h (__glibcpp_float_is_modulo,
54 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
55 (numeric_limits<T>::is_modulo, T floating): Use false.
57 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
59 * Makefile.am (all-multi): Fix multilib parallel build.
61 2002-09-22 Richard Henderson <rth@redhat.com>
63 * include/std/std_limits.h (__glibcpp_f32_round_error,
64 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
65 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
66 __glibcpp_float_round_error, __glibcpp_double_round_error,
67 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
68 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
69 (numeric_limits<char>::epsilon, round_error): Use constant 0.
70 (numeric_limits<float>::round_error): Use constant 0.5.
71 (numeric_limits<float>::round_style): Use round_to_nearest.
72 (numeric_limits<double>, numeric_limits<long double>): Similarly.
74 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
75 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
76 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
77 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
78 __glibcpp_long_double_is_iec559): Remove.
79 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
80 (numeric_limits<double>, numeric_limits<long double>): Similarly.
82 * include/std/std_limits.h (__glibcpp_integral_traps): New.
83 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
84 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
85 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
86 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
87 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
88 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
89 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
90 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
91 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
92 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
93 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
94 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
95 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
96 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
97 (numeric_limits<T>::is_modulo, T integral): Use true.
98 (numeric_limits<T>::is_bounded, T floating): Use true.
100 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
102 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
104 2002-09-18 Richard Henderson <rth@redhat.com>
106 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
108 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
110 * include/c_shadow: Remove.
111 * include/bits/generic_shadow.h: Remove.
112 * include/Makefile.am: Remove generic_shadow.h.
113 * acinclude.m4: Remove c_shadow references.
114 * aclocal.m4: Regenerate.
115 * configure: Regenerate.
117 * mkinclosure: Remove.
119 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
122 * include/ext/stl_rope.h (rope<>): Qualify dependent names
125 2002-09-16 Richard Henderson <rth@redhat.com>
127 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
128 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
129 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
130 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
131 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
132 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
133 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
134 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
135 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
136 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
137 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
138 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
139 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
140 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
141 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
142 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
143 __glibcpp_long_double_has_SNaN): Remove.
144 (__glibcpp_f128_is_iec559): True if IEEE.
145 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
146 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
147 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
148 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
149 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
150 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
151 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
152 (std::numeric_limits<double>): Similarly.
153 (std::numeric_limits<long double>): Similarly.
154 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
155 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
156 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
158 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
159 (test_denorm_min, test_qnan, test_is_iec559): New.
161 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
163 * testsuite/abi_check.cc: Pull shell fragments out into...
164 * config/abi/extract_symvers: ...here. New file.
165 * Makefile.am (check_abi): Change to match.
166 (new-abi-baseline): New target.
167 * Makefile.in: Regenerated.
169 2002-09-16 Richard Henderson <rth@redhat.com>
171 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
172 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
173 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
174 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
175 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
176 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
177 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
178 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
179 __glibcpp_long_double_has_denorm): Remove.
180 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
181 __glibcpp_long_double_denorm_min): Remove.
182 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
183 (std::numeric_limits<float>::denorm_min): Likewise.
184 (std::numeric_limits<double>): Similarly.
185 (std::numeric_limits<long double>): Similarly.
186 * src/limits.cc (__glibcpp_float_denorm_min,
187 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
189 2002-09-13 Andy Felt <afelt@uwsp.edu>
191 * docs/html/17_intro/howto.html: Update link.
193 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
195 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
196 * docs/html/faq/index.html: Whitespace fixes.
198 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
200 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
202 * libmath/Makefile.in: Regenerate.
203 * src/Makefile.am: Tweak comment.
204 * src/Makefile.in: Regenerate.
206 * config/locale/gnu/c_locale.h: Remove warnings.
207 Inject __uselocale into __gnu_cxx.
208 * config/locale/generic/c_locale.h: Match.
210 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
212 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
213 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
214 * config/locale/generic/c_locale.h (__convert_from_v): Add.
216 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
218 * include/bits/locale_facets.tcc (__convert_from_v):
219 Use __uselocale instead of setlocale for glibc 2.3+.
221 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
223 * src/Makefile.am (sources): Edit.
224 (target_sources): New.
225 (target_sources_extra): New.
226 * src/Makefile.in: Regenerate.
227 * acinclude.m4: Set CCODECVT_CC.
228 * aclocal.m4: Regenerate.
229 * configure: Regenerate.
230 * src/locale.cc: Move ctype definitions...
231 * src/ctype.cc: ...here. New file.
232 * src/locale.cc: Move codecvt definitions...
233 * src/codecvt.cc: ...here.
234 * config/generic/codecvt_members.cc: ...and here.
235 * config/gnu/codecvt_members.cc: ...and here.
236 * include/bits/codecvt.h: Tweak.
237 * include/bits/locale_facets: Tweak.
239 * src/bitset.cc: Correct license text.
240 * src/concept-inst.cc: Same.
241 * src/strstream.cc: Same.
242 * src/vterminate.cc: Same.
244 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
246 * include/bits/stl_vector.h (vector<>): Don't use a name with
247 different meanings before and after re-evaluation in the completed
249 * include/bits/basic_string.h (basic_string<>): Likewise.
250 * include/bits/stl_bvector.h (vector<bool>): Likewise.
251 * include/bits/stl_deque.h (std): Likewise.
252 * include/bits/stl_list.h (list<>): Likewise.
253 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
255 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
257 * include/bits/codecvt.h (class __codecvt_abstract_base):
258 Add __c_locale type _M_c_locale_codecvt member.
259 (class codecvt<char, char, mbstate_t>,
260 class codecvt<wchar_t, char, mbstate_t>): Add new
261 codecvt(__c_locale, size_t) constructor.
262 (codecvt_byname::codecvt_byname): Update.
263 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
264 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
265 constructor and ~codecvt() destructor; define
266 codecvt(__c_locale, size_t) constructor.
267 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
268 (codecvt::do_in): Ditto for mbsrtowcs call.
269 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
270 Tweak construction of codecvt facets.
272 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
274 * include/bits/locale_facets.tcc (__convert_from_v):
275 Replace strdup with ISO malloc and strcpy.
277 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
279 * docs/html/configopts.html: Change grouping. Note ABI impacts.
280 Update information for locale model defaults.
281 * docs/html/install.html: Update include directory
283 Update testing information.
284 Update linux issues for named locales.
285 * docs/html/abi.txt: Fix typos.
288 * src/misc-inst.cc: Add missing instantiations.
290 * testsuite/abi_check.cc: Make output results more verbose.
292 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
294 2002-09-07 Jakub Jelinek <jakub@redhat.com>
296 * config/locale/generic/messages_members.cc: Add specialization for
298 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
300 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
302 * include/bits/localefwd.h: Tweak formatting.
303 * docs/html/abi.txt: Add.
305 2002-09-06 Jakub Jelinek <jakub@redhat.com>
307 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
309 * config/cpu/sparc/atomicity.h: New file.
310 * config/cpu/sparc/sparc32/atomicity.h: Removed.
311 * config/cpu/sparc/sparc64/atomicity.h: Removed.
313 2002-09-06 Jakub Jelinek <jakub@redhat.com>
315 * config/os/gnu-linux/ctype_noninline.h
316 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
317 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
318 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
319 and return __ctype_b.
320 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
321 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
322 initialize using __ctype_{b,tolower,toupper}.
323 (ctype<char>::ctype(const mask*, bool, size_t)): If
324 _GLIBCPP_C_LOCALE_GNU, initialize using
325 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
326 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
328 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
329 Roland McGrath <roland@redhat.com>
332 * src/locale.cc (locale::locale(__s)): Use getenv instead
333 of setenv for the environment locale.
334 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
336 2002-09-05 Jakub Jelinek <jakub@redhat.com>
338 * config/abi/ia64-unknown-linux-gnu: Add.
339 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
340 * config/abi/alphaev67-unknown-linux-gnu: Add.
341 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
343 2002-09-05 Jonathan Wakely <jw@kayari.org>
345 * docs/html/Makefile: Use more portable shell wildcard.
346 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
347 * docs/html/configopts.html, docs/html/documentation.html,
348 docs/html/explanations.html, docs/html/install.html,
349 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
350 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
351 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
352 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
353 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
354 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
355 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
356 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
357 docs/html/27_io/howto.html, docs/html/ext/howto.html,
358 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
360 * docs/html/faq/index.txt: Regenerate.
362 2002-09-05 Jakub Jelinek <jakub@redhat.com>
364 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
365 Switch to _M_c_locale_ctype around btowc call.
366 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
367 Switch to _M_c_locale_ctype around mbsrtowcs call.
368 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
370 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
371 Switch to _M_c_locale_ctype around wcsrtombs call.
373 2002-09-05 Jakub Jelinek <jakub@redhat.com>
375 * config/locale/gnu/monetary_members.cc
376 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
377 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
378 __uselocale instead of setlocale for glibc 2.3.
380 2002-09-05 Jakub Jelinek <jakub@redhat.com>
382 * config/locale/generic/c++locale_internal.h: New header.
383 * config/locale/gnu/c++locale_internal.h: New header.
384 * config/locale/gnu/c_locale.cc: Include it.
385 * config/locale/gnu/collate_members.cc: Include it.
386 * config/locale/gnu/ctype_members.cc: Include it.
387 * config/locale/gnu/messages_members.cc: Include it.
388 * config/locale/gnu/monetary_members.cc: Include it.
389 * config/locale/gnu/numeric_members.cc: Include it.
390 * config/locale/gnu/time_members.cc: Include it.
391 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
393 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
395 * acinclude.m4: Include string.h when testing strcoll_l.
396 For glibc 2.3 provide __-prefixed prototypes.
397 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
398 * aclocal.m4, configure: Rebuilt.
400 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
402 * include/bits/locale_facets.h: Add declaration of specialization
404 * config/locale/gnu/messages_members.cc: Add specialization for
406 * config/locale/gnu/messages_members.h: Remove generic definition
409 2002-09-04 Richard Henderson <rth@redhat.com>
411 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
412 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
413 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
414 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
415 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
416 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
417 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
418 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
419 __glibcpp_long_double_has_infinity): Remove.
420 (std::numeric_limits<float>, std::numeric_limits<double>,
421 std::numeric_limits<long double>): Use __builtin_huge_val
422 to implement has_infinity and infinity().
423 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
424 __glibcpp_long_double_infinity): Remove.
426 2002-09-03 Richard Henderson <rth@redhat.com>
428 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
429 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
430 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
431 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
432 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
433 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
434 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
435 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
436 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
437 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
438 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
439 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
440 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
441 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
442 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
443 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
444 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
445 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
446 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
447 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
448 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
449 __glibcpp_float_digits10, __glibcpp_float_radix,
450 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
451 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
452 __glibcpp_float_max_exponent10, __glibcpp_double_min,
453 __glibcpp_double_max, __glibcpp_double_digits,
454 __glibcpp_double_digits10, __glibcpp_double_radix,
455 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
456 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
457 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
458 __glibcpp_long_double_max, __glibcpp_long_double_digits,
459 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
460 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
461 __glibcpp_long_double_min_exponent10,
462 __glibcpp_long_double_max_exponent,
463 __glibcpp_long_double_max_exponent10): Remove macros.
464 (std::numeric_limits<float>, std::numeric_limits<double>,
465 std::numeric_limits<long double>): Use protected float.h macros.
467 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
469 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
470 Fix spelling in comment.
471 * testsuite/Makefile.in: Regenerate.
472 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
473 than 'quote' and 'bslash'.
475 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
477 * acinclude.m4: Minor comment tweaks.
479 * docs/html/makedoc.awk: New file...
480 * docs/html/Makefile: ...called from here...
481 * docs/html/documentation.html: ...to help generate this.
483 * docs/html/21_strings/howto.html: Prepare for new entry.
484 * include/bits/basic_string.h: Initial basic_stirng hook for
485 doxygen. Remove trailing whitespace.
486 * include/bits/char_traits.h: Point to onlinedocs for new entry.
487 * include/bits/stringfwd.h: Add doxygen hooks for string and
490 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
492 * config/cpu/arm/cpu_limits.h: New file.
493 * configure.target: Use config/cpu/arm for XScale and StrongARM
496 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
498 * include/std/std_limits.h (__glibcpp_char_bits,
499 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
500 __glibcpp_long_long_bits, __glibcpp_float_bits,
501 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
502 compiler predifined macros.
503 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
506 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
508 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
509 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
510 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
511 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
512 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
513 __glibcpp_f64_infinity_bytes,
514 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
515 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
516 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
517 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
518 __glibcpp_f80_infinity_bytes,
519 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
520 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
521 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
522 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
523 __glibcpp_f96_infinity_bytes,
524 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
525 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
526 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
527 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
528 __glibcpp_f128_infinity_bytes,
529 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
530 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
531 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
532 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
533 __glibcpp_float_infinity_bytes,
534 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
535 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
536 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
537 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
538 __glibcpp_double_infinity_bytes,
539 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
540 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
541 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
542 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
543 __glibcpp_long_double_infinity_bytes,
544 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
545 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
546 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
547 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
549 (__glibcpp_word_bits, __glibcpp_word): Likewise.
550 (__glibcpp_byte): New typedef.
551 (__float_storage, __double_storage, __long_double_storage): New types.
552 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
553 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
555 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
556 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
557 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
558 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
561 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
562 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
563 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
564 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
565 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
566 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
569 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
571 * include/std/std_limits.h: Indent conditional macro definitions.
573 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
575 * Makefile.am (check-abi): Specify current directory.
576 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
577 abi_baseline_triplet in baseline_file.
578 * Makefile.in, aclocal.m4, configure: Regenerate.
579 * configure.target: Add abi_baseline_triplet with default.
580 * testsuite/abi_check.cc: More error checking.
582 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
584 * config/linker-map.gnu: Verbose comments, clean up spacing.
585 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
587 __allocator: Change class declaration to struct.
588 * docs/html/17_intro/C++STYLE: Fix typo.
589 * include/bits/stl_deque.h, include/bits/stl_list.h,
590 include/bits/stl_map.h, include/bits/stl_multimap.h,
591 include/bits/stl_vector.h: Fix fallout from typo.
593 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
595 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
596 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
598 * aclocal.m4: Regenerate.
599 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
601 * testsuite/Makefile.in: Regenerate.
603 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
605 * testsuite/abi_check.cc: Enhance shell portability.
606 Support older binutils/readelf.
607 * config/abi/i386-unknown-freebsd4.6: Add.
608 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
610 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
612 * docs/html/faq/index.html: Add Loren James Rittle and
613 Paolo Carlini to the list of v3 maintainers.
614 * docs/html/faq/index.txt: Ditto.
615 * docs/html/17_intro/RELEASE-NOTES: Ditto.
617 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
618 Phil Edwards <pme@gcc.gnu.org>
619 Ulrich Drepper <drepper@redhat.com>
621 * Makefile.am (check-abi): New rule.
622 * Makefile.in: Regenerate.
623 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
624 * aclocal.m4: Regenerate.
625 * configure: Regenerate.
626 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
627 (abi_check_SOURCES): Add.
628 * testsuite/Makefile.in: Regenerate.
629 * testsuite/abi_check.cc: New file.
631 * config/abi/i686-pc-linux-gnu: Add.
632 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
634 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
636 * configure.in (libtool_VERSION): Update to 5:1:0.
637 * configure: Regenerate.
639 2002-08-19 Jonathan Wakely <jw@kayari.org>
641 * docs/html/configopts.html, docs/html/documentation.html,
642 docs/html/install.html, docs/html/22_locale/codecvt.html,
643 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
644 docs/html/22_locale/locale.html,
645 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
647 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
649 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
650 _M_buf_size_opt to zero when unbuffering.
651 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
652 Consistency checks for _M_buf_size_opt.
654 Revert PR libstdc++/7445
655 * src/locale.cc (locale::classic): Revert.
657 * docs/html/17_intro/TODO: Add.
659 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
661 * docs/html/documentation.html: Update doxygen links for 3.2.
663 2002-08-15 Steve Ellcey <sje@cup.hp.com>
665 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
666 type from void* to _Unwind_Ptr.
667 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
668 Do not cast landing_pad or base_of_encoded_value to (void *).
669 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
670 Accept _URC_NO_REASON as a valid reason code.
672 2002-08-14 Jonathan Wakely <jw@kayari.org>
674 * docs/html/22_locale/messages.html: Use HTML entities for
677 2002-08-13 Jonathan Wakely <jw@kayari.org>
678 Phil Edwards <pme@gcc.gnu.org>
680 * docs/html/documentation.html: Use HTML entities for punctuation.
682 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
684 * include/bits/deque.tcc, include/bits/list.tcc,
685 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
686 include/bits/stl_list.h, include/bits/stl_map.h,
687 include/bits/stl_multimap.h, include/bits/stl_queue.h,
688 include/bits/stl_stack.h, include/bits/stl_vector.h,
689 include/bits/vector.tcc: Re-indent contents of namespace std,
690 re-wrap comment lines as necessary.
692 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
693 Benjamin Kosnik <bkoz@redhat.com>
695 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
697 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
699 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
701 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
702 * libsupc++/Makefile.in: Regenerate.
704 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
707 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
708 Instantiate with new function objects.
709 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
711 * include/bits/gslice_array.h: Likewise.
712 * include/bits/indirect_array.h: Likewise.
714 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
716 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
717 testsuite/26_numerics/valarray_name_lookup.C
719 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
720 object function surrogates.
721 * include/bits/valarray_meta.h (__shift_left): Fix typo.
722 (_BinFunClos<>): Remove.
723 (_BinFunBase<>): Likewise.
724 (_BinFunBase1<>):Likewise.
725 (_BinFunBase2<>): Likewise.
726 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
727 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
728 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
729 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
730 * include/std/std_valarray.h: Dont #include <functional> anymore.
731 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
732 _Shift_right<>): Remove.
733 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
734 (_DEFINE_BINARY_OPERATOR): Tweak definition.
735 (_DEFINE_LOGICAL_OPERATOR): Remove.
736 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
738 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
740 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
741 (_UnFunClos<>): Same.
742 (_UnBase<>): Reformat. Make first template-parameter non
744 (_UnClos<>): Likewise.
745 (_Expr<>): Reformate. Adjust unary member operator return types.
746 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
747 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
748 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
749 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
750 operator return types. Reformat.
751 (_Bitwise_not): Remove.
752 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
753 * testsuite/26_numerics/valarray_name_lookup.C: New test.
755 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
757 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
758 (scan_is): Use this->is.
759 (scan_not): Likewise.
761 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
763 Revert PR libstdc++/6594
764 * src/strstream.cc (strstreambuf): Revert.
765 (strstreambuf::overflow): Same.
766 (strstreambuf::~strstreambuf): Same.
767 * testsuite/backward/strstream_members.cc (test02): Add.
769 * docs/html/abi.txt: Update. Spell check.
771 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
773 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
774 * testsuite/Makefile.in: Regenerate.
775 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
776 include functexcept.h so that -fno-exceptions will build.
778 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
780 * include/bits/valarray_meta.h (__unary_plus, __negate,
781 __bitwise_not, __plus, __minus, __multiplies, __divides,
782 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
783 __shift_left, __shift_right, __logical_and, __logical_or,
784 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
785 __greater_equal, __greater, __atan2, __pow): New function object
787 (__fun<>): New function traits class.
789 2002-08-01 Rick Danos <rdanos@hotmail.com>
792 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
793 * config/os/newlib/ctype_inline.h (is): Use static_cast.
795 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
797 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
798 * libsupc++/Makefile.in: Regenerate.
800 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
801 Jakub Jelinek <jakub@redhat.com>
803 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
804 GLIBCPP_3.1 to GLIBCPP_3.2.
806 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
807 Mark Mitchell <mark@codesourcery.com>
810 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
812 (__class_type_info): And here.
814 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
818 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
819 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
820 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
821 (__vmi_class_type_info::__base_info): Don't make const, of type
822 __base_class_type_info, as per 2.9.5p6c
823 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
825 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
827 (__pointer_to_member_type_info::__context_class): Change member to
828 __context, as per 2.9.5p9.
829 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
831 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
833 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
835 * libsupc++/tinfo.cc (__do_dyncast): Same.
836 * libsupc++/tinfo.cc (__do_upcast): Same.
838 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
840 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
842 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
844 * docs/html/22_locale/howto.html: Fix.
846 2002-07-31 Alex Kompel <shurik@sequoiap.com>
849 * src/locale.cc (locale::classic): Move locks inside !_S_classic
852 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
854 * docs/html/abi.txt: Update.
856 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
857 Gabriel Dos Reis <gdr@nerim.net>
859 * include/bits/char_traits.h: Remove generic definitions.
860 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
862 * include/bits/istream.tcc (istream::readsome): Don't check
863 against eof, instead use constants.
864 (istream::sync): Same.
865 (istream::sentry::sentry): Use eq_int_type.
866 (istream::get): Same.
867 * include/bits/ostream.tcc: Change __pad to
868 __pad<_CharT, _Traits>::_S_pad.
869 * include/bits/locale_facets.h: Add __pad_traits generic and
870 ostreambuf_iterator specialization.
871 * include/bits/locale_facets.tcc: Change __pad into struct __pad
872 with a _CharT and _Traits template parameter and _S_pad static
874 * src/locale-inst.cc: Update __pad instantiations.
876 * include/std/std_fstream.h: Declare _M_underflow_common
878 * src/fstream.cc: New. Add _M_underflow_common specializations.
879 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
880 (filebuf::_M_underflow_common(bool)): Remove generic version, as
881 sys_ungetc and custom int_types don't get along.
882 * include/std/std_streambuf.h: Add _M_pos.
883 * src/Makefile.am (sources): Add fstream.cc.
884 * src/Makefile.in: Regenerate.
886 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
887 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
888 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
889 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
890 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
891 * testsuite/27_io/filebuf.cc: ...here.
892 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
893 specialization for both.
894 * testsuite/27_io/streambuf.cc: Add instantiation test,
895 testsuite_hooks include.
896 * testsuite/27_io/istream.cc: Same.
897 * testsuite/27_io/ostream.cc: Same.
898 * testsuite/27_io/fstream.cc: Same.
899 * testsuite/27_io/stringstream.cc: Same.
900 * testsuite/27_io/filebuf.cc: Same.
901 * testsuite/27_io/stringbuf.cc: Same.
903 2002-07-29 Alan Modra <amodra@bigpond.net.au>
905 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
906 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
907 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
908 (__test_and_set): Remove.
909 (_STWCX): Define and use.
911 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
913 * libsupc++/new (placement delete): Remove unused parameter names.
915 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
918 * include/std/std_istream.h (basic_iostream): Add typedefs for
919 char_type, int_type, pos_type, off_type, and traits_type.
920 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
921 * testsuite/27_io/istream.cc: Same.
922 * testsuite/27_io/ostream.cc: Same.
923 * testsuite/27_io/filebuf.cc: Same.
924 * testsuite/27_io/stringbuf.cc: Replace content, move to...
925 * testsuite/27_io/stringbuf_members.cc: ...here.
926 * testsuite/27_io/streambuf.cc: Replace content, move to...
927 * testsuite/27_io/streambuf_members.cc: ...here.
928 * testsuite/27_io/stringstream.cc: Replace content, move to...
929 * testsuite/27_io/stringstream_members.cc: ...here.
930 * testsuite/27_io/ios.cc: New file.
931 * testsuite/27_io/fstream.cc: New file.
932 * testsuite/27_io/ifstream.cc: New file.
933 * testsuite/27_io/ofstream.cc: New file.
934 * testsuite/27_io/istringstream.cc: New file.
935 * testsuite/27_io/ostringstream.cc: New file.
937 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
940 * include/bits/istream.tcc (istream::ignore): Don't extract on
942 * testsuite/27_io/istream_unformatted.cc (test10): Add.
944 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
946 * testsuite/27_io/ios_base_type.cc: Move to...
947 * testsuite/27_io/ios_base_types.cc: ...here.
949 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
952 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
953 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
955 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
958 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
959 * include/Makefile.am (backward_headers): Use strstream, not
961 * include/Makefile.in: Regenerate.
962 * include/backward/strstream: Revert.
963 * include/backward/strstream.h: Remove.
964 * src/strstream.cc: Revert.
965 * testsuite/backward/strstream_members.cc: Change include.
967 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
970 * include/bits/ios_base.h (ios_base::streampos): Add.
971 (ios_base::streamoff): Add.
972 * testsuite/27_io/ios_base_type.cc: New.
974 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
977 * libsupc++/new: Add placement delete.
978 * testsuite/18_support/new_delete_placement.cc: New.
980 * docs/html/abi.txt: Fix typos.
982 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
984 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
985 confusing usage of "latest."
986 De-tangle contributor information from introductory notes.
987 Move abi.txt link placement, activate.
989 Move chapter info into old FAQ format.
990 * docs/html/organization.html: Removed, obsoleted by doxygen work.
991 * docs/html/abi.txt: Add notes on testing ABI changes.
993 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
995 * docs/html/abi.txt: New file.
996 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
997 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
998 Import from upstream, R22.
1000 * include/bits/char_traits.h, include/bits/stl_iterator.h,
1001 include/bits/stl_iterator_base_types.h, libsupc++/exception,
1002 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
1004 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1005 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
1006 of deprecated functions until 3.4. (Same timeframe, different text.)
1007 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
1008 the other sequence classes received.
1010 2002-07-18 Brendan Kehoe <brendan@zen.org>
1012 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1015 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
1018 * include/bits/slice_array.h
1019 (slice_array<T>::operator=(const T&)): Constify.
1020 * include/bits/gslice_array.h
1021 (gslice_array<T>::operator=(const T&)): Likewise.
1022 * include/bits/mask_array.h
1023 (mask_array<T>::operator=(const T&)): Likewise.
1024 * include/bits/indirect_array.h
1025 (indirect_array<T>::operator=(const T&): Likewise.
1027 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
1029 * docs/doxygen/run_doxygen: Remove template parameter names from
1030 "Compound List" summary page. Reformat.
1031 * docs/html/documentation.html: XHTML fixes.
1033 2002-07-16 Andreas Schwab <schwab@suse.de>
1035 * libsupc++/new (set_new_handler): Declare to not throw any
1037 * libsupc++/new_handler.cc (set_new_handler): Likewise.
1039 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
1041 * include/Makefile.am (bits_headers): Remove slice.h
1042 * include/Makefile.in: Regenerate.
1043 * include/bits/slice.h (slice): move to include/bits/slice_array.h
1044 * include/bits/slice.h Remove.
1045 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
1046 * include/bits/slice_array.h: Comply to official coding styles.
1047 * testsuite/26_numerics/slice.cc: New test.
1049 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1051 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
1052 print to match vendor <ctype.h>.
1054 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
1056 * docs/html/faq/index.html: Fix download links.
1057 * docs/html/faq/index.txt: Regenerate.
1058 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1060 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1062 * configure.target (target_os switch): Allow for irix6*o32
1065 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1067 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1068 template parameter. Remove _M_func data member.
1069 (_UnFunClos): Take a third template parameter.
1070 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1071 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1072 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1074 2002-07-08 Eric Christopher <echristo@redhat.com>
1076 * configure.target: Fix comment for mips atomicity. Add
1077 mips*-*-linux* target, enable atomic operations there.
1078 * config/cpu/mips/atomicity.h: Fix comments, remove
1079 #ifndef/#endif. Add push/pop mips2.
1081 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1083 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1084 member declarations to avoid compiler warnings and restore 3.1 ABI.
1086 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1088 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1091 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1094 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1095 Make non-member, as already happens for the comparison
1096 operators in accord with DR179 (Ready).
1097 * testsuite/23_containers/deque_operators.cc: Add test02.
1099 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1100 Jack Reeves <jackw_reeves@hotmail.com>
1102 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1103 size_t, from int_type.
1104 (basic_streambuf::_M_buf_size_opt): Same.
1105 (basic_streambuf::_S_pback_sizex): Same.
1106 * include/bits/streambuf.tcc: Same.
1107 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1109 (basic_streambuf::uflow): Same.
1110 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1112 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1113 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1115 (basic_streambuf::xsputn): Same.
1116 (__copy_streambufs): Same.
1118 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1120 * include/std/std_memory.h: Fix formatting.
1121 * testsuite/20_util/auto_ptr_neg.cc: New.
1122 * testsuite/20_util/auto_ptr.cc: Tweaks.
1123 * testsuite/23_containers/map_operators.cc (test01): Split into..
1124 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1125 * testsuite/23_containers/set_operators.cc: Move to...
1126 * testsuite/23_containers/set_operators_neg.cc: ...here.
1127 * testsuite/README: Add some more naming rules.
1129 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1132 * include/ext/stl_hashtable.h: Fix.
1133 * testsuite/ext/hash_map.cc: New.
1135 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1136 Kenny Simpson <theonetruekenny@yahoo.com>
1137 Phil Edwards <pme@gcc.gnu.org>
1140 * testsuite/20_util/auto_ptr.cc (test08): New test.
1141 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1142 (auto_ptr::operator auto_ptr_ref): Fix typo.
1143 General reformatting and doxygenating of the whole file.
1145 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1148 * include/c/std_cwchar.h: Fix.
1150 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1153 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1154 char* name parameter.
1155 * config/locale/gnu/monetary_members.cc: Use it.
1156 * config/locale/generic/monetary_members.cc: Same.
1157 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1159 * include/backward/strstream.h: Update date.
1161 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1164 * include/bits/stl_iterator.h
1165 (__normal_iterator::operator-(const __normal_iterator&)):
1166 Make non-member, as already happens for the comparison
1167 operators in accord with DR179 (Ready).
1168 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1170 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1173 * acinclude.m4: Simplify determination of gcc_version, and move
1174 up to GLIBCPP_CONFIGURE.
1175 * configure.in (release_VERSION): Really remove.
1176 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1177 * aclocal.m4, configure: Regenerate.
1179 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1181 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1182 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1183 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1184 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1186 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1188 * include/backward/strstream: Remove namespace std. Transfer to...
1189 * include/backward/strstream.h: ...here. Qualify std names.
1190 * src/strstream.cc: Remove namespace std.
1191 * include/Makefile.am (backward_headers): Remove strstream.h.
1192 * include/Makefile.in: Regenerate.
1193 * config/linker-map.gnu: Export strstream bits.
1195 * src/fstream-inst.cc: Tweak.
1196 * src/io-inst.cc: Same.
1197 * src/istream-inst.cc: Same.
1198 * src/misc-inst.cc: Same.
1199 * src/ostream-inst.cc: Same.
1200 * src/sstream-inst.cc: Same.
1201 * src/valarray-inst.cc: Same.
1202 * src/misc-inst.cc: Remove unused instantiations.
1204 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1206 * configure.in (libtool_VERSION): Bump to 5:0:0.
1207 * configure: Regenerate.
1209 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1211 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1212 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1213 * include/std/std_stack.h: Include deque.tcc.
1214 * testsuite/23_containers/adaptors.cc: New file.
1216 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1218 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1219 * docs/html/ext/howto.html: Update allocator notes.
1221 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1223 * configure.in (INTERFACE): Remove.
1224 (release_VERSION): Remove.
1225 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1226 (libstdcxx_interface): Change. Use gcc methods to determine version.
1227 * configure: Regenerate.
1228 * aclocal.m4: Regenerate.
1230 2002-06-25 DJ Delorie <dj@redhat.com>
1232 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1233 GLIBCPP_TOPREL_CONFIGURE.
1234 * aclocal.m4: Likewise.
1235 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1236 * configure: Regenerate.
1238 2002-06-25 Jessica Han <jessica@cup.hp.com>
1240 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1241 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1242 _GLIBCPP_VTABLE_PADDING is defined.
1244 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1246 * include/bits/stl_alloc.h: Additional formatting.
1248 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1250 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1252 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1254 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1255 * config/os/*/bits/*: Likewise.
1256 * configure.in: Update.
1257 * configure: Regenerate.
1258 * configure.target: Update.
1259 * docs/html/17_intro/porting.texi: Update.
1261 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1263 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1264 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1265 complete doxygenation.
1266 * include/bits/boost_concept_check.h: Minor comment.
1268 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1270 * include/c_compatibility: New.
1271 * include/c_compatibility/assert.h: New.
1272 * include/c_compatibility/ctype.h: New.
1273 * include/c_compatibility/errno.h: New.
1274 * include/c_compatibility/float.h: New.
1275 * include/c_compatibility/iso646.h: New.
1276 * include/c_compatibility/limits.h: New.
1277 * include/c_compatibility/locale.h: New.
1278 * include/c_compatibility/math.h: New.
1279 * include/c_compatibility/setjmp.h: New.
1280 * include/c_compatibility/signal.h: New.
1281 * include/c_compatibility/stdarg.h: New.
1282 * include/c_compatibility/stddef.h: New.
1283 * include/c_compatibility/stdio.h: New.
1284 * include/c_compatibility/stdlib.h: New.
1285 * include/c_compatibility/string.h: New.
1286 * include/c_compatibility/time.h: New.
1287 * include/c_compatibility/wchar.h: New.
1288 * include/c_compatibility/wctype.h: New.
1290 * include/c/std_cerrno.h: Get out of the way... define errno.
1291 * include/c/std_cmath.h: Add abs, modf overloads.
1292 Undefine C99 isms. Still not sure how to deal with this sanely.
1293 * include/c/std_csetjmp.h: Tweak.
1294 * include/c/std_cwchar.h: Include cstddef for size_t.
1296 * include/c_std/std_cmath.h: Remove extra function.
1298 Pendantic std usage in testsuites.
1299 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1301 * testsuite/17_intro/header_cwchar.cc: Tweak.
1302 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1304 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1305 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1306 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1307 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1308 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1309 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1310 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1311 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1312 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1313 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1314 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1315 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1316 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1317 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1318 * testsuite/22_locale/num_get_members_char.cc: Same.
1319 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1320 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1321 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1322 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1323 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1324 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1325 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1326 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1327 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1328 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1329 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1330 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1332 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1334 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1337 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1339 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1340 Use size_type instead of unsigned long.
1342 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1344 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1346 (_S_min_len): Ditto.
1348 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1350 * include/Makefile.am: Add rules.
1351 * include/Makefile.in: Regenerate.
1353 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1354 * aclocal.m4: Regenerate.
1355 * configure: Regenerate.
1356 * configure.target (c_model, c_compatibility): Add.
1358 * libsupc++/Makefile.am (c_sources): New.
1359 (libsupc___la_SOURCES): Add c_sources.
1360 (LTCOMPILE): Remove INCLUDES.
1361 (GCC_INCLUDES): New.
1362 (C_COMPILE): New, like COMPILE but without INCLUDES.
1363 (cxa_demangle.o): Use C_COMPILE.
1364 (dyn-string.o): Use C_COMPILE.
1366 * include/c/std_cstdarg.h: Define __need___va_list.
1367 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1368 need_NULL, need_offsetof.
1370 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1372 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1373 definitions in hpux11 cross-build because these functions do
1374 not exist on hpux11 (but some exist on hpux10); move defaults out
1375 into existing sections.
1376 * configure: Regenerate.
1378 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1380 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1381 * include/c/std_cwctype.h: Guard.
1383 * libsupc++/eh_alloc.cc: Tweak include order.
1384 * libsupc++/pure.cc: Use cstdio.
1385 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1386 cstdlib brings it in. Use std::malloc.
1388 * src/Makefile.am (sources): Remove cmath.cc.
1389 * src/Makefile.in: Regenerate.
1390 * src/cmath.cc: Remove.
1392 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1394 * configure.target: Force mips to use the generic cpu routines.
1396 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1398 * configure.host: Delete file.
1399 * configure.target: More documentation. Factor out common parts of
1400 script into "intelligent" settings about defaults. Remove redundancy.
1402 * acinclude.m4: Update comments. Do not call configure.host.
1403 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1405 * configure.in: Slight reformatting, more comments. Factor out
1406 "config/" from all the directories.
1407 * docs/html/17_intro/porting.texi: Update and expand.
1408 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1409 from configure.host.
1411 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1412 testsuite/Makefile.in: Regenerate.
1414 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1416 * docs/doxygen/TODO: Update.
1417 * docs/doxygen/tables.html: Uncomment magical middle column.
1418 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1419 * include/bits/stl_queue.h: Doxygenate and reformat.
1420 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1421 for deprecated names required by the standard.
1423 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1425 * configure.in (target_alias): Fix.
1426 * configure: Regenerate.
1427 * aclocal.m4: Regenerate.
1429 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1431 * include/Makefile.am: Add new files.
1432 * include/Makefile.in: Regenerate.
1434 * include/bits/stl_deque.h, include/bits/stl_list.h,
1435 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1436 * include/bits/deque.tcc, include/bits/list.tcc,
1437 include/bits/vector.tcc: ...to here. New files.
1439 * include/ext/stl_hashtable.h: Inclide correct full headers.
1440 * include/std/std_deque.h: Include .tcc files for now.
1441 * include/std/std_list.h: Likewise.
1442 * include/std/std_vector.h: Likewise.
1444 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1446 * Makefile.am: Add FLAGS_TO_PASS.
1447 * Makefile.in: Regenerated.
1449 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1450 Benjamin Kosnik <bkoz@redhat.com>
1452 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1454 * configure.in: Add support for *-qnx6.[12]*.
1455 * configure: Regenerate.
1457 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1459 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1460 ctype_noninline.h, os_defines.h: New files.
1462 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1464 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1465 include all required headers for test against older POSIX standard.
1466 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1467 (ac_setrlimit): Likewise.
1468 * aclocal.m4: Regenerate.
1469 * configure: Regenerate.
1470 * testsuite/testsuite_hooks.cc: Reorder and include all
1471 required headers for use against older POSIX standard.
1473 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1475 * testsuite/backwards/strstream_members.cc: New.
1477 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1479 * include/backwards/strstream: Format.
1480 * src/strstream.cc: Format.
1482 2002-06-08 Andreas Schwab <schwab@suse.de>
1484 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1485 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1487 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1489 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1491 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1493 * src/locale-inst.cc (__codecvt_abstract_base):
1494 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1495 * include/bits/istream.tcc (basic_istream): Ditto.
1498 * include/bits/ostream.tcc (basic_ostream): Ditto.
1502 (operator<<): Ditto.
1504 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1506 * mkcheck.in: Link against local testsuite library.
1507 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1508 implementation out...
1509 * testsuite/testsuite_hooks.cc: ...to here.
1511 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1513 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1514 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1515 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1516 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1517 * testsuite/Makefile.in: Likewise.
1519 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1521 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1522 Call external symbol.
1524 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1526 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1527 Search correct multilib testsuite dir for libv3test.
1529 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1530 Gaby Dos Reis <gdr@codesourcery.com>
1532 * include/bits/basic_string.tcc
1533 (basic_string::_S_construct(forward_iterator_tag):
1534 Fix typo in null pointer check.
1535 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1537 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1539 * testsuite/22_locale/money_get_members_char.cc
1540 (test02): Add decimal point to long double constants.
1541 * testsuite/22_locale/money_get_members_wchar_t.cc
1543 * testsuite/22_locale/money_put_members_char.cc
1544 (test02, test03, test06): Likewise.
1545 * testsuite/22_locale/money_put_members_wchar_t.cc:
1546 (test02, test03, test06): Likewise.
1547 * testsuite/22_locale/num_get_members_char.cc:
1548 (test02, test01): Likewise; suffix long long constants with LL.
1549 * testsuite/22_locale/num_get_members_wchar_t.cc:
1550 (test02, test01): Likewise.
1551 * testsuite/22_locale/num_put_members_char.cc:
1552 (test02, test01): Likewise.
1553 * testsuite/22_locale/num_put_members_wchar_t.cc:
1554 (test02, test01): Likewise.
1556 2002-06-03 Marc Espie <espie@openbsd.org>
1558 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1559 assembly for old assemblers.
1561 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1563 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1565 (vector<bool>::swap(reference,reference)): ...to this.
1567 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1569 * docs/doxygen/TODO: Update.
1570 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1571 some class members are in 14882 order.
1572 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1574 * include/std/std_bitset.h: Update comment.
1575 * src/bitset.cc: Update comments, clean up spacing.
1577 * src/Makefile.am (sources): Alphabetize for convenience.
1578 * src/Makefile.in: Regenerate.
1580 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1582 * include/bits/stl_deque.h, include/bits/stl_list.h,
1583 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1584 Reorder to match 14882. Doxygen blocks for all public members.
1586 2002-05-31 Marcus Meissner <meissner@suse.de>
1589 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1590 * testsuite/23_containers/vector_bool.cc (test02): New test.
1592 2002-05-30 Marc Espie <espie@openbsd.org>
1594 * configure.in: Always check for sys/types.h
1595 * configure: Regenerate.
1597 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1599 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1600 Rebuild the wrapper file every time this proc is called.
1602 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1604 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1606 * testsuite/Makefile.in: Regenerate.
1607 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1608 list_modifiers.cc and rename from 'T'. Move code bodies...
1609 * testsuite/testsuite_hooks.cc: ...to here. New file.
1610 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1611 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1612 Add libv3test.a to link options.
1614 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1616 * src/misc-inst.cc: Define unnecessary algorithm
1617 instantiations. Break apart instantiations into groupings below.
1618 * src/fstream-inst.cc: New.
1619 * src/io-inst.cc: New.
1620 * src/istream-inst.cc: New.
1621 * src/ostream-inst.cc: New.
1622 * src/streambuf-inst.cc: New.
1623 * src/sstream-inst.cc: New.
1624 * src/Makefile.am (sources): Add files.
1625 * src/Makefile.in: Regenerate.
1627 * acinclude.m4: Work around automake 1.4-p5 bug, change
1628 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1630 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1633 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1634 (classic_table): Fix.
1635 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1637 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1639 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1640 _GLIBCPP_USE_WCHAR_T.
1641 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1642 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1643 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1645 2002-05-26 Carlo Wood <carlo@alinoe.com>
1646 Paolo Carlini <pcarlini@unitus.it>
1649 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1650 (__enc_traits::operator=): add missing return statement.
1652 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1655 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1656 (operator>>): If nothing was extracted, don't fail in the
1658 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1660 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1663 * testsuite/22_locale/ctype_narrow_char.cc: New.
1664 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1665 * testsuite/22_locale/ctype_widen_char.cc: New.
1666 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1667 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1668 * testsuite/22_locale/ctype_is_char.cc: ...this.
1669 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1670 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1671 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1672 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1674 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1676 2002-05-24 Dale Peakall <dale@peakall.net>
1679 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1680 * config/locale/generic/ctype_members.cc: Same.
1682 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1685 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1686 for empty string literal.
1687 (ostream::operator<<(const _CharT*)): Same.
1688 (ostream<char>::operator<<(const char*)): Same.
1689 (ostream<char>::operator<<(streambuf*)): Same.
1690 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1691 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1693 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1695 * configure.in (release_VERSION): Update to 3.1.1.
1696 (libtool_VERSION): Update to 4:1:0.
1697 * configure: Regenerate.
1699 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1701 * include/bits/stl_pair.h: Tweak comment markup.
1703 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1705 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1707 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1709 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1711 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1713 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1714 Doxygenate all public members. Reorder to follow 14882.
1715 (vector::push_back(void)): Remove previously-deprecated fn.
1716 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1717 Deprecate for removal in 3.3.
1719 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1721 * docs/html/faq/index.html (5.4): Recommend against -I options for
1722 finding the ext headers.
1723 * docs/html/faq/index.txt: Regenerate.
1725 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1727 * testsuite/23_containers/deque_operators.cc (test01):
1728 Fix minor typo in last commit.
1730 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1733 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1734 operator!=, operator<, operator>, operator>=, operator<=):
1735 Make non-member functions, to allow comparing const and
1736 non-const iterators in any order.
1737 * testsuite/23_containers/deque_operators.cc: New testfile.
1739 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1741 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1742 * docs/html/faq/index.txt: Regenerate.
1744 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1746 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
1747 * acinclude.m4: Likewise.
1748 * docs/html/Makefile: Likewise.
1749 * aclocal.m4: Regenerate.
1750 * configure: Regenerate.
1751 * Makefile.in: Regenerate.
1753 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
1756 * include/bits/c++config (__USE_MALLOC): Report case where
1757 the user improperly defined it on the command line.
1759 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1761 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
1762 Retrieve current limits before setting.
1764 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1767 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1769 (ostream::operator<<(const _CharT*)): Same.
1770 (ostream<char>::operator<<(const char*)): Same.
1771 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
1773 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
1776 * src/strstream.cc (strstreambuf): Fix leak.
1778 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
1781 * include/bits/istream.tcc (istream::getline, ignore):
1782 Upon __idelim (__delim) call sbumpc() not snextc().
1783 * testsuite/27_io/narrow_stream_objects.cc:
1784 Add test08 and test09.
1786 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1788 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
1789 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
1791 * docs/html/install.html: Fix.
1793 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
1795 * include/bits/fstream.tcc
1796 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
1798 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
1800 * docs/html/install.html: Tweak, add bits about required locales
1801 for the 22_locale tests when using the gnu model.
1803 * testsuite/27_io/istream_sentry.cc: Tweak.
1805 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1807 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
1808 Fix typo, use this->is() rather than manually (and perhaps
1809 incorrectly) inlining it.
1810 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
1812 * testsuite/22_locale/ctype_scan_char.cc: New file.
1814 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1815 Jakub Jelinek <jakub@redhat.com>
1817 * testsuite/22_locale/money_get_members_char.cc
1818 (test01, test02, test04): Use the de_DE@euro named locale
1819 instead of de_DE to allow for an uniform behaviour with
1820 both old and Euro-era localedata; tweak some tests.
1821 * testsuite/22_locale/money_get_members_wchar_t.cc
1822 (test01, test02, test04): Likewise.
1823 * testsuite/22_locale/money_put_members_char.cc
1824 (test01, test02, test04): Likewise.
1825 * testsuite/22_locale/money_put_members_wchar_t.cc
1826 (test01, test02, test04): Likewise.
1828 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
1830 * testsuite/22_locale/codecvt_members_char_char.cc
1831 (test03): Robustify wrt localedata.
1832 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
1833 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
1834 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
1835 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
1836 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
1837 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
1838 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
1839 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
1840 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
1841 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
1842 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
1843 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
1844 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
1845 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
1846 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1847 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1848 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
1849 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
1850 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
1851 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
1852 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
1853 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
1855 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1857 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
1860 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1862 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
1863 to 64 for hppa 64-bit port.
1864 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
1866 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1868 * acinclude.m4 (enable_symvers): Quote $LD.
1869 * aclocal.m4: Regenerate.
1870 * configure: Likewise.
1872 2002-05-09 Jakub Jelinek <jakub@redhat.com>
1874 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
1875 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
1878 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1880 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1881 script entry, and set LD to it when configuring multilibs.
1882 * configure: Rebuilt.
1884 2002-05-07 Mark Mitchell <mark@codesourcery.com>
1886 * configure.in: Add support for WindISS.
1887 * configure: Regenerated.
1888 * configure.target: Add support for WindISS.
1889 * config/os/windiss/bits/ctype_base.h: New file.
1890 * config/os/windiss/bits/ctype_inline.h: Likewise.
1891 * config/os/windiss/bits/ctype_noninline.h: Likewise.
1892 * config/os/windiss/bits/os_defines.h: Likewise.
1894 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
1896 Test all the facets for the temporary "C" locale switch issue.
1897 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
1898 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1899 * testsuite/22_locale/collate_members_char.cc: Add test04.
1900 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1901 * testsuite/22_locale/ctype_members_char.cc: Add test05.
1902 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
1903 * testsuite/22_locale/messages_members_char.cc: Add test03.
1904 * testsuite/22_locale/money_get_members_char.cc: Add test08.
1905 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1906 * testsuite/22_locale/money_put_members_char.cc: Add test07.
1907 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1908 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
1909 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1910 * testsuite/22_locale/num_get_members_char.cc: Add test06.
1911 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1912 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
1913 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1914 * testsuite/22_locale/time_get_members_char.cc: Add test08.
1915 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1916 * testsuite/22_locale/time_put_members_char.cc: Add test04.
1917 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1919 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
1920 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
1922 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1924 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
1925 __EXTENSIONS__): Ensure they are always defined.
1927 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
1929 * docs/html/documentation.html: Fix broken link.
1931 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
1932 Paolo Carlini <pcarlini@unitus.it>
1934 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
1935 testing for the locale_facets.tcc entry of the previous commit.
1936 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1938 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
1940 * config/locale/generic/c_locale.cc
1941 (__convert_to_v(float, double, long double)):
1942 Fix the temporary switch to the "C" locale, saving and
1943 restoring in the proper way the current locale.
1944 * config/locale/generic/time_members.cc
1945 (__timepunct<char, wchar_t>::_M_put): Likewise.
1946 * config/locale/gnu/messages_members.cc
1947 (messages<char>::do_get): Likewise.
1948 * config/locale/gnu/messages_members.h
1949 (messages<_CharT>::do_get): Likewise.
1950 * config/locale/gnu/time_members.cc
1951 (__timepunct<char, wchar_t>::_M_put): Likewise.
1952 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
1954 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1956 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
1957 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
1959 * Makefile.in, config.h.in, configure: Regenerate.
1961 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
1964 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
1965 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
1967 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1969 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
1971 (ctype:_M_table): Initialize to classic_table(), not __ctype.
1973 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1975 * configure.in: Update local install.html, configopts.html paths.
1976 * configure: Regenerate.
1978 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1980 * config/os/irix/irix5.2/bits/os_defines.h
1981 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
1983 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
1986 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
1988 * docs/html/faq/index.html: Update list in #4.1.
1989 * docs/html/faq/index.txt: Regenerated.
1991 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
1993 * docs/html/17_intro/RELEASE-NOTES (New): Update.
1995 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
1997 * include/std/std_bitset.h: Fix doxygen comments.
1998 * docs/html/documentation.html: Minor tweaks for 3.1.
1999 * docs/html/27_io/howto.html: Likewise.
2000 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
2001 * docs/html/faq/index.html: Likewise.
2002 * docs/html/faq/index.txt: Regenerated.
2004 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
2007 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2008 (istreambuf_iterator::equal): Use it.
2009 (istreambuf_iterator::operator*): Use it.
2011 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
2014 * include/bits/stl_uninitialized.h
2015 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2016 Fix typo in 2001-07-17 commit: typedef _ValueType to
2017 iterator_traits<_ForwardIter> not <_InputIter>.
2018 * testsuite/23_containers/vector_ctor.cc: Add test04.
2020 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2023 * include/c_std/std_cctype.h: Include bits/c++config.h.
2024 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
2026 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2028 * include/ext/stdio_filebuf.h: New file.
2029 * include/ext/enc_filebuf.h: New file.
2030 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
2031 * config/io/basic_file_stdio.cc: Same.
2032 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
2033 Remove _M_unbuf hacks.
2034 (filebuf::_M_destroy_internal_buffer): Same.
2035 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
2036 (filebuf::fd): Remove.
2037 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
2038 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
2039 (filebuf::fd): Remove.
2040 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
2042 (ios_base::_S_ios_destroy): Same.
2043 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
2044 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
2045 stdio_filebuf.h. * include/Makefile.in: Regenerate.
2047 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2050 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
2052 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
2055 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2057 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2058 (istreambuf_iterator::operator++): Invalidate on eof.
2059 (istreambuf_iterator::operator++(int)): Same.
2060 (istreambuf_iterator::operator*): Same.
2062 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2064 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2065 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2068 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2071 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2072 (__basic_file::sys_ungetc): Take int.
2073 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2074 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2075 Use sys_getc for unbuffered input.
2076 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2078 * src/ios.cc (_M_grow_words): Adjust error checking.
2079 * testsuite/27_io/ios_base_storage.cc: Same.
2081 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2083 * include/ext/stl_hashtable.h: Import __iterator_category
2085 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2086 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2088 * testsuite/ext/hash_set.cc: New testfile.
2090 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2092 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2094 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2095 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2097 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2099 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2100 Fix and tighten __throw_length_error check.
2101 * testsuite/21_strings/replace.cc (test05): New.
2102 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2104 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2106 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2107 unconditional flush on lower-layer handle to here...
2108 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2109 ...from here. Optimize remaining _M_file.sync() call pattern.
2110 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2113 2002-04-23 Jason Merrill <jason@redhat.com>
2115 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2116 output-only filebufs.
2117 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2119 (basic_filebuf::_M_set_determinate): Likewise.
2122 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2123 value properly in the trivial case.
2124 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2125 tellg() returns the right value after a read.
2127 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2129 * config/cpu/mmix/bits/cpu_limits.h: New file.
2130 * configure.target (CPULIMITSH): Use it.
2132 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2134 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2135 * docs/html/17_intro/porting.html: Rebuilt.
2137 2002-04-20 Jason Merrill <jason@redhat.com>
2140 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2142 (basic_streambuf::_M_set_determinate): Likewise.
2143 (basic_streambuf::_M_is_indeterminate): Likewise.
2144 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2145 non-static data member.
2146 (basic_filebuf::_M_underflow_common): New non-static member function.
2147 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2148 (basic_filebuf::sync): Avoid useless seeking.
2149 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2151 (basic_filebuf::_M_set_determinate): Likewise.
2152 (basic_filebuf::_M_is_indeterminate): Likewise.
2153 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2154 back to _M_out_beg if necessary.
2155 (basic_filebuf::seekoff): Likewise.
2156 (basic_filebuf::_M_underflow_common): Generalization of old
2157 underflow(). Don't seek back to _M_in_beg.
2158 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2159 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2160 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2161 * config/os/mingw32/bits/os_defines.h: Likewise.
2162 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2165 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2167 * include/bits/istream.tcc (istream::read): Fix.
2168 * testsuite/27_io/istream_unformatted.cc (main): Add.
2170 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2173 * include/bits/istream.tcc (istream::ignore): Streamline, use
2175 * include/bits/streambuf.tcc: Use this->gptr.
2176 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2178 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2180 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2181 as type safety is important, especially on solaris.
2182 * include/bits/istream.tcc (istream::read): Clean.
2183 (istream::readsome): Same.
2184 * locale.cc: Wrap lines.
2186 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2187 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2188 * testsuite/21_strings/capacity.cc: Clean.
2190 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2192 * docs/doxygen/doxygroups.cc: New group on binary searching.
2193 * include/bits/stl_algo.h: Document binary searches and merges.
2194 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2196 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2198 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2199 * docs/doxygen/run_doxygen: Bump required version.
2200 * docs/doxygen/user.cfg.in: Revert accidental change.
2201 * docs/html/faq/index.html: Reindent a block of links.
2202 (4.4): New note on using dlsym.
2203 * docs/html/faq/index.txt: Regenerated.
2205 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2207 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2209 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2211 * config/linker-map.gnu (__malloc_alloc_template): Add.
2212 (__default_alloc_template): Same.
2213 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2215 (__default_alloc_template): Same.
2217 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2219 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2221 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2223 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2224 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2225 (__malloc_alloc_template): Conditionalize.
2227 * include/bits/istream.tcc: Remove sputbackc calls.
2229 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2231 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2233 * testsuite/24_iterators/rel_ops.cc: New test.
2235 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2237 * include/bits/type_traits.h (__normal_iterator): Declare in
2238 __gnu_cxx. Adjust use at global namespace.
2239 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2240 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2241 * include/bits/basic_string.h (basic_string): Adjust use of
2243 * include/bits/stl_vector.h (_Alloc>): Likewise.
2244 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2245 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2247 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2251 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2253 (__basic_file::close): Call fflush. Correct return if fclose ok.
2254 (__basic_file::is_open): Make const.
2255 Change __c_file_type to __c_file.
2256 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2257 (__basic_file::is_open): Make const.
2258 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2259 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2260 (filebuf::_M_unbuf): Add.
2261 (filebuf::_M_file): Change to non-pointer.
2262 (filebuf::_M_allocate_pback_buffer): Remove.
2263 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2264 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2265 Change initialization list for _M_file change.
2266 (filebuf::_M_allocate_pback_buffer): Remove.
2267 Change _M_file usage to reflect non-pointer data member.
2269 * config/locale/generic/c_locale.cc
2270 (locale::facet::_S_create_c_locale): Add parameter.
2271 * config/locale/generic/collate_members.cc: Change
2272 _M_compare_helper to _M_compare.
2273 Change _M_transform_helper to _M_transform.
2274 * config/locale/generic/monetary_members.cc: Changeup data types.
2276 * config/locale/generic/numeric_members.cc: Add dtors.
2277 * config/locale/generic/time_members.cc: Add dtors.
2278 * config/locale/gnu/c_locale.cc: Add parameter.
2279 * config/locale/gnu/collate_members.cc:Change
2280 _M_compare_helper to _M_compare.
2281 Change _M_transform_helper to _M_transform.
2282 * config/locale/gnu/ctype_members.cc: Better error checking.
2283 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2284 * config/locale/gnu/messages_members.cc: Tweak comment.
2285 * config/locale/gnu/monetary_members.cc: Change data types.
2287 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2289 * config/locale/gnu/time_members.cc: Same.
2290 * config/locale/ieee_1003.1-2001/c_locale.cc
2291 (locale::facet::_S_create_c_locale): Add parameter.
2292 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2293 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2296 * include/bits/locale_facets.h (moneypunct): Use string literals.
2299 (__timepunct): Same.
2300 (locale::_Impl::_M_facets): Change from vector to array.
2301 (locale::_Impl::_M_names): Change from array of strings to array
2303 (locale::facet::_S_create_c_locale): Add parameter.
2304 (locale::locale::_S_num_facets): Move to...
2305 (locale::_Impl::_M_facets_size): Here.
2306 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2308 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2309 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2310 (locale::_Impl::_Impl(string, size_t)): Change to
2311 (locale::_Impl::_Impl(const char*, size_t)): This.
2313 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2314 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2315 (streambuf::_S_pback_size): This.
2317 * src/globals.cc: Add pre-allocations for "C" facets.
2318 * src/locale-inst.cc: Remove vector instantiations.
2319 * src/locale.cc: Remove vector include. Fixups for _M_names,
2321 * src/localename.cc: Same.
2323 * include/bits/stl_vector.h: Fix odd formatting.
2325 * include/bits/basic_string.tcc: Tweak comment.
2327 * libsupc++/new: Make sure parameters are uglified.
2328 * libsupc++/typeinfo: Same.
2330 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2331 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2332 * testsuite/27_io/filebuf_members.cc: Same.
2334 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2336 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2337 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2338 does not define strtoll or strtoull, but does define strtol
2339 and strtoul which are the same since in 64 bit mode
2340 sizeof(long) == sizeof(long long).
2342 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2344 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2345 trailing spaces, indentation, and macro names. Make exception
2346 messages more informative.
2348 2002-04-11 Richard Henderson <rth@redhat.com>
2350 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2351 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2352 (basic_ostream<>::operator<<(long long)): Same.
2354 2002-04-11 Richard Henderson <rth@redhat.com>
2356 * config/linker-map.gnu: Add __gxx_personality_sj0.
2358 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2361 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2363 Remove forward declaration of vector.
2365 * include/bits/locale_facets.tcc: Remove vector include.
2366 (use_locale): Adjust.
2367 (has_locale): Adjust.
2368 * src/locale.cc: Adjust.
2369 * src/localename.cc: Same.
2371 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2372 Richard Henderson <rth@redhat.com>
2374 * include/bits/sstream.tcc: Clean up bit ops.
2375 * include/bits/fstream.tcc: Same.
2377 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2379 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2380 (__num_base::_S_scale_oct): Remove.
2381 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2382 (__num_base::_S_scale_oct): Remove.
2384 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2387 * testsuite/23_containers/bitset_members.cc: New test.
2388 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2389 (_S_bit_count): Here.
2390 (_First_one::_S_first_one): Move...
2391 (_S_first_one): Here.
2393 * src/bitset.cc: Adjust.
2394 * config/linker-map.gnu: Export.
2396 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2399 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2400 * include/std/std_fstream.h: Clean.
2401 * include/bits/ostream.tcc: Remove extraneous variables.
2402 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2403 open modes and which modes.
2404 (stringbuf::seekpos): Same.
2405 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2407 2002-04-05 Jonathan Wakely <jw@kayari.org>
2409 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2410 random_shuffle, partition, stable_partition, sort, stable_sort,
2411 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2413 2002-04-05 David S. Miller <davem@redhat.com>
2415 * config/os/gnu-linux/bits/os_defines.h
2416 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2418 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2421 via gawrilow@math.tu-berlin.de
2422 * acinclude.m4 (version_specific_libs): Fix combo usage with
2423 --with-gxx-include-dir.
2424 * aclocal.m4: Regenerate.
2427 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2429 As per DR 184, libstdc++/3139
2430 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2431 (numeric_limits<bool>::is_iec559): False.
2432 (numeric_limits<bool>::is_modulo): False.
2434 * testsuite/27_io/ios_init.cc: Add instantiations.
2436 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2439 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2440 * testsuite/27_io/ios_init.cc (tests04): Add test.
2443 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2444 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2445 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2446 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2448 * testsuite/27_io/ios_init.cc (tests03): Add test.
2450 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2452 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2453 * include/Makefile.in: Regenerate.
2455 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2456 Nathan Myers <ncm@cantrip.org>
2457 Philip Martin <philip@codematters.co.uk>
2459 * include/bits/basic_string.h
2460 (replace(i1, i2, _CharT* k1, _CharT* k2),
2461 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2462 replace(i1, i2, iterator k1, iterator k2,
2463 replace(i1, i2, const_iterator k1, const_iterator k2):
2464 New specializations to optimize for the common cases of
2465 pointers and iterators.
2466 (replace(pos, n1, s, n2)): Tweak.
2467 * include/bits/basic_string.tcc: Tweak comments.
2468 * testsuite/21_strings/replace.cc (test04): New tests.
2470 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2473 * acinclude: More extensive checks for msgfmt, --enable-nls.
2474 * aclocal.m4: Regenerate.
2475 * configure: Regenerate.
2477 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2479 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2480 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2481 * docs/html/18_support/howto.html: Document the demangler.
2482 * docs/html/17_intro/howto.html: And link to it.
2484 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2485 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2487 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2489 * config/linker-map.gnu: Export __verbose_terminate_handler.
2490 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2491 Make new LTCOMPILE variable, use it in new special build rules.
2492 * libsupc++/Makefile.in: Rebuild.
2493 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2494 runtime __cxa_demangle.
2496 * docs/html/install.html: Update prereqs and instructions.
2497 * docs/html/19_diagnostics/howto.html: Bring naming for
2498 verbose_terminate_handler into line with reality.
2500 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2503 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2504 (basic_ios::_M_streambuf_state): Move.
2505 * include/bits/ios_base (ios_base): To here.
2506 * include/bits/ios_base.h (ios_base::_S_local_words): To
2508 (ios_base::_M_word_array): To _M_local_word.
2509 (ios_base::_M_words_limit): To _M_word_size.
2510 (ios_base::_M_words): To _M_word.
2512 * include/bits/basic_ios.tcc: Adjust.
2513 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2514 * testsuite/27_io/ios_base_storage.cc: Add tests.
2517 Kenny Simpson <theonetruekenny@yahoo.com>
2518 * include/bits/ios_base.h: Fix.
2520 Richard Henderson <rth@redhat.com>
2521 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2524 * include/bits/basic_string.h: Tweak formatting.
2526 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2528 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2529 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2530 By definition, sizeof(char) == 1.
2531 * include/bits/locale_facets.tcc (money_get::do_get,
2532 money_put::do_put): Ditto.
2533 * testsuite/21_strings/inserters_extractors.cc
2536 2002-03-30 Richard Henderson <rth@redhat.com>
2539 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2540 data out of the exception struct before calling unexpectedHandler.
2542 2002-03-28 Roger Sayle <roger@eyesopen.com>
2544 * include/c_std/std_cmath.h: To prevent problems overloading
2545 g++ builtins, use the double variants from the global namespace
2546 before defining float and long double variants in std::.
2548 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2550 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2552 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2554 * testsuite/24_iterators/istream_iterator.cc
2555 (test02): New tests.
2557 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2558 Paolo Carlini <pcarlini@unitus.it>
2560 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2561 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2562 fix i_lit_base e_lit_base arrays, making them independent
2563 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2565 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2567 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2568 allocate at least a byte.
2570 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2572 * testsuite/27_io/streambuf.cc (test07): Fix.
2575 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2577 * docs/doxygen/Intro.3: Date tweak.
2578 * docs/doxygen/TODO: Update.
2579 * docs/doxygen/doxygroups.cc: Point to tables.html.
2580 * docs/doxygen/mainpage.html: Date tweak.
2581 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2582 * docs/doxygen/tables.html: Fill in the blanks.
2584 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2585 * include/bits/stl_algo.h: Likewise; use expanded form.
2586 * include/bits/stl_alloc.h: Likewise.
2587 * include/bits/stl_construct.h: Likewise.
2588 * include/bits/stl_deque.h: Likewise.
2589 * include/bits/stl_iterator_base_types.h: Likewise.
2590 * include/bits/stl_list.h: Likewise.
2591 * include/bits/stl_relops.h: Likewise.
2592 * include/bits/stl_tempbuf.h: Likewise.
2593 * include/bits/stl_vector.h: Likewise.
2594 * include/std/std_memory.h: Likewise.
2596 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2597 * include/bits/stl_list.h: Likewise.
2598 * include/bits/stl_vector.h: Likewise.
2600 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2602 * include/c/: Guard with _CPP_.
2603 * include/c_std/: Same.
2604 * include/Makefile.am: Fixup install, link routines for null
2605 c_base_headers_extra scenarios.
2606 * include/Makefile.in: Regerate.
2608 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2609 Richard Henderson <rth@redhat.com>
2611 * testsuite/22_locale/codecvt_members_unicode_char.cc
2612 (test01, test02): make sure that the i_lit_base array
2613 is sufficiently aligned.
2615 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2617 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2620 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2622 * testsuite/22_locale/collate_byname.cc
2623 (test01): compare the result of collate::compare with
2624 that of collate::transform + string::compare, not with
2625 that of collate::transform + collate::compare; values
2626 returned by collate::compare are normalized, therefore
2629 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2630 Jakub Jelinek <jakub@redhat.com>
2632 * config/locale/gnu/messages_members.h: Correct conditional.
2633 * config/locale/gnu/messages_members.cc: Same.
2634 * config/locale/gnu/time_members.cc: Same.
2636 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2637 Paolo Carlini <pcarlini@unitus.it>
2639 * testsuite/22_locale/codecvt_members_unicode_char.cc
2640 (test01, test02): Fix i_lit_base arrays, making them
2641 independent from the endianness of the platform.
2643 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2645 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2646 signbit and __signbit directly.
2647 * aclocal.m4: Regenerate.
2648 * configure: Regenerate.
2649 * config.h.in: Regenerate.
2650 * libmath/Makefile.am: Simplify.
2651 * libmath/Makefile.in: Regenerate.
2652 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2654 * include/Makefile.am: Clean up handling of extra "C" header files.
2655 Add hooks for "C" compatibility headers.
2656 * include/Makefile.in: Regenerate.
2658 * include/c/*: Formatting tweaks, cleanups.
2659 * include/c_std/*: Same.
2661 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2663 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2664 * config/locale/gnu/messages_members.cc: Same.
2665 * config/locale/gnu/time_members.cc: Same.
2667 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2669 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2671 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2673 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2674 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2675 * aclocal.m4: Regenerate.
2676 * configure: Likewise.
2678 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2679 Ulrich Drepper <drepper@redhat.com>
2681 * src/locale-inst.cc (__convert_from_v): Add an additional
2682 __size parameter in the declarations.
2683 * include/bits/locale_facets.tcc
2684 (__convert_from_v): When available (that is,
2685 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2686 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2687 being defined or not, call and use __convert_from_v in the
2689 (num_put::_M_convert_int): Same here.
2690 (money_put::do_put(long double)): Same here.
2692 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2694 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2695 * docs/html/faq/index.txt: Regenerate.
2697 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2699 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2700 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2701 --enable-libunwind-exceptions is set.
2702 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2703 macro to check for libunwind.
2704 * configure: Regenerate.
2705 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2706 LIBUNWIND_FLAG to libstdc link line.
2707 * src/Makefile.in: Regenerate.
2709 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2711 * docs/html/faq/index.html: Add OS X workaround.
2712 * docs/html/17_intro/TODO: Update.
2714 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2716 * include/bits/locale_facets.tcc
2717 (money_put::do_put(long double)): Fix dimensioning of
2718 temporary buffers to avoid risk of overruns.
2719 (money_put::do_put(string)): Same for the buffer used to
2720 add the grouping chars.
2721 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2722 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2724 * include/bits/locale_facets.tcc
2725 (collate::do_transform): Simplify.
2727 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2729 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2730 * configure.in: Add comments pointing the way for autoconf 2.5x.
2731 * aclocal.m4, config.h.in, configure: Regenerate.
2733 2002-03-18 Philipp Thomas <pthomas@suse.de>
2735 * include/backward/hash_map.h: hash, hashtable, hash_map and
2736 hash_multimap are in namespace __gnu_cxx.
2737 include/backward/hash_set.h: hash, hashtable, hash_set and
2738 hash_multiset are in namespace __gnu_cxx.
2739 include/backward/hashtable.h: hash and hashtable are in
2740 namespace __gnu_cxx.
2741 include/backward/rope.h: char_producer, sequence_buffer,
2742 rope, crope and wrope are in namespace __gnu_cxx.
2743 include/backward/slist.h: slist is in namespace __gnu_cxx.
2744 * testsuite/backward/header_hash_map_h.cc
2745 testsuite/backward/header_hash_set_h.cc
2746 testsuite/backward/header_hashtable_h.cc
2747 testsuite/backward/header_rope_h.cc
2748 testsuite/backward/header_slist_h.cc
2749 testsuite/backward/header_tempbuf_h.cc: New tests for
2750 checking that we're using the correct namespace.
2752 2002-03-17 Jason Merrill <jason@redhat.com>
2755 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
2756 (check_exception_spec): Call it. Take the thrown pointer.
2757 (__cxa_call_unexpected): Pass it.
2758 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
2760 2002-03-15 Anthony Green <green@redhat.com>
2762 * configure.in: Remove useless is_mingw32.
2763 * configure: Rebuilt.
2765 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
2767 * testsuite/22_locale/collate_members_char.cc
2768 (test01): compare the result of collate::compare with
2769 that of collate::transform + string::compare, not with
2770 that of collate::transform + collate::compare.
2771 (test01): values returned by collate::compare are
2772 normalized, therefore test against +-1.
2773 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
2775 2002-03-12 Loren Rittle <ljrittle@acm.org>
2777 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2778 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
2780 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2781 Per Liboriussen <liborius@stofanet.dk>
2783 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
2785 * config/os/gnu-linux/bits/ctype_inline.h: Same.
2787 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
2789 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
2790 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2792 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
2793 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
2795 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
2796 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
2798 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
2800 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
2802 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
2803 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
2804 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
2805 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
2806 that memory limits are in place.
2807 (test03): Add tests.
2809 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2811 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2812 * aclocal.m4: Regenerate.
2813 * config.h.in: Regenerate.
2814 * configure: Regenerate.
2815 * include/c_std/std_cwctype.h: Guard.
2817 2002-03-11 Chris Demetriou <cgd@broadcom.com>
2819 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
2820 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2821 * aclocal.m4: Regenerate.
2822 * configure: Regenerate.
2824 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
2826 * include/bits/stl_bvector.h: Fix warning.
2828 2002-03-11 Richard Henderson <rth@redhat.com>
2830 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
2832 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2834 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
2835 New function. Build the list of tests to run in testsuite_files.
2836 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
2838 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
2840 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
2841 platforms with no weak support.
2842 * testsuite/27_io/ios_init.cc: Likewise.
2844 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
2846 * include/bits/locale_facets.tcc (time_put::do_put):
2847 Consider sizeof(char_type) in allocating the buffer.
2849 * include/bits/locale_facets.tcc (collate::do_tranform):
2850 Remove redundant variable.
2852 2002-03-10 Ulrich Drepper <drepper@redhat.com>
2853 Paolo Carlini <pcarlini@unitus.it>
2855 * config/locale/generic/collate_members.cc
2856 (collate<char,wchar_t>::_M_compare_helper): normalize
2857 values returned by strcoll and wcscoll.
2858 * config/locale/gnu/collate_members.cc
2859 (collate<char,wchar_t>::_M_compare_helper): ditto
2860 for __strcoll_l and __wcscoll_l.
2862 2002-03-10 Anthony Green <green@redhat.com>
2864 * configure.in: Support cross builds to mingw32 target.
2865 * configure: Rebuilt.
2867 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
2869 * include/bits/locale_facets.tcc (collate::do_transform):
2870 Rewrite to fix problems with long transformed strings.
2872 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2874 * c_locale_generic.cc: Move to...
2875 * generic/c_locale.cc
2876 * c_locale_generic.h: Move to...
2877 * generic/c_locale.h
2878 * codecvt_specializations_generic.h: Move to...
2879 * generic/codecvt_specializations.h
2880 * collate_members_generic.cc: Move to...
2881 * generic/collate_members.cc
2882 * ctype_members_generic.cc: Move to...
2883 * generic/ctype_members.cc
2884 * messages_members_generic.cc: Move to...
2885 * generic/messages_members.cc
2886 * messages_members_generic.h: Move to...
2887 * generic/messages_members.h
2888 * moneypunct_members_generic.cc: Move to...
2889 * generic/monetary_members.cc
2890 * numpunct_members_generic.cc: Move to...
2891 * generic/numeric_members.cc
2892 * time_members_generic.cc: Move to...
2893 * generic/time_members.cc
2894 * c_locale_gnu.cc: Move to...
2896 * c_locale_gnu.h: Move to...
2898 * collate_members_gnu.cc: Move to...
2899 * gnu/collate_members.cc
2900 * ctype_members_gnu.cc: Move to...
2901 * gnu/ctype_members.cc
2902 * messages_members_gnu.cc: Move to...
2903 * gnu/messages_members.cc
2904 * messages_members_gnu.h: Move to...
2905 * gnu/messages_members.h
2906 * moneypunct_members_gnu.cc: Move to...
2907 * gnu/monetary_members.cc
2908 * numpunct_members_gnu.cc: Move to...
2909 * gnu/numeric_members.cc
2910 * time_members_gnu.cc: Move to...
2911 * gnu/time_members.cc
2912 * c_locale_ieee_1003.1-200x.cc: Move to...
2913 * ieee_1003.1-2001/c_locale.cc
2914 * c_locale_ieee_1003.1-200x.h: Move to...
2915 * ieee_1003.1-2001/c_locale.h
2916 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
2917 * ieee_1003.1-2001/codecvt_specializations.h
2918 * messages_members_ieee_1003.1-200x.cc: Move to...
2919 * ieee_1003.1-2001/messages_members.cc
2920 * messages_members_ieee_1003.1-200x.h: Move to...
2921 * ieee_1003.1-2001/messages_members.h
2923 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
2924 * aclocal.m4: Regenerate.
2925 * configure: Regenerate.
2926 * src/Makefile.am (sources): Change to monetary and numeric.
2927 * src/Makefile.in: Regenerate.
2928 * docs/html/configopts.html: Update to ieee_1003.1-2001.
2930 2002-03-08 scott snyder <snyder@fnal.gov>
2933 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2934 Allow one more digit of precision.
2935 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
2936 write a double and read back in the same value.
2938 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
2940 * include/std/std_limits.h: Move static const data members out of
2941 generic template, into base class __numeric_limits_base.
2942 * src/limits.cc: Add definitions.
2943 * config/linker-map.gnu: Add __numeric_limits_base.
2944 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
2946 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
2948 * include/bits/stl_alloc.h: Add extern implicit allocator
2950 * include/bits/basic_string.tcc: Tweak.
2951 * include/bits/locale_facets.tcc: Remove default args. Add
2952 has_facet, use_facet extern instantiations.
2953 * src/stl-inst.cc: Add explicit instantiation.
2954 * src/locale-inst.cc: Clean. Remove locale member template
2957 * testsuite/22_locale/operators.cc (test02): Enable.
2959 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
2960 Stephen M. Webb <stephen.webb@bregmasoft.com>
2962 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
2963 (_S_rb_tree_black): Make enum.
2965 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
2966 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
2967 (__stl_threshold): _M_threshold, enum.
2968 * src/stl-inst.cc: Same.
2969 * config/linker-map.gnu: Remove.
2971 * testsuite/23_containers/vector_bool.cc: New.
2973 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2975 * docs/doxygen/user.cfg.in: Also document deprecated entries.
2976 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
2977 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
2978 referring to the collection as a whole. New section on which macros
2979 can be redefined by the user.
2980 * docs/html/19_diagnostics/howto.html: Update note for concepts.
2981 * docs/html/20_util/howto.html: Update link to SGI.
2982 * docs/html/faq/index.html: Update snapshot versions. New entry
2983 on why g++ (but not gcc) must currently predefine certain macros.
2984 * docs/html/faq/index.txt: Regenerated.
2986 * include/bits/basic_string.h (basic_string::_S_construct): Fix
2987 names in declaration.
2988 (basic_string::compare): These are no longer optional.
2989 * include/bits/ostream.tcc: Tweak closing brace placement.
2990 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
2991 * include/std/std_sstream.h: Fix typo in comment.
2992 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
2993 * src/locale.cc: Likewise.
2995 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
2998 * include/bits/stl_vector.h (vector::push_back()): Guard with
2999 _GLIBCPP_DEPRECATED.
3001 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3003 * include/bits/c++config: Fix misplaced leading blanks on first line.
3005 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3007 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3008 * README (libmath): Make clear.
3010 2002-03-05 Jakub Jelinek <jakub@redhat.com>
3012 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3013 script globbing in ld.
3014 * aclocal.m4: Rebuilt.
3015 * configure: Rebuilt.
3017 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3019 * docs/html/17_intro/RELEASE-NOTES: Update.
3020 * README: Format subdirectories.
3022 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
3025 * include/bits/locale_facets.tcc
3026 (num_get::_M_extract_float): Fix the parsing of __dec, since
3027 the standard prescribes that if no grouping characters are
3028 seen, no grouping check is applied.
3029 * testsuite/22_locale/num_get_members_char.cc: Add test05
3030 distilled from the PR.
3031 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3033 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
3035 * docs/html/17_intro/porting-howto.xml: Refer to
3036 http://www.oasis-open.org for docbookx.dtd.
3037 * docs/html/17_intro/porting-howto.html: Regenerated.
3039 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
3042 * include/std/std_sstream.h: Remove trailing spaces.
3043 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
3044 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
3046 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
3048 * testsuite/22_locale/num_get_members_char.cc (test04):
3049 Use a named locale expecting grouping (de_DE).
3050 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
3052 * testsuite/27_io/ios_manip_basefield.cc (test01):
3053 Extend coverage, uniform treatment of hexs and octs.
3055 2002-02-28 Richard Henderson <rth@redhat.com>
3057 * config/linker-map.gnu: Export operator new with unsigned long,
3058 and with std::nothrow_t. Likewise operator delete.
3060 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3062 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3063 Admit grouping for octals and hexadecimals too.
3064 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3065 (test01): Tweak "." -> "," in void* test.
3066 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3068 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3069 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3071 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3073 * testsuite/27_io/ios_manip_basefield.cc (test01):
3074 Fix for 64 bit machines.
3076 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3079 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3081 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3082 (basic_ios::_M_fill_init): New.
3083 (basic_ios::fill()): Delay dealing with _M_fill.
3085 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3086 (ios_base::_M_call_callbacks): Adjust.
3087 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3089 2002-02-26 Loren Rittle <ljrittle@acm.org>
3091 * include/Makefile.am (thread_target_headers): Unconditionally
3092 stage and install gthr-posix.h.
3093 (${target_builddir}/gthr-posix.h): New rule cloned off
3094 ${target_builddir}/gthr-default.h.
3095 (${target_builddir}/gthr-default.h): Support chained inclusion
3096 of gthr support headers.
3097 * include/Makefile.in: Rebuilt.
3099 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3101 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3102 Group all the integral types, not only decs.
3103 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3104 tests, add a few more.
3106 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3108 * src/ios.cc (ios_base::~ios_base): Tweak.
3109 (ios_base::_M_call_callbacks): Deal with null __p.
3110 (ios_base::ios_base): Set _M_callbacks.
3111 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3112 * testsuite/27_io/ios_init.cc (test02): Fix.
3114 * mkcheck.in (static_fail): Failed links go to output file.
3116 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3118 * docs/html/faq/index.html: Update.
3119 * docs/html/faq/index.txt: Regenerate.
3121 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3123 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3124 * aclocal.m4: Regenerate.
3125 * docs/html/configopts.html: Document --enable-symvers.
3126 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3128 2002-02-22 Philipp Thomas <pthomas@suse.de>
3130 * include/backward/tempbuf.h: get_temporary_buffer and
3131 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3133 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3135 * configure.in (target_alias): Default to yes.
3136 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3137 libgcc to default case.
3139 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3141 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3142 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3143 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3144 * aclocal.m4: Regenerate.
3145 * configure: Regenerate.
3146 * config/linker-map.dummy: New file. Contains nothing useful.
3148 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3150 * testsuite/22_locale/money_put_members_char.cc: Fix.
3151 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3153 * testsuite/27_io/standard_manipulators.cc: New file.
3155 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3156 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3158 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3160 * config/os/mingw32/bits/ctype_noninline.h
3161 (ctype<char>::ctype): Remove default args from parm list.
3162 * config/os/djgpp/bits/ctype_noninline.h: Same.
3164 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3166 * include/std/std_iomanip.h: Inline, tweaks.
3167 * config/linker-map.gnu: Remove hacks.
3169 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3170 * testsuite/27_io/ios_init.cc: Same.
3171 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3172 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3174 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3176 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3177 variable, and thunk info as per CXXABI docs.
3179 2002-02-19 Loren Rittle <ljrittle@acm.org>
3181 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3182 * include/Makefile.in: Rebuilt.
3184 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3186 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3187 with size3 for the string collations of str5.
3189 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3192 * include/bits/locale_facets.tcc (money_put::do_put):
3193 For the space field use __fill instead of ' ', uniformly.
3194 * testsuite/22_locale/money_put_members_char.cc:
3195 Add test05 distilled from PR.
3196 (test01-02-03): Trim some '*' to ' '.
3197 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3199 2002-02-18 Loren Rittle <ljrittle@acm.org>
3202 * include/Makefile.am (thread_builddir): Remove (map all
3203 existing uses to target_builddir).
3204 (thread_headers): Rename to...
3205 (thread_target_headers): ...this.
3206 (stamp-thread): Remove.
3207 (stamp-target): Correctly state the position as built.
3208 Update all dependencies to match the new reality. Remove all
3209 dependency calculations on directories.
3210 * include/Makefile.in: Rebuilt.
3212 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3214 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3215 * include/bits/fstream.tcc: Same.
3216 * include/bits/sstream.tcc: Same.
3217 * include/bits/ostream.tcc: Same.
3218 * include/bits/istream.tcc: Same.
3219 * include/bits/streambuf.tcc: Same.
3220 * include/bits/basic_ios.tcc: Same.
3221 * include/bits/basic_string.tcc: Same.
3223 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3225 * include/std/std_iosfwd.h: Don't guard typedefs with
3226 _GLIBCPP_USE_WCHAR_T
3227 * include/bits/stringfwd.h: Same.
3229 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3231 * src/locale.cc (moneypunct_byname): Remove definitions.
3232 * include/std/std_streambuf.h (streambuf::operator=): Return.
3234 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3237 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3238 explicit instantiation.
3239 (string::_Rep::_S_max_size): Same.
3240 * include/bits/basic_string.tcc: Add extern explicit
3241 instantiations for string, wstring.
3242 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3244 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3245 * include/bits/istream.tcc: Same, for istream, wistream.
3246 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3248 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3249 istringstream, wistringstream, ostringstream, wostringstream,
3250 stringstream, wstringstream.
3251 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3252 wifstream, ofstream, wofstream, fstream, wfstream.
3253 * src/misc-inst.cc: Correct comments.
3254 Add iomanip instantiations for wide streams.
3255 * include/std/std_iomanip.h: Same.
3256 * include/bits/locale_facets.tcc: Same.
3258 * include/std/std_streambuf.h: Correct
3259 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3260 * include/std/std_sstream.h: Same.
3261 * include/std/std_ostream.h: Same.
3262 * include/std/std_istream.h: Same.
3263 * include/std/std_fstream.h: Same.
3265 * include/std/std_streambuf.h: Add definitions for private copy
3266 ctor and assignment operator.
3267 * include/std/std_istream.h: Remove declared but undefined copy
3268 ctor and assignment operator. This is taken care of in ios_base,
3269 so adding it in the derived class as well is superfluous.
3270 * include/std/std_ostream.h: Same.
3272 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3273 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3275 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3277 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3278 Add typeinfo bits. Smooth.
3279 * aclocal.m4: Regenerate.
3281 * src/Makefile.in: Same.
3283 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3285 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3286 which do not have a CAS instruction.
3288 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3290 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3291 * configure.in: Call it.
3292 * config/linker-map.gnu: New file, initial incomplete revision.
3293 * src/Makefile.am: Optionally pass version script to the linker.
3294 * aclocal.m4: Regenerate.
3295 * configure: Regenerate.
3296 * src/Makefile.in: Regenerate.
3298 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3300 * src/localename.cc: Remove stdexcept include.
3301 * src/locale-inst.cc: Same.
3302 * src/locale.cc: Same.
3303 * src/functexcept.cc: Remove string includes.
3304 * include/std/std_bitset.h: Remove stdexcept include.
3305 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3306 * testsuite/23_containers/bitset_ctor.cc: Same.
3308 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3310 * include/bits/stl_algo (__stl_threshold): Declare external.
3311 (__stl_chunk_size): Same.
3312 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3313 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3314 (_S_rb_tree_black): Same.
3315 * src/stl-inst.cc (__stl_threshold): Define.
3316 (__stl_chunk_size): Same.
3318 (_S_rb_tree_red): Same.
3319 (_S_rb_tree_black): Same.
3321 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3322 * include/bits/basic_file.h: Remove.
3323 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3324 Declare generic types, specialization.
3325 * config/io/basic_file_stdio.cc: Definitions.
3326 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3327 Declare generic types.
3328 * include/Makefile.am (bits_headers): Remove basic_file.h.
3329 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3330 (stamp-target): Same.
3332 * include/bits/stl_alloc.h: Tweaks.
3333 * include/bits/localefwd.h: Same.
3335 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3337 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3338 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3339 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3341 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3343 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3344 Use __typeof__ in concept checks.
3346 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3348 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3349 adjacent_find, count, count_if, search, search_n, swap_ranges,
3350 transform, replace, replace_if, replace_copy, replace_copy_if,
3351 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3352 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3354 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3356 * include/bits/locale_facets.h
3357 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3358 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3359 (__timepunct<_CharT>::_M_put_helper): Same.
3360 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3362 * include/bits/fstream.tcc (filebuf::underflow): Remove
3363 __codecvt_type typedef.
3364 (filebuf::_M_convert_to_external): Same.
3366 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3368 * docs/doxygen/TODO: Update.
3369 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3370 * docs/doxygen/mainpage.html: Add TODO list link.
3371 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3372 * docs/doxygen/tables.html: New file, emoty structure only.
3374 * include/bits/stl_iterator.h: Doxygenate just about everything.
3375 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3376 * include/bits/stl_iterator_base_types.h: Add notes.
3378 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3380 * include/bits/stl_map.h: Tweak doxygen markup.
3381 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3382 * include/bits/stl_vector.h: Likewise.
3384 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3388 * include/std/std_fstream.h (filebuf::__file_type): Change to
3390 (filebuf::_M_convert_to_external): Declare.
3391 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3392 codecvt bits for wide streams.
3393 (filebuf::_M_really_overflow): Use it.
3394 (filebuf::underflow): Use codecvt.
3395 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3396 (codecvt<__enc_traits>::do_out): Deal with partial.
3397 (codecvt<__enc_traits>::do_encoding): Return something useful.
3398 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3400 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3401 Change expected encoding output.
3403 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3406 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3407 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3409 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3410 (basic_ios::widen): Same.
3412 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3414 * testsuite/22_locale/money_get_members_char.cc:
3415 Add comment, tidy up.
3416 (test01): more "en_HK" tests (without showbase).
3417 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3419 2002-02-06 Loren Rittle <ljrittle@acm.org>
3421 * config/locale/c_locale_generic.cc: Do not trust
3422 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3425 2002-02-06 Loren Rittle <ljrittle@acm.org>
3427 * acinclude.m4: Add C++ linkage check for strtof.
3428 * aclocal.m4: Rebuilt.
3429 * config.h.in: Rebuilt.
3430 * configure: Rebuilt.
3431 * config/locale/c_locale_generic.cc: Conditionally include
3432 <ieeefp.h>. Improve handling and error checking of float
3433 and long double input for non-C99 configurations.
3435 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3437 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3438 In case money_base::symbol deal properly with multi-char sign
3439 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3440 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3441 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3443 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3445 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3446 First construct a tentative returned string, then, only if the
3447 parsing succeeds, copy it into the string passed by reference.
3448 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3449 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3451 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3453 * docs/doxygen/TODO: Impl-defined behavior now documented...
3454 * docs/html/17_intro/howto.html: ...here.
3455 * docs/doxygen/mainpage.doxy: Remove, rename...
3456 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3457 * docs/doxygen/style.css: Add small text.
3458 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3459 * docs/doxygen/user.cfg.in: Likewise.
3461 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3463 * include/bits/stl_map.h: Initial doxygen markup.
3464 * include/std/std_fstream.h: Initial doxygen markup.
3466 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3469 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3470 Deal correctly with !(__io.flags() & ios_base::showbase)
3471 for case money_base::symbol.
3472 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3473 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3475 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3477 * testsuite/22_locale/operators.cc
3478 (gnu_collate::do_compare()): Add return statement to
3479 suppress "no return statement" warning.
3481 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3483 * testsuite/27_io/ostream_manip.cc: Enable test02.
3485 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3487 * docs/html/documentation.html: Update for 3.0.96.
3488 * docs/html/faq/index.html: Update for 3.0.96.
3489 * docs/html/faq/index.txt: Regenerated.
3490 * docs/doxygen/TODO: Update notes.
3491 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3493 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3495 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3496 Initialize all data members in copy ctor. Make ctors explicit.
3497 (__enc_traits::__enc_traits()): Default ctor does nothing.
3498 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3499 * include/std/std_sstream.h (basic_stringbuf): Make data members
3501 * include/std/std_fstream.h (basic_filebuf): Same.
3502 * include/std/std_streambuf.h: Tweak.
3503 * include/bits/streambuf.tcc: Same.
3504 * include/bits/sstream.tcc: Same.
3505 * include/bits/fstream.tcc: Same.
3507 2002-01-31 Loren Rittle <ljrittle@acm.org>
3509 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3510 allow NULL argument to be passed to setenv().
3511 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3512 * testsuite/22_locale/collate_members_char.cc: Likewise.
3513 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3514 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3515 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3516 * testsuite/22_locale/messages_members_char.cc: Likewise.
3517 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3518 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3519 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3520 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3521 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3522 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3523 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3524 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3525 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3526 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3527 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3528 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3529 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3530 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3531 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3532 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3534 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3536 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3538 * ChangeLog-2001: Fix spelling errors...
3539 * docs/html/17_intro/RELEASE-NOTES: Update.
3540 * docs/html/17_intro/TODO: Update.
3541 * README (file): Update.
3543 2002-01-30 Loren Rittle <ljrittle@acm.org>
3545 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3546 instead of non-zero to aid portability.
3548 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3550 * docs/html/22_locale/messages.html: Fix example code.
3552 2002-01-30 Richard Henderson <rth@redhat.com>
3554 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3555 out from test03 and templatize.
3558 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3560 * config/locale/numpunct_members_gnu.cc
3561 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3562 Fix initialization of _M_grouping for locales which have
3563 _M_thousands_sep == '\0'(L'\0', respectively).
3564 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3566 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3568 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3569 Better fix for 32/64 bit architectures, avoiding the
3570 implicit assumption that CHAR_BIT == 8.
3572 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3574 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3575 * Makefile.in: Regenerate.
3577 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3578 * docs/doxygen/Intro.3: Update.
3579 * docs/doxygen/TODO: Update.
3580 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3581 * docs/doxygen/mainpage.doxy: Update.
3582 * docs/doxygen/user.cfg.in: Update for header rename. Also
3583 regenerate comments and variables with 1.2.12.
3584 * docs/doxygen/maint.cfg.in: Remove file.
3586 * include/bits/stl_relops.h: Doxygenate.
3587 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3589 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3590 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3591 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3592 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3593 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3594 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3595 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3596 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3597 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3598 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3599 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3600 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3601 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3602 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3603 include/std/std_algorithm.h, include/std/std_bitset.h,
3604 include/std/std_complex.h, include/std/std_deque.h,
3605 include/std/std_fstream.h, include/std/std_functional.h,
3606 include/std/std_iomanip.h, include/std/std_ios.h,
3607 include/std/std_iosfwd.h, include/std/std_iostream.h,
3608 include/std/std_istream.h, include/std/std_iterator.h,
3609 include/std/std_limits.h, include/std/std_list.h,
3610 include/std/std_locale.h, include/std/std_map.h,
3611 include/std/std_memory.h, include/std/std_numeric.h,
3612 include/std/std_ostream.h, include/std/std_queue.h,
3613 include/std/std_set.h, include/std/std_sstream.h,
3614 include/std/std_stack.h, include/std/std_stdexcept.h,
3615 include/std/std_streambuf.h, include/std/std_string.h,
3616 include/std/std_utility.h, include/std/std_valarray.h,
3617 include/std/std_vector.h: Add/correct @file doxygen hook.
3619 * include/ext/memory: Doxygenate most of rest of file.
3620 * libsupc++/exception: Doxygen output formatting.
3621 * libsupc++/new: Say which header it is.
3623 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3624 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3625 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3626 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3628 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3629 Charles Leggett <CGLeggett@lbl.gov>
3631 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3633 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3635 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3636 Fix to deal correctly with both 32 bit and 64 bit architectures
3638 2002-01-25 Loren Rittle <ljrittle@acm.org>
3640 * testsuite/thread/pthread1.cc: Use one condition variable
3641 per predicate instead of tricky use of one condition variable.
3643 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3645 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3647 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3648 * testsuite/27_io/filebuf.cc: Compile only.
3649 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3650 * testsuite/27_io/filebuf_virtuals.cc: And here.
3651 Revert sungetc, sync changes for expected values.
3652 * testsuite/27_io/filebuf-*: Move to...
3653 * testsuite/27_io/filebuf_virtuals-*: ...here.
3654 * testsuite/27_io/istream.cc: Compile only, activate.
3655 * testsuite/27_io/ostream.cc: Same.
3656 * testsuite/27_io/iostream.cc: New.
3657 * testsuite/27_io/iostream_members.cc: New.
3659 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3661 * testsuite/thread/pthread1.cc: Enable on cygwin.
3662 * testsuite/thread/pthread2.cc: Likewise.
3663 * testsuite/thread/pthread3.cc: Likewise.
3664 * testsuite/thread/pthread4.cc: Likewise.
3665 * testsuite/thread/pthread5.cc: Likewise.
3666 * testsuite/thread/pthread6.cc: Likewise.
3668 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3670 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3672 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3674 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3676 (basic_ios::fill(char_type)): Use fill().
3677 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3678 (basic_ios::narrow): Same.
3679 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3680 if they are invalid.
3681 (basic_ios::init): Comment.
3682 * testsuite/27_io/ios_init.cc (test02): New.
3684 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3686 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3687 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3688 * include/ext/memory: Do not include stl_tempbuf.h.
3689 (temporary_buffer): Add doxygen hook.
3690 (__get_temporary_buffer, get_temporary_buffer,
3691 return_temporary_buffer): Move back to std:: header...
3692 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3693 * include/ext/rope: Do not include stl_tempbuf.h.
3694 * include/ext/stl_hashtable.h: Likewise.
3695 * include/std/std_algorithm.h: Likewise.
3696 * testsuite/20_util/temporary_buffer.cc: New file.
3698 2002-01-24 andrew@andypo.net
3699 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3702 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3703 * include/bits/localefwd.h: Likewise.
3704 Also use for std::locale::id::_S_highwater.
3705 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3706 * src/locale.cc: Support new usage of _Atomic_word.
3707 (std::locale::classic): Guard entire function against reentry.
3708 * src/localename.cc: Support new usage of _Atomic_word.
3710 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3712 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3713 _GLIBCPP_HAVE_SETENV.
3714 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3715 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3716 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3717 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3718 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3719 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3720 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3721 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3722 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3723 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3724 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3725 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3726 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3727 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3728 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3729 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3730 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3731 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3732 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3733 * aclocal.m4: Regenerate.
3734 * configure: Regenerate.
3735 * config.h.in: Regenerate.
3737 2002-01-23 Loren Rittle <ljrittle@acm.org>
3739 * testsuite/thread/pthread1.cc: New test.
3740 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3741 * testsuite/thread/pthread3.cc: Likewise.
3742 * testsuite/thread/pthread4.cc: New test adapted from
3743 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3744 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
3745 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
3747 2002-01-23 Richard Henderson <rth@redhat.com>
3750 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
3751 CAS on the cpu variants that support it. Add versions that use
3752 TAS and that disable interrupts.
3753 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
3755 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
3757 * include/bits/locale_facets.tcc: Remove old comments.
3759 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
3761 * include/bits/locale_facets.tcc (__convert_to_v): Change template
3763 (__convert_from_v): Same.
3765 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
3767 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
3769 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
3770 __max_digits checks, adjust arguments.
3771 (num_get::do_get(*)): Changeup.
3773 2002-01-23 Loren Rittle <ljrittle@acm.org>
3775 * config/locale/c_locale_generic.cc: Fix typename usage.
3777 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3779 * config/locale/c_locale_generic.cc: Fix.
3781 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3783 * docs/html/22_locale/messages.html: Remove angle brackets.
3784 * docs/html/17_intro/TODO: Add.
3786 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
3788 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
3789 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
3790 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
3791 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
3793 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3795 Audit for LANG independence.
3796 * include/bits/localefwd.h: Tweaks.
3797 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
3799 (time_get::do_get_year): Same.
3800 (__convert_from_v): Add.
3801 (num_put::_M_convert_float): Use.
3802 (num_put::_M_convert_int): Same.
3803 (money_put::do_put): Same.
3805 * src/locale-inst.cc: Add instantiations for __convert_from_v.
3806 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
3807 * config/locale/time_members_generic.cc:
3808 * config/locale/messages_members_gnu.cc: Same.
3809 * config/locale/messages_members_gnu.h: Same.
3811 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
3812 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
3813 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
3814 * testsuite/22_locale/collate_members_char.cc (test02): New.
3815 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
3816 * testsuite/22_locale/ctype_members_char.cc (test03): New.
3817 * testsuite/22_locale/messages_members_char.cc (test02): New.
3818 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
3819 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
3820 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
3821 * testsuite/22_locale/money_get_members_char.cc (test04): New.
3822 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
3823 * testsuite/22_locale/money_put_members_char.cc (test04): New.
3824 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
3825 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
3826 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
3827 * testsuite/22_locale/time_put_members_char.cc (test03): New.
3828 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
3829 * testsuite/22_locale/time_get_members_char.cc (test07): New.
3830 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
3831 * testsuite/22_locale/num_get_members_char.cc (test03): New.
3832 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
3833 * testsuite/22_locale/num_put_members_char.cc (test03): New.
3835 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
3837 * testsuite/22_locale/time_get_members_char.cc: Same.
3839 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3842 * include/bits/localefwd.h: Tweak comments.
3843 * include/bits/locale_facets.h (__convert_to_v): Add.
3844 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
3845 (num_get::do_get(float)): Same.
3846 (num_get::do_get(long double)): Same.
3847 (num_get::do_get(bool)): Same.
3848 (num_get::do_get(long)): Same.
3849 (num_get::do_get(long long)): Same.
3850 (num_get::do_get(unsigned int)): Same.
3851 (num_get::do_get(unsigned short)): Same.
3852 (num_get::do_get(unsigned long)): Same.
3853 (num_get::do_get(unsigned long long)): Same.
3854 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
3855 * config/locale/c_locale_generic.cc: Same.
3857 2002-01-22 Loren Rittle <ljrittle@acm.org>
3859 * include/Makefile.am (c_base_builddir): Remove redundant slash.
3860 (std_builddir): Likewise.
3861 (std_headers_rename): Fix cut-n-paste typo.
3862 (install-data-local): Concat path per element instead of once to
3863 first element of list.
3864 * include/Makefile.in: Rebuilt.
3866 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
3868 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
3869 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
3870 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
3872 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
3874 * include/bits/locale_facets.h (ctype<char>::classic_table):
3876 (ctype<char>::_S_ctable): Remove.
3877 * config/os/gnu-linux/bits/ctype_noninline.h
3878 (ctype<char>::_S_table): Remove definition.
3879 (ctype<char>::classic_table): Define.
3880 (ctype<char>::ctype): Replace _S_ctable with classic_table().
3881 * config/os/aix/bits/ctype_noninline.h: Same.
3882 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3883 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3884 * config/os/djgpp/bits/ctype_noninline.h: Same.
3885 * config/os/generic/bits/ctype_noninline.h: Same.
3886 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
3887 * config/os/hpux/bits/ctype_noninline.h: Same.
3888 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3889 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3890 * config/os/mingw32/bits/ctype_noninline.h: Same.
3891 * config/os/newlib/bits/ctype_noninline.h: Same.
3892 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3893 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3894 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3896 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
3898 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
3899 of _pctype. Use to define _S_ctable. Add definition for alternate
3900 ctor. Initialise _M_ctable to _S_ctable in ctors.
3901 (do_toupper, do_tolower): Use inline code appropriate for C-locale
3902 rather than ::toupper, ::tolower.
3904 2002-01-18 Loren Rittle <ljrittle@acm.org>
3906 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
3907 Add specialization for FreeBSD systems only to avoid losing test
3908 only due to extra precision unmentioned in system headers.
3910 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
3912 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
3914 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3916 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
3917 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
3919 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3921 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
3923 2002-01-17 David Edelsohn <edelsohn@gnu.org>
3925 * configure.target: Define OPT_LDFLAGS for AIX case.
3927 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3929 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
3930 __glibcpp_double_has_quiet_NaN): Correct mispelling.
3932 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
3934 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
3936 2002-01-16 David Edelsohn <dje@watson.ibm.com>
3938 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
3939 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
3940 * aclocal.m4: Regenerate.
3941 * configure: Regenerate.
3943 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3945 * include/Makefile.am (c_base_headers_rename): New.
3946 (c_base_headers_extra): New.
3947 (stamp-c_base): Modify.
3948 (install-data-local): Use both.
3949 * include/Makefile.in: Regenerate.
3950 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3951 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3952 cstdio ctime cwctype]: Move to..
3953 * include/c/std_*: Here.
3954 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
3955 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
3956 cstdio ctime cwctype]: Move to..
3957 * include/c_std/std_*: Here.
3959 Alexandre Oliva <aoliva@redhat.com>
3960 * include/Makefile.am (.PRECIOUS): Add rule.
3961 * include/Makefile.in: Regenerate.
3963 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3964 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3966 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
3967 Deuglify, should be current.
3968 (back_insert_iterator::_M_container): Deuglify, should be container.
3969 (front_insert_iterator::_M_container): Same.
3970 (insert_iterator::_M_container): Same.
3971 * testsuite/24_iterators/reverse_iterator.cc: Add check.
3972 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
3973 * testsuite/24_iterators/front_insert_iterator.cc: Same.
3974 * testsuite/24_iterators/insert_iterator.cc: Same.
3976 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
3978 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
3980 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
3981 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
3982 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3983 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3984 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3985 * config/os/newlib/bits/ctype_noninline.h: Same.
3986 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
3987 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
3988 * config/os/hpux/bits/ctype_noninline.h: Same.
3989 * config/os/djgpp/bits/ctype_noninline.h: Same.
3990 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
3991 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
3992 * config/os/aix/bits/ctype_noninline.h: Same.
3994 Testcase by Dietmar Kühl via Peter Schmid
3995 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
3998 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4000 * libmath/signbitl.c: Copyright years as list, not range.
4001 * libmath/Makefile.am: Same.
4002 * libmath/Makefie.in: Regenerate.
4003 * libmath/signbit.c: Same.
4004 * libmath/nan.c: Same.
4005 * libmath/copysignf.c: Same.
4006 * libmath/signbitf.c: Same.
4007 * testsuite/22_locale/money_get_members_char.cc: Same.
4008 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4009 * testsuite/22_locale/money_put_members_char.cc: Same.
4010 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4011 * testsuite/22_locale/time_get_members_char.cc: Same.
4012 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4013 * testsuite/22_locale/time_put_members_char.cc: Same.
4014 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4015 * testsuite/21_strings/nonmember.cc: Same.
4016 * testsuite/21_strings/compare.cc: Same.
4017 * testsuite/27_io/stringstream.cc: Same.
4018 * testsuite/27_io/stringbuf.cc: Same.
4019 * testsuite/27_io/filebuf.cc: Same.
4020 * testsuite/27_io/ios_manip_basefield.cc: Same.
4021 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
4022 * include/bits/cpp_type_traits.h: Same.
4023 * include/bits/generic_shadow.h: Same.
4024 * include/bits/gslice_array.h: Same.
4025 * include/bits/gslice.h: Same.
4026 * include/bits/indirect_array.h: Same.
4027 * include/bits/slice_array.h: Same.
4028 * include/bits/sstream.tcc: Same.
4029 * include/bits/streambuf_iterator.h: Same.
4030 * include/bits/valarray_array.tcc: Same.
4031 * include/bits/valarray_meta.h: Same.
4032 * include/bits/valarray_array.h: Same.
4033 * config/os/mingw32/bits/ctype_noninline.h: Same.
4034 * config/os/mingw32/bits/ctype_base.h: Same.
4035 * config/os/hpux/bits/ctype_noninline.h: Same.
4036 * config/os/hpux/bits/ctype_base.h: Same.
4037 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4038 * config/os/gnu-linux/bits/ctype_base.h: Same.
4039 * config/os/generic/bits/ctype_noninline.h: Same.
4040 * config/os/generic/bits/ctype_base.h: Same.
4042 * libsupc++/tinfo.h: Tweaks.
4044 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4046 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
4047 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
4048 * testsuite/22_locale/ctype_members_char.cc: Tweak.
4050 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4052 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4053 (num_put::do_put(void*)): Fix.
4054 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
4055 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4056 * testsuite/22_locale/num_get_members_char.cc (test02): Add
4057 long double, void, bool types.
4058 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4060 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4061 Alexandre Oliva <aoliva@redhat.com>
4063 * libmath/Makefile.am (LINK): Add --tag CC.
4064 * libmath/Makefile.in: Regenerate.
4066 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4068 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4069 of character to attribute mapping table.
4071 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4073 * testsuite/26_numerics/c99_classification_macros_c.cc
4074 Remove dg-error and dg-excess-errors comments.
4076 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4078 * include/bits/locale_facets.tcc (time_put::put): Correct output
4080 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4081 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4082 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4083 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4085 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4087 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4089 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4090 Nathan Myers <ncm@cantrip.org>
4092 * include/bits/basic_string.h
4093 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4094 temporaries (i.e., call _M_replace_safe) when possible.
4095 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4096 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4097 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4098 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4099 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4100 * include/bits/basic_string.tcc
4101 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4102 replace(__pos, __n1, __s, __n2).
4103 * testsuite/21_strings/replace.cc (test03): New testcases.
4105 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4106 Adjust comparison wrt overflow.
4108 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4110 * include/Makefile.am (std_headers_rename): New variable.
4111 (install-data-local): Use it.
4112 * include/Makefile.in: Regenerate.
4114 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4116 * include/bits/locale_facets.tcc (money_put::do_put(string):
4117 Correct output iterator value.
4118 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4119 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4121 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4123 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4126 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4128 * include/Makefile.am (std_headers): Update list with new names.
4129 (stamp-std): Link to standardized name.
4130 * include/Makefile.in: Regenerate.
4132 * include/std/algorithm, include/std/bitset, include/std/complex,
4133 include/std/deque, include/std/fstream, include/std/functional,
4134 include/std/iomanip, include/std/ios, include/std/iosfwd,
4135 include/std/iostream, include/std/istream, include/std/iterator,
4136 include/std/limits, include/std/list, include/std/locale,
4137 include/std/map, include/std/memory, include/std/numeric,
4138 include/std/ostream, include/std/queue, include/std/set,
4139 include/std/sstream, include/std/stack, include/std/stdexcept,
4140 include/std/streambuf, include/std/string, include/std/utility,
4141 include/std/valarray, include/std/vector: Rename to...
4143 * include/std/std_algorithm.h, include/std/std_bitset.h,
4144 include/std/std_complex.h, include/std/std_deque.h,
4145 include/std/std_fstream.h, include/std/std_functional.h,
4146 include/std/std_iomanip.h, include/std/std_ios.h,
4147 include/std/std_iosfwd.h, include/std/std_iostream.h,
4148 include/std/std_istream.h, include/std/std_iterator.h,
4149 include/std/std_limits.h, include/std/std_list.h,
4150 include/std/std_locale.h, include/std/std_map.h,
4151 include/std/std_memory.h, include/std/std_numeric.h,
4152 include/std/std_ostream.h, include/std/std_queue.h,
4153 include/std/std_set.h, include/std/std_sstream.h,
4154 include/std/std_stack.h, include/std/std_stdexcept.h,
4155 include/std/std_streambuf.h, include/std/std_string.h,
4156 include/std/std_utility.h, include/std/std_valarray.h,
4157 include/std/std_vector.h: ...this.
4159 2002-01-11 Loren Rittle <ljrittle@acm.org>
4161 * include/Makefile.am (extra_target_headers): New list of all
4162 target files built with ad hoc naming rules.
4163 (stamp-*): Handle LN_S failure in manner portable across make
4165 (install-data-local): Install header files from human-maintained
4166 file lists and directory components instead of non-robust find.
4167 * include/Makefile.in: Rebuilt.
4169 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4171 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4172 Check for zero-length negative sign before adding it to output
4174 (money_get::do_get(long double)): Return beg.
4175 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4177 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4179 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4182 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4183 for _M_extract_float and _M_extract_int
4184 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4185 (num_get<>::_M_extract_int): Likewise, all callers changed
4186 * testsuite/22_locale/num_get_members_char.cc: Testcase
4188 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4190 * libsupc++/exception (bad_exception): Add comment.
4191 * libsupc++/new (bad_alloc): Same.
4192 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4194 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4196 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4197 that the destructors should be removed from the descriptions
4198 in the standard: writing them explicitly allows the vtable
4199 heuristic to work. For additional information see:
4200 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4201 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4202 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4203 * libsupc++/exception (bad_exception::~bad_exception()):
4204 Reintroduce declaration.
4205 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4206 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4207 (bad_typeid::~bad_typeid()): Same.
4208 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4209 Reintroduce definition.
4210 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4211 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4212 (bad_typeid::~bad_typeid()): Same.
4214 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4216 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4217 * include/Makefile.in: Regenerate.
4219 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4221 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4224 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4228 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4229 return value of _M_file->sync().
4230 (filebuf::showmanyc): Check for is_open.
4231 * include/std/fstream (filebuf::sync): Tweak.
4232 * testsuite/27_io/filebuf.cc: Tweak.
4234 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4235 Brad Garcia <garsh@attbi.com>
4237 * testsuite/27_io/filebuf_members.cc: Add test.
4239 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4240 Craig Rodrigues <rodrigc@mediaone.net>
4243 * po/Makefile.am (mkinstalldirs): Add.
4244 * po/Makefile.in: Regenerate.
4246 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4248 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4249 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4251 * testsuite/23_containers/map_operators.cc: Remove
4252 dg-excess-errors comment.
4253 * testsuite/23_containers/set_operators.cc: Likewise.
4255 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4257 * include/bits/stl_function.h: Remove two lines of comments;
4258 adjust copyright years.
4260 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4262 * include/Makefile.am (std_headers): Remove cXXX from list.
4263 (c_base_srcdir): No bits subdirectory.
4264 (c_base_builddir): Same.
4265 (c_base_headers): Adjust names, add ciso646.
4266 (bits_headers): Remove std_xxx.h headers.
4267 * include/Makefile.in: Regenerate.
4269 * include/ext/iterator: Adjust includes.
4270 * include/ext/ropeimpl.h: Same.
4271 * include/ext/stl_hash_fun.h: Same.
4272 * include/ext/algorithm: Same.
4274 * include/backward/bvector.h: Adjust includes.
4275 * include/backward/vector.h: Same.
4276 * include/backward/strstream: Same.
4277 * include/backward/streambuf.h: Same.
4278 * include/backward/stack.h: Same.
4279 * include/backward/set.h: Same.
4280 * include/backward/queue.h: Same.
4281 * include/backward/multiset.h: Same.
4282 * include/backward/multimap.h: Same.
4283 * include/backward/map.h: Same.
4284 * include/backward/list.h: Same.
4285 * include/backward/iterator.h: Same.
4286 * include/backward/iostream.h: Same.
4287 * include/backward/iomanip.h: Same.
4288 * include/backward/fstream.h: Same.
4289 * include/backward/deque.h: Same.
4290 * include/backward/complex.h: Same.
4292 * include/bits/std_algorithm.h: Move to...
4293 * include/std/algorithm: ...here.
4294 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4295 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4296 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4297 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4298 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4299 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4300 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4303 * include/c_std/bits/std_cassert.h: Move to...
4304 * include/c_std/cassert: Here.
4305 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4306 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4307 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4308 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4309 std_cwctype.h: Same.
4310 * include/c_std/cmath: Adjust cmath.tcc include.
4311 * include/c_std/cstdlib: Adjust includes.
4312 * include/c_std/cwchar: Same.
4313 * include/c_std/ctime: Same.
4314 * include/c_std/cstring: Same.
4315 * include/c_std/cstdio: Same.
4316 * include/c_std/bits: Remove directory.
4318 * include/c/bits/std_cassert.h: Move to...
4319 * include/c/cassert: Here.
4320 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4321 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4322 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4323 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4324 std_cwctype.h: Same.
4325 * include/c/bits: Remove directory.
4327 * include/std/cwctype: Remove.
4328 * include/std/cwchar: Remove.
4329 * include/std/ctime: Remove.
4330 * include/std/cstring: Remove.
4331 * include/std/cstdlib: Remove.
4332 * include/std/cstdio: Remove.
4333 * include/std/cstddef: Remove.
4334 * include/std/cstdarg: Remove.
4335 * include/std/csignal: Remove.
4336 * include/std/csetjmp: Remove.
4337 * include/std/cmath: Remove.
4338 * include/std/clocale: Remove.
4339 * include/std/climits: Remove.
4340 * include/std/ciso646: Remove.
4341 * include/std/cfloat: Remove.
4342 * include/std/cerrno: Remove.
4343 * include/std/cctype: Remove.
4344 * include/std/cassert: Remove.
4346 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4347 files and subsituting <xxx>.
4348 * include/bits/valarray_array.h: Same.
4349 * include/bits/stl_uninitialized.h: Same.
4350 * include/bits/stl_alloc.h: Same.
4351 * include/bits/stl_algobase.h: Same.
4352 * include/bits/sstream.tcc: Same.
4353 * include/bits/pthread_allocimpl.h: Same.
4354 * include/bits/ostream.tcc: Same.
4355 * include/bits/localefwd.h: Same.
4356 * include/bits/locale_facets.tcc: Same.
4357 * include/bits/locale_facets.h: Same.
4358 * include/bits/istream.tcc: Same.
4359 * include/bits/char_traits.h: Same.
4360 * include/bits/boost_concept_check.h: Same.
4361 * include/bits/basic_file.h: Same.
4362 * include/std/bitset: Same.
4363 * include/std/complex: Same.
4364 * include/std/fstream: Same.
4365 * include/std/functional: Same.
4366 * include/std/ios: Same.
4367 * include/std/iostream: Same.
4368 * include/std/ostream: Same.
4369 * include/std/sstream: Same.
4370 * include/std/streambuf: Same.
4371 * include/std/string: Same.
4372 * include/std/iterator: Same.
4373 * include/std/valarray: Same.
4375 * src/ios.cc: Adjust includes.
4376 * src/valarray-inst.cc: Same.
4377 * src/string-inst.cc: Same.
4378 * src/stl-inst.cc: Same.
4379 * src/stdexcept.cc: Same.
4380 * src/misc-inst.cc: Same.
4381 * src/localename.cc: Same.
4382 * src/locale-inst.cc: Same.
4383 * src/locale.cc: Same.
4384 * src/limits.cc: Same.
4385 * src/concept-inst.cc: Same.
4386 * src/complex_io.cc: Same.
4387 * src/codecvt.cc: Same.
4388 * src/bitset.cc: Same.
4389 * src/cmath.cc: Same.
4391 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4393 * include/bits/stl_tree.h (rb_tree): Move to...
4394 * include/ext/rb_tree: ...here, new file.
4395 * include/Makefile.am (ext_headers): Add new file.
4396 * include/Makefile.in: Regenerate.
4397 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4398 return_temporary_buffer, struct temporary_buffer): Move to...
4399 * include/ext/memory: ...here.
4400 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4401 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4402 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4404 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4406 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4407 * include/ext/numeric: ...here, new file.
4408 * include/bits/stl_function.h (identity_element, unary_compose,
4409 binary_compose, compose1, compose2, identity, select1st,
4410 select2nd, project1st + helper, project2nd + helper,
4411 constant_void_fun + helper, constant_unary_fun + helper,
4412 costant_binary_fun + helper, constant0, constant1, constant2,
4413 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4414 * include/ext/functional: ...here, new file.
4415 * include/Makefile.am (ext_headers): Add new files.
4416 * include/Makefile.in: Regenerate.
4417 * testsuite/ext/headers.cc: Include <ext/numeric> and
4419 * include/backward/algo.h: Include <ext/numeric>, tweak.
4420 * include/backward/function.h: Include <ext/functional>, tweak.
4421 * include/ext/ropeimpl.h: Include <ext/numeric>.
4423 2002-01-03 Jeffrey A Law <law@redhat.com>
4425 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4426 __strtoull declarations with __extension__.
4428 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4430 * testsuite/lib/prune.exp: Correct regular expression for
4433 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4435 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4436 Change concept checks, as with lower_bound and PR 2054.
4437 * testsuite/ext/concept_checks.cc: Expand test to include those.
4439 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4441 * include/bits/boost_concept_check.h: Import some changes from
4442 upsteam (Boost) version.
4444 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4446 * include/bits/stl_algobase.h (copy_n + helpers,
4447 lexicographical_compare_3way + helpers): Move to...
4448 * include/ext/algorithm: ...here.
4449 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4450 helpers): Move to...
4451 * include/ext/memory: ...here, new file.
4452 * include/Makefile.am (ext_headers): Add new file.
4453 * include/Makefile.in: Regenerate.
4454 * testsuite/ext/headers.cc: Include <ext/memory>.
4455 * include/backward/algobase.h: Include <ext/memory> and
4456 <ext/algorithm>, tweak.
4457 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4458 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4460 2002-01-01 Roger Sayle <roger@eyesopen.com>
4462 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4463 equivalent ___builtin__ versions.
4465 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4466 are available in libstdc++ as the necessary stub implementations
4467 are provided by libmath/stubs.c.
4469 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4471 * configure.in: Add support for NetBSD cross compiles.
4472 * configure: Regenerate.