OSDN Git Service

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