OSDN Git Service

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