OSDN Git Service

2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * include/bits/locale_facets.h (ctype<char>::classic_table):
4         Remove definition.
5         (ctype<char>::_S_ctable): Remove.
6         * config/os/gnu-linux/bits/ctype_noninline.h
7         (ctype<char>::_S_table): Remove definition.
8         (ctype<char>::classic_table): Define.
9         (ctype<char>::ctype): Replace _S_ctable with classic_table().
10         * config/os/aix/bits/ctype_noninline.h: Same.
11         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
12         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
13         * config/os/djgpp/bits/ctype_noninline.h: Same.
14         * config/os/generic/bits/ctype_noninline.h: Same.
15         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
16         * config/os/hpux/bits/ctype_noninline.h: Same.
17         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
18         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
19         * config/os/mingw32/bits/ctype_noninline.h: Same.
20         * config/os/newlib/bits/ctype_noninline.h: Same.
21         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
22         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
23         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
24
25 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
26
27         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
28         of _pctype. Use to define _S_ctable.  Add definition for alternate
29         ctor.  Initialise _M_ctable to _S_ctable in ctors.
30         (do_toupper, do_tolower): Use inline code appropriate for C-locale
31         rather than ::toupper, ::tolower.
32
33 2002-01-18  Loren Rittle <ljrittle@acm.org>
34
35         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
36         Add specialization for FreeBSD systems only to avoid losing test
37         only due to extra precision unmentioned in system headers.
38
39 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
40
41         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
42
43 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
44
45         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
46         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
47
48 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
49         
50         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
51
52 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
53
54         * configure.target: Define OPT_LDFLAGS for AIX case.
55
56 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
57
58         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
59         __glibcpp_double_has_quiet_NaN): Correct mispelling.
60
61 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
62
63         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
64
65 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
66
67         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
68         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
69         * aclocal.m4: Regenerate.
70         * configure: Regenerate.
71         
72 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
73
74         * include/Makefile.am (c_base_headers_rename): New.
75         (c_base_headers_extra): New.
76         (stamp-c_base): Modify.
77         (install-data-local): Use both.
78         * include/Makefile.in: Regenerate.
79         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
80         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
81         cstdio ctime cwctype]: Move to..
82         * include/c/std_*: Here.
83         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
84         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
85         cstdio ctime cwctype]: Move to..
86         * include/c_std/std_*: Here.
87
88         Alexandre Oliva  <aoliva@redhat.com>    
89         * include/Makefile.am (.PRECIOUS): Add rule.
90         * include/Makefile.in: Regenerate.
91         
92 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
93             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
94         
95         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
96         Deuglify, should be current.
97         (back_insert_iterator::_M_container): Deuglify, should be container.
98         (front_insert_iterator::_M_container): Same.    
99         (insert_iterator::_M_container): Same.
100         * testsuite/24_iterators/reverse_iterator.cc: Add check.
101         * testsuite/24_iterators/back_insert_iterator.cc: Add check.    
102         * testsuite/24_iterators/front_insert_iterator.cc: Same.
103         * testsuite/24_iterators/insert_iterator.cc: Same.
104         
105 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
106
107         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
108         static.
109         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
110         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
111         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
112         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
113         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
114         * config/os/newlib/bits/ctype_noninline.h: Same.
115         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
116         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
117         * config/os/hpux/bits/ctype_noninline.h: Same.
118         * config/os/djgpp/bits/ctype_noninline.h: Same.
119         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
120         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
121         * config/os/aix/bits/ctype_noninline.h: Same.
122         
123         Testcase by Dietmar Kühl via Peter Schmid 
124         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
125         classic_table().
126
127 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
128
129         * libmath/signbitl.c: Copyright years as list, not range.       
130         * libmath/Makefile.am: Same.
131         * libmath/Makefie.in: Regenerate.
132         * libmath/signbit.c: Same.
133         * libmath/nan.c: Same.
134         * libmath/copysignf.c: Same.
135         * libmath/signbitf.c: Same.
136         * testsuite/22_locale/money_get_members_char.cc: Same.
137         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
138         * testsuite/22_locale/money_put_members_char.cc: Same.
139         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
140         * testsuite/22_locale/time_get_members_char.cc: Same.
141         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
142         * testsuite/22_locale/time_put_members_char.cc: Same.
143         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
144         * testsuite/21_strings/nonmember.cc: Same.
145         * testsuite/21_strings/compare.cc: Same.
146         * testsuite/27_io/stringstream.cc: Same.
147         * testsuite/27_io/stringbuf.cc: Same.
148         * testsuite/27_io/filebuf.cc: Same.
149         * testsuite/27_io/ios_manip_basefield.cc: Same.
150         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
151         * include/bits/cpp_type_traits.h: Same.
152         * include/bits/generic_shadow.h: Same.
153         * include/bits/gslice_array.h: Same.
154         * include/bits/gslice.h: Same.
155         * include/bits/indirect_array.h: Same.
156         * include/bits/slice_array.h: Same.
157         * include/bits/sstream.tcc: Same.
158         * include/bits/streambuf_iterator.h: Same.
159         * include/bits/valarray_array.tcc: Same.
160         * include/bits/valarray_meta.h: Same.
161         * include/bits/valarray_array.h: Same.
162         * config/os/mingw32/bits/ctype_noninline.h: Same.
163         * config/os/mingw32/bits/ctype_base.h: Same.
164         * config/os/hpux/bits/ctype_noninline.h: Same.
165         * config/os/hpux/bits/ctype_base.h: Same.
166         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
167         * config/os/gnu-linux/bits/ctype_base.h: Same.
168         * config/os/generic/bits/ctype_noninline.h: Same.
169         * config/os/generic/bits/ctype_base.h: Same.
170
171         * libsupc++/tinfo.h: Tweaks.
172
173 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
174
175         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
176         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
177         * testsuite/22_locale/ctype_members_char.cc: Tweak.     
178
179 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
180
181         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
182         (num_put::do_put(void*)): Fix.
183         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
184         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
185         * testsuite/22_locale/num_get_members_char.cc (test02): Add
186         long double, void, bool types.
187         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
188         
189 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
190             Alexandre Oliva  <aoliva@redhat.com>
191
192         * libmath/Makefile.am (LINK): Add --tag CC.
193         * libmath/Makefile.in: Regenerate.
194
195 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
196
197         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
198         of character to attribute mapping table.
199
200 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
201
202         * testsuite/26_numerics/c99_classification_macros_c.cc
203         Remove dg-error and dg-excess-errors comments.
204
205 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
206
207         * include/bits/locale_facets.tcc (time_put::put): Correct output
208         iterator positions.
209         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
210         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
211         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
212         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
213
214 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
215
216         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
217
218 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
219             Nathan Myers  <ncm@cantrip.org>
220
221         * include/bits/basic_string.h
222         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
223         temporaries (i.e., call _M_replace_safe) when possible.
224         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
225         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
226         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
227         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
228         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
229         * include/bits/basic_string.tcc
230         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
231         replace(__pos, __n1, __s, __n2).
232         * testsuite/21_strings/replace.cc (test03): New testcases.
233
234         * include/bits/basic_string.h (insert(__pos, __s, __n)):
235         Adjust comparison wrt overflow.
236         
237 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
238
239         * include/Makefile.am (std_headers_rename): New variable.
240         (install-data-local): Use it.
241         * include/Makefile.in: Regenerate.
242         
243 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
244
245         * include/bits/locale_facets.tcc (money_put::do_put(string):
246         Correct output iterator value.
247         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
248         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
249         
250 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
251
252         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
253         previous commit.
254
255 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
256
257         * include/Makefile.am (std_headers):  Update list with new names.
258         (stamp-std):  Link to standardized name.
259         * include/Makefile.in:  Regenerate.
260
261         * include/std/algorithm, include/std/bitset, include/std/complex,
262         include/std/deque, include/std/fstream, include/std/functional,
263         include/std/iomanip, include/std/ios, include/std/iosfwd,
264         include/std/iostream, include/std/istream, include/std/iterator,
265         include/std/limits, include/std/list, include/std/locale,
266         include/std/map, include/std/memory, include/std/numeric,
267         include/std/ostream, include/std/queue, include/std/set,
268         include/std/sstream, include/std/stack, include/std/stdexcept,
269         include/std/streambuf, include/std/string, include/std/utility,
270         include/std/valarray, include/std/vector:  Rename to...
271
272         * include/std/std_algorithm.h, include/std/std_bitset.h,
273         include/std/std_complex.h, include/std/std_deque.h,
274         include/std/std_fstream.h, include/std/std_functional.h,
275         include/std/std_iomanip.h, include/std/std_ios.h,
276         include/std/std_iosfwd.h, include/std/std_iostream.h,
277         include/std/std_istream.h, include/std/std_iterator.h,
278         include/std/std_limits.h, include/std/std_list.h,
279         include/std/std_locale.h, include/std/std_map.h,
280         include/std/std_memory.h, include/std/std_numeric.h,
281         include/std/std_ostream.h, include/std/std_queue.h,
282         include/std/std_set.h, include/std/std_sstream.h,
283         include/std/std_stack.h, include/std/std_stdexcept.h,
284         include/std/std_streambuf.h, include/std/std_string.h,
285         include/std/std_utility.h, include/std/std_valarray.h,
286         include/std/std_vector.h:  ...this.
287
288 2002-01-11  Loren Rittle <ljrittle@acm.org>
289
290         * include/Makefile.am (extra_target_headers): New list of all
291         target files built with ad hoc naming rules.
292         (stamp-*): Handle LN_S failure in manner portable across make
293         implementations.
294         (install-data-local): Install header files from human-maintained
295         file lists and directory components instead of non-robust find.
296         * include/Makefile.in: Rebuilt.
297
298 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
299
300         * include/bits/locale_facets.tcc (money_get::do_get(string)):
301         Check for zero-length negative sign before adding it to output
302         string.
303         (money_get::do_get(long double)): Return beg.
304         * testsuite/22_locale/money_get_members_char.cc (test02): Add
305         iterator checks.
306         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
307         
308 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
309
310         libstdc++/5331
311         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
312         for _M_extract_float and _M_extract_int
313         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
314         (num_get<>::_M_extract_int): Likewise, all callers changed
315         * testsuite/22_locale/num_get_members_char.cc: Testcase
316
317 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
318
319         * libsupc++/exception (bad_exception): Add comment.
320         * libsupc++/new (bad_alloc): Same.
321         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
322
323 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
324
325         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
326         that the destructors should be removed from the descriptions
327         in the standard: writing them explicitly allows the vtable
328         heuristic to work. For additional information see:
329         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
330         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
331         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
332         * libsupc++/exception (bad_exception::~bad_exception()):
333         Reintroduce declaration.
334         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
335         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
336         (bad_typeid::~bad_typeid()): Same.
337         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
338         Reintroduce definition.
339         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
340         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
341         (bad_typeid::~bad_typeid()): Same.
342
343 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
344
345         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
346         * include/Makefile.in: Regenerate.
347         
348 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
349
350         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
351         definition.
352
353 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
354
355         libstdc++/2913
356         libstdc++/4879
357         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
358         return value of _M_file->sync().
359         (filebuf::showmanyc): Check for is_open.
360         * include/std/fstream (filebuf::sync): Tweak.
361         * testsuite/27_io/filebuf.cc: Tweak.
362
363 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
364             Brad Garcia  <garsh@attbi.com>
365         
366         * testsuite/27_io/filebuf_members.cc: Add test.
367         
368 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
369             Craig Rodrigues  <rodrigc@mediaone.net>
370
371         libstdc++/5174
372         * po/Makefile.am (mkinstalldirs): Add.
373         * po/Makefile.in: Regenerate.
374
375 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
376
377         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
378         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
379         compiler output.
380         * testsuite/23_containers/map_operators.cc: Remove
381         dg-excess-errors comment.
382         * testsuite/23_containers/set_operators.cc: Likewise.
383
384 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
385
386         * include/bits/stl_function.h:  Remove two lines of comments;
387         adjust copyright years.
388
389 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
390
391         * include/Makefile.am (std_headers): Remove cXXX from list.
392         (c_base_srcdir): No bits subdirectory.
393         (c_base_builddir): Same.
394         (c_base_headers): Adjust names, add ciso646.
395         (bits_headers): Remove std_xxx.h headers.
396         * include/Makefile.in: Regenerate.
397         
398         * include/ext/iterator: Adjust includes.
399         * include/ext/ropeimpl.h: Same.
400         * include/ext/stl_hash_fun.h: Same.
401         * include/ext/algorithm: Same.
402         
403         * include/backward/bvector.h: Adjust includes.
404         * include/backward/vector.h: Same.
405         * include/backward/strstream: Same.
406         * include/backward/streambuf.h: Same.
407         * include/backward/stack.h: Same.
408         * include/backward/set.h: Same.
409         * include/backward/queue.h: Same.
410         * include/backward/multiset.h: Same.
411         * include/backward/multimap.h: Same.
412         * include/backward/map.h: Same.
413         * include/backward/list.h: Same.
414         * include/backward/iterator.h: Same.
415         * include/backward/iostream.h: Same.
416         * include/backward/iomanip.h: Same.
417         * include/backward/fstream.h: Same.
418         * include/backward/deque.h: Same.
419         * include/backward/complex.h: Same.
420
421         * include/bits/std_algorithm.h: Move to...
422         * include/std/algorithm: ...here.
423         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
424         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
425         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
426         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
427         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
428         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
429         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
430         Same.
431         
432         * include/c_std/bits/std_cassert.h: Move to...
433         * include/c_std/cassert: Here.
434         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
435         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
436         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
437         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
438         std_cwctype.h: Same.
439         * include/c_std/cmath: Adjust cmath.tcc include.
440         * include/c_std/cstdlib: Adjust includes.
441         * include/c_std/cwchar: Same.
442         * include/c_std/ctime: Same.
443         * include/c_std/cstring: Same.
444         * include/c_std/cstdio: Same.
445         * include/c_std/bits: Remove directory.
446         
447         * include/c/bits/std_cassert.h: Move to...
448         * include/c/cassert: Here.
449         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
450         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
451         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
452         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
453         std_cwctype.h: Same.
454         * include/c/bits: Remove directory.
455         
456         * include/std/cwctype: Remove.
457         * include/std/cwchar: Remove.
458         * include/std/ctime: Remove.
459         * include/std/cstring: Remove.
460         * include/std/cstdlib: Remove.
461         * include/std/cstdio: Remove.
462         * include/std/cstddef: Remove.
463         * include/std/cstdarg: Remove.
464         * include/std/csignal: Remove.
465         * include/std/csetjmp: Remove.
466         * include/std/cmath: Remove.
467         * include/std/clocale: Remove.
468         * include/std/climits: Remove.
469         * include/std/ciso646: Remove.
470         * include/std/cfloat: Remove.
471         * include/std/cerrno: Remove.
472         * include/std/cctype: Remove.
473         * include/std/cassert: Remove.
474
475         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
476         files and subsituting <.xxx>
477         * include/bits/valarray_array.h: Same.
478         * include/bits/stl_uninitialized.h: Same.
479         * include/bits/stl_alloc.h: Same.
480         * include/bits/stl_algobase.h: Same.
481         * include/bits/sstream.tcc: Same.
482         * include/bits/pthread_allocimpl.h: Same.
483         * include/bits/ostream.tcc: Same.
484         * include/bits/localefwd.h: Same.
485         * include/bits/locale_facets.tcc: Same.
486         * include/bits/locale_facets.h: Same.
487         * include/bits/istream.tcc: Same.
488         * include/bits/char_traits.h: Same.
489         * include/bits/boost_concept_check.h: Same.
490         * include/bits/basic_file.h: Same.
491         * include/std/bitset: Same.
492         * include/std/complex: Same.
493         * include/std/fstream: Same.
494         * include/std/functional: Same.
495         * include/std/ios: Same.
496         * include/std/iostream: Same.
497         * include/std/ostream: Same.
498         * include/std/sstream: Same.
499         * include/std/streambuf: Same.
500         * include/std/string: Same.
501         * include/std/iterator: Same.
502         * include/std/valarray: Same.
503
504         * src/ios.cc: Adjust includes.
505         * src/valarray-inst.cc: Same.
506         * src/string-inst.cc: Same.
507         * src/stl-inst.cc: Same.
508         * src/stdexcept.cc: Same.
509         * src/misc-inst.cc: Same.
510         * src/localename.cc: Same.
511         * src/locale-inst.cc: Same.
512         * src/locale.cc: Same.
513         * src/limits.cc: Same.
514         * src/concept-inst.cc: Same.
515         * src/complex_io.cc: Same.
516         * src/codecvt.cc: Same.
517         * src/bitset.cc: Same.
518         * src/cmath.cc: Same.
519
520 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
521
522         * include/bits/stl_tree.h (rb_tree):  Move to...
523         * include/ext/rb_tree:  ...here, new file.
524         * include/Makefile.am (ext_headers):  Add new file.
525         * include/Makefile.in:  Regenerate.
526         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
527         return_temporary_buffer, struct temporary_buffer):  Move to...
528         * include/ext/memory:  ...here.
529         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
530         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
531         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
532
533 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
534
535         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
536         * include/ext/numeric:  ...here, new file.
537         * include/bits/stl_function.h (identity_element, unary_compose,
538         binary_compose, compose1, compose2, identity, select1st,
539         select2nd, project1st + helper, project2nd + helper,
540         constant_void_fun + helper, constant_unary_fun + helper,
541         costant_binary_fun + helper, constant0, constant1, constant2,
542         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
543         * include/ext/functional:  ...here, new file.
544         * include/Makefile.am (ext_headers):  Add new files.
545         * include/Makefile.in:  Regenerate.
546         * testsuite/ext/headers.cc:  Include <ext/numeric> and
547         <ext/functional>.
548         * include/backward/algo.h:  Include <ext/numeric>, tweak.
549         * include/backward/function.h:  Include <ext/functional>, tweak.
550         * include/ext/ropeimpl.h:  Include <ext/numeric>.
551
552 2002-01-03  Jeffrey A Law  <law@redhat.com>
553
554         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
555         __strtoull declarations with __extension__.
556
557 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
558
559         * testsuite/lib/prune.exp: Correct regular expression for
560         -ffunction-sections
561
562 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
563
564         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
565         Change concept checks, as with lower_bound and PR 2054.
566         * testsuite/ext/concept_checks.cc:  Expand test to include those.
567
568 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
569
570         * include/bits/boost_concept_check.h:  Import some changes from
571         upsteam (Boost) version.
572
573 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
574
575         * include/bits/stl_algobase.h (copy_n + helpers,
576         lexicographical_compare_3way + helpers):  Move to...
577         * include/ext/algorithm:  ...here.
578         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
579         helpers):  Move to...
580         * include/ext/memory:  ...here, new file.
581         * include/Makefile.am (ext_headers):  Add new file.
582         * include/Makefile.in:  Regenerate.
583         * testsuite/ext/headers.cc:  Include <ext/memory>.
584         * include/backward/algobase.h:  Include <ext/memory> and
585         <ext/algorithm>, tweak.
586         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
587         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
588
589 2002-01-01  Roger Sayle <roger@eyesopen.com>
590
591         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
592         equivalent ___builtin__ versions.
593
594         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
595         are available in libstdc++ as the necessary stub implementations
596         are provided by libmath/stubs.c.
597
598 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
599
600         * configure.in: Add support for NetBSD cross compiles.
601         * configure: Regenerate.
602
603 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
604
605         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
606         * testsuite/ext/headers.cc:  Add <ext/iterator>.
607
608 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
609
610         * include/backward/algo.h:  Add two more using declarations.
611         * include/backward/iterator.h:  Include <ext/iterator>,
612         add using declaration.
613         * include/ext/algorithm:  Add #pragma GCC system_header.
614
615 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
616
617         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
618         into standard 2-argument version.
619         * include/bits/stl_deque.h:  Likewise.
620         * include/bits/stl_tempbuf.h:  Likewise.
621         * include/bits/stl_tree.h:  Likewise.
622         * include/bits/stl_vector.h:  Likewise.
623         * include/ext/stl_hashtable.h:  Likewise.
624         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
625         * include/ext/iterator:  to here.  New file.
626         * include/Makefile.am (ext_headers):  Add new file, alphabatize.
627         * include/Makefile.in:  Regenerate.
628
629 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
630
631         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
632         Clean up spacing and indentation.
633
634 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
635
636         * include/ext/slist:  Move into __gnu_cxx,
637         tweak, add using declarations.
638
639 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
640
641         * include/ext/hash_map:  Move into __gnu_cxx,
642         tweak, add using declarations.
643         * include/ext/hash_set:  Ditto.
644         * include/ext/ropeimpl.h:  Ditto.
645         * include/ext/stl_hash_fun.h:  Ditto.
646         * include/ext/stl_hashtable.h:  Ditto.
647         * include/ext/stl_rope.h:  Ditto.
648         * src/ext-inst.cc: Tweak.
649         * testsuite/ext/rope.cc: Tweak.
650
651 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
652
653         * include/backward/algo.h:  Include <ext/algorithm>,
654         tweak using declarations.
655
656 2001-12-29  Richard Henderson  <rth@redhat.com>
657
658         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
659         * config/os/hpux/bits/cpu_limits.h: New file.
660         * configure.target (CPULIMITSH): Use it.
661
662 2001-12-28  Richard Henderson  <rth@redhat.com>
663
664         * config/cpu/ia64/bits/cpu_limits.h: New file.
665         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
666         * configure.target (CPULIMITSH): Use them.
667
668 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
669
670         * include/bits/c++config:  Move doxygen hook comment...
671         * docs/doxygen/doxygroups.cc:  ...to here.
672
673 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
674
675         PR libstdc++/2054
676         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
677         * testsuite/ext/concept_checks.cc:  New file.
678
679 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
680
681         * include/bits/stl_algo.h (count returning void,
682         count_if returning void, __random_sample, random_sample,
683         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
684         * include/ext/algorithm:  ...here, new file.
685         * include/Makefile.am (ext_headers):  Add new file.
686         * include/Makefile.in:  Regenerate.
687         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
688
689 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
690             Nathan Myers  <ncm@cantrip.org>
691
692         * include/bits/basic_string.h (insert(__pos, __s, __n)):
693         Optimize by avoiding temporaries and working in-place when possible.
694         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
695         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
696         * testsuite/21_strings/insert.cc (test02): New testcases.
697
698 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
699
700         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
701         * testsuite/23_containers/deque_ctor.cc:  New file.
702
703 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
704
705         * include/bits/locale_facets.tcc (collate::do_transform):
706         Adjust implicit typename.
707         * config/locale/messages_members_generic.h (messages::open,
708         messages::do_open, messages::do_get): Adjust implicit typename.
709         * config/locale/messages_members_gnu.h (messages::open,
710         messages::do_open, messages::do_get): Adjust Implicit typename.
711         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
712         messages::do_open, messages::do_get): Adjust implicit typename.
713
714 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
715
716         PR libstdc++/3829
717         * src/misc-inst.cc:  Many additional I/O-related instantiations.
718         * testsuite/27_io/instantiations.cc:  New file.
719
720 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
721
722         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
723         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
724         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
725         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
726
727         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
728         current to _M_current.
729         (back_insert_iterator): Uglify member container to _M_container.
730         (front_insert_iterator): Same.
731         (insert_iterator): Same.
732
733 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
734
735         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
736         macros for signed types; default value is true.
737         (numeric_limits<>::is_modulo): Get value from corresponding
738         __glibcpp_xxx_is_modulo macro.
739
740 2001-12-23  Jeffrey A Law  <law@redhat.com>
741
742         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
743         Twiddle return types for strtoll and strtoull to avoid using
744         intmax_t and uintmax-t.
745
746 2001-12-22  Richard Henderson  <rth@redhat.com>
747
748         * configure.target (CPULIMITSH): Fix typo in alpha case.
749
750 2001-12-22  Jeffrey A Law  <law@redhat.com>
751
752         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
753         for strtoll and strtoull.
754
755 2001-12-21  Jeffrey A Law  <law@redhat.com>
756
757         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
758         Define strtoll and strtoull.  Provide prototypes for
759         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
760         unconditionally.
761
762         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
763
764         * configure.target: Fix typo in hpux case.
765
766 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
767
768         * include/ext/stl_rope.h (_Rope_iterator):
769         Add local typedef to fix implicit typename problems.
770
771 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
772
773         * docs/doxygen/Intro.3:  New 'Allocators' module.
774         * docs/doxygen/TODO:  Update.
775         * docs/doxygen/doxygroups.cc:  Update.
776         * docs/doxygen/run_doxygen:  Update.
777
778         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
779         * include/bits/std_memory.h:  Doxygenate.
780         * include/bits/stl_iterator_base_types.h:  Likewise.
781         * include/bits/stl_raw_storage_iter.h:  Likewise.
782         * include/bits/stl_tempbuf.h:  Likewise.
783         (get_temporary_buffer):  Remove unused nonstandard overload.
784         * include/bits/stl_uninitialized.h:  Likewise.
785
786         * include/bits/stl_iterator_base_types.h (input_iterator,
787         output_iterator, forward_iterator, bidirectional_iterator,
788         random_access_iterator):  Move old names...
789         * include/backward/iterator.h:  ...to here.
790         * include/bits/stl_bvector.h:  Update.
791         * include/ext/stl_rope.h:  Update.
792
793 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
794
795         * docs/html/configopts.html:  Describe recent options.
796         * docs/html/documentation.html:  Point to new doxygen tarballs.
797         * docs/html/install.html:  Brief updates.
798         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
799         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
800         * docs/html/faq/index.html:  Update for 3.0.95.
801         * docs/html/faq/index.txt:  Regenerate.
802
803 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
804
805         libstdc++-v3/5148
806         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
807         executable filenames
808
809 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
810
811         * docs/html/17_intro/TODO: Update.
812         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
813         * README: Edit for clarity, update to reflect current directory
814         structure.
815
816 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
817
818         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
819         enabling gnu model.
820         * aclocal.m4: Rebuild.
821         * configure: Rebuild.
822
823 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
824             Nathan Myers  <ncm@cantrip.org>
825
826         * include/bits/basic_string.h (assign(__str, __pos, __n)):
827         Call assign(__s, __n).
828         (assign(__s, __n)): Terminate the string with _S_terminal.
829
830 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
831
832         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
833         Set to true, like float and double.
834
835 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
836
837         libstdc++/5136
838         * testsuite/lib/prune.exp: New file
839         * testsuite/lib/libstdc++-v3-dg.exp: Use it
840
841 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
842
843         * include/bits/basic_file.h (__basic_file::fd):  New function.
844         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
845         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
846         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
847         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
848
849 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
850
851         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
852         * po/Makefile.in: Regenerated.
853
854 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
855
856         * testsuite/21_strings/assign.cc (test01): Add tests.
857
858 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
859             Nathan Myers  <ncm@cantrip.org>
860
861         * include/bits/basic_string.h
862         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
863         by avoiding unnecessary temporaries.
864         (assign(__s)): Call assign(__s, __n).
865         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
866         * include/bits/std_string.h: include stl_function.h.
867         * testsuite/21_strings/assign.cc (test02, test03): New tests.
868
869 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
870
871         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
872         on linux by default.
873         * aclocal.m4: Regenerate.
874         * configure: Regenerate.
875
876 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
877
878         Clean up initialization and simplfy caching of underlying "C"
879         default locale objects.
880         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
881         Unconditionally create __clocale object for all named locales,
882         including "C" and "POSIX".
883         * config/locale/c_locale_generic.cc
884         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
885         * config/locale/c_locale_gnu.cc: Always delete.
886         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
887         * src/locale.cc (locale::classic()): Initialize
888         locale::facet::_S_c_locale.
889         (locale::facet::_S_c_locale): Define.
890
891         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
892         specialization.
893         * src/locale.cc: Add definition here.
894         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
895         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
896         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
897         Adjust ctors, dtors.
898         (ctype<char>::_M_toupper): Remove const&.
899         (ctype<char>::_M_tolower): Remove const&.
900         (ctype<char>::_M_ctable): Remove const&.
901
902         * include/bits/locale_facets.h (collate): Clean up initialization
903         of _M_c_locale_collate in ctors and dtors.
904         * config/locale/collate_members_gnu.cc: Always use extended
905         functions.
906
907         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
908         (messages_byname): Same.
909         * config/locale/messages_members_generic.h (messages::~messages):
910         Remove.
911         * config/locale/messages_members_gnu.h: Same.
912
913         * include/bits/localefwd.h: Clean. Move dtor definitions to
914         * src/locale.cc: Here.
915         * testsuite/22_locale/facet.cc: Fix spelling.
916
917         Named locale support for ctype<wchar_t>.
918         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
919         ctype_members_* bits.
920         * aclocal.m4: Regenerate.
921         * configure: Regenerate.
922         * src/Makefile.am (sources): Add ctype.cc.
923         * src/Makefile.in: Regenerate.
924         * config/locale/ctype_members_generic.cc: New file.
925         * config/locale/ctype_members_gnu.cc: New file.
926         * src/locale.cc: Remove ctype<wchart_t> definitions.
927
928 2001-12-13  Roger Sayle <roger@eyesopen.com>
929
930         * acconfig.h: Test for __builtin_sqrt instead of
931         __builtin_fsqrt.
932         * acinclude.m4: Same.
933         * include/c_shadow/bits/std_cmath.h: Same.
934         * aclocal.m4: Regenerated.
935         * config.h.in: Regenerated.
936         * configure: Regenerated.
937
938 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
939
940         * docs/html/ext/howto.html:  Fix typos.
941
942 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
943
944         libstdc++/3679
945         * src/locale.cc (locale::locale(const char*)): Deal with locales
946         named "".
947         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
948
949 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
950
951         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
952         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
953         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
954         : Adjust implicit typename.
955         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
956         Adjust implicit typename.
957         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
958
959 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
960
961         Named locale support for ctype<char>.
962         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
963         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
964         definitions for alternate constructor.
965         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
966         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
967         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
968         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
969         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
970         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
971         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
972         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
973         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
974         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
975         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
976         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
977         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
978         definitions for all virtual functions. These are now explicitly
979         undefined for non-required factets, ie any non-char, non-wchar_t
980         instantiations.
981         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
982         locales use alternate constructor for ctype facet.
983         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
984         mask*, bool, size_t): Add.
985         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
986         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
987         definition.
988
989         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
990         XFAIL for non-gnu locale models.
991
992 2001-12-12  Philip Martin  <philip@codematters.co.uk>
993             Ross Smith     <r-smith@ihug.co.nz>
994             Paolo Carlini  <pcarlini@unitus.it>
995
996         libstdc++/5045
997         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
998         Fix digits10 values for integral types.
999         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1000         Tweak _M_extract_int call.
1001         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1002         Tweak overflowing number of digits.
1003         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1004
1005 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
1006
1007         * config/os/generic/bits/ctype_inline.h: Remove spaces.
1008         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1009         * include/bits/locale_facets.h (__num_base): Move double data
1010         members to first in class.
1011         * include/bits/locale_facets.tcc: Re-arrange, tweak.
1012         * src/locale.cc: Clean.
1013         *include/bits/stl_vector.h: Space typedefs.
1014
1015 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
1016
1017         * testsuite/ext/allocators.cc:  New file.
1018
1019 2001-12-11  Jason Merrill  <jason@redhat.com>
1020
1021         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1022         uninitialized warning.
1023
1024 2001-12-11  Loren Rittle <ljrittle@acm.org>
1025
1026         * config/cpu/sparc/sparc32/bits/atomicity.h
1027         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1028
1029 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1030
1031         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
1032         * include/bits/basic_string.h:  Fix typos.
1033
1034 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1035             Nathan Myers  <ncm@cantrip.org>
1036
1037         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
1038         (_M_replace(input_iterator_tag), append members):  Use it.
1039         (_M_replace(forward_iterator_tag)):  Remove.
1040         * include/bits/basic_string.h:  Adjust declarations.
1041         * src/string-inst.cc:  Adjust declarations.
1042
1043 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
1044             Philip Martin <pmartin@uklinux.net>
1045
1046         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1047         (__num_base::_S_scale_oct): Add.
1048         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1049         * src/locale.cc: Add definitions.
1050         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1051
1052         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1053
1054 2001-12-07  Nathan Myers  <ncm@cantrip.org>
1055             Loren Rittle <ljrittle@acm.org>
1056
1057         libstdc++/5037
1058         * config/cpu/sparc/sparc32/bits/atomicity.h
1059         (struct __Atomicity_lock<__inst>): Add.
1060         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1061         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1062         instead of lock local to static function.
1063         (__atomic_add): Likewise.
1064
1065 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
1066
1067         * src/globals.cc:  Remove __GTHREADS guard.
1068
1069 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1070
1071         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1072         Extend comment, reduce __cs_size for non-fixed outputs.
1073
1074 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1075
1076         * include/bits/basic_string.tcc (_M_mutate): Fix typo
1077         in the previous check in.
1078
1079 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
1080             Loren J. Rittle <ljrittle@acm.org>
1081
1082         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1083         exponential growth policy to meet linear amortized time
1084         requirements of the standard.
1085         (_S_create): Adjust comment.
1086
1087 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
1088
1089         libstdc++/3720
1090         * include/bits/locale_facets.tcc (num_put): Clean.
1091         (num_get::_M_extract_float): Change argument to string.
1092         (num_get::do_get(float)): Fixup.
1093         (num_get::do_get(double)): Same.
1094         (num_get::do_get(long double)): Same.
1095         (num_get::_M_extract_int): Add maximum length parameter, __max.
1096         (num_get::_M_extract_float): Correct zeros, use string.
1097         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1098         declaration here.
1099         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1100         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1101
1102 2001-12-06  Philip Martin  <pmartin@uklinux.net>
1103
1104         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1105         tests for excess input digits.
1106
1107 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
1108
1109         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
1110         * include/bits/stl_algo.h:  Likewise.
1111         * include/bits/stl_algobase.h:  Likewise.
1112         * include/bits/stl_bvector.h:  Likewise.
1113         * include/bits/stl_deque.h:  Likewise.
1114         * include/bits/stl_function.h:  Likewise.
1115         * include/bits/stl_iterator.h:  Likewise.
1116         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1117         * include/bits/stl_iterator_base_types.h:  Likewise.
1118         * include/bits/stl_list.h:  Likewise.
1119         * include/bits/stl_multimap.h:  Likewise.
1120         * include/bits/stl_multiset.h:  Likewise.
1121         * include/bits/stl_pair.h:  Likewise.
1122         * include/bits/stl_queue.h:  Likewise.
1123         * include/bits/stl_set.h:  Likewise.
1124         * include/bits/stl_stack.h:  Likewise.
1125         * include/bits/stl_tempbuf.h:  Likewise.
1126         * include/bits/stl_tree.h:  Likewise.
1127         * include/bits/stl_vector.h:  Likewise.
1128
1129         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
1130         Doxygenate more comments.  Correct historical artifacts in comments.
1131         (alloc, single_alloc):  Uglify non-standard names.
1132         (__default_alloc_template::_NFREELISTS):  Calculate from other
1133         parameters.
1134         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
1135         (__default_alloc_template::_Lock):  Mark as "unused".
1136         * include/backward/alloc.h:  Update.
1137         * include/bits/stl_bvector.h:  Likewise.
1138         * include/ext/ropeimpl.h:  Likewise.
1139         * include/ext/stl_hashtable.h:  Likewise.
1140
1141 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
1142
1143         DR/282
1144         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1145         grouping to floating point types.
1146         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1147
1148 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
1149
1150         libstdc++/4402
1151         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1152         from the PR.
1153         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1154         Deal properly with long ios_base::fixed floats.
1155         (num_put::_M_widen_float): use
1156         __len in __builtin_alloca call.
1157
1158 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
1159
1160         * src/Makefile.am (sources): Add ext-inst.cc.
1161         * src/Makefile.in: Regenerate.
1162         * src/ext-inst.cc: New file.
1163         * include/bits/stl_threads.h: Format.
1164         * src/globals.cc: Add instantiation for _S_swap_lock.
1165
1166         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1167         instantiation.
1168
1169 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1170
1171         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1172         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1173         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1174         for explicit instantiation of class std::basic_string<char,
1175         gnu_char_traits, std::allocator<char> >.
1176
1177 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1178
1179         * testsuite/22_locale/collate.cc: Compile-only.
1180         * testsuite/22_locale/time_get.cc: Same.
1181         * testsuite/22_locale/time_put.cc: Same.
1182         * testsuite/22_locale/numpunct.cc: Same.
1183         * testsuite/22_locale/num_put.cc: Same.
1184         * testsuite/22_locale/num_get.cc: Same.
1185         * testsuite/22_locale/moneypunct.cc: Same.
1186         * testsuite/22_locale/money_get.cc: Same.
1187         * testsuite/22_locale/messages.cc: Same.
1188         * testsuite/22_locale/ctype.cc: Same.
1189
1190 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1191
1192         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1193         member instantiations.
1194
1195 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
1196
1197         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1198         combine common linux/hpux/generic cross compile support to reduce
1199         redundent lines.
1200         * libstdc++-v3/configure: Regenerate.
1201
1202 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
1203
1204         * docs/html/ext/howto.html: Update commentary.
1205         * include/bits/c++config: Update threading configuration comment.
1206         (__STL_GTHREADS): Remove macro definition.
1207         (__STL_THREADS): Likewise.
1208         * include/bits/stl_threads.h: Leave only the configuration
1209         path which had been guarded by __STL_GTHREADS.  Remove all
1210         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1211         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1212         * include/bits/stl_alloc.h: Leave only the configuration path
1213         which had been guarded by __STL_THREADS.  Remove configuration
1214         path and guards for __STL_SGI_THREADS.
1215         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
1216         (__NODE_ALLOCATOR_LOCK): Likewise.
1217         (__NODE_ALLOCATOR_UNLOCK): Likewise.
1218         (_NOTHREADS): Remove guards related to macro.
1219         * include/ext/stl_rope.h: Remove configuration path and guards
1220         for __STL_SGI_THREADS.
1221         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1222
1223 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
1224
1225         * docs/html/ext/howto.html:  Update list of implemented DRs.
1226         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
1227         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
1228
1229 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
1230
1231         libstdc++/3150
1232         DR/266
1233         * libsupc++/exception (bad_exception::~bad_exception()): Remove
1234         declaration.
1235         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1236         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1237         (bad_typeid::~bad_typeid()): Remove.
1238         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1239         (bad_typeid::~bad_typeid()): Same.
1240         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1241         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1242
1243         * include/bits/std_iomanip.h: Tweak.
1244
1245 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
1246
1247         libstdc++/3655
1248         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1249         correctly pad internal-adjusted const char*-type objects.
1250         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1251         * include/bits/ostream.tcc (operator<<(_CharT , char, const
1252         _CharT*, const char*, const basic_string&): Update calls.
1253         * src/locale-inst.tcc: Update declarations.
1254         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1255
1256 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
1257
1258         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
1259
1260 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
1261
1262         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1263         Fix __traits_type typo.
1264
1265 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
1266
1267         * include/bits/locale_facets.tcc (__pad): Correctly pad
1268         internal-adjusted hex numbers.
1269         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1270
1271 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
1272             Loren J. Rittle <ljrittle@acm.org>
1273
1274         * include/bits/basic_string.h
1275         (basic_string::_Rep::__default_excess, _S_excess_slop):
1276         Unused, remove.
1277         * include/bits/basic_string.tcc: Remove dead code.
1278         * include/bits/c++config: Remove comment.
1279
1280 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
1281             Jakub Jelinek  <jakub@redhat.com>
1282
1283         * config/locale/moneypunct_members_gnu.cc
1284         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1285         for ia64, others.
1286         * config/locale/numpunct_members_gnu.cc
1287         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1288
1289 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1290
1291         * include/bits/locale_facets.tcc: Formatting tweaks.
1292
1293         * testsuite/23_containers/map_operators.cc: Don't xfail.
1294         * testsuite/23_containers/set_operators.cc: Same.
1295         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1296         * testsuite/backward/header_deque_h.cc: Same.
1297
1298 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
1299             Paolo Carlini  <pcarlini@unitus.it>
1300
1301         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1302         Enforce allocation size blocking policy to reduce
1303         fragmentation and enhance performance with common malloc
1304         implementations.
1305
1306 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1307
1308         Numeric facets cleanup.
1309         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1310         + and - signs.
1311         (__num_base::_M_zero): Add
1312         (__num_base::_M_e): Add.
1313         (__num_base::_M_E): Add.
1314         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1315         (num_get::_M_extract_float): New.
1316         (num_get::_M_extract_int): New.
1317         * src/locale.cc (num_get::_M_extract): Remove.
1318
1319         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1320         Simplify, use _M_insert.
1321         (num_put::do_put(bool)): Simplify, remove __pad.
1322         (__pad): Remove.
1323         (__pad_output): Change to __pad.
1324         * include/bits/ostream.tcc: And here.
1325         * src/locale-inst: Remove instantiations.
1326
1327         * include/bits/locale_facets.h: Move helper functions in to class
1328         num_put.
1329         (num_put::_M_insert_float): Same, for __output_integer.
1330         (num_put::_M_insert_int): Same, for __output_float.
1331         (num_put::_M_insert): New.
1332         (__num_base): Add.
1333         (__num_base::_S_format_float): Move
1334         __build_float_format into class __num_base.
1335         (__num_base::_S_format_int): Move __build_int_format into class
1336         __num_base.
1337         * include/bits/locale_facets.tcc (__group_digits): Change to
1338         (__add_grouping): This.
1339         * src/locale-inst.cc: And here. Tweak instantiations.
1340         * src/misc-inst.cc: Remove instantiations.
1341
1342         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1343         for new calling conventions, move to...
1344         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1345         signature to make it useful for both ostream and num_put.
1346         (__pad_numeric): Remove.
1347         * src/misc-inst.cc: Remove instantiations.
1348         * src/locale-inst.cc: Same.
1349
1350         * include/bits/locale_facets.h (_Numeric_get): Remove.
1351         (_Numeric_put): Remove.
1352         (num_get::get(short)): Remove.
1353         (num_get::get(int)): Remove.
1354         (num_get::do_get(short)): Remove.
1355         (num_get::do_get(int)): Remove.
1356         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1357         per DR 118.
1358         (istream::operator>>(int)): Same.
1359
1360         * include/bits/locale_facets.h (_Format_cache): Remove.
1361         * include/bits/locale_facets.tcc: Same.
1362         * src/locale.cc: Same.
1363         * src/locale-inst.cc: Same.
1364         * include/bits/ostream.tcc: Same.
1365         * src/ios.cc (ios_base::imbue): Remove here as well.
1366
1367         * testsuite/22_locale/num_get.cc: New file.
1368         * testsuite/22_locale/num_get_members_char.cc: New file.
1369         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1370         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1371         * testsuite/22_locale/num_put.cc: New file.
1372         * testsuite/22_locale/num_put_members_char.cc: New file.
1373         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1374         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1375         * testsuite/27_io/istream_extractor_arith.cc: Fix.
1376
1377 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
1378
1379         * docs/html/explanations.html:  New section, empty for now.
1380         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
1381         * docs/html/23_containers/howto.html:  ...to here.  Break up and
1382         rewrap threading discussion to emphasize warning.  Move malloc text...
1383         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
1384         allocators and __USE_MALLOC effects.
1385         * docs/html/ext/sgiexts.html:  Mention their code.
1386
1387 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1388
1389         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1390         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1391         changes.
1392
1393 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
1394
1395         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
1396         * Makefile.in:  Regenerated.
1397         * docs/doxygen/TODO:  New file listing doxygen work to be done.
1398         * docs/doxygen/run_doxygen:  Fix up man pages.
1399         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
1400         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
1401         * include/bits/stl_construct.h:  Use new hooks for internal functions.
1402
1403         * docs/html/17_intro/TODO:  Small updates.
1404         * docs/html/faq/index.html:  Likewise.
1405         * docs/html/faq/index.txt:  Regenerated.
1406
1407         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
1408         SGI-isms and wrappers.
1409         (simple_alloc, debug_alloc):  Uglify class names.
1410         (__default_alloc_template):  Uglify "threads" template parameter and
1411         update corresponding macros.
1412         * include/backward/alloc.h:  Bring up to date.
1413
1414 2001-11-23  Jason Merrill  <jason@redhat.com>
1415
1416         * src/vterminate.cc (__verbose_terminate_handler): Add leading
1417         underscores.
1418
1419 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1420
1421         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1422         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1423         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1424         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1425         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1426         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1427         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1428         docs/html/21_strings/howto.html,
1429         docs/html/23_containers/howto.html,
1430         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1431         docs/html/27_io/binary_iostreams_kuehl.txt,
1432         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1433         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1434         include/bits/basic_file.h, include/bits/locale_facets.h,
1435         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1436         include/ext/ropeimpl.h, include/ext/stl_rope.h,
1437         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1438         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1439         configure.target, ChangeLog-2000: Fix spelling errors.
1440
1441         * config/locale/moneypunct_members_gnu.cc,
1442         include/bits/locale_facets.h: Fix spelling errors.
1443
1444 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1445
1446         * testsuite/23_containers/list_capacity.cc: New file.
1447         * testsuite/23_containers/list_ctor.cc: New file.
1448         * testsuite/23_containers/list_modifiers.cc: New file.
1449         * testsuite/23_containers/list_operators.cc: New file.
1450
1451 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1452
1453         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1454         (size): Replaced nonstandard distance() call with the standard one.
1455         (transfer): Uglified to _M_transfer.
1456
1457 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
1458
1459         PR libstdc++/4548
1460         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
1461         below the current size.
1462         * testsuite/21_strings/capacity.cc (test02):  Add test.
1463
1464 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
1465
1466         * docs/doxygen/Intro.3:  More notes.
1467         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
1468         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
1469         * include/ext/hash_map:  Add @file hook.
1470         * include/ext/hash_set:  Likewise.
1471         * include/ext/rope:  Likewise.
1472         * include/ext/ropeimpl.h:  Likewise.
1473         * include/ext/slist:  Likewise.
1474         * include/ext/stl_hash_fun.h:  Likewise.
1475         * include/ext/stl_hashtable.h:  Likewise.
1476         * include/ext/stl_rope.h:  Likewise.
1477
1478         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
1479         * docs/html/19_diagnostics/howto.html:  Document new verbose
1480         terminate handler.
1481         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
1482         to more visible (closer to description) position.
1483
1484         * libsupc++/eh_type.cc:  Formatting tweak.
1485         * libsupc++/exception:  Likewise.
1486         * src/vterminate.cc:  Likewise.
1487
1488         * docs/html/17_intro/porting.html:  Regenerate.
1489         * docs/html/faq/index.txt:  Regenerate.
1490
1491 2001-11-18  Jason Merrill  <jason@redhat.com>
1492
1493         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1494         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1495         * libsupc++/unwind-cxx.h: Adjust.
1496         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1497
1498         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1499         * libsupc++/cxxabi.h: Declare it.
1500         * libsupc++/Makefile.am (sources): Add it.
1501         * src/vterminate.cc (verbose_terminate_handler): New file.
1502         * libsupc++/exception: Declare it.
1503         * src/Makefile.am (sources): Add it.
1504
1505         * src/Makefile.am (VPATH): Check the src directory before the top one.
1506
1507 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
1508
1509         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
1510
1511 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
1512
1513         * docs/html/17_intro/howto.html (Thread-safety): Rename
1514         section to ``The Standard C++ library and multithreading'' and
1515         update information based on recent mailing list traffic.  Move
1516         all discussion of __USE_MALLOC to...
1517         * docs/html/23_containers/howto.html (Containers and multithreading):
1518         ...here and rework it based on recent mailing list traffic.
1519
1520 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
1521
1522         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1523         wording.
1524
1525 2001-11-15  <bjornw@planetarion.com>
1526             Loren J. Rittle  <ljrittle@acm.org>
1527
1528         libstc++/4219
1529         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1530         (single_client_alloc): Likewise.
1531
1532 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
1533
1534         * configure.target: Add os_include_dir for mingw32* target.
1535         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1536         from _GLIBCPP_AVOID_FSEEK.
1537         * config/os/mingw32/bits/ctype_base.h: New file.
1538         * config/os/mingw32/bits/ctype_inline.h: New file.
1539         * config/os/mingw32/bits/ctype_noninline.h: New file.
1540         * config/os/mingw32/bits/os_defines.h: New file.
1541
1542 2001-11-07  Nathan Myers  <ncm@cantrip.org>
1543
1544         * docs/html/faq/index.html (5.8):  New entry on ABIs.
1545         * docs/html/faq/index.txt:  Regenerate.
1546
1547 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
1548
1549         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
1550         bugfixes on Solaris.
1551         * docs/html/faq/index.txt:  Regenerate.
1552
1553 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
1554
1555         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
1556         LANG_CPLUSPLUS mode.
1557         * aclocal.m4:  Regenerate.
1558         * configure:  Regenerate.
1559
1560 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
1561
1562         * porting.texi:  Move...
1563         * docs/html/17_intro/porting.texi:  ...to here.
1564         * docs/html/Makefile:  Add rule to rebuild...
1565         * docs/html/17_intro/porting.html:  ...this.  New file.
1566
1567 2001-11-05  Felix Natter  <fnatter@gmx.net>
1568
1569         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
1570         * docs/html/17_intro/porting-howto.html:  regenerate
1571
1572 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
1573
1574         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1575         when platform supports __GTHREAD_MUTEX_INIT.
1576
1577 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1578
1579         * acconfig.h:  Update comments.
1580         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
1581         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
1582         * aclocal.m4:  Regenerate.
1583         * config.h.in:  Regenerate.
1584         * configure:  Regenerate.
1585
1586         * include/bits/boost_concept_check.h:  Unconditionally compile uses
1587         of 'long long' which require only compiler support, not C lib support.
1588         * include/bits/cpp_type_traits.h:  Likewise.
1589         * include/bits/std_limits.h:  Likewise.
1590         * include/bits/type_traits.h:  Likewise.
1591         * src/concept-inst.cc:  Likewise.
1592         * src/limits.cc:  Likewise.
1593         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
1594         instead of _GLIBCPP_USE_LONG_LONG.
1595         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
1596
1597 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1598
1599         * config/io/c_io_stdio.h:  Correct grammar in comments.
1600         * docs/doxygen/Intro.3:  Expand "top-level" man page.
1601         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1602         * docs/doxygen/mainpage.doxy:  Tweaks.
1603         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1604
1605         Add @file hooks so that headers are considered to be documented.
1606         * include/bits/basic_ios.h, include/bits/basic_file.h,
1607         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1608         include/bits/char_traits.h, include/bits/codecvt.h,
1609         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1610         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1611         include/bits/indirect_array.h, include/bits/ios_base.h,
1612         include/bits/locale_facets.h, include/bits/localefwd.h,
1613         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1614         include/bits/slice.h, include/bits/slice_array.h,
1615         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1616         include/bits/std_complex.h, include/bits/std_deque.h,
1617         include/bits/std_fstream.h, include/bits/std_functional.h,
1618         include/bits/std_iomanip.h, include/bits/std_ios.h,
1619         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1620         include/bits/std_istream.h, include/bits/std_iterator.h,
1621         include/bits/std_limits.h, include/bits/std_list.h,
1622         include/bits/std_locale.h, include/bits/std_map.h,
1623         include/bits/std_memory.h, include/bits/std_numeric.h,
1624         include/bits/std_ostream.h, include/bits/std_queue.h,
1625         include/bits/std_set.h, include/bits/std_sstream.h,
1626         include/bits/std_stack.h, include/bits/std_streambuf.h,
1627         include/bits/std_string.h, include/bits/std_utility.h,
1628         include/bits/std_valarray.h, include/bits/std_vector.h,
1629         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1630         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1631         include/bits/stl_deque.h, include/bits/stl_heap.h,
1632         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1633         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1634         include/bits/stl_map.h, include/bits/stl_multimap.h,
1635         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1636         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1637         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1638         include/bits/stl_relops.h, include/bits/stl_set.h,
1639         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1640         include/bits/stl_threads.h, include/bits/stl_tree.h,
1641         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1642         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1643         include/bits/stringfwd.h, include/bits/type_traits.h,
1644         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1645         Add hooks, tweak comments only.
1646
1647         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1648         document these functions.
1649         * include/bits/stl_function.h:  Tweak link comments.
1650
1651 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1652             Benjamin Kosnik  <bkoz@redhat.com>
1653
1654         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1655         output.
1656         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1657
1658 2001-11-01  Egor Duda  <deo@logos-m.ru>
1659
1660         * config/os/newlib/bits/ctype_noninline.h
1661         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1662         (ctype<char>::do_tolower(char __c)): Ditto.
1663
1664 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1665
1666         * acinclude.m4:  Fix spacing.
1667         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1668         * configure.in:  Call here.
1669         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1670         * include/bits/boost_concept_check.h:  Fix headers.
1671         (__function_requires):  Make inline.
1672         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1673         * aclocal.m4:  Regenerate.
1674         * config.h.in:  Regenerate.
1675         * configure:  Regenerate.
1676
1677         Move trailing ';' inside macro, PR libstdc++/3666.
1678         * include/bits/concept_check.h:  Add semicolon.
1679         * include/bits/stl_algo.h:  Remove semicolon.
1680         * include/bits/stl_algobase.h:  Likewise.
1681         * include/bits/stl_deque.h:  Likewise.
1682         * include/bits/stl_heap.h:  Likewise.
1683         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1684         * include/bits/stl_list.h:  Likewise.
1685         * include/bits/stl_map.h:  Likewise.
1686         * include/bits/stl_multimap.h:  Likewise.
1687         * include/bits/stl_multiset.h:  Likewise.
1688         * include/bits/stl_numeric.h:  Likewise.
1689         * include/bits/stl_queue.h:  Likewise.
1690         * include/bits/stl_set.h:  Likewise.
1691         * include/bits/stl_stack.h:  Likewise.
1692         * include/bits/stl_vector.h:  Likewise.
1693         * include/ext/hash_map:  Likewise.
1694         * include/ext/hash_set:  Likewise.
1695         * include/ext/slist:  Likewise.
1696
1697         * src/concept-inst.cc:  New file with explicit instantiations.
1698         * src/Makefile.am (sources):  Add here, with special build rules.
1699         * src/Makefile.in:  Regenerate.
1700
1701 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1702
1703         * include/bits/std_complex.h (_Norm_helper): New class template.
1704         (norm): Tweak.
1705         (abs): Tweak. Fix Thinko.
1706
1707 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1708
1709         libstdc++/4749
1710         * include/bits/codecvt.h: Add virtual member function declarations.
1711         * src/codecvt.cc: Tweaks.
1712         * testsuite/22_locale/codecvt.cc: Test compilation only,
1713         non-required facets not required to have linkage.
1714
1715 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1716
1717         libstdc++/4622
1718         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1719
1720 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1721             Benjamin Kosnik  <bkoz@redhat.com>
1722
1723         libstdc++/4354
1724         * include/bits/basic_string.h: Tweaks.
1725         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1726         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1727         * src/string-inst.cc: Tweaks, add instantiation.
1728         * testsuite/21_strings/replace.cc (test02): Add test.
1729         * testsuite/21_strings/assign.cc (test01): New file.
1730
1731 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1732
1733         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1734         __throw_exception_again.
1735         (_M_new_elements_at_back): Likewise.
1736
1737 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1738
1739         libstdc++/3647
1740         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1741         * testsuite/27_io/filebuf.cc (test07): New test.
1742         (test03): Modify showmanyc test.
1743
1744 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1745
1746         libstdc++/4503
1747         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1748         (__enc_traits::~__enc_traits): Fix.
1749         (__enc_traits::_M_init): Add error checking.
1750
1751 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1752
1753         libstdc++/4542
1754         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1755
1756 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1757
1758         libstdc++/4545
1759         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1760         exceptions.
1761         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1762         consistent, where possible.
1763         * include/bits/streambuf.tcc: Tweak.
1764
1765 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1766
1767         libstdc++/4536
1768         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1769         * bits/istream.tcc (seekg): Likewise.
1770
1771 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1772             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1773             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1774
1775         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1776         __s390x__ only.
1777         * include/bits/std_limits.h: Fix wchar_t issues.
1778         * config/os/aix/bits/os_defines.h: Fix.
1779
1780 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1781
1782         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1783
1784 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1785
1786         * docs/html/documentation.html:  Fix typo.
1787
1788 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1789
1790         Make -fno-exceptions work.
1791         * config/locale/c_locale_gnu.cc: Use functexcept.
1792         * include/bits/c++config (__stl_assert): Remove.
1793         (__STL_USE_EXCEPTIONS): Same.
1794         (__STL_TRY): Same.
1795         (__STL_CATCH_ALL): Same.
1796         (__STL_THROW): Same.
1797         (__STL_RETHROW): Same.
1798         (__STL_NOTHROW): Same.
1799         (__STL_UNWIND): Same.
1800         * include/bits/pthread_allocimpl.h: Fix.
1801         * include/bits/std_bitset.h: Same.
1802         * include/bits/std_list.h: Same.
1803         * include/bits/std_memory.h: Same.
1804         * include/bits/std_queue.h: Same.
1805         * include/bits/stl_alloc.h: Same.
1806         * include/bits/stl_deque.h: Same.
1807         * include/bits/stl_list.h: Same.
1808         * include/bits/stl_queue.h: Same.
1809         * include/bits/stl_tempbuf.h: Same.
1810         * include/bits/stl_tree.h: Same.
1811         * include/bits/stl_uninitialized.h: Same.
1812         * include/bits/stl_vector.h: Same.
1813         * include/ext/ropeimpl.h: Same.
1814         * include/ext/slist: Same.
1815         * include/ext/stl_hashtable.h: Same.
1816         * include/ext/stl_rope.h: Same.
1817         * libsupc++/new_op.cc: Include cstdlib.
1818         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1819         __throw_exception_again, tweak.
1820         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1821         * libsupc++/vec.cc: Tweak.
1822         * src/functexcept.cc: Remove unused arguments.
1823         * testsuite/23_containers/bitset_members.cc: Tweak.
1824
1825 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1826
1827         * config/cpu/i386/bits/limits.h: Move to...
1828         * config/cpu/i386/bits/cpu_limits.h: ...here.
1829         * config/cpu/cris/bits/cpu_limits.h: Same.
1830         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1831         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1832         * config/cpu/alpha/bits/cpu_limits.h: New.
1833         * config/cpu/m68k/bits/cpu_limits.h: New.
1834         * config/cpu/s390/bits/cpu_limits.h: New.
1835         * config/os/aix/bits/os_defines.h: Tweaks.
1836         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1837         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1838         * config/os/djgpp/bits/os_defines.h: Same.
1839         * config/os/generic/bits/os_defines.h: Same.
1840         * config/os/gnu-linux/bits/os_defines.h: Same.
1841         * config/os/hpux/bits/os_defines.h: Same.
1842         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1843         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1844         * config/os/newlib/bits/os_defines.h: Same.
1845         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1846         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1847         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1848
1849         * include/bits/c++config: Remove include.
1850         * include/bits/limits_generic.h: Remove.
1851         * include/bits/std_limits.h: Include cpu_limits.h.
1852         * include/Makefile.am: Fixup.
1853         * src/limits.cc: Tweak.
1854         * src/limits_generic.cc: Remove.
1855         * src/gen-num-limits.cc: Remove.
1856         * mknumeric_limits: Remove.
1857
1858 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1859
1860         * bits/type_traits.h (_Bool): Removed this type.
1861         (__true_type, __false_type): Change to be plain structs.
1862         * src/string-inst.cc (__destroy_aux): Change third parm to be
1863         __false_type instead of _Bool<false>.
1864         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1865         __uninitialized_copy_aux): Likewise.
1866
1867 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1868
1869         * mkcheck.in (static_fail): Remove older memory limit functionality.
1870         Disable E_TIME due to formatting issues.
1871
1872         * README: Update.
1873
1874 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1875
1876         * include/bits/std_complex.h: Default initialize second argument
1877         of polar to 0, as specified in Library DR #79
1878
1879 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1880
1881         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1882         _Construct instead of construct.
1883
1884 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1885
1886         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1887         __n being non-zero, since the standard does not mandate that.
1888         e.g., a search for "" in "" should yield position 0, not npos.
1889         (find_last_not_of): Likewise.
1890
1891 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1892
1893         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1894         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1895
1896 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1897
1898         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1899         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1900
1901 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1902
1903         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1904         template parameter _ValueType.
1905
1906 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1907
1908         * include/bits/std_limits.h: Clean up extra semicolons.
1909         * include/bits/locale_facets.h: Likewise.
1910         * include/bits/type_traits.h: Likewise.
1911
1912 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1913
1914         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1915         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1916
1917 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1918
1919         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1920         Declare specializations for char, wchar_t.
1921
1922 2001-10-19  Andreas Jaeger  <aj@suse.de>
1923
1924         * config/cpu/x86-64/bits/limits.h: New file.
1925         * config/cpu/x86-64/bits/atomicity.h: New file.
1926         * configure.target: Add x86-64.
1927
1928 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1929
1930         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1931         why).  Add link to recent message.
1932         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1933         markup.
1934         * docs/html/faq/index.txt:  Regenerate.
1935
1936 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1937
1938         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1939         based on Nathan's review.  Use Nathan's words.
1940
1941 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1942
1943         * docs/html/configopts.html: Quote StyleSheet attribute values.
1944         * docs/html/documentation.html: Likewise.
1945         * docs/html/explanations.html: Likewise.
1946         * docs/html/install.html: Likewise.
1947         * docs/html/17_intro/howto.html: Likewise.
1948         * docs/html/17_intro/license.html: Likewise.
1949         * docs/html/18_support/howto.html: Likewise.
1950         * docs/html/19_diagnostics/howto.html: Likewise.
1951         * docs/html/20_util/howto.html: Likewise.
1952         * docs/html/21_strings/howto.html: Likewise.
1953         * docs/html/22_locale/howto.html: Likewise.
1954         * docs/html/23_containers/howto.html: Likewise.
1955         * docs/html/24_iterators/howto.html: Likewise.
1956         * docs/html/25_algorithms/howto.html: Likewise.
1957         * docs/html/26_numerics/howto.html: Likewise.
1958         * docs/html/27_io/howto.html: Likewise.
1959         * docs/html/ext/howto.html: Likewise.
1960         * docs/html/ext/sgiexts.html: Likewise.
1961         * docs/html/faq/index.html: Likewise.
1962
1963 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1964
1965         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1966         * docs/html/23_containers/howto.html (Containers and multithreading):
1967         Update.
1968
1969 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1970
1971         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1972         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1973         nonzero arguments, add new note on threading.
1974         * docs/html/faq/index.html:  Update.
1975         * docs/html/faq/index.txt:  Regenerate.
1976
1977 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1978
1979         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1980         * docs/html/documentation.html:  Likewise.
1981         * docs/html/explanations.html:  Likewise.
1982         * docs/html/install.html:  Likewise.
1983         * docs/html/17_intro/howto.html:  Likewise.
1984         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
1985         * docs/html/18_support/howto.html:  Likewise.
1986         * docs/html/19_diagnostics/howto.html:  Likewise.
1987         * docs/html/20_util/howto.html:  Likewise.
1988         * docs/html/21_strings/howto.html:  Likewise.
1989         * docs/html/22_locale/howto.html:  Likewise.
1990         * docs/html/23_containers/howto.html:  Likewise.
1991         * docs/html/24_iterators/howto.html:  Likewise.
1992         * docs/html/25_algorithms/howto.html:  Likewise.
1993         * docs/html/26_numerics/howto.html:  Likewise.
1994         * docs/html/27_io/howto.html:  Likewise.
1995         * docs/html/ext/howto.html:  Likewise.
1996         * docs/html/ext/sgiexts.html:  Likewise.
1997         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
1998         * docs/html/faq/index.txt:  Regenerate.
1999
2000 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2001
2002         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2003         spelling errors of "separate" as "seperate", and corresponding
2004         spelling errors of related words.
2005         * docs/html/faq/index.txt: Regenerate.
2006
2007 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
2008
2009         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
2010         unused function.
2011         * config/cpu/arm/bits/atomicity.h:  Likewise.
2012         * config/cpu/generic/bits/atomicity.h:  Likewise.
2013         * config/cpu/i486/bits/atomicity.h:  Likewise.
2014         * config/cpu/ia64/bits/atomicity.h:  Likewise.
2015         * config/cpu/mips/bits/atomicity.h:  Likewise.
2016         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
2017         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
2018         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
2019
2020 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2021
2022         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
2023         * docs/html/faq/index.txt:  Regenerate.
2024
2025 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2026
2027         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
2028         * docs/html/17_intro/license.html:  New file.  Explain the licenses
2029         in use.
2030
2031         * docs/html/configopts.html:  Link to license.html.
2032         * docs/html/documentation.html:  Likewise.
2033         * docs/html/explanations.html:  Likewise.
2034         * docs/html/install.html:  Likewise.
2035         * docs/html/17_intro/howto.html:  Likewise.
2036         * docs/html/18_support/howto.html:  Likewise.
2037         * docs/html/19_diagnostics/howto.html:  Likewise.
2038         * docs/html/20_util/howto.html:  Likewise.
2039         * docs/html/21_strings/howto.html:  Likewise.
2040         * docs/html/22_locale/howto.html:  Likewise.
2041         * docs/html/23_containers/howto.html:  Likewise.
2042         * docs/html/24_iterators/howto.html:  Likewise.
2043         * docs/html/25_algorithms/howto.html:  Likewise.
2044         * docs/html/26_numerics/howto.html:  Likewise.
2045         * docs/html/27_io/howto.html:  Likewise.
2046         * docs/html/ext/howto.html:  Likewise.
2047         * docs/html/ext/sgiexts.html:  Likewise.
2048         * docs/html/faq/index.html:  Likewise.  New question, linking to
2049         the new license.html.
2050
2051 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2052
2053         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
2054         * docs/html/18_support/howto.html:  Likewise.
2055         * docs/html/19_diagnostics/howto.html:  Likewise.
2056         * docs/html/20_util/howto.html:  Likewise.
2057         * docs/html/21_strings/howto.html:  Likewise.
2058         * docs/html/22_locale/howto.html:  Likewise.
2059         * docs/html/23_containers/howto.html:  Likewise.
2060         * docs/html/24_iterators/howto.html:  Likewise.
2061         * docs/html/25_algorithms/howto.html:  Likewise.
2062         * docs/html/26_numerics/howto.html:  Likewise.
2063         * docs/html/27_io/howto.html:  Likewise.
2064         * docs/html/ext/howto.html:  Likewise.
2065         * docs/html/faq/index.html:  Likewise.  Spacing fix.
2066
2067 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
2068
2069         * include/bits/stl_threads.h (_Atomic_swap): New function.
2070         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2071         * testsuite/ext/rope.cc: New file.
2072
2073 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2074
2075         * config/locale/time_members_gnu.h: Remove.
2076         * config/locale/time_members_generic.h: Remove.
2077         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2078         * config/locale/time_members_generic.cc: Same.
2079         * include/bits/locale_facets.h: Add data members.
2080         (__timepunct::_M_put_helper): Change signature.
2081         (__timepunct::_M_date_formats): Same.
2082         (__timepunct::_M_time_formats): Same.
2083         (__timepunct::_M_ampm): Add.
2084         (__timepunct::_M_date_time_formats): Add.
2085         (time_get::_M_extract_via_format): Add.
2086         (time_get::_M_extract_time): Change to...
2087         (time_get::_M_extract_num): ... this, modify signature.
2088         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2089         (time_get::do_get_time): Fix.
2090         (time_get::do_get_date): Fix.
2091
2092         * acinclude.m4: Remove CTIME_H.
2093         * aclocal.m4: Regenerate.
2094         * include/Makefile.am: Same.
2095         * include/Makefile.in: Regenerate.
2096         * configure: Regenerate.
2097
2098         * testsuite/22_locale/time_get_members_char.cc: Fix.
2099         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2100         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2101
2102 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
2103
2104         * config/cpu/cris/bits/atomicity.h: Correct file header.
2105
2106 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
2107
2108         * configure.target (LIMITSH): Set for cris.
2109         (cpu_include_dir): Set for cris-*-*.
2110         * config/cpu/cris/bits/atomicity.h: New file.
2111         * config/cpu/cris/bits/limits.h: New file.
2112
2113 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
2114
2115         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2116         (__timepunct::_M_put_helper): Add.
2117         * config/locale/time_members_generic.h: Same.
2118         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2119         (__timepunct): Add data members.
2120         (__timepunct::_M_days): Add.
2121         (__timepunct::_M_days_abbreviated): Add.
2122         (__timepunct::_M_months): Add.
2123         (__timepunct::_M_months_abbreviated): Add.
2124         (__timepunct::_M_initialize_timepunct): Add.
2125         * include/bits/locale_facets.tcc: Same.
2126         * src/locale-inst.cc: Remove instantiations for __match_parallel.
2127         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2128         * aclocal.m4: Regenerate.
2129         * configure: Regenerate.
2130         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2131         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2132         * testsuite/22_locale/time_get.cc: New file.
2133
2134 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2135
2136         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2137         correct multilib builddir.
2138         Properly locate libgcc_s.
2139
2140 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
2141
2142         * include/std/*:  Add Doxygen hooks.
2143         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
2144         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
2145         rather than using a generated index.
2146         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
2147         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
2148         * docs/doxygen/stdheader.cc:  ...this new file.
2149
2150 2001-09-26  Stan Shebs  <shebs@apple.com>
2151
2152         * include/Makefile.am: Remove RCS Id strings.
2153         * src/Makefile.am: Ditto.
2154         * docs/doxygen/run_doxygen: Ditto.
2155         * docs/html/configopts.html: Ditto.
2156         * docs/html/documentation.html: Ditto.
2157         * docs/html/explanations.html: Ditto.
2158         * docs/html/install.html: Ditto.
2159         * docs/html/17_intro/howto.html: Ditto.
2160         * docs/html/18_support/howto.html: Ditto.
2161         * docs/html/19_diagnostics/howto.html: Ditto.
2162         * docs/html/20_util/howto.html: Ditto.
2163         * docs/html/21_strings/howto.html: Ditto.
2164         * docs/html/22_locale/howto.html: Ditto.
2165         * docs/html/23_containers/howto.html: Ditto.
2166         * docs/html/24_iterators/howto.html: Ditto.
2167         * docs/html/25_algorithms/howto.html: Ditto.
2168         * docs/html/26_numerics/howto.html: Ditto.
2169         * docs/html/27_io/howto.html: Ditto.
2170         * docs/html/ext/howto.html: Ditto.
2171         * docs/html/ext/sgiexts.html: Ditto.
2172         * docs/html/faq/index.html: Ditto.
2173         * docs/html/faq/index.txt: Ditto.
2174
2175 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2176
2177         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
2178         `carray' size.
2179
2180 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2181
2182         * docs/html/20_util/howto.html:  Add anchor name.
2183         * docs/html/23_containers/howto.html:  Line wrapping, another link.
2184         * docs/html/25_algorithms/howto.html:  Another note.
2185
2186         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
2187         link to them...
2188         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
2189         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
2190         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
2191         carried over to libstdc++-v3.
2192         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
2193         "missing .." pseudobug.
2194         * docs/html/faq/index.txt:  Regenerate.
2195
2196         * include/bits/ios_base.h:  DR-related comment cleanup.
2197         * include/bits/istream.tcc:  Likewise.
2198         * include/bits/locale_facets.h:  Likewise.
2199         * include/bits/locale_facets.tcc:  Likewise.
2200         * include/bits/ostream.tcc:  Likewise.
2201         * include/bits/std_bitset.h:  Likewise.
2202         * include/bits/std_iosfwd.h:  Likewise.
2203         * include/bits/std_istream.h:  Likewise.
2204         * include/bits/std_ostream.h:  Likewise.
2205         * include/bits/std_streambuf.h:  Likewise.
2206         * include/bits/stl_pair.h:  Likewise.
2207         * include/bits/streambuf_iterator.h:  Likewise.
2208
2209         * include/bits/std_map.h:  Remove unused header inclusion guard
2210         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2211         * include/bits/std_set.h:  Likewise.
2212
2213         * include/bits/stl_function.h:  Doxygen markup.
2214         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
2215         * libsupc++/typeinfo:  Doxygen markup tweak.
2216
2217 2001-09-20  Scott Johnston <scott@accom.com>
2218             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2219
2220         * include/backward/alloc.h: Conditionally define malloc_alloc
2221         * testsuite/backward/header_deque_h.cc: New file.
2222
2223 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2224
2225         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2226         change variable name so that it works with -fno-for-scope.
2227
2228 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
2229
2230         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2231         redundant sanity checks.
2232         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2233         (test02): Same.
2234         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2235         (test02): Same.
2236         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2237         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2238         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2239         (test02): Same.
2240         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2241         (test02): Same.
2242
2243 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
2244
2245         Implement std::time_put.
2246         * include/bits/locale_facets.h: Include time_members.h.
2247         (__timepunct): New.
2248         (time_put): Implement.
2249         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2250         * include/bits/localefwd.h: Bump number of facets.
2251         * config/locale/time_members_generic.h: New file.
2252         * config/locale/time_members_gnu.h: New file.
2253         * config/locale/c_locale_generic.h: Include clocale.
2254         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2255         * src/locale.cc: Add __timepunct initializations.
2256         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2257         * include/Makefile.am (stamp-target): Add time_members.h.
2258         * include/Makefile.in: Regenerate.
2259         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2260         * aclocal.m4: Regenerate.
2261         * configure: Regenerate.
2262         * testsuite/22_locale/time_put.cc: New file.
2263         * testsuite/22_locale/time_put_members_char.cc: New file.
2264
2265         * docs/html/22_locale/locale.html: Add note.
2266
2267 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
2268
2269         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
2270         * docs/html/documentation.html:  Likewise.
2271         * docs/html/explanations.html:  Likewise.
2272         * docs/html/install.html:  Likewise.
2273         * docs/html/17_intro/howto.html:  Likewise.
2274         * docs/html/18_support/howto.html:  Likewise.
2275         * docs/html/19_diagnostics/howto.html:  Likewise.
2276         * docs/html/20_util/howto.html:  Likewise.
2277         * docs/html/21_strings/howto.html:  Likewise.
2278         * docs/html/22_locale/codecvt.html:  Likewise.
2279         * docs/html/22_locale/ctype.html:  Likewise.
2280         * docs/html/22_locale/howto.html:  Likewise.
2281         * docs/html/22_locale/locale.html:  Likewise.
2282         * docs/html/22_locale/messages.html:  Likewise.
2283         * docs/html/23_containers/howto.html:  Likewise.
2284         * docs/html/24_iterators/howto.html:  Likewise.
2285         * docs/html/25_algorithms/howto.html:  Likewise.
2286         * docs/html/26_numerics/howto.html:  Likewise.
2287         * docs/html/27_io/howto.html:  Likewise.
2288         * docs/html/ext/howto.html:  Likewise.
2289         * docs/html/faq/index.html:  Likewise.
2290         * docs/html/faq/index.txt:  Regenerated.
2291
2292 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
2293
2294         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
2295         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
2296         * docs/html/18_support/howto.html:  It won't compile; it's not code.
2297         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
2298         doxygen'd pages.
2299         * docs/html/22_locale/howto.html:  Comment for future work.
2300         * docs/html/23_containers/howto.html:  More comments.
2301         * docs/html/25_algorithms/howto.html:  It's a comment, not a
2302         blunt command to the reader.  (English grammar.)
2303
2304 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2305
2306         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2307         wchar_t members.
2308         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2309         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2310
2311 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2312
2313         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2314
2315 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
2316
2317         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2318         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2319         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2320
2321 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
2322
2323         Implement std::money_get.
2324         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2325         * include/bits/locale_facets.h (money_get): Correct signatures.
2326         * testsuite/22_locale/money_get.cc: New file.
2327         * testsuite/22_locale/money_get_members_char.cc: New file.
2328
2329         * include/bits/locale_facets.tcc (__verify_grouping): New
2330         function. Consolidate num_get and money_get group checking into
2331         one function.
2332         (money_get): Use it.
2333         * src/locale.cc (num_get::_M_extract): Use it.
2334         * src/locale-inst.cc: Add instantiation.
2335
2336 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2337
2338         * include/bits/std_limits.h (numeric_limits<float>::radix,
2339         numeric_limits<float>::epsilon:  Fix thinko.
2340
2341 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2342
2343         * configure.in: Fix cross compiling math routines. Correct
2344         comments for cross compiling and limits. Add floating point math
2345         routines found in newlib.
2346         * configure: Regenerate.
2347         * acconfig.h: Add macros.
2348         * config.h.in: Regenerate.
2349
2350 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2351
2352         * config/locale/moneypunct_members_generic.cc
2353         (money_base::_S_construct_pattern): Remove unused parameters.
2354
2355 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2356
2357         * include/Makefile.am (stamp-target): Remove link to self.
2358         * inclulde/Makefile.in: Regenerate.
2359
2360 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2361
2362         Implement std::money_put.
2363         * include/bits/locale_facets.h
2364         (moneypunct::_M_initialize_moneypunct): Split up specializations
2365         to account for _Intl.  More grody hacking to get around the
2366         ill-considered use of const bool as a template parameter.
2367         * config/locale/moneypunct_members_gnu.cc: And here.
2368         * config/locale/moneypunct_members_generic.cc: And here.
2369         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2370         * testsuite/22_locale/moneypunct.cc: Add tests.
2371         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2372         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2373
2374         * src/locale.cc (money_base::_S_construct_pattern): Move into
2375         gnu-specific file.
2376         * config/locale/moneypunct_members_gnu.cc: Add here.
2377         * config/locale/moneypunct_members_generic.cc: Add generic version
2378         here.
2379
2380         * include/bits/locale_facets.tcc (money_put::do_put): Move member
2381         function definitions here.
2382         * include/bits/locale_facets.h (money_put): Implement.
2383         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2384         Correct money_get, money_put instantiations.
2385         * src/locale.cc (money_base::_S_construct_pattern): Handle case
2386         where __posn == 0.
2387         * testsuite/22_locale/money_put_members_char.cc: Add tests.
2388
2389 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
2390
2391         * testsuite_flags.in:  No longer need to search testsuite builddir.
2392         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
2393         * Makefile.am:  The testsuite directory never needs to be made here.
2394         * Makefile.in:  Regenerate.
2395         * include/Makefile.in:  Regenerate.
2396         * libio/Makefile.in:  Regenerate.
2397         * libmath/Makefile.in:  Regenerate.
2398         * libsupc++/Makefile.in:  Regenerate.
2399         * po/Makefile.in:  Regenerate.
2400         * src/Makefile.in:  Regenerate.
2401         * testsuite/Makefile.in:  Regenerate.
2402
2403 2001-09-04  Scott Johnston  <scott@accom.com>
2404             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2405
2406         * include/backward/iterator.h: Include <bits/std_iterator.h>,
2407         remove reverse_bidirectional_iterator.
2408         * testsuite/backward: New directory.
2409         * testsuite/backward/header_iterator_h.cc: New file.
2410
2411 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
2412
2413         * include/c_std/bits/std_c*.h: Don't use include_next.
2414
2415 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
2416
2417         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2418         tmp from _Unwind_Ptr to _Unwind_Word.
2419
2420 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
2421
2422         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2423         leb128 handling.
2424
2425 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
2426
2427         * include/Makefile.am: Use toplevel_srcdir to refer to src files
2428         outside this component.
2429         * include/Makefile.in: Regenerate.
2430
2431 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
2432
2433         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2434         * config/locale/c_locale_generic.cc: Same.
2435         * config/locale/moneypunct_members_gnu.cc: New file.
2436         * config/locale/moneypunct_members_generic.cc: New file.
2437         * config/locale/numpunct_members_gnu.cc: New file.
2438         * config/locale/numpunct_members_generic.cc: New file.
2439         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2440         options.
2441         * aclocal.m4: Regenerate.
2442         * configure: Regenerate.
2443         * src/Makefile.am (sources): And here.
2444         * src/Makefile.in: Regenerate.
2445
2446         Rename for consistency with rest of testsuite.
2447         * testsuite/22_locale/codecvt.cc: New file.
2448         * testsuite/22_locale/money_put.cc: New file.
2449         * testsuite/22_locale/money_put_members_char.cc: New file.
2450
2451 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
2452
2453         PR libstdc++/4143
2454         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
2455         correctly for version-specific-runtime-libs.
2456         * aclocal.m4:  Regenerate.
2457         * configure:  Regenerate.
2458
2459 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
2460
2461         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2462         define if not already provided by per-OS file.
2463         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2464         Define.
2465
2466 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
2467
2468         * docs/html/17_intro/C++STYLE:  Fix typo.
2469
2470 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
2471
2472         * docs/html/23_containers/howto.html:  Describe implementation of
2473         insertion with hints.
2474
2475 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
2476
2477         libstdc++/3740
2478         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2479
2480 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2481             Phil Edwards  <pme@sources.redhat.com>
2482
2483         PR libstdc++/3349
2484         * include/bits/stl_tree.h (insert_unique):  Revert last change.
2485         Values inserted at begin() must be less, not greater, than *begin()'s.
2486         * testsuite/23_containers/map_insert.cc:  New file.
2487
2488 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
2489
2490         * config/locale/c_locale_gnu.cc: Minor tweaks.
2491         (moneypunct<wchar_t>): Implement.
2492         * include/bits/locale_facets.h: Same.
2493         * testsuite/22_locale/moneypunct.cc: New file.
2494         * testsuite/22_locale/moneypunct_byname.cc: New file.
2495         * testsuite/22_locale/moneypunct_char_members.cc: New file.
2496
2497 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
2498
2499         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2500         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2501
2502 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
2503
2504         * testsuite_flags.in (build-includes): Re-add backward.
2505
2506 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2507
2508         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2509         with _GLIBCPP_USE_WCHAR_T.
2510
2511 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
2512
2513         * testsuite/22_locale/collate_byname.cc (test01): Fix.
2514
2515 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
2516
2517         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2518
2519 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
2520
2521         * testsuite/22_locale/operators.cc: Add test.
2522
2523 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
2524
2525         Implement std::collate.
2526         * config/locale/collate_specializations_gnu.cc: Add here, implement in
2527         MT-safe way.
2528         * config/locale/collate_specializations_generic.cc: Add here, but
2529         in a less sophisticated manner.
2530         * include/bits/locale_facets.tcc (collate): Add generic definition.
2531         * include/bits/locale_facets.h (~collate): Mark virtual.
2532         (collate::_M_compare_helper): New.
2533         (collate::_M_transform_helper): New.
2534         * src/locale.cc: Remove unnecessary specializations.
2535         * src/string-inst.cc: Tweak instantiation of ctors.
2536
2537         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2538         * aclocal.m4: Regenerate.
2539         * configure: Regenerate.
2540         * src/Makefile.am (sources): Add collate.cc.
2541         * src/Makefile.in: Regenerate.
2542
2543         * testsuite/22_locale/collate_byname.cc: New.
2544         * testsuite/22_locale/collate.cc: New file.
2545         * testsuite/22_locale/collate_char_members.cc: New file.
2546         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2547
2548 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2549
2550         * configure.target: Set LIMITSH for powerpc-*-*.
2551         * config/cpu/powerpc/bits/limits.h: New file.
2552
2553 2001-08-16  Marc Espie <espie@openbsd.org>
2554
2555         * configure.in:  Check for <sys/types.h>.
2556         * configure:  Rebuild.
2557         * config.h.in:  Rebuild.
2558         * libmath/mathconf.h:  Include <sys/types.h> prior to
2559         <machine/endian.h> if available.
2560
2561 2001-08-15  Andreas Schwab  <schwab@suse.de>
2562
2563         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2564         m68k and m680[246]0.
2565         * config/cpu/m68k/bits/atomicity.h: New file.
2566
2567         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2568         Define appropriate long double limits for m68k extended floating
2569         point.
2570         (__glibcpp_f32_digits10): Corrected, off by one.
2571         (__glibcpp_f80_digits10): Likewise.
2572         (__glibcpp_f128_digits10): Likewise.
2573         * config/os/gnu-linux/bits/os_defines.h
2574         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2575
2576 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2577
2578         * testsuite/18_support/numeric_limits.cc: Add more tests.
2579         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2580         typo.
2581
2582 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
2583
2584         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2585         for s390 and s390x.
2586
2587         * config/cpu/s390/bits/atomicity.h: New.
2588
2589 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
2590
2591         * include/bits/std_limits.h: Fix thinko.
2592
2593 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
2594
2595         * include/Makefile.am: Consolidate target rules. Don't clean stamp
2596         files. Tweak target build directory stamp.
2597         * include/Makefile.in: Regenerate.
2598
2599 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2600
2601         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2602         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2603
2604 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2605
2606         * configure.in (libtool_VERSION): Add.
2607         (VERSION): Change to
2608         (release_VERSION): This.
2609         * configure: Regenerate.
2610         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2611         libtool_VERSION.
2612         * src/Makefile.in: Regenerate.
2613
2614         * intl/Makefile.am: Remove.
2615         * intl/Makefile.in: Remove.
2616         * intl: Remove.
2617         * Makefile.am (SUBDIRS): Remove intl.
2618         * po/Makefile.am (DISTFILES): Add string_literals.cc
2619         (MSGFMT): Add.
2620         * po/string_literals.cc: Add.
2621         * po/POTFILES.in: Fix path.
2622         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2623         * aclocal.m4: Regenerate.
2624         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2625
2626         * include/backward/backward_warning.h: Clarify message.
2627
2628         * testsuite_flags.in (--cxxflags): Use same debug flags for
2629         library and testsuite.
2630
2631         * include/Makefile.am (c_compatibility): Remove.
2632         * include/Makefile.in: Regenerate.
2633
2634 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2635
2636         * configure.in (LIMITS_INC_SRCDIR): New variable.
2637         * configure.target (LIMITSH): New variable.
2638         * porting.texi: Discuss numeric limits.
2639         * config/cpu/generic/bits/limits.h: New file.
2640         * config/cpu/i386/bits/limits.h: New file.
2641         * include/Makefile.am: Install bits/limits.h.
2642         * include/bits/c++config: Include bits/limits.h.
2643
2644 2001-08-13  H.J. Lu  (hjl@gnu.org)
2645
2646         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2647         New. Copy files.
2648         (libstdc++-v3-init ): Use it.
2649
2650 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2651
2652         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2653         to '__adjust' to avoid shadowing in nested scope.
2654
2655 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2656
2657         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2658         __CHAR_UNSIGNED__.
2659
2660         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2661         Likewise.
2662         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2663         Remove.
2664
2665 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2666
2667         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2668         dummy default argument to the non-limit implementation.
2669
2670         bootstrap/3963
2671         * include/Makefile.am: Use relative file path in rule to allow
2672         colon in $(objdir).
2673         * include/Makefile.in: Rebuilt.
2674
2675 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2676
2677         * include/bits/std_complex.h (complex<long double>::operator*=,
2678         complex<long double>::operator/=): Fix thinko.
2679
2680 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2681
2682         * include/bits/std_limits.h: New file.
2683         * include/Makefile.am (bits_headers): Add std_limits.h
2684         (all-local): std_limits.h is no longer built.
2685         (${target_builddir}/std_limits.h): Remove.
2686         * include/Makefile.in: Regenerate.
2687         * src/limits.cc: New file.
2688         * src/Makefile.am (sources): Add limits.cc in replacement of
2689         limitsMEMBERS.cc.
2690         * src/Makefile.in: Regenerate.
2691
2692 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2693
2694         * src/gen-num-limits.cc (digits10): Fix thinko.
2695
2696 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2697
2698         * po/Makefile.am (check-no): Add.
2699         (check-yes): Same.
2700         * po/Makefile.in: Regenerate.
2701
2702 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2703
2704         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2705         * config.h.in: Regenerate.
2706         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2707         function.
2708         * aclocal.m4: Regenerate.
2709         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2710         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2711         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2712         * configure: Regenerate.
2713         * testsuite_hooks.h.in: Move to...
2714         * testsuite_hooks.h: Here, include c++config.h. Use it.
2715
2716         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2717         * Makefile.in: Regenerate.
2718         * po/Makefile.am (stamp-po): Add.
2719
2720 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2721
2722         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2723         * config/os/generic/bits/os_defines.h: Likewise.
2724         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2725         * config/os/hpux/bits/os_defines.h: Likewise.
2726         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2727         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2728
2729 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2730
2731         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2732         -version-info, use substituted VERSION info.
2733         * src/Makefile.in: Regenerate.
2734
2735 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2736
2737         Implement std::messages.
2738         Make config a fully-nested directory.
2739         * config/locale: New directory.
2740         * config/c_locale_generic.cc: Move into locale subdirectory.
2741         * config/c_locale_generic.h: Same.
2742         * config/c_locale_gnu.cc: Same.
2743         * config/c_locale_gnu.h: Same.
2744         * config/c_locale_ieee_1003.1-200x.cc: Same.
2745         * config/c_locale_ieee_1003.1-200x_.h: Same.
2746         * config/codecvt_specializations_generic.h: Same.
2747         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2748         * config/messages_members_gnu.h: Same.
2749         * config/messaages_members_gnu.cc: Same.
2750         * config/messages_members_generic.h: Same.
2751         * config/messaages_members_generic.cc: Same.
2752         * config/messages_members_ieee_1003.1-200x.h: Same.
2753         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2754         * config/io: New directory.
2755         * config/basic_file_libio.h: Move into io subdirectory.
2756         * config/basic_file_libio.cc: Same.
2757         * config/c_io_libio.h: Same.
2758         * config/c_io_libio_codecvt.c: Same.
2759         * config/basic_file_stdio.h: Same.
2760         * config/basic_file_stdio.cc: Same.
2761         * config/c_io_stdio.h: Same.
2762
2763         * po: New directory.
2764         * po/POTFILES.in: New file.
2765         * po/Makefile.am: New file.
2766         * po/Makefile.in: New file.
2767         * po/libstdc++.pot: Generic translation file.
2768         * po/fr.po: Preliminary French translation.
2769         * po/de.po: Preliminary German translation.
2770         * intl: New directory.
2771         * intl/Makefile.am: New file.
2772         * intl/Makefile.in: New file.
2773         * intl/string_literals.cc: New file.
2774         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2775         requisite setup for gettext. Re-arrange.
2776         * aclocal.m4: Regenerate.
2777         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2778         Output Makefile bits for po and intl.
2779         * configure: Regenerate.
2780         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2781         * Makefile.in: Regenerate.
2782         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2783         * config.h.in: Regenerate.
2784
2785         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2786
2787         * include/Makefile.am (install-data-local): Don't install Makefile.
2788         * include/Makefile.in: Regenerate.
2789
2790         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2791         Add member.
2792         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2793         * config/locale/c_locale_generic.cc: Same.
2794         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2795
2796         * include/bits/codecvt.h: Excise non-standard, non-required
2797         bits. This includes __enc_traits, and partial specializations of
2798         codecvt for __enc_traits.
2799         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2800         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2801         * config/codecvt_partials_generic.h: New file.
2802         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2803         (stamp-codecvt_model): Add.
2804         * include/Makefile.in: Regenerate.
2805         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2806         * aclocal.m4: Regenerate.
2807         * configure: Regenerate.
2808         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2809         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2810         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2811
2812         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2813         as a friend for _S_*_c_locale functions.
2814         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2815         argument to default constructor so that CODESET information can be
2816         deduced.
2817         * include/bits/locale_facets.h (messages_byname):
2818         Re-implement. Remove specializations.
2819         * src/locale.cc (messages_byname<char>): Remove specialization.
2820         (messages_byname<wchar_t>): Same.
2821         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2822         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2823         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2824         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2825         * config/locale/messages_members_gnu.cc: New file.
2826         * config/locale/messages_members_gnu.h: New file.
2827         * config/locale/messages_members_generic.cc: New file.
2828         * config/locale/messages_members_generic.h: New file.
2829
2830         * docs/html/configopts.html: Add documentation for new locale
2831         model, ieee_1003.1. Adjust other flags for current defaults.
2832         * docs/html/22_locale/locale.html: Update.
2833         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2834         * docs/html/22_locale/messages.html: New.
2835
2836         * src/Makefile.am (sources): Add messages_virtuals.cc.
2837         * src/Makefile.in: Regenerate.
2838         * include/Makefile.am (allstamps): Add stamp-messages_model.
2839         (stamp-messages_model): Add.
2840         * include/Makefile.in: Regenerate.
2841         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2842         * aclocal.m4: Regenerate.
2843         * configure: Regenerate.
2844
2845         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2846         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2847         bits for Irix.
2848         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2849         build directories message catalog base directory, and export.
2850         Eventually this should probably be made to deal with build and
2851         install directories. For now, punt on this as the library itself
2852         doesn't use message catalogs (yet).
2853         * testsuite/22_locale/messages.cc: New file.
2854         * testsuite/22_locale/messages_char_members.cc: New file.
2855         * testsuite/22_locale/messages_byname.cc: New file.
2856
2857 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2858
2859         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2860         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2861         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2862         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2863         Call GLIBCPP_CONFIGURE_TESTSUITE.
2864         * aclocal.m4:  Regenerate.
2865         * config.h.in:  Regenerate.
2866         * configure:  Regenerate.
2867
2868         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2869         of old header.
2870
2871         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2872         * testsuite/debug_assert.h:  Removed; contents merged into...
2873         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2874         * testsuite/17_intro/header_ciso646.cc:  No longer include
2875         debug_assert.h, include testsuite_hooks.h instead.
2876         * testsuite/17_intro/header_fstream.cc:  Likewise.
2877         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2878         * testsuite/17_intro/header_ios.cc:  Likewise.
2879         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2880         * testsuite/17_intro/header_iostream.cc:  Likewise.
2881         * testsuite/17_intro/header_istream.cc:  Likewise.
2882         * testsuite/17_intro/header_ostream.cc:  Likewise.
2883         * testsuite/17_intro/header_sstream.cc:  Likewise.
2884         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2885         * testsuite/18_support/numeric_limits.cc:  Likewise.
2886         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2887         * testsuite/20_util/allocator_members.cc:  Likewise.
2888         * testsuite/20_util/auto_ptr.cc:  Likewise.
2889         * testsuite/20_util/pairs.cc:  Likewise.
2890         * testsuite/21_strings/append.cc:  Likewise.
2891         * testsuite/21_strings/capacity.cc:  Likewise.
2892         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2893         * testsuite/21_strings/compare.cc:  Likewise.
2894         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2895         call to (disabled) __set_testsuite_memlimit() wrapper.
2896         * testsuite/21_strings/element_access.cc:  Likewise.
2897         * testsuite/21_strings/find.cc:  Likewise.
2898         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2899         (disabled) __set_testsuite_memlimit() wrapper.
2900         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2901         * testsuite/21_strings/invariants.cc:  Likewise.
2902         * testsuite/21_strings/nonmember.cc:  Likewise.
2903         * testsuite/21_strings/operations.cc:  Likewise.
2904         * testsuite/21_strings/replace.cc:  Likewise.
2905         * testsuite/21_strings/rfind.cc:  Likewise.
2906         * testsuite/21_strings/substr.cc:  Likewise.
2907         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2908         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2909         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2910         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2911         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2912         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2913         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2914         * testsuite/22_locale/facet.cc:  Likewise.
2915         * testsuite/22_locale/global_templates.cc:  Likewise.
2916         * testsuite/22_locale/members.cc:  Likewise.
2917         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2918         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2919         * testsuite/22_locale/operators.cc:  Likewise.
2920         * testsuite/22_locale/static_members.cc:  Likewise.
2921         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2922         * testsuite/23_containers/bitset_members.cc:  Likewise.
2923         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2924         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2925         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2926         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2927         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2928         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2929         * testsuite/24_iterators/iterator.cc:  Likewise.
2930         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2931         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2932         * testsuite/25_algorithms/copy.cc:  Likewise.
2933         * testsuite/25_algorithms/heap.cc:  Likewise.
2934         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2935         * testsuite/25_algorithms/min_max.cc:  Likewise.
2936         * testsuite/25_algorithms/partition.cc:  Likewise.
2937         * testsuite/25_algorithms/rotate.cc:  Likewise.
2938         * testsuite/25_algorithms/sort.cc:  Likewise.
2939         * testsuite/26_numerics/c_math.cc:  Likewise.
2940         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2941         * testsuite/26_numerics/complex_value.cc:  Likewise.
2942         * testsuite/27_io/filebuf.cc:  Likewise.
2943         * testsuite/27_io/filebuf_members.cc:  Likewise.
2944         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2945         * testsuite/27_io/fpos.cc:  Likewise.
2946         * testsuite/27_io/fstream_members.cc:  Likewise.
2947         * testsuite/27_io/ifstream_members.cc:  Likewise.
2948         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2949         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2950         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2951         * testsuite/27_io/ios_ctor.cc:  Likewise.
2952         * testsuite/27_io/ios_init.cc:  Likewise.
2953         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2954         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2955         * testsuite/27_io/ios_members.cc:  Likewise.
2956         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2957         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2958         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2959         * testsuite/27_io/istream_manip.cc:  Likewise.
2960         * testsuite/27_io/istream_seeks.cc:  Likewise.
2961         * testsuite/27_io/istream_sentry.cc:  Likewise.
2962         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2963         * testsuite/27_io/istringstream_members.cc:  Likewise.
2964         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2965         * testsuite/27_io/ofstream_members.cc:  Likewise.
2966         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2967         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2968         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2969         * testsuite/27_io/ostream_manip.cc:  Likewise.
2970         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2971         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2972         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2973         * testsuite/27_io/streambuf.cc:  Likewise.
2974         * testsuite/27_io/stringbuf.cc:  Likewise.
2975         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2976         * testsuite/27_io/stringstream.cc:  Likewise.
2977         * testsuite/27_io/stringstream_members.cc:  Likewise.
2978         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2979
2980 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2981
2982         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2983
2984 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
2985
2986         * configure.target: Remove mips from cpu table.
2987         * config/cpu/mips/bits/atomicity.h: Remove generic
2988         versions. Comment sgidefs include.
2989
2990 2001-07-25  H.J. Lu <hjl@gnu.org>
2991
2992         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2993         for mips.
2994
2995         * config/cpu/mips/bits/atomicity.h: New.
2996
2997 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2998
2999         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3000         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
3001         * aclocal.m4: Regenerate.
3002         * config.h.in: Likewise.
3003         * configure: Likewise.
3004         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3005         (EXTRA_DIST): Remove hypot.c hypotf.c.
3006         * libmath/Makefile.am: Regenerate.
3007         * libmath/hypotf.c: Remove.
3008         * libmath/hypot.c: Likewise.
3009         * libmath/hypotl.c: Likewise.
3010         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3011         _GLIBCPP_HAVE_xxx.  Add long double versions.
3012
3013 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
3014
3015         * include/bits/limits_generic.h (int): Set digits and digits10
3016         appropriately for word size.
3017         (unsigned int,long,unsigned long): Likewise.
3018
3019 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3020
3021         * include/bits/stl_algo.h : Fix typos.
3022         * testsuite/25_algorithms/unique.cc: New file.
3023
3024 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
3025             Mark Mitchell <mark@codesourcery.com>
3026
3027         Merge from cp-parser-branch.
3028         * include/bits/basic_string.h:  Qualify symbols with 'template'.
3029         * include/bits/basic_string.tcc:  Likewise.
3030         * include/bits/fstream.tcc:  Likewise.
3031         * include/bits/istream.tcc:  Likewise.
3032         * include/bits/sstream.tcc:  Likewise.
3033         * include/bits/std_istream.h:  Likewise.
3034         * include/bits/stl_iterator.h:  Likewise.
3035         * include/bits/streambuf.tcc:  Likewise.
3036         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
3037         * src/locale.cc:  Likewise.
3038
3039 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3040             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3041
3042         * src/gen-num-limits.cc (set_signals_handler): New function.
3043         Factor out signals setting.  Set signal handler for SIGILL.
3044
3045 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
3046
3047         * docs/html/27_io/howto.html:  Fix typo.
3048         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
3049         * docs/html/faq/index.txt:  Regenerated.
3050
3051 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
3052             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
3053
3054         libstdc++/3599
3055         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3056         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3057
3058 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
3059
3060         All occurrences of the __value_type() and __distance_type()
3061         functions, which were required to support the HP STL, have been
3062         removed along with all the auxiliary forwarding functions that
3063         were required to support their use.
3064
3065         The __iterator_category() function was pretty much left alone
3066         because there was no benefit to removing it and its use made code
3067         just a little more readable.
3068
3069         Incidences of distance() with nonstandard argument list were
3070         replaced by calls to the standard function (only in the files
3071         affected by the removal of the other HP functions).
3072
3073         The signature of the rotate() algorithm was changed to match the
3074         standard.
3075
3076         Headers were reformatted under C++STYLE guidelines (indentation,
3077         linebreaks, typename keyword).
3078
3079         * include/bits/stl_algo.h: replaced __value_type() and
3080         __distance_type() with iterator_traits, eliminated auxiliary
3081         support functions required to support said function usage.
3082         Changed nonstandard distance() call to standard call.
3083
3084         * include/bits/stl_algobase.h: Same.
3085         * include/bits/stl_heap.h: Same.
3086         * include/bits/stl_numeric.h: Same.
3087         * include/bits/stl_uninitialized.h: Same.
3088         * include/bits/stl_iterator_base_types.h (__value_type()):
3089         Removed.
3090         (__distance_type()): Removed.
3091         (value_type()): Gone.
3092         (distance_type()): Done in.
3093         (iterator_category()): Hasta la vista, baby.
3094
3095         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3096         Replaced with __iterator_category().
3097         * include/backward/iterator.h: moved definition of value_type(),
3098         distance_type(), and iterator_category() out of std:: and into
3099         here.
3100         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3101         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3102         * testsuite/25_algorithms/rotate.cc: New testcase.
3103         * testsuite/25_algorithms/copy.cc: New testcase.
3104         * testsuite/25_algorithms/sort.cc: Same.
3105         * testsuite/25_algorithms/heap.cc: Same.
3106         * testsuite/25_algorithms/partition.cc: Same.
3107         * testsuite/25_algorithms/binary_search.cc: Same.
3108         * testsuite/26_numerics/sum_diff.cc: Ditto.
3109
3110 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
3111
3112         * testsuite/README: Add notes on naming test cases.
3113         * testsuite/22_locale/members.cc: Mark as xfail.
3114         * testsuite/22_locale/numpunct_char_members.cc: Same.
3115
3116 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
3117
3118         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
3119         setting C_INCLUDE_DIR.
3120         * configure.in:  Revert yesterday's LN_S change.
3121         * aclocal.m4:  Regenerate.
3122         * configure:  Regenerate.
3123
3124 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
3125
3126         * configure.in:  Temporarily force LN_S to copy instead of symlink.
3127         * configure:  Regenerate.
3128
3129 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
3130
3131         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3132         Initialize _M_string with pointer-and-size constructor, not just
3133         pointer.  Fix some comments.
3134         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
3135         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
3136         (test03):  Add embedded-NUL tests.
3137
3138         * mkcheck.in:  When printing totals, match the order of the tests.
3139         * include/bits/stringfwd.h:  Use same declaration keywords.
3140         * include/bits/std_iosfwd.h:  Cosmetic spacing.
3141
3142 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
3143             Loren J. Rittle  <ljrittle@acm.org>
3144             Phil Edwards  <pme@sources.redhat.com>
3145
3146         * include/Makefile.am:  New file encapsulating header generation rules.
3147         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
3148         * acinclude.m4:  Moved/removed rules for building various headers.
3149         * configure.in (AC_OUTPUT):  Add include/Makefile.
3150         * mkc++config:  Removed.
3151
3152         * testsuite_flags.in:  Changed build-includes to match new scheme.
3153         * mknumeric_limits:  Likewise.
3154         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
3155         * libmath/Makefile.am:  Likewise.
3156         * libsupc++/Makefile.am:  Likewise.
3157         * src/Makefile.am:  Likewise; removed rules to build headers.
3158         * libmath/mathconf.h:  Changed #include'd header names to match.
3159         * libmath/stubs.c:  Likewise.
3160         * src/gen-num-limits.cc:  Likewise.
3161
3162         * configure:  Regenerated.
3163         * config.h.in:  Regenerated.
3164         * aclocal.m4:  Regenerated.
3165         * Makefile.in:  Regenerated.
3166         * include/Makefile.in:  Regenerated.
3167         * libio/Makefile.in:  Regenerated.
3168         * libmath/Makefile.in:  Regenerated.
3169         * libsupc++/Makefile.in:  Regenerated.
3170         * src/Makefile.in:  Regenerated.
3171         * testsuite/Makefile.in:  Regenerated.
3172
3173 2001-07-11   Felix Natter  <fnatter@gmx.net>
3174
3175         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
3176         master copy.
3177         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
3178
3179 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
3180
3181         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
3182         * docs/doxygen/user.cfg.in:  Tweaks.
3183         * include/bits/c++config:  Documentation comments for Doxygen.
3184         * include/bits/char_traits.h:  Likewise.
3185         * include/bits/limits_generic.h:  Likewise.
3186         * include/bits/std_stdexcept.h:  Likewise.
3187         * include/bits/stl_pair.h:  Likewise.
3188         * libsupc++/exception:  Likewise.
3189         * libsupc++/new:  Likewise.
3190         * libsupc++/typeinfo:  Likewise.
3191         * libmath/Makefile.am:  Update and correct copyright.
3192
3193 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3194
3195         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3196         * aclocal.m4: Regenerate.
3197         * configure: Same.
3198
3199 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3200
3201         * docs/html/configopts.html:  Fix thinko.
3202         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
3203         * include/bits/stl_iterator.h:  Fix typo.
3204
3205 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3206
3207         * docs/html/explanations.html:  New file.
3208         * docs/html/configopts.html:  Link to it to provide more notes
3209         on cstdio.  Minor markup and spacing fixes.
3210         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
3211
3212 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3213
3214         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3215         for _Expr template template argument.
3216         (_Expr::operator-): Likewise.
3217         (_Expr::operator~): Likewise.
3218         (_Expr::operator!): Likewise.
3219         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3220
3221 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3222
3223         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3224         * libmath/Makefile.in: Regenerate.
3225         * libmath/expf.c: Remove.
3226         * libmath/atan2f.c: Likewise.
3227
3228 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
3229
3230         * configure.in: Remove NATIVE, NULL_TARGET.
3231         Set CANADIAN only for Canadian crosses.  Set xcompiling
3232         for both Canadian crosses and host-x-host crosses.
3233         * configure: Regenerated.
3234
3235 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3236
3237         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3238
3239 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
3240
3241         * testsuite_flags.in (--build-includes): backward, not backwards.
3242
3243 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
3244
3245         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3246         Replace destroy by _Destroy.
3247         (_Rope_RopeRep::_S_free_string): Likewise.
3248         (rope::c_str()): Likewise.
3249         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3250         (_Slist_base::_M_erase_after): Likewise.
3251         (slist::_M_create_node): Replace construct by _Construct.
3252         (slist::pop_front): Replace destroy by _Destroy.
3253         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3254         construct by _Construct.
3255         (hashtable::_M_delete_node): Replace destroy by _Destroy.
3256         * include/ext/stl_rope.h (rope::rope): Replace construct by
3257         _Construct.
3258         (rope::copy): Replace destroy by _Destroy.
3259
3260 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3261
3262         * include/bits/localefwd.h: Format.
3263         * include/bits/locale_facts.tcc (locale::combine): Adjust.
3264         * src/locale.cc (locale::locale::(_Impl)): Don't call
3265         _M_add_reference.
3266         (locale::facet::_M_remove_reference): Simplify.
3267         * src/globals.cc (locale_impl_c): New. Format.
3268         (locale_c): New.
3269         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3270
3271 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3272
3273         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3274         expansion (thanks to Alexandre Oliva).
3275         * aclocal.m4: Regenerate.
3276         * configure: Regenerate.
3277
3278 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
3279
3280         * src/locale.cc (locale::locale(const char*)): Make sure global
3281         locales are initialized.
3282         * include/bits/locale_facets.tcc (locale::combine): Refcout should
3283         be zero, not one as it's return-by-value.
3284         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3285         named locales here.
3286         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3287         for it here.
3288         (test02): Add test.
3289         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3290
3291 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3292
3293         libstdc++/3284
3294         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3295         * aclocal.m4: Regenerate.
3296         * configure: Regenerate.
3297