OSDN Git Service

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