1 2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
3 * config/linker-map.gnu: Add exports for codecvt constructors
4 where size_t == unsigned long.
6 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
8 * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
10 * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
11 * docs/html/abi.txt: Update.
13 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
15 * testsuite/22_locale/static_members.cc (test02): Less provincial.
17 2002-10-14 Benjamin Kosnik <bkoz@redhat.com>
19 * testsuite/22_locale/static_members.cc (test02): Disable for
20 systems without named locale support.
21 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
22 running the testsuites in "C" environment.
24 * docs/html/22_locale/locale.html: Update.
26 2002-10-13 Danny Smith <dannysmith@users.sourceforge.net>
28 * include/bits/stl_threads.h (_GLIBCPP_mutex,
29 _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
30 _GLIBCPP_mutex_address_init, _GLIBCPP_once):
31 Declare in namespace __gnu_cxx.
32 (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
36 2002-10-12 Benjamin Kosnik <bkoz@redhat.com>
38 * testsuite/abi_check.cc (hash<string>): Specialize.
39 Simplify. Check compatible symbol versions.
40 * config/linker-map.gnu: Clarify, explicitly export
41 std::codecvt::c* symbols.
43 * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
45 2002-10-12 Jonathan Wakely <jw@kayari.org>
46 Gabriel Dos Reis <gdr@integrable-solutions.net>
48 * docs/html/21_strings/howto.html#5: Correct nasting of XHTML
49 elements. Correct allocator-related text.
51 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
53 * testsuite/22_locale/static_members.cc (test02): Fix.
55 2002-10-11 Benjamin Kosnik <bkoz@redhat.com>
57 * acconfig.h (_GLIBCPP_SYMVER): Add.
58 (_GLIBCPP_ASM_SYMVER): Add.
59 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
60 * aclocal.m4: Regenerate.
61 * config.h.in: Regenerate.
62 * configure: Regenerate.
63 * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
64 hack around m4 issues with quoting '@'.
65 * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
66 * src/globals.cc: Same.
68 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
71 2002-10-10 Benjamin Kosnik <bkoz@redhat.com>
73 * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
74 (GLIBCPP_3.2): Don't export locale::_S_*.
75 * src/ios.cc: Move globals into __gnu_cxx. Make old exported
77 * src/locale.cc: Same.
78 * src/localename.cc: Same.
79 * src/globals.cc: Same.
81 2002-10-10 Phil Edwards <pme@gcc.gnu.org>
83 * docs/html/21_strings/howto.html: Write #5, char_traits.
84 * docs/html/17_intro/porting.texi: Expand on os_include_dir.
85 * docs/html/17_intro/porting.html: Regenerate.
87 2002-10-09 Benjamin Kosnik <bkoz@redhat.com>
89 * src/locale.cc: Fix comments, move ctors together.
90 * testsuite/22_locale/static_members.cc (test03): Add.
92 2002-10-08 Jonathan Lennox <lennox@cs.columbia.edu>
94 PR libstdc++/8071, libstdc++/8127, libstdc++/6745
95 * streambuf.tcc (__copy_streambufs): Handle cases where
96 __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
97 * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
99 2002-10-08 Paolo Carlini <pcarlini@unitus.it>
100 Benjamin Kosnik <bkoz@redhat.com>
102 * include/bits/localefwd.h (class locale): Add static member
103 _S_num_extra_categories, encoding the number of additional
105 Change _S_num_categories to _S_categories_size.
106 (class locale::_Impl): Add _M_c_cats.
107 (class locale::_Impl::_M_names): Change to array of chars.
108 (class locale::_Impl::_M_check_same_name): Use
109 _S_extra_categories_size, tweak.
110 (locale::locale(const locale&, _Facet*)): Ditto.
111 * src/locale.cc (locale::locale(const char* )): Rewrite to deal
112 with the environment in a POSIX-compliant way while being thread
114 (locale::name()): Update to output POSIX environment strings.
116 (locale::_Impl::_Impl(const _Impl&, size_t): Use
117 _S_categories_size_*, tweak.
118 (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
119 (locale::_Impl::_Impl(const char*, size_t)): Name each category
121 (locale::_Impl::_M_replace_categories): Use strcpy.
123 * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
124 Change default argument to NULL from _S_c_locale.
125 (timepunct::_M_initialize_timepunct): Same.
126 _S_c_locale cleanups.
127 * src/codecvt.c: _S_c_locale simplification.
129 * src/globals.cc: Add fake_name.
130 * src/locale-inst.cc: Remove extra includes.
131 * src/locale.cc: Remove extra includes.
132 Add _S_extra_categories_size definition.
133 Correct "C" initialization.
134 (locale::facet::facet): Don't initialize _S_c_locale.
135 (locale::facet::_M_remove_reference): Adjust.
136 * src/localename: Use facet_vec, facet_name.
137 (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
138 facet ref counts to one. Initialize _S_c_locale.
139 (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
140 counts when installing unilaterally.
142 * config/locale/generic/c_locale.cc: Add _S_categories definition.
143 * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
144 * config/locale/generic/time_members.cc: _S_c_locale cleanup.
146 * config/locale/gnu/c_locale.cc: Add _S_categories definition.
147 (_S_destroy_c_locale): Move checks against _S_c_locale here.
148 * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
149 * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
150 calls, _S_c_locale usage.
151 * config/locale/gnu/monetary_members.cc: Same, tweaks.
152 * config/locale/gnu/monetary_members.cc: Same.
153 * config/locale/gnu/time_members.cc: Same.
154 * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
156 * docs/html/22_locale/locale.html: Add bits about global locales
159 * testsuite/22_locale/facet.cc (test02): Add.
160 * testsuite/22_locale/static_members.cc (test02): Add.
161 * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
163 2002-10-07 Jonathan Wakely <jw@kayari.org>
165 * docs/html/configopts.html, docs/html/documentation.html,
166 docs/html/explanations.html, docs/html/install.html,
167 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
168 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
169 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
170 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
171 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
172 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
173 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
174 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
175 docs/html/27_io/howto.html, docs/html/ext/howto.html,
176 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Add DOCTYPEs.
178 2002-10-03 Richard Earnshaw <rearnsha@arm.com>
181 * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
182 ASM sequences that don't give us atomic addition operations. Instead
183 just add a comment explaining why it doesn't work.
184 (__atomic_add): Just use __exchange_and_add.
185 (__test_and_set, __always_swap): Delete.
187 2002-10-02 Andreas Jaeger <aj@suse.de>
189 * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
192 2002-10-01 Phil Edwards <pme@gcc.gnu.org>
194 * Makefile.am (check-abi): Add @ to rule.
195 * Makefile.in: Regenerated.
197 2002-09-27 Paolo Carlini <pcarlini@unitus.it>
199 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
200 Deal correctly with grouped, showbased (oct or hex) zero.
201 * testsuite/22_locale/num_put_members_char.cc: Add test05.
202 * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
204 2002-09-27 Richard Henderson <rth@redhat.com>
206 * config/os/hpux/cpu_limits.h: Remove.
208 * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
209 if denormals are not supported.
211 2002-09-25 Benjamin Kosnik <bkoz@redhat.com>
213 * include/Makefile.am (target_headers): Remove cpu_limits.h.
214 * include/Makefile.in: Regenerate.
215 * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
216 * configure: Regenerate.
217 * configure.target (CPULIMITS): Remove.
219 * include/std/std_limits.h: Remove cpu_limits.h include.
221 * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
223 * config/os/irix/irix6.5/os_defines.h
224 (__glibcpp_long_double_bits): Remove.
225 (__glibcpp_wchar_t_bits): Remove.
226 (__glibcpp_long_bits): Remove.
227 * config/os/irix/irix5.2/os_defines.h
228 (__glibcpp_long_double_bits): Remove.
229 (__glibcpp_long_bits): Remove.
230 * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
231 * config/os/bsd/freebsd/os_defines.h:
232 (__glibcpp_long_double_bits): Remove.
233 * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
234 (__glibcpp_wchar_t_is_signed): Remove.
235 (__glibcpp_long_bits): Remove.
236 * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
237 (__glibcpp_long_double_bits): Remove.
239 * config/os/osf/osf5.0/cpu_limits.h: Remove.
240 * config/cpu/alpha/cpu_limits.h: Remove.
241 * config/cpu/arm/cpu_limits.h: Remove.
242 * config/cpu/cris/cpu_limits.h: Remove.
243 * config/cpu/generic/cpu_limits.h: Remove.
244 * config/cpu/generic/limits.h: Remove.
245 * config/cpu/ia64/cpu_limits.h: Remove.
246 * config/cpu/m68k/cpu_limits.h: Remove.
247 * config/cpu/mmix/cpu_limits.h: Remove.
248 * config/cpu/powerpc/cpu_limits.h: Remove.
249 * config/cpu/S390/cpu_limits.h: Remove.
251 2002-09-25 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
253 * testsuite/18_support/numeric_limits.cc: Check the maximum and
254 minimum values of the wchar_t type.
256 2002-09-25 Mark Mitchell <mark@codesourcery.com>
258 * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
261 2002-09-23 Richard Henderson <rth@redhat.com>
263 * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
264 __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
265 __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
266 __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
267 __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
268 __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
269 __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
270 __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
271 __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
272 __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
273 __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
274 __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
275 __glibcpp_bool_digits, __glibcpp_signed_char_min,
276 __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
277 __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
278 __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
279 __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
280 __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
281 __glibcpp_signed_short_min, __glibcpp_signed_short_max,
282 __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
283 __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
284 __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
285 __glibcpp_signed_int_min, __glibcpp_signed_int_max,
286 __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
287 __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
288 __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
289 __glibcpp_signed_long_min, __glibcpp_signed_long_max,
290 __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
291 __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
292 __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
293 __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
294 __glibcpp_wchar_t_digits10): Remove.
295 (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
296 (__float_storage, __double_storage, __long_double_storage): Remove.
297 (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
298 (__glibcpp_digits, __glibcpp_digits10): New.
299 (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
300 (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
301 (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
302 (numeric_limits<T>::digits): Use __glibcpp_digits.
303 (numeric_limits<T>::digits10): Use __glibcpp_digits10.
304 * testsuite/18_support/numeric_limits.cc (test03): Don't use
305 __glibcpp_s8_digits10 et al; check vs the installed versions
306 of digits10 for particular sizes.
308 * include/std/std_limits.h (__glibcpp_float_is_modulo,
309 __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
310 (numeric_limits<T>::is_modulo, T floating): Use false.
312 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
314 * Makefile.am (all-multi): Fix multilib parallel build.
316 2002-09-22 Richard Henderson <rth@redhat.com>
318 * include/std/std_limits.h (__glibcpp_f32_round_error,
319 __glibcpp_f64_round_error, __glibcpp_f80_round_error,
320 __glibcpp_f96_round_error, __glibcpp_f128_round_error,
321 __glibcpp_float_round_error, __glibcpp_double_round_error,
322 __glibcpp_long_double_round_error, __glibcpp_float_round_style,
323 __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
324 (numeric_limits<char>::epsilon, round_error): Use constant 0.
325 (numeric_limits<float>::round_error): Use constant 0.5.
326 (numeric_limits<float>::round_style): Use round_to_nearest.
327 (numeric_limits<double>, numeric_limits<long double>): Similarly.
329 * include/std/std_limits.h (__glibcpp_f32_is_iec559,
330 __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
331 __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
332 __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
333 __glibcpp_long_double_is_iec559): Remove.
334 (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
335 (numeric_limits<double>, numeric_limits<long double>): Similarly.
337 * include/std/std_limits.h (__glibcpp_integral_traps): New.
338 (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
339 __glibcpp_long_traps, __glibcpp_wchar_t_traps,
340 __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
341 __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
342 __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
343 __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
344 __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
345 __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
346 __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
347 __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
348 __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
349 __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
350 __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
351 (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
352 (numeric_limits<T>::is_modulo, T integral): Use true.
353 (numeric_limits<T>::is_bounded, T floating): Use true.
355 2002-09-18 Loren J. Rittle <ljrittle@acm.org>
357 * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
359 2002-09-18 Richard Henderson <rth@redhat.com>
361 * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
363 2002-09-16 Benjamin Kosnik <bkoz@redhat.com>
365 * include/c_shadow: Remove.
366 * include/bits/generic_shadow.h: Remove.
367 * include/Makefile.am: Remove generic_shadow.h.
368 * acinclude.m4: Remove c_shadow references.
369 * aclocal.m4: Regenerate.
370 * configure: Regenerate.
372 * mkinclosure: Remove.
374 2002-09-16 Loren J. Rittle <ljrittle@acm.org>
377 * include/ext/stl_rope.h (rope<>): Qualify dependent names
380 2002-09-16 Richard Henderson <rth@redhat.com>
382 * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
383 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
384 __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
385 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
386 __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
387 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
388 __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
389 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
390 __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
391 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
392 __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
393 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
394 __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
395 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
396 __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
397 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
398 __glibcpp_long_double_has_SNaN): Remove.
399 (__glibcpp_f128_is_iec559): True if IEEE.
400 (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
401 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
402 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
403 (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
404 (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
405 (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
406 (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
407 (std::numeric_limits<double>): Similarly.
408 (std::numeric_limits<long double>): Similarly.
409 * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
410 (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
411 (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
413 * testsuite/18_support/numeric_limits.cc (test_infinity): New.
414 (test_denorm_min, test_qnan, test_is_iec559): New.
416 2002-09-16 Phil Edwards <pme@gcc.gnu.org>
418 * testsuite/abi_check.cc: Pull shell fragments out into...
419 * config/abi/extract_symvers: ...here. New file.
420 * Makefile.am (check_abi): Change to match.
421 (new-abi-baseline): New target.
422 * Makefile.in: Regenerated.
424 2002-09-16 Richard Henderson <rth@redhat.com>
426 * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
427 __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
428 __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
429 __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
430 __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
431 __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
432 __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
433 __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
434 __glibcpp_long_double_has_denorm): Remove.
435 (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
436 __glibcpp_long_double_denorm_min): Remove.
437 (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
438 (std::numeric_limits<float>::denorm_min): Likewise.
439 (std::numeric_limits<double>): Similarly.
440 (std::numeric_limits<long double>): Similarly.
441 * src/limits.cc (__glibcpp_float_denorm_min,
442 __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
444 2002-09-13 Andy Felt <afelt@uwsp.edu>
446 * docs/html/17_intro/howto.html: Update link.
448 2002-09-13 Phil Edwards <pme@gcc.gnu.org>
450 * docs/doxygen/run_doxygen: Massage man page for Iterator_types.3.
451 * docs/html/faq/index.html: Whitespace fixes.
453 2002-09-12 Benjamin Kosnik <bkoz@redhat.com>
455 * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
457 * libmath/Makefile.in: Regenerate.
458 * src/Makefile.am: Tweak comment.
459 * src/Makefile.in: Regenerate.
461 * config/locale/gnu/c_locale.h: Remove warnings.
462 Inject __uselocale into __gnu_cxx.
463 * config/locale/generic/c_locale.h: Match.
465 2002-09-11 Benjamin Kosnik <bkoz@redhat.com>
467 * include/bits/locale_facets.tcc (__convert_from_v): Remove.
468 * config/locale/gnu/c_locale.h (__convert_from_v): Add.
469 * config/locale/generic/c_locale.h (__convert_from_v): Add.
471 2002-09-11 Paolo Carlini <pcarlini@unitus.it>
473 * include/bits/locale_facets.tcc (__convert_from_v):
474 Use __uselocale instead of setlocale for glibc 2.3+.
476 2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
478 * src/Makefile.am (sources): Edit.
479 (target_sources): New.
480 (target_sources_extra): New.
481 * src/Makefile.in: Regenerate.
482 * acinclude.m4: Set CCODECVT_CC.
483 * aclocal.m4: Regenerate.
484 * configure: Regenerate.
485 * src/locale.cc: Move ctype definitions...
486 * src/ctype.cc: ...here. New file.
487 * src/locale.cc: Move codecvt definitions...
488 * src/codecvt.cc: ...here.
489 * config/generic/codecvt_members.cc: ...and here.
490 * config/gnu/codecvt_members.cc: ...and here.
491 * include/bits/codecvt.h: Tweak.
492 * include/bits/locale_facets: Tweak.
494 * src/bitset.cc: Correct license text.
495 * src/concept-inst.cc: Same.
496 * src/strstream.cc: Same.
497 * src/vterminate.cc: Same.
499 2002-09-10 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
501 * include/bits/stl_vector.h (vector<>): Don't use a name with
502 different meanings before and after re-evaluation in the completed
504 * include/bits/basic_string.h (basic_string<>): Likewise.
505 * include/bits/stl_bvector.h (vector<bool>): Likewise.
506 * include/bits/stl_deque.h (std): Likewise.
507 * include/bits/stl_list.h (list<>): Likewise.
508 * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
510 2002-09-10 Paolo Carlini <pcarlini@unitus.it>
512 * include/bits/codecvt.h (class __codecvt_abstract_base):
513 Add __c_locale type _M_c_locale_codecvt member.
514 (class codecvt<char, char, mbstate_t>,
515 class codecvt<wchar_t, char, mbstate_t>): Add new
516 codecvt(__c_locale, size_t) constructor.
517 (codecvt_byname::codecvt_byname): Update.
518 * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
519 class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
520 constructor and ~codecvt() destructor; define
521 codecvt(__c_locale, size_t) constructor.
522 (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
523 (codecvt::do_in): Ditto for mbsrtowcs call.
524 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
525 Tweak construction of codecvt facets.
527 2002-09-10 Danny Smith <dannysmith@users.sourceforge.net>
529 * include/bits/locale_facets.tcc (__convert_from_v):
530 Replace strdup with ISO malloc and strcpy.
532 2002-09-09 Benjamin Kosnik <bkoz@redhat.com>
534 * docs/html/configopts.html: Change grouping. Note ABI impacts.
535 Update information for locale model defaults.
536 * docs/html/install.html: Update include directory
538 Update testing information.
539 Update linux issues for named locales.
540 * docs/html/abi.txt: Fix typos.
543 * src/misc-inst.cc: Add missing instantiations.
545 * testsuite/abi_check.cc: Make output results more verbose.
547 * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
549 2002-09-07 Jakub Jelinek <jakub@redhat.com>
551 * config/locale/generic/messages_members.cc: Add specialization for
553 * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
555 2002-09-06 Benjamin Kosnik <bkoz@redhat.com>
557 * include/bits/localefwd.h: Tweak formatting.
558 * docs/html/abi.txt: Add.
560 2002-09-06 Jakub Jelinek <jakub@redhat.com>
562 * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
564 * config/cpu/sparc/atomicity.h: New file.
565 * config/cpu/sparc/sparc32/atomicity.h: Removed.
566 * config/cpu/sparc/sparc64/atomicity.h: Removed.
568 2002-09-06 Jakub Jelinek <jakub@redhat.com>
570 * config/os/gnu-linux/ctype_noninline.h
571 [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
572 (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
573 _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
574 and return __ctype_b.
575 (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
576 _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
577 initialize using __ctype_{b,tolower,toupper}.
578 (ctype<char>::ctype(const mask*, bool, size_t)): If
579 _GLIBCPP_C_LOCALE_GNU, initialize using
580 _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
581 switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
583 2002-09-05 Paolo Carlini <pcarlini@unitus.it>
584 Roland McGrath <roland@redhat.com>
587 * src/locale.cc (locale::locale(__s)): Use getenv instead
588 of setenv for the environment locale.
589 * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
591 2002-09-05 Jakub Jelinek <jakub@redhat.com>
593 * config/abi/ia64-unknown-linux-gnu: Add.
594 * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
595 * config/abi/alphaev67-unknown-linux-gnu: Add.
596 * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
598 2002-09-05 Jonathan Wakely <jw@kayari.org>
600 * docs/html/Makefile: Use more portable shell wildcard.
601 * docs/html/makedoc.awk: Nest elements correctly for XHTML conversion.
602 * docs/html/configopts.html, docs/html/documentation.html,
603 docs/html/explanations.html, docs/html/install.html,
604 docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
605 docs/html/17_intro/license.html, docs/html/18_support/howto.html,
606 docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
607 docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
608 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
609 docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
610 docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
611 docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
612 docs/html/27_io/howto.html, docs/html/ext/howto.html,
613 docs/html/ext/sgiexts.html, docs/html/faq/index.html: Convert
615 * docs/html/faq/index.txt: Regenerate.
617 2002-09-05 Jakub Jelinek <jakub@redhat.com>
619 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
620 Switch to _M_c_locale_ctype around btowc call.
621 (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
622 Switch to _M_c_locale_ctype around mbsrtowcs call.
623 (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
625 (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
626 Switch to _M_c_locale_ctype around wcsrtombs call.
628 2002-09-05 Jakub Jelinek <jakub@redhat.com>
630 * config/locale/gnu/monetary_members.cc
631 (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
632 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
633 __uselocale instead of setlocale for glibc 2.3.
635 2002-09-05 Jakub Jelinek <jakub@redhat.com>
637 * config/locale/generic/c++locale_internal.h: New header.
638 * config/locale/gnu/c++locale_internal.h: New header.
639 * config/locale/gnu/c_locale.cc: Include it.
640 * config/locale/gnu/collate_members.cc: Include it.
641 * config/locale/gnu/ctype_members.cc: Include it.
642 * config/locale/gnu/messages_members.cc: Include it.
643 * config/locale/gnu/monetary_members.cc: Include it.
644 * config/locale/gnu/numeric_members.cc: Include it.
645 * config/locale/gnu/time_members.cc: Include it.
646 (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
648 (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
650 * acinclude.m4: Include string.h when testing strcoll_l.
651 For glibc 2.3 provide __-prefixed prototypes.
652 (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
653 * aclocal.m4, configure: Rebuilt.
655 2002-09-05 Benjamin Kosnik <bkoz@redhat.com>
657 * include/bits/locale_facets.h: Add declaration of specialization
659 * config/locale/gnu/messages_members.cc: Add specialization for
661 * config/locale/gnu/messages_members.h: Remove generic definition
664 2002-09-04 Richard Henderson <rth@redhat.com>
666 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
667 __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
668 __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
669 __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
670 __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
671 __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
672 __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
673 __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
674 __glibcpp_long_double_has_infinity): Remove.
675 (std::numeric_limits<float>, std::numeric_limits<double>,
676 std::numeric_limits<long double>): Use __builtin_huge_val
677 to implement has_infinity and infinity().
678 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
679 __glibcpp_long_double_infinity): Remove.
681 2002-09-03 Richard Henderson <rth@redhat.com>
683 * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
684 __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
685 __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
686 __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
687 __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
688 __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
689 __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
690 __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
691 __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
692 __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
693 __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
694 __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
695 __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
696 __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
697 __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
698 __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
699 __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
700 __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
701 __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
702 __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
703 __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
704 __glibcpp_float_digits10, __glibcpp_float_radix,
705 __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
706 __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
707 __glibcpp_float_max_exponent10, __glibcpp_double_min,
708 __glibcpp_double_max, __glibcpp_double_digits,
709 __glibcpp_double_digits10, __glibcpp_double_radix,
710 __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
711 __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
712 __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
713 __glibcpp_long_double_max, __glibcpp_long_double_digits,
714 __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
715 __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
716 __glibcpp_long_double_min_exponent10,
717 __glibcpp_long_double_max_exponent,
718 __glibcpp_long_double_max_exponent10): Remove macros.
719 (std::numeric_limits<float>, std::numeric_limits<double>,
720 std::numeric_limits<long double>): Use protected float.h macros.
722 2002-09-01 Phil Edwards <pme@gcc.gnu.org>
724 * testsuite/Makefile.am: Use LD_RUN_PATH when linking abi_check.
725 Fix spelling in comment.
726 * testsuite/Makefile.in: Regenerate.
727 * testsuite/abi_check.cc: Use string literals to build 'cmd' rather
728 than 'quote' and 'bslash'.
730 2002-08-31 Phil Edwards <pme@gcc.gnu.org>
732 * acinclude.m4: Minor comment tweaks.
734 * docs/html/makedoc.awk: New file...
735 * docs/html/Makefile: ...called from here...
736 * docs/html/documentation.html: ...to help generate this.
738 * docs/html/21_strings/howto.html: Prepare for new entry.
739 * include/bits/basic_string.h: Initial basic_stirng hook for
740 doxygen. Remove trailing whitespace.
741 * include/bits/char_traits.h: Point to onlinedocs for new entry.
742 * include/bits/stringfwd.h: Add doxygen hooks for string and
745 2002-08-29 Richard Earnshaw <rearnshaw@arm.com>
747 * config/cpu/arm/cpu_limits.h: New file.
748 * configure.target: Use config/cpu/arm for XScale and StrongARM
751 2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
753 * include/std/std_limits.h (__glibcpp_char_bits,
754 __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
755 __glibcpp_long_long_bits, __glibcpp_float_bits,
756 __glibcpp_double_bits, __glibcpp_long_double_bits): Remove. Use
757 compiler predifined macros.
758 (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
761 2002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
763 * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
764 __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
765 __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
766 __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
767 __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
768 __glibcpp_f64_infinity_bytes,
769 __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
770 __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
771 __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
772 __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
773 __glibcpp_f80_infinity_bytes,
774 __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
775 __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
776 __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
777 __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
778 __glibcpp_f96_infinity_bytes,
779 __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
780 __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
781 __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
782 __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
783 __glibcpp_f128_infinity_bytes,
784 __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
785 __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
786 __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
787 __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
788 __glibcpp_float_infinity_bytes,
789 __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
790 __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
791 __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
792 __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
793 __glibcpp_double_infinity_bytes,
794 __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
795 __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
796 __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
797 __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
798 __glibcpp_long_double_infinity_bytes,
799 __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
800 __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
801 __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
802 __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
804 (__glibcpp_word_bits, __glibcpp_word): Likewise.
805 (__glibcpp_byte): New typedef.
806 (__float_storage, __double_storage, __long_double_storage): New types.
807 (__glibcpp_float_infinity, __glibcpp_float_QNaN,
808 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
810 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
811 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
812 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
813 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
816 * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
817 __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
818 (__glibcpp_double_infinity, __glibcpp_double_QNaN,
819 __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
820 (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
821 __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
824 2002-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
826 * include/std/std_limits.h: Indent conditional macro definitions.
828 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
830 * Makefile.am (check-abi): Specify current directory.
831 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Fix shell syntax, use
832 abi_baseline_triplet in baseline_file.
833 * Makefile.in, aclocal.m4, configure: Regenerate.
834 * configure.target: Add abi_baseline_triplet with default.
835 * testsuite/abi_check.cc: More error checking.
837 2002-08-23 Phil Edwards <pme@gcc.gnu.org>
839 * config/linker-map.gnu: Verbose comments, clean up spacing.
840 * include/bits/stl_alloc.h: Fix indentation of 'if' bodies, return
842 __allocator: Change class declaration to struct.
843 * docs/html/17_intro/C++STYLE: Fix typo.
844 * include/bits/stl_deque.h, include/bits/stl_list.h,
845 include/bits/stl_map.h, include/bits/stl_multimap.h,
846 include/bits/stl_vector.h: Fix fallout from typo.
848 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
850 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
851 GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
853 * aclocal.m4: Regenerate.
854 * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
856 * testsuite/Makefile.in: Regenerate.
858 2002-08-22 Loren J. Rittle <ljrittle@acm.org>
860 * testsuite/abi_check.cc: Enhance shell portability.
861 Support older binutils/readelf.
862 * config/abi/i386-unknown-freebsd4.6: Add.
863 * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
865 2002-08-22 Paolo Carlini <pcarlini@unitus.it>
867 * docs/html/faq/index.html: Add Loren James Rittle and
868 Paolo Carlini to the list of v3 maintainers.
869 * docs/html/faq/index.txt: Ditto.
870 * docs/html/17_intro/RELEASE-NOTES: Ditto.
872 2002-08-22 Benjamin Kosnik <bkoz@redhat.com>
873 Phil Edwards <pme@gcc.gnu.org>
874 Ulrich Drepper <drepper@redhat.com>
876 * Makefile.am (check-abi): New rule.
877 * Makefile.in: Regenerate.
878 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
879 * aclocal.m4: Regenerate.
880 * configure: Regenerate.
881 * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
882 (abi_check_SOURCES): Add.
883 * testsuite/Makefile.in: Regenerate.
884 * testsuite/abi_check.cc: New file.
886 * config/abi/i686-pc-linux-gnu: Add.
887 * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
889 2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
891 * configure.in (libtool_VERSION): Update to 5:1:0.
892 * configure: Regenerate.
894 2002-08-19 Jonathan Wakely <jw@kayari.org>
896 * docs/html/configopts.html, docs/html/documentation.html,
897 docs/html/install.html, docs/html/22_locale/codecvt.html,
898 docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
899 docs/html/22_locale/locale.html,
900 docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
902 2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
904 * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
905 _M_buf_size_opt to zero when unbuffering.
906 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
907 Consistency checks for _M_buf_size_opt.
909 Revert PR libstdc++/7445
910 * src/locale.cc (locale::classic): Revert.
912 * docs/html/17_intro/TODO: Add.
914 2002-08-15 Phil Edwards <pme@gcc.gnu.org>
916 * docs/html/documentation.html: Update doxygen links for 3.2.
918 2002-08-15 Steve Ellcey <sje@cup.hp.com>
920 * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
921 type from void* to _Unwind_Ptr.
922 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
923 Do not cast landing_pad or base_of_encoded_value to (void *).
924 * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
925 Accept _URC_NO_REASON as a valid reason code.
927 2002-08-14 Jonathan Wakely <jw@kayari.org>
929 * docs/html/22_locale/messages.html: Use HTML entities for
932 2002-08-13 Jonathan Wakely <jw@kayari.org>
933 Phil Edwards <pme@gcc.gnu.org>
935 * docs/html/documentation.html: Use HTML entities for punctuation.
937 2002-08-09 Phil Edwards <pme@gcc.gnu.org>
939 * include/bits/deque.tcc, include/bits/list.tcc,
940 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
941 include/bits/stl_list.h, include/bits/stl_map.h,
942 include/bits/stl_multimap.h, include/bits/stl_queue.h,
943 include/bits/stl_stack.h, include/bits/stl_vector.h,
944 include/bits/vector.tcc: Re-indent contents of namespace std,
945 re-wrap comment lines as necessary.
947 2002-08-08 Danny Smith <dannysmith@users.sourceforge.net>
948 Benjamin Kosnik <bkoz@redhat.com>
950 * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
952 * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
954 2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
956 * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
957 * libsupc++/Makefile.in: Regenerate.
959 2002-08-05 Gabriel Dos Reis <gdr@nerim.net>
962 * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
963 Instantiate with new function objects.
964 * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
966 * include/bits/gslice_array.h: Likewise.
967 * include/bits/indirect_array.h: Likewise.
969 2002-08-03 Gabriel Dos Reis <gdr@nerim.net>
971 * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
972 testsuite/26_numerics/valarray_name_lookup.C
974 * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
975 object function surrogates.
976 * include/bits/valarray_meta.h (__shift_left): Fix typo.
977 (_BinFunClos<>): Remove.
978 (_BinFunBase<>): Likewise.
979 (_BinFunBase1<>):Likewise.
980 (_BinFunBase2<>): Likewise.
981 (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
982 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
983 (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
984 (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
985 * include/std/std_valarray.h: Dont #include <functional> anymore.
986 (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
987 _Shift_right<>): Remove.
988 (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
989 (_DEFINE_BINARY_OPERATOR): Tweak definition.
990 (_DEFINE_LOGICAL_OPERATOR): Remove.
991 * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
993 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
995 * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
996 (_UnFunClos<>): Same.
997 (_UnBase<>): Reformat. Make first template-parameter non
999 (_UnClos<>): Likewise.
1000 (_Expr<>): Reformate. Adjust unary member operator return types.
1001 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1002 (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1003 * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1004 (valarray<>::_UnaryOp<>): New nested traits. Adjust unary member
1005 operator return types. Reformat.
1006 (_Bitwise_not): Remove.
1007 (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1008 * testsuite/26_numerics/valarray_name_lookup.C: New test.
1010 2002-08-02 Danny Smith <dannysmith@users.sourceforge.net>
1012 * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1013 (scan_is): Use this->is.
1014 (scan_not): Likewise.
1016 2002-08-02 Benjamin Kosnik <bkoz@redhat.com>
1018 Revert PR libstdc++/6594
1019 * src/strstream.cc (strstreambuf): Revert.
1020 (strstreambuf::overflow): Same.
1021 (strstreambuf::~strstreambuf): Same.
1022 * testsuite/backward/strstream_members.cc (test02): Add.
1024 * docs/html/abi.txt: Update. Spell check.
1026 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1028 * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1029 * testsuite/Makefile.in: Regenerate.
1030 * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1031 include functexcept.h so that -fno-exceptions will build.
1033 2002-08-02 Gabriel Dos Reis <gdr@nerim.net>
1035 * include/bits/valarray_meta.h (__unary_plus, __negate,
1036 __bitwise_not, __plus, __minus, __multiplies, __divides,
1037 __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
1038 __shift_left, __shift_right, __logical_and, __logical_or,
1039 __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
1040 __greater_equal, __greater, __atan2, __pow): New function object
1042 (__fun<>): New function traits class.
1044 2002-08-01 Rick Danos <rdanos@hotmail.com>
1047 * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1048 * config/os/newlib/ctype_inline.h (is): Use static_cast.
1050 2002-08-01 Neil Booth <neil@daikokuya.co.uk>
1052 * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1053 * libsupc++/Makefile.in: Regenerate.
1055 2002-08-01 Benjamin Kosnik <bkoz@redhat.com>
1056 Jakub Jelinek <jakub@redhat.com>
1058 * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1059 GLIBCPP_3.1 to GLIBCPP_3.2.
1061 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1062 Mark Mitchell <mark@codesourcery.com>
1065 * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1066 Change to __hwm_bit.
1067 (__class_type_info): And here.
1069 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1072 * libsupc++/cxxabi.h
1073 (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1074 (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1075 (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1076 (__vmi_class_type_info::__base_info): Don't make const, of type
1077 __base_class_type_info, as per 2.9.5p6c
1078 (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1080 (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1082 (__pointer_to_member_type_info::__context_class): Change member to
1083 __context, as per 2.9.5p9.
1084 * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1086 * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1088 * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1090 * libsupc++/tinfo.cc (__do_dyncast): Same.
1091 * libsupc++/tinfo.cc (__do_upcast): Same.
1093 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1095 * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1097 2002-07-31 Simon Whomsley <whomsley@avacadcam.com>
1099 * docs/html/22_locale/howto.html: Fix.
1101 2002-07-31 Alex Kompel <shurik@sequoiap.com>
1104 * src/locale.cc (locale::classic): Move locks inside !_S_classic
1107 2002-07-31 Benjamin Kosnik <bkoz@redhat.com>
1109 * docs/html/abi.txt: Update.
1111 2002-07-30 Benjamin Kosnik <bkoz@redhat.com>
1112 Gabriel Dos Reis <gdr@nerim.net>
1114 * include/bits/char_traits.h: Remove generic definitions.
1115 * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1117 * include/bits/istream.tcc (istream::readsome): Don't check
1118 against eof, instead use constants.
1119 (istream::sync): Same.
1120 (istream::sentry::sentry): Use eq_int_type.
1121 (istream::get): Same.
1122 * include/bits/ostream.tcc: Change __pad to
1123 __pad<_CharT, _Traits>::_S_pad.
1124 * include/bits/locale_facets.h: Add __pad_traits generic and
1125 ostreambuf_iterator specialization.
1126 * include/bits/locale_facets.tcc: Change __pad into struct __pad
1127 with a _CharT and _Traits template parameter and _S_pad static
1129 * src/locale-inst.cc: Update __pad instantiations.
1131 * include/std/std_fstream.h: Declare _M_underflow_common
1133 * src/fstream.cc: New. Add _M_underflow_common specializations.
1134 * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1135 (filebuf::_M_underflow_common(bool)): Remove generic version, as
1136 sys_ungetc and custom int_types don't get along.
1137 * include/std/std_streambuf.h: Add _M_pos.
1138 * src/Makefile.am (sources): Add fstream.cc.
1139 * src/Makefile.in: Regenerate.
1141 * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1142 * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1143 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1144 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1145 * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1146 * testsuite/27_io/filebuf.cc: ...here.
1147 * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1148 specialization for both.
1149 * testsuite/27_io/streambuf.cc: Add instantiation test,
1150 testsuite_hooks include.
1151 * testsuite/27_io/istream.cc: Same.
1152 * testsuite/27_io/ostream.cc: Same.
1153 * testsuite/27_io/fstream.cc: Same.
1154 * testsuite/27_io/stringstream.cc: Same.
1155 * testsuite/27_io/filebuf.cc: Same.
1156 * testsuite/27_io/stringbuf.cc: Same.
1158 2002-07-29 Alan Modra <amodra@bigpond.net.au>
1160 * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1161 * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1162 * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1163 (__test_and_set): Remove.
1164 (_STWCX): Define and use.
1166 2002-07-26 Phil Edwards <pme@gcc.gnu.org>
1168 * libsupc++/new (placement delete): Remove unused parameter names.
1170 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1173 * include/std/std_istream.h (basic_iostream): Add typedefs for
1174 char_type, int_type, pos_type, off_type, and traits_type.
1175 * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1176 * testsuite/27_io/istream.cc: Same.
1177 * testsuite/27_io/ostream.cc: Same.
1178 * testsuite/27_io/filebuf.cc: Same.
1179 * testsuite/27_io/stringbuf.cc: Replace content, move to...
1180 * testsuite/27_io/stringbuf_members.cc: ...here.
1181 * testsuite/27_io/streambuf.cc: Replace content, move to...
1182 * testsuite/27_io/streambuf_members.cc: ...here.
1183 * testsuite/27_io/stringstream.cc: Replace content, move to...
1184 * testsuite/27_io/stringstream_members.cc: ...here.
1185 * testsuite/27_io/ios.cc: New file.
1186 * testsuite/27_io/fstream.cc: New file.
1187 * testsuite/27_io/ifstream.cc: New file.
1188 * testsuite/27_io/ofstream.cc: New file.
1189 * testsuite/27_io/istringstream.cc: New file.
1190 * testsuite/27_io/ostringstream.cc: New file.
1192 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1195 * include/bits/istream.tcc (istream::ignore): Don't extract on
1197 * testsuite/27_io/istream_unformatted.cc (test10): Add.
1199 2002-07-25 Benjamin Kosnik <bkoz@redhat.com>
1201 * testsuite/27_io/ios_base_type.cc: Move to...
1202 * testsuite/27_io/ios_base_types.cc: ...here.
1204 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1207 * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1208 * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1210 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1213 * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1214 * include/Makefile.am (backward_headers): Use strstream, not
1216 * include/Makefile.in: Regenerate.
1217 * include/backward/strstream: Revert.
1218 * include/backward/strstream.h: Remove.
1219 * src/strstream.cc: Revert.
1220 * testsuite/backward/strstream_members.cc: Change include.
1222 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1225 * include/bits/ios_base.h (ios_base::streampos): Add.
1226 (ios_base::streamoff): Add.
1227 * testsuite/27_io/ios_base_type.cc: New.
1229 2002-07-24 Benjamin Kosnik <bkoz@redhat.com>
1232 * libsupc++/new: Add placement delete.
1233 * testsuite/18_support/new_delete_placement.cc: New.
1235 * docs/html/abi.txt: Fix typos.
1237 2002-07-23 Benjamin Kosnik <bkoz@redhat.com>
1239 * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1240 confusing usage of "latest."
1241 De-tangle contributor information from introductory notes.
1242 Move abi.txt link placement, activate.
1244 Move chapter info into old FAQ format.
1245 * docs/html/organization.html: Removed, obsoleted by doxygen work.
1246 * docs/html/abi.txt: Add notes on testing ABI changes.
1248 2002-07-20 Phil Edwards <pme@gcc.gnu.org>
1250 * docs/html/abi.txt: New file.
1251 * docs/html/23_containers/howto.html: Tweak vector-overhead text.
1252 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1253 Import from upstream, R22.
1255 * include/bits/char_traits.h, include/bits/stl_iterator.h,
1256 include/bits/stl_iterator_base_types.h, libsupc++/exception,
1257 libsupc++/new, libsupc++/typeinfo: Use @brief markup.
1259 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1260 include/bits/stl_deque.h, include/bits/stl_list.h: Postpone removal
1261 of deprecated functions until 3.4. (Same timeframe, different text.)
1262 * include/bits/stl_vector.h: Ditto. Also do the same cleanups that
1263 the other sequence classes received.
1265 2002-07-18 Brendan Kehoe <brendan@zen.org>
1267 * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
1270 2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
1273 * include/bits/slice_array.h
1274 (slice_array<T>::operator=(const T&)): Constify.
1275 * include/bits/gslice_array.h
1276 (gslice_array<T>::operator=(const T&)): Likewise.
1277 * include/bits/mask_array.h
1278 (mask_array<T>::operator=(const T&)): Likewise.
1279 * include/bits/indirect_array.h
1280 (indirect_array<T>::operator=(const T&): Likewise.
1282 2002-07-17 Phil Edwards <pme@gcc.gnu.org>
1284 * docs/doxygen/run_doxygen: Remove template parameter names from
1285 "Compound List" summary page. Reformat.
1286 * docs/html/documentation.html: XHTML fixes.
1288 2002-07-16 Andreas Schwab <schwab@suse.de>
1290 * libsupc++/new (set_new_handler): Declare to not throw any
1292 * libsupc++/new_handler.cc (set_new_handler): Likewise.
1294 2002-07-16 Gabriel Dos Reis <gdr@nerim.net>
1296 * include/Makefile.am (bits_headers): Remove slice.h
1297 * include/Makefile.in: Regenerate.
1298 * include/bits/slice.h (slice): move to include/bits/slice_array.h
1299 * include/bits/slice.h Remove.
1300 * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
1301 * include/bits/slice_array.h: Comply to official coding styles.
1302 * testsuite/26_numerics/slice.cc: New test.
1304 2002-07-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1306 * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
1307 print to match vendor <ctype.h>.
1309 2002-07-15 Phil Edwards <pme@gcc.gnu.org>
1311 * docs/html/faq/index.html: Fix download links.
1312 * docs/html/faq/index.txt: Regenerate.
1313 * docs/html/17_intro/porting.html: Regenerate from earlier changes.
1315 2002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1317 * configure.target (target_os switch): Allow for irix6*o32
1320 2002-07-10 Gabriel Dos Reis <gdr@nerim.net>
1322 * include/bits/valarray_meta.h (_UnFunBase): Take a second
1323 template parameter. Remove _M_func data member.
1324 (_UnFunClos): Take a third template parameter.
1325 (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
1326 __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
1327 (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1329 2002-07-08 Eric Christopher <echristo@redhat.com>
1331 * configure.target: Fix comment for mips atomicity. Add
1332 mips*-*-linux* target, enable atomic operations there.
1333 * config/cpu/mips/atomicity.h: Fix comments, remove
1334 #ifndef/#endif. Add push/pop mips2.
1336 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1338 * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
1339 member declarations to avoid compiler warnings and restore 3.1 ABI.
1341 2002-07-08 Phil Edwards <pme@gcc.gnu.org>
1343 * docs/html/23_containers/howto.html: Link to dk_std::vector paper
1346 2002-07-07 Paolo Carlini <pcarlini@unitus.it>
1349 * include/bits/stl_deque.h (_Deque_iterator::operator-):
1350 Make non-member, as already happens for the comparison
1351 operators in accord with DR179 (Ready).
1352 * testsuite/23_containers/deque_operators.cc: Add test02.
1354 2002-07-04 Benjamin Kosnik <bkoz@redhat.com>
1355 Jack Reeves <jackw_reeves@hotmail.com>
1357 * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
1358 size_t, from int_type.
1359 (basic_streambuf::_M_buf_size_opt): Same.
1360 (basic_streambuf::_S_pback_sizex): Same.
1361 * include/bits/streambuf.tcc: Same.
1362 * include/std/std_streambuf.h (basic_streambuf::snextc): Use
1364 (basic_streambuf::uflow): Same.
1365 * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
1367 * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
1368 * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
1370 (basic_streambuf::xsputn): Same.
1371 (__copy_streambufs): Same.
1373 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1375 * include/std/std_memory.h: Fix formatting.
1376 * testsuite/20_util/auto_ptr_neg.cc: New.
1377 * testsuite/20_util/auto_ptr.cc: Tweaks.
1378 * testsuite/23_containers/map_operators.cc (test01): Split into..
1379 * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
1380 * testsuite/23_containers/set_operators.cc: Move to...
1381 * testsuite/23_containers/set_operators_neg.cc: ...here.
1382 * testsuite/README: Add some more naming rules.
1384 2002-07-03 Steev Wilcox <steev@paradigmds.com>
1387 * include/ext/stl_hashtable.h: Fix.
1388 * testsuite/ext/hash_map.cc: New.
1390 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
1391 Kenny Simpson <theonetruekenny@yahoo.com>
1392 Phil Edwards <pme@gcc.gnu.org>
1395 * testsuite/20_util/auto_ptr.cc (test08): New test.
1396 * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit.
1397 (auto_ptr::operator auto_ptr_ref): Fix typo.
1398 General reformatting and doxygenating of the whole file.
1400 2002-07-03 Benjamin Kosnik <bkoz@redhat.com>
1403 * include/c/std_cwchar.h: Fix.
1405 2002-07-02 Benjamin Kosnik <bkoz@redhat.com>
1408 * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
1409 char* name parameter.
1410 * config/locale/gnu/monetary_members.cc: Use it.
1411 * config/locale/generic/monetary_members.cc: Same.
1412 * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
1414 * include/backward/strstream.h: Update date.
1416 2002-07-02 Paolo Carlini <pcarlini@unitus.it>
1419 * include/bits/stl_iterator.h
1420 (__normal_iterator::operator-(const __normal_iterator&)):
1421 Make non-member, as already happens for the comparison
1422 operators in accord with DR179 (Ready).
1423 * testsuite/24_iterators/iterator.cc: Add test from the PR.
1425 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1428 * acinclude.m4: Simplify determination of gcc_version, and move
1429 up to GLIBCPP_CONFIGURE.
1430 * configure.in (release_VERSION): Really remove.
1431 (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER): Move after GLIBCPP_CONFIGURE.
1432 * aclocal.m4, configure: Regenerate.
1434 2002-07-02 Phil Edwards <pme@gcc.gnu.org>
1436 * docs/html/configopts.html, docs/html/install.html: Tweaks.
1437 * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
1438 include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
1439 include/ext/slist, include/ext/stl_rope.h: Add doxygen hooks.
1441 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1443 * include/backward/strstream: Remove namespace std. Transfer to...
1444 * include/backward/strstream.h: ...here. Qualify std names.
1445 * src/strstream.cc: Remove namespace std.
1446 * include/Makefile.am (backward_headers): Remove strstream.h.
1447 * include/Makefile.in: Regenerate.
1448 * config/linker-map.gnu: Export strstream bits.
1450 * src/fstream-inst.cc: Tweak.
1451 * src/io-inst.cc: Same.
1452 * src/istream-inst.cc: Same.
1453 * src/misc-inst.cc: Same.
1454 * src/ostream-inst.cc: Same.
1455 * src/sstream-inst.cc: Same.
1456 * src/valarray-inst.cc: Same.
1457 * src/misc-inst.cc: Remove unused instantiations.
1459 2002-07-01 Benjamin Kosnik <bkoz@redhat.com>
1461 * configure.in (libtool_VERSION): Bump to 5:0:0.
1462 * configure: Regenerate.
1464 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
1466 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
1467 * include/std/std_queue.h: Include deque.tcc, vector.tcc.
1468 * include/std/std_stack.h: Include deque.tcc.
1469 * testsuite/23_containers/adaptors.cc: New file.
1471 2002-06-27 Phil Edwards <pme@gcc.gnu.org>
1473 * include/bits/stl_alloc.h: Deprecate all 'reallocate' memfns.
1474 * docs/html/ext/howto.html: Update allocator notes.
1476 2002-06-26 Benjamin Kosnik <bkoz@redhat.com>
1478 * configure.in (INTERFACE): Remove.
1479 (release_VERSION): Remove.
1480 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
1481 (libstdcxx_interface): Change. Use gcc methods to determine version.
1482 * configure: Regenerate.
1483 * aclocal.m4: Regenerate.
1485 2002-06-25 DJ Delorie <dj@redhat.com>
1487 * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
1488 GLIBCPP_TOPREL_CONFIGURE.
1489 * aclocal.m4: Likewise.
1490 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1491 * configure: Regenerate.
1493 2002-06-25 Jessica Han <jessica@cup.hp.com>
1495 * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
1496 * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
1497 _GLIBCPP_VTABLE_PADDING is defined.
1499 2002-06-25 Benjamin Kosnik <bkoz@redhat.com>
1501 * include/bits/stl_alloc.h: Additional formatting.
1503 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1505 * include/bits/stl_alloc.h: Reformat as per C++STYLE.
1507 2002-06-24 Phil Edwards <pme@gcc.gnu.org>
1509 * config/cpu/*/bits/*: Move header files up a level. Remove bits.
1510 * config/os/*/bits/*: Likewise.
1511 * configure.in: Update.
1512 * configure: Regenerate.
1513 * configure.target: Update.
1514 * docs/html/17_intro/porting.texi: Update.
1516 2002-06-21 Phil Edwards <pme@gcc.gnu.org>
1518 * include/bits/stl_map.h, include/bits/stl_multimap.h,
1519 include/bits/stl_queue.h, include/bits/stl_stack.h: Reformat and
1520 complete doxygenation.
1521 * include/bits/boost_concept_check.h: Minor comment.
1523 2002-06-21 Benjamin Kosnik <bkoz@redhat.com>
1525 * include/c_compatibility: New.
1526 * include/c_compatibility/assert.h: New.
1527 * include/c_compatibility/ctype.h: New.
1528 * include/c_compatibility/errno.h: New.
1529 * include/c_compatibility/float.h: New.
1530 * include/c_compatibility/iso646.h: New.
1531 * include/c_compatibility/limits.h: New.
1532 * include/c_compatibility/locale.h: New.
1533 * include/c_compatibility/math.h: New.
1534 * include/c_compatibility/setjmp.h: New.
1535 * include/c_compatibility/signal.h: New.
1536 * include/c_compatibility/stdarg.h: New.
1537 * include/c_compatibility/stddef.h: New.
1538 * include/c_compatibility/stdio.h: New.
1539 * include/c_compatibility/stdlib.h: New.
1540 * include/c_compatibility/string.h: New.
1541 * include/c_compatibility/time.h: New.
1542 * include/c_compatibility/wchar.h: New.
1543 * include/c_compatibility/wctype.h: New.
1545 * include/c/std_cerrno.h: Get out of the way... define errno.
1546 * include/c/std_cmath.h: Add abs, modf overloads.
1547 Undefine C99 isms. Still not sure how to deal with this sanely.
1548 * include/c/std_csetjmp.h: Tweak.
1549 * include/c/std_cwchar.h: Include cstddef for size_t.
1551 * include/c_std/std_cmath.h: Remove extra function.
1553 Pendantic std usage in testsuites.
1554 * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
1556 * testsuite/17_intro/header_cwchar.cc: Tweak.
1557 * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
1559 * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
1560 * testsuite/22_locale/ctype_to_char.cc (test05): Same.
1561 * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
1562 * testsuite/22_locale/ctype_is_char.cc (test05): Same.
1563 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
1564 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
1565 * testsuite/22_locale/time_get_members_char.cc (test08): Same.
1566 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
1567 * testsuite/22_locale/time_put_members_char.cc (test04): Same.
1568 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
1569 * testsuite/22_locale/num_put_members_char.cc (test04): Same.
1570 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
1571 * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
1572 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
1573 * testsuite/22_locale/num_get_members_char.cc: Same.
1574 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
1575 * testsuite/22_locale/money_put_members_char.cc (test07): Same.
1576 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
1577 * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
1578 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
1579 * testsuite/22_locale/money_get_members_char.cc (test08): Same.
1580 * testsuite/22_locale/messages_members_char.cc (test03): Same.
1581 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
1582 * testsuite/22_locale/collate_members_char.cc (test04): Same.
1583 * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
1584 * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
1585 * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
1587 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1589 * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
1592 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1594 * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
1595 Use size_type instead of unsigned long.
1597 2002-06-20 Steve Ellcey <sje@cup.hp.com>
1599 * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
1601 (_S_min_len): Ditto.
1603 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
1605 * include/Makefile.am: Add rules.
1606 * include/Makefile.in: Regenerate.
1608 * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
1609 * aclocal.m4: Regenerate.
1610 * configure: Regenerate.
1611 * configure.target (c_model, c_compatibility): Add.
1613 * libsupc++/Makefile.am (c_sources): New.
1614 (libsupc___la_SOURCES): Add c_sources.
1615 (LTCOMPILE): Remove INCLUDES.
1616 (GCC_INCLUDES): New.
1617 (C_COMPILE): New, like COMPILE but without INCLUDES.
1618 (cxa_demangle.o): Use C_COMPILE.
1619 (dyn-string.o): Use C_COMPILE.
1621 * include/c/std_cstdarg.h: Define __need___va_list.
1622 * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
1623 need_NULL, need_offsetof.
1625 2002-06-19 Steve Ellcey <sje@cup.hp.com>
1627 * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*): Remove
1628 definitions in hpux11 cross-build because these functions do
1629 not exist on hpux11 (but some exist on hpux10); move defaults out
1630 into existing sections.
1631 * configure: Regenerate.
1633 2002-06-18 Benjamin Kosnik <bkoz@redhat.com>
1635 * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
1636 * include/c/std_cwctype.h: Guard.
1638 * libsupc++/eh_alloc.cc: Tweak include order.
1639 * libsupc++/pure.cc: Use cstdio.
1640 * libsupc++/new_op.cc: Remove malloc forward declaration, as
1641 cstdlib brings it in. Use std::malloc.
1643 * src/Makefile.am (sources): Remove cmath.cc.
1644 * src/Makefile.in: Regenerate.
1645 * src/cmath.cc: Remove.
1647 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1649 * configure.target: Force mips to use the generic cpu routines.
1651 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
1653 * configure.host: Delete file.
1654 * configure.target: More documentation. Factor out common parts of
1655 script into "intelligent" settings about defaults. Remove redundancy.
1657 * acinclude.m4: Update comments. Do not call configure.host.
1658 (GLIBCPP_ENABLE_SYMVERS): If disabled, do not bother checking for
1660 * configure.in: Slight reformatting, more comments. Factor out
1661 "config/" from all the directories.
1662 * docs/html/17_intro/porting.texi: Update and expand.
1663 * testsuite/Makefile.am (AM_RUNTESTFLAGS): Move empty setting
1664 from configure.host.
1666 * aclocal.m4, configure, docs/html/17_intro/porting.html,
1667 testsuite/Makefile.in: Regenerate.
1669 2002-06-16 Phil Edwards <pme@gcc.gnu.org>
1671 * docs/doxygen/TODO: Update.
1672 * docs/doxygen/tables.html: Uncomment magical middle column.
1673 * docs/doxygen/user.cfg.in: Kludge to ignore function-like macros.
1674 * include/bits/stl_queue.h: Doxygenate and reformat.
1675 * include/bits/ios_base.h, include/std/std_streambuf.h: Add comment
1676 for deprecated names required by the standard.
1678 2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
1680 * configure.in (target_alias): Fix.
1681 * configure: Regenerate.
1682 * aclocal.m4: Regenerate.
1684 2002-06-12 Phil Edwards <pme@gcc.gnu.org>
1686 * include/Makefile.am: Add new files.
1687 * include/Makefile.in: Regenerate.
1689 * include/bits/stl_deque.h, include/bits/stl_list.h,
1690 include/bits/stl_vector.h: Clean up, reformat. Move definitions...
1691 * include/bits/deque.tcc, include/bits/list.tcc,
1692 include/bits/vector.tcc: ...to here. New files.
1694 * include/ext/stl_hashtable.h: Inclide correct full headers.
1695 * include/std/std_deque.h: Include .tcc files for now.
1696 * include/std/std_list.h: Likewise.
1697 * include/std/std_vector.h: Likewise.
1699 2002-06-12 Daniel Jacobowitz <drow@mvista.com>
1701 * Makefile.am: Add FLAGS_TO_PASS.
1702 * Makefile.in: Regenerated.
1704 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
1705 Benjamin Kosnik <bkoz@redhat.com>
1707 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
1709 * configure.in: Add support for *-qnx6.[12]*.
1710 * configure: Regenerate.
1712 * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
1714 * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
1715 ctype_noninline.h, os_defines.h: New files.
1717 2002-06-10 Loren J. Rittle <ljrittle@acm.org>
1719 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
1720 include all required headers for test against older POSIX standard.
1721 (GLIBCPP_CHECK_SETRLIMIT): Likewise.
1722 (ac_setrlimit): Likewise.
1723 * aclocal.m4: Regenerate.
1724 * configure: Regenerate.
1725 * testsuite/testsuite_hooks.cc: Reorder and include all
1726 required headers for use against older POSIX standard.
1728 2002-06-08 Paolo Carlini <pcarlini@unitus.it>
1730 * testsuite/backwards/strstream_members.cc: New.
1732 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1734 * include/backwards/strstream: Format.
1735 * src/strstream.cc: Format.
1737 2002-06-08 Andreas Schwab <schwab@suse.de>
1739 * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
1740 _M_buf_size and _M_buf_size_opt to the new buffer and size.
1742 2002-06-08 Benjamin Kosnik <bkoz@redhat.com>
1744 * config/os/generic/bits/ctype_noninline.h: Tweak format.
1746 2002-06-07 Steve Ellcey <sje@cup.hp.com>
1748 * src/locale-inst.cc (__codecvt_abstract_base):
1749 Put inside _GLIBCPP_USE_WCHAR_T ifdef.
1750 * include/bits/istream.tcc (basic_istream): Ditto.
1753 * include/bits/ostream.tcc (basic_ostream): Ditto.
1757 (operator<<): Ditto.
1759 2002-06-07 Phil Edwards <pme@gcc.gnu.org>
1761 * mkcheck.in: Link against local testsuite library.
1762 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Move null
1763 implementation out...
1764 * testsuite/testsuite_hooks.cc: ...to here.
1766 2002-06-06 Loren J. Rittle <ljrittle@acm.org>
1768 * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
1769 * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1770 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
1771 * src/Makefile.in: Regenerate (explicitly with --cygnus option).
1772 * testsuite/Makefile.in: Likewise.
1774 2002-06-05 David Edelsohn <edelsohn@gnu.org>
1776 * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
1777 Call external symbol.
1779 2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1781 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1782 Search correct multilib testsuite dir for libv3test.
1784 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1785 Gaby Dos Reis <gdr@codesourcery.com>
1787 * include/bits/basic_string.tcc
1788 (basic_string::_S_construct(forward_iterator_tag):
1789 Fix typo in null pointer check.
1790 * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
1792 2002-06-04 Paolo Carlini <pcarlini@unitus.it>
1794 * testsuite/22_locale/money_get_members_char.cc
1795 (test02): Add decimal point to long double constants.
1796 * testsuite/22_locale/money_get_members_wchar_t.cc
1798 * testsuite/22_locale/money_put_members_char.cc
1799 (test02, test03, test06): Likewise.
1800 * testsuite/22_locale/money_put_members_wchar_t.cc:
1801 (test02, test03, test06): Likewise.
1802 * testsuite/22_locale/num_get_members_char.cc:
1803 (test02, test01): Likewise; suffix long long constants with LL.
1804 * testsuite/22_locale/num_get_members_wchar_t.cc:
1805 (test02, test01): Likewise.
1806 * testsuite/22_locale/num_put_members_char.cc:
1807 (test02, test01): Likewise.
1808 * testsuite/22_locale/num_put_members_wchar_t.cc:
1809 (test02, test01): Likewise.
1811 2002-06-03 Marc Espie <espie@openbsd.org>
1813 * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
1814 assembly for old assemblers.
1816 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1818 * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
1820 (vector<bool>::swap(reference,reference)): ...to this.
1822 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1824 * docs/doxygen/TODO: Update.
1825 * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS): Set to off, now that
1826 some class members are in 14882 order.
1827 * docs/html/ext/howto.html: 3.1 is in the past now, not the future.
1829 * include/std/std_bitset.h: Update comment.
1830 * src/bitset.cc: Update comments, clean up spacing.
1832 * src/Makefile.am (sources): Alphabetize for convenience.
1833 * src/Makefile.in: Regenerate.
1835 2002-06-03 Phil Edwards <pme@gcc.gnu.org>
1837 * include/bits/stl_deque.h, include/bits/stl_list.h,
1838 include/bits/stl_vector.h: Reformat to (mostly) match C++STYLE.
1839 Reorder to match 14882. Doxygen blocks for all public members.
1841 2002-05-31 Marcus Meissner <meissner@suse.de>
1844 * include/bits/stl_bvector.h: Use UL suffix for unsigned longs.
1845 * testsuite/23_containers/vector_bool.cc (test02): New test.
1847 2002-05-30 Marc Espie <espie@openbsd.org>
1849 * configure.in: Always check for sys/types.h
1850 * configure: Regenerate.
1852 2002-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1854 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
1855 Rebuild the wrapper file every time this proc is called.
1857 2002-05-28 Phil Edwards <pme@gcc.gnu.org>
1859 * testsuite/Makefile.am (noinst_LIBRARIES): New target. Pull in
1861 * testsuite/Makefile.in: Regenerate.
1862 * testsuite/testsuite_hooks.h (gnu_copy_tracker): Move from
1863 list_modifiers.cc and rename from 'T'. Move code bodies...
1864 * testsuite/testsuite_hooks.cc: ...to here. New file.
1865 * testsuite/23_containers/list_modifiers.cc: Move 'T' class out.
1866 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
1867 Add libv3test.a to link options.
1869 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1871 * src/misc-inst.cc: Define unnecessary algorithm
1872 instantiations. Break apart instantiations into groupings below.
1873 * src/fstream-inst.cc: New.
1874 * src/io-inst.cc: New.
1875 * src/istream-inst.cc: New.
1876 * src/ostream-inst.cc: New.
1877 * src/streambuf-inst.cc: New.
1878 * src/sstream-inst.cc: New.
1879 * src/Makefile.am (sources): Add files.
1880 * src/Makefile.in: Regenerate.
1882 * acinclude.m4: Work around automake 1.4-p5 bug, change
1883 AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
1885 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1888 * config/os/solaris/solaris2.6/bits/ctype_noninline.h
1889 (classic_table): Fix.
1890 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1892 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
1894 * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
1895 _GLIBCPP_USE_WCHAR_T.
1896 * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
1897 * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
1898 * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
1900 2002-05-26 Carlo Wood <carlo@alinoe.com>
1901 Paolo Carlini <pcarlini@unitus.it>
1904 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1905 (__enc_traits::operator=): add missing return statement.
1907 2002-05-24 Phil Edwards <pme@gcc.gnu.org>
1910 * include/std/std_bitset.h (_Base_biteset<0>): New specialization.
1911 (operator>>): If nothing was extracted, don't fail in the
1913 * testsuite/23_containers/bitset_ctor.cc (test02): New test.
1915 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1918 * testsuite/22_locale/ctype_narrow_char.cc: New.
1919 * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
1920 * testsuite/22_locale/ctype_widen_char.cc: New.
1921 * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
1922 * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
1923 * testsuite/22_locale/ctype_is_char.cc: ...this.
1924 * testsuite/22_locale/ctype_to_char.cc: ...and this.
1925 * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
1926 * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
1927 * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
1929 * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
1931 2002-05-24 Dale Peakall <dale@peakall.net>
1934 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
1935 * config/locale/generic/ctype_members.cc: Same.
1937 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
1940 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
1941 for empty string literal.
1942 (ostream::operator<<(const _CharT*)): Same.
1943 (ostream<char>::operator<<(const char*)): Same.
1944 (ostream<char>::operator<<(streambuf*)): Same.
1945 * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
1946 * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
1948 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
1950 * configure.in (release_VERSION): Update to 3.1.1.
1951 (libtool_VERSION): Update to 4:1:0.
1952 * configure: Regenerate.
1954 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1956 * include/bits/stl_pair.h: Tweak comment markup.
1958 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1960 * include/ext/stdio_filebuf.h: Add header guards. Doxygenate.
1962 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1964 * docs/doxygen/user.cfg.in (EXCLUDE): Add 'CVS'.
1966 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
1968 * include/bits/stl_vector.h: Reformat to follow C++STYLE.
1969 Doxygenate all public members. Reorder to follow 14882.
1970 (vector::push_back(void)): Remove previously-deprecated fn.
1971 (vector::insert(iterator), vector::_M_insert_aux(iterator)):
1972 Deprecate for removal in 3.3.
1974 2002-05-20 Phil Edwards <pme@gcc.gnu.org>
1976 * docs/html/faq/index.html (5.4): Recommend against -I options for
1977 finding the ext headers.
1978 * docs/html/faq/index.txt: Regenerate.
1980 2002-05-19 Paolo Carlini <pcarlini@unitus.it>
1982 * testsuite/23_containers/deque_operators.cc (test01):
1983 Fix minor typo in last commit.
1985 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
1988 * include/bits/stl_deque.h (_Deque_iterator::operator==,
1989 operator!=, operator<, operator>, operator>=, operator<=):
1990 Make non-member functions, to allow comparing const and
1991 non-const iterators in any order.
1992 * testsuite/23_containers/deque_operators.cc: New testfile.
1994 2002-05-16 Phil Edwards <pme@gcc.gnu.org>
1996 * docs/html/faq/index.html: Update not-a-bug list with basic_file.h.
1997 * docs/html/faq/index.txt: Regenerate.
1999 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2001 * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2002 * acinclude.m4: Likewise.
2003 * docs/html/Makefile: Likewise.
2004 * aclocal.m4: Regenerate.
2005 * configure: Regenerate.
2006 * Makefile.in: Regenerate.
2008 2002-05-15 Loren J. Rittle <ljrittle@acm.org>
2011 * include/bits/c++config (__USE_MALLOC): Report case where
2012 the user improperly defined it on the command line.
2014 2002-05-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2016 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2017 Retrieve current limits before setting.
2019 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2022 * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2024 (ostream::operator<<(const _CharT*)): Same.
2025 (ostream<char>::operator<<(const char*)): Same.
2026 * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2028 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
2031 * src/strstream.cc (strstreambuf): Fix leak.
2033 2002-05-15 Paolo Carlini <pcarlini@unitus.it>
2036 * include/bits/istream.tcc (istream::getline, ignore):
2037 Upon __idelim (__delim) call sbumpc() not snextc().
2038 * testsuite/27_io/narrow_stream_objects.cc:
2039 Add test08 and test09.
2041 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2043 * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2044 * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2046 * docs/html/install.html: Fix.
2048 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
2050 * include/bits/fstream.tcc
2051 (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2053 * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2055 * docs/html/install.html: Tweak, add bits about required locales
2056 for the 22_locale tests when using the gnu model.
2058 * testsuite/27_io/istream_sentry.cc: Tweak.
2060 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2062 * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2063 Fix typo, use this->is() rather than manually (and perhaps
2064 incorrectly) inlining it.
2065 * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2067 * testsuite/22_locale/ctype_scan_char.cc: New file.
2069 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2070 Jakub Jelinek <jakub@redhat.com>
2072 * testsuite/22_locale/money_get_members_char.cc
2073 (test01, test02, test04): Use the de_DE@euro named locale
2074 instead of de_DE to allow for an uniform behaviour with
2075 both old and Euro-era localedata; tweak some tests.
2076 * testsuite/22_locale/money_get_members_wchar_t.cc
2077 (test01, test02, test04): Likewise.
2078 * testsuite/22_locale/money_put_members_char.cc
2079 (test01, test02, test04): Likewise.
2080 * testsuite/22_locale/money_put_members_wchar_t.cc
2081 (test01, test02, test04): Likewise.
2083 2002-05-13 Paolo Carlini <pcarlini@unitus.it>
2085 * testsuite/22_locale/codecvt_members_char_char.cc
2086 (test03): Robustify wrt localedata.
2087 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2088 * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2089 * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2090 * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2091 * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2092 * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2093 * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2094 * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2095 * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2096 * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2097 * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2098 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2099 * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2100 * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2101 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2102 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2103 * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2104 * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2105 * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2106 * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2107 * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2108 * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2110 2002-05-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2112 * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2115 2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
2117 * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2118 to 64 for hppa 64-bit port.
2119 (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2121 2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2123 * acinclude.m4 (enable_symvers): Quote $LD.
2124 * aclocal.m4: Regenerate.
2125 * configure: Likewise.
2127 2002-05-09 Jakub Jelinek <jakub@redhat.com>
2129 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2130 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2133 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
2135 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2136 script entry, and set LD to it when configuring multilibs.
2137 * configure: Rebuilt.
2139 2002-05-07 Mark Mitchell <mark@codesourcery.com>
2141 * configure.in: Add support for WindISS.
2142 * configure: Regenerated.
2143 * configure.target: Add support for WindISS.
2144 * config/os/windiss/bits/ctype_base.h: New file.
2145 * config/os/windiss/bits/ctype_inline.h: Likewise.
2146 * config/os/windiss/bits/ctype_noninline.h: Likewise.
2147 * config/os/windiss/bits/os_defines.h: Likewise.
2149 2002-05-06 Paolo Carlini <pcarlini@unitus.it>
2151 Test all the facets for the temporary "C" locale switch issue.
2152 * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2153 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2154 * testsuite/22_locale/collate_members_char.cc: Add test04.
2155 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2156 * testsuite/22_locale/ctype_members_char.cc: Add test05.
2157 * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2158 * testsuite/22_locale/messages_members_char.cc: Add test03.
2159 * testsuite/22_locale/money_get_members_char.cc: Add test08.
2160 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2161 * testsuite/22_locale/money_put_members_char.cc: Add test07.
2162 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2163 * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2164 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2165 * testsuite/22_locale/num_get_members_char.cc: Add test06.
2166 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2167 * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2168 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2169 * testsuite/22_locale/time_get_members_char.cc: Add test08.
2170 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2171 * testsuite/22_locale/time_put_members_char.cc: Add test04.
2172 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2174 * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2175 * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2177 2002-05-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2179 * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2180 __EXTENSIONS__): Ensure they are always defined.
2182 2002-05-06 Phil Edwards <pme@gcc.gnu.org>
2184 * docs/html/documentation.html: Fix broken link.
2186 2002-05-04 Benjamin Kosnik <bkoz@redhat.com>
2187 Paolo Carlini <pcarlini@unitus.it>
2189 * testsuite/22_locale/num_put_members_char.cc: Add test04(),
2190 testing for the locale_facets.tcc entry of the previous commit.
2191 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2193 2002-05-04 Takeshi Kobayakawa <tskoba@mte.biglobe.ne.jp>
2195 * config/locale/generic/c_locale.cc
2196 (__convert_to_v(float, double, long double)):
2197 Fix the temporary switch to the "C" locale, saving and
2198 restoring in the proper way the current locale.
2199 * config/locale/generic/time_members.cc
2200 (__timepunct<char, wchar_t>::_M_put): Likewise.
2201 * config/locale/gnu/messages_members.cc
2202 (messages<char>::do_get): Likewise.
2203 * config/locale/gnu/messages_members.h
2204 (messages<_CharT>::do_get): Likewise.
2205 * config/locale/gnu/time_members.cc
2206 (__timepunct<char, wchar_t>::_M_put): Likewise.
2207 * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2209 2002-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2211 * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2212 * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2214 * Makefile.in, config.h.in, configure: Regenerate.
2216 2002-05-03 Benjamin Kosnik <bkoz@redhat.com>
2219 * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2220 * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2222 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2224 * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2226 (ctype:_M_table): Initialize to classic_table(), not __ctype.
2228 2002-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2230 * configure.in: Update local install.html, configopts.html paths.
2231 * configure: Regenerate.
2233 2002-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2235 * config/os/irix/irix5.2/bits/os_defines.h
2236 (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2238 * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2241 2002-05-02 Phil Edwards <pme@gcc.gnu.org>
2243 * docs/html/faq/index.html: Update list in #4.1.
2244 * docs/html/faq/index.txt: Regenerated.
2246 2002-05-02 Benjamin Kosnik <bkoz@redhat.com>
2248 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2250 2002-05-01 Phil Edwards <pme@gcc.gnu.org>
2252 * include/std/std_bitset.h: Fix doxygen comments.
2253 * docs/html/documentation.html: Minor tweaks for 3.1.
2254 * docs/html/27_io/howto.html: Likewise.
2255 * docs/html/ext/howto.html: Likewise, mention stdio_filebuf.
2256 * docs/html/faq/index.html: Likewise.
2257 * docs/html/faq/index.txt: Regenerated.
2259 2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
2262 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2263 (istreambuf_iterator::equal): Use it.
2264 (istreambuf_iterator::operator*): Use it.
2266 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
2269 * include/bits/stl_uninitialized.h
2270 (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
2271 Fix typo in 2001-07-17 commit: typedef _ValueType to
2272 iterator_traits<_ForwardIter> not <_InputIter>.
2273 * testsuite/23_containers/vector_ctor.cc: Add test04.
2275 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
2278 * include/c_std/std_cctype.h: Include bits/c++config.h.
2279 * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
2281 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2283 * include/ext/stdio_filebuf.h: New file.
2284 * include/ext/enc_filebuf.h: New file.
2285 * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
2286 * config/io/basic_file_stdio.cc: Same.
2287 * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
2288 Remove _M_unbuf hacks.
2289 (filebuf::_M_destroy_internal_buffer): Same.
2290 (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
2291 (filebuf::fd): Remove.
2292 * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
2293 (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
2294 (filebuf::fd): Remove.
2295 * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
2297 (ios_base::_S_ios_destroy): Same.
2298 * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
2299 * include/Makefile.am (ext_headers): Add ext_filebuf.h,
2300 stdio_filebuf.h. * include/Makefile.in: Regenerate.
2302 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
2305 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
2307 2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
2310 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2312 * include/bits/streambuf_iterator.h: Match stream_iterator.h.
2313 (istreambuf_iterator::operator++): Invalidate on eof.
2314 (istreambuf_iterator::operator++(int)): Same.
2315 (istreambuf_iterator::operator*): Same.
2317 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2319 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
2320 of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
2323 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
2326 * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
2327 (__basic_file::sys_ungetc): Take int.
2328 * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
2329 * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
2330 Use sys_getc for unbuffered input.
2331 * testsuite/27_io/narrow_stream_objects.cc (test06): New.
2333 * src/ios.cc (_M_grow_words): Adjust error checking.
2334 * testsuite/27_io/ios_base_storage.cc: Same.
2336 2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2338 * include/ext/stl_hashtable.h: Import __iterator_category
2340 2002-04-28 Paolo Carlini <pcarlini@unitus.it>
2341 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2343 * testsuite/ext/hash_set.cc: New testfile.
2345 2002-04-27 Benjamin Kosnik <bkoz@redhat.com>
2347 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2349 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2350 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2352 2002-04-26 Paolo Carlini <pcarlini@unitus.it>
2354 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
2355 Fix and tighten __throw_length_error check.
2356 * testsuite/21_strings/replace.cc (test05): New.
2357 * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
2359 2002-04-23 Loren J. Rittle <ljrittle@acm.org>
2361 * include/std/std_fstream.h (basic_filebuf::sync): Hoist
2362 unconditional flush on lower-layer handle to here...
2363 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
2364 ...from here. Optimize remaining _M_file.sync() call pattern.
2365 * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
2368 2002-04-23 Jason Merrill <jason@redhat.com>
2370 * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
2371 output-only filebufs.
2372 * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
2374 (basic_filebuf::_M_set_determinate): Likewise.
2377 * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
2378 value properly in the trivial case.
2379 * testsuite/27_io/istream_seeks.cc (test04): Make sure that
2380 tellg() returns the right value after a read.
2382 2002-04-23 Hans-Peter Nilsson <hp@bitrange.com>
2384 * config/cpu/mmix/bits/cpu_limits.h: New file.
2385 * configure.target (CPULIMITSH): Use it.
2387 2002-04-22 Loren J. Rittle <ljrittle@acm.org>
2389 * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
2390 * docs/html/17_intro/porting.html: Rebuilt.
2392 2002-04-20 Jason Merrill <jason@redhat.com>
2395 * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
2397 (basic_streambuf::_M_set_determinate): Likewise.
2398 (basic_streambuf::_M_is_indeterminate): Likewise.
2399 * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
2400 non-static data member.
2401 (basic_filebuf::_M_underflow_common): New non-static member function.
2402 (basic_filebuf::_M_underflow, _M_uflow): Call it.
2403 (basic_filebuf::sync): Avoid useless seeking.
2404 (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
2406 (basic_filebuf::_M_set_determinate): Likewise.
2407 (basic_filebuf::_M_is_indeterminate): Likewise.
2408 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
2409 back to _M_out_beg if necessary.
2410 (basic_filebuf::seekoff): Likewise.
2411 (basic_filebuf::_M_underflow_common): Generalization of old
2412 underflow(). Don't seek back to _M_in_beg.
2413 * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
2414 * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
2415 * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
2416 * config/os/mingw32/bits/os_defines.h: Likewise.
2417 * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
2420 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
2422 * include/bits/istream.tcc (istream::read): Fix.
2423 * testsuite/27_io/istream_unformatted.cc (main): Add.
2425 2002-04-20 Benjamin Kosnik <bkoz@redhat.com>
2428 * include/bits/istream.tcc (istream::ignore): Streamline, use
2430 * include/bits/streambuf.tcc: Use this->gptr.
2431 * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2433 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
2435 * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
2436 as type safety is important, especially on solaris.
2437 * include/bits/istream.tcc (istream::read): Clean.
2438 (istream::readsome): Same.
2439 * locale.cc: Wrap lines.
2441 * testsuite/21_strings/inserters_extractors.cc: Tweaks.
2442 * testsuite/27_io/instantiations.cc (test): Add bool variable...
2443 * testsuite/21_strings/capacity.cc: Clean.
2445 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2447 * docs/doxygen/doxygroups.cc: New group on binary searching.
2448 * include/bits/stl_algo.h: Document binary searches and merges.
2449 * include/bits/stl_deque.h: The 'map' member is not the 'map' class.
2451 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2453 * docs/doxygen/mainpage.html: Doxygen logo is now a PNG file.
2454 * docs/doxygen/run_doxygen: Bump required version.
2455 * docs/doxygen/user.cfg.in: Revert accidental change.
2456 * docs/html/faq/index.html: Reindent a block of links.
2457 (4.4): New note on using dlsym.
2458 * docs/html/faq/index.txt: Regenerated.
2460 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
2462 * testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
2464 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2466 * config/linker-map.gnu (__malloc_alloc_template): Add.
2467 (__default_alloc_template): Same.
2468 * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
2470 (__default_alloc_template): Same.
2472 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
2474 * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
2476 2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
2478 * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
2479 * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
2480 (__malloc_alloc_template): Conditionalize.
2482 * include/bits/istream.tcc: Remove sputbackc calls.
2484 * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2486 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
2488 * testsuite/24_iterators/rel_ops.cc: New test.
2490 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2492 * include/bits/type_traits.h (__normal_iterator): Declare in
2493 __gnu_cxx. Adjust use at global namespace.
2494 * include/bits/stl_iterator.h (__normal_iterator): Move definition
2495 into __gnu_cxx::. Add more operator overloads. Tidy existing ones.
2496 * include/bits/basic_string.h (basic_string): Adjust use of
2498 * include/bits/stl_vector.h (_Alloc>): Likewise.
2499 * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
2500 * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
2502 2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
2506 * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
2508 (__basic_file::close): Call fflush. Correct return if fclose ok.
2509 (__basic_file::is_open): Make const.
2510 Change __c_file_type to __c_file.
2511 * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
2512 (__basic_file::is_open): Make const.
2513 * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
2514 * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
2515 (filebuf::_M_unbuf): Add.
2516 (filebuf::_M_file): Change to non-pointer.
2517 (filebuf::_M_allocate_pback_buffer): Remove.
2518 * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
2519 (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
2520 Change initialization list for _M_file change.
2521 (filebuf::_M_allocate_pback_buffer): Remove.
2522 Change _M_file usage to reflect non-pointer data member.
2524 * config/locale/generic/c_locale.cc
2525 (locale::facet::_S_create_c_locale): Add parameter.
2526 * config/locale/generic/collate_members.cc: Change
2527 _M_compare_helper to _M_compare.
2528 Change _M_transform_helper to _M_transform.
2529 * config/locale/generic/monetary_members.cc: Changeup data types.
2531 * config/locale/generic/numeric_members.cc: Add dtors.
2532 * config/locale/generic/time_members.cc: Add dtors.
2533 * config/locale/gnu/c_locale.cc: Add parameter.
2534 * config/locale/gnu/collate_members.cc:Change
2535 _M_compare_helper to _M_compare.
2536 Change _M_transform_helper to _M_transform.
2537 * config/locale/gnu/ctype_members.cc: Better error checking.
2538 * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
2539 * config/locale/gnu/messages_members.cc: Tweak comment.
2540 * config/locale/gnu/monetary_members.cc: Change data types.
2542 * config/locale/gnu/numeric_members.cc: Add dtors, better error
2544 * config/locale/gnu/time_members.cc: Same.
2545 * config/locale/ieee_1003.1-2001/c_locale.cc
2546 (locale::facet::_S_create_c_locale): Add parameter.
2547 * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
2548 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
2551 * include/bits/locale_facets.h (moneypunct): Use string literals.
2554 (__timepunct): Same.
2555 (locale::_Impl::_M_facets): Change from vector to array.
2556 (locale::_Impl::_M_names): Change from array of strings to array
2558 (locale::facet::_S_create_c_locale): Add parameter.
2559 (locale::locale::_S_num_facets): Move to...
2560 (locale::_Impl::_M_facets_size): Here.
2561 * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
2563 * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
2564 (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
2565 (locale::_Impl::_Impl(string, size_t)): Change to
2566 (locale::_Impl::_Impl(const char*, size_t)): This.
2568 * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
2569 * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
2570 (streambuf::_S_pback_size): This.
2572 * src/globals.cc: Add pre-allocations for "C" facets.
2573 * src/locale-inst.cc: Remove vector instantiations.
2574 * src/locale.cc: Remove vector include. Fixups for _M_names,
2576 * src/localename.cc: Same.
2578 * include/bits/stl_vector.h: Fix odd formatting.
2580 * include/bits/basic_string.tcc: Tweak comment.
2582 * libsupc++/new: Make sure parameters are uglified.
2583 * libsupc++/typeinfo: Same.
2585 * testsuite/22_locale/num_get_members_char.cc: Fixup.
2586 * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2587 * testsuite/27_io/filebuf_members.cc: Same.
2589 2002-04-12 Steve Ellcey <sje@cup.hp.com>
2591 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
2592 (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
2593 does not define strtoll or strtoull, but does define strtol
2594 and strtoul which are the same since in 64 bit mode
2595 sizeof(long) == sizeof(long long).
2597 2002-04-12 Phil Edwards <pme@gcc.gnu.org>
2599 * include/std/std_bitset.h: Doxygenate std::bitset<>. Clean up
2600 trailing spaces, indentation, and macro names. Make exception
2601 messages more informative.
2603 2002-04-11 Richard Henderson <rth@redhat.com>
2605 * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
2606 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
2607 (basic_ostream<>::operator<<(long long)): Same.
2609 2002-04-11 Richard Henderson <rth@redhat.com>
2611 * config/linker-map.gnu: Add __gxx_personality_sj0.
2613 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2616 * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
2618 Remove forward declaration of vector.
2620 * include/bits/locale_facets.tcc: Remove vector include.
2621 (use_locale): Adjust.
2622 (has_locale): Adjust.
2623 * src/locale.cc: Adjust.
2624 * src/localename.cc: Same.
2626 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2627 Richard Henderson <rth@redhat.com>
2629 * include/bits/sstream.tcc: Clean up bit ops.
2630 * include/bits/fstream.tcc: Same.
2632 2002-04-09 Jakub Jelinek <jakub@redhat.com>
2634 * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
2635 (__num_base::_S_scale_oct): Remove.
2636 * src/locale.cc (__num_base::_S_scale_hex): Remove.
2637 (__num_base::_S_scale_oct): Remove.
2639 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
2642 * testsuite/23_containers/bitset_members.cc: New test.
2643 * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
2644 (_S_bit_count): Here.
2645 (_First_one::_S_first_one): Move...
2646 (_S_first_one): Here.
2648 * src/bitset.cc: Adjust.
2649 * config/linker-map.gnu: Export.
2651 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
2654 * include/bits/fstream.tcc (filebuf::seekpos): Fix.
2655 * include/std/std_fstream.h: Clean.
2656 * include/bits/ostream.tcc: Remove extraneous variables.
2657 * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
2658 open modes and which modes.
2659 (stringbuf::seekpos): Same.
2660 * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2662 2002-04-05 Jonathan Wakely <jw@kayari.org>
2664 * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
2665 random_shuffle, partition, stable_partition, sort, stable_sort,
2666 partial_sort, partial_sort_copy, nth_element): Doxygenate.
2668 2002-04-05 David S. Miller <davem@redhat.com>
2670 * config/os/gnu-linux/bits/os_defines.h
2671 (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
2673 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
2676 via gawrilow@math.tu-berlin.de
2677 * acinclude.m4 (version_specific_libs): Fix combo usage with
2678 --with-gxx-include-dir.
2679 * aclocal.m4: Regenerate.
2682 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
2684 As per DR 184, libstdc++/3139
2685 * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
2686 (numeric_limits<bool>::is_iec559): False.
2687 (numeric_limits<bool>::is_modulo): False.
2689 * testsuite/27_io/ios_init.cc: Add instantiations.
2691 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
2694 * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
2695 * testsuite/27_io/ios_init.cc (tests04): Add test.
2698 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2699 (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
2700 * include/bits/basic_ios.tcc: Same. Remove outdated comments.
2701 * include/bits/istream.tcc: Use _M_fctype, make consistent with
2703 * testsuite/27_io/ios_init.cc (tests03): Add test.
2705 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
2707 * include/Makefile.am (install-data-local): Use mkinstalldirs.
2708 * include/Makefile.in: Regenerate.
2710 2002-04-02 Paolo Carlini <pcarlini@unitus.it>
2711 Nathan Myers <ncm@cantrip.org>
2712 Philip Martin <philip@codematters.co.uk>
2714 * include/bits/basic_string.h
2715 (replace(i1, i2, _CharT* k1, _CharT* k2),
2716 replace(i2, i2, const _CharT* k1, const _CharT* k2),
2717 replace(i1, i2, iterator k1, iterator k2,
2718 replace(i1, i2, const_iterator k1, const_iterator k2):
2719 New specializations to optimize for the common cases of
2720 pointers and iterators.
2721 (replace(pos, n1, s, n2)): Tweak.
2722 * include/bits/basic_string.tcc: Tweak comments.
2723 * testsuite/21_strings/replace.cc (test04): New tests.
2725 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2728 * acinclude: More extensive checks for msgfmt, --enable-nls.
2729 * aclocal.m4: Regenerate.
2730 * configure: Regenerate.
2732 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2734 * libsupc++/exception (__verbose_terminate_handler): Point to docs.
2735 * docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
2736 * docs/html/18_support/howto.html: Document the demangler.
2737 * docs/html/17_intro/howto.html: And link to it.
2739 * docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
2740 * docs/doxygen/run_doxygen: Print user-vs-maintainer.
2742 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2744 * config/linker-map.gnu: Export __verbose_terminate_handler.
2745 * libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
2746 Make new LTCOMPILE variable, use it in new special build rules.
2747 * libsupc++/Makefile.in: Rebuild.
2748 * src/vterminate.cc (__verbose_terminate_handler): Enable use of
2749 runtime __cxa_demangle.
2751 * docs/html/install.html: Update prereqs and instructions.
2752 * docs/html/19_diagnostics/howto.html: Bring naming for
2753 verbose_terminate_handler into line with reality.
2755 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
2758 * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
2759 (basic_ios::_M_streambuf_state): Move.
2760 * include/bits/ios_base (ios_base): To here.
2761 * include/bits/ios_base.h (ios_base::_S_local_words): To
2763 (ios_base::_M_word_array): To _M_local_word.
2764 (ios_base::_M_words_limit): To _M_word_size.
2765 (ios_base::_M_words): To _M_word.
2767 * include/bits/basic_ios.tcc: Adjust.
2768 * src/ios.cc (ios_base::_M_grow_words): Tweak.
2769 * testsuite/27_io/ios_base_storage.cc: Add tests.
2772 Kenny Simpson <theonetruekenny@yahoo.com>
2773 * include/bits/ios_base.h: Fix.
2775 Richard Henderson <rth@redhat.com>
2776 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
2779 * include/bits/basic_string.h: Tweak formatting.
2781 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
2783 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2784 (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
2785 By definition, sizeof(char) == 1.
2786 * include/bits/locale_facets.tcc (money_get::do_get,
2787 money_put::do_put): Ditto.
2788 * testsuite/21_strings/inserters_extractors.cc
2791 2002-03-30 Richard Henderson <rth@redhat.com>
2794 * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
2795 data out of the exception struct before calling unexpectedHandler.
2797 2002-03-28 Roger Sayle <roger@eyesopen.com>
2799 * include/c_std/std_cmath.h: To prevent problems overloading
2800 g++ builtins, use the double variants from the global namespace
2801 before defining float and long double variants in std::.
2803 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
2805 * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
2807 2002-03-28 Paolo Carlini <pcarlini@unitus.it>
2809 * testsuite/24_iterators/istream_iterator.cc
2810 (test02): New tests.
2812 2002-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2813 Paolo Carlini <pcarlini@unitus.it>
2815 * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
2816 (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
2817 fix i_lit_base e_lit_base arrays, making them independent
2818 from the endianness of the platform; tweak UCS4 to UCS-4BE.
2820 2002-03-27 Benjamin Kosnik <bkoz@redhat.com>
2822 * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
2823 allocate at least a byte.
2825 * testsuite/18_support/numeric_limits.cc (test_extrema): Make
2827 * testsuite/27_io/streambuf.cc (test07): Fix.
2830 2002-03-27 Phil Edwards <pme@gcc.gnu.org>
2832 * docs/doxygen/Intro.3: Date tweak.
2833 * docs/doxygen/TODO: Update.
2834 * docs/doxygen/doxygroups.cc: Point to tables.html.
2835 * docs/doxygen/mainpage.html: Date tweak.
2836 * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over.
2837 * docs/doxygen/tables.html: Fill in the blanks.
2839 * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint.
2840 * include/bits/stl_algo.h: Likewise; use expanded form.
2841 * include/bits/stl_alloc.h: Likewise.
2842 * include/bits/stl_construct.h: Likewise.
2843 * include/bits/stl_deque.h: Likewise.
2844 * include/bits/stl_iterator_base_types.h: Likewise.
2845 * include/bits/stl_list.h: Likewise.
2846 * include/bits/stl_relops.h: Likewise.
2847 * include/bits/stl_tempbuf.h: Likewise.
2848 * include/bits/stl_vector.h: Likewise.
2849 * include/std/std_memory.h: Likewise.
2851 * include/bits/stl_deque.h: Point into tables.html and add @ingroup.
2852 * include/bits/stl_list.h: Likewise.
2853 * include/bits/stl_vector.h: Likewise.
2855 2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
2857 * include/c/: Guard with _CPP_.
2858 * include/c_std/: Same.
2859 * include/Makefile.am: Fixup install, link routines for null
2860 c_base_headers_extra scenarios.
2861 * include/Makefile.in: Regerate.
2863 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2864 Richard Henderson <rth@redhat.com>
2866 * testsuite/22_locale/codecvt_members_unicode_char.cc
2867 (test01, test02): make sure that the i_lit_base array
2868 is sufficiently aligned.
2870 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2872 * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
2875 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
2877 * testsuite/22_locale/collate_byname.cc
2878 (test01): compare the result of collate::compare with
2879 that of collate::transform + string::compare, not with
2880 that of collate::transform + collate::compare; values
2881 returned by collate::compare are normalized, therefore
2884 2002-03-25 Benjamin Kosnik <bkoz@redhat.com>
2885 Jakub Jelinek <jakub@redhat.com>
2887 * config/locale/gnu/messages_members.h: Correct conditional.
2888 * config/locale/gnu/messages_members.cc: Same.
2889 * config/locale/gnu/time_members.cc: Same.
2891 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2892 Paolo Carlini <pcarlini@unitus.it>
2894 * testsuite/22_locale/codecvt_members_unicode_char.cc
2895 (test01, test02): Fix i_lit_base arrays, making them
2896 independent from the endianness of the platform.
2898 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2900 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
2901 signbit and __signbit directly.
2902 * aclocal.m4: Regenerate.
2903 * configure: Regenerate.
2904 * config.h.in: Regenerate.
2905 * libmath/Makefile.am: Simplify.
2906 * libmath/Makefile.in: Regenerate.
2907 * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
2909 * include/Makefile.am: Clean up handling of extra "C" header files.
2910 Add hooks for "C" compatibility headers.
2911 * include/Makefile.in: Regenerate.
2913 * include/c/*: Formatting tweaks, cleanups.
2914 * include/c_std/*: Same.
2916 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2918 * config/locale/gnu/messages_members.h: Add __uselocale bits.
2919 * config/locale/gnu/messages_members.cc: Same.
2920 * config/locale/gnu/time_members.cc: Same.
2922 2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
2924 * src/vterminate.cc: Format, -fno-exceptions cleanup.
2926 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2928 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
2929 (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
2930 * aclocal.m4: Regenerate.
2931 * configure: Likewise.
2933 2002-03-19 Paolo Carlini <pcarlini@unitus.it>
2934 Ulrich Drepper <drepper@redhat.com>
2936 * src/locale-inst.cc (__convert_from_v): Add an additional
2937 __size parameter in the declarations.
2938 * include/bits/locale_facets.tcc
2939 (__convert_from_v): When available (that is,
2940 _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
2941 (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
2942 being defined or not, call and use __convert_from_v in the
2944 (num_put::_M_convert_int): Same here.
2945 (money_put::do_put(long double)): Same here.
2947 2002-03-19 Phil Edwards <pme@gcc.gnu.org>
2949 * docs/html/faq/index.html (#3.6): Rewrap and close <a href> tags.
2950 * docs/html/faq/index.txt: Regenerate.
2952 2002-03-19 Steve Ellcey <sje@cup.hp.com>
2954 * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
2955 GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
2956 --enable-libunwind-exceptions is set.
2957 * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
2958 macro to check for libunwind.
2959 * configure: Regenerate.
2960 * src/Makefile.am (libstdc___la_LDFLAGS): Add
2961 LIBUNWIND_FLAG to libstdc link line.
2962 * src/Makefile.in: Regenerate.
2964 2002-03-19 Benjamin Kosnik <bkoz@redhat.com>
2966 * docs/html/faq/index.html: Add OS X workaround.
2967 * docs/html/17_intro/TODO: Update.
2969 2002-03-18 Paolo Carlini <pcarlini@unitus.it>
2971 * include/bits/locale_facets.tcc
2972 (money_put::do_put(long double)): Fix dimensioning of
2973 temporary buffers to avoid risk of overruns.
2974 (money_put::do_put(string)): Same for the buffer used to
2975 add the grouping chars.
2976 * testsuite/22_locale/money_put_members_char.cc: Add test06.
2977 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
2979 * include/bits/locale_facets.tcc
2980 (collate::do_transform): Simplify.
2982 2002-03-18 Phil Edwards <pme@gcc.gnu.org>
2984 * acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
2985 * configure.in: Add comments pointing the way for autoconf 2.5x.
2986 * aclocal.m4, config.h.in, configure: Regenerate.
2988 2002-03-18 Philipp Thomas <pthomas@suse.de>
2990 * include/backward/hash_map.h: hash, hashtable, hash_map and
2991 hash_multimap are in namespace __gnu_cxx.
2992 include/backward/hash_set.h: hash, hashtable, hash_set and
2993 hash_multiset are in namespace __gnu_cxx.
2994 include/backward/hashtable.h: hash and hashtable are in
2995 namespace __gnu_cxx.
2996 include/backward/rope.h: char_producer, sequence_buffer,
2997 rope, crope and wrope are in namespace __gnu_cxx.
2998 include/backward/slist.h: slist is in namespace __gnu_cxx.
2999 * testsuite/backward/header_hash_map_h.cc
3000 testsuite/backward/header_hash_set_h.cc
3001 testsuite/backward/header_hashtable_h.cc
3002 testsuite/backward/header_rope_h.cc
3003 testsuite/backward/header_slist_h.cc
3004 testsuite/backward/header_tempbuf_h.cc: New tests for
3005 checking that we're using the correct namespace.
3007 2002-03-17 Jason Merrill <jason@redhat.com>
3010 * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3011 (check_exception_spec): Call it. Take the thrown pointer.
3012 (__cxa_call_unexpected): Pass it.
3013 (PERSONALITY_FUNCTION): Likewise. Use get_adjusted_ptr.
3015 2002-03-15 Anthony Green <green@redhat.com>
3017 * configure.in: Remove useless is_mingw32.
3018 * configure: Rebuilt.
3020 2002-03-15 Paolo Carlini <pcarlini@unitus.it>
3022 * testsuite/22_locale/collate_members_char.cc
3023 (test01): compare the result of collate::compare with
3024 that of collate::transform + string::compare, not with
3025 that of collate::transform + collate::compare.
3026 (test01): values returned by collate::compare are
3027 normalized, therefore test against +-1.
3028 * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3030 2002-03-12 Loren Rittle <ljrittle@acm.org>
3032 reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3033 * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3035 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3036 Per Liboriussen <liborius@stofanet.dk>
3038 * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
3040 * config/os/gnu-linux/bits/ctype_inline.h: Same.
3042 * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
3044 * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3045 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3047 * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3048 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3050 * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3051 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3053 * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3055 2002-03-12 Benjamin Kosnik <bkoz@redhat.com>
3057 * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3058 _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3059 (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3060 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3061 that memory limits are in place.
3062 (test03): Add tests.
3064 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3066 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3067 * aclocal.m4: Regenerate.
3068 * config.h.in: Regenerate.
3069 * configure: Regenerate.
3070 * include/c_std/std_cwctype.h: Guard.
3072 2002-03-11 Chris Demetriou <cgd@broadcom.com>
3074 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3075 whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3076 * aclocal.m4: Regenerate.
3077 * configure: Regenerate.
3079 2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
3081 * include/bits/stl_bvector.h: Fix warning.
3083 2002-03-11 Richard Henderson <rth@redhat.com>
3085 * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
3087 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3089 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3090 New function. Build the list of tests to run in testsuite_files.
3091 * testsuite/libstdc++-v3.dg/dg.exp: Use it.
3093 2002-03-11 Phil Edwards <pme@gcc.gnu.org>
3095 * testsuite/21_strings/capacity.cc: Only explicitly instantiate on
3096 platforms with no weak support.
3097 * testsuite/27_io/ios_init.cc: Likewise.
3099 2002-03-10 Paolo Carlini <pcarlini@unitus.it>
3101 * include/bits/locale_facets.tcc (time_put::do_put):
3102 Consider sizeof(char_type) in allocating the buffer.
3104 * include/bits/locale_facets.tcc (collate::do_tranform):
3105 Remove redundant variable.
3107 2002-03-10 Ulrich Drepper <drepper@redhat.com>
3108 Paolo Carlini <pcarlini@unitus.it>
3110 * config/locale/generic/collate_members.cc
3111 (collate<char,wchar_t>::_M_compare_helper): normalize
3112 values returned by strcoll and wcscoll.
3113 * config/locale/gnu/collate_members.cc
3114 (collate<char,wchar_t>::_M_compare_helper): ditto
3115 for __strcoll_l and __wcscoll_l.
3117 2002-03-10 Anthony Green <green@redhat.com>
3119 * configure.in: Support cross builds to mingw32 target.
3120 * configure: Rebuilt.
3122 2002-03-09 Paolo Carlini <pcarlini@unitus.it>
3124 * include/bits/locale_facets.tcc (collate::do_transform):
3125 Rewrite to fix problems with long transformed strings.
3127 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3129 * c_locale_generic.cc: Move to...
3130 * generic/c_locale.cc
3131 * c_locale_generic.h: Move to...
3132 * generic/c_locale.h
3133 * codecvt_specializations_generic.h: Move to...
3134 * generic/codecvt_specializations.h
3135 * collate_members_generic.cc: Move to...
3136 * generic/collate_members.cc
3137 * ctype_members_generic.cc: Move to...
3138 * generic/ctype_members.cc
3139 * messages_members_generic.cc: Move to...
3140 * generic/messages_members.cc
3141 * messages_members_generic.h: Move to...
3142 * generic/messages_members.h
3143 * moneypunct_members_generic.cc: Move to...
3144 * generic/monetary_members.cc
3145 * numpunct_members_generic.cc: Move to...
3146 * generic/numeric_members.cc
3147 * time_members_generic.cc: Move to...
3148 * generic/time_members.cc
3149 * c_locale_gnu.cc: Move to...
3151 * c_locale_gnu.h: Move to...
3153 * collate_members_gnu.cc: Move to...
3154 * gnu/collate_members.cc
3155 * ctype_members_gnu.cc: Move to...
3156 * gnu/ctype_members.cc
3157 * messages_members_gnu.cc: Move to...
3158 * gnu/messages_members.cc
3159 * messages_members_gnu.h: Move to...
3160 * gnu/messages_members.h
3161 * moneypunct_members_gnu.cc: Move to...
3162 * gnu/monetary_members.cc
3163 * numpunct_members_gnu.cc: Move to...
3164 * gnu/numeric_members.cc
3165 * time_members_gnu.cc: Move to...
3166 * gnu/time_members.cc
3167 * c_locale_ieee_1003.1-200x.cc: Move to...
3168 * ieee_1003.1-2001/c_locale.cc
3169 * c_locale_ieee_1003.1-200x.h: Move to...
3170 * ieee_1003.1-2001/c_locale.h
3171 * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3172 * ieee_1003.1-2001/codecvt_specializations.h
3173 * messages_members_ieee_1003.1-200x.cc: Move to...
3174 * ieee_1003.1-2001/messages_members.cc
3175 * messages_members_ieee_1003.1-200x.h: Move to...
3176 * ieee_1003.1-2001/messages_members.h
3178 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3179 * aclocal.m4: Regenerate.
3180 * configure: Regenerate.
3181 * src/Makefile.am (sources): Change to monetary and numeric.
3182 * src/Makefile.in: Regenerate.
3183 * docs/html/configopts.html: Update to ieee_1003.1-2001.
3185 2002-03-08 scott snyder <snyder@fnal.gov>
3188 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3189 Allow one more digit of precision.
3190 * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3191 write a double and read back in the same value.
3193 2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
3195 * include/std/std_limits.h: Move static const data members out of
3196 generic template, into base class __numeric_limits_base.
3197 * src/limits.cc: Add definitions.
3198 * config/linker-map.gnu: Add __numeric_limits_base.
3199 * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3201 2002-03-07 Benjamin Kosnik <bkoz@redhat.com>
3203 * include/bits/stl_alloc.h: Add extern implicit allocator
3205 * include/bits/basic_string.tcc: Tweak.
3206 * include/bits/locale_facets.tcc: Remove default args. Add
3207 has_facet, use_facet extern instantiations.
3208 * src/stl-inst.cc: Add explicit instantiation.
3209 * src/locale-inst.cc: Clean. Remove locale member template
3212 * testsuite/22_locale/operators.cc (test02): Enable.
3214 2002-03-06 Benjamin Kosnik <bkoz@redhat.com>
3215 Stephen M. Webb <stephen.webb@bregmasoft.com>
3217 * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3218 (_S_rb_tree_black): Make enum.
3220 * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3221 * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3222 (__stl_threshold): _M_threshold, enum.
3223 * src/stl-inst.cc: Same.
3224 * config/linker-map.gnu: Remove.
3226 * testsuite/23_containers/vector_bool.cc: New.
3228 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3230 * docs/doxygen/user.cfg.in: Also document deprecated entries.
3231 * docs/html/Makefile: Example rule to rebuild porting-howto.html.
3232 * docs/html/17_intro/howto.html: "gcc"->"GCC" changes, when
3233 referring to the collection as a whole. New section on which macros
3234 can be redefined by the user.
3235 * docs/html/19_diagnostics/howto.html: Update note for concepts.
3236 * docs/html/20_util/howto.html: Update link to SGI.
3237 * docs/html/faq/index.html: Update snapshot versions. New entry
3238 on why g++ (but not gcc) must currently predefine certain macros.
3239 * docs/html/faq/index.txt: Regenerated.
3241 * include/bits/basic_string.h (basic_string::_S_construct): Fix
3242 names in declaration.
3243 (basic_string::compare): These are no longer optional.
3244 * include/bits/ostream.tcc: Tweak closing brace placement.
3245 * include/bits/stl_algo.h: Lots of initial doxygen comment hooks.
3246 * include/std/std_sstream.h: Fix typo in comment.
3247 * include/bits/locale_facets.tcc: Remove unneeded header inclusion.
3248 * src/locale.cc: Likewise.
3250 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3253 * include/bits/stl_vector.h (vector::push_back()): Guard with
3254 _GLIBCPP_DEPRECATED.
3256 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
3258 * include/bits/c++config: Fix misplaced leading blanks on first line.
3260 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3262 * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3263 * README (libmath): Make clear.
3265 2002-03-05 Jakub Jelinek <jakub@redhat.com>
3267 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
3268 script globbing in ld.
3269 * aclocal.m4: Rebuilt.
3270 * configure: Rebuilt.
3272 2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
3274 * docs/html/17_intro/RELEASE-NOTES: Update.
3275 * README: Format subdirectories.
3277 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
3280 * include/bits/locale_facets.tcc
3281 (num_get::_M_extract_float): Fix the parsing of __dec, since
3282 the standard prescribes that if no grouping characters are
3283 seen, no grouping check is applied.
3284 * testsuite/22_locale/num_get_members_char.cc: Add test05
3285 distilled from the PR.
3286 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3288 2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
3290 * docs/html/17_intro/porting-howto.xml: Refer to
3291 http://www.oasis-open.org for docbookx.dtd.
3292 * docs/html/17_intro/porting-howto.html: Regenerated.
3294 2002-03-03 Phil Edwards <pme@gcc.gnu.org>
3297 * include/std/std_sstream.h: Remove trailing spaces.
3298 (basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
3299 * testsuite/27_io/stringbuf.cc (test05, test06): New tests.
3301 2002-03-02 Paolo Carlini <pcarlini@unitus.it>
3303 * testsuite/22_locale/num_get_members_char.cc (test04):
3304 Use a named locale expecting grouping (de_DE).
3305 * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
3307 * testsuite/27_io/ios_manip_basefield.cc (test01):
3308 Extend coverage, uniform treatment of hexs and octs.
3310 2002-02-28 Richard Henderson <rth@redhat.com>
3312 * config/linker-map.gnu: Export operator new with unsigned long,
3313 and with std::nothrow_t. Likewise operator delete.
3315 2002-02-28 Paolo Carlini <pcarlini@unitus.it>
3317 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
3318 Admit grouping for octals and hexadecimals too.
3319 * testsuite/22_locale/num_get_members_char.cc: Add test04.
3320 (test01): Tweak "." -> "," in void* test.
3321 * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
3323 * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
3324 * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
3326 2002-02-27 Paolo Carlini <pcarlini@unitus.it>
3328 * testsuite/27_io/ios_manip_basefield.cc (test01):
3329 Fix for 64 bit machines.
3331 2002-02-26 Benjamin Kosnik <bkoz@redhat.com>
3334 * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
3336 * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
3337 (basic_ios::_M_fill_init): New.
3338 (basic_ios::fill()): Delay dealing with _M_fill.
3340 * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
3341 (ios_base::_M_call_callbacks): Adjust.
3342 * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
3344 2002-02-26 Loren Rittle <ljrittle@acm.org>
3346 * include/Makefile.am (thread_target_headers): Unconditionally
3347 stage and install gthr-posix.h.
3348 (${target_builddir}/gthr-posix.h): New rule cloned off
3349 ${target_builddir}/gthr-default.h.
3350 (${target_builddir}/gthr-default.h): Support chained inclusion
3351 of gthr support headers.
3352 * include/Makefile.in: Rebuilt.
3354 2002-02-26 Paolo Carlini <pcarlini@unitus.it>
3356 * include/bits/locale_facets.tcc (num_put::_M_widen_int):
3357 Group all the integral types, not only decs.
3358 * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
3359 tests, add a few more.
3361 2002-02-25 Benjamin Kosnik <bkoz@redhat.com>
3363 * src/ios.cc (ios_base::~ios_base): Tweak.
3364 (ios_base::_M_call_callbacks): Deal with null __p.
3365 (ios_base::ios_base): Set _M_callbacks.
3366 * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
3367 * testsuite/27_io/ios_init.cc (test02): Fix.
3369 * mkcheck.in (static_fail): Failed links go to output file.
3371 2002-02-25 Phil Edwards <pme@gcc.gnu.org>
3373 * docs/html/faq/index.html: Update.
3374 * docs/html/faq/index.txt: Regenerate.
3376 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
3378 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
3379 * aclocal.m4: Regenerate.
3380 * docs/html/configopts.html: Document --enable-symvers.
3381 * config/linker-map.gnu: Break libsupc++ symbols out to their own tag.
3383 2002-02-22 Philipp Thomas <pthomas@suse.de>
3385 * include/backward/tempbuf.h: get_temporary_buffer and
3386 return_temporary_buffer are in namespace std, not in __gnu_cxx.
3388 2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
3390 * configure.in (target_alias): Default to yes.
3391 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
3392 libgcc to default case.
3394 2002-02-20 Phil Edwards <pme@gcc.gnu.org>
3396 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
3397 (GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
3398 * configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
3399 * aclocal.m4: Regenerate.
3400 * configure: Regenerate.
3401 * config/linker-map.dummy: New file. Contains nothing useful.
3403 2002-02-20 Benjamin Kosnik <bkoz@redhat.com>
3405 * testsuite/22_locale/money_put_members_char.cc: Fix.
3406 * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
3408 * testsuite/27_io/standard_manipulators.cc: New file.
3410 * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
3411 * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
3413 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
3415 * config/os/mingw32/bits/ctype_noninline.h
3416 (ctype<char>::ctype): Remove default args from parm list.
3417 * config/os/djgpp/bits/ctype_noninline.h: Same.
3419 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3421 * include/std/std_iomanip.h: Inline, tweaks.
3422 * config/linker-map.gnu: Remove hacks.
3424 * testsuite/21_strings/capacity.cc: Add explicit instantiations.
3425 * testsuite/27_io/ios_init.cc: Same.
3426 * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
3427 * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
3429 2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
3431 * config/linker-map.gnu: Export global vtable, typeinfo, guard
3432 variable, and thunk info as per CXXABI docs.
3434 2002-02-19 Loren Rittle <ljrittle@acm.org>
3436 * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
3437 * include/Makefile.in: Rebuilt.
3439 2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3441 * testsuite/22_locale/collate_byname.cc (test01): Replace size4
3442 with size3 for the string collations of str5.
3444 2002-02-18 Paolo Carlini <pcarlini@unitus.it>
3447 * include/bits/locale_facets.tcc (money_put::do_put):
3448 For the space field use __fill instead of ' ', uniformly.
3449 * testsuite/22_locale/money_put_members_char.cc:
3450 Add test05 distilled from PR.
3451 (test01-02-03): Trim some '*' to ' '.
3452 * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3454 2002-02-18 Loren Rittle <ljrittle@acm.org>
3457 * include/Makefile.am (thread_builddir): Remove (map all
3458 existing uses to target_builddir).
3459 (thread_headers): Rename to...
3460 (thread_target_headers): ...this.
3461 (stamp-thread): Remove.
3462 (stamp-target): Correctly state the position as built.
3463 Update all dependencies to match the new reality. Remove all
3464 dependency calculations on directories.
3465 * include/Makefile.in: Rebuilt.
3467 2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
3469 * include/bits/locale_facets.tcc: Add pragma GCC system_header.
3470 * include/bits/fstream.tcc: Same.
3471 * include/bits/sstream.tcc: Same.
3472 * include/bits/ostream.tcc: Same.
3473 * include/bits/istream.tcc: Same.
3474 * include/bits/streambuf.tcc: Same.
3475 * include/bits/basic_ios.tcc: Same.
3476 * include/bits/basic_string.tcc: Same.
3478 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3480 * include/std/std_iosfwd.h: Don't guard typedefs with
3481 _GLIBCPP_USE_WCHAR_T
3482 * include/bits/stringfwd.h: Same.
3484 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3486 * src/locale.cc (moneypunct_byname): Remove definitions.
3487 * include/std/std_streambuf.h (streambuf::operator=): Return.
3489 2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
3492 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
3493 explicit instantiation.
3494 (string::_Rep::_S_max_size): Same.
3495 * include/bits/basic_string.tcc: Add extern explicit
3496 instantiations for string, wstring.
3497 * include/bits/basic_ios.tcc: Add extern explicit instantiations
3499 * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
3500 * include/bits/istream.tcc: Same, for istream, wistream.
3501 * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
3503 * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
3504 istringstream, wistringstream, ostringstream, wostringstream,
3505 stringstream, wstringstream.
3506 * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
3507 wifstream, ofstream, wofstream, fstream, wfstream.
3508 * src/misc-inst.cc: Correct comments.
3509 Add iomanip instantiations for wide streams.
3510 * include/std/std_iomanip.h: Same.
3511 * include/bits/locale_facets.tcc: Same.
3513 * include/std/std_streambuf.h: Correct
3514 _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
3515 * include/std/std_sstream.h: Same.
3516 * include/std/std_ostream.h: Same.
3517 * include/std/std_istream.h: Same.
3518 * include/std/std_fstream.h: Same.
3520 * include/std/std_streambuf.h: Add definitions for private copy
3521 ctor and assignment operator.
3522 * include/std/std_istream.h: Remove declared but undefined copy
3523 ctor and assignment operator. This is taken care of in ios_base,
3524 so adding it in the derived class as well is superfluous.
3525 * include/std/std_ostream.h: Same.
3527 * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
3528 * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
3530 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
3532 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
3533 Add typeinfo bits. Smooth.
3534 * aclocal.m4: Regenerate.
3536 * src/Makefile.in: Same.
3538 2001-02-14 Joel Sherrill <joel@OARcorp.com>
3540 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
3541 which do not have a CAS instruction.
3543 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
3545 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
3546 * configure.in: Call it.
3547 * config/linker-map.gnu: New file, initial incomplete revision.
3548 * src/Makefile.am: Optionally pass version script to the linker.
3549 * aclocal.m4: Regenerate.
3550 * configure: Regenerate.
3551 * src/Makefile.in: Regenerate.
3553 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
3555 * src/localename.cc: Remove stdexcept include.
3556 * src/locale-inst.cc: Same.
3557 * src/locale.cc: Same.
3558 * src/functexcept.cc: Remove string includes.
3559 * include/std/std_bitset.h: Remove stdexcept include.
3560 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
3561 * testsuite/23_containers/bitset_ctor.cc: Same.
3563 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
3565 * include/bits/stl_algo (__stl_threshold): Declare external.
3566 (__stl_chunk_size): Same.
3567 * include/bits/stl_bvector.h (__WORD_BIT): Same.
3568 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
3569 (_S_rb_tree_black): Same.
3570 * src/stl-inst.cc (__stl_threshold): Define.
3571 (__stl_chunk_size): Same.
3573 (_S_rb_tree_red): Same.
3574 (_S_rb_tree_black): Same.
3576 * config/io/basic_file_libio.h (__basic_file): Add declarations.
3577 * include/bits/basic_file.h: Remove.
3578 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
3579 Declare generic types, specialization.
3580 * config/io/basic_file_stdio.cc: Definitions.
3581 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
3582 Declare generic types.
3583 * include/Makefile.am (bits_headers): Remove basic_file.h.
3584 (extra_target_headers): Change basic_file_model.h to basic_file.h.
3585 (stamp-target): Same.
3587 * include/bits/stl_alloc.h: Tweaks.
3588 * include/bits/localefwd.h: Same.
3590 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
3592 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
3593 * testsuite/22_locale/collate_members_char.cc (test03): New test.
3594 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
3596 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
3598 * include/bits/stl_algo.h (transform (both signatures), generate_n):
3599 Use __typeof__ in concept checks.
3601 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
3603 * include/bits/stl_algo.h (__median, for_each, find, find_if,
3604 adjacent_find, count, count_if, search, search_n, swap_ranges,
3605 transform, replace, replace_if, replace_copy, replace_copy_if,
3606 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
3607 unique, unique_copy, reverse, reverse_copy): Doxygenate.
3609 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
3611 * include/bits/locale_facets.h
3612 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
3613 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
3614 (__timepunct<_CharT>::_M_put_helper): Same.
3615 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
3617 * include/bits/fstream.tcc (filebuf::underflow): Remove
3618 __codecvt_type typedef.
3619 (filebuf::_M_convert_to_external): Same.
3621 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
3623 * docs/doxygen/TODO: Update.
3624 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
3625 * docs/doxygen/mainpage.html: Add TODO list link.
3626 * docs/doxygen/user.cfg.in: Add @doctodo hook.
3627 * docs/doxygen/tables.html: New file, emoty structure only.
3629 * include/bits/stl_iterator.h: Doxygenate just about everything.
3630 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
3631 * include/bits/stl_iterator_base_types.h: Add notes.
3633 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
3635 * include/bits/stl_map.h: Tweak doxygen markup.
3636 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
3637 * include/bits/stl_vector.h: Likewise.
3639 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3643 * include/std/std_fstream.h (filebuf::__file_type): Change to
3645 (filebuf::_M_convert_to_external): Declare.
3646 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
3647 codecvt bits for wide streams.
3648 (filebuf::_M_really_overflow): Use it.
3649 (filebuf::underflow): Use codecvt.
3650 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3651 (codecvt<__enc_traits>::do_out): Deal with partial.
3652 (codecvt<__enc_traits>::do_encoding): Return something useful.
3653 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
3655 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
3656 Change expected encoding output.
3658 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
3661 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
3662 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3664 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
3665 (basic_ios::widen): Same.
3667 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
3669 * testsuite/22_locale/money_get_members_char.cc:
3670 Add comment, tidy up.
3671 (test01): more "en_HK" tests (without showbase).
3672 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
3674 2002-02-06 Loren Rittle <ljrittle@acm.org>
3676 * config/locale/c_locale_generic.cc: Do not trust
3677 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
3680 2002-02-06 Loren Rittle <ljrittle@acm.org>
3682 * acinclude.m4: Add C++ linkage check for strtof.
3683 * aclocal.m4: Rebuilt.
3684 * config.h.in: Rebuilt.
3685 * configure: Rebuilt.
3686 * config/locale/c_locale_generic.cc: Conditionally include
3687 <ieeefp.h>. Improve handling and error checking of float
3688 and long double input for non-C99 configurations.
3690 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
3692 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3693 In case money_base::symbol deal properly with multi-char sign
3694 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
3695 * testsuite/22_locale/money_get_members_char.cc: Add test07.
3696 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
3698 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
3700 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3701 First construct a tentative returned string, then, only if the
3702 parsing succeeds, copy it into the string passed by reference.
3703 * testsuite/22_locale/money_get_members_char.cc: Add test06.
3704 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
3706 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
3708 * docs/doxygen/TODO: Impl-defined behavior now documented...
3709 * docs/html/17_intro/howto.html: ...here.
3710 * docs/doxygen/mainpage.doxy: Remove, rename...
3711 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
3712 * docs/doxygen/style.css: Add small text.
3713 * docs/doxygen/run_doxygen: Adjust for new mainpage.
3714 * docs/doxygen/user.cfg.in: Likewise.
3716 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
3718 * include/bits/stl_map.h: Initial doxygen markup.
3719 * include/std/std_fstream.h: Initial doxygen markup.
3721 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
3724 * include/bits/locale_facets.tcc (money_get::do_get(string)):
3725 Deal correctly with !(__io.flags() & ios_base::showbase)
3726 for case money_base::symbol.
3727 * testsuite/22_locale/money_get_members_char.cc: Add test05.
3728 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
3730 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
3732 * testsuite/22_locale/operators.cc
3733 (gnu_collate::do_compare()): Add return statement to
3734 suppress "no return statement" warning.
3736 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
3738 * testsuite/27_io/ostream_manip.cc: Enable test02.
3740 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
3742 * docs/html/documentation.html: Update for 3.0.96.
3743 * docs/html/faq/index.html: Update for 3.0.96.
3744 * docs/html/faq/index.txt: Regenerated.
3745 * docs/doxygen/TODO: Update notes.
3746 * docs/html/17_intro/howto.html: Initial impl-specific listing.
3748 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
3750 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
3751 Initialize all data members in copy ctor. Make ctors explicit.
3752 (__enc_traits::__enc_traits()): Default ctor does nothing.
3753 (__enc_traits::_M_init): Guard against multiple iconv_opens.
3754 * include/std/std_sstream.h (basic_stringbuf): Make data members
3756 * include/std/std_fstream.h (basic_filebuf): Same.
3757 * include/std/std_streambuf.h: Tweak.
3758 * include/bits/streambuf.tcc: Same.
3759 * include/bits/sstream.tcc: Same.
3760 * include/bits/fstream.tcc: Same.
3762 2002-01-31 Loren Rittle <ljrittle@acm.org>
3764 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
3765 allow NULL argument to be passed to setenv().
3766 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
3767 * testsuite/22_locale/collate_members_char.cc: Likewise.
3768 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
3769 * testsuite/22_locale/ctype_members_char.cc: Likewise.
3770 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
3771 * testsuite/22_locale/messages_members_char.cc: Likewise.
3772 * testsuite/22_locale/money_get_members_char.cc: Likewise.
3773 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
3774 * testsuite/22_locale/money_put_members_char.cc: Likewise.
3775 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
3776 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
3777 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
3778 * testsuite/22_locale/num_get_members_char.cc: Likewise.
3779 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
3780 * testsuite/22_locale/num_put_members_char.cc: Likewise.
3781 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
3782 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
3783 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
3784 * testsuite/22_locale/time_get_members_char.cc: Likewise.
3785 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
3786 * testsuite/22_locale/time_put_members_char.cc: Likewise.
3787 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
3789 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
3791 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
3793 * ChangeLog-2001: Fix spelling errors...
3794 * docs/html/17_intro/RELEASE-NOTES: Update.
3795 * docs/html/17_intro/TODO: Update.
3796 * README (file): Update.
3798 2002-01-30 Loren Rittle <ljrittle@acm.org>
3800 * config/locale/c_locale_generic.cc: Check errno for ERANGE
3801 instead of non-zero to aid portability.
3803 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3805 * docs/html/22_locale/messages.html: Fix example code.
3807 2002-01-30 Richard Henderson <rth@redhat.com>
3809 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
3810 out from test03 and templatize.
3813 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3815 * config/locale/numpunct_members_gnu.cc
3816 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
3817 Fix initialization of _M_grouping for locales which have
3818 _M_thousands_sep == '\0'(L'\0', respectively).
3819 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
3821 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
3823 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3824 Better fix for 32/64 bit architectures, avoiding the
3825 implicit assumption that CHAR_BIT == 8.
3827 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
3829 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
3830 * Makefile.in: Regenerate.
3832 * docs/doxygen/run_doxygen: Update, mostly for man pages.
3833 * docs/doxygen/Intro.3: Update.
3834 * docs/doxygen/TODO: Update.
3835 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
3836 * docs/doxygen/mainpage.doxy: Update.
3837 * docs/doxygen/user.cfg.in: Update for header rename. Also
3838 regenerate comments and variables with 1.2.12.
3839 * docs/doxygen/maint.cfg.in: Remove file.
3841 * include/bits/stl_relops.h: Doxygenate.
3842 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
3844 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
3845 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
3846 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
3847 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
3848 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
3849 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
3850 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
3851 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
3852 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
3853 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
3854 include/ext/hash_set, include/ext/iterator, include/ext/memory,
3855 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
3856 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
3857 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
3858 include/std/std_algorithm.h, include/std/std_bitset.h,
3859 include/std/std_complex.h, include/std/std_deque.h,
3860 include/std/std_fstream.h, include/std/std_functional.h,
3861 include/std/std_iomanip.h, include/std/std_ios.h,
3862 include/std/std_iosfwd.h, include/std/std_iostream.h,
3863 include/std/std_istream.h, include/std/std_iterator.h,
3864 include/std/std_limits.h, include/std/std_list.h,
3865 include/std/std_locale.h, include/std/std_map.h,
3866 include/std/std_memory.h, include/std/std_numeric.h,
3867 include/std/std_ostream.h, include/std/std_queue.h,
3868 include/std/std_set.h, include/std/std_sstream.h,
3869 include/std/std_stack.h, include/std/std_stdexcept.h,
3870 include/std/std_streambuf.h, include/std/std_string.h,
3871 include/std/std_utility.h, include/std/std_valarray.h,
3872 include/std/std_vector.h: Add/correct @file doxygen hook.
3874 * include/ext/memory: Doxygenate most of rest of file.
3875 * libsupc++/exception: Doxygen output formatting.
3876 * libsupc++/new: Say which header it is.
3878 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
3879 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
3880 * docs/html/23_containers/howto.html: Describe O(n) list::size().
3881 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
3883 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3884 Charles Leggett <CGLeggett@lbl.gov>
3886 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
3888 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
3890 * testsuite/27_io/ostream_inserter_arith.cc (test03):
3891 Fix to deal correctly with both 32 bit and 64 bit architectures
3893 2002-01-25 Loren Rittle <ljrittle@acm.org>
3895 * testsuite/thread/pthread1.cc: Use one condition variable
3896 per predicate instead of tricky use of one condition variable.
3898 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
3900 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
3902 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
3903 * testsuite/27_io/filebuf.cc: Compile only.
3904 * testsuite/27_io/filebuf_members.cc: Move tests to here.
3905 * testsuite/27_io/filebuf_virtuals.cc: And here.
3906 Revert sungetc, sync changes for expected values.
3907 * testsuite/27_io/filebuf-*: Move to...
3908 * testsuite/27_io/filebuf_virtuals-*: ...here.
3909 * testsuite/27_io/istream.cc: Compile only, activate.
3910 * testsuite/27_io/ostream.cc: Same.
3911 * testsuite/27_io/iostream.cc: New.
3912 * testsuite/27_io/iostream_members.cc: New.
3914 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
3916 * testsuite/thread/pthread1.cc: Enable on cygwin.
3917 * testsuite/thread/pthread2.cc: Likewise.
3918 * testsuite/thread/pthread3.cc: Likewise.
3919 * testsuite/thread/pthread4.cc: Likewise.
3920 * testsuite/thread/pthread5.cc: Likewise.
3921 * testsuite/thread/pthread6.cc: Likewise.
3923 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3925 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
3927 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3929 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
3931 (basic_ios::fill(char_type)): Use fill().
3932 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
3933 (basic_ios::narrow): Same.
3934 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
3935 if they are invalid.
3936 (basic_ios::init): Comment.
3937 * testsuite/27_io/ios_init.cc (test02): New.
3939 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
3941 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
3942 * include/bits/stl_algo.h: Include stl_tempbuf.h.
3943 * include/ext/memory: Do not include stl_tempbuf.h.
3944 (temporary_buffer): Add doxygen hook.
3945 (__get_temporary_buffer, get_temporary_buffer,
3946 return_temporary_buffer): Move back to std:: header...
3947 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
3948 * include/ext/rope: Do not include stl_tempbuf.h.
3949 * include/ext/stl_hashtable.h: Likewise.
3950 * include/std/std_algorithm.h: Likewise.
3951 * testsuite/20_util/temporary_buffer.cc: New file.
3953 2002-01-24 andrew@andypo.net
3954 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
3957 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
3958 * include/bits/localefwd.h: Likewise.
3959 Also use for std::locale::id::_S_highwater.
3960 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
3961 * src/locale.cc: Support new usage of _Atomic_word.
3962 (std::locale::classic): Guard entire function against reentry.
3963 * src/localename.cc: Support new usage of _Atomic_word.
3965 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
3967 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
3968 _GLIBCPP_HAVE_SETENV.
3969 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
3970 * testsuite/22_locale/collate_members_char.cc (test02): Same.
3971 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
3972 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
3973 * testsuite/22_locale/messages_members_char.cc (test02): Same.
3974 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
3975 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
3976 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
3977 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
3978 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
3979 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
3980 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
3981 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
3982 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
3983 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
3984 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
3985 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
3986 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
3987 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
3988 * aclocal.m4: Regenerate.
3989 * configure: Regenerate.
3990 * config.h.in: Regenerate.
3992 2002-01-23 Loren Rittle <ljrittle@acm.org>
3994 * testsuite/thread/pthread1.cc: New test.
3995 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
3996 * testsuite/thread/pthread3.cc: Likewise.
3997 * testsuite/thread/pthread4.cc: New test adapted from
3998 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
3999 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4000 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4002 2002-01-23 Richard Henderson <rth@redhat.com>
4005 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4006 CAS on the cpu variants that support it. Add versions that use
4007 TAS and that disable interrupts.
4008 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4010 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
4012 * include/bits/locale_facets.tcc: Remove old comments.
4014 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
4016 * include/bits/locale_facets.tcc (__convert_to_v): Change template
4018 (__convert_from_v): Same.
4020 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
4022 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4024 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4025 __max_digits checks, adjust arguments.
4026 (num_get::do_get(*)): Changeup.
4028 2002-01-23 Loren Rittle <ljrittle@acm.org>
4030 * config/locale/c_locale_generic.cc: Fix typename usage.
4032 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4034 * config/locale/c_locale_generic.cc: Fix.
4036 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4038 * docs/html/22_locale/messages.html: Remove angle brackets.
4039 * docs/html/17_intro/TODO: Add.
4041 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
4043 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4044 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4045 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4046 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4048 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4050 Audit for LANG independence.
4051 * include/bits/localefwd.h: Tweaks.
4052 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4054 (time_get::do_get_year): Same.
4055 (__convert_from_v): Add.
4056 (num_put::_M_convert_float): Use.
4057 (num_put::_M_convert_int): Same.
4058 (money_put::do_put): Same.
4060 * src/locale-inst.cc: Add instantiations for __convert_from_v.
4061 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4062 * config/locale/time_members_generic.cc:
4063 * config/locale/messages_members_gnu.cc: Same.
4064 * config/locale/messages_members_gnu.h: Same.
4066 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4067 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4068 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4069 * testsuite/22_locale/collate_members_char.cc (test02): New.
4070 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4071 * testsuite/22_locale/ctype_members_char.cc (test03): New.
4072 * testsuite/22_locale/messages_members_char.cc (test02): New.
4073 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4074 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4075 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4076 * testsuite/22_locale/money_get_members_char.cc (test04): New.
4077 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4078 * testsuite/22_locale/money_put_members_char.cc (test04): New.
4079 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4080 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4081 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4082 * testsuite/22_locale/time_put_members_char.cc (test03): New.
4083 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4084 * testsuite/22_locale/time_get_members_char.cc (test07): New.
4085 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4086 * testsuite/22_locale/num_get_members_char.cc (test03): New.
4087 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4088 * testsuite/22_locale/num_put_members_char.cc (test03): New.
4090 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4092 * testsuite/22_locale/time_get_members_char.cc: Same.
4094 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4097 * include/bits/localefwd.h: Tweak comments.
4098 * include/bits/locale_facets.h (__convert_to_v): Add.
4099 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4100 (num_get::do_get(float)): Same.
4101 (num_get::do_get(long double)): Same.
4102 (num_get::do_get(bool)): Same.
4103 (num_get::do_get(long)): Same.
4104 (num_get::do_get(long long)): Same.
4105 (num_get::do_get(unsigned int)): Same.
4106 (num_get::do_get(unsigned short)): Same.
4107 (num_get::do_get(unsigned long)): Same.
4108 (num_get::do_get(unsigned long long)): Same.
4109 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4110 * config/locale/c_locale_generic.cc: Same.
4112 2002-01-22 Loren Rittle <ljrittle@acm.org>
4114 * include/Makefile.am (c_base_builddir): Remove redundant slash.
4115 (std_builddir): Likewise.
4116 (std_headers_rename): Fix cut-n-paste typo.
4117 (install-data-local): Concat path per element instead of once to
4118 first element of list.
4119 * include/Makefile.in: Rebuilt.
4121 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
4123 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4124 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4125 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4127 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
4129 * include/bits/locale_facets.h (ctype<char>::classic_table):
4131 (ctype<char>::_S_ctable): Remove.
4132 * config/os/gnu-linux/bits/ctype_noninline.h
4133 (ctype<char>::_S_table): Remove definition.
4134 (ctype<char>::classic_table): Define.
4135 (ctype<char>::ctype): Replace _S_ctable with classic_table().
4136 * config/os/aix/bits/ctype_noninline.h: Same.
4137 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4138 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4139 * config/os/djgpp/bits/ctype_noninline.h: Same.
4140 * config/os/generic/bits/ctype_noninline.h: Same.
4141 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4142 * config/os/hpux/bits/ctype_noninline.h: Same.
4143 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4144 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4145 * config/os/mingw32/bits/ctype_noninline.h: Same.
4146 * config/os/newlib/bits/ctype_noninline.h: Same.
4147 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4148 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4149 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4151 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
4153 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4154 of _pctype. Use to define _S_ctable. Add definition for alternate
4155 ctor. Initialise _M_ctable to _S_ctable in ctors.
4156 (do_toupper, do_tolower): Use inline code appropriate for C-locale
4157 rather than ::toupper, ::tolower.
4159 2002-01-18 Loren Rittle <ljrittle@acm.org>
4161 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4162 Add specialization for FreeBSD systems only to avoid losing test
4163 only due to extra precision unmentioned in system headers.
4165 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
4167 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4169 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4171 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
4172 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4174 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4176 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4178 2002-01-17 David Edelsohn <edelsohn@gnu.org>
4180 * configure.target: Define OPT_LDFLAGS for AIX case.
4182 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4184 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4185 __glibcpp_double_has_quiet_NaN): Correct mispelling.
4187 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
4189 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4191 2002-01-16 David Edelsohn <dje@watson.ibm.com>
4193 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4194 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
4195 * aclocal.m4: Regenerate.
4196 * configure: Regenerate.
4198 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4200 * include/Makefile.am (c_base_headers_rename): New.
4201 (c_base_headers_extra): New.
4202 (stamp-c_base): Modify.
4203 (install-data-local): Use both.
4204 * include/Makefile.in: Regenerate.
4205 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4206 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4207 cstdio ctime cwctype]: Move to..
4208 * include/c/std_*: Here.
4209 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4210 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4211 cstdio ctime cwctype]: Move to..
4212 * include/c_std/std_*: Here.
4214 Alexandre Oliva <aoliva@redhat.com>
4215 * include/Makefile.am (.PRECIOUS): Add rule.
4216 * include/Makefile.in: Regenerate.
4218 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4219 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4221 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4222 Deuglify, should be current.
4223 (back_insert_iterator::_M_container): Deuglify, should be container.
4224 (front_insert_iterator::_M_container): Same.
4225 (insert_iterator::_M_container): Same.
4226 * testsuite/24_iterators/reverse_iterator.cc: Add check.
4227 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4228 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4229 * testsuite/24_iterators/insert_iterator.cc: Same.
4231 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4233 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4235 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4236 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4237 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4238 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4239 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4240 * config/os/newlib/bits/ctype_noninline.h: Same.
4241 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4242 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4243 * config/os/hpux/bits/ctype_noninline.h: Same.
4244 * config/os/djgpp/bits/ctype_noninline.h: Same.
4245 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4246 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4247 * config/os/aix/bits/ctype_noninline.h: Same.
4249 Testcase by Dietmar Kühl via Peter Schmid
4250 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4253 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
4255 * libmath/signbitl.c: Copyright years as list, not range.
4256 * libmath/Makefile.am: Same.
4257 * libmath/Makefie.in: Regenerate.
4258 * libmath/signbit.c: Same.
4259 * libmath/nan.c: Same.
4260 * libmath/copysignf.c: Same.
4261 * libmath/signbitf.c: Same.
4262 * testsuite/22_locale/money_get_members_char.cc: Same.
4263 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4264 * testsuite/22_locale/money_put_members_char.cc: Same.
4265 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4266 * testsuite/22_locale/time_get_members_char.cc: Same.
4267 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
4268 * testsuite/22_locale/time_put_members_char.cc: Same.
4269 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
4270 * testsuite/21_strings/nonmember.cc: Same.
4271 * testsuite/21_strings/compare.cc: Same.
4272 * testsuite/27_io/stringstream.cc: Same.
4273 * testsuite/27_io/stringbuf.cc: Same.
4274 * testsuite/27_io/filebuf.cc: Same.
4275 * testsuite/27_io/ios_manip_basefield.cc: Same.
4276 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
4277 * include/bits/cpp_type_traits.h: Same.
4278 * include/bits/generic_shadow.h: Same.
4279 * include/bits/gslice_array.h: Same.
4280 * include/bits/gslice.h: Same.
4281 * include/bits/indirect_array.h: Same.
4282 * include/bits/slice_array.h: Same.
4283 * include/bits/sstream.tcc: Same.
4284 * include/bits/streambuf_iterator.h: Same.
4285 * include/bits/valarray_array.tcc: Same.
4286 * include/bits/valarray_meta.h: Same.
4287 * include/bits/valarray_array.h: Same.
4288 * config/os/mingw32/bits/ctype_noninline.h: Same.
4289 * config/os/mingw32/bits/ctype_base.h: Same.
4290 * config/os/hpux/bits/ctype_noninline.h: Same.
4291 * config/os/hpux/bits/ctype_base.h: Same.
4292 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4293 * config/os/gnu-linux/bits/ctype_base.h: Same.
4294 * config/os/generic/bits/ctype_noninline.h: Same.
4295 * config/os/generic/bits/ctype_base.h: Same.
4297 * libsupc++/tinfo.h: Tweaks.
4299 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4301 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
4302 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
4303 * testsuite/22_locale/ctype_members_char.cc: Tweak.
4305 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4307 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4308 (num_put::do_put(void*)): Fix.
4309 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
4310 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
4311 * testsuite/22_locale/num_get_members_char.cc (test02): Add
4312 long double, void, bool types.
4313 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
4315 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
4316 Alexandre Oliva <aoliva@redhat.com>
4318 * libmath/Makefile.am (LINK): Add --tag CC.
4319 * libmath/Makefile.in: Regenerate.
4321 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4323 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
4324 of character to attribute mapping table.
4326 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
4328 * testsuite/26_numerics/c99_classification_macros_c.cc
4329 Remove dg-error and dg-excess-errors comments.
4331 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
4333 * include/bits/locale_facets.tcc (time_put::put): Correct output
4335 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
4336 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
4337 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
4338 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
4340 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
4342 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
4344 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
4345 Nathan Myers <ncm@cantrip.org>
4347 * include/bits/basic_string.h
4348 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
4349 temporaries (i.e., call _M_replace_safe) when possible.
4350 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
4351 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
4352 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
4353 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
4354 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
4355 * include/bits/basic_string.tcc
4356 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
4357 replace(__pos, __n1, __s, __n2).
4358 * testsuite/21_strings/replace.cc (test03): New testcases.
4360 * include/bits/basic_string.h (insert(__pos, __s, __n)):
4361 Adjust comparison wrt overflow.
4363 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4365 * include/Makefile.am (std_headers_rename): New variable.
4366 (install-data-local): Use it.
4367 * include/Makefile.in: Regenerate.
4369 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
4371 * include/bits/locale_facets.tcc (money_put::do_put(string):
4372 Correct output iterator value.
4373 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
4374 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4376 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4378 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
4381 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
4383 * include/Makefile.am (std_headers): Update list with new names.
4384 (stamp-std): Link to standardized name.
4385 * include/Makefile.in: Regenerate.
4387 * include/std/algorithm, include/std/bitset, include/std/complex,
4388 include/std/deque, include/std/fstream, include/std/functional,
4389 include/std/iomanip, include/std/ios, include/std/iosfwd,
4390 include/std/iostream, include/std/istream, include/std/iterator,
4391 include/std/limits, include/std/list, include/std/locale,
4392 include/std/map, include/std/memory, include/std/numeric,
4393 include/std/ostream, include/std/queue, include/std/set,
4394 include/std/sstream, include/std/stack, include/std/stdexcept,
4395 include/std/streambuf, include/std/string, include/std/utility,
4396 include/std/valarray, include/std/vector: Rename to...
4398 * include/std/std_algorithm.h, include/std/std_bitset.h,
4399 include/std/std_complex.h, include/std/std_deque.h,
4400 include/std/std_fstream.h, include/std/std_functional.h,
4401 include/std/std_iomanip.h, include/std/std_ios.h,
4402 include/std/std_iosfwd.h, include/std/std_iostream.h,
4403 include/std/std_istream.h, include/std/std_iterator.h,
4404 include/std/std_limits.h, include/std/std_list.h,
4405 include/std/std_locale.h, include/std/std_map.h,
4406 include/std/std_memory.h, include/std/std_numeric.h,
4407 include/std/std_ostream.h, include/std/std_queue.h,
4408 include/std/std_set.h, include/std/std_sstream.h,
4409 include/std/std_stack.h, include/std/std_stdexcept.h,
4410 include/std/std_streambuf.h, include/std/std_string.h,
4411 include/std/std_utility.h, include/std/std_valarray.h,
4412 include/std/std_vector.h: ...this.
4414 2002-01-11 Loren Rittle <ljrittle@acm.org>
4416 * include/Makefile.am (extra_target_headers): New list of all
4417 target files built with ad hoc naming rules.
4418 (stamp-*): Handle LN_S failure in manner portable across make
4420 (install-data-local): Install header files from human-maintained
4421 file lists and directory components instead of non-robust find.
4422 * include/Makefile.in: Rebuilt.
4424 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
4426 * include/bits/locale_facets.tcc (money_get::do_get(string)):
4427 Check for zero-length negative sign before adding it to output
4429 (money_get::do_get(long double)): Return beg.
4430 * testsuite/22_locale/money_get_members_char.cc (test02): Add
4432 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4434 2002-01-10 David Seymour <seymour_dj@yahoo.com>
4437 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
4438 for _M_extract_float and _M_extract_int
4439 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
4440 (num_get<>::_M_extract_int): Likewise, all callers changed
4441 * testsuite/22_locale/num_get_members_char.cc: Testcase
4443 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4445 * libsupc++/exception (bad_exception): Add comment.
4446 * libsupc++/new (bad_alloc): Same.
4447 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
4449 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
4451 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
4452 that the destructors should be removed from the descriptions
4453 in the standard: writing them explicitly allows the vtable
4454 heuristic to work. For additional information see:
4455 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
4456 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
4457 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
4458 * libsupc++/exception (bad_exception::~bad_exception()):
4459 Reintroduce declaration.
4460 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
4461 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
4462 (bad_typeid::~bad_typeid()): Same.
4463 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
4464 Reintroduce definition.
4465 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
4466 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
4467 (bad_typeid::~bad_typeid()): Same.
4469 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
4471 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
4472 * include/Makefile.in: Regenerate.
4474 2002-01-09 Bo Thorsen <bo@suse.co.uk>
4476 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
4479 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
4483 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
4484 return value of _M_file->sync().
4485 (filebuf::showmanyc): Check for is_open.
4486 * include/std/fstream (filebuf::sync): Tweak.
4487 * testsuite/27_io/filebuf.cc: Tweak.
4489 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
4490 Brad Garcia <garsh@attbi.com>
4492 * testsuite/27_io/filebuf_members.cc: Add test.
4494 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
4495 Craig Rodrigues <rodrigc@mediaone.net>
4498 * po/Makefile.am (mkinstalldirs): Add.
4499 * po/Makefile.in: Regenerate.
4501 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
4503 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
4504 testsuite/lib/prune.exp: Delete lines ":In function ..." from
4506 * testsuite/23_containers/map_operators.cc: Remove
4507 dg-excess-errors comment.
4508 * testsuite/23_containers/set_operators.cc: Likewise.
4510 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
4512 * include/bits/stl_function.h: Remove two lines of comments;
4513 adjust copyright years.
4515 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
4517 * include/Makefile.am (std_headers): Remove cXXX from list.
4518 (c_base_srcdir): No bits subdirectory.
4519 (c_base_builddir): Same.
4520 (c_base_headers): Adjust names, add ciso646.
4521 (bits_headers): Remove std_xxx.h headers.
4522 * include/Makefile.in: Regenerate.
4524 * include/ext/iterator: Adjust includes.
4525 * include/ext/ropeimpl.h: Same.
4526 * include/ext/stl_hash_fun.h: Same.
4527 * include/ext/algorithm: Same.
4529 * include/backward/bvector.h: Adjust includes.
4530 * include/backward/vector.h: Same.
4531 * include/backward/strstream: Same.
4532 * include/backward/streambuf.h: Same.
4533 * include/backward/stack.h: Same.
4534 * include/backward/set.h: Same.
4535 * include/backward/queue.h: Same.
4536 * include/backward/multiset.h: Same.
4537 * include/backward/multimap.h: Same.
4538 * include/backward/map.h: Same.
4539 * include/backward/list.h: Same.
4540 * include/backward/iterator.h: Same.
4541 * include/backward/iostream.h: Same.
4542 * include/backward/iomanip.h: Same.
4543 * include/backward/fstream.h: Same.
4544 * include/backward/deque.h: Same.
4545 * include/backward/complex.h: Same.
4547 * include/bits/std_algorithm.h: Move to...
4548 * include/std/algorithm: ...here.
4549 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
4550 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
4551 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
4552 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
4553 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
4554 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
4555 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
4558 * include/c_std/bits/std_cassert.h: Move to...
4559 * include/c_std/cassert: Here.
4560 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
4561 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4562 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4563 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4564 std_cwctype.h: Same.
4565 * include/c_std/cmath: Adjust cmath.tcc include.
4566 * include/c_std/cstdlib: Adjust includes.
4567 * include/c_std/cwchar: Same.
4568 * include/c_std/ctime: Same.
4569 * include/c_std/cstring: Same.
4570 * include/c_std/cstdio: Same.
4571 * include/c_std/bits: Remove directory.
4573 * include/c/bits/std_cassert.h: Move to...
4574 * include/c/cassert: Here.
4575 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
4576 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
4577 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
4578 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
4579 std_cwctype.h: Same.
4580 * include/c/bits: Remove directory.
4582 * include/std/cwctype: Remove.
4583 * include/std/cwchar: Remove.
4584 * include/std/ctime: Remove.
4585 * include/std/cstring: Remove.
4586 * include/std/cstdlib: Remove.
4587 * include/std/cstdio: Remove.
4588 * include/std/cstddef: Remove.
4589 * include/std/cstdarg: Remove.
4590 * include/std/csignal: Remove.
4591 * include/std/csetjmp: Remove.
4592 * include/std/cmath: Remove.
4593 * include/std/clocale: Remove.
4594 * include/std/climits: Remove.
4595 * include/std/ciso646: Remove.
4596 * include/std/cfloat: Remove.
4597 * include/std/cerrno: Remove.
4598 * include/std/cctype: Remove.
4599 * include/std/cassert: Remove.
4601 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
4602 files and subsituting <xxx>.
4603 * include/bits/valarray_array.h: Same.
4604 * include/bits/stl_uninitialized.h: Same.
4605 * include/bits/stl_alloc.h: Same.
4606 * include/bits/stl_algobase.h: Same.
4607 * include/bits/sstream.tcc: Same.
4608 * include/bits/pthread_allocimpl.h: Same.
4609 * include/bits/ostream.tcc: Same.
4610 * include/bits/localefwd.h: Same.
4611 * include/bits/locale_facets.tcc: Same.
4612 * include/bits/locale_facets.h: Same.
4613 * include/bits/istream.tcc: Same.
4614 * include/bits/char_traits.h: Same.
4615 * include/bits/boost_concept_check.h: Same.
4616 * include/bits/basic_file.h: Same.
4617 * include/std/bitset: Same.
4618 * include/std/complex: Same.
4619 * include/std/fstream: Same.
4620 * include/std/functional: Same.
4621 * include/std/ios: Same.
4622 * include/std/iostream: Same.
4623 * include/std/ostream: Same.
4624 * include/std/sstream: Same.
4625 * include/std/streambuf: Same.
4626 * include/std/string: Same.
4627 * include/std/iterator: Same.
4628 * include/std/valarray: Same.
4630 * src/ios.cc: Adjust includes.
4631 * src/valarray-inst.cc: Same.
4632 * src/string-inst.cc: Same.
4633 * src/stl-inst.cc: Same.
4634 * src/stdexcept.cc: Same.
4635 * src/misc-inst.cc: Same.
4636 * src/localename.cc: Same.
4637 * src/locale-inst.cc: Same.
4638 * src/locale.cc: Same.
4639 * src/limits.cc: Same.
4640 * src/concept-inst.cc: Same.
4641 * src/complex_io.cc: Same.
4642 * src/codecvt.cc: Same.
4643 * src/bitset.cc: Same.
4644 * src/cmath.cc: Same.
4646 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
4648 * include/bits/stl_tree.h (rb_tree): Move to...
4649 * include/ext/rb_tree: ...here, new file.
4650 * include/Makefile.am (ext_headers): Add new file.
4651 * include/Makefile.in: Regenerate.
4652 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
4653 return_temporary_buffer, struct temporary_buffer): Move to...
4654 * include/ext/memory: ...here.
4655 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
4656 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
4657 * include/backward/tree.h: Include <ext/rb_tree), tweak.
4659 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
4661 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
4662 * include/ext/numeric: ...here, new file.
4663 * include/bits/stl_function.h (identity_element, unary_compose,
4664 binary_compose, compose1, compose2, identity, select1st,
4665 select2nd, project1st + helper, project2nd + helper,
4666 constant_void_fun + helper, constant_unary_fun + helper,
4667 costant_binary_fun + helper, constant0, constant1, constant2,
4668 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
4669 * include/ext/functional: ...here, new file.
4670 * include/Makefile.am (ext_headers): Add new files.
4671 * include/Makefile.in: Regenerate.
4672 * testsuite/ext/headers.cc: Include <ext/numeric> and
4674 * include/backward/algo.h: Include <ext/numeric>, tweak.
4675 * include/backward/function.h: Include <ext/functional>, tweak.
4676 * include/ext/ropeimpl.h: Include <ext/numeric>.
4678 2002-01-03 Jeffrey A Law <law@redhat.com>
4680 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
4681 __strtoull declarations with __extension__.
4683 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
4685 * testsuite/lib/prune.exp: Correct regular expression for
4688 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4690 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
4691 Change concept checks, as with lower_bound and PR 2054.
4692 * testsuite/ext/concept_checks.cc: Expand test to include those.
4694 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
4696 * include/bits/boost_concept_check.h: Import some changes from
4697 upsteam (Boost) version.
4699 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
4701 * include/bits/stl_algobase.h (copy_n + helpers,
4702 lexicographical_compare_3way + helpers): Move to...
4703 * include/ext/algorithm: ...here.
4704 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
4705 helpers): Move to...
4706 * include/ext/memory: ...here, new file.
4707 * include/Makefile.am (ext_headers): Add new file.
4708 * include/Makefile.in: Regenerate.
4709 * testsuite/ext/headers.cc: Include <ext/memory>.
4710 * include/backward/algobase.h: Include <ext/memory> and
4711 <ext/algorithm>, tweak.
4712 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
4713 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
4715 2002-01-01 Roger Sayle <roger@eyesopen.com>
4717 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
4718 equivalent ___builtin__ versions.
4720 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
4721 are available in libstdc++ as the necessary stub implementations
4722 are provided by libmath/stubs.c.
4724 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
4726 * configure.in: Add support for NetBSD cross compiles.
4727 * configure: Regenerate.