OSDN Git Service

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