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         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3295         * aclocal.m4: Regenerate.
3296         * configure: Same.
3297
3298 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3299
3300         * docs/html/configopts.html:  Fix thinko.
3301         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
3302         * include/bits/stl_iterator.h:  Fix typo.
3303
3304 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3305
3306         * docs/html/explanations.html:  New file.
3307         * docs/html/configopts.html:  Link to it to provide more notes
3308         on cstdio.  Minor markup and spacing fixes.
3309         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
3310
3311 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3312
3313         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3314         for _Expr template template argument.
3315         (_Expr::operator-): Likewise.
3316         (_Expr::operator~): Likewise.
3317         (_Expr::operator!): Likewise.
3318         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3319
3320 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3321
3322         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3323         * libmath/Makefile.in: Regenerate.
3324         * libmath/expf.c: Remove.
3325         * libmath/atan2f.c: Likewise.
3326
3327 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
3328
3329         * configure.in: Remove NATIVE, NULL_TARGET.
3330         Set CANADIAN only for Canadian crosses.  Set xcompiling
3331         for both Canadian crosses and host-x-host crosses.
3332         * configure: Regenerated.
3333
3334 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3335
3336         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3337
3338 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
3339
3340         * testsuite_flags.in (--build-includes): backward, not backwards.
3341
3342 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
3343
3344         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3345         Replace destroy by _Destroy.
3346         (_Rope_RopeRep::_S_free_string): Likewise.
3347         (rope::c_str()): Likewise.
3348         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3349         (_Slist_base::_M_erase_after): Likewise.
3350         (slist::_M_create_node): Replace construct by _Construct.
3351         (slist::pop_front): Replace destroy by _Destroy.
3352         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3353         construct by _Construct.
3354         (hashtable::_M_delete_node): Replace destroy by _Destroy.
3355         * include/ext/stl_rope.h (rope::rope): Replace construct by
3356         _Construct.
3357         (rope::copy): Replace destroy by _Destroy.
3358
3359 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3360
3361         * include/bits/localefwd.h: Format.
3362         * include/bits/locale_facts.tcc (locale::combine): Adjust.
3363         * src/locale.cc (locale::locale::(_Impl)): Don't call
3364         _M_add_reference.
3365         (locale::facet::_M_remove_reference): Simplify.
3366         * src/globals.cc (locale_impl_c): New. Format.
3367         (locale_c): New.
3368         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3369
3370 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3371
3372         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3373         expansion (thanks to Alexandre Oliva).
3374         * aclocal.m4: Regenerate.
3375         * configure: Regenerate.
3376
3377 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
3378
3379         * src/locale.cc (locale::locale(const char*)): Make sure global
3380         locales are initialized.
3381         * include/bits/locale_facets.tcc (locale::combine): Refcout should
3382         be zero, not one as it's return-by-value.
3383         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3384         named locales here.
3385         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3386         for it here.
3387         (test02): Add test.
3388         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3389
3390 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3391
3392         libstdc++/3284
3393         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3394         * aclocal.m4: Regenerate.
3395         * configure: Regenerate.
3396
3397 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3398
3399         libstdc++/3243
3400         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3401         staged/installed area to support -I-.  Document.
3402         * aclocal.m4: Regenerate.
3403         * configure: Regenerate.
3404
3405 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3406
3407         libstdc++/2211
3408         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3409         __out_bufsize.  Add __in_bufsize, document it and use it.
3410
3411 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
3412
3413         * include/bits/stl_construct.h (construct): Remove.
3414         (destroy): Remove.
3415         (__destroy): Replaced by use of iterator_traits.
3416         * include/bits/stl_deque.h: replaced HP iterator functions with
3417         iterator_traits.
3418         (construct): changed to _Construct.
3419         (destroy): changed to _Destroy.
3420         * include/bits/stl_tempbuf.h: Same.
3421         * include/bits/stl_tree.h: Same.
3422         * include/bits/stl_vector.h: Same.
3423         * include/backward/iterator.h (construct): moved definition to here.
3424         (destroy): Same.
3425
3426 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
3427
3428         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3429         before replacing facet.
3430         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3431         Correct decrement.
3432         * src/localename.cc (locale::_Impl): Correct ctor initialization
3433         lists. Initialize ref count with one. Simplify.
3434         * src/locale.cc: Add comment.
3435         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3436         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3437         * testsuite/22_locale/members.cc (test02): Fix.
3438
3439 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
3440
3441         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
3442         block, this time for real.
3443         * include/backward/algobase.h:  Likewise.
3444         * include/backward/alloc.h:  Likewise.
3445         * include/backward/bvector.h:  Likewise.
3446         * include/backward/defalloc.h:  Likewise.
3447         * include/backward/deque.h:  Likewise.
3448         * include/backward/function.h:  Likewise.
3449         * include/backward/hash_map.h:  Likewise.
3450         * include/backward/hash_set.h:  Likewise.
3451         * include/backward/hashtable.h:  Likewise.
3452         * include/backward/heap.h:  Likewise.
3453         * include/backward/iterator.h:  Likewise.
3454         * include/backward/list.h:  Likewise.
3455         * include/backward/map.h:  Likewise.
3456         * include/backward/multimap.h:  Likewise.
3457         * include/backward/multiset.h:  Likewise.
3458         * include/backward/pair.h:  Likewise.
3459         * include/backward/rope.h:  Likewise.
3460         * include/backward/set.h:  Likewise.
3461         * include/backward/slist.h:  Likewise.
3462         * include/backward/stack.h:  Likewise.
3463         * include/backward/strstream:  Likewise.
3464         * include/backward/tempbuf.h:  Likewise.
3465         * include/backward/tree.h:  Likewise.
3466         * include/backward/vector.h:  Likewise.
3467         * include/bits/pthread_allocimpl.h:  Likewise.
3468         * include/bits/std_algorithm.h:  Likewise.
3469         * include/bits/std_bitset.h:  Likewise.
3470         * include/bits/std_deque.h:  Likewise.
3471         * include/bits/std_functional.h:  Likewise.
3472         * include/bits/std_iterator.h:  Likewise.
3473         * include/bits/std_list.h:  Likewise.
3474         * include/bits/std_map.h:  Likewise.
3475         * include/bits/std_memory.h:  Likewise.
3476         * include/bits/std_numeric.h:  Likewise.
3477         * include/bits/std_queue.h:  Likewise.
3478         * include/bits/std_set.h:  Likewise.
3479         * include/bits/std_stack.h:  Likewise.
3480         * include/bits/std_utility.h:  Likewise.
3481         * include/bits/std_vector.h:  Likewise.
3482         * include/bits/stl_algo.h:  Likewise.
3483         * include/bits/stl_algobase.h:  Likewise.
3484         * include/bits/stl_alloc.h:  Likewise.
3485         * include/bits/stl_bvector.h:  Likewise.
3486         * include/bits/stl_construct.h:  Likewise.
3487         * include/bits/stl_deque.h:  Likewise.
3488         * include/bits/stl_function.h:  Likewise.
3489         * include/bits/stl_heap.h:  Likewise.
3490         * include/bits/stl_iterator.h:  Likewise.
3491         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3492         * include/bits/stl_iterator_base_types.h:  Likewise.
3493         * include/bits/stl_list.h:  Likewise.
3494         * include/bits/stl_map.h:  Likewise.
3495         * include/bits/stl_multimap.h:  Likewise.
3496         * include/bits/stl_multiset.h:  Likewise.
3497         * include/bits/stl_numeric.h:  Likewise.
3498         * include/bits/stl_pair.h:  Likewise.
3499         * include/bits/stl_pthread_alloc.h:  Likewise.
3500         * include/bits/stl_queue.h:  Likewise.
3501         * include/bits/stl_raw_storage_iter.h:  Likewise.
3502         * include/bits/stl_relops.h:  Likewise.
3503         * include/bits/stl_set.h:  Likewise.
3504         * include/bits/stl_stack.h:  Likewise.
3505         * include/bits/stl_tempbuf.h:  Likewise.
3506         * include/bits/stl_threads.h:  Likewise.
3507         * include/bits/stl_tree.h:  Likewise.
3508         * include/bits/stl_uninitialized.h:  Likewise.
3509         * include/bits/stl_vector.h:  Likewise.
3510         * include/bits/type_traits.h:  Likewise.
3511         * include/ext/hash_map:  Likewise.
3512         * include/ext/hash_set:  Likewise.
3513         * include/ext/rope:  Likewise.
3514         * include/ext/ropeimpl.h:  Likewise.
3515         * include/ext/slist:  Likewise.
3516         * include/ext/stl_hash_fun.h:  Likewise.
3517         * include/ext/stl_hashtable.h:  Likewise.
3518         * include/ext/stl_rope.h:  Likewise.
3519         * src/bitset.cc:  Likewise.
3520         * src/strstream.cc:  Likewise.
3521
3522 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3523                              <vakatov@ncbi.nlm.nih.gov>
3524
3525         libstdc++/3272
3526         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3527         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3528         * testsuite/27_io/istream_extractor_other.cc: Fix.
3529
3530 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
3531
3532         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3533         * aclocal.m4: Regenerate.
3534         * configure: Regenerate.
3535
3536 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3537
3538         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3539         (ostream_iterator): Same.
3540         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3541         Change argument to const_reference.
3542         (back_insert_iterator): Same.
3543
3544 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3545
3546         * include/bits/sbuf_iter.h: Change to..
3547         * include/bits/streambuf_iterator.h: This.
3548         * include/bits/stl_iterator.h: Take out of here...
3549         * include/bits/stream_iterator.h: Add.
3550         * src/Makefile.am (base_headers): Add streambuf_iterator,
3551         stream_iterator.h
3552         * src/Makefile.in: Regenerate.
3553         * include/bits/std_string.h: Adjust includes.
3554         * include/bits/basic_ios.h: Same.
3555         * include/bits/locale_facets.tcc: Same.
3556         * include/bits/std_iosfwd.h: Same.
3557
3558         * include/bits/std_iterator.h: Add istream, ostream includes.
3559         * include/bits/stl_iterator.h: Tweak.
3560         * testsuite/24_iterators/ostream_iterator.cc: Add test.
3561         * testsuite/24_iterators/istream_iterator.cc: Same.
3562         * testsuite/23_containers/multiset.cc: Add iterator include.
3563
3564 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
3565
3566         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
3567         * aclocal.m4:  Regenerate.
3568         * configure:  Regenerate.
3569
3570 2001-06-26  Felix Natter  <f.natter@ndh.net>
3571
3572         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
3573
3574 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3575
3576         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3577         return values.
3578         (istream_iterator::operator*): Same.
3579
3580 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3581             Alexandre Petit-Bianco  <apbianco@redhat.com>
3582
3583         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3584         is on 41st, not 14th.
3585
3586 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3587
3588         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3589
3590         * include/bits/stl_iterator.h (istream_iterator): Inherit from
3591         iterator.
3592         (ostream_iterator): Same.
3593         * testsuite/24_iterators/istream_iterator.cc: New file.
3594         * testsuite/24_iterators/ostream_iterator.cc: New file.
3595
3596         * include/bits/sbuf_iter.h: Remove self typedef.
3597         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3598         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3599
3600         * include/bits/stl_iterator.h (reverse_iterator): Remove
3601         extraneous typedefs. Add typename.
3602         (__normal_iterator): Remove typedefs referring to self. Add typename.
3603         (reverse_bidiretional_iterator): Remove, not longer required.
3604
3605 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3606
3607         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3608         dependent names with `typename'.  Bring in various required
3609         iterator_traits members.  Can't imagine why that used to work.
3610
3611 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
3612             Kurt Garloff <garloff@suse.de>
3613
3614         PR libstdc++/3377
3615         * src/cmath.cc:  New [version of an old] file; instantiate
3616         __cmath_power to start with.
3617         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
3618         * Makefile.in:  Regenerate.
3619         * libio/Makefile.in:  Regenerate.
3620         * libmath/Makefile.in:  Regenerate.
3621         * libsupc++/Makefile.in:  Regenerate.
3622         * src/Makefile.in:  Regenerate.
3623         * testsuite/Makefile.in:  Regenerate.
3624
3625 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3626
3627         * libmath/stubs.c: Fix thinko.
3628
3629 2001-06-24  David Edelsohn <dje@watson.ibm.com>
3630
3631         * libmath/stubs.c (sqrtf): Define.
3632         (tanf): Correct typo.
3633
3634 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
3635
3636         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3637         iterator.
3638         (back_insert_iterator): Same.
3639         (front_insert_iterator): Same.
3640         (insert_iterator): Same.
3641
3642         * testsuite/20_util/raw_storage_iterator.cc: Modify.
3643         * testsuite/24_iterators/reverse_iterator.cc: New file.
3644         * testsuite/24_iterators/back_insert_iterator.cc: New file.
3645         * testsuite/24_iterators/front_insert_iterator.cc: New file.
3646         * testsuite/24_iterators/insert_iterator.cc: New file.
3647
3648 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
3649
3650         * include/*:  Revert comment/license change from yesterday for all
3651         except libsupc++/unwind-cxx.h.
3652         * src/bitset.cc:  Likewise.
3653         * src/strstream.cc:  Likewise.
3654
3655 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3656
3657         * libmath/stubs.c: New file.
3658         (tanhf): Fix typo.
3659         (powf): Likewise.
3660
3661         * libmath/Makefile.am (libmath_la_SOURCES): Add.
3662         * libmath/Makefile.in.  Regenerate.
3663
3664 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
3665
3666         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
3667         * include/backward/algobase.h:  Likewise.
3668         * include/backward/alloc.h:  Likewise.
3669         * include/backward/bvector.h:  Likewise.
3670         * include/backward/defalloc.h:  Likewise.
3671         * include/backward/deque.h:  Likewise.
3672         * include/backward/function.h:  Likewise.
3673         * include/backward/hash_map.h:  Likewise.
3674         * include/backward/hash_set.h:  Likewise.
3675         * include/backward/hashtable.h:  Likewise.
3676         * include/backward/heap.h:  Likewise.
3677         * include/backward/iterator.h:  Likewise.
3678         * include/backward/list.h:  Likewise.
3679         * include/backward/map.h:  Likewise.
3680         * include/backward/multimap.h:  Likewise.
3681         * include/backward/multiset.h:  Likewise.
3682         * include/backward/pair.h:  Likewise.
3683         * include/backward/rope.h:  Likewise.
3684         * include/backward/set.h:  Likewise.
3685         * include/backward/slist.h:  Likewise.
3686         * include/backward/stack.h:  Likewise.
3687         * include/backward/strstream:  Likewise.
3688         * include/backward/tempbuf.h:  Likewise.
3689         * include/backward/tree.h:  Likewise.
3690         * include/backward/vector.h:  Likewise.
3691         * include/bits/pthread_allocimpl.h:  Likewise.
3692         * include/bits/std_algorithm.h:  Likewise.
3693         * include/bits/std_bitset.h:  Likewise.
3694         * include/bits/std_deque.h:  Likewise.
3695         * include/bits/std_functional.h:  Likewise.
3696         * include/bits/std_iterator.h:  Likewise.
3697         * include/bits/std_list.h:  Likewise.
3698         * include/bits/std_map.h:  Likewise.
3699         * include/bits/std_memory.h:  Likewise.
3700         * include/bits/std_numeric.h:  Likewise.
3701         * include/bits/std_queue.h:  Likewise.
3702         * include/bits/std_set.h:  Likewise.
3703         * include/bits/std_stack.h:  Likewise.
3704         * include/bits/std_utility.h:  Likewise.
3705         * include/bits/std_vector.h:  Likewise.
3706         * include/bits/stl_algo.h:  Likewise.
3707         * include/bits/stl_algobase.h:  Likewise.
3708         * include/bits/stl_alloc.h:  Likewise.
3709         * include/bits/stl_bvector.h:  Likewise.
3710         * include/bits/stl_construct.h:  Likewise.
3711         * include/bits/stl_deque.h:  Likewise.
3712         * include/bits/stl_function.h:  Likewise.
3713         * include/bits/stl_heap.h:  Likewise.
3714         * include/bits/stl_iterator.h:  Likewise.
3715         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3716         * include/bits/stl_iterator_base_types.h:  Likewise.
3717         * include/bits/stl_list.h:  Likewise.
3718         * include/bits/stl_map.h:  Likewise.
3719         * include/bits/stl_multimap.h:  Likewise.
3720         * include/bits/stl_multiset.h:  Likewise.
3721         * include/bits/stl_numeric.h:  Likewise.
3722         * include/bits/stl_pair.h:  Likewise.
3723         * include/bits/stl_pthread_alloc.h:  Likewise.
3724         * include/bits/stl_queue.h:  Likewise.
3725         * include/bits/stl_raw_storage_iter.h:  Likewise.
3726         * include/bits/stl_relops.h:  Likewise.
3727         * include/bits/stl_set.h:  Likewise.
3728         * include/bits/stl_stack.h:  Likewise.
3729         * include/bits/stl_tempbuf.h:  Likewise.
3730         * include/bits/stl_threads.h:  Likewise.
3731         * include/bits/stl_tree.h:  Likewise.
3732         * include/bits/stl_uninitialized.h:  Likewise.
3733         * include/bits/stl_vector.h:  Likewise.
3734         * include/bits/type_traits.h:  Likewise.
3735         * include/ext/hash_map:  Likewise.
3736         * include/ext/hash_set:  Likewise.
3737         * include/ext/rope:  Likewise.
3738         * include/ext/ropeimpl.h:  Likewise.
3739         * include/ext/slist:  Likewise.
3740         * include/ext/stl_hash_fun.h:  Likewise.
3741         * include/ext/stl_hashtable.h:  Likewise.
3742         * include/ext/stl_rope.h:  Likewise.
3743         * libsupc++/unwind-cxx.h:  Likewise.
3744         * src/bitset.cc:  Likewise.
3745         * src/strstream.cc:  Likewise.
3746
3747 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3748
3749         * include/bits/indirect_array.h (indirect_array<>::operator=):
3750         Make copy and assignment operator public.  Implement.  Format.
3751
3752         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3753         for copy between index arrays.  Format.
3754
3755 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3756
3757         * mknumeric_limits: Add static definitions, format.
3758         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3759
3760         * include/c_std/bits/std_cwchar.h: Include ctime.
3761         * testsuite/17_intro/header_cwchar.cc : Check.
3762
3763         * include/c_std/bits/std_cwctype.h: Inject wctype.
3764         * testsuite/17_intro/header_cwctype.cc: Update.
3765
3766 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3767
3768         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3769         * testsuite/20_util/raw_storage_iterator.cc: Same.
3770
3771         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3772         operator new.
3773         (__mem_interface): New typedef for switching between malloc and new.
3774         * testsuite/20_util/allocator_members.cc: New file.
3775
3776         * testsuite/20_util/comparisons.cc: New file.
3777         * testsuite/20_util/pairs.cc: New file.
3778
3779 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3780
3781         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3782
3783 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3784
3785         * configure.in (auxdir): Replace by ...
3786         (toprel): ... new variable.
3787         (toplevel_srcdir): Construct from $toprel.
3788         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3789         rather than .. to locate gcc source directory.
3790         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3791         * aclocal.m4, configure: Rebuilt.
3792
3793 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3794
3795         (Approved by Mark and Benjamin.  Applied by Loren.)
3796
3797         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3798         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3799         and _GLIBCPP_mutex_address.
3800         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3801         once-only runtime initialization of _M_lock mutex when
3802         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3803         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3804         for __GTHREAD_MUTEX_INIT_FUNCTION case.
3805
3806 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3807
3808         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3809
3810         * include/bits/slice_array.h (slice_array<>::operator=): Make
3811         public and implement.
3812         (slice_array<>::slice_array): Make copy-constructor public.
3813
3814         * include/bits/valarray_array.h (__valarray_copy): Add another
3815         overload to copy between strided arrays.
3816
3817 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3818
3819         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3820         * aclocal.m4: Regenerate.
3821         * configure: Regenerate.
3822         * include/bits/c++config (__GLIBCPP__): Update date.
3823
3824 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3825
3826         * include/bits/fpos.h (fpos::operator-): Don't return reference,
3827         return original, non-modified version.
3828         (fpos::operator+): Same.
3829         * testsuite/27_io/fpos.cc: Add test.
3830
3831 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
3832
3833         libstdc++/2071
3834         * porting.texi: Add documentation about libstdc++-v3-specific
3835         macros that are currently included in os_defines.h files.
3836
3837         * config/basic_file_stdio.h (sys_getc): New method.
3838         (sys_ungetc): New method.
3839         * include/bits/basic_file.h: (sys_getc): New method signature.
3840         (sys_ungetc): New method signature.
3841
3842         * include/bits/fstream.tcc (underflow): Add conditional code
3843         paths which avoid using short seeks on streams (especially
3844         useful when the stream might be interactive or a pipe).  At
3845         the moment, this alternate path only avoids seeking when the
3846         ``buffer size'' of underflow() is 1 since the C standard only
3847         guarantees buffer space for one ungetc (this technique could
3848         be extended since *-*-solaris* supports buffering for 4 calls
3849         to ungetc and *-*-*bsd* supports buffering limited only by
3850         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3851         in a port's os_defines.h file for this alternate path to even
3852         be considered.  As a bonus, the idiom of using getc/ungetc
3853         requires no system calls whereas fseek maps to one or two
3854         system call(s) on many platforms.
3855
3856         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3857         Define it.
3858         * config/os/solaris/solaris2.5/bits/os_defines.h
3859         (_GLIBCPP_AVOID_FSEEK): Likewise.
3860         * config/os/solaris/solaris2.6/bits/os_defines.h
3861         (_GLIBCPP_AVOID_FSEEK): Likewise.
3862         * config/os/solaris/solaris2.7/bits/os_defines.h
3863         (_GLIBCPP_AVOID_FSEEK): Likewise.
3864
3865 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3866
3867         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3868         AC_TRY_COMPILE, so that the built compiler is checked, and
3869         bootstraps or cross compiles with an older compile still work.
3870         * aclocal.m4: Regenerate.
3871         * configure: Regenerate.
3872
3873 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3874
3875         libstdc++/3142
3876         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3877
3878         libstdc++/3141
3879         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3880
3881         libstdc++/3140
3882         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3883
3884         libstdc++/3139
3885         * include/bits/limits_generic.h: Fix as per DR 184.
3886
3887 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3888
3889         libstdc++/3126
3890         * include/bits/basic_string.h (string::compare): Adjust signatures
3891         as per DR 5.
3892         * include/bits/basic_string.tcc: And here.
3893
3894         libstdc++/2346
3895         * config/c_io_stdio.h: Remove whitespace.
3896         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3897         (test02): Add regression.
3898         * testsuite/27_io/istream_seeks-3.tst: New file.
3899
3900 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3901
3902         * README:  Update to reflect reality.
3903         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3904         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3905         * aclocal.m4:  Regenerate.
3906         * configure:  Regenerate (with 2.13).
3907
3908 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3909
3910         libstdc++/3114
3911         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3912         per DR 129.
3913         * include/bits/istream.tcc (istream::seekg): Same.
3914         * testsuite/27_io/istream_seeks.cc: Fix.
3915
3916         libstdc++/3113
3917         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3918         (binder1st): Same.
3919         * include/bits/std_queue.h: Add c++config.h.
3920         * testsuite/20_util/binders.cc: New test.
3921
3922 2001-06-11  Matthias Klose  <doko@debian.org>
3923             Phil Edwards  <pme@sources.redhat.com>
3924
3925         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3926         (main script):  Echo more information.
3927
3928 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3929
3930         * include/c_std/bits/std_cwchar.h: Alphabetize.
3931         * include/bits/char_traits.h: Tweak.
3932         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3933         everything used by std_cwchar.h.
3934         * aclocal.m4: Regenerate.
3935         * configure.in: Regenerate.
3936         * config.h.in: Regenerate.
3937
3938 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3939
3940         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3941         Add checking for strtof, _Exit in stdlib.h
3942         * aclocal.m4: Regenerate.
3943         * configure.in: Regenerate.
3944         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3945         (snprintf): Put C99 functions into __gnu_cxx namespace.
3946         (vfscanf): Same.
3947         (vscanf): Same.
3948         (vsnprintf): Same.
3949         (vsscanf): Same.
3950         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3951         for C99 functions within _GLIBCPP_USE_C99 guard.
3952         (_Exit): Same.
3953         (strtof): Same.
3954         (strtold): Same.
3955         * include/bits/locale_facets.tcc: Check if C99 is enabled.
3956         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3957         C99 guard.
3958         * include/c_std/bits/cmath.tcc: Formatting tweak.
3959         * include/c_std/bits/std_cmath.h: Same.
3960
3961 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3962
3963         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3964
3965 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
3966             Stephen L Moshier  <moshier@mediaone.net>
3967
3968         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3969         nothing, as in autoconf 2.50.
3970         * configure: Rebuilt.
3971
3972 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3973
3974         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3975         include std_cstddef.
3976         * include/c_std/bits/std_ctime.h: Same.
3977         * include/c_std/bits/std_cstring.h: Same.
3978         * include/c_std/bits/std_cstdlib.h: Same.
3979
3980         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3981         * include/c_std/bits/std_cctype.h: Remove isblank.
3982
3983 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3984
3985         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3986         fgetws.
3987         * aclocal.m4: Regenerate.
3988         * configure: Regenerate.
3989         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3990         injection, guard fgetwc, fgetws.
3991         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3992         * include/c_std/bits/std_clocale.h: And here.
3993         * include/c_std/bits/std_cctype.h: And here.
3994         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3995
3996         * config/basic_file_stdio.h: Don't include unistd.h.
3997         * config/c_io_stdio.h: Don't use compatibility headers.
3998         * libsupc++/eh_terminate.cc: Qualify abort.
3999         (__terminate): And here.
4000         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
4001
4002 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
4003
4004         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
4005
4006 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
4007
4008         libstdc++/2767
4009         libstdc++/2989
4010         libstdc++/2992
4011         * include/std/*: Add copyright notice.
4012         * include/c_std/bits/*: Use using statements instead of extern "C".
4013         * include/c_std/bits/std_cmath.h: Don't overload double versions
4014         of math functions with __buitin versions, use global version to
4015         prevent ambiguities. Remove define hacks.
4016         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
4017         functions that have changed signatures and std::
4018         declarations. Remove define hacks.
4019         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
4020         __builtins in std::. Remove define hacks.
4021         * testsuite/17_intro/headers_c.cc: Add tests.
4022         * testsuite/17_intro/headers_c++.cc: Add test.
4023
4024 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
4025             John David Anglin  <dave@hiauly1.hia.nrc.ca>
4026
4027         c++/3082
4028         * libsupc++/eh_alloc.cc: Ensure that required macros are
4029         defined before including gthr.h.  Ensure that we get the
4030         version of gthr.h for which we know how to provide a
4031         configuration.
4032         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
4033         code path into line with the current EH model.  Use std, where
4034         appropriate.
4035
4036 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
4037             John David Anglin  <dave@hiauly1.hia.nrc.ca>
4038
4039         * config/threads-no.h: Remove file.
4040         * config/threads-posix.h: Remove file.
4041
4042         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
4043         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
4044         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
4045         * config.h.in: Regenerate.
4046
4047         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
4048         setup and use gthr*.h files.  In particular, make gthr.h files
4049         namespace-clean in the staging area (they don't have to be for
4050         libgcc.a).
4051         * aclocal.m4: Regenerate.
4052         * configure: Regenerate.
4053
4054         * src/Makefile.am (build_headers): Remove bits/c++threads.h
4055         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
4056         * src/Makefile.in: Regenerate.
4057
4058         * include/bits/c++config: Cleanup threading configuration macros.
4059         In particular, define __STL_GTHREADS macro which controls...
4060         * include/bits/stl_threads.h: ...a brand new gthr.h-based
4061         configuration here.
4062
4063         * config/c_io_stdio.h: Include staged gthr.h instead of local
4064         thread configuration file.  Always use __gthread_mutex_t
4065         instead of __mutext_type (or int).
4066         * include/bits/std_fstream.h: Likewise.
4067
4068         * docs/html/17_intro/howto.html: Remove placeholder comment in
4069         case this configuration patch didn't make it.  Add advice that
4070         section only applies if configured with --enable-threads.
4071         * docs/html/23_containers/howto.html: Reword to make clear
4072         that _PTHREADS is no longer required for any port to be
4073         correctly using STL with threads.  Add advice that section
4074         only applies if configured with --enable-threads.
4075
4076 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
4077
4078         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
4079
4080 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
4081
4082         libstdc++/3045
4083         * include/bits/basic_ios.tcc: Formatting tweaks.
4084         * include/bits/ios_base.h: Formatting tweaks.
4085         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
4086         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
4087         * src/globals.cc: Allocate filebufs for standard streams here.
4088         (buf_cout, buf_cin, buf_cerr): Like so.
4089         (buf_wcout, buf_wcin, buf_wcerr): And so.
4090         * testsuite/27_io/ios_init.cc: Add.
4091
4092 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4093             Benjamin Kosnik  <bkoz@redhat.com>
4094
4095         libstdc++/3017
4096         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
4097         for generic ctype virtuals.
4098         * src/locale.cc: Minor tweaks, naming consistency.
4099         * testsuite/22_locale/ctype.cc: Add test.
4100
4101 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
4102             Phil Edwards  <pme@sources.redhat.com>
4103
4104         PR libstdc++/3035 and PR libstdc++/3036
4105         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
4106         to LWG DR 181 and 265.
4107
4108 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
4109
4110         PR libstdc++/3034
4111         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
4112         equal_range):  Add const overloads as per LWG DR 214.
4113         * include/bits/stl_set.h:  Likewise.
4114
4115 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4116             Phil Edwards  <pme@sources.redhat.com>
4117
4118         PR libstdc++/3018
4119         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
4120         comparison; all positions must be < _Nb.
4121         * testsuite/23_containers/bitset_members.cc:  New file.
4122
4123 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4124
4125         PR libstdc++/3016
4126         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
4127         ctors to match the standard.
4128
4129 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
4130
4131         * include/bits/char_traits.h (move): Reverse qualification of
4132         memmove with std::.
4133         (copy): Reverse qualification of memcpy with std::.
4134
4135 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
4136
4137         * include/bits/char_traits.h (move): Qualify memmove with std::.
4138         (copy): Qualify memcpy with std::.
4139         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
4140         strncmp with std::.
4141         (test02): Likewise.
4142         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
4143
4144 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
4145
4146         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
4147         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
4148         SUN make VPATH peculiarities.
4149         * libsupc++/Makefile.in: Regenerate.
4150
4151 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
4152
4153         * src/Makefile.am (VPATH): Delimit with ":", not space.
4154         * src/Makefile.in: Regenerate.
4155
4156         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4157         make isn't found.
4158         * configure: Regenerate.
4159
4160 2001-05-31  scott snyder  <snyder@fnal.gov>
4161
4162         libstdc++/2976
4163         * include/bits/istream.tcc: Include std_ostream.h.
4164
4165 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
4166
4167         libstdc++/2997
4168         * src/bitset.cc: Qualify size_t with std::.
4169
4170 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
4171
4172         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4173         (_GLIBCPP_BUGGY_COMPLEX): Remove.
4174         * config.h.in: Regenerate.
4175         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4176         * aclocal.m4: Regenerate.
4177         * configure.in: Don't call it.
4178         * configure: Regenerate.
4179
4180         libstdc++/2970
4181         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4182         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4183         New test.
4184
4185         libstdc++/2985
4186         * include/bits/std_complex.h: Include sstream. Put definitions for
4187         complex inserters and extractors here, and remove them from...
4188         * src/complex_io.cc: ...here.
4189         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4190         parameter.
4191         (basic_ios::__numget_type): Same.
4192         * include/bits/std_istream.h: Same.
4193         * include/bits/std_ostream.h: Same.
4194         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4195         class iterator template arguments.
4196         * src/locale-inst.cc: Add explicit has_facet instantiations.
4197         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4198         (_M_get_fnumput): Remove.
4199         (_M_get_fnumget): Remove.
4200         (basic_ios::_M_check_facet): New function.
4201         (basic_ios::_M_cache_facets): New function.
4202         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4203         (basic_ios::imbue): Call _M_cache_facets.
4204         (basic_ios::init): Same.
4205         * include/bits/istream.tcc: Format, use _M_check_facet.
4206         * include/bits/ostream.tcc: Same.
4207         * include/bits/locale_facets.tcc (__output_float): Change
4208         signature, add _Traits.
4209         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4210         New test.
4211
4212 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
4213
4214         * include/bits/c++config (__USE_MALLOC): Do not define it.
4215         Document why not and give pointers to more information.
4216
4217         * docs/html/23_containers/howto.html: Update documentation
4218         to reflect recent understanding of problem.
4219         * docs/html/17_intro/howto.html: Likewise.
4220
4221 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
4222
4223         * docs/doxygen/user.cfg.in:  Minor addition.
4224         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
4225         stuff first.
4226         * docs/html/install.html:  Update for 3.0.  HTML fixups.
4227         * docs/html/17_intro/howto.html:  Likewise.
4228         * docs/html/18_support/howto.html:  Likewise.
4229         * docs/html/19_diagnostics/howto.html:  Likewise.
4230         * docs/html/20_util/howto.html:  Likewise.
4231         * docs/html/23_containers/howto.html:  Likewise.
4232         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
4233         * docs/html/25_algorithms/howto.html:  Likewise.
4234         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
4235         * docs/html/27_io/howto.html:  Likewise.
4236         * docs/html/ext/howto.html:  Likewise.
4237         * docs/html/faq/index.html:  Likewise.
4238         * docs/html/faq/index.txt:  Regenerate.
4239         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
4240         Doxygen-created documentation.
4241
4242 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4243
4244         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4245         get_multilibs to find gcc.
4246
4247 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
4248
4249         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
4250         * aclocal.m4:  Regenerate.
4251         * configure:  Regenerate.
4252
4253 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4254
4255         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4256         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4257
4258 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4259
4260         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4261         * include/c_std/bits/std_cstdlib.h: Same.
4262         * include/c_std/bits/std_cwchar.h: Same.
4263
4264 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
4265
4266         * docs/html/17_intro/howto.html: Update link.
4267         * docs/html/23_containers/howto.html: Likewise.  Add new link.
4268
4269 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
4270
4271         * include/c_std/bits/std_cmath.h (sqrt): #undef.
4272
4273 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4274
4275         * mknumeric_limits: Stop if gen-num-limits dies.
4276
4277 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
4278
4279         other/2931
4280         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4281         * aclocal.m4: Regenerate.
4282         * configure: Same.
4283
4284 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4285             Phil Edwards  <pme@sources.redhat.com>
4286             Alexandre Oliva  <aoliva@redhat.com>
4287
4288         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4289         in an amd-safe manner. Revert glibcpp_prefixdir.
4290
4291 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
4292
4293         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
4294         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
4295         variants.
4296
4297 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4298
4299         libstdc++/2830
4300         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4301         * include/bits/ostream.tcc: Format to match istream.tcc.
4302         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4303
4304 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
4305
4306         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
4307         malloc with std:: .
4308         (__cxa_free_exception):  Likewise with free.
4309
4310 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
4311
4312         * include/c_std/bin/std_cstring.h: #define away all global
4313         functions we will redeclare in namespace `std'.
4314         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4315         std::memset, instead of memset.
4316         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4317         not plain `strcmp'.
4318         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4319         plain `strcpy'.
4320
4321 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4322
4323         libstdc++/2832
4324         * include/bits/basic_ios.tcc: Small tweak.
4325         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4326         ctors and dtors, and rdbuf settings.
4327         (ofstream): Same.
4328         (fstream): Same.
4329         * include/bits/std_sstream.h: Same, but for stringstream classes.
4330         * testsuite/27_io/ostringstream_members.cc: New.
4331         * testsuite/27_io/stringstream_members.cc: New.
4332         * testsuite/27_io/fstream_members.cc: New.
4333         * testsuite/27_io/ifstream_members.cc: Add test.
4334         * testsuite/27_io/istringstream_members.cc: Add test.
4335         * testsuite/27_io/ofstream_members.cc: Add test.
4336
4337 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4338
4339         * include/bits/c++config(__NO_MATH_INLINES): Move to...
4340         * config/os/gnu-linux/bits/os_defines.h: ...here.
4341
4342 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
4343
4344         * include/bits/c++config (__NO_MATH_INLINES): New macro.
4345         * testsuite/26_numerics/fabs_inline.cc (main): New test.
4346
4347 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
4348
4349         libstdc++/2841
4350         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4351         ld_library_path.
4352         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4353         (libstdc++-v3-finish): Remove.
4354         (libstdc++-v3_exit): Remove.
4355
4356 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
4357
4358         * docs/html/documentation.html:  Point to doxygen output.
4359
4360 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
4361
4362         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4363
4364         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4365         arguments to be non-null.
4366         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4367         try allocations if allocated size is greater than zero.
4368         (filebuf::_M_filebuf_init): Change to
4369         (filebuf::_M_allocate_file): Which is what it does now.
4370         (filebuf::_M_allocate_bufers): Change to
4371         (filebuf::_M_allocate_internal_buffer): This, and create
4372         (filebuf::_M_allocate_pback_buffer): New.
4373         (filebuf::_M_destroy_internal_buffer): New.
4374         (filebuf::_M_buf_allocated): New data member.
4375         (filebuf::setbuf): Use new logic, allow use of external buffer.
4376         * testsuite/27_io/stringbuf_virtuals.cc: New file.
4377         * testsuite/27_io/filebuf_virtuals.cc: New file.
4378
4379 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
4380
4381         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4382         __glibcpp_memchr.
4383         (strchr): Same, but to __glibcpp_strchr.
4384         (strpbrk): Same.
4385         (strrchr): Same.
4386         (strstr): Same.
4387         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4388         (wcsbrk): Same.
4389         (wcsrchr): Same.
4390         (wcsstr): Same.
4391         (wmemchr): Same.
4392
4393 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
4394
4395         * testsuite/21_strings/c_strings.cc (main): Fix.
4396
4397 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
4398
4399         * acinclude.m4:  Fix --help spacing, correct comments.
4400         * aclocal.m4:  Regenerate.
4401         * configure:  Regenerate.
4402         * mkcheck.in:  Add usage comments.
4403         * docs/html/documentation.html:  Point to doxygen'd tarball.
4404
4405 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
4406
4407         * testsuite/README: Add notes.
4408
4409         * src/Makefile.am (libstdc++.INC): Remove.
4410         * src/Makefile.in: Regenerate.
4411
4412         Phil Edwards <pedwards@disaster.jaj.com>
4413         * mkcheck.in: Add missing '#'.
4414
4415 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4416
4417         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4418         appropriately for remote testing and testing installed files without
4419         a build dir.
4420
4421 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
4422
4423         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4424         amd glibcpp_prefixdir with absolute paths.
4425
4426         * include/bits/c++config (__GLIBCPP__): Bump.
4427         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4428
4429 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
4430
4431         * include/bits/std_valarray.h (valarray<>::operator[] const):
4432         Return a const reference.
4433         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4434
4435 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
4436
4437         * configure.target (ATOMICITYH): Actually use AIX-specific code on
4438         earlier versions of AIX 4.*.
4439
4440 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4441
4442         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
4443         output_file based on the name of the testcase.
4444
4445 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4446
4447         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
4448         gluefile and use it if needs_status_wrapper is set.
4449
4450 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
4451
4452         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4453         versions of AIX.
4454
4455 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
4456
4457         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4458         on earlier versions of AIX.
4459
4460 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
4461
4462         * testsuite_flags.in (query): Add backwards, ext directories.
4463
4464 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
4465
4466         * porting.texi: Correct documentation about handling
4467         _LARRGEFILE_SOURCE and its ilk.
4468         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4469         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4470         __EXTENSIONS__.
4471         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4472         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4473
4474 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
4475
4476         * testsuite/21_strings/inserters_extractors.cc,
4477         testsuite/27_io/istream_unformatted.cc,
4478         testsuite/27_io/stringstream.cc:
4479         Replace multi-line string constants with C89-style
4480         concatenated string constants.
4481
4482 2001-05-14  Richard Henderson  <rth@redhat.com>
4483
4484         * mknumeric_limits: Build with -fno-exceptions.
4485
4486 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
4487
4488         Switch over to new harness.
4489         * testsuite_flags.in: Tweaks via Gaby.
4490         * testsuite/Makefile.am: Change tool to libstdc++-v3.
4491         (EXPECT): Quote directly.
4492         (RUNTEST): Same.
4493         * configure.in: Output testsuite_flags.
4494         * acinclude.m4: Substitute src, bld, and prefix dirs.
4495         Remove glibcpp_expect, glibcpp_runtestflags.
4496         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4497         * mkcheck.in: Port to new interface.
4498
4499         * aclocal.m4: Regerate.
4500         * configure: Regnerate.
4501         * Makefile.in: Regnerate.
4502         * */Makefile.in: Regenerate.
4503
4504         * tests_flags.in: Remove.
4505         * testsuite/lib/libstdc++.exp: Remove.
4506         * testsuite/libstdc++.tests/tests.exp: Remove.
4507
4508 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
4509
4510         * configure.target: Remove detection of AIX pthread multilib, now
4511         obtained from `gcc -v'.
4512
4513 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4514
4515         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4516         size.  Add hpux case for HP size.
4517
4518 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4519
4520         * testsuite_flags.in: New, simplified interface.
4521         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4522         * testsuite/libstdc++-v3.dg: Add.
4523         * testsuite/libstdc++-v3.dg/dg.exp: Add.
4524
4525 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4526
4527         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4528         * testsuite/config/default.exp: Update bugs email address.
4529
4530 2001-05-11  Richard Henderson  <rth@redhat.com>
4531
4532         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
4533         all pointer encoding logic.
4534         (struct lsda_header_info): Add ttype_base.
4535         (get_ttype_entry): Use it instead of a context.
4536         (check_exception_spec): Likewise.
4537         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
4538         the c++ exception header for __cxa_call_unexpected.
4539         (__cxa_call_unexpected): Use it.
4540
4541 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
4542
4543         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4544         libgloss_link_flags to find crt0.o for targets that use libgloss
4545         instead of newlib.
4546         Change LDFLAGS to LIBS.
4547         Consistently name procedures libstdc++-XXX.
4548         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4549
4550 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4551
4552         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4553         (strchr): Same.
4554         (strpbrk): Same.
4555         (strrchr): Same.
4556         (strstr): Same.
4557         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4558         (wcsbrk): Same.
4559         (wcsrchr): Same.
4560         (wcsstr): Same.
4561         (wmemchr): Same.
4562         * testsuite/21_strings/c_strings.cc: Add tests.
4563
4564 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
4565
4566         libstdc++/2523
4567         * include/bits/std_fstream.h (basic_filebuf): Change signature.
4568         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4569         to int_type, pass in buffer size info.
4570         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4571         unbuffered situation.
4572         (underflow): Remove codecvt bits for the time being.
4573         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4574         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4575         values from iterators, clean.
4576         * src/locale.cc: Ditto.
4577         * include/bits/sbuf_iter.h: Format.
4578         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4579         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4580         * testsuite/27_io/filebuf.cc: Tweaks.
4581         * testsuite/27_io/filebuf_members.cc: Tweaks.
4582
4583 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
4584
4585         * config/os/solaris/solaris2.7/bits/os_defines.h
4586         (_LARGEFILE_SOURCE): Define it.
4587
4588 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
4589
4590         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4591         -prefer-non-pic depending on whether libtool has shared libraries
4592         enabled or disabled.
4593         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4594         $(LIBSUPCXX_PICFLAGS).
4595         * configure, */Makefile.in: Rebuilt.
4596
4597 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
4598
4599         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4600         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4601
4602         * include/bits/std_sstream.h (stringbuf): Leak
4603         copied string.
4604         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4605
4606 2001-05-01  Tom Browder  <tbrowder@home.com>
4607
4608         * docs/html/ext/howto.html:  Fix typo.
4609
4610 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4611
4612         * testsuite/libstdc++.tests/tests.exp: Add comment.
4613
4614 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4615
4616         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4617
4618 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
4619
4620         * porting.texi: Use the GFDL.
4621
4622 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4623
4624         libstdc++/2627
4625         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4626         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4627         specializations.
4628
4629 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4630
4631         libstdc++/2964
4632         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4633
4634 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
4635
4636         * docs/doxygen/run_doxygen:  Minor tweaks.
4637         * docs/doxygen/style.css:  New file.
4638         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
4639         latest parameters available.  Use style.css.
4640
4641 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
4642
4643         * docs/doxygen/mainpage.doxy: New.
4644         * docs/doxygen/user.cfg.in: Change default configuration. Single
4645         frame, other tweaks.
4646
4647 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
4648
4649         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4650         Indicate obsolete nature of thelist for G++ 3.0.
4651
4652 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
4653
4654         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4655         target_thread_file with `gcc -v'.
4656         * aclocal.m4, configure: Rebuilt.
4657
4658 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4659
4660         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4661         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4662         * include/c_std/bits/std_cwchar.h (std): Same.
4663         * acconfig.h (std): Remove c99 injection into std.
4664         * config.h.in: Regenerate.
4665
4666         * testsuite/README: Fix typo.
4667
4668         * include/bits/codecvt.h: Remove warnings.
4669
4670 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4671
4672         * include/ext/slist: Include required header files.
4673
4674 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
4675
4676         * include/c_std/bits/std_cerrno.h (errno): Define macro from
4677         identifier declared with external linkage, if needed.
4678         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4679         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4680
4681 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4682
4683         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4684         re-configures find the build compiler.
4685         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4686         libstdc++/2609.
4687         * aclocal.m4: Regenerate.
4688         * configure: Regenerate.
4689
4690 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
4691
4692         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4693         support is enabled correctly before long long is activated.
4694         * aclocal.m4: Regenerate.
4695         * configure: Regenerate.
4696
4697         * include/backward/backward_warning.h: Format correctly.
4698
4699         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4700         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4701         * testsuite/26_numerics/c99_macros.cc: Remove.
4702
4703 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
4704
4705         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
4706         __iterator_category.
4707
4708 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
4709
4710         * acconfig.h (_GLIBCPP_USE_C99): Add.
4711         * config.h.in: Regenerate.
4712         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4713         9899: 1999 support.
4714         * aclocal.m4: Regenerate.
4715         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4716         * configure: Regenerate.
4717         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4718         * configure: Regenerate.
4719         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4720         into c99.
4721         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4722         namespace.
4723         * include/c_std/bits/std_cstdlib.h: Same.
4724         * docs/html/configopts.html: Update.
4725         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4726         math.h
4727         (test_c99_classify): Add.
4728         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4729         (_ISOC99_SOURCE): Remove.
4730
4731         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4732         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4733         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4734         * aclocal.m4: Regenerate.
4735         * configure: Regenerate.
4736
4737 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
4738
4739         * Makefile.am (doxygen):  Assume script is missing execute perms.
4740         * Makefile.in:  Regenerated.
4741         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
4742
4743 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
4744
4745         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4746
4747 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4748
4749         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4750         * testsuite/23_containers/set_operators.cc: Same.
4751
4752         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4753         default.
4754         (__GLIBCPP__): Bump from value of last release.
4755         * include/bits/concept_check.h: Default to off, edit comments.
4756         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4757         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4758         * src/Makefile.in: Regenerate.
4759
4760 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
4761
4762         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4763         Properly uglify member.
4764
4765 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4766
4767         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
4768         of EqualityCo
4769         mparableConcept.
4770
4771 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4772
4773         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
4774         * include/bits/concept_check.h:  Uglify.
4775         * include/bits/stl_algo.h:  Likewise.
4776         * include/bits/stl_algobase.h:  Likewise.
4777         * include/bits/stl_deque.h:  Likewise.
4778         * include/bits/stl_heap.h:  Likewise.
4779         * include/bits/stl_iterator_base_funcs.h:  Likewise.
4780         * include/bits/stl_list.h:  Likewise.
4781         * include/bits/stl_map.h:  Likewise.
4782         * include/bits/stl_multimap.h:  Likewise.
4783         * include/bits/stl_multiset.h:  Likewise.
4784         * include/bits/stl_numeric.h:  Likewise.
4785         * include/bits/stl_queue.h:  Likewise.
4786         * include/bits/stl_set.h:  Likewise.
4787         * include/bits/stl_stack.h:  Likewise.
4788         * include/bits/stl_vector.h:  Likewise.
4789         * include/ext/hash_map:  Likewise.
4790         * include/ext/hash_set:  Likewise.
4791         * include/ext/slist:  Likewise.
4792
4793 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
4794
4795         * testsuite/23_containers/set_operators.cc: Just try to compile.
4796         Mark as XFAIL.
4797         * testsuite/23_containers/map_operators.cc: Same.
4798
4799 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
4800
4801         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4802         output_file.
4803         (dg-test): Revert rth's change.
4804
4805 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
4806
4807         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4808         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4809
4810 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
4811
4812         * testsuite/README: Add DejaGnu specific documentation.
4813
4814 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
4815
4816         * acinclude.m4: AC_CHECK_TOOL for expect.
4817         * aclocal.m4: Regenerate.
4818         * configure: Regenerate.
4819         * testsuite/Makefile.am (RUNTEST): Use substituted.
4820         (EXPECT): Same.
4821
4822         * configure.in: Remove xcompiling substitution.
4823         * tests_flags.in (CROSS_LIB_PATH): Remove.
4824         (xcompiling): Remove.
4825         (CXX): Use substituted CXX.
4826
4827 2001-04-11  Richard Henderson  <rth@redhat.com>
4828
4829         * testsuite/lib/libstdc++.exp: Specify path for output_file.
4830
4831 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
4832
4833         * include/bits/std_valarray.h(valarray<>::operator[]): Make
4834         inline.
4835
4836 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4837
4838         * testsuite/25_algorithms/equal.cc: New test.
4839
4840 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
4841
4842         * stl_algobase.h (std::equal): avoid use of possibly-undefined
4843         operator != (one line patch).
4844
4845 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
4846
4847         * include/backward/backward_warning.h: Re-enable.
4848
4849 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4850             Alexandre Oliva  <aoliva@redhat.com>
4851
4852         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4853
4854 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4855
4856         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4857         * testsuite/26_numerics/c99_macros.cc: Add test.
4858
4859 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
4860
4861         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
4862         * docs/html/faq/index.txt:  Regenerated.
4863
4864 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4865
4866         * include/backward/backward_warning.h: Temporarily disable until
4867         g++ testsuite changes go in.
4868         * tests_flags.in (CROSS_LIB_PATH): Add.
4869
4870 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4871
4872         Warn when using backward headers.
4873         * include/backward/algo.h: Include warning file.
4874         * include/backward/vector.h: Same.
4875         * include/backward/tree.h: Same.
4876         * include/backward/tempbuf.h: Same.
4877         * include/backward/strstream: Same.
4878         * include/backward/streambuf.h: Same.
4879         * include/backward/stream.h: Same.
4880         * include/backward/stack.h: Same.
4881         * include/backward/slist.h: Same.
4882         * include/backward/set.h: Same.
4883         * include/backward/rope.h:
4884         * include/backward/queue.h: Same.
4885         * include/backward/pair.h: Same.
4886         * include/backward/ostream.h: Same.
4887         * include/backward/new.h: Same.
4888         * include/backward/multiset.h: Same.
4889         * include/backward/multimap.h: Same.
4890         * include/backward/map.h: Same.
4891         * include/backward/list.h: Same.
4892         * include/backward/iterator.h: Same.
4893         * include/backward/istream.h: Same.
4894         * include/backward/iostream.h:
4895         * include/backward/iomanip.h:
4896         * include/backward/heap.h: Same.
4897         * include/backward/hashtable.h:
4898         * include/backward/hash_set.h:
4899         * include/backward/hash_map.h:
4900         * include/backward/function.h:
4901         * include/backward/fstream.h:
4902         * include/backward/deque.h:
4903         * include/backward/defalloc.h: Same.
4904         * include/backward/complex.h: Same.
4905         * include/backward/bvector.h:
4906         * include/backward/alloc.h:
4907         * include/backward/algobase.h: Same.
4908
4909         * include/backward/backward_warning.h: New file.
4910         * src/Makefile.am (backward_headers): Add backward_warning.h
4911         * src/Makefile.in: Regenerate.
4912
4913 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4914
4915         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4916         created.
4917         (myinstallheaders): Install backward headers in backward directory.
4918         * src/Makefile.in: Regenerate.
4919
4920 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4921
4922         Prepare for libstdc++-2.92.
4923         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4924         * docs/html/configopts.html: Fix formatting.
4925         * README (file): Updates.
4926         * include/bits/c++config (__GLIBCPP__): Update.
4927
4928 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4929
4930         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4931
4932 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4933
4934         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4935         reduce confusing documentation output.
4936
4937 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
4938
4939         * include/backward/fstream.h: Add missing semicolons.
4940
4941 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4942
4943         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4944         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4945         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4946         (ios_base::Init::_S_ios_create): New.
4947         (ios_base::Init::_S_ios_destroy): New.
4948         * include/bits/std_fstream.h: Change ctor args.
4949         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4950         (ios_base::Init::~Init): Use _S_ios_destroy.
4951         (ios_base::sync_with_stdio): Use new members.
4952         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4953         filebuf ctor.
4954
4955 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4956
4957         * include/backward/fstream.h:  Expose streampos to global
4958         namespace.
4959
4960 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4961
4962         * include/bits/stl_iterator_base_types.h: Fix typo
4963
4964 2001-04-03  Andreas Schwab  <schwab@suse.de>
4965
4966         * include/backward/fstream.h: Define filebuf and wfilebuf.
4967
4968 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
4969
4970         New concept checking implementation.
4971         * docs/html/19_diagnostics/howto.html:  Document.
4972         * docs/html/17_intro/concept_check.diff:  New file, for reference.
4973         * include/bits/boost_concept_check.h:  New file from Boost.
4974         * include/bits/c++config:  Update comments.
4975
4976         * include/bits/concept_check.h:  New file.
4977         * include/bits/concept_checks.h:  Removed.
4978         * include/bits/container_concepts.h:  Removed.
4979         * include/bits/sequence_concepts.h:  Removed.
4980         * include/bits/stl_iterator_base.h:  Removed; split into...
4981         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
4982         * include/bits/stl_iterator_base_types.h:  ...and this new file.
4983
4984         * include/bits/sbuf_iter.h:  Update to use new implementation.
4985         * include/bits/std_iterator.h:  Likewise.
4986         * include/bits/std_memory.h:  Likewise.
4987         * include/bits/stl_algo.h:  Likewise.
4988         * include/bits/stl_algobase.h:  Likewise.
4989         * include/bits/stl_construct.h:  Likewise.
4990         * include/bits/stl_deque.h:  Likewise.
4991         * include/bits/stl_heap.h:  Likewise.
4992         * include/bits/stl_list.h:  Likewise.
4993         * include/bits/stl_map.h:  Likewise.
4994         * include/bits/stl_multimap.h:  Likewise.
4995         * include/bits/stl_multiset.h:  Likewise.
4996         * include/bits/stl_numeric.h:  Likewise.
4997         * include/bits/stl_queue.h:  Likewise.
4998         * include/bits/stl_set.h:  Likewise.
4999         * include/bits/stl_stack.h:  Likewise.
5000         * include/bits/stl_uninitialized.h:  Likewise.
5001         * include/bits/stl_vector.h:  Likewise.
5002         * include/ext/hash_map:  Likewise.
5003         * include/ext/hash_set:  Likewise.
5004         * include/ext/slist:  Likewise.
5005         * include/ext/stl_hashtable.h:  Likewise.
5006
5007         * src/Makefile.am (base_headers):  Update list of headers.
5008         * Makefile.in:  Regenerated.
5009         * src/Makefile.in:  Regenerated.
5010         * libio/Makefile.in:  Regenerated.
5011         * libmath/Makefile.in:  Regenerated.
5012         * libsupc++/Makefile.in:  Regenerated.
5013         * testsuite/Makefile.in:  Regenerated.
5014
5015         * docs/html/install.html:  Update contact information.
5016         * docs/html/17_intro/howto.html:  Ditto.
5017         * docs/html/18_support/howto.html:  Ditto.
5018         * docs/html/20_util/howto.html:  Ditto.
5019         * docs/html/21_strings/howto.html:  Ditto.
5020         * docs/html/22_locale/howto.html:  Ditto.
5021         * docs/html/23_containers/howto.html:  Ditto.
5022         * docs/html/24_iterators/howto.html:  Ditto.
5023         * docs/html/25_algorithms/howto.html:  Ditto.
5024         * docs/html/26_numerics/howto.html:  Ditto.
5025         * docs/html/27_io/howto.html:  Ditto.
5026         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
5027         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
5028         * docs/html/faq/index.txt:  Regenerated.
5029
5030 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
5031
5032         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
5033         messages with $which_library as well as $tool_flags and
5034         ${dg-extra-tool-flags}.  Factor out annotation text into
5035         a single variable.
5036
5037 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
5038
5039         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
5040         * include/c_std/bits/std_cwchar.h: Same.
5041         * testsuite/21_strings/c_strings.cc: Add.
5042
5043 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
5044
5045         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
5046
5047 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
5048
5049         * tests_flags.in: Use test a = b, not test a == b which is not
5050         portable.
5051
5052 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
5053
5054         * configure.target: Remove duplicate aix entry.
5055
5056 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
5057
5058         * include/ext/stl_bvector.h: Move to...
5059         * include/bits/stl_vector.h: ...here.
5060         * include/ext/bvector: Move to...
5061         * include/backward/bvector.h: ...here.
5062         * include/bits/std_vector.h: Change stl_bvector include.
5063         * include/bits/std_queue.h: Remove bvector include.
5064         * include/ext/tree: Insert using rb_tree, move to...
5065         * include/backward/tree.h: ...here.
5066         * include/backward/hash_map.h: Include ext/hash_map.
5067         * include/backward/hash_set.h: Include ext/hash_set.
5068         * include/backward/queue.h: New file.
5069         * include/backward/stack.h: Edit.
5070         * include/backward/algo.h: Same.
5071         * include/backward/algobase.h: Same.
5072         * include/backward/alloc.h: Same.
5073         * include/backward/function.h: Same.
5074         * include/backward/iomanip.h: Same.
5075         * include/backward/istream.h: Same.
5076         * include/backward/iterator.h: Same.
5077         * include/backward/list.h: Same.
5078         * include/backward/map.h: Same.
5079         * include/backward/multimap.h: Same.
5080         * include/backward/multiset.h: Same.
5081         * include/backward/ostream.h: Same.
5082         * include/backward/pair.h: Same
5083         * include/backward/rope.h: Same.
5084         * include/backward/set.h: Same.
5085         * include/backward/stream.h: Same.
5086         * include/backward/strstream.h: Same.
5087         * include/backward/tempbuf.h: Same.
5088         * src/Makefile.am (ext_headers): Edit.
5089         * src/Makefile.in: Regenerate.
5090         * testsuite/ext/headers.cc (main): Fix.
5091         * mkcheck.in: Fix.
5092
5093 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
5094
5095         * tests_flags.in (LIBS):  Pass correct path for installed testing.
5096
5097 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
5098
5099         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
5100         * tests_flags.in (CXX): Construct here.
5101         (static_fail): Don't remove compile.out. Format with spaces.
5102         (INCLUDES): Deal with xcompiling.
5103         * configure.in (xcompiling): Substitute.
5104         * testsuite/Makefile.am: Snake libjava configury.
5105         * testsuite/Makefile.in: Regenerate.
5106         * testsuite/23_containers/map_operators.cc: Tweaks.
5107         * testsuite/23_containers/set_operators.cc: Tweaks.
5108
5109 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5110
5111         Enable dejagnu testing framework.
5112         * configure.in: Generate testsuite/Makefile.
5113         * configure: Regenerate.
5114         * Makefile.am (check-install): Change rule from this...
5115         (check-script-install): ...to this.
5116         (check): Change rule from this...
5117         (check-script):...to this.
5118         * Makefile.in: Regenerate.
5119
5120 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
5121
5122         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
5123         --tag CXX.
5124         (LIBTOOL): Let automake take care of its definition.
5125         * libsupc++/Makefile.in: Rebuilt.
5126
5127 2001-03-28  Richard Henderson  <rth@redhat.com>
5128
5129         IA-64 ABI Exception Handling:
5130         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
5131         * configure.in: Use it.
5132         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
5133         * libsupc++/Makefile.am (sources): Update files list.
5134         * libsupc++/Makefile.in: Regenerate.
5135         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
5136         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
5137         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
5138         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
5139         * libsupc++/exception_support.cc: Remove.
5140         * libsupc++/exception_support.h: Remove.
5141         * libsupc++/pure.cc: Use std::terminate.
5142         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
5143         (__is_pointer): Remove.
5144         * libsupc++/unwind-cxx.h: New file.
5145         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
5146
5147 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
5148
5149         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5150         CXX tag explicitly.
5151         * src/Makefile.am (CXXLINK): Likewise.
5152         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5153
5154 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
5155
5156         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5157
5158 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5159
5160         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5161           and libc
5162
5163 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
5164
5165         * include/bits/basic_file.h (get_fileno): Remove.
5166         (_M_fileno): Remove.
5167         (_M_cfile_created): Add.
5168         (basic_file::basic_file(__c_file_type*, openmode): Add.
5169         (basic_file::basic_file(int, const char*, openmode): Remove.
5170         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5171         const char*, ios_base::openmode): Don't allocate
5172         internal buffers. Turn off internal buffers.
5173         (basic_filebuf::overflow): Remove test for null buffer.
5174         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5175         * include/bits/streambuf.cc: Tweak.
5176         * include/bits/std_ostream.h: Tweak.
5177         * config/basic_file_libio.h: Same.
5178         * config/basic_file_stdio.h: Same.
5179         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5180         * testsuite/27_io/filebuf_members.cc: Tweaks.
5181         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5182
5183 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5184
5185         * Makefile.am:  New targets, doxygen and doxygen-maint.
5186         * Makefile.in:  Regenerated.
5187         * docs/doxygen/run_doxygen:  Finally implemented.
5188         * docs/doxygen/maint.cfg.in:  New file.
5189         * docs/doxygen/user.cfg.in:  New file.
5190
5191 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5192
5193         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
5194         * src/Makefile.am:  Replace leading spaces with tabs on continuation
5195         lines.
5196         * aclocal.m4:  Regenerated.
5197         * configure:  Ditto.
5198         * Makefile.in:  Ditto.
5199         * src/Makefile.in:  Ditto.
5200         * libio/Makefile.in:  Ditto.
5201         * libmath/Makefile.in:  Ditto.
5202         * libsupc++/Makefile.in:  Ditto.
5203
5204 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5205
5206         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
5207         concept-checking code and current status of same.
5208         * docs/html/ext/howto.html:  Ditto.
5209         * docs/html/faq/index.html:  Ditto.
5210         * docs/html/faq/index.txt:  Regenerated.
5211
5212 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5213
5214         * include/bits/std_bitset.h:  Include ostream and istream headers
5215         instead of iostream.
5216
5217 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
5218
5219         * include/bits/ostream.tcc: Use __builtin_alloca.
5220
5221 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
5222
5223         * src/misc-inst.cc (__sink_unused_warning): Move to...
5224         * src/locale-inst.cc (__sink_unused_warning): Move to...
5225         * src/stl-inst.cc: Here.
5226         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5227         commented it out.
5228
5229 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
5230
5231         * intclude/bits/basic_file.h: Fix typos in comments.
5232
5233 2001-03-20  Richard Henderson  <rth@redhat.com>
5234
5235         * src/gen-num-limits.cc: Instantiate for wchar_t.
5236         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5237
5238 2001-03-20  Jason Merrill  <jason@redhat.com>
5239
5240         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5241         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5242         * libsupc++/cxxabi.h: Declare it.
5243
5244 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5245
5246         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5247         signal_func with an unspecified argument list.
5248
5249 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
5250
5251         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5252
5253 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5254
5255         * include/bits/basic_string.tcc (operator+): Fix thinko.
5256
5257 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
5258
5259         libstdc++/2020
5260         * include/bits/std_streambuf.h: Remove cached locale facets.
5261         (basic_streambuf::_M_buf_fctype): Remove.
5262         (basic_streambuf::~basic_streambuf): Remove here.
5263         (basic_streambuf::basic_streambuf): Same.
5264         (basic_streambuf::imbue): Same.
5265         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5266         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5267         (basic_filebuf::~basic_filebuf()): Remove here.
5268         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5269         (basic_filebuf::imbue): Same.
5270         * include/bits/localefwd.h (_Count_ones): Remove.
5271         (locale::_S_num_categories): Just use 6, since this doesn't
5272         actually change, ever.
5273         * include/bits/locale_facets.tcc (has_facet): Simplify.
5274         (use_facet): Same.
5275         * testsuite/27_io/filebuf.cc (test06): Add tests.
5276
5277 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
5278
5279         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5280         match HP-UX ctype.h header file.
5281
5282 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
5283
5284         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5285         duplicate definitions of __dj_ctype_*
5286
5287 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
5288
5289         * libsupc++/new: Remove pragma interface.
5290         * libsupc++/typeinfo: Same.
5291         * libsupc++/exception: Same.
5292         * libsupc++/new_handler.cc: Remove pragma implementation.
5293         (bad_alloc::~bad_alloc()): Add.
5294         * libsupc++/exception_support.cc: Same.
5295         (exception::~exception): Add.
5296         (bad_exception::~bad_exception): Add.
5297         * libsupc++/tinfo.cc: Same.
5298         (bad_cast::~bad_cast): Add.
5299         (bad_typeid::~bad_typeid): Add.
5300
5301 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
5302
5303         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
5304
5305 2001-03-12  Felix Lee  <flee@redhat.com>
5306
5307         * mkcheck.in: workaround for bash 2.01 IFS bug.
5308
5309 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5310
5311         Fixups for -fno-for-scope
5312         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5313         * src/valarray-inst.cc (__gslice_to_index): Same.
5314
5315 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
5316
5317         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5318         prior to trapping signal (UnixWare 7 workaround).
5319
5320 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
5321
5322         * include/backward/hashtable.h: Same.
5323         * include/backward/rope.h: Fix include.
5324
5325 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5326
5327         * include/backward/vector.h: Include std_vector.h.
5328
5329         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5330         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5331         Fix typo.
5332
5333 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5334
5335         * include/ext/stl_hashtable.h: Change type of __n to size_t
5336         * include/backward/bvector.h: Include <ext/stl_bvector.h>
5337
5338 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5339
5340         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5341         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5342         Use streamsize, not int_type.
5343
5344 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
5345
5346         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5347         moment.
5348
5349 2001-03-08  Andreas Schwab  <schwab@suse.de>
5350
5351         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5352         command.
5353         * aclocal.m4, configure: Regenerated.
5354
5355 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
5356
5357         * include/bits/std_iosfwd.h: Remove string forward decls here.
5358         * include/bits/stringfwd.h: Add forward decls for char_traits
5359         specializations.
5360         * config/c_io_libio.h (wstreamoff): Delete.
5361         * config/c_io_stdio.h (wstreamoff): Same.
5362         * include/bits/char_traits.h: Use streamoff not wstreamoff for
5363         char_traits<wchar_t>::off_type.
5364         Remove duplicate typedefs.
5365         * include/bits/fpos.h: Define streampos/wstreampos here.
5366         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5367         values to off_type.
5368         (test05): Same.
5369         Changeup output files.
5370         * testsuite/27_io/istream_unformatted.cc: Change output files.
5371         * testsuite/27_io/istream_seeks-1.txt: Add.
5372         * testsuite/27_io/istream_seeks-2.tst: Add.
5373         * testsuite/27_io/istream_seeks-1.tst: Add.
5374         * testsuite/27_io/istream_unformatted-2.tst: Delete.
5375         * testsuite/27_io/istream_unformatted-3.tst: Delete.
5376         * testsuite/27_io/istream_unformatted-3.txt: Delete.
5377
5378 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
5379
5380         Add Irix 5.2, 6.3 support.
5381         * config/os/irix/bits: Renamed to...
5382         * config/os/irix/irix6.5/bits: this.
5383         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5384         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5385         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5386         * config/os/irix/irix5.2/bits/ctype_noninline.h
5387         (ctype<char>::ctype): Initialize _M_table with __ctype.
5388         * configure.target: Adjust.
5389
5390 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
5391
5392         libstdc++/2181
5393         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5394         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5395         sentry.
5396         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5397         (*__pf)(__ios_type&)): Same.
5398         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5399         (*__pf)(ios_base&))): Same.
5400         * testsuite/27_io/istream_extractor_other.cc: Add tests.
5401         * testsuite/27_io/istream_manip.cc (test01): Fix.
5402
5403 2001-03-06  Nathan Myers  <ncm@cantrip.org>
5404             Benjamin Kosnik  <bkoz@redhat.com>
5405
5406         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5407         * testsuite/17_intro/header_cerrno.cc (test01): New file.
5408         * testsuite/17_intro/header_cassert.cc (test01): New file.
5409         * testsuite/17_intro/header_cstddef.cc (test01): New file.
5410         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5411         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5412
5413 2001-03-05  scott snyder  <snyder@fnal.gov>
5414
5415         libstdc++/2190
5416         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5417         from here...
5418         * include/c_std/bits/std_cstdlib.h: ... to here.
5419         * testsuite/17_intro/header_cstdlib.cc: Add test.
5420
5421 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
5422
5423         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5424
5425 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
5426
5427         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5428         definition. Replace enum with static const variables.
5429
5430         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5431         throw specification, fix typos, use <static_cast>.
5432         (ctype<char>::scan_is): remove throw specification.
5433         (ctype<char>::scan_not): likewise.
5434
5435         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5436         (ctype<char>::do_toupper(char)): use <static_cast>.
5437         (ctype<char>::do_toupper(char *, const char *)): likewise.
5438         (ctype<char>::do_tolower(char)): likewise.
5439         (ctype<char>::do_tolower(char *, const char *)): likewise.
5440
5441 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
5442
5443         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5444         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
5445         macros and "never happens" code.  Adjust to C++STYLE guidelines.
5446         * include/backward/algobase.h:  Likewise.
5447         * include/backward/alloc.h:  Likewise.
5448         * include/backward/bvector.h:  Likewise.
5449         * include/backward/deque.h:  Likewise.
5450         * include/backward/function.h:  Likewise.
5451         * include/backward/hash_map.h:  Likewise.
5452         * include/backward/hash_set.h:  Likewise.
5453         * include/backward/hashtable.h:  Likewise.
5454         * include/backward/heap.h:  Likewise.
5455         * include/backward/iterator.h:  Likewise.
5456         * include/backward/list.h:  Likewise.
5457         * include/backward/map.h:  Likewise.
5458         * include/backward/multimap.h:  Likewise.
5459         * include/backward/multiset.h:  Likewise.
5460         * include/backward/pair.h:  Likewise.
5461         * include/backward/rope.h:  Likewise.
5462         * include/backward/set.h:  Likewise.
5463         * include/backward/slist.h:  Likewise.
5464         * include/backward/stack.h:  Likewise.
5465         * include/backward/strstream:  Likewise.
5466         * include/backward/tempbuf.h:  Likewise.
5467         * include/backward/tree.h:  Likewise.
5468         * include/backward/vector.h:  Likewise.
5469         * include/bits/basic_ios.h:  Likewise.
5470         * include/bits/basic_ios.tcc:  Likewise.
5471         * include/bits/basic_string.h:  Likewise.
5472         * include/bits/c++config:  Likewise.
5473         * include/bits/concept_checks.h:  Likewise.
5474         * include/bits/fpos.h:  Likewise.
5475         * include/bits/fstream.tcc:  Likewise.
5476         * include/bits/functexcept.h:  Likewise.
5477         * include/bits/ios_base.h:  Likewise.
5478         * include/bits/istream.tcc:  Likewise.
5479         * include/bits/mask_array.h:  Likewise.
5480         * include/bits/ostream.tcc:  Likewise.
5481         * include/bits/pthread_allocimpl.h:  Likewise.
5482         * include/bits/sbuf_iter.h:  Likewise.
5483         * include/bits/slice.h:  Likewise.
5484         * include/bits/slice_array.h:  Likewise.
5485         * include/bits/sstream.tcc:  Likewise.
5486         * include/bits/std_bitset.h:  Likewise.
5487         * include/bits/std_fstream.h:  Likewise.
5488         * include/bits/std_iomanip.h:  Likewise.
5489         * include/bits/std_ios.h:  Likewise.
5490         * include/bits/std_istream.h:  Likewise.
5491         * include/bits/std_iterator.h:  Likewise.
5492         * include/bits/std_memory.h:  Likewise.
5493         * include/bits/std_ostream.h:  Likewise.
5494         * include/bits/std_sstream.h:  Likewise.
5495         * include/bits/std_streambuf.h:  Likewise.
5496         * include/bits/std_string.h:  Likewise.
5497         * include/bits/std_valarray.h:  Likewise.
5498         * include/bits/stl_algo.h:  Likewise.
5499         * include/bits/stl_algobase.h:  Likewise.
5500         * include/bits/stl_alloc.h:  Likewise.
5501         * include/bits/stl_construct.h:  Likewise.
5502         * include/bits/stl_deque.h:  Likewise.
5503         * include/bits/stl_function.h:  Likewise.
5504         * include/bits/stl_heap.h:  Likewise.
5505         * include/bits/stl_iterator.h:  Likewise.
5506         * include/bits/stl_iterator_base.h:  Likewise.
5507         * include/bits/stl_list.h:  Likewise.
5508         * include/bits/stl_map.h:  Likewise.
5509         * include/bits/stl_multimap.h:  Likewise.
5510         * include/bits/stl_multiset.h:  Likewise.
5511         * include/bits/stl_numeric.h:  Likewise.
5512         * include/bits/stl_pair.h:  Likewise.
5513         * include/bits/stl_pthread_alloc.h:  Likewise.
5514         * include/bits/stl_queue.h:  Likewise.
5515         * include/bits/stl_raw_storage_iter.h:  Likewise.
5516         * include/bits/stl_relops.h:  Likewise.
5517         * include/bits/stl_set.h:  Likewise.
5518         * include/bits/stl_stack.h:  Likewise.
5519         * include/bits/stl_tempbuf.h:  Likewise.
5520         * include/bits/stl_threads.h:  Likewise.
5521         * include/bits/stl_tree.h:  Likewise.
5522         * include/bits/stl_uninitialized.h:  Likewise.
5523         * include/bits/stl_vector.h:  Likewise.
5524         * include/bits/streambuf.tcc:  Likewise.
5525         * include/bits/type_traits.h:  Likewise.
5526         * include/bits/valarray_meta.h:  Likewise.
5527         * include/ext/bvector:  Likewise.
5528         * include/ext/hash_map:  Likewise.
5529         * include/ext/hash_set:  Likewise.
5530         * include/ext/ropeimpl.h:  Likewise.
5531         * include/ext/slist:  Likewise.
5532         * include/ext/stl_bvector.h:  Likewise.
5533         * include/ext/stl_hash_fun.h:  Likewise.
5534         * include/ext/stl_hashtable.h:  Likewise.
5535         * include/ext/stl_rope.h:  Likewise.
5536         * src/complex_io.cc:  Likewise.
5537         * src/ios.cc:  Likewise.
5538         * src/locale-inst.cc:  Likewise.
5539         * src/locale.cc:  Likewise.
5540         * src/localename.cc:  Likewise.
5541         * src/misc-inst.cc:  Likewise.
5542         * src/stdexcept.cc:  Likewise.
5543         * src/stl-inst.cc:  Likewise.
5544         * src/strstream.cc:  Likewise.
5545         * src/valarray-inst.cc:  Likewise.
5546
5547 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
5548
5549         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5550
5551 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5552
5553         * include/bits/istream.tcc: change type of __extracted to __size_type
5554
5555 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
5556
5557         * src/wstring-inst.cc: New file.
5558         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5559         (libinst_wstring_la_SOURCES): Remove.
5560         (libstdc___la_LIBADD): Remove libinst_wstring_la.
5561         (sources): Add wstring-inst.cc
5562         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5563         libinst_wstring_la.
5564
5565 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5566
5567         * src/locale.cc: initialise __ret with zero
5568         * src/strstream.cc:cast gptr to int_type
5569
5570 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
5571
5572         * docs/html/faq/index.html:  Update broken links.
5573         * docs/html/faq/index.txt:  Regenerated.
5574
5575 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5576
5577         libstdc++/2064
5578         * configure.target: Change irix* to irix6.5* in target_os table.
5579
5580 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5581
5582         libstdc++/2103
5583         * include/bits/c++config (__GLIBCPP__): Bump number in
5584         anticipation of 2.92.
5585
5586         * include/bits/codecvt.h: Fix typo.
5587         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5588         stdio model.
5589         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5590         instantiations for stdio model.
5591
5592 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
5593
5594         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
5595           and GLIBCPP_CXXFLAGS as unused variables.
5596         * configure.host:  Likewise.
5597         * configure.target:  Likewise.
5598         * aclocal.m4:  Regenerated.
5599         * configure:  Regenerated.
5600         * Makefile.in:  Regenerated.
5601         * libio/Makefile.in:  Regenerated.
5602         * libmath/Makefile.in:  Regenerated.
5603         * libsupc++/Makefile.in:  Regenerated.
5604         * src/Makefile.in:  Regenerated.
5605
5606 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5607
5608         libstdc++/1886
5609         * include/bits/basic_file.h: Include basic_file_model.h.
5610         * config/c_io_libio.cc: Move to...
5611         * config/basic_file_libio.cc: Here.
5612         * config/basic_file_libio.h: New file.
5613         * config/c_io_stdio.cc: Move to...
5614         * config/basic_file_stdio.cc: Here.
5615         * config/basic_file_stdio.h: New file.
5616         * config/c_io_libio.h: Tweak.
5617         * config/c_io_stdio.h: Tweak.
5618         * src/Makefile.am (build_headers): Add basic_file_model.h.
5619         (sources): Add basic_file.cc, remove c++io.cc.
5620         * src/Makefile.in: Regenerate.
5621         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5622         basic_file_model.h and basic_file.cc.
5623         * aclocal.m4: Regenerate.
5624         * configure: Regenerate.
5625         * testsuite/27_io/filebuf.cc (test05): Add regression.
5626
5627 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5628
5629         Correct license.
5630         * config/cpu/alpha/bits/atomicity.h: Change.
5631         * config/cpu/arm/bits/atomicit3y.h
5632         * config/cpu/generic/bits/atomicity.h
5633         * config/cpu/i386/bits/atomicity.h
5634         * config/cpu/i486/bits/atomicity.h
5635         * config/cpu/ia64/bits/atomicity.h
5636         * config/cpu/powerpc/bits/atomicity.h
5637         * config/cpu/sparc/sparc32/bits/atomicity.h
5638         * config/cpu/sparc/sparc64/bits/atomicity.h
5639         * config/os/aix/bits/atomicity.h
5640         * config/os/irix/bits/atomicity.h
5641
5642 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5643
5644         * include/bits/std_stdexcept.h (runtime_error): Make string
5645         member non-const.
5646         (logic_error): Same.
5647         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5648         (test03): Fix.
5649
5650 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
5651
5652         libstdc++/1972
5653         libstdc++/2089
5654         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5655         string object, not reference.
5656         (runtime_error::runtime_error): Same.
5657         * testsuite/19_diagnostics/stdexceptions.cc: New file.
5658
5659 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5660
5661         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
5662           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
5663           diagnostics.  Remove WFMT_FLAGS.
5664         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
5665         * libsupc++/Makefile.am:  Likewise.
5666         * src/Makefile.am:  Likewise.
5667         * aclocal.m4:  Regenerated.
5668         * configure:  Regenerated.
5669         * Makefile.in:  Regenerated.
5670         * libio/Makefile.in:  Regenerated.
5671         * libmath/Makefile.in:  Regenerated.
5672         * libsupc++/Makefile.in:  Regenerated.
5673         * src/Makefile.in:  Regenerated.
5674
5675 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5676
5677         Fixes libstdc++/2079
5678         * include/backward/iomanip.h:  Expose <ios> manipulators to global
5679           namespace.
5680         * include/backward/iostream.h:  Also expose std::ws.
5681
5682 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
5683
5684         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5685
5686 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
5687
5688         * include/bits/codecvt.h: Use __builtin_alloca.
5689         * include/bits/ostream.tcc: Same.
5690         * include/bits/fstream.tcc: Same.
5691
5692 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
5693
5694         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5695
5696 2001-02-23  David Edelsohn <dje@watson.ibm.com>
5697
5698         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5699
5700 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
5701
5702         c++/2052
5703         * include/backward/iostream.h:  Expose std::flush in old headers.
5704
5705 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5706
5707         * mknumeric_limits: Remove special-casing on target.  Use gcc
5708         instead of g++ to build gen-num-limits.cc
5709
5710 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
5711
5712         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5713
5714         * include/bits/codecvt.h: Use alloca instead of __extension__ for
5715         the time being.
5716         * include/bits/ostream.tcc: Same.
5717         * include/bits/std_ostream.h: Same.
5718         * include/bits/fstream.tcc: Same.
5719         * include/bits/locale_facets.tcc: Add typename.
5720         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5721
5722 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
5723
5724         * tests_flags.in:  Remove -n flag from call to echo.
5725
5726 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
5727
5728         * config/c_locale_gnu.h: Add clocale include.
5729
5730 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
5731
5732         * include/bits/stl_config.h:  Remove file.
5733         * src/Makefile.am (base_headers):  Remove from list.
5734         * configure:  Regenerate.
5735         * Makefile.in:  Ditto.
5736         * libio/Makefile.in:  Ditto.
5737         * libmath/Makefile.in:  Ditto.
5738         * libsupc++/Makefile.in:  Ditto.
5739         * src/Makefile.in:  Ditto.
5740
5741         * include/bits/c++config:  Move relevant macros to here.
5742         * include/backward/alloc.h:  Include c++config.h instead.
5743         * include/backward/function.h:  Ditto.
5744         * include/backward/heap.h:  Ditto.
5745         * include/backward/pair.h:  Ditto.
5746         * include/bits/pthread_allocimpl.h:  Ditto.
5747         * include/bits/std_functional.h:  Ditto.
5748         * include/bits/std_iterator.h:  Ditto.
5749         * include/bits/std_numeric.h:  Ditto.
5750         * include/bits/std_utility.h:  Ditto.
5751         * include/bits/stl_algobase.h:  Ditto.
5752         * include/bits/type_traits.h:  Ditto.
5753         * src/stl-inst.cc:  Ditto.
5754
5755 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5756
5757         * include/bits/basic_file.h: Add #pragma system_header
5758         * include/bits/basic_ios.h: Ditto.
5759         * include/bits/basic_string.h: Ditto.
5760         * include/bits/char_traits.h: Ditto.
5761         * include/bits/codecvt.h: Ditto.
5762         * include/bits/cpp_type_traits.h:  Ditto.
5763         * include/bits/fpos.h: Ditto.
5764         * include/bits/gslice.h: Ditto.
5765         * include/bits/gslice_array.h: Ditto.
5766         * include/bits/indirect_array.h: Ditto.
5767         * include/bits/ios_base.h: Ditto.
5768         * include/bits/limits_generic.h: Ditto.
5769         * include/bits/locale_facets.h: Ditto.
5770         * include/bits/localefwd.h: Ditto.
5771         * include/bits/mask_array.h: Ditto.
5772         * include/bits/sbuf_iter.h: Ditto.
5773         * include/bits/sequence_concepts.h: Ditto.
5774         * include/bits/slice.h: Ditto.
5775         * include/bits/slice_array.h: Ditto.
5776         * include/bits/std_algorithm.h: Likewise.
5777         * include/bits/std_bitset.h: Likewise.
5778         * include/bits/std_complex.h: Likewise.
5779         * include/bits/std_deque.h: Likewise.
5780         * include/bits/std_fstream.h: Likewise.
5781         * include/bits/std_functional.h: Likewise.
5782         * include/bits/std_iomanip.h: Likewise.
5783         * include/bits/std_ios.h: Likewise.
5784         * include/bits/std_iosfwd.h: Likewise.
5785         * include/bits/std_iostream.h: Likewise.
5786         * include/bits/std_istream.h: Likewise.
5787         * include/bits/std_iterator.h: Likewise.
5788         * include/bits/std_list.h: Likewise.
5789         * include/bits/std_locale.h: Likewise.
5790         * include/bits/std_map.h: Likewise.
5791         * include/bits/std_memory.h: Likewise.
5792         * include/bits/std_numeric.h: Likewise.
5793         * include/bits/std_ostream.h: Likewise.
5794         * include/bits/std_queue.h: Likewise.
5795         * include/bits/std_set.h: Likewise.
5796         * include/bits/std_sstream.h: Likewise.
5797         * include/bits/std_stack.h: Likewise.
5798         * include/bits/std_stdexcept.h: Likewise.
5799         * include/bits/std_streambuf.h: Likewise.
5800         * include/bits/std_string.h: Likewise.
5801         * include/bits/std_utility.h: Likewise.
5802         * include/bits/std_valarray.h: Likewise.
5803         * include/bits/std_vector.h: Likewise.
5804         * include/bits/stringfwd.h: Likewise.
5805         * include/bits/type_traits.h: Likewise.
5806         * include/bits/valarray_array.h: Likewise.
5807         * include/bits/valarray_meta.h: Likewise.
5808
5809 2001-02-19  Andreas Jaeger  <aj@suse.de>
5810
5811         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5812         Fix typo.
5813
5814 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
5815
5816         libstdc++/1734
5817         * include/bits/std_ostream.h: Replaced usage of
5818         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5819         * include/bits/char_traits.h: Removed non-standard
5820         methods that cannot be used elsewhere.
5821
5822         libstdc++/1885
5823         * include/bits/basic_ios.h: Uncommented #include of
5824         bits/basic_ios.tcc
5825
5826         libstdc++/1897
5827         * include/bits/codecvt.h: See next...
5828         * include/bits/fstream.tcc: See next...
5829         * include/bits/ostream.tcc: Add __extension__
5830         to variable-length arrays.
5831
5832         libstdc++/1967
5833         * include/bits/localefwd.h: Changed int counter type to size_t.
5834
5835         libstdc++/1968
5836         * include/bits/std_fstream.h: Added typedef for __ctype_type.
5837
5838 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5839
5840         * testsuite/21_strings/char_traits.cc: Move to ...
5841         * testsuite/21_strings/char_traits_requirements.cc: ..here.
5842         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5843         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5844
5845 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
5846
5847         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5848         definitions.
5849
5850 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5851
5852         * include/bits/c++config: Revert.
5853
5854 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5855
5856         * include/bits/istream.tcc: Use ios_base::iostate in place of
5857         iostate throughout.  Insert `typename' keyword where necessary.
5858         * include/bits/ostream.tcc: Insert `typename' keyword where
5859         necessary.
5860
5861 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
5862
5863         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5864         Define so library is compliant.
5865
5866 2001-02-15  Anthony Green  <green@redhat.com>
5867
5868         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5869         compilation.
5870         * aclocal.m4: Regenerate.
5871         * configure: Regenerate.
5872
5873 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5874
5875         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5876         Include ieeefp.h for fpclass on UnixWare{2,7}.
5877         * aclocal.m4: Regenerate.
5878         * configure: Regenerate.
5879         * mkcheck.in (size_command): Do without GNU-grep when using
5880         size from binutils.
5881
5882 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5883
5884         Remove old ABI support from libsupc++.
5885         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5886         * libsupc++/exception_support.cc: Likewise.
5887         * libsupc++/pure.cc: Likewise.
5888         * libsupc++/tinfo.cc: Likewise.
5889         * libsupc++/tinfo.h: Likewise.
5890         * libsupc++/tinfo2.cc: Likewise.
5891         * libsupc++/typeinfo: Likewise.
5892         * libsupc++/vec.cc: Likewise.
5893
5894 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5895
5896         Add support for -fno-exceptions.
5897         * include/bits/exception_support.h: Remove.
5898         * include/bits/basic_string.h: Remove exception_support.
5899         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5900         (string::at): Same.
5901         (string::substr): Same.
5902         * include/bits/basic_string.tcc (string::reserve): Replace
5903         __LENGTHERROR with __throw_length_error.
5904         (string::_S_create): Same.
5905         (string::resize): Same.
5906         (string::_M_replace): Same.
5907         (string::replace): Same.
5908         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5909         (string::compare): Same.
5910         * include/bits/stl_vector.h: Remove exception_support.
5911         * src/Makefile.am (base_headers): Remove here.
5912         * src/Makefile.in: Regenerate.
5913
5914         * include/bits/stl_range_errors.h: Remove.
5915         * include/bits/stl_deque.h: Use __throw_range_error.
5916         * include/bits/std_deque.h: Include functexcept.h.
5917         * include/bits/std_vector.h: Same.
5918         * src/Makefile.am (base_headers): Remove here.
5919         * src/Makefile.in: Regenerate.
5920         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5921         * include/ext/bvector: Remove stl_range_errors.h
5922
5923         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5924
5925         * include/bits/functexcept.h: New file.
5926         * src/functexcept.cc: New file. Definitions for function-based
5927         exception routines.
5928         * src/Makefile.am (sources): Add functexcept.cc.
5929         * src/Makefile.in: Regenerate.
5930
5931         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5932         __EXCEPTIONS.
5933
5934         * include/bits/localefwd.h: Include functexcept.h.
5935         * include/bits/std_iosfwd.h: Same.
5936
5937         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5938         throw basic_ios::failure.
5939         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5940         Use __throw_exception_again.
5941         (filebuf::_M_filebuf_init): Same.
5942         * include/bits/streambuf.tcc (__copy_streambufs): Same.
5943         * include/bits/ostream.tcc (ostream::operator<<): Same.
5944         * include/bits/istream.tcc (istream::operator>>): Same.
5945         * include/bits/basic_string.tcc (string::_M_mutate): Same.
5946         (string::_S_construct): Same.
5947         (string::_M_clone): Same.
5948         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5949         __throw_bad_cast.
5950         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5951         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5952         __throw_exception_again.
5953         (locale::_Imp::_Imp(string, size_t): Same.
5954         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5955         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5956         (locale::locale(const char*)): Use __throw_runtime_error.
5957         (locale::classic): Use __throw_exception_again.
5958         (locale::_S_normalize_category): Use __throw_runtime_error.
5959
5960         * src/stdexcept.cc: Remove cruft.
5961
5962         * libsupc++/exception_defines.h: New file.
5963         * libsupc++/new_opnt.cc: Include exception_defines.h.
5964         * libsupc++/vec.cc: Same.
5965         (__cxa_vec_new2): Use __throw_exception_again.
5966         (__cxa_vec_new3): Same.
5967         (__cxa_vec_ctor): Same.
5968         (__cxa_vec_delete3): Same.
5969         (__cxa_vec_cctor): Same.
5970         (__cxa_vec_delete2): Same.
5971         (__cxa_vec_dtor): Same.
5972         * libsupc++/exception_support.cc: Include exception_defines.h. Only
5973         compile exception-handling bits if __EXCEPTIONS is defined.
5974         Remove old ABI support.
5975         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5976         std::__throw_bad_alloc() instead of throw bad_alloc.
5977         * libsupc++/Makefile.am: Add exception_defines.h.
5978         * libsupc++/Makefile.in: Reformat.
5979         * libsupc++/*: Format.
5980
5981 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
5982
5983         * docs/html/configopts.html:  Minor updates and typo fixes.
5984         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
5985         * docs/html/faq/index.txt:  Regenerated.
5986
5987 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5988
5989         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5990         dejagnu/dg.exp.  Adapt to log options used to run testcases.
5991
5992 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5993
5994         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5995         dejagnu/dg.exp.
5996
5997 2001-02-13  Dirk Mueller <dmuell@gmx.net>
5998             Phil Edwards  <pme@sources.redhat.com>
5999
6000         * include/backward/function.h:  Do not use rel_ops for older
6001           headers either.
6002         * include/backward/pair.h:  Likewise.
6003
6004 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
6005
6006         * src/locale.cc: Remove bogus locale::id definitions.
6007
6008 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6009
6010         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
6011         not _DEFINE_VALARRAY_OPERATOR which is not existent.
6012
6013         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
6014         thinko in member initialisation.
6015
6016 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
6017
6018         * include/bits/std_valarray.h(valarray<>::shift): Avoid
6019         comparaison between signed and unsigned integer types.
6020         (valarray<>::cshift): Reformat.
6021
6022 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
6023
6024         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
6025         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
6026         * configure.in: Test for sigsetjmp.
6027         * configure, config.h.in: Rebuilt.
6028
6029 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
6030
6031         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
6032         lengths and strides.
6033         (__gslice_to_index): Document.
6034
6035 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
6036
6037         * include/bits/char_traits.h char_traits<char>::int_type: Change
6038         to `int' to match 21.1.3.1/2.
6039
6040         * testsuite/21_strings/char_traits-int_type.C: New test.
6041
6042 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
6043
6044         * testsuite/Makefile.am: New file.
6045
6046 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
6047
6048         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
6049
6050 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
6051
6052         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
6053
6054 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
6055
6056         * configure.target (aix4*): Remove extra set of brackets.
6057
6058 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
6059
6060         Clean up stdexcept.
6061         * include/bits/stringfwd.h: New file.
6062         * include/bits/stl_string_fwd.h: Remove.
6063         * include/bits/localefwd.h: Remove declaration for allocator.
6064         * include/bits/std_iosfwd: Same.
6065         * include/bits/std_string.h: Include it.
6066         * include/bits/std_ios.h: Remove include.
6067         * include/bits/basic_string.h: Tweak.
6068         * libsupc++/new: Format.
6069         * src/Makefile.am (base_headers): Add stringfwd.h, remove
6070         stl_string_fwd.h
6071         * src/Makefile.in: Regenerate.
6072         * include/bits/std_stdexcept.h: Rewrite.
6073         * src/stdexcept.cc: Same.
6074
6075 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
6076
6077         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
6078         install locations too.
6079         * aclocal.m4: Regenerate.
6080         * configure.in: Remove USE_LIBDIR.
6081         * configure: Regenerate.
6082         * src/Makefile.am (toolexecdir): Simplify, use
6083         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
6084         * src/Makefile.in: Regenerate.
6085         * libsupc++/Makefile.am: Same.
6086         * libsupc++/Makefile.in: Regenerate.
6087
6088         * src/Makefile.am: Just remove special rules for locale-inst.cc and
6089         misc-inst.cc as no longer necessary.
6090
6091         Follow C++STYLE for naming non-static functions.
6092         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
6093         __pad_char.
6094         * include/bits/streambuf.tcc: Same.
6095         * include/bits/ostream.tcc: Same.
6096         * include/bits/istream.tcc: Same.
6097         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
6098         (_S_output_float): To __output_float.
6099         * include/bits/std_streambuf.h (_S_copy_streambufs): To
6100         __copy_streambufs.
6101         * include/bits/locale_facets.tcc (_S_build_float_format): To
6102         __build_float_format.
6103         (_S_format): To __output_integer.
6104         (_S_fill): To __pad.
6105         * src/locale.cc: Same.
6106         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
6107         names.
6108         * include/bits/locale_facets.tcc (_S_group_digits): To
6109         __group_digits.
6110         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
6111         for collate, numpunct.
6112
6113 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
6114
6115         * docs/html/configopts.html:  Fix HTML markup.
6116         * docs/html/install.html:  Bring up to date.
6117         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
6118         * docs/html/21_strings/howto.html:  More notes.
6119         * docs/html/22_locale/howto.html:  Fix HTML markup.
6120         * docs/html/27_io/howto.html:  More notes.
6121         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
6122         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
6123
6124 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
6125
6126         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
6127         to match header files.
6128         (_S_output_float): Likewise.
6129         (_S_copy_streambufs): Likewise.
6130
6131 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
6132             Phil Edwards  <pme@sources.redhat.com>
6133
6134         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
6135           use reinterpret_cast, not static_cast.
6136
6137 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
6138
6139         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
6140         * aclocal.m4: Regenerate.
6141         * configure: Regenerate.
6142
6143 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6144
6145         * include/bits/locale_facets.h (class moneypunct): Fix typos.
6146         * libsupc++/pure.cc: Revert.
6147
6148 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6149
6150         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6151         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6152         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6153         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6154         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6155         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6156         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6157         * aclocal.m4: Regenerate.
6158         * configure: Regenerate.
6159
6160 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
6161
6162         * include/bits/locale_facets.tcc: Remove `static' keyword on
6163         function definitions.
6164         * include/bits/std_streambuf.h: Likewise.
6165         * src/Makefile.am: Remove use of -fimplicit-templates.
6166         * src/Makefile.in: Regenerated.
6167         * src/locale-inst.cc: Explicitly instantiate more functions.
6168         * src/misc-inst.cc: Likewise.
6169         * src/string-inst.cc: Likewise.
6170
6171 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6172
6173         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6174         macro. Consolidate all the bits to do with where includes might be
6175         installed.
6176         * aclocal.m4: Regenerate.
6177         * configure.in: Use it.
6178         * configure: Regenerate.
6179         * src/Makefile.am (targetincludep): Use simplified rules.
6180         (targetincludep): Rename gxx_target_include_dir.
6181         (myincludep): Rename gxx_include_dir.
6182         * src/Makefile.in: Regenerate.
6183         * libsupc++/Makefile.am: Use simplified rules.
6184         * libsupc++/Makefile.in: Regenerate.
6185
6186 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6187
6188         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6189         * include/c_std/bits/std_cctype.h: Same.
6190         * include/c_std/bits/std_cassert.h: Same.
6191         * include/c_std/bits/std_cstdarg.h: Same.
6192         * include/c_std/bits/std_cstddef.h: Same.
6193
6194         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6195         namespace std.
6196         * include/c_std/bits/std_ctime.h: Same.
6197         * include/c_std/bits/std_clocale.h: Same.
6198         * include/c_std/bits/std_cmath.h: Same.
6199         * include/c_std/bits/std_csetjmp.h: Same.
6200         * include/c_std/bits/std_csignal.h: Same.
6201         * include/c_std/bits/std_cstring.h: Same.
6202         * include/c_std/bits/std_cstdlib.h: Same.
6203         * include/c_std/bits/std_cwchar.h: Same.
6204
6205 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
6206
6207         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
6208
6209 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
6210
6211         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6212         (string::_S_construct): Likewise.
6213
6214 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
6215
6216         * testsuite/config/default.exp: New file.
6217         * testsuite/config: New directory.
6218
6219 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
6220
6221         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6222         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6223         whenever !__GXX_MERGED_TYPEINFO_NAMES.
6224         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6225
6226 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
6227             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6228
6229         * Makefile.am (mkinstalldirs): Set.
6230         * src/Makefile.am (mkinstalldirs): Set.
6231         * libmath/Makefile.am (mkinstalldirs): Set.
6232         * libsup++/Makefile.am (mkinstalldirs): Set.
6233         * libio/Makefile.am (mkinstalldirs): Set.
6234         * */Makefile.in: Regenerate.
6235
6236 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
6237
6238         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6239         * include/bits/localefwd.h: More initialization cleanups.
6240
6241 2001-02-03  Jeffrey A Law  <law@cygnus.com>
6242
6243         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6244         correctly targets with 16bit ints.
6245         (_S_ios_openmode_end): Similarly.
6246         (_S_ios_iostate_end): Similarly.
6247         (_S_ios_Seekdir_end): Similarly.
6248
6249 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
6250
6251         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
6252
6253 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
6254
6255         * configure.in (toplevel_srcdir, auxdir): Set.
6256         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6257         * aclocal.m4, configure, Makefile.in: Rebuilt.
6258         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6259         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6260         * libsupc++-v3/Makefile.in: Rebuilt.
6261         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6262         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6263
6264 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
6265
6266         * config/c_locale_generic.cc: Remove langinfo include.
6267
6268 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
6269
6270         Preliminary named locales.
6271         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6272         * aclocal.m4: Regenerate.
6273         * configure.in: Use it.
6274         * configure: Regerate.
6275         * src/Makefile.am (sources): Add c++locale.cc.
6276         (build_headers): Add c++locale.h.
6277         * src/Makefile.in: Regenerate.
6278         * config/c_locale_gnu.h: New file.
6279         * config/c_locale_gnu.cc: New file. Non-inline member functions
6280         for named locales, gnu-specific.
6281         * config/c_locale_generic.h: New file.
6282         * config/c_locale_generic.cc: New file. Non-inline member
6283         functions for named locales, generic version.
6284         * docs/html/configopts.html: Add documentation on new options.
6285
6286         * include/bits/locale_facets.h (class _Messages): Remove.
6287         (class _Moneypunct): Remove.
6288         * src/locale-inst.cc: Remove.
6289
6290         * include/bits/locale_facets.h (class _Collate): Remove.
6291         * src/locale-inst.cc (std): Remove.
6292         * src/locale.cc: And here.
6293
6294         * include/bits/localefwd.h (locale::_M_coalesce): New
6295         function. Correctly put together multi-name locales.
6296         (_Impl(const _Impl&, category, size_t)): Remove.
6297
6298         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6299         member functions.
6300         (_M_normalize_category_names): Remove.
6301         (_M_replace_categories): Fix.
6302
6303         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6304         (locale::_Impl::_M_construct_ctype): Remove.
6305         (locale::_Impl::_M_construct_monetary): Remove.
6306         (locale::_Impl::_M_construct_numeric): Remove.
6307         (locale::_Impl::_M_construct_time): Remove.
6308         (locale::_Impl::_M_construct_messages): Remove.
6309
6310         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6311         (_Use_facet_failure_handle): Remove.
6312         * src/locale.cc: Remove definitions.
6313         * src/locale-inst.cc: And here.
6314
6315         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6316
6317         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6318         create and error-check underlying locale object.
6319         (locale::facet::_S_destroy_c_locale): Add, take care of properly
6320         tearing down underlying locale object.
6321         * include/bits/localefwd.h (locale::facet): Declare.
6322         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6323         correctness, as glibc apparently has incorrect info in it. Test
6324         with it when it works again.....
6325
6326         * include/bits/localefwd.h (locale::_Impl::__vec_string):
6327         Remove. Number of categories is fixed at six, so just simplify and
6328         make this an array of strings.
6329         (locale::_Impl::_M_has_name): Remove.
6330         (locale::_Impl::_M_name): Remove.
6331         (locale::_Impl::_M_category_names): Turns into...
6332         (locale::_Impl::_M_names): ...this.
6333         (locale::_Impl::_M_has_same_name()): New function.
6334         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6335         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6336         signature.
6337         * src/locale.cc (locale::name()): Construct mangled name
6338         accurately reflecting combined locale categories.
6339
6340         * src/locale.cc (locale::classic()): Don't initialize here.
6341         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6342         __refs, bool __has_name, string __str): Do it here.
6343
6344         * include/bits/localefwd.h: _S_categories_num to
6345         _S_num_categories. _S_facets_num to _S_num_facets.
6346         (locale::id::id()): Explicitly set _M_index to zero.
6347         * src/locale.cc: Same.
6348
6349         * src/locale.cc: (locale::locale(const char*)): Construct named
6350         locales uniquely.
6351
6352         * src/locale.cc: Remove numpunct_byname ctors.
6353         * testsuite/22_locale/numpunct_byname.cc: New file.
6354         * testsuite/22_locale/numpunct.cc: New file.
6355
6356         * include/bits/localefwd.h (class locale): Change data members to
6357         protected, from private.
6358         (_Impl::_M_get_c_locale): Add member function.
6359         (locale::facet::_M_get_global_impl()): Add member function.
6360         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6361         a __c_locale pointer.
6362         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6363         named locales.
6364         * testsuite/22_locale/members.cc: New file, test name and combine.
6365
6366         * include/bits/locale_facets.h (class numpunct): Remove class
6367         _Punct and _Numpunct. Rewrite class numpunct to be correct for
6368         named locales.
6369         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6370         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6371         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6372         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6373         * testsuite/22_locale/numpunct_char_members.cc: New file.
6374
6375 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
6376
6377         * testsuite/README: Add more comment.
6378         * testsuite/lib/libstdc++.exp: Tweak comment.
6379
6380 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
6381
6382         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6383
6384 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
6385
6386         * testsuite/21_strings/inserters_extractors.cc: Remove
6387         explicit reference to 'testsuite/'.
6388
6389 2001-01-25  Richard Henderson  <rth@redhat.com>
6390
6391         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6392         bits. Fixes Tru64 build issues.
6393
6394 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6395
6396         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6397         (use ${MAKE-make}, not ${MAKE:-make}).
6398         * aclocal.m4, configure: Regenerate.
6399
6400 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
6401
6402         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6403         checkin.
6404
6405         * src/Makefile.am (sources): Add globals.cc.
6406         * src/Makefile.in: Regenerated.
6407         * src/globals.cc: New file.
6408         * src/ios.cc (cin): Don't define here, just declare extern.
6409         (cout): Likewise.
6410         (cerr): Likewise.
6411         (clog): Likewise.
6412         (wcin): Likewise.
6413         (wcout): Likewise.
6414         (wcerr): Likewise.
6415         (wclog): Likewise.
6416
6417 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
6418
6419         * include/bits/std_iterator.h:  Do not include stl_relops.h.
6420         * include/bits/std_numeric.h:  Ditto.
6421         * include/bits/stl_algobase.h:  Ditto.
6422         * include/bits/stl_relops.h:  Add comment warning about problems.
6423
6424 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
6425
6426         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6427         in testcases.  Prepare for the DejaGnu based framework.
6428         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
6429         directory -- it is now mkcheck working directory.
6430         * tests_flags.in: Remove reference to $(top_srcdir).  Use
6431         ${SRC_DIR} instead.
6432         * Makefile.am (check, check-install): Change mkcheck invocation
6433         logic.
6434         * Makefile.in: Regenerate.
6435
6436 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
6437
6438         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6439         (__always_swap): Likewise.
6440
6441 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
6442
6443         * libsupc++/exception_support.cc (__terminate_func): Remove
6444         declaration.
6445         (__terminate_func_ptr): New typedef.
6446         (__terminate, __terminate_set_func): New extern function
6447         prototypes.
6448         (std::terminate): Use __terminate function.
6449         (std::set_terminate): Use __terminate_set_func function.
6450
6451 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
6452
6453         * configure.target: Just use os_include_dir always.
6454         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6455         Link atomicity files and ctype files here.
6456         * configure: Regenerate.
6457         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6458         (GLIBCPP_ENABLE_ATOMICITY): Remove.
6459         * aclocal.m4: Regenerate.
6460
6461 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
6462
6463         * configure.in: Place definition of MULTISUBDIR in
6464         libsupc++/Makefile as is done for src/Makefile.
6465         * configure: Regenerate.
6466
6467 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
6468
6469         * acinclude.m4:  Cosmetic changes only.
6470         * aclocal.m4:  Regenerated.
6471         * configure:  Regenerated.
6472         * configure.target:  Update documented list of changed variables.
6473         * docs/html/install.html:  Fix typo.
6474         * docs/html/20_util/howto.html:  More notes on auto_ptr.
6475         * docs/html/27_io/howto.html:  More notes on streabufs.
6476         * docs/html/faq/index.html:  Add rel_ops problem and mention the
6477           DEC as(1) .subsection difficulty.
6478         * docs/html/faq/index.txt:  Regenerated.
6479
6480 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
6481
6482         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6483         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6484         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6485         its already provided in config.target.
6486         * aclocal.m4: Regenerated.
6487         * configure: Likewise.
6488         * configure.target: Set ctype_include_dir for lots of systems.
6489         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6490         * libsupc++/Makefile.in: Regenerated.
6491
6492 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
6493
6494         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
6495         keyword capability.
6496
6497         * testsuite/README: Add comment.
6498
6499 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
6500
6501         * docs/html/configopts.html:  Update for current status.  Fix HTML.
6502         * docs/html/install.html:  Update for current status.
6503
6504 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6505
6506         * testsuite/libstdc++.tests/tests.exp: New file.
6507         * testsuite/lib/libstdc++.exp: Itou.
6508         * testsuite/README: Itou.
6509
6510 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
6511
6512         * tests_flags.in: Just output the bare minimum to run tests.
6513         Let's the caller do its own arrangement.
6514
6515         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
6516         computations.
6517
6518 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
6519
6520         * testsuite/17_intro: Prepare testcases for new style DejaGnu
6521         framework.
6522
6523 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
6524
6525         * testsuite/libstdc++.tests, testsuite/lib: New directories.
6526
6527 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
6528
6529         * mkcheck.in: Construct file names that match $objdir structure.
6530         * testsuite/27_io/filebuf_members-1.txt: New file.
6531         * testsuite/27_io/ifstream_members-1.txt: New file.
6532         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6533
6534         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6535         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6536
6537 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6538
6539         * testsuite/27_io/istream_sentry.cc (test02): Fix.
6540
6541 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
6542
6543         libstdc++/1605
6544         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6545         * src/ios.cc (ios_base::failure): Make definitions match.
6546         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6547         (class bad_cast): Same.
6548         * libsupc++/exception (class exception): Add throw specs.
6549         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6550         (set_unexpected): Same.
6551         (uncaught_exception): Same.
6552         (what): Same.
6553
6554         * docs/html/17_intro/C++STYLE (classname): Fix.
6555
6556 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6557
6558         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6559         Use it do explicitly instantiate predicate<T> and value<T> for
6560         all the builtin Ts.
6561
6562 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
6563
6564         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6565         uninitialized thinko in last change.
6566
6567 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6568
6569         * libsupc++/exception_support.cc (__cp_pop_exception): Change
6570         prototype.
6571
6572 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6573
6574         * docs/html/17_intro/C++STYLE (classname): Add more existing
6575         and stylish patterns.
6576
6577         libstdc++/944
6578         * include/bits/istream.tcc (istream::sentry::sentry()): Set
6579         failbit if the state of the stream is not good.
6580         * testsuite/27_io/istream_sentry.cc (test02): Add test.
6581         * testsuite/27_io/istream_manip.cc (test01): Modify.
6582
6583         libstdc++/1019
6584         reported by Paolo Carlini <pcarlini@unitus.it>
6585         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6586         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6587
6588         libstdc++/1057
6589         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6590         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6591         (xsgetn): Same. Simplify.
6592         * testsuite/27_io/streambuf.cc (test04): Add testcases.
6593
6594         reported by Larry Evans <jcampbell3@prodigy.net>
6595         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6596         equality with eof on returned value from overflow.
6597
6598 2001-01-14  Andreas Jaeger  <aj@suse.de>
6599
6600         * libio/libio.h: Add test for glibc 2.0.
6601
6602 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
6603
6604         * config/os/djgpp/bits/*: Fix dates.
6605
6606         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6607         _CharT* __end, _CharT __c): Remove.
6608         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6609         * include/bits/char_traits.h: Tweak.
6610
6611 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
6612
6613         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6614         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6615         bash bug.
6616         * aclocal.m4: regenerated.
6617         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6618         * configure: regenerated.
6619         * config/os/djgpp, config/os/djgpp/bits: new directories.
6620         * config/os/djgpp/bits/ctype_base.h,
6621         config/os/djgpp/bits/ctype_inline.h,
6622         config/os/djgpp/bits/ctype_noninline.h,
6623         config/os/djgpp/bits/os_defines.h: new files.
6624
6625 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
6626
6627         * include/c_std/bits/std_cstdio.h: Undef printf.
6628
6629 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
6630
6631         * src/ios.cc: Fix typo: change cout->wcout.
6632
6633         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6634         * src/Makefile.in: Regenerate.
6635
6636 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6637
6638          * include/bits/std_complex.h: Fix a typo.
6639
6640 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
6641                              <kainz@ilm.com>
6642
6643         Fixes for libstdc++/1576
6644         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6645         file, move contents into....
6646         * src/ios.cc: ...Here. Put defines for iostreams objects and
6647         initialization routines into one file to simplify DSO interaction.
6648         * include/bits/std_iostream.h: Touch.
6649         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6650         * src/Makefile.am (sources): Remove stdstreams.cc.
6651         * src/Makefile.in: Regenerate.
6652
6653 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6654
6655         * tests_flags.in (check_directory): Fix typo.
6656
6657 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6658
6659          * include/bits/std_complex.h: Fix a typo.
6660
6661 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
6662
6663         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6664         code path:) Remove magic constants and restructure to handle
6665         ctype.h bit mask layout changes more gracefully.  (Make fast
6666         code path:) Use __maskrune (), if available.
6667         (is): Remove special case for digit and xdigit masks.
6668
6669 2001-01-09  Robert Lipe <robertlipe@usa.net>
6670
6671         * include/c_std/bits/std_ctime.h: Undefine difftime.
6672
6673 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
6674
6675         * src/gen-num-limits.cc (signal_adapter): New template function.
6676         (signal_handler): Use it, instead of signal.
6677         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
6678         require both tests to trap to set trap_flag.
6679
6680 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6681
6682         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6683         initialize mbstate_t member, name offset data members *off, not pos.
6684         * include/bits/fstream.tcc (filebuf::filebuf): Same.
6685
6686 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6687
6688         reported by Chris G. Demetriou <cgd@sibyte.com>
6689         * configure.in: Change -linux-* to -linux*.
6690         * configure: Regenerate.
6691
6692 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
6693
6694         Fix 27_io/filebuf_members.cc
6695         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6696         const string& __name, category __cat, size_t __refs): Set
6697         _M_has_name with _M_name.
6698         * include/bits/localefwd.h (locale::operator!=): Protect member
6699         function call with this->.
6700         * src/locale.cc (locale::operator==): Make fast checks first.
6701         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6702
6703         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6704         to ios_base::Init.
6705         * src/ios.cc (ios_base::Init::Init): Initialize here.
6706         (ios_base::sync_with_stdio): Set here.
6707
6708 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
6709
6710         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6711         systems that support it, call dup() before fdopen().
6712
6713 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
6714
6715         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6716         * testsuite/17_intro/header_cwctype.cc (main): New file.
6717
6718         * src/Makefile.am (base_headers): Change.
6719         * include/bits/std_string.h: And here.
6720         * include/bits/string.tcc: Tweaks, move to...
6721         * include/bits/basic_string.tcc: ...Here.
6722         * src/string-inst.cc: Simplify, just instantiate the whole class,
6723         not member-by-member.
6724
6725 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
6726
6727         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6728         * aclocal.m4: Regenerate.
6729         * configure: Regenerate.
6730
6731         * include/bits/c++config (__GLIBCPP__): Bump version number.
6732
6733         * ChangeLog: Start new log for year 2001
6734         * ChangeLog-2000: New file.
6735
6736         * docs/html/configopts.html: Make sure default values are current,
6737         add commentary.
6738
6739 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
6740
6741         * include/c_std/bits/std_cwchar.h: Same.
6742         * testsuite/17_intro/header_cwchar.cc: Same.
6743         * include/c_std/bits/std_ctime.h: Same.
6744         * testsuite/17_intro/header_ctime.cc: Same.
6745         * include/c_std/bits/std_cstdlib.h: Same.
6746         Clean up undefs, make consistent with cwchar and cmath, etc.
6747         * testsuite/17_intro/header_cstdlib.cc: Same.
6748         * include/c_std/bits/std_cstdio.h: Same here.
6749         * testsuite/17_intro/header_cstring.cc: Same.
6750         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6751         * testsuite/17_intro/header_cstring.cc: New file. Check for
6752         size_t in namespace std.
6753
6754         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6755         * acconfig.h (HAVE_MBSTATE_T): Add.
6756         * config.h.in: Regenerate.
6757         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6758         mbstate_t.
6759         * aclocal.m4: Regenerate.
6760         * configure: Regenerate.
6761         * testsuite/17_intro/headers_c++.cc: New file.
6762         * testsuite/17_intro/headers_c.cc: Small changes.
6763
6764 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
6765
6766         * tests_flags.in: Fix typo in usage.
6767
6768         * tests_flags.in: Set target specific LIBS for cygwin.