OSDN Git Service

* include/Makefile.am (c_base_builddir): Remove redundant slash.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-01-22  Loren Rittle <ljrittle@acm.org>
2
3         * include/Makefile.am (c_base_builddir): Remove redundant slash.
4         (std_builddir): Likewise.
5         (std_headers_rename): Fix cut-n-paste typo.
6         (install-data-local): Concat path per element instead of once to
7         first element of list.
8         * include/Makefile.in: Rebuilt.
9
10 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
11
12         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
13         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
14         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
15
16 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
17
18         * include/bits/locale_facets.h (ctype<char>::classic_table):
19         Remove definition.
20         (ctype<char>::_S_ctable): Remove.
21         * config/os/gnu-linux/bits/ctype_noninline.h
22         (ctype<char>::_S_table): Remove definition.
23         (ctype<char>::classic_table): Define.
24         (ctype<char>::ctype): Replace _S_ctable with classic_table().
25         * config/os/aix/bits/ctype_noninline.h: Same.
26         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
27         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
28         * config/os/djgpp/bits/ctype_noninline.h: Same.
29         * config/os/generic/bits/ctype_noninline.h: Same.
30         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
31         * config/os/hpux/bits/ctype_noninline.h: Same.
32         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
33         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
34         * config/os/mingw32/bits/ctype_noninline.h: Same.
35         * config/os/newlib/bits/ctype_noninline.h: Same.
36         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
37         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
38         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
39
40 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
41
42         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
43         of _pctype. Use to define _S_ctable.  Add definition for alternate
44         ctor.  Initialise _M_ctable to _S_ctable in ctors.
45         (do_toupper, do_tolower): Use inline code appropriate for C-locale
46         rather than ::toupper, ::tolower.
47
48 2002-01-18  Loren Rittle <ljrittle@acm.org>
49
50         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
51         Add specialization for FreeBSD systems only to avoid losing test
52         only due to extra precision unmentioned in system headers.
53
54 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
55
56         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
57
58 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
59
60         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
61         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
62
63 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
64         
65         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
66
67 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
68
69         * configure.target: Define OPT_LDFLAGS for AIX case.
70
71 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
72
73         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
74         __glibcpp_double_has_quiet_NaN): Correct mispelling.
75
76 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
77
78         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
79
80 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
81
82         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
83         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
84         * aclocal.m4: Regenerate.
85         * configure: Regenerate.
86         
87 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
88
89         * include/Makefile.am (c_base_headers_rename): New.
90         (c_base_headers_extra): New.
91         (stamp-c_base): Modify.
92         (install-data-local): Use both.
93         * include/Makefile.in: Regenerate.
94         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
95         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
96         cstdio ctime cwctype]: Move to..
97         * include/c/std_*: Here.
98         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
99         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
100         cstdio ctime cwctype]: Move to..
101         * include/c_std/std_*: Here.
102
103         Alexandre Oliva  <aoliva@redhat.com>    
104         * include/Makefile.am (.PRECIOUS): Add rule.
105         * include/Makefile.in: Regenerate.
106         
107 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
108             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
109         
110         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
111         Deuglify, should be current.
112         (back_insert_iterator::_M_container): Deuglify, should be container.
113         (front_insert_iterator::_M_container): Same.    
114         (insert_iterator::_M_container): Same.
115         * testsuite/24_iterators/reverse_iterator.cc: Add check.
116         * testsuite/24_iterators/back_insert_iterator.cc: Add check.    
117         * testsuite/24_iterators/front_insert_iterator.cc: Same.
118         * testsuite/24_iterators/insert_iterator.cc: Same.
119         
120 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
121
122         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
123         static.
124         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
125         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
126         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
127         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
128         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
129         * config/os/newlib/bits/ctype_noninline.h: Same.
130         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
131         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
132         * config/os/hpux/bits/ctype_noninline.h: Same.
133         * config/os/djgpp/bits/ctype_noninline.h: Same.
134         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
135         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
136         * config/os/aix/bits/ctype_noninline.h: Same.
137         
138         Testcase by Dietmar Kühl via Peter Schmid 
139         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
140         classic_table().
141
142 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
143
144         * libmath/signbitl.c: Copyright years as list, not range.       
145         * libmath/Makefile.am: Same.
146         * libmath/Makefie.in: Regenerate.
147         * libmath/signbit.c: Same.
148         * libmath/nan.c: Same.
149         * libmath/copysignf.c: Same.
150         * libmath/signbitf.c: Same.
151         * testsuite/22_locale/money_get_members_char.cc: Same.
152         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
153         * testsuite/22_locale/money_put_members_char.cc: Same.
154         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
155         * testsuite/22_locale/time_get_members_char.cc: Same.
156         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
157         * testsuite/22_locale/time_put_members_char.cc: Same.
158         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
159         * testsuite/21_strings/nonmember.cc: Same.
160         * testsuite/21_strings/compare.cc: Same.
161         * testsuite/27_io/stringstream.cc: Same.
162         * testsuite/27_io/stringbuf.cc: Same.
163         * testsuite/27_io/filebuf.cc: Same.
164         * testsuite/27_io/ios_manip_basefield.cc: Same.
165         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
166         * include/bits/cpp_type_traits.h: Same.
167         * include/bits/generic_shadow.h: Same.
168         * include/bits/gslice_array.h: Same.
169         * include/bits/gslice.h: Same.
170         * include/bits/indirect_array.h: Same.
171         * include/bits/slice_array.h: Same.
172         * include/bits/sstream.tcc: Same.
173         * include/bits/streambuf_iterator.h: Same.
174         * include/bits/valarray_array.tcc: Same.
175         * include/bits/valarray_meta.h: Same.
176         * include/bits/valarray_array.h: Same.
177         * config/os/mingw32/bits/ctype_noninline.h: Same.
178         * config/os/mingw32/bits/ctype_base.h: Same.
179         * config/os/hpux/bits/ctype_noninline.h: Same.
180         * config/os/hpux/bits/ctype_base.h: Same.
181         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
182         * config/os/gnu-linux/bits/ctype_base.h: Same.
183         * config/os/generic/bits/ctype_noninline.h: Same.
184         * config/os/generic/bits/ctype_base.h: Same.
185
186         * libsupc++/tinfo.h: Tweaks.
187
188 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
189
190         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
191         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
192         * testsuite/22_locale/ctype_members_char.cc: Tweak.     
193
194 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
195
196         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
197         (num_put::do_put(void*)): Fix.
198         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
199         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
200         * testsuite/22_locale/num_get_members_char.cc (test02): Add
201         long double, void, bool types.
202         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
203         
204 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
205             Alexandre Oliva  <aoliva@redhat.com>
206
207         * libmath/Makefile.am (LINK): Add --tag CC.
208         * libmath/Makefile.in: Regenerate.
209
210 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
211
212         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
213         of character to attribute mapping table.
214
215 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
216
217         * testsuite/26_numerics/c99_classification_macros_c.cc
218         Remove dg-error and dg-excess-errors comments.
219
220 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
221
222         * include/bits/locale_facets.tcc (time_put::put): Correct output
223         iterator positions.
224         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
225         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
226         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
227         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
228
229 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
230
231         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
232
233 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
234             Nathan Myers  <ncm@cantrip.org>
235
236         * include/bits/basic_string.h
237         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
238         temporaries (i.e., call _M_replace_safe) when possible.
239         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
240         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
241         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
242         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
243         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
244         * include/bits/basic_string.tcc
245         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
246         replace(__pos, __n1, __s, __n2).
247         * testsuite/21_strings/replace.cc (test03): New testcases.
248
249         * include/bits/basic_string.h (insert(__pos, __s, __n)):
250         Adjust comparison wrt overflow.
251         
252 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
253
254         * include/Makefile.am (std_headers_rename): New variable.
255         (install-data-local): Use it.
256         * include/Makefile.in: Regenerate.
257         
258 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
259
260         * include/bits/locale_facets.tcc (money_put::do_put(string):
261         Correct output iterator value.
262         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
263         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
264         
265 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
266
267         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
268         previous commit.
269
270 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
271
272         * include/Makefile.am (std_headers):  Update list with new names.
273         (stamp-std):  Link to standardized name.
274         * include/Makefile.in:  Regenerate.
275
276         * include/std/algorithm, include/std/bitset, include/std/complex,
277         include/std/deque, include/std/fstream, include/std/functional,
278         include/std/iomanip, include/std/ios, include/std/iosfwd,
279         include/std/iostream, include/std/istream, include/std/iterator,
280         include/std/limits, include/std/list, include/std/locale,
281         include/std/map, include/std/memory, include/std/numeric,
282         include/std/ostream, include/std/queue, include/std/set,
283         include/std/sstream, include/std/stack, include/std/stdexcept,
284         include/std/streambuf, include/std/string, include/std/utility,
285         include/std/valarray, include/std/vector:  Rename to...
286
287         * include/std/std_algorithm.h, include/std/std_bitset.h,
288         include/std/std_complex.h, include/std/std_deque.h,
289         include/std/std_fstream.h, include/std/std_functional.h,
290         include/std/std_iomanip.h, include/std/std_ios.h,
291         include/std/std_iosfwd.h, include/std/std_iostream.h,
292         include/std/std_istream.h, include/std/std_iterator.h,
293         include/std/std_limits.h, include/std/std_list.h,
294         include/std/std_locale.h, include/std/std_map.h,
295         include/std/std_memory.h, include/std/std_numeric.h,
296         include/std/std_ostream.h, include/std/std_queue.h,
297         include/std/std_set.h, include/std/std_sstream.h,
298         include/std/std_stack.h, include/std/std_stdexcept.h,
299         include/std/std_streambuf.h, include/std/std_string.h,
300         include/std/std_utility.h, include/std/std_valarray.h,
301         include/std/std_vector.h:  ...this.
302
303 2002-01-11  Loren Rittle <ljrittle@acm.org>
304
305         * include/Makefile.am (extra_target_headers): New list of all
306         target files built with ad hoc naming rules.
307         (stamp-*): Handle LN_S failure in manner portable across make
308         implementations.
309         (install-data-local): Install header files from human-maintained
310         file lists and directory components instead of non-robust find.
311         * include/Makefile.in: Rebuilt.
312
313 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
314
315         * include/bits/locale_facets.tcc (money_get::do_get(string)):
316         Check for zero-length negative sign before adding it to output
317         string.
318         (money_get::do_get(long double)): Return beg.
319         * testsuite/22_locale/money_get_members_char.cc (test02): Add
320         iterator checks.
321         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
322         
323 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
324
325         libstdc++/5331
326         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
327         for _M_extract_float and _M_extract_int
328         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
329         (num_get<>::_M_extract_int): Likewise, all callers changed
330         * testsuite/22_locale/num_get_members_char.cc: Testcase
331
332 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
333
334         * libsupc++/exception (bad_exception): Add comment.
335         * libsupc++/new (bad_alloc): Same.
336         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
337
338 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
339
340         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
341         that the destructors should be removed from the descriptions
342         in the standard: writing them explicitly allows the vtable
343         heuristic to work. For additional information see:
344         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
345         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
346         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
347         * libsupc++/exception (bad_exception::~bad_exception()):
348         Reintroduce declaration.
349         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
350         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
351         (bad_typeid::~bad_typeid()): Same.
352         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
353         Reintroduce definition.
354         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
355         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
356         (bad_typeid::~bad_typeid()): Same.
357
358 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
359
360         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
361         * include/Makefile.in: Regenerate.
362         
363 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
364
365         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
366         definition.
367
368 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
369
370         libstdc++/2913
371         libstdc++/4879
372         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
373         return value of _M_file->sync().
374         (filebuf::showmanyc): Check for is_open.
375         * include/std/fstream (filebuf::sync): Tweak.
376         * testsuite/27_io/filebuf.cc: Tweak.
377
378 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
379             Brad Garcia  <garsh@attbi.com>
380         
381         * testsuite/27_io/filebuf_members.cc: Add test.
382         
383 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
384             Craig Rodrigues  <rodrigc@mediaone.net>
385
386         libstdc++/5174
387         * po/Makefile.am (mkinstalldirs): Add.
388         * po/Makefile.in: Regenerate.
389
390 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
391
392         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
393         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
394         compiler output.
395         * testsuite/23_containers/map_operators.cc: Remove
396         dg-excess-errors comment.
397         * testsuite/23_containers/set_operators.cc: Likewise.
398
399 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
400
401         * include/bits/stl_function.h:  Remove two lines of comments;
402         adjust copyright years.
403
404 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
405
406         * include/Makefile.am (std_headers): Remove cXXX from list.
407         (c_base_srcdir): No bits subdirectory.
408         (c_base_builddir): Same.
409         (c_base_headers): Adjust names, add ciso646.
410         (bits_headers): Remove std_xxx.h headers.
411         * include/Makefile.in: Regenerate.
412         
413         * include/ext/iterator: Adjust includes.
414         * include/ext/ropeimpl.h: Same.
415         * include/ext/stl_hash_fun.h: Same.
416         * include/ext/algorithm: Same.
417         
418         * include/backward/bvector.h: Adjust includes.
419         * include/backward/vector.h: Same.
420         * include/backward/strstream: Same.
421         * include/backward/streambuf.h: Same.
422         * include/backward/stack.h: Same.
423         * include/backward/set.h: Same.
424         * include/backward/queue.h: Same.
425         * include/backward/multiset.h: Same.
426         * include/backward/multimap.h: Same.
427         * include/backward/map.h: Same.
428         * include/backward/list.h: Same.
429         * include/backward/iterator.h: Same.
430         * include/backward/iostream.h: Same.
431         * include/backward/iomanip.h: Same.
432         * include/backward/fstream.h: Same.
433         * include/backward/deque.h: Same.
434         * include/backward/complex.h: Same.
435
436         * include/bits/std_algorithm.h: Move to...
437         * include/std/algorithm: ...here.
438         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
439         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
440         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
441         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
442         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
443         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
444         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
445         Same.
446         
447         * include/c_std/bits/std_cassert.h: Move to...
448         * include/c_std/cassert: Here.
449         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
450         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
451         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
452         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
453         std_cwctype.h: Same.
454         * include/c_std/cmath: Adjust cmath.tcc include.
455         * include/c_std/cstdlib: Adjust includes.
456         * include/c_std/cwchar: Same.
457         * include/c_std/ctime: Same.
458         * include/c_std/cstring: Same.
459         * include/c_std/cstdio: Same.
460         * include/c_std/bits: Remove directory.
461         
462         * include/c/bits/std_cassert.h: Move to...
463         * include/c/cassert: Here.
464         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
465         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
466         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
467         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
468         std_cwctype.h: Same.
469         * include/c/bits: Remove directory.
470         
471         * include/std/cwctype: Remove.
472         * include/std/cwchar: Remove.
473         * include/std/ctime: Remove.
474         * include/std/cstring: Remove.
475         * include/std/cstdlib: Remove.
476         * include/std/cstdio: Remove.
477         * include/std/cstddef: Remove.
478         * include/std/cstdarg: Remove.
479         * include/std/csignal: Remove.
480         * include/std/csetjmp: Remove.
481         * include/std/cmath: Remove.
482         * include/std/clocale: Remove.
483         * include/std/climits: Remove.
484         * include/std/ciso646: Remove.
485         * include/std/cfloat: Remove.
486         * include/std/cerrno: Remove.
487         * include/std/cctype: Remove.
488         * include/std/cassert: Remove.
489
490         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
491         files and subsituting <.xxx>
492         * include/bits/valarray_array.h: Same.
493         * include/bits/stl_uninitialized.h: Same.
494         * include/bits/stl_alloc.h: Same.
495         * include/bits/stl_algobase.h: Same.
496         * include/bits/sstream.tcc: Same.
497         * include/bits/pthread_allocimpl.h: Same.
498         * include/bits/ostream.tcc: Same.
499         * include/bits/localefwd.h: Same.
500         * include/bits/locale_facets.tcc: Same.
501         * include/bits/locale_facets.h: Same.
502         * include/bits/istream.tcc: Same.
503         * include/bits/char_traits.h: Same.
504         * include/bits/boost_concept_check.h: Same.
505         * include/bits/basic_file.h: Same.
506         * include/std/bitset: Same.
507         * include/std/complex: Same.
508         * include/std/fstream: Same.
509         * include/std/functional: Same.
510         * include/std/ios: Same.
511         * include/std/iostream: Same.
512         * include/std/ostream: Same.
513         * include/std/sstream: Same.
514         * include/std/streambuf: Same.
515         * include/std/string: Same.
516         * include/std/iterator: Same.
517         * include/std/valarray: Same.
518
519         * src/ios.cc: Adjust includes.
520         * src/valarray-inst.cc: Same.
521         * src/string-inst.cc: Same.
522         * src/stl-inst.cc: Same.
523         * src/stdexcept.cc: Same.
524         * src/misc-inst.cc: Same.
525         * src/localename.cc: Same.
526         * src/locale-inst.cc: Same.
527         * src/locale.cc: Same.
528         * src/limits.cc: Same.
529         * src/concept-inst.cc: Same.
530         * src/complex_io.cc: Same.
531         * src/codecvt.cc: Same.
532         * src/bitset.cc: Same.
533         * src/cmath.cc: Same.
534
535 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
536
537         * include/bits/stl_tree.h (rb_tree):  Move to...
538         * include/ext/rb_tree:  ...here, new file.
539         * include/Makefile.am (ext_headers):  Add new file.
540         * include/Makefile.in:  Regenerate.
541         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
542         return_temporary_buffer, struct temporary_buffer):  Move to...
543         * include/ext/memory:  ...here.
544         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
545         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
546         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
547
548 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
549
550         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
551         * include/ext/numeric:  ...here, new file.
552         * include/bits/stl_function.h (identity_element, unary_compose,
553         binary_compose, compose1, compose2, identity, select1st,
554         select2nd, project1st + helper, project2nd + helper,
555         constant_void_fun + helper, constant_unary_fun + helper,
556         costant_binary_fun + helper, constant0, constant1, constant2,
557         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
558         * include/ext/functional:  ...here, new file.
559         * include/Makefile.am (ext_headers):  Add new files.
560         * include/Makefile.in:  Regenerate.
561         * testsuite/ext/headers.cc:  Include <ext/numeric> and
562         <ext/functional>.
563         * include/backward/algo.h:  Include <ext/numeric>, tweak.
564         * include/backward/function.h:  Include <ext/functional>, tweak.
565         * include/ext/ropeimpl.h:  Include <ext/numeric>.
566
567 2002-01-03  Jeffrey A Law  <law@redhat.com>
568
569         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
570         __strtoull declarations with __extension__.
571
572 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
573
574         * testsuite/lib/prune.exp: Correct regular expression for
575         -ffunction-sections
576
577 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
578
579         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
580         Change concept checks, as with lower_bound and PR 2054.
581         * testsuite/ext/concept_checks.cc:  Expand test to include those.
582
583 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
584
585         * include/bits/boost_concept_check.h:  Import some changes from
586         upsteam (Boost) version.
587
588 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
589
590         * include/bits/stl_algobase.h (copy_n + helpers,
591         lexicographical_compare_3way + helpers):  Move to...
592         * include/ext/algorithm:  ...here.
593         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
594         helpers):  Move to...
595         * include/ext/memory:  ...here, new file.
596         * include/Makefile.am (ext_headers):  Add new file.
597         * include/Makefile.in:  Regenerate.
598         * testsuite/ext/headers.cc:  Include <ext/memory>.
599         * include/backward/algobase.h:  Include <ext/memory> and
600         <ext/algorithm>, tweak.
601         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
602         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
603
604 2002-01-01  Roger Sayle <roger@eyesopen.com>
605
606         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
607         equivalent ___builtin__ versions.
608
609         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
610         are available in libstdc++ as the necessary stub implementations
611         are provided by libmath/stubs.c.
612
613 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
614
615         * configure.in: Add support for NetBSD cross compiles.
616         * configure: Regenerate.
617
618 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
619
620         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
621         * testsuite/ext/headers.cc:  Add <ext/iterator>.
622
623 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
624
625         * include/backward/algo.h:  Add two more using declarations.
626         * include/backward/iterator.h:  Include <ext/iterator>,
627         add using declaration.
628         * include/ext/algorithm:  Add #pragma GCC system_header.
629
630 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
631
632         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
633         into standard 2-argument version.
634         * include/bits/stl_deque.h:  Likewise.
635         * include/bits/stl_tempbuf.h:  Likewise.
636         * include/bits/stl_tree.h:  Likewise.
637         * include/bits/stl_vector.h:  Likewise.
638         * include/ext/stl_hashtable.h:  Likewise.
639         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
640         * include/ext/iterator:  to here.  New file.
641         * include/Makefile.am (ext_headers):  Add new file, alphabatize.
642         * include/Makefile.in:  Regenerate.
643
644 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
645
646         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
647         Clean up spacing and indentation.
648
649 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
650
651         * include/ext/slist:  Move into __gnu_cxx,
652         tweak, add using declarations.
653
654 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
655
656         * include/ext/hash_map:  Move into __gnu_cxx,
657         tweak, add using declarations.
658         * include/ext/hash_set:  Ditto.
659         * include/ext/ropeimpl.h:  Ditto.
660         * include/ext/stl_hash_fun.h:  Ditto.
661         * include/ext/stl_hashtable.h:  Ditto.
662         * include/ext/stl_rope.h:  Ditto.
663         * src/ext-inst.cc: Tweak.
664         * testsuite/ext/rope.cc: Tweak.
665
666 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
667
668         * include/backward/algo.h:  Include <ext/algorithm>,
669         tweak using declarations.
670
671 2001-12-29  Richard Henderson  <rth@redhat.com>
672
673         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
674         * config/os/hpux/bits/cpu_limits.h: New file.
675         * configure.target (CPULIMITSH): Use it.
676
677 2001-12-28  Richard Henderson  <rth@redhat.com>
678
679         * config/cpu/ia64/bits/cpu_limits.h: New file.
680         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
681         * configure.target (CPULIMITSH): Use them.
682
683 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
684
685         * include/bits/c++config:  Move doxygen hook comment...
686         * docs/doxygen/doxygroups.cc:  ...to here.
687
688 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
689
690         PR libstdc++/2054
691         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
692         * testsuite/ext/concept_checks.cc:  New file.
693
694 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
695
696         * include/bits/stl_algo.h (count returning void,
697         count_if returning void, __random_sample, random_sample,
698         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
699         * include/ext/algorithm:  ...here, new file.
700         * include/Makefile.am (ext_headers):  Add new file.
701         * include/Makefile.in:  Regenerate.
702         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
703
704 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
705             Nathan Myers  <ncm@cantrip.org>
706
707         * include/bits/basic_string.h (insert(__pos, __s, __n)):
708         Optimize by avoiding temporaries and working in-place when possible.
709         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
710         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
711         * testsuite/21_strings/insert.cc (test02): New testcases.
712
713 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
714
715         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
716         * testsuite/23_containers/deque_ctor.cc:  New file.
717
718 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
719
720         * include/bits/locale_facets.tcc (collate::do_transform):
721         Adjust implicit typename.
722         * config/locale/messages_members_generic.h (messages::open,
723         messages::do_open, messages::do_get): Adjust implicit typename.
724         * config/locale/messages_members_gnu.h (messages::open,
725         messages::do_open, messages::do_get): Adjust Implicit typename.
726         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
727         messages::do_open, messages::do_get): Adjust implicit typename.
728
729 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
730
731         PR libstdc++/3829
732         * src/misc-inst.cc:  Many additional I/O-related instantiations.
733         * testsuite/27_io/instantiations.cc:  New file.
734
735 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
736
737         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
738         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
739         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
740         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
741
742         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
743         current to _M_current.
744         (back_insert_iterator): Uglify member container to _M_container.
745         (front_insert_iterator): Same.
746         (insert_iterator): Same.
747
748 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
749
750         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
751         macros for signed types; default value is true.
752         (numeric_limits<>::is_modulo): Get value from corresponding
753         __glibcpp_xxx_is_modulo macro.
754
755 2001-12-23  Jeffrey A Law  <law@redhat.com>
756
757         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
758         Twiddle return types for strtoll and strtoull to avoid using
759         intmax_t and uintmax-t.
760
761 2001-12-22  Richard Henderson  <rth@redhat.com>
762
763         * configure.target (CPULIMITSH): Fix typo in alpha case.
764
765 2001-12-22  Jeffrey A Law  <law@redhat.com>
766
767         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
768         for strtoll and strtoull.
769
770 2001-12-21  Jeffrey A Law  <law@redhat.com>
771
772         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
773         Define strtoll and strtoull.  Provide prototypes for
774         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
775         unconditionally.
776
777         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
778
779         * configure.target: Fix typo in hpux case.
780
781 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
782
783         * include/ext/stl_rope.h (_Rope_iterator):
784         Add local typedef to fix implicit typename problems.
785
786 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
787
788         * docs/doxygen/Intro.3:  New 'Allocators' module.
789         * docs/doxygen/TODO:  Update.
790         * docs/doxygen/doxygroups.cc:  Update.
791         * docs/doxygen/run_doxygen:  Update.
792
793         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
794         * include/bits/std_memory.h:  Doxygenate.
795         * include/bits/stl_iterator_base_types.h:  Likewise.
796         * include/bits/stl_raw_storage_iter.h:  Likewise.
797         * include/bits/stl_tempbuf.h:  Likewise.
798         (get_temporary_buffer):  Remove unused nonstandard overload.
799         * include/bits/stl_uninitialized.h:  Likewise.
800
801         * include/bits/stl_iterator_base_types.h (input_iterator,
802         output_iterator, forward_iterator, bidirectional_iterator,
803         random_access_iterator):  Move old names...
804         * include/backward/iterator.h:  ...to here.
805         * include/bits/stl_bvector.h:  Update.
806         * include/ext/stl_rope.h:  Update.
807
808 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
809
810         * docs/html/configopts.html:  Describe recent options.
811         * docs/html/documentation.html:  Point to new doxygen tarballs.
812         * docs/html/install.html:  Brief updates.
813         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
814         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
815         * docs/html/faq/index.html:  Update for 3.0.95.
816         * docs/html/faq/index.txt:  Regenerate.
817
818 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
819
820         libstdc++-v3/5148
821         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
822         executable filenames
823
824 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
825
826         * docs/html/17_intro/TODO: Update.
827         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
828         * README: Edit for clarity, update to reflect current directory
829         structure.
830
831 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
832
833         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
834         enabling gnu model.
835         * aclocal.m4: Rebuild.
836         * configure: Rebuild.
837
838 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
839             Nathan Myers  <ncm@cantrip.org>
840
841         * include/bits/basic_string.h (assign(__str, __pos, __n)):
842         Call assign(__s, __n).
843         (assign(__s, __n)): Terminate the string with _S_terminal.
844
845 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
846
847         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
848         Set to true, like float and double.
849
850 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
851
852         libstdc++/5136
853         * testsuite/lib/prune.exp: New file
854         * testsuite/lib/libstdc++-v3-dg.exp: Use it
855
856 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
857
858         * include/bits/basic_file.h (__basic_file::fd):  New function.
859         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
860         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
861         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
862         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
863
864 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
865
866         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
867         * po/Makefile.in: Regenerated.
868
869 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
870
871         * testsuite/21_strings/assign.cc (test01): Add tests.
872
873 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
874             Nathan Myers  <ncm@cantrip.org>
875
876         * include/bits/basic_string.h
877         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
878         by avoiding unnecessary temporaries.
879         (assign(__s)): Call assign(__s, __n).
880         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
881         * include/bits/std_string.h: include stl_function.h.
882         * testsuite/21_strings/assign.cc (test02, test03): New tests.
883
884 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
885
886         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
887         on linux by default.
888         * aclocal.m4: Regenerate.
889         * configure: Regenerate.
890
891 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
892
893         Clean up initialization and simplfy caching of underlying "C"
894         default locale objects.
895         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
896         Unconditionally create __clocale object for all named locales,
897         including "C" and "POSIX".
898         * config/locale/c_locale_generic.cc
899         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
900         * config/locale/c_locale_gnu.cc: Always delete.
901         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
902         * src/locale.cc (locale::classic()): Initialize
903         locale::facet::_S_c_locale.
904         (locale::facet::_S_c_locale): Define.
905
906         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
907         specialization.
908         * src/locale.cc: Add definition here.
909         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
910         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
911         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
912         Adjust ctors, dtors.
913         (ctype<char>::_M_toupper): Remove const&.
914         (ctype<char>::_M_tolower): Remove const&.
915         (ctype<char>::_M_ctable): Remove const&.
916
917         * include/bits/locale_facets.h (collate): Clean up initialization
918         of _M_c_locale_collate in ctors and dtors.
919         * config/locale/collate_members_gnu.cc: Always use extended
920         functions.
921
922         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
923         (messages_byname): Same.
924         * config/locale/messages_members_generic.h (messages::~messages):
925         Remove.
926         * config/locale/messages_members_gnu.h: Same.
927
928         * include/bits/localefwd.h: Clean. Move dtor definitions to
929         * src/locale.cc: Here.
930         * testsuite/22_locale/facet.cc: Fix spelling.
931
932         Named locale support for ctype<wchar_t>.
933         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
934         ctype_members_* bits.
935         * aclocal.m4: Regenerate.
936         * configure: Regenerate.
937         * src/Makefile.am (sources): Add ctype.cc.
938         * src/Makefile.in: Regenerate.
939         * config/locale/ctype_members_generic.cc: New file.
940         * config/locale/ctype_members_gnu.cc: New file.
941         * src/locale.cc: Remove ctype<wchart_t> definitions.
942
943 2001-12-13  Roger Sayle <roger@eyesopen.com>
944
945         * acconfig.h: Test for __builtin_sqrt instead of
946         __builtin_fsqrt.
947         * acinclude.m4: Same.
948         * include/c_shadow/bits/std_cmath.h: Same.
949         * aclocal.m4: Regenerated.
950         * config.h.in: Regenerated.
951         * configure: Regenerated.
952
953 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
954
955         * docs/html/ext/howto.html:  Fix typos.
956
957 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
958
959         libstdc++/3679
960         * src/locale.cc (locale::locale(const char*)): Deal with locales
961         named "".
962         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
963
964 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
965
966         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
967         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
968         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
969         : Adjust implicit typename.
970         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
971         Adjust implicit typename.
972         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
973
974 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
975
976         Named locale support for ctype<char>.
977         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
978         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
979         definitions for alternate constructor.
980         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
981         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
982         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
983         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
984         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
985         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
986         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
987         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
988         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
989         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
990         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
991         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
992         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
993         definitions for all virtual functions. These are now explicitly
994         undefined for non-required factets, ie any non-char, non-wchar_t
995         instantiations.
996         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
997         locales use alternate constructor for ctype facet.
998         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
999         mask*, bool, size_t): Add.
1000         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
1001         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
1002         definition.
1003
1004         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
1005         XFAIL for non-gnu locale models.
1006
1007 2001-12-12  Philip Martin  <philip@codematters.co.uk>
1008             Ross Smith     <r-smith@ihug.co.nz>
1009             Paolo Carlini  <pcarlini@unitus.it>
1010
1011         libstdc++/5045
1012         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1013         Fix digits10 values for integral types.
1014         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1015         Tweak _M_extract_int call.
1016         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1017         Tweak overflowing number of digits.
1018         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1019
1020 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
1021
1022         * config/os/generic/bits/ctype_inline.h: Remove spaces.
1023         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1024         * include/bits/locale_facets.h (__num_base): Move double data
1025         members to first in class.
1026         * include/bits/locale_facets.tcc: Re-arrange, tweak.
1027         * src/locale.cc: Clean.
1028         *include/bits/stl_vector.h: Space typedefs.
1029
1030 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
1031
1032         * testsuite/ext/allocators.cc:  New file.
1033
1034 2001-12-11  Jason Merrill  <jason@redhat.com>
1035
1036         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1037         uninitialized warning.
1038
1039 2001-12-11  Loren Rittle <ljrittle@acm.org>
1040
1041         * config/cpu/sparc/sparc32/bits/atomicity.h
1042         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1043
1044 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1045
1046         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
1047         * include/bits/basic_string.h:  Fix typos.
1048
1049 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1050             Nathan Myers  <ncm@cantrip.org>
1051
1052         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
1053         (_M_replace(input_iterator_tag), append members):  Use it.
1054         (_M_replace(forward_iterator_tag)):  Remove.
1055         * include/bits/basic_string.h:  Adjust declarations.
1056         * src/string-inst.cc:  Adjust declarations.
1057
1058 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
1059             Philip Martin <pmartin@uklinux.net>
1060
1061         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1062         (__num_base::_S_scale_oct): Add.
1063         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1064         * src/locale.cc: Add definitions.
1065         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1066
1067         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1068
1069 2001-12-07  Nathan Myers  <ncm@cantrip.org>
1070             Loren Rittle <ljrittle@acm.org>
1071
1072         libstdc++/5037
1073         * config/cpu/sparc/sparc32/bits/atomicity.h
1074         (struct __Atomicity_lock<__inst>): Add.
1075         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1076         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1077         instead of lock local to static function.
1078         (__atomic_add): Likewise.
1079
1080 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
1081
1082         * src/globals.cc:  Remove __GTHREADS guard.
1083
1084 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1085
1086         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1087         Extend comment, reduce __cs_size for non-fixed outputs.
1088
1089 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1090
1091         * include/bits/basic_string.tcc (_M_mutate): Fix typo
1092         in the previous check in.
1093
1094 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
1095             Loren J. Rittle <ljrittle@acm.org>
1096
1097         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1098         exponential growth policy to meet linear amortized time
1099         requirements of the standard.
1100         (_S_create): Adjust comment.
1101
1102 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
1103
1104         libstdc++/3720
1105         * include/bits/locale_facets.tcc (num_put): Clean.
1106         (num_get::_M_extract_float): Change argument to string.
1107         (num_get::do_get(float)): Fixup.
1108         (num_get::do_get(double)): Same.
1109         (num_get::do_get(long double)): Same.
1110         (num_get::_M_extract_int): Add maximum length parameter, __max.
1111         (num_get::_M_extract_float): Correct zeros, use string.
1112         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1113         declaration here.
1114         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1115         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1116
1117 2001-12-06  Philip Martin  <pmartin@uklinux.net>
1118
1119         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1120         tests for excess input digits.
1121
1122 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
1123
1124         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
1125         * include/bits/stl_algo.h:  Likewise.
1126         * include/bits/stl_algobase.h:  Likewise.
1127         * include/bits/stl_bvector.h:  Likewise.
1128         * include/bits/stl_deque.h:  Likewise.
1129         * include/bits/stl_function.h:  Likewise.
1130         * include/bits/stl_iterator.h:  Likewise.
1131         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1132         * include/bits/stl_iterator_base_types.h:  Likewise.
1133         * include/bits/stl_list.h:  Likewise.
1134         * include/bits/stl_multimap.h:  Likewise.
1135         * include/bits/stl_multiset.h:  Likewise.
1136         * include/bits/stl_pair.h:  Likewise.
1137         * include/bits/stl_queue.h:  Likewise.
1138         * include/bits/stl_set.h:  Likewise.
1139         * include/bits/stl_stack.h:  Likewise.
1140         * include/bits/stl_tempbuf.h:  Likewise.
1141         * include/bits/stl_tree.h:  Likewise.
1142         * include/bits/stl_vector.h:  Likewise.
1143
1144         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
1145         Doxygenate more comments.  Correct historical artifacts in comments.
1146         (alloc, single_alloc):  Uglify non-standard names.
1147         (__default_alloc_template::_NFREELISTS):  Calculate from other
1148         parameters.
1149         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
1150         (__default_alloc_template::_Lock):  Mark as "unused".
1151         * include/backward/alloc.h:  Update.
1152         * include/bits/stl_bvector.h:  Likewise.
1153         * include/ext/ropeimpl.h:  Likewise.
1154         * include/ext/stl_hashtable.h:  Likewise.
1155
1156 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
1157
1158         DR/282
1159         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1160         grouping to floating point types.
1161         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1162
1163 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
1164
1165         libstdc++/4402
1166         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1167         from the PR.
1168         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1169         Deal properly with long ios_base::fixed floats.
1170         (num_put::_M_widen_float): use
1171         __len in __builtin_alloca call.
1172
1173 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
1174
1175         * src/Makefile.am (sources): Add ext-inst.cc.
1176         * src/Makefile.in: Regenerate.
1177         * src/ext-inst.cc: New file.
1178         * include/bits/stl_threads.h: Format.
1179         * src/globals.cc: Add instantiation for _S_swap_lock.
1180
1181         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1182         instantiation.
1183
1184 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1185
1186         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1187         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1188         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1189         for explicit instantiation of class std::basic_string<char,
1190         gnu_char_traits, std::allocator<char> >.
1191
1192 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1193
1194         * testsuite/22_locale/collate.cc: Compile-only.
1195         * testsuite/22_locale/time_get.cc: Same.
1196         * testsuite/22_locale/time_put.cc: Same.
1197         * testsuite/22_locale/numpunct.cc: Same.
1198         * testsuite/22_locale/num_put.cc: Same.
1199         * testsuite/22_locale/num_get.cc: Same.
1200         * testsuite/22_locale/moneypunct.cc: Same.
1201         * testsuite/22_locale/money_get.cc: Same.
1202         * testsuite/22_locale/messages.cc: Same.
1203         * testsuite/22_locale/ctype.cc: Same.
1204
1205 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1206
1207         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1208         member instantiations.
1209
1210 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
1211
1212         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1213         combine common linux/hpux/generic cross compile support to reduce
1214         redundent lines.
1215         * libstdc++-v3/configure: Regenerate.
1216
1217 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
1218
1219         * docs/html/ext/howto.html: Update commentary.
1220         * include/bits/c++config: Update threading configuration comment.
1221         (__STL_GTHREADS): Remove macro definition.
1222         (__STL_THREADS): Likewise.
1223         * include/bits/stl_threads.h: Leave only the configuration
1224         path which had been guarded by __STL_GTHREADS.  Remove all
1225         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1226         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1227         * include/bits/stl_alloc.h: Leave only the configuration path
1228         which had been guarded by __STL_THREADS.  Remove configuration
1229         path and guards for __STL_SGI_THREADS.
1230         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
1231         (__NODE_ALLOCATOR_LOCK): Likewise.
1232         (__NODE_ALLOCATOR_UNLOCK): Likewise.
1233         (_NOTHREADS): Remove guards related to macro.
1234         * include/ext/stl_rope.h: Remove configuration path and guards
1235         for __STL_SGI_THREADS.
1236         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1237
1238 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
1239
1240         * docs/html/ext/howto.html:  Update list of implemented DRs.
1241         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
1242         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
1243
1244 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
1245
1246         libstdc++/3150
1247         DR/266
1248         * libsupc++/exception (bad_exception::~bad_exception()): Remove
1249         declaration.
1250         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1251         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1252         (bad_typeid::~bad_typeid()): Remove.
1253         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1254         (bad_typeid::~bad_typeid()): Same.
1255         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1256         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1257
1258         * include/bits/std_iomanip.h: Tweak.
1259
1260 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
1261
1262         libstdc++/3655
1263         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1264         correctly pad internal-adjusted const char*-type objects.
1265         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1266         * include/bits/ostream.tcc (operator<<(_CharT , char, const
1267         _CharT*, const char*, const basic_string&): Update calls.
1268         * src/locale-inst.tcc: Update declarations.
1269         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1270
1271 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
1272
1273         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
1274
1275 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
1276
1277         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1278         Fix __traits_type typo.
1279
1280 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
1281
1282         * include/bits/locale_facets.tcc (__pad): Correctly pad
1283         internal-adjusted hex numbers.
1284         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1285
1286 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
1287             Loren J. Rittle <ljrittle@acm.org>
1288
1289         * include/bits/basic_string.h
1290         (basic_string::_Rep::__default_excess, _S_excess_slop):
1291         Unused, remove.
1292         * include/bits/basic_string.tcc: Remove dead code.
1293         * include/bits/c++config: Remove comment.
1294
1295 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
1296             Jakub Jelinek  <jakub@redhat.com>
1297
1298         * config/locale/moneypunct_members_gnu.cc
1299         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1300         for ia64, others.
1301         * config/locale/numpunct_members_gnu.cc
1302         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1303
1304 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1305
1306         * include/bits/locale_facets.tcc: Formatting tweaks.
1307
1308         * testsuite/23_containers/map_operators.cc: Don't xfail.
1309         * testsuite/23_containers/set_operators.cc: Same.
1310         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1311         * testsuite/backward/header_deque_h.cc: Same.
1312
1313 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
1314             Paolo Carlini  <pcarlini@unitus.it>
1315
1316         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1317         Enforce allocation size blocking policy to reduce
1318         fragmentation and enhance performance with common malloc
1319         implementations.
1320
1321 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1322
1323         Numeric facets cleanup.
1324         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1325         + and - signs.
1326         (__num_base::_M_zero): Add
1327         (__num_base::_M_e): Add.
1328         (__num_base::_M_E): Add.
1329         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1330         (num_get::_M_extract_float): New.
1331         (num_get::_M_extract_int): New.
1332         * src/locale.cc (num_get::_M_extract): Remove.
1333
1334         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1335         Simplify, use _M_insert.
1336         (num_put::do_put(bool)): Simplify, remove __pad.
1337         (__pad): Remove.
1338         (__pad_output): Change to __pad.
1339         * include/bits/ostream.tcc: And here.
1340         * src/locale-inst: Remove instantiations.
1341
1342         * include/bits/locale_facets.h: Move helper functions in to class
1343         num_put.
1344         (num_put::_M_insert_float): Same, for __output_integer.
1345         (num_put::_M_insert_int): Same, for __output_float.
1346         (num_put::_M_insert): New.
1347         (__num_base): Add.
1348         (__num_base::_S_format_float): Move
1349         __build_float_format into class __num_base.
1350         (__num_base::_S_format_int): Move __build_int_format into class
1351         __num_base.
1352         * include/bits/locale_facets.tcc (__group_digits): Change to
1353         (__add_grouping): This.
1354         * src/locale-inst.cc: And here. Tweak instantiations.
1355         * src/misc-inst.cc: Remove instantiations.
1356
1357         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1358         for new calling conventions, move to...
1359         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1360         signature to make it useful for both ostream and num_put.
1361         (__pad_numeric): Remove.
1362         * src/misc-inst.cc: Remove instantiations.
1363         * src/locale-inst.cc: Same.
1364
1365         * include/bits/locale_facets.h (_Numeric_get): Remove.
1366         (_Numeric_put): Remove.
1367         (num_get::get(short)): Remove.
1368         (num_get::get(int)): Remove.
1369         (num_get::do_get(short)): Remove.
1370         (num_get::do_get(int)): Remove.
1371         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1372         per DR 118.
1373         (istream::operator>>(int)): Same.
1374
1375         * include/bits/locale_facets.h (_Format_cache): Remove.
1376         * include/bits/locale_facets.tcc: Same.
1377         * src/locale.cc: Same.
1378         * src/locale-inst.cc: Same.
1379         * include/bits/ostream.tcc: Same.
1380         * src/ios.cc (ios_base::imbue): Remove here as well.
1381
1382         * testsuite/22_locale/num_get.cc: New file.
1383         * testsuite/22_locale/num_get_members_char.cc: New file.
1384         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1385         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1386         * testsuite/22_locale/num_put.cc: New file.
1387         * testsuite/22_locale/num_put_members_char.cc: New file.
1388         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1389         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1390         * testsuite/27_io/istream_extractor_arith.cc: Fix.
1391
1392 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
1393
1394         * docs/html/explanations.html:  New section, empty for now.
1395         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
1396         * docs/html/23_containers/howto.html:  ...to here.  Break up and
1397         rewrap threading discussion to emphasize warning.  Move malloc text...
1398         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
1399         allocators and __USE_MALLOC effects.
1400         * docs/html/ext/sgiexts.html:  Mention their code.
1401
1402 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1403
1404         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1405         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1406         changes.
1407
1408 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
1409
1410         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
1411         * Makefile.in:  Regenerated.
1412         * docs/doxygen/TODO:  New file listing doxygen work to be done.
1413         * docs/doxygen/run_doxygen:  Fix up man pages.
1414         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
1415         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
1416         * include/bits/stl_construct.h:  Use new hooks for internal functions.
1417
1418         * docs/html/17_intro/TODO:  Small updates.
1419         * docs/html/faq/index.html:  Likewise.
1420         * docs/html/faq/index.txt:  Regenerated.
1421
1422         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
1423         SGI-isms and wrappers.
1424         (simple_alloc, debug_alloc):  Uglify class names.
1425         (__default_alloc_template):  Uglify "threads" template parameter and
1426         update corresponding macros.
1427         * include/backward/alloc.h:  Bring up to date.
1428
1429 2001-11-23  Jason Merrill  <jason@redhat.com>
1430
1431         * src/vterminate.cc (__verbose_terminate_handler): Add leading
1432         underscores.
1433
1434 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1435
1436         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1437         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1438         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1439         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1440         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1441         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1442         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1443         docs/html/21_strings/howto.html,
1444         docs/html/23_containers/howto.html,
1445         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1446         docs/html/27_io/binary_iostreams_kuehl.txt,
1447         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1448         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1449         include/bits/basic_file.h, include/bits/locale_facets.h,
1450         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1451         include/ext/ropeimpl.h, include/ext/stl_rope.h,
1452         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1453         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1454         configure.target, ChangeLog-2000: Fix spelling errors.
1455
1456         * config/locale/moneypunct_members_gnu.cc,
1457         include/bits/locale_facets.h: Fix spelling errors.
1458
1459 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1460
1461         * testsuite/23_containers/list_capacity.cc: New file.
1462         * testsuite/23_containers/list_ctor.cc: New file.
1463         * testsuite/23_containers/list_modifiers.cc: New file.
1464         * testsuite/23_containers/list_operators.cc: New file.
1465
1466 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1467
1468         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1469         (size): Replaced nonstandard distance() call with the standard one.
1470         (transfer): Uglified to _M_transfer.
1471
1472 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
1473
1474         PR libstdc++/4548
1475         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
1476         below the current size.
1477         * testsuite/21_strings/capacity.cc (test02):  Add test.
1478
1479 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
1480
1481         * docs/doxygen/Intro.3:  More notes.
1482         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
1483         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
1484         * include/ext/hash_map:  Add @file hook.
1485         * include/ext/hash_set:  Likewise.
1486         * include/ext/rope:  Likewise.
1487         * include/ext/ropeimpl.h:  Likewise.
1488         * include/ext/slist:  Likewise.
1489         * include/ext/stl_hash_fun.h:  Likewise.
1490         * include/ext/stl_hashtable.h:  Likewise.
1491         * include/ext/stl_rope.h:  Likewise.
1492
1493         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
1494         * docs/html/19_diagnostics/howto.html:  Document new verbose
1495         terminate handler.
1496         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
1497         to more visible (closer to description) position.
1498
1499         * libsupc++/eh_type.cc:  Formatting tweak.
1500         * libsupc++/exception:  Likewise.
1501         * src/vterminate.cc:  Likewise.
1502
1503         * docs/html/17_intro/porting.html:  Regenerate.
1504         * docs/html/faq/index.txt:  Regenerate.
1505
1506 2001-11-18  Jason Merrill  <jason@redhat.com>
1507
1508         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1509         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1510         * libsupc++/unwind-cxx.h: Adjust.
1511         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1512
1513         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1514         * libsupc++/cxxabi.h: Declare it.
1515         * libsupc++/Makefile.am (sources): Add it.
1516         * src/vterminate.cc (verbose_terminate_handler): New file.
1517         * libsupc++/exception: Declare it.
1518         * src/Makefile.am (sources): Add it.
1519
1520         * src/Makefile.am (VPATH): Check the src directory before the top one.
1521
1522 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
1523
1524         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
1525
1526 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
1527
1528         * docs/html/17_intro/howto.html (Thread-safety): Rename
1529         section to ``The Standard C++ library and multithreading'' and
1530         update information based on recent mailing list traffic.  Move
1531         all discussion of __USE_MALLOC to...
1532         * docs/html/23_containers/howto.html (Containers and multithreading):
1533         ...here and rework it based on recent mailing list traffic.
1534
1535 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
1536
1537         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1538         wording.
1539
1540 2001-11-15  <bjornw@planetarion.com>
1541             Loren J. Rittle  <ljrittle@acm.org>
1542
1543         libstc++/4219
1544         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1545         (single_client_alloc): Likewise.
1546
1547 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
1548
1549         * configure.target: Add os_include_dir for mingw32* target.
1550         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1551         from _GLIBCPP_AVOID_FSEEK.
1552         * config/os/mingw32/bits/ctype_base.h: New file.
1553         * config/os/mingw32/bits/ctype_inline.h: New file.
1554         * config/os/mingw32/bits/ctype_noninline.h: New file.
1555         * config/os/mingw32/bits/os_defines.h: New file.
1556
1557 2001-11-07  Nathan Myers  <ncm@cantrip.org>
1558
1559         * docs/html/faq/index.html (5.8):  New entry on ABIs.
1560         * docs/html/faq/index.txt:  Regenerate.
1561
1562 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
1563
1564         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
1565         bugfixes on Solaris.
1566         * docs/html/faq/index.txt:  Regenerate.
1567
1568 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
1569
1570         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
1571         LANG_CPLUSPLUS mode.
1572         * aclocal.m4:  Regenerate.
1573         * configure:  Regenerate.
1574
1575 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
1576
1577         * porting.texi:  Move...
1578         * docs/html/17_intro/porting.texi:  ...to here.
1579         * docs/html/Makefile:  Add rule to rebuild...
1580         * docs/html/17_intro/porting.html:  ...this.  New file.
1581
1582 2001-11-05  Felix Natter  <fnatter@gmx.net>
1583
1584         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
1585         * docs/html/17_intro/porting-howto.html:  regenerate
1586
1587 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
1588
1589         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1590         when platform supports __GTHREAD_MUTEX_INIT.
1591
1592 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1593
1594         * acconfig.h:  Update comments.
1595         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
1596         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
1597         * aclocal.m4:  Regenerate.
1598         * config.h.in:  Regenerate.
1599         * configure:  Regenerate.
1600
1601         * include/bits/boost_concept_check.h:  Unconditionally compile uses
1602         of 'long long' which require only compiler support, not C lib support.
1603         * include/bits/cpp_type_traits.h:  Likewise.
1604         * include/bits/std_limits.h:  Likewise.
1605         * include/bits/type_traits.h:  Likewise.
1606         * src/concept-inst.cc:  Likewise.
1607         * src/limits.cc:  Likewise.
1608         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
1609         instead of _GLIBCPP_USE_LONG_LONG.
1610         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
1611
1612 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1613
1614         * config/io/c_io_stdio.h:  Correct grammar in comments.
1615         * docs/doxygen/Intro.3:  Expand "top-level" man page.
1616         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1617         * docs/doxygen/mainpage.doxy:  Tweaks.
1618         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1619
1620         Add @file hooks so that headers are considered to be documented.
1621         * include/bits/basic_ios.h, include/bits/basic_file.h,
1622         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1623         include/bits/char_traits.h, include/bits/codecvt.h,
1624         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1625         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1626         include/bits/indirect_array.h, include/bits/ios_base.h,
1627         include/bits/locale_facets.h, include/bits/localefwd.h,
1628         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1629         include/bits/slice.h, include/bits/slice_array.h,
1630         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1631         include/bits/std_complex.h, include/bits/std_deque.h,
1632         include/bits/std_fstream.h, include/bits/std_functional.h,
1633         include/bits/std_iomanip.h, include/bits/std_ios.h,
1634         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1635         include/bits/std_istream.h, include/bits/std_iterator.h,
1636         include/bits/std_limits.h, include/bits/std_list.h,
1637         include/bits/std_locale.h, include/bits/std_map.h,
1638         include/bits/std_memory.h, include/bits/std_numeric.h,
1639         include/bits/std_ostream.h, include/bits/std_queue.h,
1640         include/bits/std_set.h, include/bits/std_sstream.h,
1641         include/bits/std_stack.h, include/bits/std_streambuf.h,
1642         include/bits/std_string.h, include/bits/std_utility.h,
1643         include/bits/std_valarray.h, include/bits/std_vector.h,
1644         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1645         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1646         include/bits/stl_deque.h, include/bits/stl_heap.h,
1647         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1648         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1649         include/bits/stl_map.h, include/bits/stl_multimap.h,
1650         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1651         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1652         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1653         include/bits/stl_relops.h, include/bits/stl_set.h,
1654         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1655         include/bits/stl_threads.h, include/bits/stl_tree.h,
1656         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1657         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1658         include/bits/stringfwd.h, include/bits/type_traits.h,
1659         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1660         Add hooks, tweak comments only.
1661
1662         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1663         document these functions.
1664         * include/bits/stl_function.h:  Tweak link comments.
1665
1666 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1667             Benjamin Kosnik  <bkoz@redhat.com>
1668
1669         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1670         output.
1671         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1672
1673 2001-11-01  Egor Duda  <deo@logos-m.ru>
1674
1675         * config/os/newlib/bits/ctype_noninline.h
1676         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1677         (ctype<char>::do_tolower(char __c)): Ditto.
1678
1679 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1680
1681         * acinclude.m4:  Fix spacing.
1682         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1683         * configure.in:  Call here.
1684         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1685         * include/bits/boost_concept_check.h:  Fix headers.
1686         (__function_requires):  Make inline.
1687         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1688         * aclocal.m4:  Regenerate.
1689         * config.h.in:  Regenerate.
1690         * configure:  Regenerate.
1691
1692         Move trailing ';' inside macro, PR libstdc++/3666.
1693         * include/bits/concept_check.h:  Add semicolon.
1694         * include/bits/stl_algo.h:  Remove semicolon.
1695         * include/bits/stl_algobase.h:  Likewise.
1696         * include/bits/stl_deque.h:  Likewise.
1697         * include/bits/stl_heap.h:  Likewise.
1698         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1699         * include/bits/stl_list.h:  Likewise.
1700         * include/bits/stl_map.h:  Likewise.
1701         * include/bits/stl_multimap.h:  Likewise.
1702         * include/bits/stl_multiset.h:  Likewise.
1703         * include/bits/stl_numeric.h:  Likewise.
1704         * include/bits/stl_queue.h:  Likewise.
1705         * include/bits/stl_set.h:  Likewise.
1706         * include/bits/stl_stack.h:  Likewise.
1707         * include/bits/stl_vector.h:  Likewise.
1708         * include/ext/hash_map:  Likewise.
1709         * include/ext/hash_set:  Likewise.
1710         * include/ext/slist:  Likewise.
1711
1712         * src/concept-inst.cc:  New file with explicit instantiations.
1713         * src/Makefile.am (sources):  Add here, with special build rules.
1714         * src/Makefile.in:  Regenerate.
1715
1716 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1717
1718         * include/bits/std_complex.h (_Norm_helper): New class template.
1719         (norm): Tweak.
1720         (abs): Tweak. Fix Thinko.
1721
1722 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1723
1724         libstdc++/4749
1725         * include/bits/codecvt.h: Add virtual member function declarations.
1726         * src/codecvt.cc: Tweaks.
1727         * testsuite/22_locale/codecvt.cc: Test compilation only,
1728         non-required facets not required to have linkage.
1729
1730 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1731
1732         libstdc++/4622
1733         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1734
1735 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1736             Benjamin Kosnik  <bkoz@redhat.com>
1737
1738         libstdc++/4354
1739         * include/bits/basic_string.h: Tweaks.
1740         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1741         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1742         * src/string-inst.cc: Tweaks, add instantiation.
1743         * testsuite/21_strings/replace.cc (test02): Add test.
1744         * testsuite/21_strings/assign.cc (test01): New file.
1745
1746 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1747
1748         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1749         __throw_exception_again.
1750         (_M_new_elements_at_back): Likewise.
1751
1752 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1753
1754         libstdc++/3647
1755         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1756         * testsuite/27_io/filebuf.cc (test07): New test.
1757         (test03): Modify showmanyc test.
1758
1759 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1760
1761         libstdc++/4503
1762         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1763         (__enc_traits::~__enc_traits): Fix.
1764         (__enc_traits::_M_init): Add error checking.
1765
1766 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1767
1768         libstdc++/4542
1769         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1770
1771 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1772
1773         libstdc++/4545
1774         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1775         exceptions.
1776         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1777         consistent, where possible.
1778         * include/bits/streambuf.tcc: Tweak.
1779
1780 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1781
1782         libstdc++/4536
1783         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1784         * bits/istream.tcc (seekg): Likewise.
1785
1786 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1787             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1788             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1789
1790         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1791         __s390x__ only.
1792         * include/bits/std_limits.h: Fix wchar_t issues.
1793         * config/os/aix/bits/os_defines.h: Fix.
1794
1795 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1796
1797         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1798
1799 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1800
1801         * docs/html/documentation.html:  Fix typo.
1802
1803 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1804
1805         Make -fno-exceptions work.
1806         * config/locale/c_locale_gnu.cc: Use functexcept.
1807         * include/bits/c++config (__stl_assert): Remove.
1808         (__STL_USE_EXCEPTIONS): Same.
1809         (__STL_TRY): Same.
1810         (__STL_CATCH_ALL): Same.
1811         (__STL_THROW): Same.
1812         (__STL_RETHROW): Same.
1813         (__STL_NOTHROW): Same.
1814         (__STL_UNWIND): Same.
1815         * include/bits/pthread_allocimpl.h: Fix.
1816         * include/bits/std_bitset.h: Same.
1817         * include/bits/std_list.h: Same.
1818         * include/bits/std_memory.h: Same.
1819         * include/bits/std_queue.h: Same.
1820         * include/bits/stl_alloc.h: Same.
1821         * include/bits/stl_deque.h: Same.
1822         * include/bits/stl_list.h: Same.
1823         * include/bits/stl_queue.h: Same.
1824         * include/bits/stl_tempbuf.h: Same.
1825         * include/bits/stl_tree.h: Same.
1826         * include/bits/stl_uninitialized.h: Same.
1827         * include/bits/stl_vector.h: Same.
1828         * include/ext/ropeimpl.h: Same.
1829         * include/ext/slist: Same.
1830         * include/ext/stl_hashtable.h: Same.
1831         * include/ext/stl_rope.h: Same.
1832         * libsupc++/new_op.cc: Include cstdlib.
1833         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1834         __throw_exception_again, tweak.
1835         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1836         * libsupc++/vec.cc: Tweak.
1837         * src/functexcept.cc: Remove unused arguments.
1838         * testsuite/23_containers/bitset_members.cc: Tweak.
1839
1840 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1841
1842         * config/cpu/i386/bits/limits.h: Move to...
1843         * config/cpu/i386/bits/cpu_limits.h: ...here.
1844         * config/cpu/cris/bits/cpu_limits.h: Same.
1845         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1846         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1847         * config/cpu/alpha/bits/cpu_limits.h: New.
1848         * config/cpu/m68k/bits/cpu_limits.h: New.
1849         * config/cpu/s390/bits/cpu_limits.h: New.
1850         * config/os/aix/bits/os_defines.h: Tweaks.
1851         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1852         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1853         * config/os/djgpp/bits/os_defines.h: Same.
1854         * config/os/generic/bits/os_defines.h: Same.
1855         * config/os/gnu-linux/bits/os_defines.h: Same.
1856         * config/os/hpux/bits/os_defines.h: Same.
1857         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1858         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1859         * config/os/newlib/bits/os_defines.h: Same.
1860         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1861         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1862         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1863
1864         * include/bits/c++config: Remove include.
1865         * include/bits/limits_generic.h: Remove.
1866         * include/bits/std_limits.h: Include cpu_limits.h.
1867         * include/Makefile.am: Fixup.
1868         * src/limits.cc: Tweak.
1869         * src/limits_generic.cc: Remove.
1870         * src/gen-num-limits.cc: Remove.
1871         * mknumeric_limits: Remove.
1872
1873 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1874
1875         * bits/type_traits.h (_Bool): Removed this type.
1876         (__true_type, __false_type): Change to be plain structs.
1877         * src/string-inst.cc (__destroy_aux): Change third parm to be
1878         __false_type instead of _Bool<false>.
1879         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1880         __uninitialized_copy_aux): Likewise.
1881
1882 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1883
1884         * mkcheck.in (static_fail): Remove older memory limit functionality.
1885         Disable E_TIME due to formatting issues.
1886
1887         * README: Update.
1888
1889 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1890
1891         * include/bits/std_complex.h: Default initialize second argument
1892         of polar to 0, as specified in Library DR #79
1893
1894 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1895
1896         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1897         _Construct instead of construct.
1898
1899 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1900
1901         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1902         __n being non-zero, since the standard does not mandate that.
1903         e.g., a search for "" in "" should yield position 0, not npos.
1904         (find_last_not_of): Likewise.
1905
1906 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1907
1908         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1909         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1910
1911 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1912
1913         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1914         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1915
1916 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1917
1918         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1919         template parameter _ValueType.
1920
1921 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1922
1923         * include/bits/std_limits.h: Clean up extra semicolons.
1924         * include/bits/locale_facets.h: Likewise.
1925         * include/bits/type_traits.h: Likewise.
1926
1927 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1928
1929         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1930         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1931
1932 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1933
1934         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1935         Declare specializations for char, wchar_t.
1936
1937 2001-10-19  Andreas Jaeger  <aj@suse.de>
1938
1939         * config/cpu/x86-64/bits/limits.h: New file.
1940         * config/cpu/x86-64/bits/atomicity.h: New file.
1941         * configure.target: Add x86-64.
1942
1943 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1944
1945         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1946         why).  Add link to recent message.
1947         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1948         markup.
1949         * docs/html/faq/index.txt:  Regenerate.
1950
1951 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1952
1953         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1954         based on Nathan's review.  Use Nathan's words.
1955
1956 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1957
1958         * docs/html/configopts.html: Quote StyleSheet attribute values.
1959         * docs/html/documentation.html: Likewise.
1960         * docs/html/explanations.html: Likewise.
1961         * docs/html/install.html: Likewise.
1962         * docs/html/17_intro/howto.html: Likewise.
1963         * docs/html/17_intro/license.html: Likewise.
1964         * docs/html/18_support/howto.html: Likewise.
1965         * docs/html/19_diagnostics/howto.html: Likewise.
1966         * docs/html/20_util/howto.html: Likewise.
1967         * docs/html/21_strings/howto.html: Likewise.
1968         * docs/html/22_locale/howto.html: Likewise.
1969         * docs/html/23_containers/howto.html: Likewise.
1970         * docs/html/24_iterators/howto.html: Likewise.
1971         * docs/html/25_algorithms/howto.html: Likewise.
1972         * docs/html/26_numerics/howto.html: Likewise.
1973         * docs/html/27_io/howto.html: Likewise.
1974         * docs/html/ext/howto.html: Likewise.
1975         * docs/html/ext/sgiexts.html: Likewise.
1976         * docs/html/faq/index.html: Likewise.
1977
1978 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1979
1980         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1981         * docs/html/23_containers/howto.html (Containers and multithreading):
1982         Update.
1983
1984 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1985
1986         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1987         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1988         nonzero arguments, add new note on threading.
1989         * docs/html/faq/index.html:  Update.
1990         * docs/html/faq/index.txt:  Regenerate.
1991
1992 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1993
1994         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1995         * docs/html/documentation.html:  Likewise.
1996         * docs/html/explanations.html:  Likewise.
1997         * docs/html/install.html:  Likewise.
1998         * docs/html/17_intro/howto.html:  Likewise.
1999         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
2000         * docs/html/18_support/howto.html:  Likewise.
2001         * docs/html/19_diagnostics/howto.html:  Likewise.
2002         * docs/html/20_util/howto.html:  Likewise.
2003         * docs/html/21_strings/howto.html:  Likewise.
2004         * docs/html/22_locale/howto.html:  Likewise.
2005         * docs/html/23_containers/howto.html:  Likewise.
2006         * docs/html/24_iterators/howto.html:  Likewise.
2007         * docs/html/25_algorithms/howto.html:  Likewise.
2008         * docs/html/26_numerics/howto.html:  Likewise.
2009         * docs/html/27_io/howto.html:  Likewise.
2010         * docs/html/ext/howto.html:  Likewise.
2011         * docs/html/ext/sgiexts.html:  Likewise.
2012         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
2013         * docs/html/faq/index.txt:  Regenerate.
2014
2015 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2016
2017         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2018         spelling errors of "separate" as "seperate", and corresponding
2019         spelling errors of related words.
2020         * docs/html/faq/index.txt: Regenerate.
2021
2022 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
2023
2024         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
2025         unused function.
2026         * config/cpu/arm/bits/atomicity.h:  Likewise.
2027         * config/cpu/generic/bits/atomicity.h:  Likewise.
2028         * config/cpu/i486/bits/atomicity.h:  Likewise.
2029         * config/cpu/ia64/bits/atomicity.h:  Likewise.
2030         * config/cpu/mips/bits/atomicity.h:  Likewise.
2031         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
2032         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
2033         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
2034
2035 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2036
2037         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
2038         * docs/html/faq/index.txt:  Regenerate.
2039
2040 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2041
2042         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
2043         * docs/html/17_intro/license.html:  New file.  Explain the licenses
2044         in use.
2045
2046         * docs/html/configopts.html:  Link to license.html.
2047         * docs/html/documentation.html:  Likewise.
2048         * docs/html/explanations.html:  Likewise.
2049         * docs/html/install.html:  Likewise.
2050         * docs/html/17_intro/howto.html:  Likewise.
2051         * docs/html/18_support/howto.html:  Likewise.
2052         * docs/html/19_diagnostics/howto.html:  Likewise.
2053         * docs/html/20_util/howto.html:  Likewise.
2054         * docs/html/21_strings/howto.html:  Likewise.
2055         * docs/html/22_locale/howto.html:  Likewise.
2056         * docs/html/23_containers/howto.html:  Likewise.
2057         * docs/html/24_iterators/howto.html:  Likewise.
2058         * docs/html/25_algorithms/howto.html:  Likewise.
2059         * docs/html/26_numerics/howto.html:  Likewise.
2060         * docs/html/27_io/howto.html:  Likewise.
2061         * docs/html/ext/howto.html:  Likewise.
2062         * docs/html/ext/sgiexts.html:  Likewise.
2063         * docs/html/faq/index.html:  Likewise.  New question, linking to
2064         the new license.html.
2065
2066 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2067
2068         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
2069         * docs/html/18_support/howto.html:  Likewise.
2070         * docs/html/19_diagnostics/howto.html:  Likewise.
2071         * docs/html/20_util/howto.html:  Likewise.
2072         * docs/html/21_strings/howto.html:  Likewise.
2073         * docs/html/22_locale/howto.html:  Likewise.
2074         * docs/html/23_containers/howto.html:  Likewise.
2075         * docs/html/24_iterators/howto.html:  Likewise.
2076         * docs/html/25_algorithms/howto.html:  Likewise.
2077         * docs/html/26_numerics/howto.html:  Likewise.
2078         * docs/html/27_io/howto.html:  Likewise.
2079         * docs/html/ext/howto.html:  Likewise.
2080         * docs/html/faq/index.html:  Likewise.  Spacing fix.
2081
2082 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
2083
2084         * include/bits/stl_threads.h (_Atomic_swap): New function.
2085         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2086         * testsuite/ext/rope.cc: New file.
2087
2088 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2089
2090         * config/locale/time_members_gnu.h: Remove.
2091         * config/locale/time_members_generic.h: Remove.
2092         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2093         * config/locale/time_members_generic.cc: Same.
2094         * include/bits/locale_facets.h: Add data members.
2095         (__timepunct::_M_put_helper): Change signature.
2096         (__timepunct::_M_date_formats): Same.
2097         (__timepunct::_M_time_formats): Same.
2098         (__timepunct::_M_ampm): Add.
2099         (__timepunct::_M_date_time_formats): Add.
2100         (time_get::_M_extract_via_format): Add.
2101         (time_get::_M_extract_time): Change to...
2102         (time_get::_M_extract_num): ... this, modify signature.
2103         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2104         (time_get::do_get_time): Fix.
2105         (time_get::do_get_date): Fix.
2106
2107         * acinclude.m4: Remove CTIME_H.
2108         * aclocal.m4: Regenerate.
2109         * include/Makefile.am: Same.
2110         * include/Makefile.in: Regenerate.
2111         * configure: Regenerate.
2112
2113         * testsuite/22_locale/time_get_members_char.cc: Fix.
2114         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2115         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2116
2117 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
2118
2119         * config/cpu/cris/bits/atomicity.h: Correct file header.
2120
2121 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
2122
2123         * configure.target (LIMITSH): Set for cris.
2124         (cpu_include_dir): Set for cris-*-*.
2125         * config/cpu/cris/bits/atomicity.h: New file.
2126         * config/cpu/cris/bits/limits.h: New file.
2127
2128 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
2129
2130         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2131         (__timepunct::_M_put_helper): Add.
2132         * config/locale/time_members_generic.h: Same.
2133         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2134         (__timepunct): Add data members.
2135         (__timepunct::_M_days): Add.
2136         (__timepunct::_M_days_abbreviated): Add.
2137         (__timepunct::_M_months): Add.
2138         (__timepunct::_M_months_abbreviated): Add.
2139         (__timepunct::_M_initialize_timepunct): Add.
2140         * include/bits/locale_facets.tcc: Same.
2141         * src/locale-inst.cc: Remove instantiations for __match_parallel.
2142         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2143         * aclocal.m4: Regenerate.
2144         * configure: Regenerate.
2145         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2146         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2147         * testsuite/22_locale/time_get.cc: New file.
2148
2149 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2150
2151         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2152         correct multilib builddir.
2153         Properly locate libgcc_s.
2154
2155 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
2156
2157         * include/std/*:  Add Doxygen hooks.
2158         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
2159         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
2160         rather than using a generated index.
2161         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
2162         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
2163         * docs/doxygen/stdheader.cc:  ...this new file.
2164
2165 2001-09-26  Stan Shebs  <shebs@apple.com>
2166
2167         * include/Makefile.am: Remove RCS Id strings.
2168         * src/Makefile.am: Ditto.
2169         * docs/doxygen/run_doxygen: Ditto.
2170         * docs/html/configopts.html: Ditto.
2171         * docs/html/documentation.html: Ditto.
2172         * docs/html/explanations.html: Ditto.
2173         * docs/html/install.html: Ditto.
2174         * docs/html/17_intro/howto.html: Ditto.
2175         * docs/html/18_support/howto.html: Ditto.
2176         * docs/html/19_diagnostics/howto.html: Ditto.
2177         * docs/html/20_util/howto.html: Ditto.
2178         * docs/html/21_strings/howto.html: Ditto.
2179         * docs/html/22_locale/howto.html: Ditto.
2180         * docs/html/23_containers/howto.html: Ditto.
2181         * docs/html/24_iterators/howto.html: Ditto.
2182         * docs/html/25_algorithms/howto.html: Ditto.
2183         * docs/html/26_numerics/howto.html: Ditto.
2184         * docs/html/27_io/howto.html: Ditto.
2185         * docs/html/ext/howto.html: Ditto.
2186         * docs/html/ext/sgiexts.html: Ditto.
2187         * docs/html/faq/index.html: Ditto.
2188         * docs/html/faq/index.txt: Ditto.
2189
2190 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2191
2192         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
2193         `carray' size.
2194
2195 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2196
2197         * docs/html/20_util/howto.html:  Add anchor name.
2198         * docs/html/23_containers/howto.html:  Line wrapping, another link.
2199         * docs/html/25_algorithms/howto.html:  Another note.
2200
2201         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
2202         link to them...
2203         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
2204         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
2205         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
2206         carried over to libstdc++-v3.
2207         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
2208         "missing .." pseudobug.
2209         * docs/html/faq/index.txt:  Regenerate.
2210
2211         * include/bits/ios_base.h:  DR-related comment cleanup.
2212         * include/bits/istream.tcc:  Likewise.
2213         * include/bits/locale_facets.h:  Likewise.
2214         * include/bits/locale_facets.tcc:  Likewise.
2215         * include/bits/ostream.tcc:  Likewise.
2216         * include/bits/std_bitset.h:  Likewise.
2217         * include/bits/std_iosfwd.h:  Likewise.
2218         * include/bits/std_istream.h:  Likewise.
2219         * include/bits/std_ostream.h:  Likewise.
2220         * include/bits/std_streambuf.h:  Likewise.
2221         * include/bits/stl_pair.h:  Likewise.
2222         * include/bits/streambuf_iterator.h:  Likewise.
2223
2224         * include/bits/std_map.h:  Remove unused header inclusion guard
2225         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2226         * include/bits/std_set.h:  Likewise.
2227
2228         * include/bits/stl_function.h:  Doxygen markup.
2229         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
2230         * libsupc++/typeinfo:  Doxygen markup tweak.
2231
2232 2001-09-20  Scott Johnston <scott@accom.com>
2233             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2234
2235         * include/backward/alloc.h: Conditionally define malloc_alloc
2236         * testsuite/backward/header_deque_h.cc: New file.
2237
2238 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2239
2240         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2241         change variable name so that it works with -fno-for-scope.
2242
2243 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
2244
2245         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2246         redundant sanity checks.
2247         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2248         (test02): Same.
2249         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2250         (test02): Same.
2251         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2252         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2253         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2254         (test02): Same.
2255         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2256         (test02): Same.
2257
2258 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
2259
2260         Implement std::time_put.
2261         * include/bits/locale_facets.h: Include time_members.h.
2262         (__timepunct): New.
2263         (time_put): Implement.
2264         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2265         * include/bits/localefwd.h: Bump number of facets.
2266         * config/locale/time_members_generic.h: New file.
2267         * config/locale/time_members_gnu.h: New file.
2268         * config/locale/c_locale_generic.h: Include clocale.
2269         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2270         * src/locale.cc: Add __timepunct initializations.
2271         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2272         * include/Makefile.am (stamp-target): Add time_members.h.
2273         * include/Makefile.in: Regenerate.
2274         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2275         * aclocal.m4: Regenerate.
2276         * configure: Regenerate.
2277         * testsuite/22_locale/time_put.cc: New file.
2278         * testsuite/22_locale/time_put_members_char.cc: New file.
2279
2280         * docs/html/22_locale/locale.html: Add note.
2281
2282 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
2283
2284         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
2285         * docs/html/documentation.html:  Likewise.
2286         * docs/html/explanations.html:  Likewise.
2287         * docs/html/install.html:  Likewise.
2288         * docs/html/17_intro/howto.html:  Likewise.
2289         * docs/html/18_support/howto.html:  Likewise.
2290         * docs/html/19_diagnostics/howto.html:  Likewise.
2291         * docs/html/20_util/howto.html:  Likewise.
2292         * docs/html/21_strings/howto.html:  Likewise.
2293         * docs/html/22_locale/codecvt.html:  Likewise.
2294         * docs/html/22_locale/ctype.html:  Likewise.
2295         * docs/html/22_locale/howto.html:  Likewise.
2296         * docs/html/22_locale/locale.html:  Likewise.
2297         * docs/html/22_locale/messages.html:  Likewise.
2298         * docs/html/23_containers/howto.html:  Likewise.
2299         * docs/html/24_iterators/howto.html:  Likewise.
2300         * docs/html/25_algorithms/howto.html:  Likewise.
2301         * docs/html/26_numerics/howto.html:  Likewise.
2302         * docs/html/27_io/howto.html:  Likewise.
2303         * docs/html/ext/howto.html:  Likewise.
2304         * docs/html/faq/index.html:  Likewise.
2305         * docs/html/faq/index.txt:  Regenerated.
2306
2307 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
2308
2309         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
2310         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
2311         * docs/html/18_support/howto.html:  It won't compile; it's not code.
2312         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
2313         doxygen'd pages.
2314         * docs/html/22_locale/howto.html:  Comment for future work.
2315         * docs/html/23_containers/howto.html:  More comments.
2316         * docs/html/25_algorithms/howto.html:  It's a comment, not a
2317         blunt command to the reader.  (English grammar.)
2318
2319 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2320
2321         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2322         wchar_t members.
2323         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2324         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2325
2326 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2327
2328         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2329
2330 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
2331
2332         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2333         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2334         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2335
2336 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
2337
2338         Implement std::money_get.
2339         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2340         * include/bits/locale_facets.h (money_get): Correct signatures.
2341         * testsuite/22_locale/money_get.cc: New file.
2342         * testsuite/22_locale/money_get_members_char.cc: New file.
2343
2344         * include/bits/locale_facets.tcc (__verify_grouping): New
2345         function. Consolidate num_get and money_get group checking into
2346         one function.
2347         (money_get): Use it.
2348         * src/locale.cc (num_get::_M_extract): Use it.
2349         * src/locale-inst.cc: Add instantiation.
2350
2351 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2352
2353         * include/bits/std_limits.h (numeric_limits<float>::radix,
2354         numeric_limits<float>::epsilon:  Fix thinko.
2355
2356 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2357
2358         * configure.in: Fix cross compiling math routines. Correct
2359         comments for cross compiling and limits. Add floating point math
2360         routines found in newlib.
2361         * configure: Regenerate.
2362         * acconfig.h: Add macros.
2363         * config.h.in: Regenerate.
2364
2365 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2366
2367         * config/locale/moneypunct_members_generic.cc
2368         (money_base::_S_construct_pattern): Remove unused parameters.
2369
2370 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2371
2372         * include/Makefile.am (stamp-target): Remove link to self.
2373         * inclulde/Makefile.in: Regenerate.
2374
2375 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2376
2377         Implement std::money_put.
2378         * include/bits/locale_facets.h
2379         (moneypunct::_M_initialize_moneypunct): Split up specializations
2380         to account for _Intl.  More grody hacking to get around the
2381         ill-considered use of const bool as a template parameter.
2382         * config/locale/moneypunct_members_gnu.cc: And here.
2383         * config/locale/moneypunct_members_generic.cc: And here.
2384         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2385         * testsuite/22_locale/moneypunct.cc: Add tests.
2386         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2387         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2388
2389         * src/locale.cc (money_base::_S_construct_pattern): Move into
2390         gnu-specific file.
2391         * config/locale/moneypunct_members_gnu.cc: Add here.
2392         * config/locale/moneypunct_members_generic.cc: Add generic version
2393         here.
2394
2395         * include/bits/locale_facets.tcc (money_put::do_put): Move member
2396         function definitions here.
2397         * include/bits/locale_facets.h (money_put): Implement.
2398         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2399         Correct money_get, money_put instantiations.
2400         * src/locale.cc (money_base::_S_construct_pattern): Handle case
2401         where __posn == 0.
2402         * testsuite/22_locale/money_put_members_char.cc: Add tests.
2403
2404 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
2405
2406         * testsuite_flags.in:  No longer need to search testsuite builddir.
2407         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
2408         * Makefile.am:  The testsuite directory never needs to be made here.
2409         * Makefile.in:  Regenerate.
2410         * include/Makefile.in:  Regenerate.
2411         * libio/Makefile.in:  Regenerate.
2412         * libmath/Makefile.in:  Regenerate.
2413         * libsupc++/Makefile.in:  Regenerate.
2414         * po/Makefile.in:  Regenerate.
2415         * src/Makefile.in:  Regenerate.
2416         * testsuite/Makefile.in:  Regenerate.
2417
2418 2001-09-04  Scott Johnston  <scott@accom.com>
2419             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2420
2421         * include/backward/iterator.h: Include <bits/std_iterator.h>,
2422         remove reverse_bidirectional_iterator.
2423         * testsuite/backward: New directory.
2424         * testsuite/backward/header_iterator_h.cc: New file.
2425
2426 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
2427
2428         * include/c_std/bits/std_c*.h: Don't use include_next.
2429
2430 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
2431
2432         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2433         tmp from _Unwind_Ptr to _Unwind_Word.
2434
2435 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
2436
2437         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2438         leb128 handling.
2439
2440 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
2441
2442         * include/Makefile.am: Use toplevel_srcdir to refer to src files
2443         outside this component.
2444         * include/Makefile.in: Regenerate.
2445
2446 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
2447
2448         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2449         * config/locale/c_locale_generic.cc: Same.
2450         * config/locale/moneypunct_members_gnu.cc: New file.
2451         * config/locale/moneypunct_members_generic.cc: New file.
2452         * config/locale/numpunct_members_gnu.cc: New file.
2453         * config/locale/numpunct_members_generic.cc: New file.
2454         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2455         options.
2456         * aclocal.m4: Regenerate.
2457         * configure: Regenerate.
2458         * src/Makefile.am (sources): And here.
2459         * src/Makefile.in: Regenerate.
2460
2461         Rename for consistency with rest of testsuite.
2462         * testsuite/22_locale/codecvt.cc: New file.
2463         * testsuite/22_locale/money_put.cc: New file.
2464         * testsuite/22_locale/money_put_members_char.cc: New file.
2465
2466 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
2467
2468         PR libstdc++/4143
2469         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
2470         correctly for version-specific-runtime-libs.
2471         * aclocal.m4:  Regenerate.
2472         * configure:  Regenerate.
2473
2474 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
2475
2476         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2477         define if not already provided by per-OS file.
2478         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2479         Define.
2480
2481 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
2482
2483         * docs/html/17_intro/C++STYLE:  Fix typo.
2484
2485 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
2486
2487         * docs/html/23_containers/howto.html:  Describe implementation of
2488         insertion with hints.
2489
2490 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
2491
2492         libstdc++/3740
2493         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2494
2495 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2496             Phil Edwards  <pme@sources.redhat.com>
2497
2498         PR libstdc++/3349
2499         * include/bits/stl_tree.h (insert_unique):  Revert last change.
2500         Values inserted at begin() must be less, not greater, than *begin()'s.
2501         * testsuite/23_containers/map_insert.cc:  New file.
2502
2503 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
2504
2505         * config/locale/c_locale_gnu.cc: Minor tweaks.
2506         (moneypunct<wchar_t>): Implement.
2507         * include/bits/locale_facets.h: Same.
2508         * testsuite/22_locale/moneypunct.cc: New file.
2509         * testsuite/22_locale/moneypunct_byname.cc: New file.
2510         * testsuite/22_locale/moneypunct_char_members.cc: New file.
2511
2512 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
2513
2514         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2515         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2516
2517 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
2518
2519         * testsuite_flags.in (build-includes): Re-add backward.
2520
2521 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2522
2523         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2524         with _GLIBCPP_USE_WCHAR_T.
2525
2526 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
2527
2528         * testsuite/22_locale/collate_byname.cc (test01): Fix.
2529
2530 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
2531
2532         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2533
2534 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
2535
2536         * testsuite/22_locale/operators.cc: Add test.
2537
2538 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
2539
2540         Implement std::collate.
2541         * config/locale/collate_specializations_gnu.cc: Add here, implement in
2542         MT-safe way.
2543         * config/locale/collate_specializations_generic.cc: Add here, but
2544         in a less sophisticated manner.
2545         * include/bits/locale_facets.tcc (collate): Add generic definition.
2546         * include/bits/locale_facets.h (~collate): Mark virtual.
2547         (collate::_M_compare_helper): New.
2548         (collate::_M_transform_helper): New.
2549         * src/locale.cc: Remove unnecessary specializations.
2550         * src/string-inst.cc: Tweak instantiation of ctors.
2551
2552         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2553         * aclocal.m4: Regenerate.
2554         * configure: Regenerate.
2555         * src/Makefile.am (sources): Add collate.cc.
2556         * src/Makefile.in: Regenerate.
2557
2558         * testsuite/22_locale/collate_byname.cc: New.
2559         * testsuite/22_locale/collate.cc: New file.
2560         * testsuite/22_locale/collate_char_members.cc: New file.
2561         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2562
2563 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2564
2565         * configure.target: Set LIMITSH for powerpc-*-*.
2566         * config/cpu/powerpc/bits/limits.h: New file.
2567
2568 2001-08-16  Marc Espie <espie@openbsd.org>
2569
2570         * configure.in:  Check for <sys/types.h>.
2571         * configure:  Rebuild.
2572         * config.h.in:  Rebuild.
2573         * libmath/mathconf.h:  Include <sys/types.h> prior to
2574         <machine/endian.h> if available.
2575
2576 2001-08-15  Andreas Schwab  <schwab@suse.de>
2577
2578         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2579         m68k and m680[246]0.
2580         * config/cpu/m68k/bits/atomicity.h: New file.
2581
2582         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2583         Define appropriate long double limits for m68k extended floating
2584         point.
2585         (__glibcpp_f32_digits10): Corrected, off by one.
2586         (__glibcpp_f80_digits10): Likewise.
2587         (__glibcpp_f128_digits10): Likewise.
2588         * config/os/gnu-linux/bits/os_defines.h
2589         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2590
2591 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2592
2593         * testsuite/18_support/numeric_limits.cc: Add more tests.
2594         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2595         typo.
2596
2597 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
2598
2599         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2600         for s390 and s390x.
2601
2602         * config/cpu/s390/bits/atomicity.h: New.
2603
2604 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
2605
2606         * include/bits/std_limits.h: Fix thinko.
2607
2608 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
2609
2610         * include/Makefile.am: Consolidate target rules. Don't clean stamp
2611         files. Tweak target build directory stamp.
2612         * include/Makefile.in: Regenerate.
2613
2614 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2615
2616         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2617         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2618
2619 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2620
2621         * configure.in (libtool_VERSION): Add.
2622         (VERSION): Change to
2623         (release_VERSION): This.
2624         * configure: Regenerate.
2625         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2626         libtool_VERSION.
2627         * src/Makefile.in: Regenerate.
2628
2629         * intl/Makefile.am: Remove.
2630         * intl/Makefile.in: Remove.
2631         * intl: Remove.
2632         * Makefile.am (SUBDIRS): Remove intl.
2633         * po/Makefile.am (DISTFILES): Add string_literals.cc
2634         (MSGFMT): Add.
2635         * po/string_literals.cc: Add.
2636         * po/POTFILES.in: Fix path.
2637         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2638         * aclocal.m4: Regenerate.
2639         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2640
2641         * include/backward/backward_warning.h: Clarify message.
2642
2643         * testsuite_flags.in (--cxxflags): Use same debug flags for
2644         library and testsuite.
2645
2646         * include/Makefile.am (c_compatibility): Remove.
2647         * include/Makefile.in: Regenerate.
2648
2649 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2650
2651         * configure.in (LIMITS_INC_SRCDIR): New variable.
2652         * configure.target (LIMITSH): New variable.
2653         * porting.texi: Discuss numeric limits.
2654         * config/cpu/generic/bits/limits.h: New file.
2655         * config/cpu/i386/bits/limits.h: New file.
2656         * include/Makefile.am: Install bits/limits.h.
2657         * include/bits/c++config: Include bits/limits.h.
2658
2659 2001-08-13  H.J. Lu  (hjl@gnu.org)
2660
2661         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2662         New. Copy files.
2663         (libstdc++-v3-init ): Use it.
2664
2665 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2666
2667         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2668         to '__adjust' to avoid shadowing in nested scope.
2669
2670 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2671
2672         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2673         __CHAR_UNSIGNED__.
2674
2675         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2676         Likewise.
2677         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2678         Remove.
2679
2680 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2681
2682         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2683         dummy default argument to the non-limit implementation.
2684
2685         bootstrap/3963
2686         * include/Makefile.am: Use relative file path in rule to allow
2687         colon in $(objdir).
2688         * include/Makefile.in: Rebuilt.
2689
2690 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2691
2692         * include/bits/std_complex.h (complex<long double>::operator*=,
2693         complex<long double>::operator/=): Fix thinko.
2694
2695 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2696
2697         * include/bits/std_limits.h: New file.
2698         * include/Makefile.am (bits_headers): Add std_limits.h
2699         (all-local): std_limits.h is no longer built.
2700         (${target_builddir}/std_limits.h): Remove.
2701         * include/Makefile.in: Regenerate.
2702         * src/limits.cc: New file.
2703         * src/Makefile.am (sources): Add limits.cc in replacement of
2704         limitsMEMBERS.cc.
2705         * src/Makefile.in: Regenerate.
2706
2707 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2708
2709         * src/gen-num-limits.cc (digits10): Fix thinko.
2710
2711 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2712
2713         * po/Makefile.am (check-no): Add.
2714         (check-yes): Same.
2715         * po/Makefile.in: Regenerate.
2716
2717 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2718
2719         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2720         * config.h.in: Regenerate.
2721         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2722         function.
2723         * aclocal.m4: Regenerate.
2724         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2725         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2726         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2727         * configure: Regenerate.
2728         * testsuite_hooks.h.in: Move to...
2729         * testsuite_hooks.h: Here, include c++config.h. Use it.
2730
2731         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2732         * Makefile.in: Regenerate.
2733         * po/Makefile.am (stamp-po): Add.
2734
2735 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2736
2737         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2738         * config/os/generic/bits/os_defines.h: Likewise.
2739         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2740         * config/os/hpux/bits/os_defines.h: Likewise.
2741         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2742         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2743
2744 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2745
2746         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2747         -version-info, use substituted VERSION info.
2748         * src/Makefile.in: Regenerate.
2749
2750 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2751
2752         Implement std::messages.
2753         Make config a fully-nested directory.
2754         * config/locale: New directory.
2755         * config/c_locale_generic.cc: Move into locale subdirectory.
2756         * config/c_locale_generic.h: Same.
2757         * config/c_locale_gnu.cc: Same.
2758         * config/c_locale_gnu.h: Same.
2759         * config/c_locale_ieee_1003.1-200x.cc: Same.
2760         * config/c_locale_ieee_1003.1-200x_.h: Same.
2761         * config/codecvt_specializations_generic.h: Same.
2762         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2763         * config/messages_members_gnu.h: Same.
2764         * config/messaages_members_gnu.cc: Same.
2765         * config/messages_members_generic.h: Same.
2766         * config/messaages_members_generic.cc: Same.
2767         * config/messages_members_ieee_1003.1-200x.h: Same.
2768         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2769         * config/io: New directory.
2770         * config/basic_file_libio.h: Move into io subdirectory.
2771         * config/basic_file_libio.cc: Same.
2772         * config/c_io_libio.h: Same.
2773         * config/c_io_libio_codecvt.c: Same.
2774         * config/basic_file_stdio.h: Same.
2775         * config/basic_file_stdio.cc: Same.
2776         * config/c_io_stdio.h: Same.
2777
2778         * po: New directory.
2779         * po/POTFILES.in: New file.
2780         * po/Makefile.am: New file.
2781         * po/Makefile.in: New file.
2782         * po/libstdc++.pot: Generic translation file.
2783         * po/fr.po: Preliminary French translation.
2784         * po/de.po: Preliminary German translation.
2785         * intl: New directory.
2786         * intl/Makefile.am: New file.
2787         * intl/Makefile.in: New file.
2788         * intl/string_literals.cc: New file.
2789         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2790         requisite setup for gettext. Re-arrange.
2791         * aclocal.m4: Regenerate.
2792         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2793         Output Makefile bits for po and intl.
2794         * configure: Regenerate.
2795         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2796         * Makefile.in: Regenerate.
2797         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2798         * config.h.in: Regenerate.
2799
2800         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2801
2802         * include/Makefile.am (install-data-local): Don't install Makefile.
2803         * include/Makefile.in: Regenerate.
2804
2805         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2806         Add member.
2807         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2808         * config/locale/c_locale_generic.cc: Same.
2809         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2810
2811         * include/bits/codecvt.h: Excise non-standard, non-required
2812         bits. This includes __enc_traits, and partial specializations of
2813         codecvt for __enc_traits.
2814         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2815         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2816         * config/codecvt_partials_generic.h: New file.
2817         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2818         (stamp-codecvt_model): Add.
2819         * include/Makefile.in: Regenerate.
2820         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2821         * aclocal.m4: Regenerate.
2822         * configure: Regenerate.
2823         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2824         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2825         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2826
2827         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2828         as a friend for _S_*_c_locale functions.
2829         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2830         argument to default constructor so that CODESET information can be
2831         deduced.
2832         * include/bits/locale_facets.h (messages_byname):
2833         Re-implement. Remove specializations.
2834         * src/locale.cc (messages_byname<char>): Remove specialization.
2835         (messages_byname<wchar_t>): Same.
2836         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2837         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2838         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2839         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2840         * config/locale/messages_members_gnu.cc: New file.
2841         * config/locale/messages_members_gnu.h: New file.
2842         * config/locale/messages_members_generic.cc: New file.
2843         * config/locale/messages_members_generic.h: New file.
2844
2845         * docs/html/configopts.html: Add documentation for new locale
2846         model, ieee_1003.1. Adjust other flags for current defaults.
2847         * docs/html/22_locale/locale.html: Update.
2848         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2849         * docs/html/22_locale/messages.html: New.
2850
2851         * src/Makefile.am (sources): Add messages_virtuals.cc.
2852         * src/Makefile.in: Regenerate.
2853         * include/Makefile.am (allstamps): Add stamp-messages_model.
2854         (stamp-messages_model): Add.
2855         * include/Makefile.in: Regenerate.
2856         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2857         * aclocal.m4: Regenerate.
2858         * configure: Regenerate.
2859
2860         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2861         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2862         bits for Irix.
2863         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2864         build directories message catalog base directory, and export.
2865         Eventually this should probably be made to deal with build and
2866         install directories. For now, punt on this as the library itself
2867         doesn't use message catalogs (yet).
2868         * testsuite/22_locale/messages.cc: New file.
2869         * testsuite/22_locale/messages_char_members.cc: New file.
2870         * testsuite/22_locale/messages_byname.cc: New file.
2871
2872 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2873
2874         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2875         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2876         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2877         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2878         Call GLIBCPP_CONFIGURE_TESTSUITE.
2879         * aclocal.m4:  Regenerate.
2880         * config.h.in:  Regenerate.
2881         * configure:  Regenerate.
2882
2883         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2884         of old header.
2885
2886         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2887         * testsuite/debug_assert.h:  Removed; contents merged into...
2888         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2889         * testsuite/17_intro/header_ciso646.cc:  No longer include
2890         debug_assert.h, include testsuite_hooks.h instead.
2891         * testsuite/17_intro/header_fstream.cc:  Likewise.
2892         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2893         * testsuite/17_intro/header_ios.cc:  Likewise.
2894         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2895         * testsuite/17_intro/header_iostream.cc:  Likewise.
2896         * testsuite/17_intro/header_istream.cc:  Likewise.
2897         * testsuite/17_intro/header_ostream.cc:  Likewise.
2898         * testsuite/17_intro/header_sstream.cc:  Likewise.
2899         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2900         * testsuite/18_support/numeric_limits.cc:  Likewise.
2901         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2902         * testsuite/20_util/allocator_members.cc:  Likewise.
2903         * testsuite/20_util/auto_ptr.cc:  Likewise.
2904         * testsuite/20_util/pairs.cc:  Likewise.
2905         * testsuite/21_strings/append.cc:  Likewise.
2906         * testsuite/21_strings/capacity.cc:  Likewise.
2907         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2908         * testsuite/21_strings/compare.cc:  Likewise.
2909         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2910         call to (disabled) __set_testsuite_memlimit() wrapper.
2911         * testsuite/21_strings/element_access.cc:  Likewise.
2912         * testsuite/21_strings/find.cc:  Likewise.
2913         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2914         (disabled) __set_testsuite_memlimit() wrapper.
2915         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2916         * testsuite/21_strings/invariants.cc:  Likewise.
2917         * testsuite/21_strings/nonmember.cc:  Likewise.
2918         * testsuite/21_strings/operations.cc:  Likewise.
2919         * testsuite/21_strings/replace.cc:  Likewise.
2920         * testsuite/21_strings/rfind.cc:  Likewise.
2921         * testsuite/21_strings/substr.cc:  Likewise.
2922         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2923         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2924         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2925         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2926         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2927         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2928         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2929         * testsuite/22_locale/facet.cc:  Likewise.
2930         * testsuite/22_locale/global_templates.cc:  Likewise.
2931         * testsuite/22_locale/members.cc:  Likewise.
2932         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2933         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2934         * testsuite/22_locale/operators.cc:  Likewise.
2935         * testsuite/22_locale/static_members.cc:  Likewise.
2936         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2937         * testsuite/23_containers/bitset_members.cc:  Likewise.
2938         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2939         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2940         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2941         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2942         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2943         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2944         * testsuite/24_iterators/iterator.cc:  Likewise.
2945         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2946         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2947         * testsuite/25_algorithms/copy.cc:  Likewise.
2948         * testsuite/25_algorithms/heap.cc:  Likewise.
2949         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2950         * testsuite/25_algorithms/min_max.cc:  Likewise.
2951         * testsuite/25_algorithms/partition.cc:  Likewise.
2952         * testsuite/25_algorithms/rotate.cc:  Likewise.
2953         * testsuite/25_algorithms/sort.cc:  Likewise.
2954         * testsuite/26_numerics/c_math.cc:  Likewise.
2955         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2956         * testsuite/26_numerics/complex_value.cc:  Likewise.
2957         * testsuite/27_io/filebuf.cc:  Likewise.
2958         * testsuite/27_io/filebuf_members.cc:  Likewise.
2959         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2960         * testsuite/27_io/fpos.cc:  Likewise.
2961         * testsuite/27_io/fstream_members.cc:  Likewise.
2962         * testsuite/27_io/ifstream_members.cc:  Likewise.
2963         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2964         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2965         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2966         * testsuite/27_io/ios_ctor.cc:  Likewise.
2967         * testsuite/27_io/ios_init.cc:  Likewise.
2968         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2969         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2970         * testsuite/27_io/ios_members.cc:  Likewise.
2971         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2972         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2973         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2974         * testsuite/27_io/istream_manip.cc:  Likewise.
2975         * testsuite/27_io/istream_seeks.cc:  Likewise.
2976         * testsuite/27_io/istream_sentry.cc:  Likewise.
2977         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2978         * testsuite/27_io/istringstream_members.cc:  Likewise.
2979         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2980         * testsuite/27_io/ofstream_members.cc:  Likewise.
2981         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2982         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2983         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2984         * testsuite/27_io/ostream_manip.cc:  Likewise.
2985         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2986         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2987         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2988         * testsuite/27_io/streambuf.cc:  Likewise.
2989         * testsuite/27_io/stringbuf.cc:  Likewise.
2990         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2991         * testsuite/27_io/stringstream.cc:  Likewise.
2992         * testsuite/27_io/stringstream_members.cc:  Likewise.
2993         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2994
2995 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2996
2997         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2998
2999 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
3000
3001         * configure.target: Remove mips from cpu table.
3002         * config/cpu/mips/bits/atomicity.h: Remove generic
3003         versions. Comment sgidefs include.
3004
3005 2001-07-25  H.J. Lu <hjl@gnu.org>
3006
3007         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3008         for mips.
3009
3010         * config/cpu/mips/bits/atomicity.h: New.
3011
3012 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3013
3014         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3015         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
3016         * aclocal.m4: Regenerate.
3017         * config.h.in: Likewise.
3018         * configure: Likewise.
3019         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3020         (EXTRA_DIST): Remove hypot.c hypotf.c.
3021         * libmath/Makefile.am: Regenerate.
3022         * libmath/hypotf.c: Remove.
3023         * libmath/hypot.c: Likewise.
3024         * libmath/hypotl.c: Likewise.
3025         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3026         _GLIBCPP_HAVE_xxx.  Add long double versions.
3027
3028 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
3029
3030         * include/bits/limits_generic.h (int): Set digits and digits10
3031         appropriately for word size.
3032         (unsigned int,long,unsigned long): Likewise.
3033
3034 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3035
3036         * include/bits/stl_algo.h : Fix typos.
3037         * testsuite/25_algorithms/unique.cc: New file.
3038
3039 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
3040             Mark Mitchell <mark@codesourcery.com>
3041
3042         Merge from cp-parser-branch.
3043         * include/bits/basic_string.h:  Qualify symbols with 'template'.
3044         * include/bits/basic_string.tcc:  Likewise.
3045         * include/bits/fstream.tcc:  Likewise.
3046         * include/bits/istream.tcc:  Likewise.
3047         * include/bits/sstream.tcc:  Likewise.
3048         * include/bits/std_istream.h:  Likewise.
3049         * include/bits/stl_iterator.h:  Likewise.
3050         * include/bits/streambuf.tcc:  Likewise.
3051         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
3052         * src/locale.cc:  Likewise.
3053
3054 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3055             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3056
3057         * src/gen-num-limits.cc (set_signals_handler): New function.
3058         Factor out signals setting.  Set signal handler for SIGILL.
3059
3060 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
3061
3062         * docs/html/27_io/howto.html:  Fix typo.
3063         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
3064         * docs/html/faq/index.txt:  Regenerated.
3065
3066 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
3067             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
3068
3069         libstdc++/3599
3070         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3071         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3072
3073 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
3074
3075         All occurrences of the __value_type() and __distance_type()
3076         functions, which were required to support the HP STL, have been
3077         removed along with all the auxiliary forwarding functions that
3078         were required to support their use.
3079
3080         The __iterator_category() function was pretty much left alone
3081         because there was no benefit to removing it and its use made code
3082         just a little more readable.
3083
3084         Incidences of distance() with nonstandard argument list were
3085         replaced by calls to the standard function (only in the files
3086         affected by the removal of the other HP functions).
3087
3088         The signature of the rotate() algorithm was changed to match the
3089         standard.
3090
3091         Headers were reformatted under C++STYLE guidelines (indentation,
3092         linebreaks, typename keyword).
3093
3094         * include/bits/stl_algo.h: replaced __value_type() and
3095         __distance_type() with iterator_traits, eliminated auxiliary
3096         support functions required to support said function usage.
3097         Changed nonstandard distance() call to standard call.
3098
3099         * include/bits/stl_algobase.h: Same.
3100         * include/bits/stl_heap.h: Same.
3101         * include/bits/stl_numeric.h: Same.
3102         * include/bits/stl_uninitialized.h: Same.
3103         * include/bits/stl_iterator_base_types.h (__value_type()):
3104         Removed.
3105         (__distance_type()): Removed.
3106         (value_type()): Gone.
3107         (distance_type()): Done in.
3108         (iterator_category()): Hasta la vista, baby.
3109
3110         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3111         Replaced with __iterator_category().
3112         * include/backward/iterator.h: moved definition of value_type(),
3113         distance_type(), and iterator_category() out of std:: and into
3114         here.
3115         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3116         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3117         * testsuite/25_algorithms/rotate.cc: New testcase.
3118         * testsuite/25_algorithms/copy.cc: New testcase.
3119         * testsuite/25_algorithms/sort.cc: Same.
3120         * testsuite/25_algorithms/heap.cc: Same.
3121         * testsuite/25_algorithms/partition.cc: Same.
3122         * testsuite/25_algorithms/binary_search.cc: Same.
3123         * testsuite/26_numerics/sum_diff.cc: Ditto.
3124
3125 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
3126
3127         * testsuite/README: Add notes on naming test cases.
3128         * testsuite/22_locale/members.cc: Mark as xfail.
3129         * testsuite/22_locale/numpunct_char_members.cc: Same.
3130
3131 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
3132
3133         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
3134         setting C_INCLUDE_DIR.
3135         * configure.in:  Revert yesterday's LN_S change.
3136         * aclocal.m4:  Regenerate.
3137         * configure:  Regenerate.
3138
3139 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
3140
3141         * configure.in:  Temporarily force LN_S to copy instead of symlink.
3142         * configure:  Regenerate.
3143
3144 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
3145
3146         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3147         Initialize _M_string with pointer-and-size constructor, not just
3148         pointer.  Fix some comments.
3149         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
3150         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
3151         (test03):  Add embedded-NUL tests.
3152
3153         * mkcheck.in:  When printing totals, match the order of the tests.
3154         * include/bits/stringfwd.h:  Use same declaration keywords.
3155         * include/bits/std_iosfwd.h:  Cosmetic spacing.
3156
3157 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
3158             Loren J. Rittle  <ljrittle@acm.org>
3159             Phil Edwards  <pme@sources.redhat.com>
3160
3161         * include/Makefile.am:  New file encapsulating header generation rules.
3162         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
3163         * acinclude.m4:  Moved/removed rules for building various headers.
3164         * configure.in (AC_OUTPUT):  Add include/Makefile.
3165         * mkc++config:  Removed.
3166
3167         * testsuite_flags.in:  Changed build-includes to match new scheme.
3168         * mknumeric_limits:  Likewise.
3169         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
3170         * libmath/Makefile.am:  Likewise.
3171         * libsupc++/Makefile.am:  Likewise.
3172         * src/Makefile.am:  Likewise; removed rules to build headers.
3173         * libmath/mathconf.h:  Changed #include'd header names to match.
3174         * libmath/stubs.c:  Likewise.
3175         * src/gen-num-limits.cc:  Likewise.
3176
3177         * configure:  Regenerated.
3178         * config.h.in:  Regenerated.
3179         * aclocal.m4:  Regenerated.
3180         * Makefile.in:  Regenerated.
3181         * include/Makefile.in:  Regenerated.
3182         * libio/Makefile.in:  Regenerated.
3183         * libmath/Makefile.in:  Regenerated.
3184         * libsupc++/Makefile.in:  Regenerated.
3185         * src/Makefile.in:  Regenerated.
3186         * testsuite/Makefile.in:  Regenerated.
3187
3188 2001-07-11   Felix Natter  <fnatter@gmx.net>
3189
3190         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
3191         master copy.
3192         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
3193
3194 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
3195
3196         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
3197         * docs/doxygen/user.cfg.in:  Tweaks.
3198         * include/bits/c++config:  Documentation comments for Doxygen.
3199         * include/bits/char_traits.h:  Likewise.
3200         * include/bits/limits_generic.h:  Likewise.
3201         * include/bits/std_stdexcept.h:  Likewise.
3202         * include/bits/stl_pair.h:  Likewise.
3203         * libsupc++/exception:  Likewise.
3204         * libsupc++/new:  Likewise.
3205         * libsupc++/typeinfo:  Likewise.
3206         * libmath/Makefile.am:  Update and correct copyright.
3207
3208 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3209
3210         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3211         * aclocal.m4: Regenerate.
3212         * configure: Same.
3213
3214 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3215
3216         * docs/html/configopts.html:  Fix thinko.
3217         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
3218         * include/bits/stl_iterator.h:  Fix typo.
3219
3220 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3221
3222         * docs/html/explanations.html:  New file.
3223         * docs/html/configopts.html:  Link to it to provide more notes
3224         on cstdio.  Minor markup and spacing fixes.
3225         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
3226
3227 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3228
3229         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3230         for _Expr template template argument.
3231         (_Expr::operator-): Likewise.
3232         (_Expr::operator~): Likewise.
3233         (_Expr::operator!): Likewise.
3234         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3235
3236 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3237
3238         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3239         * libmath/Makefile.in: Regenerate.
3240         * libmath/expf.c: Remove.
3241         * libmath/atan2f.c: Likewise.
3242
3243 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
3244
3245         * configure.in: Remove NATIVE, NULL_TARGET.
3246         Set CANADIAN only for Canadian crosses.  Set xcompiling
3247         for both Canadian crosses and host-x-host crosses.
3248         * configure: Regenerated.
3249
3250 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3251
3252         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3253
3254 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
3255
3256         * testsuite_flags.in (--build-includes): backward, not backwards.
3257
3258 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
3259
3260         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3261         Replace destroy by _Destroy.
3262         (_Rope_RopeRep::_S_free_string): Likewise.
3263         (rope::c_str()): Likewise.
3264         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3265         (_Slist_base::_M_erase_after): Likewise.
3266         (slist::_M_create_node): Replace construct by _Construct.
3267         (slist::pop_front): Replace destroy by _Destroy.
3268         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3269         construct by _Construct.
3270         (hashtable::_M_delete_node): Replace destroy by _Destroy.
3271         * include/ext/stl_rope.h (rope::rope): Replace construct by
3272         _Construct.
3273         (rope::copy): Replace destroy by _Destroy.
3274
3275 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3276
3277         * include/bits/localefwd.h: Format.
3278         * include/bits/locale_facts.tcc (locale::combine): Adjust.
3279         * src/locale.cc (locale::locale::(_Impl)): Don't call
3280         _M_add_reference.
3281         (locale::facet::_M_remove_reference): Simplify.
3282         * src/globals.cc (locale_impl_c): New. Format.
3283         (locale_c): New.
3284         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3285
3286 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3287
3288         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3289         expansion (thanks to Alexandre Oliva).
3290         * aclocal.m4: Regenerate.
3291         * configure: Regenerate.
3292
3293 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
3294
3295         * src/locale.cc (locale::locale(const char*)): Make sure global
3296         locales are initialized.
3297         * include/bits/locale_facets.tcc (locale::combine): Refcout should
3298         be zero, not one as it's return-by-value.
3299         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3300         named locales here.
3301         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3302         for it here.
3303         (test02): Add test.
3304         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3305
3306 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3307
3308         libstdc++/3284
3309         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3310         * aclocal.m4: Regenerate.
3311         * configure: Regenerate.
3312
3313 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3314
3315         libstdc++/3243
3316         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3317         staged/installed area to support -I-.  Document.
3318         * aclocal.m4: Regenerate.
3319         * configure: Regenerate.
3320
3321 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3322
3323         libstdc++/2211
3324         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3325         __out_bufsize.  Add __in_bufsize, document it and use it.
3326
3327 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
3328
3329         * include/bits/stl_construct.h (construct): Remove.
3330         (destroy): Remove.
3331         (__destroy): Replaced by use of iterator_traits.
3332         * include/bits/stl_deque.h: replaced HP iterator functions with
3333         iterator_traits.
3334         (construct): changed to _Construct.
3335         (destroy): changed to _Destroy.
3336         * include/bits/stl_tempbuf.h: Same.
3337         * include/bits/stl_tree.h: Same.
3338         * include/bits/stl_vector.h: Same.
3339         * include/backward/iterator.h (construct): moved definition to here.
3340         (destroy): Same.
3341
3342 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
3343
3344         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3345         before replacing facet.
3346         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3347         Correct decrement.
3348         * src/localename.cc (locale::_Impl): Correct ctor initialization
3349         lists. Initialize ref count with one. Simplify.
3350         * src/locale.cc: Add comment.
3351         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3352         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3353         * testsuite/22_locale/members.cc (test02): Fix.
3354
3355 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
3356
3357         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
3358         block, this time for real.
3359         * include/backward/algobase.h:  Likewise.
3360         * include/backward/alloc.h:  Likewise.
3361         * include/backward/bvector.h:  Likewise.
3362         * include/backward/defalloc.h:  Likewise.
3363         * include/backward/deque.h:  Likewise.
3364         * include/backward/function.h:  Likewise.
3365         * include/backward/hash_map.h:  Likewise.
3366         * include/backward/hash_set.h:  Likewise.
3367         * include/backward/hashtable.h:  Likewise.
3368         * include/backward/heap.h:  Likewise.
3369         * include/backward/iterator.h:  Likewise.
3370         * include/backward/list.h:  Likewise.
3371         * include/backward/map.h:  Likewise.
3372         * include/backward/multimap.h:  Likewise.
3373         * include/backward/multiset.h:  Likewise.
3374         * include/backward/pair.h:  Likewise.
3375         * include/backward/rope.h:  Likewise.
3376         * include/backward/set.h:  Likewise.
3377         * include/backward/slist.h:  Likewise.
3378         * include/backward/stack.h:  Likewise.
3379         * include/backward/strstream:  Likewise.
3380         * include/backward/tempbuf.h:  Likewise.
3381         * include/backward/tree.h:  Likewise.
3382         * include/backward/vector.h:  Likewise.
3383         * include/bits/pthread_allocimpl.h:  Likewise.
3384         * include/bits/std_algorithm.h:  Likewise.
3385         * include/bits/std_bitset.h:  Likewise.
3386         * include/bits/std_deque.h:  Likewise.
3387         * include/bits/std_functional.h:  Likewise.
3388         * include/bits/std_iterator.h:  Likewise.
3389         * include/bits/std_list.h:  Likewise.
3390         * include/bits/std_map.h:  Likewise.
3391         * include/bits/std_memory.h:  Likewise.
3392         * include/bits/std_numeric.h:  Likewise.
3393         * include/bits/std_queue.h:  Likewise.
3394         * include/bits/std_set.h:  Likewise.
3395         * include/bits/std_stack.h:  Likewise.
3396         * include/bits/std_utility.h:  Likewise.
3397         * include/bits/std_vector.h:  Likewise.
3398         * include/bits/stl_algo.h:  Likewise.
3399         * include/bits/stl_algobase.h:  Likewise.
3400         * include/bits/stl_alloc.h:  Likewise.
3401         * include/bits/stl_bvector.h:  Likewise.
3402         * include/bits/stl_construct.h:  Likewise.
3403         * include/bits/stl_deque.h:  Likewise.
3404         * include/bits/stl_function.h:  Likewise.
3405         * include/bits/stl_heap.h:  Likewise.
3406         * include/bits/stl_iterator.h:  Likewise.
3407         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3408         * include/bits/stl_iterator_base_types.h:  Likewise.
3409         * include/bits/stl_list.h:  Likewise.
3410         * include/bits/stl_map.h:  Likewise.
3411         * include/bits/stl_multimap.h:  Likewise.
3412         * include/bits/stl_multiset.h:  Likewise.
3413         * include/bits/stl_numeric.h:  Likewise.
3414         * include/bits/stl_pair.h:  Likewise.
3415         * include/bits/stl_pthread_alloc.h:  Likewise.
3416         * include/bits/stl_queue.h:  Likewise.
3417         * include/bits/stl_raw_storage_iter.h:  Likewise.
3418         * include/bits/stl_relops.h:  Likewise.
3419         * include/bits/stl_set.h:  Likewise.
3420         * include/bits/stl_stack.h:  Likewise.
3421         * include/bits/stl_tempbuf.h:  Likewise.
3422         * include/bits/stl_threads.h:  Likewise.
3423         * include/bits/stl_tree.h:  Likewise.
3424         * include/bits/stl_uninitialized.h:  Likewise.
3425         * include/bits/stl_vector.h:  Likewise.
3426         * include/bits/type_traits.h:  Likewise.
3427         * include/ext/hash_map:  Likewise.
3428         * include/ext/hash_set:  Likewise.
3429         * include/ext/rope:  Likewise.
3430         * include/ext/ropeimpl.h:  Likewise.
3431         * include/ext/slist:  Likewise.
3432         * include/ext/stl_hash_fun.h:  Likewise.
3433         * include/ext/stl_hashtable.h:  Likewise.
3434         * include/ext/stl_rope.h:  Likewise.
3435         * src/bitset.cc:  Likewise.
3436         * src/strstream.cc:  Likewise.
3437
3438 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3439                              <vakatov@ncbi.nlm.nih.gov>
3440
3441         libstdc++/3272
3442         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3443         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3444         * testsuite/27_io/istream_extractor_other.cc: Fix.
3445
3446 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
3447
3448         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3449         * aclocal.m4: Regenerate.
3450         * configure: Regenerate.
3451
3452 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3453
3454         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3455         (ostream_iterator): Same.
3456         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3457         Change argument to const_reference.
3458         (back_insert_iterator): Same.
3459
3460 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3461
3462         * include/bits/sbuf_iter.h: Change to..
3463         * include/bits/streambuf_iterator.h: This.
3464         * include/bits/stl_iterator.h: Take out of here...
3465         * include/bits/stream_iterator.h: Add.
3466         * src/Makefile.am (base_headers): Add streambuf_iterator,
3467         stream_iterator.h
3468         * src/Makefile.in: Regenerate.
3469         * include/bits/std_string.h: Adjust includes.
3470         * include/bits/basic_ios.h: Same.
3471         * include/bits/locale_facets.tcc: Same.
3472         * include/bits/std_iosfwd.h: Same.
3473
3474         * include/bits/std_iterator.h: Add istream, ostream includes.
3475         * include/bits/stl_iterator.h: Tweak.
3476         * testsuite/24_iterators/ostream_iterator.cc: Add test.
3477         * testsuite/24_iterators/istream_iterator.cc: Same.
3478         * testsuite/23_containers/multiset.cc: Add iterator include.
3479
3480 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
3481
3482         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
3483         * aclocal.m4:  Regenerate.
3484         * configure:  Regenerate.
3485
3486 2001-06-26  Felix Natter  <f.natter@ndh.net>
3487
3488         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
3489
3490 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3491
3492         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3493         return values.
3494         (istream_iterator::operator*): Same.
3495
3496 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3497             Alexandre Petit-Bianco  <apbianco@redhat.com>
3498
3499         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3500         is on 41st, not 14th.
3501
3502 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3503
3504         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3505
3506         * include/bits/stl_iterator.h (istream_iterator): Inherit from
3507         iterator.
3508         (ostream_iterator): Same.
3509         * testsuite/24_iterators/istream_iterator.cc: New file.
3510         * testsuite/24_iterators/ostream_iterator.cc: New file.
3511
3512         * include/bits/sbuf_iter.h: Remove self typedef.
3513         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3514         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3515
3516         * include/bits/stl_iterator.h (reverse_iterator): Remove
3517         extraneous typedefs. Add typename.
3518         (__normal_iterator): Remove typedefs referring to self. Add typename.
3519         (reverse_bidiretional_iterator): Remove, not longer required.
3520
3521 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3522
3523         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3524         dependent names with `typename'.  Bring in various required
3525         iterator_traits members.  Can't imagine why that used to work.
3526
3527 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
3528             Kurt Garloff <garloff@suse.de>
3529
3530         PR libstdc++/3377
3531         * src/cmath.cc:  New [version of an old] file; instantiate
3532         __cmath_power to start with.
3533         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
3534         * Makefile.in:  Regenerate.
3535         * libio/Makefile.in:  Regenerate.
3536         * libmath/Makefile.in:  Regenerate.
3537         * libsupc++/Makefile.in:  Regenerate.
3538         * src/Makefile.in:  Regenerate.
3539         * testsuite/Makefile.in:  Regenerate.
3540
3541 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3542
3543         * libmath/stubs.c: Fix thinko.
3544
3545 2001-06-24  David Edelsohn <dje@watson.ibm.com>
3546
3547         * libmath/stubs.c (sqrtf): Define.
3548         (tanf): Correct typo.
3549
3550 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
3551
3552         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3553         iterator.
3554         (back_insert_iterator): Same.
3555         (front_insert_iterator): Same.
3556         (insert_iterator): Same.
3557
3558         * testsuite/20_util/raw_storage_iterator.cc: Modify.
3559         * testsuite/24_iterators/reverse_iterator.cc: New file.
3560         * testsuite/24_iterators/back_insert_iterator.cc: New file.
3561         * testsuite/24_iterators/front_insert_iterator.cc: New file.
3562         * testsuite/24_iterators/insert_iterator.cc: New file.
3563
3564 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
3565
3566         * include/*:  Revert comment/license change from yesterday for all
3567         except libsupc++/unwind-cxx.h.
3568         * src/bitset.cc:  Likewise.
3569         * src/strstream.cc:  Likewise.
3570
3571 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3572
3573         * libmath/stubs.c: New file.
3574         (tanhf): Fix typo.
3575         (powf): Likewise.
3576
3577         * libmath/Makefile.am (libmath_la_SOURCES): Add.
3578         * libmath/Makefile.in.  Regenerate.
3579
3580 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
3581
3582         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
3583         * include/backward/algobase.h:  Likewise.
3584         * include/backward/alloc.h:  Likewise.
3585         * include/backward/bvector.h:  Likewise.
3586         * include/backward/defalloc.h:  Likewise.
3587         * include/backward/deque.h:  Likewise.
3588         * include/backward/function.h:  Likewise.
3589         * include/backward/hash_map.h:  Likewise.
3590         * include/backward/hash_set.h:  Likewise.
3591         * include/backward/hashtable.h:  Likewise.
3592         * include/backward/heap.h:  Likewise.
3593         * include/backward/iterator.h:  Likewise.
3594         * include/backward/list.h:  Likewise.
3595         * include/backward/map.h:  Likewise.
3596         * include/backward/multimap.h:  Likewise.
3597         * include/backward/multiset.h:  Likewise.
3598         * include/backward/pair.h:  Likewise.
3599         * include/backward/rope.h:  Likewise.
3600         * include/backward/set.h:  Likewise.
3601         * include/backward/slist.h:  Likewise.
3602         * include/backward/stack.h:  Likewise.
3603         * include/backward/strstream:  Likewise.
3604         * include/backward/tempbuf.h:  Likewise.
3605         * include/backward/tree.h:  Likewise.
3606         * include/backward/vector.h:  Likewise.
3607         * include/bits/pthread_allocimpl.h:  Likewise.
3608         * include/bits/std_algorithm.h:  Likewise.
3609         * include/bits/std_bitset.h:  Likewise.
3610         * include/bits/std_deque.h:  Likewise.
3611         * include/bits/std_functional.h:  Likewise.
3612         * include/bits/std_iterator.h:  Likewise.
3613         * include/bits/std_list.h:  Likewise.
3614         * include/bits/std_map.h:  Likewise.
3615         * include/bits/std_memory.h:  Likewise.
3616         * include/bits/std_numeric.h:  Likewise.
3617         * include/bits/std_queue.h:  Likewise.
3618         * include/bits/std_set.h:  Likewise.
3619         * include/bits/std_stack.h:  Likewise.
3620         * include/bits/std_utility.h:  Likewise.
3621         * include/bits/std_vector.h:  Likewise.
3622         * include/bits/stl_algo.h:  Likewise.
3623         * include/bits/stl_algobase.h:  Likewise.
3624         * include/bits/stl_alloc.h:  Likewise.
3625         * include/bits/stl_bvector.h:  Likewise.
3626         * include/bits/stl_construct.h:  Likewise.
3627         * include/bits/stl_deque.h:  Likewise.
3628         * include/bits/stl_function.h:  Likewise.
3629         * include/bits/stl_heap.h:  Likewise.
3630         * include/bits/stl_iterator.h:  Likewise.
3631         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3632         * include/bits/stl_iterator_base_types.h:  Likewise.
3633         * include/bits/stl_list.h:  Likewise.
3634         * include/bits/stl_map.h:  Likewise.
3635         * include/bits/stl_multimap.h:  Likewise.
3636         * include/bits/stl_multiset.h:  Likewise.
3637         * include/bits/stl_numeric.h:  Likewise.
3638         * include/bits/stl_pair.h:  Likewise.
3639         * include/bits/stl_pthread_alloc.h:  Likewise.
3640         * include/bits/stl_queue.h:  Likewise.
3641         * include/bits/stl_raw_storage_iter.h:  Likewise.
3642         * include/bits/stl_relops.h:  Likewise.
3643         * include/bits/stl_set.h:  Likewise.
3644         * include/bits/stl_stack.h:  Likewise.
3645         * include/bits/stl_tempbuf.h:  Likewise.
3646         * include/bits/stl_threads.h:  Likewise.
3647         * include/bits/stl_tree.h:  Likewise.
3648         * include/bits/stl_uninitialized.h:  Likewise.
3649         * include/bits/stl_vector.h:  Likewise.
3650         * include/bits/type_traits.h:  Likewise.
3651         * include/ext/hash_map:  Likewise.
3652         * include/ext/hash_set:  Likewise.
3653         * include/ext/rope:  Likewise.
3654         * include/ext/ropeimpl.h:  Likewise.
3655         * include/ext/slist:  Likewise.
3656         * include/ext/stl_hash_fun.h:  Likewise.
3657         * include/ext/stl_hashtable.h:  Likewise.
3658         * include/ext/stl_rope.h:  Likewise.
3659         * libsupc++/unwind-cxx.h:  Likewise.
3660         * src/bitset.cc:  Likewise.
3661         * src/strstream.cc:  Likewise.
3662
3663 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3664
3665         * include/bits/indirect_array.h (indirect_array<>::operator=):
3666         Make copy and assignment operator public.  Implement.  Format.
3667
3668         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3669         for copy between index arrays.  Format.
3670
3671 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3672
3673         * mknumeric_limits: Add static definitions, format.
3674         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3675
3676         * include/c_std/bits/std_cwchar.h: Include ctime.
3677         * testsuite/17_intro/header_cwchar.cc : Check.
3678
3679         * include/c_std/bits/std_cwctype.h: Inject wctype.
3680         * testsuite/17_intro/header_cwctype.cc: Update.
3681
3682 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3683
3684         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3685         * testsuite/20_util/raw_storage_iterator.cc: Same.
3686
3687         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3688         operator new.
3689         (__mem_interface): New typedef for switching between malloc and new.
3690         * testsuite/20_util/allocator_members.cc: New file.
3691
3692         * testsuite/20_util/comparisons.cc: New file.
3693         * testsuite/20_util/pairs.cc: New file.
3694
3695 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3696
3697         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3698
3699 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3700
3701         * configure.in (auxdir): Replace by ...
3702         (toprel): ... new variable.
3703         (toplevel_srcdir): Construct from $toprel.
3704         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3705         rather than .. to locate gcc source directory.
3706         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3707         * aclocal.m4, configure: Rebuilt.
3708
3709 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3710
3711         (Approved by Mark and Benjamin.  Applied by Loren.)
3712
3713         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3714         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3715         and _GLIBCPP_mutex_address.
3716         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3717         once-only runtime initialization of _M_lock mutex when
3718         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3719         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3720         for __GTHREAD_MUTEX_INIT_FUNCTION case.
3721
3722 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3723
3724         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3725
3726         * include/bits/slice_array.h (slice_array<>::operator=): Make
3727         public and implement.
3728         (slice_array<>::slice_array): Make copy-constructor public.
3729
3730         * include/bits/valarray_array.h (__valarray_copy): Add another
3731         overload to copy between strided arrays.
3732
3733 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3734
3735         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3736         * aclocal.m4: Regenerate.
3737         * configure: Regenerate.
3738         * include/bits/c++config (__GLIBCPP__): Update date.
3739
3740 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3741
3742         * include/bits/fpos.h (fpos::operator-): Don't return reference,
3743         return original, non-modified version.
3744         (fpos::operator+): Same.
3745         * testsuite/27_io/fpos.cc: Add test.
3746
3747 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
3748
3749         libstdc++/2071
3750         * porting.texi: Add documentation about libstdc++-v3-specific
3751         macros that are currently included in os_defines.h files.
3752
3753         * config/basic_file_stdio.h (sys_getc): New method.
3754         (sys_ungetc): New method.
3755         * include/bits/basic_file.h: (sys_getc): New method signature.
3756         (sys_ungetc): New method signature.
3757
3758         * include/bits/fstream.tcc (underflow): Add conditional code
3759         paths which avoid using short seeks on streams (especially
3760         useful when the stream might be interactive or a pipe).  At
3761         the moment, this alternate path only avoids seeking when the
3762         ``buffer size'' of underflow() is 1 since the C standard only
3763         guarantees buffer space for one ungetc (this technique could
3764         be extended since *-*-solaris* supports buffering for 4 calls
3765         to ungetc and *-*-*bsd* supports buffering limited only by
3766         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3767         in a port's os_defines.h file for this alternate path to even
3768         be considered.  As a bonus, the idiom of using getc/ungetc
3769         requires no system calls whereas fseek maps to one or two
3770         system call(s) on many platforms.
3771
3772         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3773         Define it.
3774         * config/os/solaris/solaris2.5/bits/os_defines.h
3775         (_GLIBCPP_AVOID_FSEEK): Likewise.
3776         * config/os/solaris/solaris2.6/bits/os_defines.h
3777         (_GLIBCPP_AVOID_FSEEK): Likewise.
3778         * config/os/solaris/solaris2.7/bits/os_defines.h
3779         (_GLIBCPP_AVOID_FSEEK): Likewise.
3780
3781 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3782
3783         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3784         AC_TRY_COMPILE, so that the built compiler is checked, and
3785         bootstraps or cross compiles with an older compile still work.
3786         * aclocal.m4: Regenerate.
3787         * configure: Regenerate.
3788
3789 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3790
3791         libstdc++/3142
3792         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3793
3794         libstdc++/3141
3795         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3796
3797         libstdc++/3140
3798         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3799
3800         libstdc++/3139
3801         * include/bits/limits_generic.h: Fix as per DR 184.
3802
3803 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3804
3805         libstdc++/3126
3806         * include/bits/basic_string.h (string::compare): Adjust signatures
3807         as per DR 5.
3808         * include/bits/basic_string.tcc: And here.
3809
3810         libstdc++/2346
3811         * config/c_io_stdio.h: Remove whitespace.
3812         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3813         (test02): Add regression.
3814         * testsuite/27_io/istream_seeks-3.tst: New file.
3815
3816 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3817
3818         * README:  Update to reflect reality.
3819         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3820         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3821         * aclocal.m4:  Regenerate.
3822         * configure:  Regenerate (with 2.13).
3823
3824 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3825
3826         libstdc++/3114
3827         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3828         per DR 129.
3829         * include/bits/istream.tcc (istream::seekg): Same.
3830         * testsuite/27_io/istream_seeks.cc: Fix.
3831
3832         libstdc++/3113
3833         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3834         (binder1st): Same.
3835         * include/bits/std_queue.h: Add c++config.h.
3836         * testsuite/20_util/binders.cc: New test.
3837
3838 2001-06-11  Matthias Klose  <doko@debian.org>
3839             Phil Edwards  <pme@sources.redhat.com>
3840
3841         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3842         (main script):  Echo more information.
3843
3844 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3845
3846         * include/c_std/bits/std_cwchar.h: Alphabetize.
3847         * include/bits/char_traits.h: Tweak.
3848         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3849         everything used by std_cwchar.h.
3850         * aclocal.m4: Regenerate.
3851         * configure.in: Regenerate.
3852         * config.h.in: Regenerate.
3853
3854 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3855
3856         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3857         Add checking for strtof, _Exit in stdlib.h
3858         * aclocal.m4: Regenerate.
3859         * configure.in: Regenerate.
3860         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3861         (snprintf): Put C99 functions into __gnu_cxx namespace.
3862         (vfscanf): Same.
3863         (vscanf): Same.
3864         (vsnprintf): Same.
3865         (vsscanf): Same.
3866         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3867         for C99 functions within _GLIBCPP_USE_C99 guard.
3868         (_Exit): Same.
3869         (strtof): Same.
3870         (strtold): Same.
3871         * include/bits/locale_facets.tcc: Check if C99 is enabled.
3872         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3873         C99 guard.
3874         * include/c_std/bits/cmath.tcc: Formatting tweak.
3875         * include/c_std/bits/std_cmath.h: Same.
3876
3877 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3878
3879         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3880
3881 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
3882             Stephen L Moshier  <moshier@mediaone.net>
3883
3884         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3885         nothing, as in autoconf 2.50.
3886         * configure: Rebuilt.
3887
3888 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3889
3890         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3891         include std_cstddef.
3892         * include/c_std/bits/std_ctime.h: Same.
3893         * include/c_std/bits/std_cstring.h: Same.
3894         * include/c_std/bits/std_cstdlib.h: Same.
3895
3896         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3897         * include/c_std/bits/std_cctype.h: Remove isblank.
3898
3899 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3900
3901         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3902         fgetws.
3903         * aclocal.m4: Regenerate.
3904         * configure: Regenerate.
3905         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3906         injection, guard fgetwc, fgetws.
3907         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3908         * include/c_std/bits/std_clocale.h: And here.
3909         * include/c_std/bits/std_cctype.h: And here.
3910         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3911
3912         * config/basic_file_stdio.h: Don't include unistd.h.
3913         * config/c_io_stdio.h: Don't use compatibility headers.
3914         * libsupc++/eh_terminate.cc: Qualify abort.
3915         (__terminate): And here.
3916         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3917
3918 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3919
3920         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3921
3922 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3923
3924         libstdc++/2767
3925         libstdc++/2989
3926         libstdc++/2992
3927         * include/std/*: Add copyright notice.
3928         * include/c_std/bits/*: Use using statements instead of extern "C".
3929         * include/c_std/bits/std_cmath.h: Don't overload double versions
3930         of math functions with __buitin versions, use global version to
3931         prevent ambiguities. Remove define hacks.
3932         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3933         functions that have changed signatures and std::
3934         declarations. Remove define hacks.
3935         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3936         __builtins in std::. Remove define hacks.
3937         * testsuite/17_intro/headers_c.cc: Add tests.
3938         * testsuite/17_intro/headers_c++.cc: Add test.
3939
3940 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3941             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3942
3943         c++/3082
3944         * libsupc++/eh_alloc.cc: Ensure that required macros are
3945         defined before including gthr.h.  Ensure that we get the
3946         version of gthr.h for which we know how to provide a
3947         configuration.
3948         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
3949         code path into line with the current EH model.  Use std, where
3950         appropriate.
3951
3952 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3953             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3954
3955         * config/threads-no.h: Remove file.
3956         * config/threads-posix.h: Remove file.
3957
3958         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3959         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3960         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3961         * config.h.in: Regenerate.
3962
3963         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3964         setup and use gthr*.h files.  In particular, make gthr.h files
3965         namespace-clean in the staging area (they don't have to be for
3966         libgcc.a).
3967         * aclocal.m4: Regenerate.
3968         * configure: Regenerate.
3969
3970         * src/Makefile.am (build_headers): Remove bits/c++threads.h
3971         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3972         * src/Makefile.in: Regenerate.
3973
3974         * include/bits/c++config: Cleanup threading configuration macros.
3975         In particular, define __STL_GTHREADS macro which controls...
3976         * include/bits/stl_threads.h: ...a brand new gthr.h-based
3977         configuration here.
3978
3979         * config/c_io_stdio.h: Include staged gthr.h instead of local
3980         thread configuration file.  Always use __gthread_mutex_t
3981         instead of __mutext_type (or int).
3982         * include/bits/std_fstream.h: Likewise.
3983
3984         * docs/html/17_intro/howto.html: Remove placeholder comment in
3985         case this configuration patch didn't make it.  Add advice that
3986         section only applies if configured with --enable-threads.
3987         * docs/html/23_containers/howto.html: Reword to make clear
3988         that _PTHREADS is no longer required for any port to be
3989         correctly using STL with threads.  Add advice that section
3990         only applies if configured with --enable-threads.
3991
3992 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3993
3994         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3995
3996 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
3997
3998         libstdc++/3045
3999         * include/bits/basic_ios.tcc: Formatting tweaks.
4000         * include/bits/ios_base.h: Formatting tweaks.
4001         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
4002         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
4003         * src/globals.cc: Allocate filebufs for standard streams here.
4004         (buf_cout, buf_cin, buf_cerr): Like so.
4005         (buf_wcout, buf_wcin, buf_wcerr): And so.
4006         * testsuite/27_io/ios_init.cc: Add.
4007
4008 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4009             Benjamin Kosnik  <bkoz@redhat.com>
4010
4011         libstdc++/3017
4012         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
4013         for generic ctype virtuals.
4014         * src/locale.cc: Minor tweaks, naming consistency.
4015         * testsuite/22_locale/ctype.cc: Add test.
4016
4017 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
4018             Phil Edwards  <pme@sources.redhat.com>
4019
4020         PR libstdc++/3035 and PR libstdc++/3036
4021         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
4022         to LWG DR 181 and 265.
4023
4024 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
4025
4026         PR libstdc++/3034
4027         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
4028         equal_range):  Add const overloads as per LWG DR 214.
4029         * include/bits/stl_set.h:  Likewise.
4030
4031 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4032             Phil Edwards  <pme@sources.redhat.com>
4033
4034         PR libstdc++/3018
4035         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
4036         comparison; all positions must be < _Nb.
4037         * testsuite/23_containers/bitset_members.cc:  New file.
4038
4039 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4040
4041         PR libstdc++/3016
4042         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
4043         ctors to match the standard.
4044
4045 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
4046
4047         * include/bits/char_traits.h (move): Reverse qualification of
4048         memmove with std::.
4049         (copy): Reverse qualification of memcpy with std::.
4050
4051 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
4052
4053         * include/bits/char_traits.h (move): Qualify memmove with std::.
4054         (copy): Qualify memcpy with std::.
4055         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
4056         strncmp with std::.
4057         (test02): Likewise.
4058         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
4059
4060 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
4061
4062         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
4063         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
4064         SUN make VPATH peculiarities.
4065         * libsupc++/Makefile.in: Regenerate.
4066
4067 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
4068
4069         * src/Makefile.am (VPATH): Delimit with ":", not space.
4070         * src/Makefile.in: Regenerate.
4071
4072         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4073         make isn't found.
4074         * configure: Regenerate.
4075
4076 2001-05-31  scott snyder  <snyder@fnal.gov>
4077
4078         libstdc++/2976
4079         * include/bits/istream.tcc: Include std_ostream.h.
4080
4081 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
4082
4083         libstdc++/2997
4084         * src/bitset.cc: Qualify size_t with std::.
4085
4086 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
4087
4088         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4089         (_GLIBCPP_BUGGY_COMPLEX): Remove.
4090         * config.h.in: Regenerate.
4091         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4092         * aclocal.m4: Regenerate.
4093         * configure.in: Don't call it.
4094         * configure: Regenerate.
4095
4096         libstdc++/2970
4097         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4098         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4099         New test.
4100
4101         libstdc++/2985
4102         * include/bits/std_complex.h: Include sstream. Put definitions for
4103         complex inserters and extractors here, and remove them from...
4104         * src/complex_io.cc: ...here.
4105         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4106         parameter.
4107         (basic_ios::__numget_type): Same.
4108         * include/bits/std_istream.h: Same.
4109         * include/bits/std_ostream.h: Same.
4110         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4111         class iterator template arguments.
4112         * src/locale-inst.cc: Add explicit has_facet instantiations.
4113         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4114         (_M_get_fnumput): Remove.
4115         (_M_get_fnumget): Remove.
4116         (basic_ios::_M_check_facet): New function.
4117         (basic_ios::_M_cache_facets): New function.
4118         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4119         (basic_ios::imbue): Call _M_cache_facets.
4120         (basic_ios::init): Same.
4121         * include/bits/istream.tcc: Format, use _M_check_facet.
4122         * include/bits/ostream.tcc: Same.
4123         * include/bits/locale_facets.tcc (__output_float): Change
4124         signature, add _Traits.
4125         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4126         New test.
4127
4128 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
4129
4130         * include/bits/c++config (__USE_MALLOC): Do not define it.
4131         Document why not and give pointers to more information.
4132
4133         * docs/html/23_containers/howto.html: Update documentation
4134         to reflect recent understanding of problem.
4135         * docs/html/17_intro/howto.html: Likewise.
4136
4137 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
4138
4139         * docs/doxygen/user.cfg.in:  Minor addition.
4140         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
4141         stuff first.
4142         * docs/html/install.html:  Update for 3.0.  HTML fixups.
4143         * docs/html/17_intro/howto.html:  Likewise.
4144         * docs/html/18_support/howto.html:  Likewise.
4145         * docs/html/19_diagnostics/howto.html:  Likewise.
4146         * docs/html/20_util/howto.html:  Likewise.
4147         * docs/html/23_containers/howto.html:  Likewise.
4148         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
4149         * docs/html/25_algorithms/howto.html:  Likewise.
4150         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
4151         * docs/html/27_io/howto.html:  Likewise.
4152         * docs/html/ext/howto.html:  Likewise.
4153         * docs/html/faq/index.html:  Likewise.
4154         * docs/html/faq/index.txt:  Regenerate.
4155         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
4156         Doxygen-created documentation.
4157
4158 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4159
4160         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4161         get_multilibs to find gcc.
4162
4163 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
4164
4165         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
4166         * aclocal.m4:  Regenerate.
4167         * configure:  Regenerate.
4168
4169 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4170
4171         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4172         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4173
4174 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4175
4176         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4177         * include/c_std/bits/std_cstdlib.h: Same.
4178         * include/c_std/bits/std_cwchar.h: Same.
4179
4180 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
4181
4182         * docs/html/17_intro/howto.html: Update link.
4183         * docs/html/23_containers/howto.html: Likewise.  Add new link.
4184
4185 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
4186
4187         * include/c_std/bits/std_cmath.h (sqrt): #undef.
4188
4189 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4190
4191         * mknumeric_limits: Stop if gen-num-limits dies.
4192
4193 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
4194
4195         other/2931
4196         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4197         * aclocal.m4: Regenerate.
4198         * configure: Same.
4199
4200 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4201             Phil Edwards  <pme@sources.redhat.com>
4202             Alexandre Oliva  <aoliva@redhat.com>
4203
4204         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4205         in an amd-safe manner. Revert glibcpp_prefixdir.
4206
4207 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
4208
4209         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
4210         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
4211         variants.
4212
4213 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4214
4215         libstdc++/2830
4216         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4217         * include/bits/ostream.tcc: Format to match istream.tcc.
4218         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4219
4220 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
4221
4222         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
4223         malloc with std:: .
4224         (__cxa_free_exception):  Likewise with free.
4225
4226 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
4227
4228         * include/c_std/bin/std_cstring.h: #define away all global
4229         functions we will redeclare in namespace `std'.
4230         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4231         std::memset, instead of memset.
4232         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4233         not plain `strcmp'.
4234         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4235         plain `strcpy'.
4236
4237 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4238
4239         libstdc++/2832
4240         * include/bits/basic_ios.tcc: Small tweak.
4241         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4242         ctors and dtors, and rdbuf settings.
4243         (ofstream): Same.
4244         (fstream): Same.
4245         * include/bits/std_sstream.h: Same, but for stringstream classes.
4246         * testsuite/27_io/ostringstream_members.cc: New.
4247         * testsuite/27_io/stringstream_members.cc: New.
4248         * testsuite/27_io/fstream_members.cc: New.
4249         * testsuite/27_io/ifstream_members.cc: Add test.
4250         * testsuite/27_io/istringstream_members.cc: Add test.
4251         * testsuite/27_io/ofstream_members.cc: Add test.
4252
4253 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4254
4255         * include/bits/c++config(__NO_MATH_INLINES): Move to...
4256         * config/os/gnu-linux/bits/os_defines.h: ...here.
4257
4258 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
4259
4260         * include/bits/c++config (__NO_MATH_INLINES): New macro.
4261         * testsuite/26_numerics/fabs_inline.cc (main): New test.
4262
4263 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
4264
4265         libstdc++/2841
4266         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4267         ld_library_path.
4268         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4269         (libstdc++-v3-finish): Remove.
4270         (libstdc++-v3_exit): Remove.
4271
4272 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
4273
4274         * docs/html/documentation.html:  Point to doxygen output.
4275
4276 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
4277
4278         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4279
4280         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4281         arguments to be non-null.
4282         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4283         try allocations if allocated size is greater than zero.
4284         (filebuf::_M_filebuf_init): Change to
4285         (filebuf::_M_allocate_file): Which is what it does now.
4286         (filebuf::_M_allocate_bufers): Change to
4287         (filebuf::_M_allocate_internal_buffer): This, and create
4288         (filebuf::_M_allocate_pback_buffer): New.
4289         (filebuf::_M_destroy_internal_buffer): New.
4290         (filebuf::_M_buf_allocated): New data member.
4291         (filebuf::setbuf): Use new logic, allow use of external buffer.
4292         * testsuite/27_io/stringbuf_virtuals.cc: New file.
4293         * testsuite/27_io/filebuf_virtuals.cc: New file.
4294
4295 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
4296
4297         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4298         __glibcpp_memchr.
4299         (strchr): Same, but to __glibcpp_strchr.
4300         (strpbrk): Same.
4301         (strrchr): Same.
4302         (strstr): Same.
4303         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4304         (wcsbrk): Same.
4305         (wcsrchr): Same.
4306         (wcsstr): Same.
4307         (wmemchr): Same.
4308
4309 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
4310
4311         * testsuite/21_strings/c_strings.cc (main): Fix.
4312
4313 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
4314
4315         * acinclude.m4:  Fix --help spacing, correct comments.
4316         * aclocal.m4:  Regenerate.
4317         * configure:  Regenerate.
4318         * mkcheck.in:  Add usage comments.
4319         * docs/html/documentation.html:  Point to doxygen'd tarball.
4320
4321 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
4322
4323         * testsuite/README: Add notes.
4324
4325         * src/Makefile.am (libstdc++.INC): Remove.
4326         * src/Makefile.in: Regenerate.
4327
4328         Phil Edwards <pedwards@disaster.jaj.com>
4329         * mkcheck.in: Add missing '#'.
4330
4331 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4332
4333         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4334         appropriately for remote testing and testing installed files without
4335         a build dir.
4336
4337 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
4338
4339         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4340         amd glibcpp_prefixdir with absolute paths.
4341
4342         * include/bits/c++config (__GLIBCPP__): Bump.
4343         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4344
4345 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
4346
4347         * include/bits/std_valarray.h (valarray<>::operator[] const):
4348         Return a const reference.
4349         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4350
4351 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
4352
4353         * configure.target (ATOMICITYH): Actually use AIX-specific code on
4354         earlier versions of AIX 4.*.
4355
4356 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4357
4358         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
4359         output_file based on the name of the testcase.
4360
4361 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4362
4363         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
4364         gluefile and use it if needs_status_wrapper is set.
4365
4366 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
4367
4368         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4369         versions of AIX.
4370
4371 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
4372
4373         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4374         on earlier versions of AIX.
4375
4376 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
4377
4378         * testsuite_flags.in (query): Add backwards, ext directories.
4379
4380 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
4381
4382         * porting.texi: Correct documentation about handling
4383         _LARRGEFILE_SOURCE and its ilk.
4384         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4385         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4386         __EXTENSIONS__.
4387         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4388         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4389
4390 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
4391
4392         * testsuite/21_strings/inserters_extractors.cc,
4393         testsuite/27_io/istream_unformatted.cc,
4394         testsuite/27_io/stringstream.cc:
4395         Replace multi-line string constants with C89-style
4396         concatenated string constants.
4397
4398 2001-05-14  Richard Henderson  <rth@redhat.com>
4399
4400         * mknumeric_limits: Build with -fno-exceptions.
4401
4402 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
4403
4404         Switch over to new harness.
4405         * testsuite_flags.in: Tweaks via Gaby.
4406         * testsuite/Makefile.am: Change tool to libstdc++-v3.
4407         (EXPECT): Quote directly.
4408         (RUNTEST): Same.
4409         * configure.in: Output testsuite_flags.
4410         * acinclude.m4: Substitute src, bld, and prefix dirs.
4411         Remove glibcpp_expect, glibcpp_runtestflags.
4412         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4413         * mkcheck.in: Port to new interface.
4414
4415         * aclocal.m4: Regerate.
4416         * configure: Regnerate.
4417         * Makefile.in: Regnerate.
4418         * */Makefile.in: Regenerate.
4419
4420         * tests_flags.in: Remove.
4421         * testsuite/lib/libstdc++.exp: Remove.
4422         * testsuite/libstdc++.tests/tests.exp: Remove.
4423
4424 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
4425
4426         * configure.target: Remove detection of AIX pthread multilib, now
4427         obtained from `gcc -v'.
4428
4429 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4430
4431         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4432         size.  Add hpux case for HP size.
4433
4434 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4435
4436         * testsuite_flags.in: New, simplified interface.
4437         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4438         * testsuite/libstdc++-v3.dg: Add.
4439         * testsuite/libstdc++-v3.dg/dg.exp: Add.
4440
4441 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4442
4443         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4444         * testsuite/config/default.exp: Update bugs email address.
4445
4446 2001-05-11  Richard Henderson  <rth@redhat.com>
4447
4448         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
4449         all pointer encoding logic.
4450         (struct lsda_header_info): Add ttype_base.
4451         (get_ttype_entry): Use it instead of a context.
4452         (check_exception_spec): Likewise.
4453         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
4454         the c++ exception header for __cxa_call_unexpected.
4455         (__cxa_call_unexpected): Use it.
4456
4457 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
4458
4459         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4460         libgloss_link_flags to find crt0.o for targets that use libgloss
4461         instead of newlib.
4462         Change LDFLAGS to LIBS.
4463         Consistently name procedures libstdc++-XXX.
4464         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4465
4466 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4467
4468         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4469         (strchr): Same.
4470         (strpbrk): Same.
4471         (strrchr): Same.
4472         (strstr): Same.
4473         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4474         (wcsbrk): Same.
4475         (wcsrchr): Same.
4476         (wcsstr): Same.
4477         (wmemchr): Same.
4478         * testsuite/21_strings/c_strings.cc: Add tests.
4479
4480 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
4481
4482         libstdc++/2523
4483         * include/bits/std_fstream.h (basic_filebuf): Change signature.
4484         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4485         to int_type, pass in buffer size info.
4486         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4487         unbuffered situation.
4488         (underflow): Remove codecvt bits for the time being.
4489         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4490         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4491         values from iterators, clean.
4492         * src/locale.cc: Ditto.
4493         * include/bits/sbuf_iter.h: Format.
4494         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4495         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4496         * testsuite/27_io/filebuf.cc: Tweaks.
4497         * testsuite/27_io/filebuf_members.cc: Tweaks.
4498
4499 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
4500
4501         * config/os/solaris/solaris2.7/bits/os_defines.h
4502         (_LARGEFILE_SOURCE): Define it.
4503
4504 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
4505
4506         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4507         -prefer-non-pic depending on whether libtool has shared libraries
4508         enabled or disabled.
4509         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4510         $(LIBSUPCXX_PICFLAGS).
4511         * configure, */Makefile.in: Rebuilt.
4512
4513 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
4514
4515         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4516         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4517
4518         * include/bits/std_sstream.h (stringbuf): Leak
4519         copied string.
4520         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4521
4522 2001-05-01  Tom Browder  <tbrowder@home.com>
4523
4524         * docs/html/ext/howto.html:  Fix typo.
4525
4526 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4527
4528         * testsuite/libstdc++.tests/tests.exp: Add comment.
4529
4530 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4531
4532         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4533
4534 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
4535
4536         * porting.texi: Use the GFDL.
4537
4538 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4539
4540         libstdc++/2627
4541         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4542         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4543         specializations.
4544
4545 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4546
4547         libstdc++/2964
4548         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4549
4550 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
4551
4552         * docs/doxygen/run_doxygen:  Minor tweaks.
4553         * docs/doxygen/style.css:  New file.
4554         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
4555         latest parameters available.  Use style.css.
4556
4557 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
4558
4559         * docs/doxygen/mainpage.doxy: New.
4560         * docs/doxygen/user.cfg.in: Change default configuration. Single
4561         frame, other tweaks.
4562
4563 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
4564
4565         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4566         Indicate obsolete nature of thelist for G++ 3.0.
4567
4568 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
4569
4570         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4571         target_thread_file with `gcc -v'.
4572         * aclocal.m4, configure: Rebuilt.
4573
4574 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4575
4576         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4577         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4578         * include/c_std/bits/std_cwchar.h (std): Same.
4579         * acconfig.h (std): Remove c99 injection into std.
4580         * config.h.in: Regenerate.
4581
4582         * testsuite/README: Fix typo.
4583
4584         * include/bits/codecvt.h: Remove warnings.
4585
4586 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4587
4588         * include/ext/slist: Include required header files.
4589
4590 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
4591
4592         * include/c_std/bits/std_cerrno.h (errno): Define macro from
4593         identifier declared with external linkage, if needed.
4594         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4595         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4596
4597 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4598
4599         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4600         re-configures find the build compiler.
4601         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4602         libstdc++/2609.
4603         * aclocal.m4: Regenerate.
4604         * configure: Regenerate.
4605
4606 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
4607
4608         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4609         support is enabled correctly before long long is activated.
4610         * aclocal.m4: Regenerate.
4611         * configure: Regenerate.
4612
4613         * include/backward/backward_warning.h: Format correctly.
4614
4615         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4616         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4617         * testsuite/26_numerics/c99_macros.cc: Remove.
4618
4619 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
4620
4621         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
4622         __iterator_category.
4623
4624 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
4625
4626         * acconfig.h (_GLIBCPP_USE_C99): Add.
4627         * config.h.in: Regenerate.
4628         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4629         9899: 1999 support.
4630         * aclocal.m4: Regenerate.
4631         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4632         * configure: Regenerate.
4633         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4634         * configure: Regenerate.
4635         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4636         into c99.
4637         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4638         namespace.
4639         * include/c_std/bits/std_cstdlib.h: Same.
4640         * docs/html/configopts.html: Update.
4641         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4642         math.h
4643         (test_c99_classify): Add.
4644         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4645         (_ISOC99_SOURCE): Remove.
4646
4647         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4648         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4649         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4650         * aclocal.m4: Regenerate.
4651         * configure: Regenerate.
4652
4653 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
4654
4655         * Makefile.am (doxygen):  Assume script is missing execute perms.
4656         * Makefile.in:  Regenerated.
4657         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
4658
4659 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
4660
4661         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4662
4663 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4664
4665         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4666         * testsuite/23_containers/set_operators.cc: Same.
4667
4668         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4669         default.
4670         (__GLIBCPP__): Bump from value of last release.
4671         * include/bits/concept_check.h: Default to off, edit comments.
4672         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4673         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4674         * src/Makefile.in: Regenerate.
4675
4676 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
4677
4678         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4679         Properly uglify member.
4680
4681 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4682
4683         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
4684         of EqualityCo
4685         mparableConcept.
4686
4687 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4688
4689         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
4690         * include/bits/concept_check.h:  Uglify.
4691         * include/bits/stl_algo.h:  Likewise.
4692         * include/bits/stl_algobase.h:  Likewise.
4693         * include/bits/stl_deque.h:  Likewise.
4694         * include/bits/stl_heap.h:  Likewise.
4695         * include/bits/stl_iterator_base_funcs.h:  Likewise.
4696         * include/bits/stl_list.h:  Likewise.
4697         * include/bits/stl_map.h:  Likewise.
4698         * include/bits/stl_multimap.h:  Likewise.
4699         * include/bits/stl_multiset.h:  Likewise.
4700         * include/bits/stl_numeric.h:  Likewise.
4701         * include/bits/stl_queue.h:  Likewise.
4702         * include/bits/stl_set.h:  Likewise.
4703         * include/bits/stl_stack.h:  Likewise.
4704         * include/bits/stl_vector.h:  Likewise.
4705         * include/ext/hash_map:  Likewise.
4706         * include/ext/hash_set:  Likewise.
4707         * include/ext/slist:  Likewise.
4708
4709 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
4710
4711         * testsuite/23_containers/set_operators.cc: Just try to compile.
4712         Mark as XFAIL.
4713         * testsuite/23_containers/map_operators.cc: Same.
4714
4715 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
4716
4717         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4718         output_file.
4719         (dg-test): Revert rth's change.
4720
4721 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
4722
4723         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4724         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4725
4726 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
4727
4728         * testsuite/README: Add DejaGnu specific documentation.
4729
4730 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
4731
4732         * acinclude.m4: AC_CHECK_TOOL for expect.
4733         * aclocal.m4: Regenerate.
4734         * configure: Regenerate.
4735         * testsuite/Makefile.am (RUNTEST): Use substituted.
4736         (EXPECT): Same.
4737
4738         * configure.in: Remove xcompiling substitution.
4739         * tests_flags.in (CROSS_LIB_PATH): Remove.
4740         (xcompiling): Remove.
4741         (CXX): Use substituted CXX.
4742
4743 2001-04-11  Richard Henderson  <rth@redhat.com>
4744
4745         * testsuite/lib/libstdc++.exp: Specify path for output_file.
4746
4747 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
4748
4749         * include/bits/std_valarray.h(valarray<>::operator[]): Make
4750         inline.
4751
4752 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4753
4754         * testsuite/25_algorithms/equal.cc: New test.
4755
4756 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
4757
4758         * stl_algobase.h (std::equal): avoid use of possibly-undefined
4759         operator != (one line patch).
4760
4761 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
4762
4763         * include/backward/backward_warning.h: Re-enable.
4764
4765 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4766             Alexandre Oliva  <aoliva@redhat.com>
4767
4768         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4769
4770 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4771
4772         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4773         * testsuite/26_numerics/c99_macros.cc: Add test.
4774
4775 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
4776
4777         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
4778         * docs/html/faq/index.txt:  Regenerated.
4779
4780 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4781
4782         * include/backward/backward_warning.h: Temporarily disable until
4783         g++ testsuite changes go in.
4784         * tests_flags.in (CROSS_LIB_PATH): Add.
4785
4786 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4787
4788         Warn when using backward headers.
4789         * include/backward/algo.h: Include warning file.
4790         * include/backward/vector.h: Same.
4791         * include/backward/tree.h: Same.
4792         * include/backward/tempbuf.h: Same.
4793         * include/backward/strstream: Same.
4794         * include/backward/streambuf.h: Same.
4795         * include/backward/stream.h: Same.
4796         * include/backward/stack.h: Same.
4797         * include/backward/slist.h: Same.
4798         * include/backward/set.h: Same.
4799         * include/backward/rope.h:
4800         * include/backward/queue.h: Same.
4801         * include/backward/pair.h: Same.
4802         * include/backward/ostream.h: Same.
4803         * include/backward/new.h: Same.
4804         * include/backward/multiset.h: Same.
4805         * include/backward/multimap.h: Same.
4806         * include/backward/map.h: Same.
4807         * include/backward/list.h: Same.
4808         * include/backward/iterator.h: Same.
4809         * include/backward/istream.h: Same.
4810         * include/backward/iostream.h:
4811         * include/backward/iomanip.h:
4812         * include/backward/heap.h: Same.
4813         * include/backward/hashtable.h:
4814         * include/backward/hash_set.h:
4815         * include/backward/hash_map.h:
4816         * include/backward/function.h:
4817         * include/backward/fstream.h:
4818         * include/backward/deque.h:
4819         * include/backward/defalloc.h: Same.
4820         * include/backward/complex.h: Same.
4821         * include/backward/bvector.h:
4822         * include/backward/alloc.h:
4823         * include/backward/algobase.h: Same.
4824
4825         * include/backward/backward_warning.h: New file.
4826         * src/Makefile.am (backward_headers): Add backward_warning.h
4827         * src/Makefile.in: Regenerate.
4828
4829 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4830
4831         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4832         created.
4833         (myinstallheaders): Install backward headers in backward directory.
4834         * src/Makefile.in: Regenerate.
4835
4836 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4837
4838         Prepare for libstdc++-2.92.
4839         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4840         * docs/html/configopts.html: Fix formatting.
4841         * README (file): Updates.
4842         * include/bits/c++config (__GLIBCPP__): Update.
4843
4844 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4845
4846         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4847
4848 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4849
4850         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4851         reduce confusing documentation output.
4852
4853 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
4854
4855         * include/backward/fstream.h: Add missing semicolons.
4856
4857 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4858
4859         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4860         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4861         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4862         (ios_base::Init::_S_ios_create): New.
4863         (ios_base::Init::_S_ios_destroy): New.
4864         * include/bits/std_fstream.h: Change ctor args.
4865         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4866         (ios_base::Init::~Init): Use _S_ios_destroy.
4867         (ios_base::sync_with_stdio): Use new members.
4868         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4869         filebuf ctor.
4870
4871 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4872
4873         * include/backward/fstream.h:  Expose streampos to global
4874         namespace.
4875
4876 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4877
4878         * include/bits/stl_iterator_base_types.h: Fix typo
4879
4880 2001-04-03  Andreas Schwab  <schwab@suse.de>
4881
4882         * include/backward/fstream.h: Define filebuf and wfilebuf.
4883
4884 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
4885
4886         New concept checking implementation.
4887         * docs/html/19_diagnostics/howto.html:  Document.
4888         * docs/html/17_intro/concept_check.diff:  New file, for reference.
4889         * include/bits/boost_concept_check.h:  New file from Boost.
4890         * include/bits/c++config:  Update comments.
4891
4892         * include/bits/concept_check.h:  New file.
4893         * include/bits/concept_checks.h:  Removed.
4894         * include/bits/container_concepts.h:  Removed.
4895         * include/bits/sequence_concepts.h:  Removed.
4896         * include/bits/stl_iterator_base.h:  Removed; split into...
4897         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
4898         * include/bits/stl_iterator_base_types.h:  ...and this new file.
4899
4900         * include/bits/sbuf_iter.h:  Update to use new implementation.
4901         * include/bits/std_iterator.h:  Likewise.
4902         * include/bits/std_memory.h:  Likewise.
4903         * include/bits/stl_algo.h:  Likewise.
4904         * include/bits/stl_algobase.h:  Likewise.
4905         * include/bits/stl_construct.h:  Likewise.
4906         * include/bits/stl_deque.h:  Likewise.
4907         * include/bits/stl_heap.h:  Likewise.
4908         * include/bits/stl_list.h:  Likewise.
4909         * include/bits/stl_map.h:  Likewise.
4910         * include/bits/stl_multimap.h:  Likewise.
4911         * include/bits/stl_multiset.h:  Likewise.
4912         * include/bits/stl_numeric.h:  Likewise.
4913         * include/bits/stl_queue.h:  Likewise.
4914         * include/bits/stl_set.h:  Likewise.
4915         * include/bits/stl_stack.h:  Likewise.
4916         * include/bits/stl_uninitialized.h:  Likewise.
4917         * include/bits/stl_vector.h:  Likewise.
4918         * include/ext/hash_map:  Likewise.
4919         * include/ext/hash_set:  Likewise.
4920         * include/ext/slist:  Likewise.
4921         * include/ext/stl_hashtable.h:  Likewise.
4922
4923         * src/Makefile.am (base_headers):  Update list of headers.
4924         * Makefile.in:  Regenerated.
4925         * src/Makefile.in:  Regenerated.
4926         * libio/Makefile.in:  Regenerated.
4927         * libmath/Makefile.in:  Regenerated.
4928         * libsupc++/Makefile.in:  Regenerated.
4929         * testsuite/Makefile.in:  Regenerated.
4930
4931         * docs/html/install.html:  Update contact information.
4932         * docs/html/17_intro/howto.html:  Ditto.
4933         * docs/html/18_support/howto.html:  Ditto.
4934         * docs/html/20_util/howto.html:  Ditto.
4935         * docs/html/21_strings/howto.html:  Ditto.
4936         * docs/html/22_locale/howto.html:  Ditto.
4937         * docs/html/23_containers/howto.html:  Ditto.
4938         * docs/html/24_iterators/howto.html:  Ditto.
4939         * docs/html/25_algorithms/howto.html:  Ditto.
4940         * docs/html/26_numerics/howto.html:  Ditto.
4941         * docs/html/27_io/howto.html:  Ditto.
4942         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
4943         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
4944         * docs/html/faq/index.txt:  Regenerated.
4945
4946 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4947
4948         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4949         messages with $which_library as well as $tool_flags and
4950         ${dg-extra-tool-flags}.  Factor out annotation text into
4951         a single variable.
4952
4953 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
4954
4955         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4956         * include/c_std/bits/std_cwchar.h: Same.
4957         * testsuite/21_strings/c_strings.cc: Add.
4958
4959 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
4960
4961         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4962
4963 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
4964
4965         * tests_flags.in: Use test a = b, not test a == b which is not
4966         portable.
4967
4968 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
4969
4970         * configure.target: Remove duplicate aix entry.
4971
4972 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
4973
4974         * include/ext/stl_bvector.h: Move to...
4975         * include/bits/stl_vector.h: ...here.
4976         * include/ext/bvector: Move to...
4977         * include/backward/bvector.h: ...here.
4978         * include/bits/std_vector.h: Change stl_bvector include.
4979         * include/bits/std_queue.h: Remove bvector include.
4980         * include/ext/tree: Insert using rb_tree, move to...
4981         * include/backward/tree.h: ...here.
4982         * include/backward/hash_map.h: Include ext/hash_map.
4983         * include/backward/hash_set.h: Include ext/hash_set.
4984         * include/backward/queue.h: New file.
4985         * include/backward/stack.h: Edit.
4986         * include/backward/algo.h: Same.
4987         * include/backward/algobase.h: Same.
4988         * include/backward/alloc.h: Same.
4989         * include/backward/function.h: Same.
4990         * include/backward/iomanip.h: Same.
4991         * include/backward/istream.h: Same.
4992         * include/backward/iterator.h: Same.
4993         * include/backward/list.h: Same.
4994         * include/backward/map.h: Same.
4995         * include/backward/multimap.h: Same.
4996         * include/backward/multiset.h: Same.
4997         * include/backward/ostream.h: Same.
4998         * include/backward/pair.h: Same
4999         * include/backward/rope.h: Same.
5000         * include/backward/set.h: Same.
5001         * include/backward/stream.h: Same.
5002         * include/backward/strstream.h: Same.
5003         * include/backward/tempbuf.h: Same.
5004         * src/Makefile.am (ext_headers): Edit.
5005         * src/Makefile.in: Regenerate.
5006         * testsuite/ext/headers.cc (main): Fix.
5007         * mkcheck.in: Fix.
5008
5009 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
5010
5011         * tests_flags.in (LIBS):  Pass correct path for installed testing.
5012
5013 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
5014
5015         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
5016         * tests_flags.in (CXX): Construct here.
5017         (static_fail): Don't remove compile.out. Format with spaces.
5018         (INCLUDES): Deal with xcompiling.
5019         * configure.in (xcompiling): Substitute.
5020         * testsuite/Makefile.am: Snake libjava configury.
5021         * testsuite/Makefile.in: Regenerate.
5022         * testsuite/23_containers/map_operators.cc: Tweaks.
5023         * testsuite/23_containers/set_operators.cc: Tweaks.
5024
5025 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5026
5027         Enable dejagnu testing framework.
5028         * configure.in: Generate testsuite/Makefile.
5029         * configure: Regenerate.
5030         * Makefile.am (check-install): Change rule from this...
5031         (check-script-install): ...to this.
5032         (check): Change rule from this...
5033         (check-script):...to this.
5034         * Makefile.in: Regenerate.
5035
5036 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
5037
5038         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
5039         --tag CXX.
5040         (LIBTOOL): Let automake take care of its definition.
5041         * libsupc++/Makefile.in: Rebuilt.
5042
5043 2001-03-28  Richard Henderson  <rth@redhat.com>
5044
5045         IA-64 ABI Exception Handling:
5046         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
5047         * configure.in: Use it.
5048         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
5049         * libsupc++/Makefile.am (sources): Update files list.
5050         * libsupc++/Makefile.in: Regenerate.
5051         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
5052         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
5053         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
5054         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
5055         * libsupc++/exception_support.cc: Remove.
5056         * libsupc++/exception_support.h: Remove.
5057         * libsupc++/pure.cc: Use std::terminate.
5058         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
5059         (__is_pointer): Remove.
5060         * libsupc++/unwind-cxx.h: New file.
5061         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
5062
5063 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
5064
5065         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5066         CXX tag explicitly.
5067         * src/Makefile.am (CXXLINK): Likewise.
5068         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5069
5070 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
5071
5072         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5073
5074 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5075
5076         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5077           and libc
5078
5079 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
5080
5081         * include/bits/basic_file.h (get_fileno): Remove.
5082         (_M_fileno): Remove.
5083         (_M_cfile_created): Add.
5084         (basic_file::basic_file(__c_file_type*, openmode): Add.
5085         (basic_file::basic_file(int, const char*, openmode): Remove.
5086         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5087         const char*, ios_base::openmode): Don't allocate
5088         internal buffers. Turn off internal buffers.
5089         (basic_filebuf::overflow): Remove test for null buffer.
5090         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5091         * include/bits/streambuf.cc: Tweak.
5092         * include/bits/std_ostream.h: Tweak.
5093         * config/basic_file_libio.h: Same.
5094         * config/basic_file_stdio.h: Same.
5095         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5096         * testsuite/27_io/filebuf_members.cc: Tweaks.
5097         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5098
5099 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5100
5101         * Makefile.am:  New targets, doxygen and doxygen-maint.
5102         * Makefile.in:  Regenerated.
5103         * docs/doxygen/run_doxygen:  Finally implemented.
5104         * docs/doxygen/maint.cfg.in:  New file.
5105         * docs/doxygen/user.cfg.in:  New file.
5106
5107 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5108
5109         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
5110         * src/Makefile.am:  Replace leading spaces with tabs on continuation
5111         lines.
5112         * aclocal.m4:  Regenerated.
5113         * configure:  Ditto.
5114         * Makefile.in:  Ditto.
5115         * src/Makefile.in:  Ditto.
5116         * libio/Makefile.in:  Ditto.
5117         * libmath/Makefile.in:  Ditto.
5118         * libsupc++/Makefile.in:  Ditto.
5119
5120 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5121
5122         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
5123         concept-checking code and current status of same.
5124         * docs/html/ext/howto.html:  Ditto.
5125         * docs/html/faq/index.html:  Ditto.
5126         * docs/html/faq/index.txt:  Regenerated.
5127
5128 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5129
5130         * include/bits/std_bitset.h:  Include ostream and istream headers
5131         instead of iostream.
5132
5133 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
5134
5135         * include/bits/ostream.tcc: Use __builtin_alloca.
5136
5137 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
5138
5139         * src/misc-inst.cc (__sink_unused_warning): Move to...
5140         * src/locale-inst.cc (__sink_unused_warning): Move to...
5141         * src/stl-inst.cc: Here.
5142         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5143         commented it out.
5144
5145 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
5146
5147         * intclude/bits/basic_file.h: Fix typos in comments.
5148
5149 2001-03-20  Richard Henderson  <rth@redhat.com>
5150
5151         * src/gen-num-limits.cc: Instantiate for wchar_t.
5152         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5153
5154 2001-03-20  Jason Merrill  <jason@redhat.com>
5155
5156         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5157         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5158         * libsupc++/cxxabi.h: Declare it.
5159
5160 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5161
5162         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5163         signal_func with an unspecified argument list.
5164
5165 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
5166
5167         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5168
5169 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5170
5171         * include/bits/basic_string.tcc (operator+): Fix thinko.
5172
5173 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
5174
5175         libstdc++/2020
5176         * include/bits/std_streambuf.h: Remove cached locale facets.
5177         (basic_streambuf::_M_buf_fctype): Remove.
5178         (basic_streambuf::~basic_streambuf): Remove here.
5179         (basic_streambuf::basic_streambuf): Same.
5180         (basic_streambuf::imbue): Same.
5181         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5182         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5183         (basic_filebuf::~basic_filebuf()): Remove here.
5184         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5185         (basic_filebuf::imbue): Same.
5186         * include/bits/localefwd.h (_Count_ones): Remove.
5187         (locale::_S_num_categories): Just use 6, since this doesn't
5188         actually change, ever.
5189         * include/bits/locale_facets.tcc (has_facet): Simplify.
5190         (use_facet): Same.
5191         * testsuite/27_io/filebuf.cc (test06): Add tests.
5192
5193 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
5194
5195         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5196         match HP-UX ctype.h header file.
5197
5198 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
5199
5200         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5201         duplicate definitions of __dj_ctype_*
5202
5203 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
5204
5205         * libsupc++/new: Remove pragma interface.
5206         * libsupc++/typeinfo: Same.
5207         * libsupc++/exception: Same.
5208         * libsupc++/new_handler.cc: Remove pragma implementation.
5209         (bad_alloc::~bad_alloc()): Add.
5210         * libsupc++/exception_support.cc: Same.
5211         (exception::~exception): Add.
5212         (bad_exception::~bad_exception): Add.
5213         * libsupc++/tinfo.cc: Same.
5214         (bad_cast::~bad_cast): Add.
5215         (bad_typeid::~bad_typeid): Add.
5216
5217 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
5218
5219         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
5220
5221 2001-03-12  Felix Lee  <flee@redhat.com>
5222
5223         * mkcheck.in: workaround for bash 2.01 IFS bug.
5224
5225 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5226
5227         Fixups for -fno-for-scope
5228         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5229         * src/valarray-inst.cc (__gslice_to_index): Same.
5230
5231 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
5232
5233         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5234         prior to trapping signal (UnixWare 7 workaround).
5235
5236 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
5237
5238         * include/backward/hashtable.h: Same.
5239         * include/backward/rope.h: Fix include.
5240
5241 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5242
5243         * include/backward/vector.h: Include std_vector.h.
5244
5245         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5246         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5247         Fix typo.
5248
5249 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5250
5251         * include/ext/stl_hashtable.h: Change type of __n to size_t
5252         * include/backward/bvector.h: Include <ext/stl_bvector.h>
5253
5254 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5255
5256         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5257         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5258         Use streamsize, not int_type.
5259
5260 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
5261
5262         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5263         moment.
5264
5265 2001-03-08  Andreas Schwab  <schwab@suse.de>
5266
5267         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5268         command.
5269         * aclocal.m4, configure: Regenerated.
5270
5271 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
5272
5273         * include/bits/std_iosfwd.h: Remove string forward decls here.
5274         * include/bits/stringfwd.h: Add forward decls for char_traits
5275         specializations.
5276         * config/c_io_libio.h (wstreamoff): Delete.
5277         * config/c_io_stdio.h (wstreamoff): Same.
5278         * include/bits/char_traits.h: Use streamoff not wstreamoff for
5279         char_traits<wchar_t>::off_type.
5280         Remove duplicate typedefs.
5281         * include/bits/fpos.h: Define streampos/wstreampos here.
5282         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5283         values to off_type.
5284         (test05): Same.
5285         Changeup output files.
5286         * testsuite/27_io/istream_unformatted.cc: Change output files.
5287         * testsuite/27_io/istream_seeks-1.txt: Add.
5288         * testsuite/27_io/istream_seeks-2.tst: Add.
5289         * testsuite/27_io/istream_seeks-1.tst: Add.
5290         * testsuite/27_io/istream_unformatted-2.tst: Delete.
5291         * testsuite/27_io/istream_unformatted-3.tst: Delete.
5292         * testsuite/27_io/istream_unformatted-3.txt: Delete.
5293
5294 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
5295
5296         Add Irix 5.2, 6.3 support.
5297         * config/os/irix/bits: Renamed to...
5298         * config/os/irix/irix6.5/bits: this.
5299         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5300         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5301         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5302         * config/os/irix/irix5.2/bits/ctype_noninline.h
5303         (ctype<char>::ctype): Initialize _M_table with __ctype.
5304         * configure.target: Adjust.
5305
5306 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
5307
5308         libstdc++/2181
5309         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5310         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5311         sentry.
5312         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5313         (*__pf)(__ios_type&)): Same.
5314         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5315         (*__pf)(ios_base&))): Same.
5316         * testsuite/27_io/istream_extractor_other.cc: Add tests.
5317         * testsuite/27_io/istream_manip.cc (test01): Fix.
5318
5319 2001-03-06  Nathan Myers  <ncm@cantrip.org>
5320             Benjamin Kosnik  <bkoz@redhat.com>
5321
5322         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5323         * testsuite/17_intro/header_cerrno.cc (test01): New file.
5324         * testsuite/17_intro/header_cassert.cc (test01): New file.
5325         * testsuite/17_intro/header_cstddef.cc (test01): New file.
5326         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5327         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5328
5329 2001-03-05  scott snyder  <snyder@fnal.gov>
5330
5331         libstdc++/2190
5332         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5333         from here...
5334         * include/c_std/bits/std_cstdlib.h: ... to here.
5335         * testsuite/17_intro/header_cstdlib.cc: Add test.
5336
5337 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
5338
5339         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5340
5341 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
5342
5343         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5344         definition. Replace enum with static const variables.
5345
5346         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5347         throw specification, fix typos, use <static_cast>.
5348         (ctype<char>::scan_is): remove throw specification.
5349         (ctype<char>::scan_not): likewise.
5350
5351         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5352         (ctype<char>::do_toupper(char)): use <static_cast>.
5353         (ctype<char>::do_toupper(char *, const char *)): likewise.
5354         (ctype<char>::do_tolower(char)): likewise.
5355         (ctype<char>::do_tolower(char *, const char *)): likewise.
5356
5357 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
5358
5359         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5360         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
5361         macros and "never happens" code.  Adjust to C++STYLE guidelines.
5362         * include/backward/algobase.h:  Likewise.
5363         * include/backward/alloc.h:  Likewise.
5364         * include/backward/bvector.h:  Likewise.
5365         * include/backward/deque.h:  Likewise.
5366         * include/backward/function.h:  Likewise.
5367         * include/backward/hash_map.h:  Likewise.
5368         * include/backward/hash_set.h:  Likewise.
5369         * include/backward/hashtable.h:  Likewise.
5370         * include/backward/heap.h:  Likewise.
5371         * include/backward/iterator.h:  Likewise.
5372         * include/backward/list.h:  Likewise.
5373         * include/backward/map.h:  Likewise.
5374         * include/backward/multimap.h:  Likewise.
5375         * include/backward/multiset.h:  Likewise.
5376         * include/backward/pair.h:  Likewise.
5377         * include/backward/rope.h:  Likewise.
5378         * include/backward/set.h:  Likewise.
5379         * include/backward/slist.h:  Likewise.
5380         * include/backward/stack.h:  Likewise.
5381         * include/backward/strstream:  Likewise.
5382         * include/backward/tempbuf.h:  Likewise.
5383         * include/backward/tree.h:  Likewise.
5384         * include/backward/vector.h:  Likewise.
5385         * include/bits/basic_ios.h:  Likewise.
5386         * include/bits/basic_ios.tcc:  Likewise.
5387         * include/bits/basic_string.h:  Likewise.
5388         * include/bits/c++config:  Likewise.
5389         * include/bits/concept_checks.h:  Likewise.
5390         * include/bits/fpos.h:  Likewise.
5391         * include/bits/fstream.tcc:  Likewise.
5392         * include/bits/functexcept.h:  Likewise.
5393         * include/bits/ios_base.h:  Likewise.
5394         * include/bits/istream.tcc:  Likewise.
5395         * include/bits/mask_array.h:  Likewise.
5396         * include/bits/ostream.tcc:  Likewise.
5397         * include/bits/pthread_allocimpl.h:  Likewise.
5398         * include/bits/sbuf_iter.h:  Likewise.
5399         * include/bits/slice.h:  Likewise.
5400         * include/bits/slice_array.h:  Likewise.
5401         * include/bits/sstream.tcc:  Likewise.
5402         * include/bits/std_bitset.h:  Likewise.
5403         * include/bits/std_fstream.h:  Likewise.
5404         * include/bits/std_iomanip.h:  Likewise.
5405         * include/bits/std_ios.h:  Likewise.
5406         * include/bits/std_istream.h:  Likewise.
5407         * include/bits/std_iterator.h:  Likewise.
5408         * include/bits/std_memory.h:  Likewise.
5409         * include/bits/std_ostream.h:  Likewise.
5410         * include/bits/std_sstream.h:  Likewise.
5411         * include/bits/std_streambuf.h:  Likewise.
5412         * include/bits/std_string.h:  Likewise.
5413         * include/bits/std_valarray.h:  Likewise.
5414         * include/bits/stl_algo.h:  Likewise.
5415         * include/bits/stl_algobase.h:  Likewise.
5416         * include/bits/stl_alloc.h:  Likewise.
5417         * include/bits/stl_construct.h:  Likewise.
5418         * include/bits/stl_deque.h:  Likewise.
5419         * include/bits/stl_function.h:  Likewise.
5420         * include/bits/stl_heap.h:  Likewise.
5421         * include/bits/stl_iterator.h:  Likewise.
5422         * include/bits/stl_iterator_base.h:  Likewise.
5423         * include/bits/stl_list.h:  Likewise.
5424         * include/bits/stl_map.h:  Likewise.
5425         * include/bits/stl_multimap.h:  Likewise.
5426         * include/bits/stl_multiset.h:  Likewise.
5427         * include/bits/stl_numeric.h:  Likewise.
5428         * include/bits/stl_pair.h:  Likewise.
5429         * include/bits/stl_pthread_alloc.h:  Likewise.
5430         * include/bits/stl_queue.h:  Likewise.
5431         * include/bits/stl_raw_storage_iter.h:  Likewise.
5432         * include/bits/stl_relops.h:  Likewise.
5433         * include/bits/stl_set.h:  Likewise.
5434         * include/bits/stl_stack.h:  Likewise.
5435         * include/bits/stl_tempbuf.h:  Likewise.
5436         * include/bits/stl_threads.h:  Likewise.
5437         * include/bits/stl_tree.h:  Likewise.
5438         * include/bits/stl_uninitialized.h:  Likewise.
5439         * include/bits/stl_vector.h:  Likewise.
5440         * include/bits/streambuf.tcc:  Likewise.
5441         * include/bits/type_traits.h:  Likewise.
5442         * include/bits/valarray_meta.h:  Likewise.
5443         * include/ext/bvector:  Likewise.
5444         * include/ext/hash_map:  Likewise.
5445         * include/ext/hash_set:  Likewise.
5446         * include/ext/ropeimpl.h:  Likewise.
5447         * include/ext/slist:  Likewise.
5448         * include/ext/stl_bvector.h:  Likewise.
5449         * include/ext/stl_hash_fun.h:  Likewise.
5450         * include/ext/stl_hashtable.h:  Likewise.
5451         * include/ext/stl_rope.h:  Likewise.
5452         * src/complex_io.cc:  Likewise.
5453         * src/ios.cc:  Likewise.
5454         * src/locale-inst.cc:  Likewise.
5455         * src/locale.cc:  Likewise.
5456         * src/localename.cc:  Likewise.
5457         * src/misc-inst.cc:  Likewise.
5458         * src/stdexcept.cc:  Likewise.
5459         * src/stl-inst.cc:  Likewise.
5460         * src/strstream.cc:  Likewise.
5461         * src/valarray-inst.cc:  Likewise.
5462
5463 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
5464
5465         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5466
5467 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5468
5469         * include/bits/istream.tcc: change type of __extracted to __size_type
5470
5471 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
5472
5473         * src/wstring-inst.cc: New file.
5474         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5475         (libinst_wstring_la_SOURCES): Remove.
5476         (libstdc___la_LIBADD): Remove libinst_wstring_la.
5477         (sources): Add wstring-inst.cc
5478         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5479         libinst_wstring_la.
5480
5481 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5482
5483         * src/locale.cc: initialise __ret with zero
5484         * src/strstream.cc:cast gptr to int_type
5485
5486 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
5487
5488         * docs/html/faq/index.html:  Update broken links.
5489         * docs/html/faq/index.txt:  Regenerated.
5490
5491 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5492
5493         libstdc++/2064
5494         * configure.target: Change irix* to irix6.5* in target_os table.
5495
5496 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5497
5498         libstdc++/2103
5499         * include/bits/c++config (__GLIBCPP__): Bump number in
5500         anticipation of 2.92.
5501
5502         * include/bits/codecvt.h: Fix typo.
5503         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5504         stdio model.
5505         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5506         instantiations for stdio model.
5507
5508 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
5509
5510         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
5511           and GLIBCPP_CXXFLAGS as unused variables.
5512         * configure.host:  Likewise.
5513         * configure.target:  Likewise.
5514         * aclocal.m4:  Regenerated.
5515         * configure:  Regenerated.
5516         * Makefile.in:  Regenerated.
5517         * libio/Makefile.in:  Regenerated.
5518         * libmath/Makefile.in:  Regenerated.
5519         * libsupc++/Makefile.in:  Regenerated.
5520         * src/Makefile.in:  Regenerated.
5521
5522 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5523
5524         libstdc++/1886
5525         * include/bits/basic_file.h: Include basic_file_model.h.
5526         * config/c_io_libio.cc: Move to...
5527         * config/basic_file_libio.cc: Here.
5528         * config/basic_file_libio.h: New file.
5529         * config/c_io_stdio.cc: Move to...
5530         * config/basic_file_stdio.cc: Here.
5531         * config/basic_file_stdio.h: New file.
5532         * config/c_io_libio.h: Tweak.
5533         * config/c_io_stdio.h: Tweak.
5534         * src/Makefile.am (build_headers): Add basic_file_model.h.
5535         (sources): Add basic_file.cc, remove c++io.cc.
5536         * src/Makefile.in: Regenerate.
5537         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5538         basic_file_model.h and basic_file.cc.
5539         * aclocal.m4: Regenerate.
5540         * configure: Regenerate.
5541         * testsuite/27_io/filebuf.cc (test05): Add regression.
5542
5543 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5544
5545         Correct license.
5546         * config/cpu/alpha/bits/atomicity.h: Change.
5547         * config/cpu/arm/bits/atomicit3y.h
5548         * config/cpu/generic/bits/atomicity.h
5549         * config/cpu/i386/bits/atomicity.h
5550         * config/cpu/i486/bits/atomicity.h
5551         * config/cpu/ia64/bits/atomicity.h
5552         * config/cpu/powerpc/bits/atomicity.h
5553         * config/cpu/sparc/sparc32/bits/atomicity.h
5554         * config/cpu/sparc/sparc64/bits/atomicity.h
5555         * config/os/aix/bits/atomicity.h
5556         * config/os/irix/bits/atomicity.h
5557
5558 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5559
5560         * include/bits/std_stdexcept.h (runtime_error): Make string
5561         member non-const.
5562         (logic_error): Same.
5563         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5564         (test03): Fix.
5565
5566 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
5567
5568         libstdc++/1972
5569         libstdc++/2089
5570         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5571         string object, not reference.
5572         (runtime_error::runtime_error): Same.
5573         * testsuite/19_diagnostics/stdexceptions.cc: New file.
5574
5575 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5576
5577         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
5578           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
5579           diagnostics.  Remove WFMT_FLAGS.
5580         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
5581         * libsupc++/Makefile.am:  Likewise.
5582         * src/Makefile.am:  Likewise.
5583         * aclocal.m4:  Regenerated.
5584         * configure:  Regenerated.
5585         * Makefile.in:  Regenerated.
5586         * libio/Makefile.in:  Regenerated.
5587         * libmath/Makefile.in:  Regenerated.
5588         * libsupc++/Makefile.in:  Regenerated.
5589         * src/Makefile.in:  Regenerated.
5590
5591 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5592
5593         Fixes libstdc++/2079
5594         * include/backward/iomanip.h:  Expose <ios> manipulators to global
5595           namespace.
5596         * include/backward/iostream.h:  Also expose std::ws.
5597
5598 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
5599
5600         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5601
5602 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
5603
5604         * include/bits/codecvt.h: Use __builtin_alloca.
5605         * include/bits/ostream.tcc: Same.
5606         * include/bits/fstream.tcc: Same.
5607
5608 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
5609
5610         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5611
5612 2001-02-23  David Edelsohn <dje@watson.ibm.com>
5613
5614         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5615
5616 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
5617
5618         c++/2052
5619         * include/backward/iostream.h:  Expose std::flush in old headers.
5620
5621 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5622
5623         * mknumeric_limits: Remove special-casing on target.  Use gcc
5624         instead of g++ to build gen-num-limits.cc
5625
5626 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
5627
5628         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5629
5630         * include/bits/codecvt.h: Use alloca instead of __extension__ for
5631         the time being.
5632         * include/bits/ostream.tcc: Same.
5633         * include/bits/std_ostream.h: Same.
5634         * include/bits/fstream.tcc: Same.
5635         * include/bits/locale_facets.tcc: Add typename.
5636         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5637
5638 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
5639
5640         * tests_flags.in:  Remove -n flag from call to echo.
5641
5642 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
5643
5644         * config/c_locale_gnu.h: Add clocale include.
5645
5646 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
5647
5648         * include/bits/stl_config.h:  Remove file.
5649         * src/Makefile.am (base_headers):  Remove from list.
5650         * configure:  Regenerate.
5651         * Makefile.in:  Ditto.
5652         * libio/Makefile.in:  Ditto.
5653         * libmath/Makefile.in:  Ditto.
5654         * libsupc++/Makefile.in:  Ditto.
5655         * src/Makefile.in:  Ditto.
5656
5657         * include/bits/c++config:  Move relevant macros to here.
5658         * include/backward/alloc.h:  Include c++config.h instead.
5659         * include/backward/function.h:  Ditto.
5660         * include/backward/heap.h:  Ditto.
5661         * include/backward/pair.h:  Ditto.
5662         * include/bits/pthread_allocimpl.h:  Ditto.
5663         * include/bits/std_functional.h:  Ditto.
5664         * include/bits/std_iterator.h:  Ditto.
5665         * include/bits/std_numeric.h:  Ditto.
5666         * include/bits/std_utility.h:  Ditto.
5667         * include/bits/stl_algobase.h:  Ditto.
5668         * include/bits/type_traits.h:  Ditto.
5669         * src/stl-inst.cc:  Ditto.
5670
5671 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5672
5673         * include/bits/basic_file.h: Add #pragma system_header
5674         * include/bits/basic_ios.h: Ditto.
5675         * include/bits/basic_string.h: Ditto.
5676         * include/bits/char_traits.h: Ditto.
5677         * include/bits/codecvt.h: Ditto.
5678         * include/bits/cpp_type_traits.h:  Ditto.
5679         * include/bits/fpos.h: Ditto.
5680         * include/bits/gslice.h: Ditto.
5681         * include/bits/gslice_array.h: Ditto.
5682         * include/bits/indirect_array.h: Ditto.
5683         * include/bits/ios_base.h: Ditto.
5684         * include/bits/limits_generic.h: Ditto.
5685         * include/bits/locale_facets.h: Ditto.
5686         * include/bits/localefwd.h: Ditto.
5687         * include/bits/mask_array.h: Ditto.
5688         * include/bits/sbuf_iter.h: Ditto.
5689         * include/bits/sequence_concepts.h: Ditto.
5690         * include/bits/slice.h: Ditto.
5691         * include/bits/slice_array.h: Ditto.
5692         * include/bits/std_algorithm.h: Likewise.
5693         * include/bits/std_bitset.h: Likewise.
5694         * include/bits/std_complex.h: Likewise.
5695         * include/bits/std_deque.h: Likewise.
5696         * include/bits/std_fstream.h: Likewise.
5697         * include/bits/std_functional.h: Likewise.
5698         * include/bits/std_iomanip.h: Likewise.
5699         * include/bits/std_ios.h: Likewise.
5700         * include/bits/std_iosfwd.h: Likewise.
5701         * include/bits/std_iostream.h: Likewise.
5702         * include/bits/std_istream.h: Likewise.
5703         * include/bits/std_iterator.h: Likewise.
5704         * include/bits/std_list.h: Likewise.
5705         * include/bits/std_locale.h: Likewise.
5706         * include/bits/std_map.h: Likewise.
5707         * include/bits/std_memory.h: Likewise.
5708         * include/bits/std_numeric.h: Likewise.
5709         * include/bits/std_ostream.h: Likewise.
5710         * include/bits/std_queue.h: Likewise.
5711         * include/bits/std_set.h: Likewise.
5712         * include/bits/std_sstream.h: Likewise.
5713         * include/bits/std_stack.h: Likewise.
5714         * include/bits/std_stdexcept.h: Likewise.
5715         * include/bits/std_streambuf.h: Likewise.
5716         * include/bits/std_string.h: Likewise.
5717         * include/bits/std_utility.h: Likewise.
5718         * include/bits/std_valarray.h: Likewise.
5719         * include/bits/std_vector.h: Likewise.
5720         * include/bits/stringfwd.h: Likewise.
5721         * include/bits/type_traits.h: Likewise.
5722         * include/bits/valarray_array.h: Likewise.
5723         * include/bits/valarray_meta.h: Likewise.
5724
5725 2001-02-19  Andreas Jaeger  <aj@suse.de>
5726
5727         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5728         Fix typo.
5729
5730 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
5731
5732         libstdc++/1734
5733         * include/bits/std_ostream.h: Replaced usage of
5734         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5735         * include/bits/char_traits.h: Removed non-standard
5736         methods that cannot be used elsewhere.
5737
5738         libstdc++/1885
5739         * include/bits/basic_ios.h: Uncommented #include of
5740         bits/basic_ios.tcc
5741
5742         libstdc++/1897
5743         * include/bits/codecvt.h: See next...
5744         * include/bits/fstream.tcc: See next...
5745         * include/bits/ostream.tcc: Add __extension__
5746         to variable-length arrays.
5747
5748         libstdc++/1967
5749         * include/bits/localefwd.h: Changed int counter type to size_t.
5750
5751         libstdc++/1968
5752         * include/bits/std_fstream.h: Added typedef for __ctype_type.
5753
5754 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5755
5756         * testsuite/21_strings/char_traits.cc: Move to ...
5757         * testsuite/21_strings/char_traits_requirements.cc: ..here.
5758         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5759         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5760
5761 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
5762
5763         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5764         definitions.
5765
5766 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5767
5768         * include/bits/c++config: Revert.
5769
5770 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5771
5772         * include/bits/istream.tcc: Use ios_base::iostate in place of
5773         iostate throughout.  Insert `typename' keyword where necessary.
5774         * include/bits/ostream.tcc: Insert `typename' keyword where
5775         necessary.
5776
5777 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
5778
5779         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5780         Define so library is compliant.
5781
5782 2001-02-15  Anthony Green  <green@redhat.com>
5783
5784         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5785         compilation.
5786         * aclocal.m4: Regenerate.
5787         * configure: Regenerate.
5788
5789 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5790
5791         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5792         Include ieeefp.h for fpclass on UnixWare{2,7}.
5793         * aclocal.m4: Regenerate.
5794         * configure: Regenerate.
5795         * mkcheck.in (size_command): Do without GNU-grep when using
5796         size from binutils.
5797
5798 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5799
5800         Remove old ABI support from libsupc++.
5801         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5802         * libsupc++/exception_support.cc: Likewise.
5803         * libsupc++/pure.cc: Likewise.
5804         * libsupc++/tinfo.cc: Likewise.
5805         * libsupc++/tinfo.h: Likewise.
5806         * libsupc++/tinfo2.cc: Likewise.
5807         * libsupc++/typeinfo: Likewise.
5808         * libsupc++/vec.cc: Likewise.
5809
5810 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5811
5812         Add support for -fno-exceptions.
5813         * include/bits/exception_support.h: Remove.
5814         * include/bits/basic_string.h: Remove exception_support.
5815         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5816         (string::at): Same.
5817         (string::substr): Same.
5818         * include/bits/basic_string.tcc (string::reserve): Replace
5819         __LENGTHERROR with __throw_length_error.
5820         (string::_S_create): Same.
5821         (string::resize): Same.
5822         (string::_M_replace): Same.
5823         (string::replace): Same.
5824         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5825         (string::compare): Same.
5826         * include/bits/stl_vector.h: Remove exception_support.
5827         * src/Makefile.am (base_headers): Remove here.
5828         * src/Makefile.in: Regenerate.
5829
5830         * include/bits/stl_range_errors.h: Remove.
5831         * include/bits/stl_deque.h: Use __throw_range_error.
5832         * include/bits/std_deque.h: Include functexcept.h.
5833         * include/bits/std_vector.h: Same.
5834         * src/Makefile.am (base_headers): Remove here.
5835         * src/Makefile.in: Regenerate.
5836         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5837         * include/ext/bvector: Remove stl_range_errors.h
5838
5839         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5840
5841         * include/bits/functexcept.h: New file.
5842         * src/functexcept.cc: New file. Definitions for function-based
5843         exception routines.
5844         * src/Makefile.am (sources): Add functexcept.cc.
5845         * src/Makefile.in: Regenerate.
5846
5847         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5848         __EXCEPTIONS.
5849
5850         * include/bits/localefwd.h: Include functexcept.h.
5851         * include/bits/std_iosfwd.h: Same.
5852
5853         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5854         throw basic_ios::failure.
5855         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5856         Use __throw_exception_again.
5857         (filebuf::_M_filebuf_init): Same.
5858         * include/bits/streambuf.tcc (__copy_streambufs): Same.
5859         * include/bits/ostream.tcc (ostream::operator<<): Same.
5860         * include/bits/istream.tcc (istream::operator>>): Same.
5861         * include/bits/basic_string.tcc (string::_M_mutate): Same.
5862         (string::_S_construct): Same.
5863         (string::_M_clone): Same.
5864         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5865         __throw_bad_cast.
5866         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5867         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5868         __throw_exception_again.
5869         (locale::_Imp::_Imp(string, size_t): Same.
5870         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5871         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5872         (locale::locale(const char*)): Use __throw_runtime_error.
5873         (locale::classic): Use __throw_exception_again.
5874         (locale::_S_normalize_category): Use __throw_runtime_error.
5875
5876         * src/stdexcept.cc: Remove cruft.
5877
5878         * libsupc++/exception_defines.h: New file.
5879         * libsupc++/new_opnt.cc: Include exception_defines.h.
5880         * libsupc++/vec.cc: Same.
5881         (__cxa_vec_new2): Use __throw_exception_again.
5882         (__cxa_vec_new3): Same.
5883         (__cxa_vec_ctor): Same.
5884         (__cxa_vec_delete3): Same.
5885         (__cxa_vec_cctor): Same.
5886         (__cxa_vec_delete2): Same.
5887         (__cxa_vec_dtor): Same.
5888         * libsupc++/exception_support.cc: Include exception_defines.h. Only
5889         compile exception-handling bits if __EXCEPTIONS is defined.
5890         Remove old ABI support.
5891         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5892         std::__throw_bad_alloc() instead of throw bad_alloc.
5893         * libsupc++/Makefile.am: Add exception_defines.h.
5894         * libsupc++/Makefile.in: Reformat.
5895         * libsupc++/*: Format.
5896
5897 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
5898
5899         * docs/html/configopts.html:  Minor updates and typo fixes.
5900         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
5901         * docs/html/faq/index.txt:  Regenerated.
5902
5903 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5904
5905         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5906         dejagnu/dg.exp.  Adapt to log options used to run testcases.
5907
5908 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5909
5910         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5911         dejagnu/dg.exp.
5912
5913 2001-02-13  Dirk Mueller <dmuell@gmx.net>
5914             Phil Edwards  <pme@sources.redhat.com>
5915
5916         * include/backward/function.h:  Do not use rel_ops for older
5917           headers either.
5918         * include/backward/pair.h:  Likewise.
5919
5920 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
5921
5922         * src/locale.cc: Remove bogus locale::id definitions.
5923
5924 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5925
5926         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5927         not _DEFINE_VALARRAY_OPERATOR which is not existent.
5928
5929         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5930         thinko in member initialisation.
5931
5932 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5933
5934         * include/bits/std_valarray.h(valarray<>::shift): Avoid
5935         comparaison between signed and unsigned integer types.
5936         (valarray<>::cshift): Reformat.
5937
5938 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
5939
5940         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5941         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5942         * configure.in: Test for sigsetjmp.
5943         * configure, config.h.in: Rebuilt.
5944
5945 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5946
5947         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5948         lengths and strides.
5949         (__gslice_to_index): Document.
5950
5951 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5952
5953         * include/bits/char_traits.h char_traits<char>::int_type: Change
5954         to `int' to match 21.1.3.1/2.
5955
5956         * testsuite/21_strings/char_traits-int_type.C: New test.
5957
5958 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5959
5960         * testsuite/Makefile.am: New file.
5961
5962 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
5963
5964         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5965
5966 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
5967
5968         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5969
5970 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
5971
5972         * configure.target (aix4*): Remove extra set of brackets.
5973
5974 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5975
5976         Clean up stdexcept.
5977         * include/bits/stringfwd.h: New file.
5978         * include/bits/stl_string_fwd.h: Remove.
5979         * include/bits/localefwd.h: Remove declaration for allocator.
5980         * include/bits/std_iosfwd: Same.
5981         * include/bits/std_string.h: Include it.
5982         * include/bits/std_ios.h: Remove include.
5983         * include/bits/basic_string.h: Tweak.
5984         * libsupc++/new: Format.
5985         * src/Makefile.am (base_headers): Add stringfwd.h, remove
5986         stl_string_fwd.h
5987         * src/Makefile.in: Regenerate.
5988         * include/bits/std_stdexcept.h: Rewrite.
5989         * src/stdexcept.cc: Same.
5990
5991 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5992
5993         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5994         install locations too.
5995         * aclocal.m4: Regenerate.
5996         * configure.in: Remove USE_LIBDIR.
5997         * configure: Regenerate.
5998         * src/Makefile.am (toolexecdir): Simplify, use
5999         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
6000         * src/Makefile.in: Regenerate.
6001         * libsupc++/Makefile.am: Same.
6002         * libsupc++/Makefile.in: Regenerate.
6003
6004         * src/Makefile.am: Just remove special rules for locale-inst.cc and
6005         misc-inst.cc as no longer necessary.
6006
6007         Follow C++STYLE for naming non-static functions.
6008         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
6009         __pad_char.
6010         * include/bits/streambuf.tcc: Same.
6011         * include/bits/ostream.tcc: Same.
6012         * include/bits/istream.tcc: Same.
6013         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
6014         (_S_output_float): To __output_float.
6015         * include/bits/std_streambuf.h (_S_copy_streambufs): To
6016         __copy_streambufs.
6017         * include/bits/locale_facets.tcc (_S_build_float_format): To
6018         __build_float_format.
6019         (_S_format): To __output_integer.
6020         (_S_fill): To __pad.
6021         * src/locale.cc: Same.
6022         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
6023         names.
6024         * include/bits/locale_facets.tcc (_S_group_digits): To
6025         __group_digits.
6026         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
6027         for collate, numpunct.
6028
6029 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
6030
6031         * docs/html/configopts.html:  Fix HTML markup.
6032         * docs/html/install.html:  Bring up to date.
6033         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
6034         * docs/html/21_strings/howto.html:  More notes.
6035         * docs/html/22_locale/howto.html:  Fix HTML markup.
6036         * docs/html/27_io/howto.html:  More notes.
6037         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
6038         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
6039
6040 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
6041
6042         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
6043         to match header files.
6044         (_S_output_float): Likewise.
6045         (_S_copy_streambufs): Likewise.
6046
6047 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
6048             Phil Edwards  <pme@sources.redhat.com>
6049
6050         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
6051           use reinterpret_cast, not static_cast.
6052
6053 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
6054
6055         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
6056         * aclocal.m4: Regenerate.
6057         * configure: Regenerate.
6058
6059 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6060
6061         * include/bits/locale_facets.h (class moneypunct): Fix typos.
6062         * libsupc++/pure.cc: Revert.
6063
6064 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6065
6066         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6067         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6068         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6069         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6070         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6071         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6072         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6073         * aclocal.m4: Regenerate.
6074         * configure: Regenerate.
6075
6076 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
6077
6078         * include/bits/locale_facets.tcc: Remove `static' keyword on
6079         function definitions.
6080         * include/bits/std_streambuf.h: Likewise.
6081         * src/Makefile.am: Remove use of -fimplicit-templates.
6082         * src/Makefile.in: Regenerated.
6083         * src/locale-inst.cc: Explicitly instantiate more functions.
6084         * src/misc-inst.cc: Likewise.
6085         * src/string-inst.cc: Likewise.
6086
6087 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6088
6089         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6090         macro. Consolidate all the bits to do with where includes might be
6091         installed.
6092         * aclocal.m4: Regenerate.
6093         * configure.in: Use it.
6094         * configure: Regenerate.
6095         * src/Makefile.am (targetincludep): Use simplified rules.
6096         (targetincludep): Rename gxx_target_include_dir.
6097         (myincludep): Rename gxx_include_dir.
6098         * src/Makefile.in: Regenerate.
6099         * libsupc++/Makefile.am: Use simplified rules.
6100         * libsupc++/Makefile.in: Regenerate.
6101
6102 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6103
6104         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6105         * include/c_std/bits/std_cctype.h: Same.
6106         * include/c_std/bits/std_cassert.h: Same.
6107         * include/c_std/bits/std_cstdarg.h: Same.
6108         * include/c_std/bits/std_cstddef.h: Same.
6109
6110         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6111         namespace std.
6112         * include/c_std/bits/std_ctime.h: Same.
6113         * include/c_std/bits/std_clocale.h: Same.
6114         * include/c_std/bits/std_cmath.h: Same.
6115         * include/c_std/bits/std_csetjmp.h: Same.
6116         * include/c_std/bits/std_csignal.h: Same.
6117         * include/c_std/bits/std_cstring.h: Same.
6118         * include/c_std/bits/std_cstdlib.h: Same.
6119         * include/c_std/bits/std_cwchar.h: Same.
6120
6121 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
6122
6123         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
6124
6125 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
6126
6127         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6128         (string::_S_construct): Likewise.
6129
6130 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
6131
6132         * testsuite/config/default.exp: New file.
6133         * testsuite/config: New directory.
6134
6135 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
6136
6137         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6138         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6139         whenever !__GXX_MERGED_TYPEINFO_NAMES.
6140         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6141
6142 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
6143             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6144
6145         * Makefile.am (mkinstalldirs): Set.
6146         * src/Makefile.am (mkinstalldirs): Set.
6147         * libmath/Makefile.am (mkinstalldirs): Set.
6148         * libsup++/Makefile.am (mkinstalldirs): Set.
6149         * libio/Makefile.am (mkinstalldirs): Set.
6150         * */Makefile.in: Regenerate.
6151
6152 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
6153
6154         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6155         * include/bits/localefwd.h: More initialization cleanups.
6156
6157 2001-02-03  Jeffrey A Law  <law@cygnus.com>
6158
6159         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6160         correctly targets with 16bit ints.
6161         (_S_ios_openmode_end): Similarly.
6162         (_S_ios_iostate_end): Similarly.
6163         (_S_ios_Seekdir_end): Similarly.
6164
6165 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
6166
6167         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
6168
6169 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
6170
6171         * configure.in (toplevel_srcdir, auxdir): Set.
6172         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6173         * aclocal.m4, configure, Makefile.in: Rebuilt.
6174         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6175         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6176         * libsupc++-v3/Makefile.in: Rebuilt.
6177         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6178         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6179
6180 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
6181
6182         * config/c_locale_generic.cc: Remove langinfo include.
6183
6184 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
6185
6186         Preliminary named locales.
6187         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6188         * aclocal.m4: Regenerate.
6189         * configure.in: Use it.
6190         * configure: Regerate.
6191         * src/Makefile.am (sources): Add c++locale.cc.
6192         (build_headers): Add c++locale.h.
6193         * src/Makefile.in: Regenerate.
6194         * config/c_locale_gnu.h: New file.
6195         * config/c_locale_gnu.cc: New file. Non-inline member functions
6196         for named locales, gnu-specific.
6197         * config/c_locale_generic.h: New file.
6198         * config/c_locale_generic.cc: New file. Non-inline member
6199         functions for named locales, generic version.
6200         * docs/html/configopts.html: Add documentation on new options.
6201
6202         * include/bits/locale_facets.h (class _Messages): Remove.
6203         (class _Moneypunct): Remove.
6204         * src/locale-inst.cc: Remove.
6205
6206         * include/bits/locale_facets.h (class _Collate): Remove.
6207         * src/locale-inst.cc (std): Remove.
6208         * src/locale.cc: And here.
6209
6210         * include/bits/localefwd.h (locale::_M_coalesce): New
6211         function. Correctly put together multi-name locales.
6212         (_Impl(const _Impl&, category, size_t)): Remove.
6213
6214         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6215         member functions.
6216         (_M_normalize_category_names): Remove.
6217         (_M_replace_categories): Fix.
6218
6219         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6220         (locale::_Impl::_M_construct_ctype): Remove.
6221         (locale::_Impl::_M_construct_monetary): Remove.
6222         (locale::_Impl::_M_construct_numeric): Remove.
6223         (locale::_Impl::_M_construct_time): Remove.
6224         (locale::_Impl::_M_construct_messages): Remove.
6225
6226         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6227         (_Use_facet_failure_handle): Remove.
6228         * src/locale.cc: Remove definitions.
6229         * src/locale-inst.cc: And here.
6230
6231         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6232
6233         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6234         create and error-check underlying locale object.
6235         (locale::facet::_S_destroy_c_locale): Add, take care of properly
6236         tearing down underlying locale object.
6237         * include/bits/localefwd.h (locale::facet): Declare.
6238         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6239         correctness, as glibc apparently has incorrect info in it. Test
6240         with it when it works again.....
6241
6242         * include/bits/localefwd.h (locale::_Impl::__vec_string):
6243         Remove. Number of categories is fixed at six, so just simplify and
6244         make this an array of strings.
6245         (locale::_Impl::_M_has_name): Remove.
6246         (locale::_Impl::_M_name): Remove.
6247         (locale::_Impl::_M_category_names): Turns into...
6248         (locale::_Impl::_M_names): ...this.
6249         (locale::_Impl::_M_has_same_name()): New function.
6250         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6251         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6252         signature.
6253         * src/locale.cc (locale::name()): Construct mangled name
6254         accurately reflecting combined locale categories.
6255
6256         * src/locale.cc (locale::classic()): Don't initialize here.
6257         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6258         __refs, bool __has_name, string __str): Do it here.
6259
6260         * include/bits/localefwd.h: _S_categories_num to
6261         _S_num_categories. _S_facets_num to _S_num_facets.
6262         (locale::id::id()): Explicitly set _M_index to zero.
6263         * src/locale.cc: Same.
6264
6265         * src/locale.cc: (locale::locale(const char*)): Construct named
6266         locales uniquely.
6267
6268         * src/locale.cc: Remove numpunct_byname ctors.
6269         * testsuite/22_locale/numpunct_byname.cc: New file.
6270         * testsuite/22_locale/numpunct.cc: New file.
6271
6272         * include/bits/localefwd.h (class locale): Change data members to
6273         protected, from private.
6274         (_Impl::_M_get_c_locale): Add member function.
6275         (locale::facet::_M_get_global_impl()): Add member function.
6276         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6277         a __c_locale pointer.
6278         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6279         named locales.
6280         * testsuite/22_locale/members.cc: New file, test name and combine.
6281
6282         * include/bits/locale_facets.h (class numpunct): Remove class
6283         _Punct and _Numpunct. Rewrite class numpunct to be correct for
6284         named locales.
6285         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6286         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6287         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6288         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6289         * testsuite/22_locale/numpunct_char_members.cc: New file.
6290
6291 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
6292
6293         * testsuite/README: Add more comment.
6294         * testsuite/lib/libstdc++.exp: Tweak comment.
6295
6296 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
6297
6298         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6299
6300 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
6301
6302         * testsuite/21_strings/inserters_extractors.cc: Remove
6303         explicit reference to 'testsuite/'.
6304
6305 2001-01-25  Richard Henderson  <rth@redhat.com>
6306
6307         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6308         bits. Fixes Tru64 build issues.
6309
6310 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6311
6312         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6313         (use ${MAKE-make}, not ${MAKE:-make}).
6314         * aclocal.m4, configure: Regenerate.
6315
6316 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
6317
6318         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6319         checkin.
6320
6321         * src/Makefile.am (sources): Add globals.cc.
6322         * src/Makefile.in: Regenerated.
6323         * src/globals.cc: New file.
6324         * src/ios.cc (cin): Don't define here, just declare extern.
6325         (cout): Likewise.
6326         (cerr): Likewise.
6327         (clog): Likewise.
6328         (wcin): Likewise.
6329         (wcout): Likewise.
6330         (wcerr): Likewise.
6331         (wclog): Likewise.
6332
6333 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
6334
6335         * include/bits/std_iterator.h:  Do not include stl_relops.h.
6336         * include/bits/std_numeric.h:  Ditto.
6337         * include/bits/stl_algobase.h:  Ditto.
6338         * include/bits/stl_relops.h:  Add comment warning about problems.
6339
6340 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
6341
6342         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6343         in testcases.  Prepare for the DejaGnu based framework.
6344         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
6345         directory -- it is now mkcheck working directory.
6346         * tests_flags.in: Remove reference to $(top_srcdir).  Use
6347         ${SRC_DIR} instead.
6348         * Makefile.am (check, check-install): Change mkcheck invocation
6349         logic.
6350         * Makefile.in: Regenerate.
6351
6352 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
6353
6354         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6355         (__always_swap): Likewise.
6356
6357 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
6358
6359         * libsupc++/exception_support.cc (__terminate_func): Remove
6360         declaration.
6361         (__terminate_func_ptr): New typedef.
6362         (__terminate, __terminate_set_func): New extern function
6363         prototypes.
6364         (std::terminate): Use __terminate function.
6365         (std::set_terminate): Use __terminate_set_func function.
6366
6367 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
6368
6369         * configure.target: Just use os_include_dir always.
6370         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6371         Link atomicity files and ctype files here.
6372         * configure: Regenerate.
6373         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6374         (GLIBCPP_ENABLE_ATOMICITY): Remove.
6375         * aclocal.m4: Regenerate.
6376
6377 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
6378
6379         * configure.in: Place definition of MULTISUBDIR in
6380         libsupc++/Makefile as is done for src/Makefile.
6381         * configure: Regenerate.
6382
6383 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
6384
6385         * acinclude.m4:  Cosmetic changes only.
6386         * aclocal.m4:  Regenerated.
6387         * configure:  Regenerated.
6388         * configure.target:  Update documented list of changed variables.
6389         * docs/html/install.html:  Fix typo.
6390         * docs/html/20_util/howto.html:  More notes on auto_ptr.
6391         * docs/html/27_io/howto.html:  More notes on streabufs.
6392         * docs/html/faq/index.html:  Add rel_ops problem and mention the
6393           DEC as(1) .subsection difficulty.
6394         * docs/html/faq/index.txt:  Regenerated.
6395
6396 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
6397
6398         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6399         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6400         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6401         its already provided in config.target.
6402         * aclocal.m4: Regenerated.
6403         * configure: Likewise.
6404         * configure.target: Set ctype_include_dir for lots of systems.
6405         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6406         * libsupc++/Makefile.in: Regenerated.
6407
6408 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
6409
6410         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
6411         keyword capability.
6412
6413         * testsuite/README: Add comment.
6414
6415 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
6416
6417         * docs/html/configopts.html:  Update for current status.  Fix HTML.
6418         * docs/html/install.html:  Update for current status.
6419
6420 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6421
6422         * testsuite/libstdc++.tests/tests.exp: New file.
6423         * testsuite/lib/libstdc++.exp: Itou.
6424         * testsuite/README: Itou.
6425
6426 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
6427
6428         * tests_flags.in: Just output the bare minimum to run tests.
6429         Let's the caller do its own arrangement.
6430
6431         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
6432         computations.
6433
6434 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
6435
6436         * testsuite/17_intro: Prepare testcases for new style DejaGnu
6437         framework.
6438
6439 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
6440
6441         * testsuite/libstdc++.tests, testsuite/lib: New directories.
6442
6443 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
6444
6445         * mkcheck.in: Construct file names that match $objdir structure.
6446         * testsuite/27_io/filebuf_members-1.txt: New file.
6447         * testsuite/27_io/ifstream_members-1.txt: New file.
6448         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6449
6450         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6451         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6452
6453 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6454
6455         * testsuite/27_io/istream_sentry.cc (test02): Fix.
6456
6457 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
6458
6459         libstdc++/1605
6460         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6461         * src/ios.cc (ios_base::failure): Make definitions match.
6462         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6463         (class bad_cast): Same.
6464         * libsupc++/exception (class exception): Add throw specs.
6465         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6466         (set_unexpected): Same.
6467         (uncaught_exception): Same.
6468         (what): Same.
6469
6470         * docs/html/17_intro/C++STYLE (classname): Fix.
6471
6472 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6473
6474         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6475         Use it do explicitly instantiate predicate<T> and value<T> for
6476         all the builtin Ts.
6477
6478 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
6479
6480         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6481         uninitialized thinko in last change.
6482
6483 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6484
6485         * libsupc++/exception_support.cc (__cp_pop_exception): Change
6486         prototype.
6487
6488 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6489
6490         * docs/html/17_intro/C++STYLE (classname): Add more existing
6491         and stylish patterns.
6492
6493         libstdc++/944
6494         * include/bits/istream.tcc (istream::sentry::sentry()): Set
6495         failbit if the state of the stream is not good.
6496         * testsuite/27_io/istream_sentry.cc (test02): Add test.
6497         * testsuite/27_io/istream_manip.cc (test01): Modify.
6498
6499         libstdc++/1019
6500         reported by Paolo Carlini <pcarlini@unitus.it>
6501         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6502         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6503
6504         libstdc++/1057
6505         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6506         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6507         (xsgetn): Same. Simplify.
6508         * testsuite/27_io/streambuf.cc (test04): Add testcases.
6509
6510         reported by Larry Evans <jcampbell3@prodigy.net>
6511         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6512         equality with eof on returned value from overflow.
6513
6514 2001-01-14  Andreas Jaeger  <aj@suse.de>
6515
6516         * libio/libio.h: Add test for glibc 2.0.
6517
6518 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
6519
6520         * config/os/djgpp/bits/*: Fix dates.
6521
6522         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6523         _CharT* __end, _CharT __c): Remove.
6524         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6525         * include/bits/char_traits.h: Tweak.
6526
6527 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
6528
6529         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6530         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6531         bash bug.
6532         * aclocal.m4: regenerated.
6533         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6534         * configure: regenerated.
6535         * config/os/djgpp, config/os/djgpp/bits: new directories.
6536         * config/os/djgpp/bits/ctype_base.h,
6537         config/os/djgpp/bits/ctype_inline.h,
6538         config/os/djgpp/bits/ctype_noninline.h,
6539         config/os/djgpp/bits/os_defines.h: new files.
6540
6541 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
6542
6543         * include/c_std/bits/std_cstdio.h: Undef printf.
6544
6545 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
6546
6547         * src/ios.cc: Fix typo: change cout->wcout.
6548
6549         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6550         * src/Makefile.in: Regenerate.
6551
6552 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6553
6554          * include/bits/std_complex.h: Fix a typo.
6555
6556 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
6557                              <kainz@ilm.com>
6558
6559         Fixes for libstdc++/1576
6560         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6561         file, move contents into....
6562         * src/ios.cc: ...Here. Put defines for iostreams objects and
6563         initialization routines into one file to simplify DSO interaction.
6564         * include/bits/std_iostream.h: Touch.
6565         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6566         * src/Makefile.am (sources): Remove stdstreams.cc.
6567         * src/Makefile.in: Regenerate.
6568
6569 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6570
6571         * tests_flags.in (check_directory): Fix typo.
6572
6573 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6574
6575          * include/bits/std_complex.h: Fix a typo.
6576
6577 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
6578
6579         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6580         code path:) Remove magic constants and restructure to handle
6581         ctype.h bit mask layout changes more gracefully.  (Make fast
6582         code path:) Use __maskrune (), if available.
6583         (is): Remove special case for digit and xdigit masks.
6584
6585 2001-01-09  Robert Lipe <robertlipe@usa.net>
6586
6587         * include/c_std/bits/std_ctime.h: Undefine difftime.
6588
6589 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
6590
6591         * src/gen-num-limits.cc (signal_adapter): New template function.
6592         (signal_handler): Use it, instead of signal.
6593         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
6594         require both tests to trap to set trap_flag.
6595
6596 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6597
6598         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6599         initialize mbstate_t member, name offset data members *off, not pos.
6600         * include/bits/fstream.tcc (filebuf::filebuf): Same.
6601
6602 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6603
6604         reported by Chris G. Demetriou <cgd@sibyte.com>
6605         * configure.in: Change -linux-* to -linux*.
6606         * configure: Regenerate.
6607
6608 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
6609
6610         Fix 27_io/filebuf_members.cc
6611         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6612         const string& __name, category __cat, size_t __refs): Set
6613         _M_has_name with _M_name.
6614         * include/bits/localefwd.h (locale::operator!=): Protect member
6615         function call with this->.
6616         * src/locale.cc (locale::operator==): Make fast checks first.
6617         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6618
6619         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6620         to ios_base::Init.
6621         * src/ios.cc (ios_base::Init::Init): Initialize here.
6622         (ios_base::sync_with_stdio): Set here.
6623
6624 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
6625
6626         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6627         systems that support it, call dup() before fdopen().
6628
6629 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
6630
6631         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6632         * testsuite/17_intro/header_cwctype.cc (main): New file.
6633
6634         * src/Makefile.am (base_headers): Change.
6635         * include/bits/std_string.h: And here.
6636         * include/bits/string.tcc: Tweaks, move to...
6637         * include/bits/basic_string.tcc: ...Here.
6638         * src/string-inst.cc: Simplify, just instantiate the whole class,
6639         not member-by-member.
6640
6641 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
6642
6643         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6644         * aclocal.m4: Regenerate.
6645         * configure: Regenerate.
6646
6647         * include/bits/c++config (__GLIBCPP__): Bump version number.
6648
6649         * ChangeLog: Start new log for year 2001
6650         * ChangeLog-2000: New file.
6651
6652         * docs/html/configopts.html: Make sure default values are current,
6653         add commentary.
6654
6655 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
6656
6657         * include/c_std/bits/std_cwchar.h: Same.
6658         * testsuite/17_intro/header_cwchar.cc: Same.
6659         * include/c_std/bits/std_ctime.h: Same.
6660         * testsuite/17_intro/header_ctime.cc: Same.
6661         * include/c_std/bits/std_cstdlib.h: Same.
6662         Clean up undefs, make consistent with cwchar and cmath, etc.
6663         * testsuite/17_intro/header_cstdlib.cc: Same.
6664         * include/c_std/bits/std_cstdio.h: Same here.
6665         * testsuite/17_intro/header_cstring.cc: Same.
6666         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6667         * testsuite/17_intro/header_cstring.cc: New file. Check for
6668         size_t in namespace std.
6669
6670         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6671         * acconfig.h (HAVE_MBSTATE_T): Add.
6672         * config.h.in: Regenerate.
6673         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6674         mbstate_t.
6675         * aclocal.m4: Regenerate.
6676         * configure: Regenerate.
6677         * testsuite/17_intro/headers_c++.cc: New file.
6678         * testsuite/17_intro/headers_c.cc: Small changes.
6679
6680 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
6681
6682         * tests_flags.in: Fix typo in usage.
6683
6684         * tests_flags.in: Set target specific LIBS for cygwin.