OSDN Git Service

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