OSDN Git Service

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