OSDN Git Service

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