OSDN Git Service

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