OSDN Git Service

* configure.target: Define OPT_LDFLAGS for AIX case.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
2
3         * configure.target: Define OPT_LDFLAGS for AIX case.
4
5 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6
7         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
8         __glibcpp_double_has_quiet_NaN): Correct mispelling.
9
10 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
11
12         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
13
14 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
15
16         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
17         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
18         * aclocal.m4: Regenerate.
19         * configure: Regenerate.
20         
21 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
22
23         * include/Makefile.am (c_base_headers_rename): New.
24         (c_base_headers_extra): New.
25         (stamp-c_base): Modify.
26         (install-data-local): Use both.
27         * include/Makefile.in: Regenerate.
28         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
29         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
30         cstdio ctime cwctype]: Move to..
31         * include/c/std_*: Here.
32         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
33         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
34         cstdio ctime cwctype]: Move to..
35         * include/c_std/std_*: Here.
36
37         Alexandre Oliva  <aoliva@redhat.com>    
38         * include/Makefile.am (.PRECIOUS): Add rule.
39         * include/Makefile.in: Regenerate.
40         
41 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
42             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
43         
44         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
45         Deuglify, should be current.
46         (back_insert_iterator::_M_container): Deuglify, should be container.
47         (front_insert_iterator::_M_container): Same.    
48         (insert_iterator::_M_container): Same.
49         * testsuite/24_iterators/reverse_iterator.cc: Add check.
50         * testsuite/24_iterators/back_insert_iterator.cc: Add check.    
51         * testsuite/24_iterators/front_insert_iterator.cc: Same.
52         * testsuite/24_iterators/insert_iterator.cc: Same.
53         
54 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
55
56         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
57         static.
58         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
59         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
60         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
61         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
62         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
63         * config/os/newlib/bits/ctype_noninline.h: Same.
64         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
65         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
66         * config/os/hpux/bits/ctype_noninline.h: Same.
67         * config/os/djgpp/bits/ctype_noninline.h: Same.
68         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
69         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
70         * config/os/aix/bits/ctype_noninline.h: Same.
71         
72         Testcase by Dietmar Kühl via Peter Schmid 
73         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
74         classic_table().
75
76 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
77
78         * libmath/signbitl.c: Copyright years as list, not range.       
79         * libmath/Makefile.am: Same.
80         * libmath/Makefie.in: Regenerate.
81         * libmath/signbit.c: Same.
82         * libmath/nan.c: Same.
83         * libmath/copysignf.c: Same.
84         * libmath/signbitf.c: Same.
85         * testsuite/22_locale/money_get_members_char.cc: Same.
86         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
87         * testsuite/22_locale/money_put_members_char.cc: Same.
88         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
89         * testsuite/22_locale/time_get_members_char.cc: Same.
90         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
91         * testsuite/22_locale/time_put_members_char.cc: Same.
92         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
93         * testsuite/21_strings/nonmember.cc: Same.
94         * testsuite/21_strings/compare.cc: Same.
95         * testsuite/27_io/stringstream.cc: Same.
96         * testsuite/27_io/stringbuf.cc: Same.
97         * testsuite/27_io/filebuf.cc: Same.
98         * testsuite/27_io/ios_manip_basefield.cc: Same.
99         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
100         * include/bits/cpp_type_traits.h: Same.
101         * include/bits/generic_shadow.h: Same.
102         * include/bits/gslice_array.h: Same.
103         * include/bits/gslice.h: Same.
104         * include/bits/indirect_array.h: Same.
105         * include/bits/slice_array.h: Same.
106         * include/bits/sstream.tcc: Same.
107         * include/bits/streambuf_iterator.h: Same.
108         * include/bits/valarray_array.tcc: Same.
109         * include/bits/valarray_meta.h: Same.
110         * include/bits/valarray_array.h: Same.
111         * config/os/mingw32/bits/ctype_noninline.h: Same.
112         * config/os/mingw32/bits/ctype_base.h: Same.
113         * config/os/hpux/bits/ctype_noninline.h: Same.
114         * config/os/hpux/bits/ctype_base.h: Same.
115         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
116         * config/os/gnu-linux/bits/ctype_base.h: Same.
117         * config/os/generic/bits/ctype_noninline.h: Same.
118         * config/os/generic/bits/ctype_base.h: Same.
119
120         * libsupc++/tinfo.h: Tweaks.
121
122 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
123
124         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
125         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
126         * testsuite/22_locale/ctype_members_char.cc: Tweak.     
127
128 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
129
130         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
131         (num_put::do_put(void*)): Fix.
132         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
133         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
134         * testsuite/22_locale/num_get_members_char.cc (test02): Add
135         long double, void, bool types.
136         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
137         
138 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
139             Alexandre Oliva  <aoliva@redhat.com>
140
141         * libmath/Makefile.am (LINK): Add --tag CC.
142         * libmath/Makefile.in: Regenerate.
143
144 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
145
146         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
147         of character to attribute mapping table.
148
149 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
150
151         * testsuite/26_numerics/c99_classification_macros_c.cc
152         Remove dg-error and dg-excess-errors comments.
153
154 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
155
156         * include/bits/locale_facets.tcc (time_put::put): Correct output
157         iterator positions.
158         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
159         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
160         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
161         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
162
163 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
164
165         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
166
167 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
168             Nathan Myers  <ncm@cantrip.org>
169
170         * include/bits/basic_string.h
171         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
172         temporaries (i.e., call _M_replace_safe) when possible.
173         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
174         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
175         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
176         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
177         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
178         * include/bits/basic_string.tcc
179         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
180         replace(__pos, __n1, __s, __n2).
181         * testsuite/21_strings/replace.cc (test03): New testcases.
182
183         * include/bits/basic_string.h (insert(__pos, __s, __n)):
184         Adjust comparison wrt overflow.
185         
186 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
187
188         * include/Makefile.am (std_headers_rename): New variable.
189         (install-data-local): Use it.
190         * include/Makefile.in: Regenerate.
191         
192 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
193
194         * include/bits/locale_facets.tcc (money_put::do_put(string):
195         Correct output iterator value.
196         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
197         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
198         
199 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
200
201         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
202         previous commit.
203
204 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
205
206         * include/Makefile.am (std_headers):  Update list with new names.
207         (stamp-std):  Link to standardized name.
208         * include/Makefile.in:  Regenerate.
209
210         * include/std/algorithm, include/std/bitset, include/std/complex,
211         include/std/deque, include/std/fstream, include/std/functional,
212         include/std/iomanip, include/std/ios, include/std/iosfwd,
213         include/std/iostream, include/std/istream, include/std/iterator,
214         include/std/limits, include/std/list, include/std/locale,
215         include/std/map, include/std/memory, include/std/numeric,
216         include/std/ostream, include/std/queue, include/std/set,
217         include/std/sstream, include/std/stack, include/std/stdexcept,
218         include/std/streambuf, include/std/string, include/std/utility,
219         include/std/valarray, include/std/vector:  Rename to...
220
221         * include/std/std_algorithm.h, include/std/std_bitset.h,
222         include/std/std_complex.h, include/std/std_deque.h,
223         include/std/std_fstream.h, include/std/std_functional.h,
224         include/std/std_iomanip.h, include/std/std_ios.h,
225         include/std/std_iosfwd.h, include/std/std_iostream.h,
226         include/std/std_istream.h, include/std/std_iterator.h,
227         include/std/std_limits.h, include/std/std_list.h,
228         include/std/std_locale.h, include/std/std_map.h,
229         include/std/std_memory.h, include/std/std_numeric.h,
230         include/std/std_ostream.h, include/std/std_queue.h,
231         include/std/std_set.h, include/std/std_sstream.h,
232         include/std/std_stack.h, include/std/std_stdexcept.h,
233         include/std/std_streambuf.h, include/std/std_string.h,
234         include/std/std_utility.h, include/std/std_valarray.h,
235         include/std/std_vector.h:  ...this.
236
237 2002-01-11  Loren Rittle <ljrittle@acm.org>
238
239         * include/Makefile.am (extra_target_headers): New list of all
240         target files built with ad hoc naming rules.
241         (stamp-*): Handle LN_S failure in manner portable across make
242         implementations.
243         (install-data-local): Install header files from human-maintained
244         file lists and directory components instead of non-robust find.
245         * include/Makefile.in: Rebuilt.
246
247 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
248
249         * include/bits/locale_facets.tcc (money_get::do_get(string)):
250         Check for zero-length negative sign before adding it to output
251         string.
252         (money_get::do_get(long double)): Return beg.
253         * testsuite/22_locale/money_get_members_char.cc (test02): Add
254         iterator checks.
255         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
256         
257 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
258
259         libstdc++/5331
260         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
261         for _M_extract_float and _M_extract_int
262         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
263         (num_get<>::_M_extract_int): Likewise, all callers changed
264         * testsuite/22_locale/num_get_members_char.cc: Testcase
265
266 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
267
268         * libsupc++/exception (bad_exception): Add comment.
269         * libsupc++/new (bad_alloc): Same.
270         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
271
272 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
273
274         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
275         that the destructors should be removed from the descriptions
276         in the standard: writing them explicitly allows the vtable
277         heuristic to work. For additional information see:
278         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
279         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
280         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
281         * libsupc++/exception (bad_exception::~bad_exception()):
282         Reintroduce declaration.
283         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
284         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
285         (bad_typeid::~bad_typeid()): Same.
286         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
287         Reintroduce definition.
288         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
289         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
290         (bad_typeid::~bad_typeid()): Same.
291
292 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
293
294         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
295         * include/Makefile.in: Regenerate.
296         
297 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
298
299         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
300         definition.
301
302 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
303
304         libstdc++/2913
305         libstdc++/4879
306         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
307         return value of _M_file->sync().
308         (filebuf::showmanyc): Check for is_open.
309         * include/std/fstream (filebuf::sync): Tweak.
310         * testsuite/27_io/filebuf.cc: Tweak.
311
312 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
313             Brad Garcia  <garsh@attbi.com>
314         
315         * testsuite/27_io/filebuf_members.cc: Add test.
316         
317 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
318             Craig Rodrigues  <rodrigc@mediaone.net>
319
320         libstdc++/5174
321         * po/Makefile.am (mkinstalldirs): Add.
322         * po/Makefile.in: Regenerate.
323
324 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
325
326         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
327         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
328         compiler output.
329         * testsuite/23_containers/map_operators.cc: Remove
330         dg-excess-errors comment.
331         * testsuite/23_containers/set_operators.cc: Likewise.
332
333 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
334
335         * include/bits/stl_function.h:  Remove two lines of comments;
336         adjust copyright years.
337
338 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
339
340         * include/Makefile.am (std_headers): Remove cXXX from list.
341         (c_base_srcdir): No bits subdirectory.
342         (c_base_builddir): Same.
343         (c_base_headers): Adjust names, add ciso646.
344         (bits_headers): Remove std_xxx.h headers.
345         * include/Makefile.in: Regenerate.
346         
347         * include/ext/iterator: Adjust includes.
348         * include/ext/ropeimpl.h: Same.
349         * include/ext/stl_hash_fun.h: Same.
350         * include/ext/algorithm: Same.
351         
352         * include/backward/bvector.h: Adjust includes.
353         * include/backward/vector.h: Same.
354         * include/backward/strstream: Same.
355         * include/backward/streambuf.h: Same.
356         * include/backward/stack.h: Same.
357         * include/backward/set.h: Same.
358         * include/backward/queue.h: Same.
359         * include/backward/multiset.h: Same.
360         * include/backward/multimap.h: Same.
361         * include/backward/map.h: Same.
362         * include/backward/list.h: Same.
363         * include/backward/iterator.h: Same.
364         * include/backward/iostream.h: Same.
365         * include/backward/iomanip.h: Same.
366         * include/backward/fstream.h: Same.
367         * include/backward/deque.h: Same.
368         * include/backward/complex.h: Same.
369
370         * include/bits/std_algorithm.h: Move to...
371         * include/std/algorithm: ...here.
372         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
373         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
374         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
375         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
376         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
377         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
378         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
379         Same.
380         
381         * include/c_std/bits/std_cassert.h: Move to...
382         * include/c_std/cassert: Here.
383         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
384         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
385         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
386         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
387         std_cwctype.h: Same.
388         * include/c_std/cmath: Adjust cmath.tcc include.
389         * include/c_std/cstdlib: Adjust includes.
390         * include/c_std/cwchar: Same.
391         * include/c_std/ctime: Same.
392         * include/c_std/cstring: Same.
393         * include/c_std/cstdio: Same.
394         * include/c_std/bits: Remove directory.
395         
396         * include/c/bits/std_cassert.h: Move to...
397         * include/c/cassert: Here.
398         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
399         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
400         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
401         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
402         std_cwctype.h: Same.
403         * include/c/bits: Remove directory.
404         
405         * include/std/cwctype: Remove.
406         * include/std/cwchar: Remove.
407         * include/std/ctime: Remove.
408         * include/std/cstring: Remove.
409         * include/std/cstdlib: Remove.
410         * include/std/cstdio: Remove.
411         * include/std/cstddef: Remove.
412         * include/std/cstdarg: Remove.
413         * include/std/csignal: Remove.
414         * include/std/csetjmp: Remove.
415         * include/std/cmath: Remove.
416         * include/std/clocale: Remove.
417         * include/std/climits: Remove.
418         * include/std/ciso646: Remove.
419         * include/std/cfloat: Remove.
420         * include/std/cerrno: Remove.
421         * include/std/cctype: Remove.
422         * include/std/cassert: Remove.
423
424         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
425         files and subsituting <.xxx>
426         * include/bits/valarray_array.h: Same.
427         * include/bits/stl_uninitialized.h: Same.
428         * include/bits/stl_alloc.h: Same.
429         * include/bits/stl_algobase.h: Same.
430         * include/bits/sstream.tcc: Same.
431         * include/bits/pthread_allocimpl.h: Same.
432         * include/bits/ostream.tcc: Same.
433         * include/bits/localefwd.h: Same.
434         * include/bits/locale_facets.tcc: Same.
435         * include/bits/locale_facets.h: Same.
436         * include/bits/istream.tcc: Same.
437         * include/bits/char_traits.h: Same.
438         * include/bits/boost_concept_check.h: Same.
439         * include/bits/basic_file.h: Same.
440         * include/std/bitset: Same.
441         * include/std/complex: Same.
442         * include/std/fstream: Same.
443         * include/std/functional: Same.
444         * include/std/ios: Same.
445         * include/std/iostream: Same.
446         * include/std/ostream: Same.
447         * include/std/sstream: Same.
448         * include/std/streambuf: Same.
449         * include/std/string: Same.
450         * include/std/iterator: Same.
451         * include/std/valarray: Same.
452
453         * src/ios.cc: Adjust includes.
454         * src/valarray-inst.cc: Same.
455         * src/string-inst.cc: Same.
456         * src/stl-inst.cc: Same.
457         * src/stdexcept.cc: Same.
458         * src/misc-inst.cc: Same.
459         * src/localename.cc: Same.
460         * src/locale-inst.cc: Same.
461         * src/locale.cc: Same.
462         * src/limits.cc: Same.
463         * src/concept-inst.cc: Same.
464         * src/complex_io.cc: Same.
465         * src/codecvt.cc: Same.
466         * src/bitset.cc: Same.
467         * src/cmath.cc: Same.
468
469 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
470
471         * include/bits/stl_tree.h (rb_tree):  Move to...
472         * include/ext/rb_tree:  ...here, new file.
473         * include/Makefile.am (ext_headers):  Add new file.
474         * include/Makefile.in:  Regenerate.
475         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
476         return_temporary_buffer, struct temporary_buffer):  Move to...
477         * include/ext/memory:  ...here.
478         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
479         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
480         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
481
482 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
483
484         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
485         * include/ext/numeric:  ...here, new file.
486         * include/bits/stl_function.h (identity_element, unary_compose,
487         binary_compose, compose1, compose2, identity, select1st,
488         select2nd, project1st + helper, project2nd + helper,
489         constant_void_fun + helper, constant_unary_fun + helper,
490         costant_binary_fun + helper, constant0, constant1, constant2,
491         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
492         * include/ext/functional:  ...here, new file.
493         * include/Makefile.am (ext_headers):  Add new files.
494         * include/Makefile.in:  Regenerate.
495         * testsuite/ext/headers.cc:  Include <ext/numeric> and
496         <ext/functional>.
497         * include/backward/algo.h:  Include <ext/numeric>, tweak.
498         * include/backward/function.h:  Include <ext/functional>, tweak.
499         * include/ext/ropeimpl.h:  Include <ext/numeric>.
500
501 2002-01-03  Jeffrey A Law  <law@redhat.com>
502
503         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
504         __strtoull declarations with __extension__.
505
506 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
507
508         * testsuite/lib/prune.exp: Correct regular expression for
509         -ffunction-sections
510
511 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
512
513         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
514         Change concept checks, as with lower_bound and PR 2054.
515         * testsuite/ext/concept_checks.cc:  Expand test to include those.
516
517 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
518
519         * include/bits/boost_concept_check.h:  Import some changes from
520         upsteam (Boost) version.
521
522 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
523
524         * include/bits/stl_algobase.h (copy_n + helpers,
525         lexicographical_compare_3way + helpers):  Move to...
526         * include/ext/algorithm:  ...here.
527         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
528         helpers):  Move to...
529         * include/ext/memory:  ...here, new file.
530         * include/Makefile.am (ext_headers):  Add new file.
531         * include/Makefile.in:  Regenerate.
532         * testsuite/ext/headers.cc:  Include <ext/memory>.
533         * include/backward/algobase.h:  Include <ext/memory> and
534         <ext/algorithm>, tweak.
535         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
536         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
537
538 2002-01-01  Roger Sayle <roger@eyesopen.com>
539
540         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
541         equivalent ___builtin__ versions.
542
543         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
544         are available in libstdc++ as the necessary stub implementations
545         are provided by libmath/stubs.c.
546
547 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
548
549         * configure.in: Add support for NetBSD cross compiles.
550         * configure: Regenerate.
551
552 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
553
554         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
555         * testsuite/ext/headers.cc:  Add <ext/iterator>.
556
557 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
558
559         * include/backward/algo.h:  Add two more using declarations.
560         * include/backward/iterator.h:  Include <ext/iterator>,
561         add using declaration.
562         * include/ext/algorithm:  Add #pragma GCC system_header.
563
564 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
565
566         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
567         into standard 2-argument version.
568         * include/bits/stl_deque.h:  Likewise.
569         * include/bits/stl_tempbuf.h:  Likewise.
570         * include/bits/stl_tree.h:  Likewise.
571         * include/bits/stl_vector.h:  Likewise.
572         * include/ext/stl_hashtable.h:  Likewise.
573         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
574         * include/ext/iterator:  to here.  New file.
575         * include/Makefile.am (ext_headers):  Add new file, alphabatize.
576         * include/Makefile.in:  Regenerate.
577
578 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
579
580         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
581         Clean up spacing and indentation.
582
583 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
584
585         * include/ext/slist:  Move into __gnu_cxx,
586         tweak, add using declarations.
587
588 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
589
590         * include/ext/hash_map:  Move into __gnu_cxx,
591         tweak, add using declarations.
592         * include/ext/hash_set:  Ditto.
593         * include/ext/ropeimpl.h:  Ditto.
594         * include/ext/stl_hash_fun.h:  Ditto.
595         * include/ext/stl_hashtable.h:  Ditto.
596         * include/ext/stl_rope.h:  Ditto.
597         * src/ext-inst.cc: Tweak.
598         * testsuite/ext/rope.cc: Tweak.
599
600 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
601
602         * include/backward/algo.h:  Include <ext/algorithm>,
603         tweak using declarations.
604
605 2001-12-29  Richard Henderson  <rth@redhat.com>
606
607         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
608         * config/os/hpux/bits/cpu_limits.h: New file.
609         * configure.target (CPULIMITSH): Use it.
610
611 2001-12-28  Richard Henderson  <rth@redhat.com>
612
613         * config/cpu/ia64/bits/cpu_limits.h: New file.
614         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
615         * configure.target (CPULIMITSH): Use them.
616
617 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
618
619         * include/bits/c++config:  Move doxygen hook comment...
620         * docs/doxygen/doxygroups.cc:  ...to here.
621
622 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
623
624         PR libstdc++/2054
625         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
626         * testsuite/ext/concept_checks.cc:  New file.
627
628 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
629
630         * include/bits/stl_algo.h (count returning void,
631         count_if returning void, __random_sample, random_sample,
632         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
633         * include/ext/algorithm:  ...here, new file.
634         * include/Makefile.am (ext_headers):  Add new file.
635         * include/Makefile.in:  Regenerate.
636         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
637
638 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
639             Nathan Myers  <ncm@cantrip.org>
640
641         * include/bits/basic_string.h (insert(__pos, __s, __n)):
642         Optimize by avoiding temporaries and working in-place when possible.
643         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
644         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
645         * testsuite/21_strings/insert.cc (test02): New testcases.
646
647 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
648
649         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
650         * testsuite/23_containers/deque_ctor.cc:  New file.
651
652 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
653
654         * include/bits/locale_facets.tcc (collate::do_transform):
655         Adjust implicit typename.
656         * config/locale/messages_members_generic.h (messages::open,
657         messages::do_open, messages::do_get): Adjust implicit typename.
658         * config/locale/messages_members_gnu.h (messages::open,
659         messages::do_open, messages::do_get): Adjust Implicit typename.
660         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
661         messages::do_open, messages::do_get): Adjust implicit typename.
662
663 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
664
665         PR libstdc++/3829
666         * src/misc-inst.cc:  Many additional I/O-related instantiations.
667         * testsuite/27_io/instantiations.cc:  New file.
668
669 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
670
671         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
672         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
673         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
674         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
675
676         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
677         current to _M_current.
678         (back_insert_iterator): Uglify member container to _M_container.
679         (front_insert_iterator): Same.
680         (insert_iterator): Same.
681
682 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
683
684         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
685         macros for signed types; default value is true.
686         (numeric_limits<>::is_modulo): Get value from corresponding
687         __glibcpp_xxx_is_modulo macro.
688
689 2001-12-23  Jeffrey A Law  <law@redhat.com>
690
691         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
692         Twiddle return types for strtoll and strtoull to avoid using
693         intmax_t and uintmax-t.
694
695 2001-12-22  Richard Henderson  <rth@redhat.com>
696
697         * configure.target (CPULIMITSH): Fix typo in alpha case.
698
699 2001-12-22  Jeffrey A Law  <law@redhat.com>
700
701         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
702         for strtoll and strtoull.
703
704 2001-12-21  Jeffrey A Law  <law@redhat.com>
705
706         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
707         Define strtoll and strtoull.  Provide prototypes for
708         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
709         unconditionally.
710
711         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
712
713         * configure.target: Fix typo in hpux case.
714
715 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
716
717         * include/ext/stl_rope.h (_Rope_iterator):
718         Add local typedef to fix implicit typename problems.
719
720 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
721
722         * docs/doxygen/Intro.3:  New 'Allocators' module.
723         * docs/doxygen/TODO:  Update.
724         * docs/doxygen/doxygroups.cc:  Update.
725         * docs/doxygen/run_doxygen:  Update.
726
727         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
728         * include/bits/std_memory.h:  Doxygenate.
729         * include/bits/stl_iterator_base_types.h:  Likewise.
730         * include/bits/stl_raw_storage_iter.h:  Likewise.
731         * include/bits/stl_tempbuf.h:  Likewise.
732         (get_temporary_buffer):  Remove unused nonstandard overload.
733         * include/bits/stl_uninitialized.h:  Likewise.
734
735         * include/bits/stl_iterator_base_types.h (input_iterator,
736         output_iterator, forward_iterator, bidirectional_iterator,
737         random_access_iterator):  Move old names...
738         * include/backward/iterator.h:  ...to here.
739         * include/bits/stl_bvector.h:  Update.
740         * include/ext/stl_rope.h:  Update.
741
742 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
743
744         * docs/html/configopts.html:  Describe recent options.
745         * docs/html/documentation.html:  Point to new doxygen tarballs.
746         * docs/html/install.html:  Brief updates.
747         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
748         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
749         * docs/html/faq/index.html:  Update for 3.0.95.
750         * docs/html/faq/index.txt:  Regenerate.
751
752 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
753
754         libstdc++-v3/5148
755         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
756         executable filenames
757
758 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
759
760         * docs/html/17_intro/TODO: Update.
761         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
762         * README: Edit for clarity, update to reflect current directory
763         structure.
764
765 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
766
767         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
768         enabling gnu model.
769         * aclocal.m4: Rebuild.
770         * configure: Rebuild.
771
772 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
773             Nathan Myers  <ncm@cantrip.org>
774
775         * include/bits/basic_string.h (assign(__str, __pos, __n)):
776         Call assign(__s, __n).
777         (assign(__s, __n)): Terminate the string with _S_terminal.
778
779 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
780
781         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
782         Set to true, like float and double.
783
784 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
785
786         libstdc++/5136
787         * testsuite/lib/prune.exp: New file
788         * testsuite/lib/libstdc++-v3-dg.exp: Use it
789
790 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
791
792         * include/bits/basic_file.h (__basic_file::fd):  New function.
793         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
794         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
795         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
796         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
797
798 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
799
800         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
801         * po/Makefile.in: Regenerated.
802
803 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
804
805         * testsuite/21_strings/assign.cc (test01): Add tests.
806
807 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
808             Nathan Myers  <ncm@cantrip.org>
809
810         * include/bits/basic_string.h
811         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
812         by avoiding unnecessary temporaries.
813         (assign(__s)): Call assign(__s, __n).
814         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
815         * include/bits/std_string.h: include stl_function.h.
816         * testsuite/21_strings/assign.cc (test02, test03): New tests.
817
818 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
819
820         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
821         on linux by default.
822         * aclocal.m4: Regenerate.
823         * configure: Regenerate.
824
825 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
826
827         Clean up initialization and simplfy caching of underlying "C"
828         default locale objects.
829         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
830         Unconditionally create __clocale object for all named locales,
831         including "C" and "POSIX".
832         * config/locale/c_locale_generic.cc
833         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
834         * config/locale/c_locale_gnu.cc: Always delete.
835         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
836         * src/locale.cc (locale::classic()): Initialize
837         locale::facet::_S_c_locale.
838         (locale::facet::_S_c_locale): Define.
839
840         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
841         specialization.
842         * src/locale.cc: Add definition here.
843         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
844         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
845         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
846         Adjust ctors, dtors.
847         (ctype<char>::_M_toupper): Remove const&.
848         (ctype<char>::_M_tolower): Remove const&.
849         (ctype<char>::_M_ctable): Remove const&.
850
851         * include/bits/locale_facets.h (collate): Clean up initialization
852         of _M_c_locale_collate in ctors and dtors.
853         * config/locale/collate_members_gnu.cc: Always use extended
854         functions.
855
856         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
857         (messages_byname): Same.
858         * config/locale/messages_members_generic.h (messages::~messages):
859         Remove.
860         * config/locale/messages_members_gnu.h: Same.
861
862         * include/bits/localefwd.h: Clean. Move dtor definitions to
863         * src/locale.cc: Here.
864         * testsuite/22_locale/facet.cc: Fix spelling.
865
866         Named locale support for ctype<wchar_t>.
867         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
868         ctype_members_* bits.
869         * aclocal.m4: Regenerate.
870         * configure: Regenerate.
871         * src/Makefile.am (sources): Add ctype.cc.
872         * src/Makefile.in: Regenerate.
873         * config/locale/ctype_members_generic.cc: New file.
874         * config/locale/ctype_members_gnu.cc: New file.
875         * src/locale.cc: Remove ctype<wchart_t> definitions.
876
877 2001-12-13  Roger Sayle <roger@eyesopen.com>
878
879         * acconfig.h: Test for __builtin_sqrt instead of
880         __builtin_fsqrt.
881         * acinclude.m4: Same.
882         * include/c_shadow/bits/std_cmath.h: Same.
883         * aclocal.m4: Regenerated.
884         * config.h.in: Regenerated.
885         * configure: Regenerated.
886
887 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
888
889         * docs/html/ext/howto.html:  Fix typos.
890
891 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
892
893         libstdc++/3679
894         * src/locale.cc (locale::locale(const char*)): Deal with locales
895         named "".
896         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
897
898 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
899
900         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
901         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
902         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
903         : Adjust implicit typename.
904         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
905         Adjust implicit typename.
906         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
907
908 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
909
910         Named locale support for ctype<char>.
911         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
912         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
913         definitions for alternate constructor.
914         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
915         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
916         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
917         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
918         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
919         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
920         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
921         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
922         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
923         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
924         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
925         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
926         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
927         definitions for all virtual functions. These are now explicitly
928         undefined for non-required factets, ie any non-char, non-wchar_t
929         instantiations.
930         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
931         locales use alternate constructor for ctype facet.
932         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
933         mask*, bool, size_t): Add.
934         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
935         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
936         definition.
937
938         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
939         XFAIL for non-gnu locale models.
940
941 2001-12-12  Philip Martin  <philip@codematters.co.uk>
942             Ross Smith     <r-smith@ihug.co.nz>
943             Paolo Carlini  <pcarlini@unitus.it>
944
945         libstdc++/5045
946         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
947         Fix digits10 values for integral types.
948         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
949         Tweak _M_extract_int call.
950         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
951         Tweak overflowing number of digits.
952         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
953
954 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
955
956         * config/os/generic/bits/ctype_inline.h: Remove spaces.
957         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
958         * include/bits/locale_facets.h (__num_base): Move double data
959         members to first in class.
960         * include/bits/locale_facets.tcc: Re-arrange, tweak.
961         * src/locale.cc: Clean.
962         *include/bits/stl_vector.h: Space typedefs.
963
964 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
965
966         * testsuite/ext/allocators.cc:  New file.
967
968 2001-12-11  Jason Merrill  <jason@redhat.com>
969
970         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
971         uninitialized warning.
972
973 2001-12-11  Loren Rittle <ljrittle@acm.org>
974
975         * config/cpu/sparc/sparc32/bits/atomicity.h
976         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
977
978 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
979
980         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
981         * include/bits/basic_string.h:  Fix typos.
982
983 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
984             Nathan Myers  <ncm@cantrip.org>
985
986         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
987         (_M_replace(input_iterator_tag), append members):  Use it.
988         (_M_replace(forward_iterator_tag)):  Remove.
989         * include/bits/basic_string.h:  Adjust declarations.
990         * src/string-inst.cc:  Adjust declarations.
991
992 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
993             Philip Martin <pmartin@uklinux.net>
994
995         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
996         (__num_base::_S_scale_oct): Add.
997         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
998         * src/locale.cc: Add definitions.
999         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1000
1001         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1002
1003 2001-12-07  Nathan Myers  <ncm@cantrip.org>
1004             Loren Rittle <ljrittle@acm.org>
1005
1006         libstdc++/5037
1007         * config/cpu/sparc/sparc32/bits/atomicity.h
1008         (struct __Atomicity_lock<__inst>): Add.
1009         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1010         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1011         instead of lock local to static function.
1012         (__atomic_add): Likewise.
1013
1014 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
1015
1016         * src/globals.cc:  Remove __GTHREADS guard.
1017
1018 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1019
1020         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1021         Extend comment, reduce __cs_size for non-fixed outputs.
1022
1023 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1024
1025         * include/bits/basic_string.tcc (_M_mutate): Fix typo
1026         in the previous check in.
1027
1028 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
1029             Loren J. Rittle <ljrittle@acm.org>
1030
1031         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1032         exponential growth policy to meet linear amortized time
1033         requirements of the standard.
1034         (_S_create): Adjust comment.
1035
1036 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
1037
1038         libstdc++/3720
1039         * include/bits/locale_facets.tcc (num_put): Clean.
1040         (num_get::_M_extract_float): Change argument to string.
1041         (num_get::do_get(float)): Fixup.
1042         (num_get::do_get(double)): Same.
1043         (num_get::do_get(long double)): Same.
1044         (num_get::_M_extract_int): Add maximum length parameter, __max.
1045         (num_get::_M_extract_float): Correct zeros, use string.
1046         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1047         declaration here.
1048         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1049         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1050
1051 2001-12-06  Philip Martin  <pmartin@uklinux.net>
1052
1053         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1054         tests for excess input digits.
1055
1056 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
1057
1058         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
1059         * include/bits/stl_algo.h:  Likewise.
1060         * include/bits/stl_algobase.h:  Likewise.
1061         * include/bits/stl_bvector.h:  Likewise.
1062         * include/bits/stl_deque.h:  Likewise.
1063         * include/bits/stl_function.h:  Likewise.
1064         * include/bits/stl_iterator.h:  Likewise.
1065         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1066         * include/bits/stl_iterator_base_types.h:  Likewise.
1067         * include/bits/stl_list.h:  Likewise.
1068         * include/bits/stl_multimap.h:  Likewise.
1069         * include/bits/stl_multiset.h:  Likewise.
1070         * include/bits/stl_pair.h:  Likewise.
1071         * include/bits/stl_queue.h:  Likewise.
1072         * include/bits/stl_set.h:  Likewise.
1073         * include/bits/stl_stack.h:  Likewise.
1074         * include/bits/stl_tempbuf.h:  Likewise.
1075         * include/bits/stl_tree.h:  Likewise.
1076         * include/bits/stl_vector.h:  Likewise.
1077
1078         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
1079         Doxygenate more comments.  Correct historical artifacts in comments.
1080         (alloc, single_alloc):  Uglify non-standard names.
1081         (__default_alloc_template::_NFREELISTS):  Calculate from other
1082         parameters.
1083         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
1084         (__default_alloc_template::_Lock):  Mark as "unused".
1085         * include/backward/alloc.h:  Update.
1086         * include/bits/stl_bvector.h:  Likewise.
1087         * include/ext/ropeimpl.h:  Likewise.
1088         * include/ext/stl_hashtable.h:  Likewise.
1089
1090 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
1091
1092         DR/282
1093         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1094         grouping to floating point types.
1095         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1096
1097 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
1098
1099         libstdc++/4402
1100         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1101         from the PR.
1102         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1103         Deal properly with long ios_base::fixed floats.
1104         (num_put::_M_widen_float): use
1105         __len in __builtin_alloca call.
1106
1107 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
1108
1109         * src/Makefile.am (sources): Add ext-inst.cc.
1110         * src/Makefile.in: Regenerate.
1111         * src/ext-inst.cc: New file.
1112         * include/bits/stl_threads.h: Format.
1113         * src/globals.cc: Add instantiation for _S_swap_lock.
1114
1115         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1116         instantiation.
1117
1118 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1119
1120         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1121         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1122         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1123         for explicit instantiation of class std::basic_string<char,
1124         gnu_char_traits, std::allocator<char> >.
1125
1126 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1127
1128         * testsuite/22_locale/collate.cc: Compile-only.
1129         * testsuite/22_locale/time_get.cc: Same.
1130         * testsuite/22_locale/time_put.cc: Same.
1131         * testsuite/22_locale/numpunct.cc: Same.
1132         * testsuite/22_locale/num_put.cc: Same.
1133         * testsuite/22_locale/num_get.cc: Same.
1134         * testsuite/22_locale/moneypunct.cc: Same.
1135         * testsuite/22_locale/money_get.cc: Same.
1136         * testsuite/22_locale/messages.cc: Same.
1137         * testsuite/22_locale/ctype.cc: Same.
1138
1139 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1140
1141         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1142         member instantiations.
1143
1144 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
1145
1146         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1147         combine common linux/hpux/generic cross compile support to reduce
1148         redundent lines.
1149         * libstdc++-v3/configure: Regenerate.
1150
1151 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
1152
1153         * docs/html/ext/howto.html: Update commentary.
1154         * include/bits/c++config: Update threading configuration comment.
1155         (__STL_GTHREADS): Remove macro definition.
1156         (__STL_THREADS): Likewise.
1157         * include/bits/stl_threads.h: Leave only the configuration
1158         path which had been guarded by __STL_GTHREADS.  Remove all
1159         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1160         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1161         * include/bits/stl_alloc.h: Leave only the configuration path
1162         which had been guarded by __STL_THREADS.  Remove configuration
1163         path and guards for __STL_SGI_THREADS.
1164         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
1165         (__NODE_ALLOCATOR_LOCK): Likewise.
1166         (__NODE_ALLOCATOR_UNLOCK): Likewise.
1167         (_NOTHREADS): Remove guards related to macro.
1168         * include/ext/stl_rope.h: Remove configuration path and guards
1169         for __STL_SGI_THREADS.
1170         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1171
1172 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
1173
1174         * docs/html/ext/howto.html:  Update list of implemented DRs.
1175         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
1176         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
1177
1178 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
1179
1180         libstdc++/3150
1181         DR/266
1182         * libsupc++/exception (bad_exception::~bad_exception()): Remove
1183         declaration.
1184         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1185         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1186         (bad_typeid::~bad_typeid()): Remove.
1187         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1188         (bad_typeid::~bad_typeid()): Same.
1189         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1190         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1191
1192         * include/bits/std_iomanip.h: Tweak.
1193
1194 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
1195
1196         libstdc++/3655
1197         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1198         correctly pad internal-adjusted const char*-type objects.
1199         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1200         * include/bits/ostream.tcc (operator<<(_CharT , char, const
1201         _CharT*, const char*, const basic_string&): Update calls.
1202         * src/locale-inst.tcc: Update declarations.
1203         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1204
1205 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
1206
1207         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
1208
1209 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
1210
1211         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1212         Fix __traits_type typo.
1213
1214 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
1215
1216         * include/bits/locale_facets.tcc (__pad): Correctly pad
1217         internal-adjusted hex numbers.
1218         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1219
1220 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
1221             Loren J. Rittle <ljrittle@acm.org>
1222
1223         * include/bits/basic_string.h
1224         (basic_string::_Rep::__default_excess, _S_excess_slop):
1225         Unused, remove.
1226         * include/bits/basic_string.tcc: Remove dead code.
1227         * include/bits/c++config: Remove comment.
1228
1229 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
1230             Jakub Jelinek  <jakub@redhat.com>
1231
1232         * config/locale/moneypunct_members_gnu.cc
1233         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1234         for ia64, others.
1235         * config/locale/numpunct_members_gnu.cc
1236         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1237
1238 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1239
1240         * include/bits/locale_facets.tcc: Formatting tweaks.
1241
1242         * testsuite/23_containers/map_operators.cc: Don't xfail.
1243         * testsuite/23_containers/set_operators.cc: Same.
1244         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1245         * testsuite/backward/header_deque_h.cc: Same.
1246
1247 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
1248             Paolo Carlini  <pcarlini@unitus.it>
1249
1250         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1251         Enforce allocation size blocking policy to reduce
1252         fragmentation and enhance performance with common malloc
1253         implementations.
1254
1255 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1256
1257         Numeric facets cleanup.
1258         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1259         + and - signs.
1260         (__num_base::_M_zero): Add
1261         (__num_base::_M_e): Add.
1262         (__num_base::_M_E): Add.
1263         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1264         (num_get::_M_extract_float): New.
1265         (num_get::_M_extract_int): New.
1266         * src/locale.cc (num_get::_M_extract): Remove.
1267
1268         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1269         Simplify, use _M_insert.
1270         (num_put::do_put(bool)): Simplify, remove __pad.
1271         (__pad): Remove.
1272         (__pad_output): Change to __pad.
1273         * include/bits/ostream.tcc: And here.
1274         * src/locale-inst: Remove instantiations.
1275
1276         * include/bits/locale_facets.h: Move helper functions in to class
1277         num_put.
1278         (num_put::_M_insert_float): Same, for __output_integer.
1279         (num_put::_M_insert_int): Same, for __output_float.
1280         (num_put::_M_insert): New.
1281         (__num_base): Add.
1282         (__num_base::_S_format_float): Move
1283         __build_float_format into class __num_base.
1284         (__num_base::_S_format_int): Move __build_int_format into class
1285         __num_base.
1286         * include/bits/locale_facets.tcc (__group_digits): Change to
1287         (__add_grouping): This.
1288         * src/locale-inst.cc: And here. Tweak instantiations.
1289         * src/misc-inst.cc: Remove instantiations.
1290
1291         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1292         for new calling conventions, move to...
1293         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1294         signature to make it useful for both ostream and num_put.
1295         (__pad_numeric): Remove.
1296         * src/misc-inst.cc: Remove instantiations.
1297         * src/locale-inst.cc: Same.
1298
1299         * include/bits/locale_facets.h (_Numeric_get): Remove.
1300         (_Numeric_put): Remove.
1301         (num_get::get(short)): Remove.
1302         (num_get::get(int)): Remove.
1303         (num_get::do_get(short)): Remove.
1304         (num_get::do_get(int)): Remove.
1305         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1306         per DR 118.
1307         (istream::operator>>(int)): Same.
1308
1309         * include/bits/locale_facets.h (_Format_cache): Remove.
1310         * include/bits/locale_facets.tcc: Same.
1311         * src/locale.cc: Same.
1312         * src/locale-inst.cc: Same.
1313         * include/bits/ostream.tcc: Same.
1314         * src/ios.cc (ios_base::imbue): Remove here as well.
1315
1316         * testsuite/22_locale/num_get.cc: New file.
1317         * testsuite/22_locale/num_get_members_char.cc: New file.
1318         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1319         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1320         * testsuite/22_locale/num_put.cc: New file.
1321         * testsuite/22_locale/num_put_members_char.cc: New file.
1322         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1323         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1324         * testsuite/27_io/istream_extractor_arith.cc: Fix.
1325
1326 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
1327
1328         * docs/html/explanations.html:  New section, empty for now.
1329         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
1330         * docs/html/23_containers/howto.html:  ...to here.  Break up and
1331         rewrap threading discussion to emphasize warning.  Move malloc text...
1332         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
1333         allocators and __USE_MALLOC effects.
1334         * docs/html/ext/sgiexts.html:  Mention their code.
1335
1336 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1337
1338         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1339         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1340         changes.
1341
1342 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
1343
1344         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
1345         * Makefile.in:  Regenerated.
1346         * docs/doxygen/TODO:  New file listing doxygen work to be done.
1347         * docs/doxygen/run_doxygen:  Fix up man pages.
1348         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
1349         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
1350         * include/bits/stl_construct.h:  Use new hooks for internal functions.
1351
1352         * docs/html/17_intro/TODO:  Small updates.
1353         * docs/html/faq/index.html:  Likewise.
1354         * docs/html/faq/index.txt:  Regenerated.
1355
1356         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
1357         SGI-isms and wrappers.
1358         (simple_alloc, debug_alloc):  Uglify class names.
1359         (__default_alloc_template):  Uglify "threads" template parameter and
1360         update corresponding macros.
1361         * include/backward/alloc.h:  Bring up to date.
1362
1363 2001-11-23  Jason Merrill  <jason@redhat.com>
1364
1365         * src/vterminate.cc (__verbose_terminate_handler): Add leading
1366         underscores.
1367
1368 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1369
1370         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1371         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1372         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1373         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1374         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1375         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1376         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1377         docs/html/21_strings/howto.html,
1378         docs/html/23_containers/howto.html,
1379         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1380         docs/html/27_io/binary_iostreams_kuehl.txt,
1381         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1382         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1383         include/bits/basic_file.h, include/bits/locale_facets.h,
1384         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1385         include/ext/ropeimpl.h, include/ext/stl_rope.h,
1386         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1387         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1388         configure.target, ChangeLog-2000: Fix spelling errors.
1389
1390         * config/locale/moneypunct_members_gnu.cc,
1391         include/bits/locale_facets.h: Fix spelling errors.
1392
1393 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1394
1395         * testsuite/23_containers/list_capacity.cc: New file.
1396         * testsuite/23_containers/list_ctor.cc: New file.
1397         * testsuite/23_containers/list_modifiers.cc: New file.
1398         * testsuite/23_containers/list_operators.cc: New file.
1399
1400 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1401
1402         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1403         (size): Replaced nonstandard distance() call with the standard one.
1404         (transfer): Uglified to _M_transfer.
1405
1406 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
1407
1408         PR libstdc++/4548
1409         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
1410         below the current size.
1411         * testsuite/21_strings/capacity.cc (test02):  Add test.
1412
1413 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
1414
1415         * docs/doxygen/Intro.3:  More notes.
1416         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
1417         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
1418         * include/ext/hash_map:  Add @file hook.
1419         * include/ext/hash_set:  Likewise.
1420         * include/ext/rope:  Likewise.
1421         * include/ext/ropeimpl.h:  Likewise.
1422         * include/ext/slist:  Likewise.
1423         * include/ext/stl_hash_fun.h:  Likewise.
1424         * include/ext/stl_hashtable.h:  Likewise.
1425         * include/ext/stl_rope.h:  Likewise.
1426
1427         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
1428         * docs/html/19_diagnostics/howto.html:  Document new verbose
1429         terminate handler.
1430         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
1431         to more visible (closer to description) position.
1432
1433         * libsupc++/eh_type.cc:  Formatting tweak.
1434         * libsupc++/exception:  Likewise.
1435         * src/vterminate.cc:  Likewise.
1436
1437         * docs/html/17_intro/porting.html:  Regenerate.
1438         * docs/html/faq/index.txt:  Regenerate.
1439
1440 2001-11-18  Jason Merrill  <jason@redhat.com>
1441
1442         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1443         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1444         * libsupc++/unwind-cxx.h: Adjust.
1445         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1446
1447         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1448         * libsupc++/cxxabi.h: Declare it.
1449         * libsupc++/Makefile.am (sources): Add it.
1450         * src/vterminate.cc (verbose_terminate_handler): New file.
1451         * libsupc++/exception: Declare it.
1452         * src/Makefile.am (sources): Add it.
1453
1454         * src/Makefile.am (VPATH): Check the src directory before the top one.
1455
1456 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
1457
1458         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
1459
1460 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
1461
1462         * docs/html/17_intro/howto.html (Thread-safety): Rename
1463         section to ``The Standard C++ library and multithreading'' and
1464         update information based on recent mailing list traffic.  Move
1465         all discussion of __USE_MALLOC to...
1466         * docs/html/23_containers/howto.html (Containers and multithreading):
1467         ...here and rework it based on recent mailing list traffic.
1468
1469 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
1470
1471         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1472         wording.
1473
1474 2001-11-15  <bjornw@planetarion.com>
1475             Loren J. Rittle  <ljrittle@acm.org>
1476
1477         libstc++/4219
1478         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1479         (single_client_alloc): Likewise.
1480
1481 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
1482
1483         * configure.target: Add os_include_dir for mingw32* target.
1484         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1485         from _GLIBCPP_AVOID_FSEEK.
1486         * config/os/mingw32/bits/ctype_base.h: New file.
1487         * config/os/mingw32/bits/ctype_inline.h: New file.
1488         * config/os/mingw32/bits/ctype_noninline.h: New file.
1489         * config/os/mingw32/bits/os_defines.h: New file.
1490
1491 2001-11-07  Nathan Myers  <ncm@cantrip.org>
1492
1493         * docs/html/faq/index.html (5.8):  New entry on ABIs.
1494         * docs/html/faq/index.txt:  Regenerate.
1495
1496 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
1497
1498         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
1499         bugfixes on Solaris.
1500         * docs/html/faq/index.txt:  Regenerate.
1501
1502 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
1503
1504         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
1505         LANG_CPLUSPLUS mode.
1506         * aclocal.m4:  Regenerate.
1507         * configure:  Regenerate.
1508
1509 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
1510
1511         * porting.texi:  Move...
1512         * docs/html/17_intro/porting.texi:  ...to here.
1513         * docs/html/Makefile:  Add rule to rebuild...
1514         * docs/html/17_intro/porting.html:  ...this.  New file.
1515
1516 2001-11-05  Felix Natter  <fnatter@gmx.net>
1517
1518         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
1519         * docs/html/17_intro/porting-howto.html:  regenerate
1520
1521 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
1522
1523         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1524         when platform supports __GTHREAD_MUTEX_INIT.
1525
1526 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1527
1528         * acconfig.h:  Update comments.
1529         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
1530         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
1531         * aclocal.m4:  Regenerate.
1532         * config.h.in:  Regenerate.
1533         * configure:  Regenerate.
1534
1535         * include/bits/boost_concept_check.h:  Unconditionally compile uses
1536         of 'long long' which require only compiler support, not C lib support.
1537         * include/bits/cpp_type_traits.h:  Likewise.
1538         * include/bits/std_limits.h:  Likewise.
1539         * include/bits/type_traits.h:  Likewise.
1540         * src/concept-inst.cc:  Likewise.
1541         * src/limits.cc:  Likewise.
1542         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
1543         instead of _GLIBCPP_USE_LONG_LONG.
1544         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
1545
1546 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1547
1548         * config/io/c_io_stdio.h:  Correct grammar in comments.
1549         * docs/doxygen/Intro.3:  Expand "top-level" man page.
1550         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1551         * docs/doxygen/mainpage.doxy:  Tweaks.
1552         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1553
1554         Add @file hooks so that headers are considered to be documented.
1555         * include/bits/basic_ios.h, include/bits/basic_file.h,
1556         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1557         include/bits/char_traits.h, include/bits/codecvt.h,
1558         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1559         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1560         include/bits/indirect_array.h, include/bits/ios_base.h,
1561         include/bits/locale_facets.h, include/bits/localefwd.h,
1562         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1563         include/bits/slice.h, include/bits/slice_array.h,
1564         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1565         include/bits/std_complex.h, include/bits/std_deque.h,
1566         include/bits/std_fstream.h, include/bits/std_functional.h,
1567         include/bits/std_iomanip.h, include/bits/std_ios.h,
1568         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1569         include/bits/std_istream.h, include/bits/std_iterator.h,
1570         include/bits/std_limits.h, include/bits/std_list.h,
1571         include/bits/std_locale.h, include/bits/std_map.h,
1572         include/bits/std_memory.h, include/bits/std_numeric.h,
1573         include/bits/std_ostream.h, include/bits/std_queue.h,
1574         include/bits/std_set.h, include/bits/std_sstream.h,
1575         include/bits/std_stack.h, include/bits/std_streambuf.h,
1576         include/bits/std_string.h, include/bits/std_utility.h,
1577         include/bits/std_valarray.h, include/bits/std_vector.h,
1578         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1579         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1580         include/bits/stl_deque.h, include/bits/stl_heap.h,
1581         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1582         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1583         include/bits/stl_map.h, include/bits/stl_multimap.h,
1584         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1585         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1586         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1587         include/bits/stl_relops.h, include/bits/stl_set.h,
1588         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1589         include/bits/stl_threads.h, include/bits/stl_tree.h,
1590         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1591         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1592         include/bits/stringfwd.h, include/bits/type_traits.h,
1593         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1594         Add hooks, tweak comments only.
1595
1596         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1597         document these functions.
1598         * include/bits/stl_function.h:  Tweak link comments.
1599
1600 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1601             Benjamin Kosnik  <bkoz@redhat.com>
1602
1603         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1604         output.
1605         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1606
1607 2001-11-01  Egor Duda  <deo@logos-m.ru>
1608
1609         * config/os/newlib/bits/ctype_noninline.h
1610         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1611         (ctype<char>::do_tolower(char __c)): Ditto.
1612
1613 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1614
1615         * acinclude.m4:  Fix spacing.
1616         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1617         * configure.in:  Call here.
1618         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1619         * include/bits/boost_concept_check.h:  Fix headers.
1620         (__function_requires):  Make inline.
1621         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1622         * aclocal.m4:  Regenerate.
1623         * config.h.in:  Regenerate.
1624         * configure:  Regenerate.
1625
1626         Move trailing ';' inside macro, PR libstdc++/3666.
1627         * include/bits/concept_check.h:  Add semicolon.
1628         * include/bits/stl_algo.h:  Remove semicolon.
1629         * include/bits/stl_algobase.h:  Likewise.
1630         * include/bits/stl_deque.h:  Likewise.
1631         * include/bits/stl_heap.h:  Likewise.
1632         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1633         * include/bits/stl_list.h:  Likewise.
1634         * include/bits/stl_map.h:  Likewise.
1635         * include/bits/stl_multimap.h:  Likewise.
1636         * include/bits/stl_multiset.h:  Likewise.
1637         * include/bits/stl_numeric.h:  Likewise.
1638         * include/bits/stl_queue.h:  Likewise.
1639         * include/bits/stl_set.h:  Likewise.
1640         * include/bits/stl_stack.h:  Likewise.
1641         * include/bits/stl_vector.h:  Likewise.
1642         * include/ext/hash_map:  Likewise.
1643         * include/ext/hash_set:  Likewise.
1644         * include/ext/slist:  Likewise.
1645
1646         * src/concept-inst.cc:  New file with explicit instantiations.
1647         * src/Makefile.am (sources):  Add here, with special build rules.
1648         * src/Makefile.in:  Regenerate.
1649
1650 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1651
1652         * include/bits/std_complex.h (_Norm_helper): New class template.
1653         (norm): Tweak.
1654         (abs): Tweak. Fix Thinko.
1655
1656 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1657
1658         libstdc++/4749
1659         * include/bits/codecvt.h: Add virtual member function declarations.
1660         * src/codecvt.cc: Tweaks.
1661         * testsuite/22_locale/codecvt.cc: Test compilation only,
1662         non-required facets not required to have linkage.
1663
1664 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1665
1666         libstdc++/4622
1667         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1668
1669 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1670             Benjamin Kosnik  <bkoz@redhat.com>
1671
1672         libstdc++/4354
1673         * include/bits/basic_string.h: Tweaks.
1674         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1675         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1676         * src/string-inst.cc: Tweaks, add instantiation.
1677         * testsuite/21_strings/replace.cc (test02): Add test.
1678         * testsuite/21_strings/assign.cc (test01): New file.
1679
1680 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1681
1682         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1683         __throw_exception_again.
1684         (_M_new_elements_at_back): Likewise.
1685
1686 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1687
1688         libstdc++/3647
1689         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1690         * testsuite/27_io/filebuf.cc (test07): New test.
1691         (test03): Modify showmanyc test.
1692
1693 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1694
1695         libstdc++/4503
1696         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1697         (__enc_traits::~__enc_traits): Fix.
1698         (__enc_traits::_M_init): Add error checking.
1699
1700 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1701
1702         libstdc++/4542
1703         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1704
1705 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1706
1707         libstdc++/4545
1708         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1709         exceptions.
1710         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1711         consistent, where possible.
1712         * include/bits/streambuf.tcc: Tweak.
1713
1714 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1715
1716         libstdc++/4536
1717         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1718         * bits/istream.tcc (seekg): Likewise.
1719
1720 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1721             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1722             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1723
1724         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1725         __s390x__ only.
1726         * include/bits/std_limits.h: Fix wchar_t issues.
1727         * config/os/aix/bits/os_defines.h: Fix.
1728
1729 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1730
1731         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1732
1733 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1734
1735         * docs/html/documentation.html:  Fix typo.
1736
1737 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1738
1739         Make -fno-exceptions work.
1740         * config/locale/c_locale_gnu.cc: Use functexcept.
1741         * include/bits/c++config (__stl_assert): Remove.
1742         (__STL_USE_EXCEPTIONS): Same.
1743         (__STL_TRY): Same.
1744         (__STL_CATCH_ALL): Same.
1745         (__STL_THROW): Same.
1746         (__STL_RETHROW): Same.
1747         (__STL_NOTHROW): Same.
1748         (__STL_UNWIND): Same.
1749         * include/bits/pthread_allocimpl.h: Fix.
1750         * include/bits/std_bitset.h: Same.
1751         * include/bits/std_list.h: Same.
1752         * include/bits/std_memory.h: Same.
1753         * include/bits/std_queue.h: Same.
1754         * include/bits/stl_alloc.h: Same.
1755         * include/bits/stl_deque.h: Same.
1756         * include/bits/stl_list.h: Same.
1757         * include/bits/stl_queue.h: Same.
1758         * include/bits/stl_tempbuf.h: Same.
1759         * include/bits/stl_tree.h: Same.
1760         * include/bits/stl_uninitialized.h: Same.
1761         * include/bits/stl_vector.h: Same.
1762         * include/ext/ropeimpl.h: Same.
1763         * include/ext/slist: Same.
1764         * include/ext/stl_hashtable.h: Same.
1765         * include/ext/stl_rope.h: Same.
1766         * libsupc++/new_op.cc: Include cstdlib.
1767         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1768         __throw_exception_again, tweak.
1769         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1770         * libsupc++/vec.cc: Tweak.
1771         * src/functexcept.cc: Remove unused arguments.
1772         * testsuite/23_containers/bitset_members.cc: Tweak.
1773
1774 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1775
1776         * config/cpu/i386/bits/limits.h: Move to...
1777         * config/cpu/i386/bits/cpu_limits.h: ...here.
1778         * config/cpu/cris/bits/cpu_limits.h: Same.
1779         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1780         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1781         * config/cpu/alpha/bits/cpu_limits.h: New.
1782         * config/cpu/m68k/bits/cpu_limits.h: New.
1783         * config/cpu/s390/bits/cpu_limits.h: New.
1784         * config/os/aix/bits/os_defines.h: Tweaks.
1785         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1786         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1787         * config/os/djgpp/bits/os_defines.h: Same.
1788         * config/os/generic/bits/os_defines.h: Same.
1789         * config/os/gnu-linux/bits/os_defines.h: Same.
1790         * config/os/hpux/bits/os_defines.h: Same.
1791         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1792         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1793         * config/os/newlib/bits/os_defines.h: Same.
1794         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1795         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1796         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1797
1798         * include/bits/c++config: Remove include.
1799         * include/bits/limits_generic.h: Remove.
1800         * include/bits/std_limits.h: Include cpu_limits.h.
1801         * include/Makefile.am: Fixup.
1802         * src/limits.cc: Tweak.
1803         * src/limits_generic.cc: Remove.
1804         * src/gen-num-limits.cc: Remove.
1805         * mknumeric_limits: Remove.
1806
1807 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1808
1809         * bits/type_traits.h (_Bool): Removed this type.
1810         (__true_type, __false_type): Change to be plain structs.
1811         * src/string-inst.cc (__destroy_aux): Change third parm to be
1812         __false_type instead of _Bool<false>.
1813         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1814         __uninitialized_copy_aux): Likewise.
1815
1816 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1817
1818         * mkcheck.in (static_fail): Remove older memory limit functionality.
1819         Disable E_TIME due to formatting issues.
1820
1821         * README: Update.
1822
1823 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1824
1825         * include/bits/std_complex.h: Default initialize second argument
1826         of polar to 0, as specified in Library DR #79
1827
1828 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1829
1830         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
1831         _Construct instead of construct.
1832
1833 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1834
1835         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
1836         __n being non-zero, since the standard does not mandate that.
1837         e.g., a search for "" in "" should yield position 0, not npos.
1838         (find_last_not_of): Likewise.
1839
1840 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1841
1842         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
1843         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
1844
1845 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1846
1847         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
1848         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
1849
1850 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1851
1852         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
1853         template parameter _ValueType.
1854
1855 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1856
1857         * include/bits/std_limits.h: Clean up extra semicolons.
1858         * include/bits/locale_facets.h: Likewise.
1859         * include/bits/type_traits.h: Likewise.
1860
1861 2001-10-19  Brendan Kehoe  <brendan@zen.org>
1862
1863         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
1864         * include/bits/locale_facets.tcc (locale::combine): Likewise.
1865
1866 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1867
1868         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
1869         Declare specializations for char, wchar_t.
1870
1871 2001-10-19  Andreas Jaeger  <aj@suse.de>
1872
1873         * config/cpu/x86-64/bits/limits.h: New file.
1874         * config/cpu/x86-64/bits/atomicity.h: New file.
1875         * configure.target: Add x86-64.
1876
1877 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
1878
1879         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
1880         why).  Add link to recent message.
1881         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
1882         markup.
1883         * docs/html/faq/index.txt:  Regenerate.
1884
1885 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
1886
1887         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
1888         based on Nathan's review.  Use Nathan's words.
1889
1890 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
1891
1892         * docs/html/configopts.html: Quote StyleSheet attribute values.
1893         * docs/html/documentation.html: Likewise.
1894         * docs/html/explanations.html: Likewise.
1895         * docs/html/install.html: Likewise.
1896         * docs/html/17_intro/howto.html: Likewise.
1897         * docs/html/17_intro/license.html: Likewise.
1898         * docs/html/18_support/howto.html: Likewise.
1899         * docs/html/19_diagnostics/howto.html: Likewise.
1900         * docs/html/20_util/howto.html: Likewise.
1901         * docs/html/21_strings/howto.html: Likewise.
1902         * docs/html/22_locale/howto.html: Likewise.
1903         * docs/html/23_containers/howto.html: Likewise.
1904         * docs/html/24_iterators/howto.html: Likewise.
1905         * docs/html/25_algorithms/howto.html: Likewise.
1906         * docs/html/26_numerics/howto.html: Likewise.
1907         * docs/html/27_io/howto.html: Likewise.
1908         * docs/html/ext/howto.html: Likewise.
1909         * docs/html/ext/sgiexts.html: Likewise.
1910         * docs/html/faq/index.html: Likewise.
1911
1912 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
1913
1914         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
1915         * docs/html/23_containers/howto.html (Containers and multithreading):
1916         Update.
1917
1918 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1919
1920         * docs/html/17_intro/howto.html:  Tweak markup and value type.
1921         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
1922         nonzero arguments, add new note on threading.
1923         * docs/html/faq/index.html:  Update.
1924         * docs/html/faq/index.txt:  Regenerate.
1925
1926 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
1927
1928         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
1929         * docs/html/documentation.html:  Likewise.
1930         * docs/html/explanations.html:  Likewise.
1931         * docs/html/install.html:  Likewise.
1932         * docs/html/17_intro/howto.html:  Likewise.
1933         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
1934         * docs/html/18_support/howto.html:  Likewise.
1935         * docs/html/19_diagnostics/howto.html:  Likewise.
1936         * docs/html/20_util/howto.html:  Likewise.
1937         * docs/html/21_strings/howto.html:  Likewise.
1938         * docs/html/22_locale/howto.html:  Likewise.
1939         * docs/html/23_containers/howto.html:  Likewise.
1940         * docs/html/24_iterators/howto.html:  Likewise.
1941         * docs/html/25_algorithms/howto.html:  Likewise.
1942         * docs/html/26_numerics/howto.html:  Likewise.
1943         * docs/html/27_io/howto.html:  Likewise.
1944         * docs/html/ext/howto.html:  Likewise.
1945         * docs/html/ext/sgiexts.html:  Likewise.
1946         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
1947         * docs/html/faq/index.txt:  Regenerate.
1948
1949 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
1950
1951         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
1952         spelling errors of "separate" as "seperate", and corresponding
1953         spelling errors of related words.
1954         * docs/html/faq/index.txt: Regenerate.
1955
1956 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
1957
1958         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
1959         unused function.
1960         * config/cpu/arm/bits/atomicity.h:  Likewise.
1961         * config/cpu/generic/bits/atomicity.h:  Likewise.
1962         * config/cpu/i486/bits/atomicity.h:  Likewise.
1963         * config/cpu/ia64/bits/atomicity.h:  Likewise.
1964         * config/cpu/mips/bits/atomicity.h:  Likewise.
1965         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
1966         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
1967         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
1968
1969 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1970
1971         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
1972         * docs/html/faq/index.txt:  Regenerate.
1973
1974 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
1975
1976         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
1977         * docs/html/17_intro/license.html:  New file.  Explain the licenses
1978         in use.
1979
1980         * docs/html/configopts.html:  Link to license.html.
1981         * docs/html/documentation.html:  Likewise.
1982         * docs/html/explanations.html:  Likewise.
1983         * docs/html/install.html:  Likewise.
1984         * docs/html/17_intro/howto.html:  Likewise.
1985         * docs/html/18_support/howto.html:  Likewise.
1986         * docs/html/19_diagnostics/howto.html:  Likewise.
1987         * docs/html/20_util/howto.html:  Likewise.
1988         * docs/html/21_strings/howto.html:  Likewise.
1989         * docs/html/22_locale/howto.html:  Likewise.
1990         * docs/html/23_containers/howto.html:  Likewise.
1991         * docs/html/24_iterators/howto.html:  Likewise.
1992         * docs/html/25_algorithms/howto.html:  Likewise.
1993         * docs/html/26_numerics/howto.html:  Likewise.
1994         * docs/html/27_io/howto.html:  Likewise.
1995         * docs/html/ext/howto.html:  Likewise.
1996         * docs/html/ext/sgiexts.html:  Likewise.
1997         * docs/html/faq/index.html:  Likewise.  New question, linking to
1998         the new license.html.
1999
2000 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2001
2002         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
2003         * docs/html/18_support/howto.html:  Likewise.
2004         * docs/html/19_diagnostics/howto.html:  Likewise.
2005         * docs/html/20_util/howto.html:  Likewise.
2006         * docs/html/21_strings/howto.html:  Likewise.
2007         * docs/html/22_locale/howto.html:  Likewise.
2008         * docs/html/23_containers/howto.html:  Likewise.
2009         * docs/html/24_iterators/howto.html:  Likewise.
2010         * docs/html/25_algorithms/howto.html:  Likewise.
2011         * docs/html/26_numerics/howto.html:  Likewise.
2012         * docs/html/27_io/howto.html:  Likewise.
2013         * docs/html/ext/howto.html:  Likewise.
2014         * docs/html/faq/index.html:  Likewise.  Spacing fix.
2015
2016 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
2017
2018         * include/bits/stl_threads.h (_Atomic_swap): New function.
2019         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2020         * testsuite/ext/rope.cc: New file.
2021
2022 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2023
2024         * config/locale/time_members_gnu.h: Remove.
2025         * config/locale/time_members_generic.h: Remove.
2026         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2027         * config/locale/time_members_generic.cc: Same.
2028         * include/bits/locale_facets.h: Add data members.
2029         (__timepunct::_M_put_helper): Change signature.
2030         (__timepunct::_M_date_formats): Same.
2031         (__timepunct::_M_time_formats): Same.
2032         (__timepunct::_M_ampm): Add.
2033         (__timepunct::_M_date_time_formats): Add.
2034         (time_get::_M_extract_via_format): Add.
2035         (time_get::_M_extract_time): Change to...
2036         (time_get::_M_extract_num): ... this, modify signature.
2037         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2038         (time_get::do_get_time): Fix.
2039         (time_get::do_get_date): Fix.
2040
2041         * acinclude.m4: Remove CTIME_H.
2042         * aclocal.m4: Regenerate.
2043         * include/Makefile.am: Same.
2044         * include/Makefile.in: Regenerate.
2045         * configure: Regenerate.
2046
2047         * testsuite/22_locale/time_get_members_char.cc: Fix.
2048         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2049         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2050
2051 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
2052
2053         * config/cpu/cris/bits/atomicity.h: Correct file header.
2054
2055 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
2056
2057         * configure.target (LIMITSH): Set for cris.
2058         (cpu_include_dir): Set for cris-*-*.
2059         * config/cpu/cris/bits/atomicity.h: New file.
2060         * config/cpu/cris/bits/limits.h: New file.
2061
2062 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
2063
2064         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2065         (__timepunct::_M_put_helper): Add.
2066         * config/locale/time_members_generic.h: Same.
2067         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2068         (__timepunct): Add data members.
2069         (__timepunct::_M_days): Add.
2070         (__timepunct::_M_days_abbreviated): Add.
2071         (__timepunct::_M_months): Add.
2072         (__timepunct::_M_months_abbreviated): Add.
2073         (__timepunct::_M_initialize_timepunct): Add.
2074         * include/bits/locale_facets.tcc: Same.
2075         * src/locale-inst.cc: Remove instantiations for __match_parallel.
2076         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2077         * aclocal.m4: Regenerate.
2078         * configure: Regenerate.
2079         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2080         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2081         * testsuite/22_locale/time_get.cc: New file.
2082
2083 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2084
2085         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2086         correct multilib builddir.
2087         Properly locate libgcc_s.
2088
2089 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
2090
2091         * include/std/*:  Add Doxygen hooks.
2092         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
2093         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
2094         rather than using a generated index.
2095         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
2096         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
2097         * docs/doxygen/stdheader.cc:  ...this new file.
2098
2099 2001-09-26  Stan Shebs  <shebs@apple.com>
2100
2101         * include/Makefile.am: Remove RCS Id strings.
2102         * src/Makefile.am: Ditto.
2103         * docs/doxygen/run_doxygen: Ditto.
2104         * docs/html/configopts.html: Ditto.
2105         * docs/html/documentation.html: Ditto.
2106         * docs/html/explanations.html: Ditto.
2107         * docs/html/install.html: Ditto.
2108         * docs/html/17_intro/howto.html: Ditto.
2109         * docs/html/18_support/howto.html: Ditto.
2110         * docs/html/19_diagnostics/howto.html: Ditto.
2111         * docs/html/20_util/howto.html: Ditto.
2112         * docs/html/21_strings/howto.html: Ditto.
2113         * docs/html/22_locale/howto.html: Ditto.
2114         * docs/html/23_containers/howto.html: Ditto.
2115         * docs/html/24_iterators/howto.html: Ditto.
2116         * docs/html/25_algorithms/howto.html: Ditto.
2117         * docs/html/26_numerics/howto.html: Ditto.
2118         * docs/html/27_io/howto.html: Ditto.
2119         * docs/html/ext/howto.html: Ditto.
2120         * docs/html/ext/sgiexts.html: Ditto.
2121         * docs/html/faq/index.html: Ditto.
2122         * docs/html/faq/index.txt: Ditto.
2123
2124 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2125
2126         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
2127         `carray' size.
2128
2129 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2130
2131         * docs/html/20_util/howto.html:  Add anchor name.
2132         * docs/html/23_containers/howto.html:  Line wrapping, another link.
2133         * docs/html/25_algorithms/howto.html:  Another note.
2134
2135         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
2136         link to them...
2137         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
2138         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
2139         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
2140         carried over to libstdc++-v3.
2141         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
2142         "missing .." pseudobug.
2143         * docs/html/faq/index.txt:  Regenerate.
2144
2145         * include/bits/ios_base.h:  DR-related comment cleanup.
2146         * include/bits/istream.tcc:  Likewise.
2147         * include/bits/locale_facets.h:  Likewise.
2148         * include/bits/locale_facets.tcc:  Likewise.
2149         * include/bits/ostream.tcc:  Likewise.
2150         * include/bits/std_bitset.h:  Likewise.
2151         * include/bits/std_iosfwd.h:  Likewise.
2152         * include/bits/std_istream.h:  Likewise.
2153         * include/bits/std_ostream.h:  Likewise.
2154         * include/bits/std_streambuf.h:  Likewise.
2155         * include/bits/stl_pair.h:  Likewise.
2156         * include/bits/streambuf_iterator.h:  Likewise.
2157
2158         * include/bits/std_map.h:  Remove unused header inclusion guard
2159         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2160         * include/bits/std_set.h:  Likewise.
2161
2162         * include/bits/stl_function.h:  Doxygen markup.
2163         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
2164         * libsupc++/typeinfo:  Doxygen markup tweak.
2165
2166 2001-09-20  Scott Johnston <scott@accom.com>
2167             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2168
2169         * include/backward/alloc.h: Conditionally define malloc_alloc
2170         * testsuite/backward/header_deque_h.cc: New file.
2171
2172 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2173
2174         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2175         change variable name so that it works with -fno-for-scope.
2176
2177 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
2178
2179         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2180         redundant sanity checks.
2181         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2182         (test02): Same.
2183         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2184         (test02): Same.
2185         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2186         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2187         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2188         (test02): Same.
2189         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2190         (test02): Same.
2191
2192 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
2193
2194         Implement std::time_put.
2195         * include/bits/locale_facets.h: Include time_members.h.
2196         (__timepunct): New.
2197         (time_put): Implement.
2198         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2199         * include/bits/localefwd.h: Bump number of facets.
2200         * config/locale/time_members_generic.h: New file.
2201         * config/locale/time_members_gnu.h: New file.
2202         * config/locale/c_locale_generic.h: Include clocale.
2203         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2204         * src/locale.cc: Add __timepunct initializations.
2205         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2206         * include/Makefile.am (stamp-target): Add time_members.h.
2207         * include/Makefile.in: Regenerate.
2208         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2209         * aclocal.m4: Regenerate.
2210         * configure: Regenerate.
2211         * testsuite/22_locale/time_put.cc: New file.
2212         * testsuite/22_locale/time_put_members_char.cc: New file.
2213
2214         * docs/html/22_locale/locale.html: Add note.
2215
2216 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
2217
2218         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
2219         * docs/html/documentation.html:  Likewise.
2220         * docs/html/explanations.html:  Likewise.
2221         * docs/html/install.html:  Likewise.
2222         * docs/html/17_intro/howto.html:  Likewise.
2223         * docs/html/18_support/howto.html:  Likewise.
2224         * docs/html/19_diagnostics/howto.html:  Likewise.
2225         * docs/html/20_util/howto.html:  Likewise.
2226         * docs/html/21_strings/howto.html:  Likewise.
2227         * docs/html/22_locale/codecvt.html:  Likewise.
2228         * docs/html/22_locale/ctype.html:  Likewise.
2229         * docs/html/22_locale/howto.html:  Likewise.
2230         * docs/html/22_locale/locale.html:  Likewise.
2231         * docs/html/22_locale/messages.html:  Likewise.
2232         * docs/html/23_containers/howto.html:  Likewise.
2233         * docs/html/24_iterators/howto.html:  Likewise.
2234         * docs/html/25_algorithms/howto.html:  Likewise.
2235         * docs/html/26_numerics/howto.html:  Likewise.
2236         * docs/html/27_io/howto.html:  Likewise.
2237         * docs/html/ext/howto.html:  Likewise.
2238         * docs/html/faq/index.html:  Likewise.
2239         * docs/html/faq/index.txt:  Regenerated.
2240
2241 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
2242
2243         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
2244         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
2245         * docs/html/18_support/howto.html:  It won't compile; it's not code.
2246         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
2247         doxygen'd pages.
2248         * docs/html/22_locale/howto.html:  Comment for future work.
2249         * docs/html/23_containers/howto.html:  More comments.
2250         * docs/html/25_algorithms/howto.html:  It's a comment, not a
2251         blunt command to the reader.  (English grammar.)
2252
2253 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2254
2255         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2256         wchar_t members.
2257         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2258         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2259
2260 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2261
2262         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2263
2264 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
2265
2266         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2267         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2268         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2269
2270 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
2271
2272         Implement std::money_get.
2273         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2274         * include/bits/locale_facets.h (money_get): Correct signatures.
2275         * testsuite/22_locale/money_get.cc: New file.
2276         * testsuite/22_locale/money_get_members_char.cc: New file.
2277
2278         * include/bits/locale_facets.tcc (__verify_grouping): New
2279         function. Consolidate num_get and money_get group checking into
2280         one function.
2281         (money_get): Use it.
2282         * src/locale.cc (num_get::_M_extract): Use it.
2283         * src/locale-inst.cc: Add instantiation.
2284
2285 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2286
2287         * include/bits/std_limits.h (numeric_limits<float>::radix,
2288         numeric_limits<float>::epsilon:  Fix thinko.
2289
2290 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2291
2292         * configure.in: Fix cross compiling math routines. Correct
2293         comments for cross compiling and limits. Add floating point math
2294         routines found in newlib.
2295         * configure: Regenerate.
2296         * acconfig.h: Add macros.
2297         * config.h.in: Regenerate.
2298
2299 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2300
2301         * config/locale/moneypunct_members_generic.cc
2302         (money_base::_S_construct_pattern): Remove unused parameters.
2303
2304 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2305
2306         * include/Makefile.am (stamp-target): Remove link to self.
2307         * inclulde/Makefile.in: Regenerate.
2308
2309 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2310
2311         Implement std::money_put.
2312         * include/bits/locale_facets.h
2313         (moneypunct::_M_initialize_moneypunct): Split up specializations
2314         to account for _Intl.  More grody hacking to get around the
2315         ill-considered use of const bool as a template parameter.
2316         * config/locale/moneypunct_members_gnu.cc: And here.
2317         * config/locale/moneypunct_members_generic.cc: And here.
2318         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2319         * testsuite/22_locale/moneypunct.cc: Add tests.
2320         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2321         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2322
2323         * src/locale.cc (money_base::_S_construct_pattern): Move into
2324         gnu-specific file.
2325         * config/locale/moneypunct_members_gnu.cc: Add here.
2326         * config/locale/moneypunct_members_generic.cc: Add generic version
2327         here.
2328
2329         * include/bits/locale_facets.tcc (money_put::do_put): Move member
2330         function definitions here.
2331         * include/bits/locale_facets.h (money_put): Implement.
2332         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2333         Correct money_get, money_put instantiations.
2334         * src/locale.cc (money_base::_S_construct_pattern): Handle case
2335         where __posn == 0.
2336         * testsuite/22_locale/money_put_members_char.cc: Add tests.
2337
2338 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
2339
2340         * testsuite_flags.in:  No longer need to search testsuite builddir.
2341         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
2342         * Makefile.am:  The testsuite directory never needs to be made here.
2343         * Makefile.in:  Regenerate.
2344         * include/Makefile.in:  Regenerate.
2345         * libio/Makefile.in:  Regenerate.
2346         * libmath/Makefile.in:  Regenerate.
2347         * libsupc++/Makefile.in:  Regenerate.
2348         * po/Makefile.in:  Regenerate.
2349         * src/Makefile.in:  Regenerate.
2350         * testsuite/Makefile.in:  Regenerate.
2351
2352 2001-09-04  Scott Johnston  <scott@accom.com>
2353             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2354
2355         * include/backward/iterator.h: Include <bits/std_iterator.h>,
2356         remove reverse_bidirectional_iterator.
2357         * testsuite/backward: New directory.
2358         * testsuite/backward/header_iterator_h.cc: New file.
2359
2360 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
2361
2362         * include/c_std/bits/std_c*.h: Don't use include_next.
2363
2364 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
2365
2366         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2367         tmp from _Unwind_Ptr to _Unwind_Word.
2368
2369 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
2370
2371         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2372         leb128 handling.
2373
2374 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
2375
2376         * include/Makefile.am: Use toplevel_srcdir to refer to src files
2377         outside this component.
2378         * include/Makefile.in: Regenerate.
2379
2380 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
2381
2382         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2383         * config/locale/c_locale_generic.cc: Same.
2384         * config/locale/moneypunct_members_gnu.cc: New file.
2385         * config/locale/moneypunct_members_generic.cc: New file.
2386         * config/locale/numpunct_members_gnu.cc: New file.
2387         * config/locale/numpunct_members_generic.cc: New file.
2388         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2389         options.
2390         * aclocal.m4: Regenerate.
2391         * configure: Regenerate.
2392         * src/Makefile.am (sources): And here.
2393         * src/Makefile.in: Regenerate.
2394
2395         Rename for consistency with rest of testsuite.
2396         * testsuite/22_locale/codecvt.cc: New file.
2397         * testsuite/22_locale/money_put.cc: New file.
2398         * testsuite/22_locale/money_put_members_char.cc: New file.
2399
2400 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
2401
2402         PR libstdc++/4143
2403         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
2404         correctly for version-specific-runtime-libs.
2405         * aclocal.m4:  Regenerate.
2406         * configure:  Regenerate.
2407
2408 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
2409
2410         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2411         define if not already provided by per-OS file.
2412         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2413         Define.
2414
2415 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
2416
2417         * docs/html/17_intro/C++STYLE:  Fix typo.
2418
2419 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
2420
2421         * docs/html/23_containers/howto.html:  Describe implementation of
2422         insertion with hints.
2423
2424 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
2425
2426         libstdc++/3740
2427         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2428
2429 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2430             Phil Edwards  <pme@sources.redhat.com>
2431
2432         PR libstdc++/3349
2433         * include/bits/stl_tree.h (insert_unique):  Revert last change.
2434         Values inserted at begin() must be less, not greater, than *begin()'s.
2435         * testsuite/23_containers/map_insert.cc:  New file.
2436
2437 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
2438
2439         * config/locale/c_locale_gnu.cc: Minor tweaks.
2440         (moneypunct<wchar_t>): Implement.
2441         * include/bits/locale_facets.h: Same.
2442         * testsuite/22_locale/moneypunct.cc: New file.
2443         * testsuite/22_locale/moneypunct_byname.cc: New file.
2444         * testsuite/22_locale/moneypunct_char_members.cc: New file.
2445
2446 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
2447
2448         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2449         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2450
2451 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
2452
2453         * testsuite_flags.in (build-includes): Re-add backward.
2454
2455 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2456
2457         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2458         with _GLIBCPP_USE_WCHAR_T.
2459
2460 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
2461
2462         * testsuite/22_locale/collate_byname.cc (test01): Fix.
2463
2464 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
2465
2466         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2467
2468 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
2469
2470         * testsuite/22_locale/operators.cc: Add test.
2471
2472 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
2473
2474         Implement std::collate.
2475         * config/locale/collate_specializations_gnu.cc: Add here, implement in
2476         MT-safe way.
2477         * config/locale/collate_specializations_generic.cc: Add here, but
2478         in a less sophisticated manner.
2479         * include/bits/locale_facets.tcc (collate): Add generic definition.
2480         * include/bits/locale_facets.h (~collate): Mark virtual.
2481         (collate::_M_compare_helper): New.
2482         (collate::_M_transform_helper): New.
2483         * src/locale.cc: Remove unnecessary specializations.
2484         * src/string-inst.cc: Tweak instantiation of ctors.
2485
2486         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2487         * aclocal.m4: Regenerate.
2488         * configure: Regenerate.
2489         * src/Makefile.am (sources): Add collate.cc.
2490         * src/Makefile.in: Regenerate.
2491
2492         * testsuite/22_locale/collate_byname.cc: New.
2493         * testsuite/22_locale/collate.cc: New file.
2494         * testsuite/22_locale/collate_char_members.cc: New file.
2495         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2496
2497 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2498
2499         * configure.target: Set LIMITSH for powerpc-*-*.
2500         * config/cpu/powerpc/bits/limits.h: New file.
2501
2502 2001-08-16  Marc Espie <espie@openbsd.org>
2503
2504         * configure.in:  Check for <sys/types.h>.
2505         * configure:  Rebuild.
2506         * config.h.in:  Rebuild.
2507         * libmath/mathconf.h:  Include <sys/types.h> prior to
2508         <machine/endian.h> if available.
2509
2510 2001-08-15  Andreas Schwab  <schwab@suse.de>
2511
2512         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2513         m68k and m680[246]0.
2514         * config/cpu/m68k/bits/atomicity.h: New file.
2515
2516         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2517         Define appropriate long double limits for m68k extended floating
2518         point.
2519         (__glibcpp_f32_digits10): Corrected, off by one.
2520         (__glibcpp_f80_digits10): Likewise.
2521         (__glibcpp_f128_digits10): Likewise.
2522         * config/os/gnu-linux/bits/os_defines.h
2523         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2524
2525 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2526
2527         * testsuite/18_support/numeric_limits.cc: Add more tests.
2528         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2529         typo.
2530
2531 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
2532
2533         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2534         for s390 and s390x.
2535
2536         * config/cpu/s390/bits/atomicity.h: New.
2537
2538 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
2539
2540         * include/bits/std_limits.h: Fix thinko.
2541
2542 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
2543
2544         * include/Makefile.am: Consolidate target rules. Don't clean stamp
2545         files. Tweak target build directory stamp.
2546         * include/Makefile.in: Regenerate.
2547
2548 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2549
2550         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2551         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2552
2553 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2554
2555         * configure.in (libtool_VERSION): Add.
2556         (VERSION): Change to
2557         (release_VERSION): This.
2558         * configure: Regenerate.
2559         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2560         libtool_VERSION.
2561         * src/Makefile.in: Regenerate.
2562
2563         * intl/Makefile.am: Remove.
2564         * intl/Makefile.in: Remove.
2565         * intl: Remove.
2566         * Makefile.am (SUBDIRS): Remove intl.
2567         * po/Makefile.am (DISTFILES): Add string_literals.cc
2568         (MSGFMT): Add.
2569         * po/string_literals.cc: Add.
2570         * po/POTFILES.in: Fix path.
2571         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2572         * aclocal.m4: Regenerate.
2573         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2574
2575         * include/backward/backward_warning.h: Clarify message.
2576
2577         * testsuite_flags.in (--cxxflags): Use same debug flags for
2578         library and testsuite.
2579
2580         * include/Makefile.am (c_compatibility): Remove.
2581         * include/Makefile.in: Regenerate.
2582
2583 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2584
2585         * configure.in (LIMITS_INC_SRCDIR): New variable.
2586         * configure.target (LIMITSH): New variable.
2587         * porting.texi: Discuss numeric limits.
2588         * config/cpu/generic/bits/limits.h: New file.
2589         * config/cpu/i386/bits/limits.h: New file.
2590         * include/Makefile.am: Install bits/limits.h.
2591         * include/bits/c++config: Include bits/limits.h.
2592
2593 2001-08-13  H.J. Lu  (hjl@gnu.org)
2594
2595         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2596         New. Copy files.
2597         (libstdc++-v3-init ): Use it.
2598
2599 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2600
2601         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2602         to '__adjust' to avoid shadowing in nested scope.
2603
2604 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2605
2606         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2607         __CHAR_UNSIGNED__.
2608
2609         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2610         Likewise.
2611         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2612         Remove.
2613
2614 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2615
2616         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2617         dummy default argument to the non-limit implementation.
2618
2619         bootstrap/3963
2620         * include/Makefile.am: Use relative file path in rule to allow
2621         colon in $(objdir).
2622         * include/Makefile.in: Rebuilt.
2623
2624 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2625
2626         * include/bits/std_complex.h (complex<long double>::operator*=,
2627         complex<long double>::operator/=): Fix thinko.
2628
2629 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2630
2631         * include/bits/std_limits.h: New file.
2632         * include/Makefile.am (bits_headers): Add std_limits.h
2633         (all-local): std_limits.h is no longer built.
2634         (${target_builddir}/std_limits.h): Remove.
2635         * include/Makefile.in: Regenerate.
2636         * src/limits.cc: New file.
2637         * src/Makefile.am (sources): Add limits.cc in replacement of
2638         limitsMEMBERS.cc.
2639         * src/Makefile.in: Regenerate.
2640
2641 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2642
2643         * src/gen-num-limits.cc (digits10): Fix thinko.
2644
2645 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2646
2647         * po/Makefile.am (check-no): Add.
2648         (check-yes): Same.
2649         * po/Makefile.in: Regenerate.
2650
2651 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2652
2653         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2654         * config.h.in: Regenerate.
2655         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2656         function.
2657         * aclocal.m4: Regenerate.
2658         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2659         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2660         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2661         * configure: Regenerate.
2662         * testsuite_hooks.h.in: Move to...
2663         * testsuite_hooks.h: Here, include c++config.h. Use it.
2664
2665         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2666         * Makefile.in: Regenerate.
2667         * po/Makefile.am (stamp-po): Add.
2668
2669 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2670
2671         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2672         * config/os/generic/bits/os_defines.h: Likewise.
2673         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2674         * config/os/hpux/bits/os_defines.h: Likewise.
2675         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2676         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2677
2678 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2679
2680         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2681         -version-info, use substituted VERSION info.
2682         * src/Makefile.in: Regenerate.
2683
2684 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2685
2686         Implement std::messages.
2687         Make config a fully-nested directory.
2688         * config/locale: New directory.
2689         * config/c_locale_generic.cc: Move into locale subdirectory.
2690         * config/c_locale_generic.h: Same.
2691         * config/c_locale_gnu.cc: Same.
2692         * config/c_locale_gnu.h: Same.
2693         * config/c_locale_ieee_1003.1-200x.cc: Same.
2694         * config/c_locale_ieee_1003.1-200x_.h: Same.
2695         * config/codecvt_specializations_generic.h: Same.
2696         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2697         * config/messages_members_gnu.h: Same.
2698         * config/messaages_members_gnu.cc: Same.
2699         * config/messages_members_generic.h: Same.
2700         * config/messaages_members_generic.cc: Same.
2701         * config/messages_members_ieee_1003.1-200x.h: Same.
2702         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2703         * config/io: New directory.
2704         * config/basic_file_libio.h: Move into io subdirectory.
2705         * config/basic_file_libio.cc: Same.
2706         * config/c_io_libio.h: Same.
2707         * config/c_io_libio_codecvt.c: Same.
2708         * config/basic_file_stdio.h: Same.
2709         * config/basic_file_stdio.cc: Same.
2710         * config/c_io_stdio.h: Same.
2711
2712         * po: New directory.
2713         * po/POTFILES.in: New file.
2714         * po/Makefile.am: New file.
2715         * po/Makefile.in: New file.
2716         * po/libstdc++.pot: Generic translation file.
2717         * po/fr.po: Preliminary French translation.
2718         * po/de.po: Preliminary German translation.
2719         * intl: New directory.
2720         * intl/Makefile.am: New file.
2721         * intl/Makefile.in: New file.
2722         * intl/string_literals.cc: New file.
2723         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2724         requisite setup for gettext. Re-arrange.
2725         * aclocal.m4: Regenerate.
2726         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2727         Output Makefile bits for po and intl.
2728         * configure: Regenerate.
2729         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2730         * Makefile.in: Regenerate.
2731         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2732         * config.h.in: Regenerate.
2733
2734         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2735
2736         * include/Makefile.am (install-data-local): Don't install Makefile.
2737         * include/Makefile.in: Regenerate.
2738
2739         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2740         Add member.
2741         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2742         * config/locale/c_locale_generic.cc: Same.
2743         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2744
2745         * include/bits/codecvt.h: Excise non-standard, non-required
2746         bits. This includes __enc_traits, and partial specializations of
2747         codecvt for __enc_traits.
2748         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2749         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2750         * config/codecvt_partials_generic.h: New file.
2751         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2752         (stamp-codecvt_model): Add.
2753         * include/Makefile.in: Regenerate.
2754         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2755         * aclocal.m4: Regenerate.
2756         * configure: Regenerate.
2757         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2758         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2759         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2760
2761         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2762         as a friend for _S_*_c_locale functions.
2763         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2764         argument to default constructor so that CODESET information can be
2765         deduced.
2766         * include/bits/locale_facets.h (messages_byname):
2767         Re-implement. Remove specializations.
2768         * src/locale.cc (messages_byname<char>): Remove specialization.
2769         (messages_byname<wchar_t>): Same.
2770         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2771         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2772         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2773         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2774         * config/locale/messages_members_gnu.cc: New file.
2775         * config/locale/messages_members_gnu.h: New file.
2776         * config/locale/messages_members_generic.cc: New file.
2777         * config/locale/messages_members_generic.h: New file.
2778
2779         * docs/html/configopts.html: Add documentation for new locale
2780         model, ieee_1003.1. Adjust other flags for current defaults.
2781         * docs/html/22_locale/locale.html: Update.
2782         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2783         * docs/html/22_locale/messages.html: New.
2784
2785         * src/Makefile.am (sources): Add messages_virtuals.cc.
2786         * src/Makefile.in: Regenerate.
2787         * include/Makefile.am (allstamps): Add stamp-messages_model.
2788         (stamp-messages_model): Add.
2789         * include/Makefile.in: Regenerate.
2790         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2791         * aclocal.m4: Regenerate.
2792         * configure: Regenerate.
2793
2794         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2795         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2796         bits for Irix.
2797         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2798         build directories message catalog base directory, and export.
2799         Eventually this should probably be made to deal with build and
2800         install directories. For now, punt on this as the library itself
2801         doesn't use message catalogs (yet).
2802         * testsuite/22_locale/messages.cc: New file.
2803         * testsuite/22_locale/messages_char_members.cc: New file.
2804         * testsuite/22_locale/messages_byname.cc: New file.
2805
2806 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2807
2808         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2809         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2810         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2811         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2812         Call GLIBCPP_CONFIGURE_TESTSUITE.
2813         * aclocal.m4:  Regenerate.
2814         * config.h.in:  Regenerate.
2815         * configure:  Regenerate.
2816
2817         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2818         of old header.
2819
2820         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2821         * testsuite/debug_assert.h:  Removed; contents merged into...
2822         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2823         * testsuite/17_intro/header_ciso646.cc:  No longer include
2824         debug_assert.h, include testsuite_hooks.h instead.
2825         * testsuite/17_intro/header_fstream.cc:  Likewise.
2826         * testsuite/17_intro/header_iomanip.cc:  Likewise.
2827         * testsuite/17_intro/header_ios.cc:  Likewise.
2828         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
2829         * testsuite/17_intro/header_iostream.cc:  Likewise.
2830         * testsuite/17_intro/header_istream.cc:  Likewise.
2831         * testsuite/17_intro/header_ostream.cc:  Likewise.
2832         * testsuite/17_intro/header_sstream.cc:  Likewise.
2833         * testsuite/17_intro/header_streambuf.cc:  Likewise.
2834         * testsuite/18_support/numeric_limits.cc:  Likewise.
2835         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
2836         * testsuite/20_util/allocator_members.cc:  Likewise.
2837         * testsuite/20_util/auto_ptr.cc:  Likewise.
2838         * testsuite/20_util/pairs.cc:  Likewise.
2839         * testsuite/21_strings/append.cc:  Likewise.
2840         * testsuite/21_strings/capacity.cc:  Likewise.
2841         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
2842         * testsuite/21_strings/compare.cc:  Likewise.
2843         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
2844         call to (disabled) __set_testsuite_memlimit() wrapper.
2845         * testsuite/21_strings/element_access.cc:  Likewise.
2846         * testsuite/21_strings/find.cc:  Likewise.
2847         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
2848         (disabled) __set_testsuite_memlimit() wrapper.
2849         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
2850         * testsuite/21_strings/invariants.cc:  Likewise.
2851         * testsuite/21_strings/nonmember.cc:  Likewise.
2852         * testsuite/21_strings/operations.cc:  Likewise.
2853         * testsuite/21_strings/replace.cc:  Likewise.
2854         * testsuite/21_strings/rfind.cc:  Likewise.
2855         * testsuite/21_strings/substr.cc:  Likewise.
2856         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
2857         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
2858         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
2859         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
2860         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
2861         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
2862         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
2863         * testsuite/22_locale/facet.cc:  Likewise.
2864         * testsuite/22_locale/global_templates.cc:  Likewise.
2865         * testsuite/22_locale/members.cc:  Likewise.
2866         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
2867         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
2868         * testsuite/22_locale/operators.cc:  Likewise.
2869         * testsuite/22_locale/static_members.cc:  Likewise.
2870         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
2871         * testsuite/23_containers/bitset_members.cc:  Likewise.
2872         * testsuite/23_containers/bitset_shift.cc:  Likewise.
2873         * testsuite/23_containers/vector_capacity.cc:  Likewise.
2874         * testsuite/23_containers/vector_ctor.cc:  Likewise.
2875         * testsuite/23_containers/vector_element_access.cc:  Likewise.
2876         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
2877         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
2878         * testsuite/24_iterators/iterator.cc:  Likewise.
2879         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
2880         * testsuite/25_algorithms/binary_search.cc:  Likewise.
2881         * testsuite/25_algorithms/copy.cc:  Likewise.
2882         * testsuite/25_algorithms/heap.cc:  Likewise.
2883         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
2884         * testsuite/25_algorithms/min_max.cc:  Likewise.
2885         * testsuite/25_algorithms/partition.cc:  Likewise.
2886         * testsuite/25_algorithms/rotate.cc:  Likewise.
2887         * testsuite/25_algorithms/sort.cc:  Likewise.
2888         * testsuite/26_numerics/c_math.cc:  Likewise.
2889         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
2890         * testsuite/26_numerics/complex_value.cc:  Likewise.
2891         * testsuite/27_io/filebuf.cc:  Likewise.
2892         * testsuite/27_io/filebuf_members.cc:  Likewise.
2893         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
2894         * testsuite/27_io/fpos.cc:  Likewise.
2895         * testsuite/27_io/fstream_members.cc:  Likewise.
2896         * testsuite/27_io/ifstream_members.cc:  Likewise.
2897         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
2898         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
2899         * testsuite/27_io/ios_base_storage.cc:  Likewise.
2900         * testsuite/27_io/ios_ctor.cc:  Likewise.
2901         * testsuite/27_io/ios_init.cc:  Likewise.
2902         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
2903         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
2904         * testsuite/27_io/ios_members.cc:  Likewise.
2905         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
2906         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
2907         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
2908         * testsuite/27_io/istream_manip.cc:  Likewise.
2909         * testsuite/27_io/istream_seeks.cc:  Likewise.
2910         * testsuite/27_io/istream_sentry.cc:  Likewise.
2911         * testsuite/27_io/istream_unformatted.cc:  Likewise.
2912         * testsuite/27_io/istringstream_members.cc:  Likewise.
2913         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
2914         * testsuite/27_io/ofstream_members.cc:  Likewise.
2915         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
2916         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
2917         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
2918         * testsuite/27_io/ostream_manip.cc:  Likewise.
2919         * testsuite/27_io/ostream_seeks.cc:  Likewise.
2920         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
2921         * testsuite/27_io/ostringstream_members.cc:  Likewise.
2922         * testsuite/27_io/streambuf.cc:  Likewise.
2923         * testsuite/27_io/stringbuf.cc:  Likewise.
2924         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
2925         * testsuite/27_io/stringstream.cc:  Likewise.
2926         * testsuite/27_io/stringstream_members.cc:  Likewise.
2927         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
2928
2929 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
2930
2931         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
2932
2933 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
2934
2935         * configure.target: Remove mips from cpu table.
2936         * config/cpu/mips/bits/atomicity.h: Remove generic
2937         versions. Comment sgidefs include.
2938
2939 2001-07-25  H.J. Lu <hjl@gnu.org>
2940
2941         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
2942         for mips.
2943
2944         * config/cpu/mips/bits/atomicity.h: New.
2945
2946 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2947
2948         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
2949         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
2950         * aclocal.m4: Regenerate.
2951         * config.h.in: Likewise.
2952         * configure: Likewise.
2953         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
2954         (EXTRA_DIST): Remove hypot.c hypotf.c.
2955         * libmath/Makefile.am: Regenerate.
2956         * libmath/hypotf.c: Remove.
2957         * libmath/hypot.c: Likewise.
2958         * libmath/hypotl.c: Likewise.
2959         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
2960         _GLIBCPP_HAVE_xxx.  Add long double versions.
2961
2962 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
2963
2964         * include/bits/limits_generic.h (int): Set digits and digits10
2965         appropriately for word size.
2966         (unsigned int,long,unsigned long): Likewise.
2967
2968 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2969
2970         * include/bits/stl_algo.h : Fix typos.
2971         * testsuite/25_algorithms/unique.cc: New file.
2972
2973 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
2974             Mark Mitchell <mark@codesourcery.com>
2975
2976         Merge from cp-parser-branch.
2977         * include/bits/basic_string.h:  Qualify symbols with 'template'.
2978         * include/bits/basic_string.tcc:  Likewise.
2979         * include/bits/fstream.tcc:  Likewise.
2980         * include/bits/istream.tcc:  Likewise.
2981         * include/bits/sstream.tcc:  Likewise.
2982         * include/bits/std_istream.h:  Likewise.
2983         * include/bits/stl_iterator.h:  Likewise.
2984         * include/bits/streambuf.tcc:  Likewise.
2985         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
2986         * src/locale.cc:  Likewise.
2987
2988 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2989             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2990
2991         * src/gen-num-limits.cc (set_signals_handler): New function.
2992         Factor out signals setting.  Set signal handler for SIGILL.
2993
2994 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
2995
2996         * docs/html/27_io/howto.html:  Fix typo.
2997         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
2998         * docs/html/faq/index.txt:  Regenerated.
2999
3000 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
3001             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
3002
3003         libstdc++/3599
3004         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3005         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3006
3007 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
3008
3009         All occurrences of the __value_type() and __distance_type()
3010         functions, which were required to support the HP STL, have been
3011         removed along with all the auxiliary forwarding functions that
3012         were required to support their use.
3013
3014         The __iterator_category() function was pretty much left alone
3015         because there was no benefit to removing it and its use made code
3016         just a little more readable.
3017
3018         Incidences of distance() with nonstandard argument list were
3019         replaced by calls to the standard function (only in the files
3020         affected by the removal of the other HP functions).
3021
3022         The signature of the rotate() algorithm was changed to match the
3023         standard.
3024
3025         Headers were reformatted under C++STYLE guidelines (indentation,
3026         linebreaks, typename keyword).
3027
3028         * include/bits/stl_algo.h: replaced __value_type() and
3029         __distance_type() with iterator_traits, eliminated auxiliary
3030         support functions required to support said function usage.
3031         Changed nonstandard distance() call to standard call.
3032
3033         * include/bits/stl_algobase.h: Same.
3034         * include/bits/stl_heap.h: Same.
3035         * include/bits/stl_numeric.h: Same.
3036         * include/bits/stl_uninitialized.h: Same.
3037         * include/bits/stl_iterator_base_types.h (__value_type()):
3038         Removed.
3039         (__distance_type()): Removed.
3040         (value_type()): Gone.
3041         (distance_type()): Done in.
3042         (iterator_category()): Hasta la vista, baby.
3043
3044         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3045         Replaced with __iterator_category().
3046         * include/backward/iterator.h: moved definition of value_type(),
3047         distance_type(), and iterator_category() out of std:: and into
3048         here.
3049         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3050         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3051         * testsuite/25_algorithms/rotate.cc: New testcase.
3052         * testsuite/25_algorithms/copy.cc: New testcase.
3053         * testsuite/25_algorithms/sort.cc: Same.
3054         * testsuite/25_algorithms/heap.cc: Same.
3055         * testsuite/25_algorithms/partition.cc: Same.
3056         * testsuite/25_algorithms/binary_search.cc: Same.
3057         * testsuite/26_numerics/sum_diff.cc: Ditto.
3058
3059 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
3060
3061         * testsuite/README: Add notes on naming test cases.
3062         * testsuite/22_locale/members.cc: Mark as xfail.
3063         * testsuite/22_locale/numpunct_char_members.cc: Same.
3064
3065 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
3066
3067         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
3068         setting C_INCLUDE_DIR.
3069         * configure.in:  Revert yesterday's LN_S change.
3070         * aclocal.m4:  Regenerate.
3071         * configure:  Regenerate.
3072
3073 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
3074
3075         * configure.in:  Temporarily force LN_S to copy instead of symlink.
3076         * configure:  Regenerate.
3077
3078 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
3079
3080         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3081         Initialize _M_string with pointer-and-size constructor, not just
3082         pointer.  Fix some comments.
3083         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
3084         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
3085         (test03):  Add embedded-NUL tests.
3086
3087         * mkcheck.in:  When printing totals, match the order of the tests.
3088         * include/bits/stringfwd.h:  Use same declaration keywords.
3089         * include/bits/std_iosfwd.h:  Cosmetic spacing.
3090
3091 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
3092             Loren J. Rittle  <ljrittle@acm.org>
3093             Phil Edwards  <pme@sources.redhat.com>
3094
3095         * include/Makefile.am:  New file encapsulating header generation rules.
3096         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
3097         * acinclude.m4:  Moved/removed rules for building various headers.
3098         * configure.in (AC_OUTPUT):  Add include/Makefile.
3099         * mkc++config:  Removed.
3100
3101         * testsuite_flags.in:  Changed build-includes to match new scheme.
3102         * mknumeric_limits:  Likewise.
3103         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
3104         * libmath/Makefile.am:  Likewise.
3105         * libsupc++/Makefile.am:  Likewise.
3106         * src/Makefile.am:  Likewise; removed rules to build headers.
3107         * libmath/mathconf.h:  Changed #include'd header names to match.
3108         * libmath/stubs.c:  Likewise.
3109         * src/gen-num-limits.cc:  Likewise.
3110
3111         * configure:  Regenerated.
3112         * config.h.in:  Regenerated.
3113         * aclocal.m4:  Regenerated.
3114         * Makefile.in:  Regenerated.
3115         * include/Makefile.in:  Regenerated.
3116         * libio/Makefile.in:  Regenerated.
3117         * libmath/Makefile.in:  Regenerated.
3118         * libsupc++/Makefile.in:  Regenerated.
3119         * src/Makefile.in:  Regenerated.
3120         * testsuite/Makefile.in:  Regenerated.
3121
3122 2001-07-11   Felix Natter  <fnatter@gmx.net>
3123
3124         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
3125         master copy.
3126         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
3127
3128 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
3129
3130         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
3131         * docs/doxygen/user.cfg.in:  Tweaks.
3132         * include/bits/c++config:  Documentation comments for Doxygen.
3133         * include/bits/char_traits.h:  Likewise.
3134         * include/bits/limits_generic.h:  Likewise.
3135         * include/bits/std_stdexcept.h:  Likewise.
3136         * include/bits/stl_pair.h:  Likewise.
3137         * libsupc++/exception:  Likewise.
3138         * libsupc++/new:  Likewise.
3139         * libsupc++/typeinfo:  Likewise.
3140         * libmath/Makefile.am:  Update and correct copyright.
3141
3142 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3143
3144         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3145         * aclocal.m4: Regenerate.
3146         * configure: Same.
3147
3148 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3149
3150         * docs/html/configopts.html:  Fix thinko.
3151         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
3152         * include/bits/stl_iterator.h:  Fix typo.
3153
3154 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3155
3156         * docs/html/explanations.html:  New file.
3157         * docs/html/configopts.html:  Link to it to provide more notes
3158         on cstdio.  Minor markup and spacing fixes.
3159         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
3160
3161 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3162
3163         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3164         for _Expr template template argument.
3165         (_Expr::operator-): Likewise.
3166         (_Expr::operator~): Likewise.
3167         (_Expr::operator!): Likewise.
3168         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3169
3170 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3171
3172         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3173         * libmath/Makefile.in: Regenerate.
3174         * libmath/expf.c: Remove.
3175         * libmath/atan2f.c: Likewise.
3176
3177 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
3178
3179         * configure.in: Remove NATIVE, NULL_TARGET.
3180         Set CANADIAN only for Canadian crosses.  Set xcompiling
3181         for both Canadian crosses and host-x-host crosses.
3182         * configure: Regenerated.
3183
3184 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3185
3186         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3187
3188 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
3189
3190         * testsuite_flags.in (--build-includes): backward, not backwards.
3191
3192 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
3193
3194         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3195         Replace destroy by _Destroy.
3196         (_Rope_RopeRep::_S_free_string): Likewise.
3197         (rope::c_str()): Likewise.
3198         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3199         (_Slist_base::_M_erase_after): Likewise.
3200         (slist::_M_create_node): Replace construct by _Construct.
3201         (slist::pop_front): Replace destroy by _Destroy.
3202         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3203         construct by _Construct.
3204         (hashtable::_M_delete_node): Replace destroy by _Destroy.
3205         * include/ext/stl_rope.h (rope::rope): Replace construct by
3206         _Construct.
3207         (rope::copy): Replace destroy by _Destroy.
3208
3209 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3210
3211         * include/bits/localefwd.h: Format.
3212         * include/bits/locale_facts.tcc (locale::combine): Adjust.
3213         * src/locale.cc (locale::locale::(_Impl)): Don't call
3214         _M_add_reference.
3215         (locale::facet::_M_remove_reference): Simplify.
3216         * src/globals.cc (locale_impl_c): New. Format.
3217         (locale_c): New.
3218         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3219
3220 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3221
3222         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3223         expansion (thanks to Alexandre Oliva).
3224         * aclocal.m4: Regenerate.
3225         * configure: Regenerate.
3226
3227 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
3228
3229         * src/locale.cc (locale::locale(const char*)): Make sure global
3230         locales are initialized.
3231         * include/bits/locale_facets.tcc (locale::combine): Refcout should
3232         be zero, not one as it's return-by-value.
3233         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3234         named locales here.
3235         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3236         for it here.
3237         (test02): Add test.
3238         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3239
3240 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3241
3242         libstdc++/3284
3243         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3244         * aclocal.m4: Regenerate.
3245         * configure: Regenerate.
3246
3247 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3248
3249         libstdc++/3243
3250         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3251         staged/installed area to support -I-.  Document.
3252         * aclocal.m4: Regenerate.
3253         * configure: Regenerate.
3254
3255 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3256
3257         libstdc++/2211
3258         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3259         __out_bufsize.  Add __in_bufsize, document it and use it.
3260
3261 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
3262
3263         * include/bits/stl_construct.h (construct): Remove.
3264         (destroy): Remove.
3265         (__destroy): Replaced by use of iterator_traits.
3266         * include/bits/stl_deque.h: replaced HP iterator functions with
3267         iterator_traits.
3268         (construct): changed to _Construct.
3269         (destroy): changed to _Destroy.
3270         * include/bits/stl_tempbuf.h: Same.
3271         * include/bits/stl_tree.h: Same.
3272         * include/bits/stl_vector.h: Same.
3273         * include/backward/iterator.h (construct): moved definition to here.
3274         (destroy): Same.
3275
3276 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
3277
3278         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3279         before replacing facet.
3280         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3281         Correct decrement.
3282         * src/localename.cc (locale::_Impl): Correct ctor initialization
3283         lists. Initialize ref count with one. Simplify.
3284         * src/locale.cc: Add comment.
3285         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3286         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3287         * testsuite/22_locale/members.cc (test02): Fix.
3288
3289 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
3290
3291         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
3292         block, this time for real.
3293         * include/backward/algobase.h:  Likewise.
3294         * include/backward/alloc.h:  Likewise.
3295         * include/backward/bvector.h:  Likewise.
3296         * include/backward/defalloc.h:  Likewise.
3297         * include/backward/deque.h:  Likewise.
3298         * include/backward/function.h:  Likewise.
3299         * include/backward/hash_map.h:  Likewise.
3300         * include/backward/hash_set.h:  Likewise.
3301         * include/backward/hashtable.h:  Likewise.
3302         * include/backward/heap.h:  Likewise.
3303         * include/backward/iterator.h:  Likewise.
3304         * include/backward/list.h:  Likewise.
3305         * include/backward/map.h:  Likewise.
3306         * include/backward/multimap.h:  Likewise.
3307         * include/backward/multiset.h:  Likewise.
3308         * include/backward/pair.h:  Likewise.
3309         * include/backward/rope.h:  Likewise.
3310         * include/backward/set.h:  Likewise.
3311         * include/backward/slist.h:  Likewise.
3312         * include/backward/stack.h:  Likewise.
3313         * include/backward/strstream:  Likewise.
3314         * include/backward/tempbuf.h:  Likewise.
3315         * include/backward/tree.h:  Likewise.
3316         * include/backward/vector.h:  Likewise.
3317         * include/bits/pthread_allocimpl.h:  Likewise.
3318         * include/bits/std_algorithm.h:  Likewise.
3319         * include/bits/std_bitset.h:  Likewise.
3320         * include/bits/std_deque.h:  Likewise.
3321         * include/bits/std_functional.h:  Likewise.
3322         * include/bits/std_iterator.h:  Likewise.
3323         * include/bits/std_list.h:  Likewise.
3324         * include/bits/std_map.h:  Likewise.
3325         * include/bits/std_memory.h:  Likewise.
3326         * include/bits/std_numeric.h:  Likewise.
3327         * include/bits/std_queue.h:  Likewise.
3328         * include/bits/std_set.h:  Likewise.
3329         * include/bits/std_stack.h:  Likewise.
3330         * include/bits/std_utility.h:  Likewise.
3331         * include/bits/std_vector.h:  Likewise.
3332         * include/bits/stl_algo.h:  Likewise.
3333         * include/bits/stl_algobase.h:  Likewise.
3334         * include/bits/stl_alloc.h:  Likewise.
3335         * include/bits/stl_bvector.h:  Likewise.
3336         * include/bits/stl_construct.h:  Likewise.
3337         * include/bits/stl_deque.h:  Likewise.
3338         * include/bits/stl_function.h:  Likewise.
3339         * include/bits/stl_heap.h:  Likewise.
3340         * include/bits/stl_iterator.h:  Likewise.
3341         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3342         * include/bits/stl_iterator_base_types.h:  Likewise.
3343         * include/bits/stl_list.h:  Likewise.
3344         * include/bits/stl_map.h:  Likewise.
3345         * include/bits/stl_multimap.h:  Likewise.
3346         * include/bits/stl_multiset.h:  Likewise.
3347         * include/bits/stl_numeric.h:  Likewise.
3348         * include/bits/stl_pair.h:  Likewise.
3349         * include/bits/stl_pthread_alloc.h:  Likewise.
3350         * include/bits/stl_queue.h:  Likewise.
3351         * include/bits/stl_raw_storage_iter.h:  Likewise.
3352         * include/bits/stl_relops.h:  Likewise.
3353         * include/bits/stl_set.h:  Likewise.
3354         * include/bits/stl_stack.h:  Likewise.
3355         * include/bits/stl_tempbuf.h:  Likewise.
3356         * include/bits/stl_threads.h:  Likewise.
3357         * include/bits/stl_tree.h:  Likewise.
3358         * include/bits/stl_uninitialized.h:  Likewise.
3359         * include/bits/stl_vector.h:  Likewise.
3360         * include/bits/type_traits.h:  Likewise.
3361         * include/ext/hash_map:  Likewise.
3362         * include/ext/hash_set:  Likewise.
3363         * include/ext/rope:  Likewise.
3364         * include/ext/ropeimpl.h:  Likewise.
3365         * include/ext/slist:  Likewise.
3366         * include/ext/stl_hash_fun.h:  Likewise.
3367         * include/ext/stl_hashtable.h:  Likewise.
3368         * include/ext/stl_rope.h:  Likewise.
3369         * src/bitset.cc:  Likewise.
3370         * src/strstream.cc:  Likewise.
3371
3372 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3373                              <vakatov@ncbi.nlm.nih.gov>
3374
3375         libstdc++/3272
3376         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3377         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3378         * testsuite/27_io/istream_extractor_other.cc: Fix.
3379
3380 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
3381
3382         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3383         * aclocal.m4: Regenerate.
3384         * configure: Regenerate.
3385
3386 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3387
3388         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3389         (ostream_iterator): Same.
3390         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3391         Change argument to const_reference.
3392         (back_insert_iterator): Same.
3393
3394 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3395
3396         * include/bits/sbuf_iter.h: Change to..
3397         * include/bits/streambuf_iterator.h: This.
3398         * include/bits/stl_iterator.h: Take out of here...
3399         * include/bits/stream_iterator.h: Add.
3400         * src/Makefile.am (base_headers): Add streambuf_iterator,
3401         stream_iterator.h
3402         * src/Makefile.in: Regenerate.
3403         * include/bits/std_string.h: Adjust includes.
3404         * include/bits/basic_ios.h: Same.
3405         * include/bits/locale_facets.tcc: Same.
3406         * include/bits/std_iosfwd.h: Same.
3407
3408         * include/bits/std_iterator.h: Add istream, ostream includes.
3409         * include/bits/stl_iterator.h: Tweak.
3410         * testsuite/24_iterators/ostream_iterator.cc: Add test.
3411         * testsuite/24_iterators/istream_iterator.cc: Same.
3412         * testsuite/23_containers/multiset.cc: Add iterator include.
3413
3414 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
3415
3416         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
3417         * aclocal.m4:  Regenerate.
3418         * configure:  Regenerate.
3419
3420 2001-06-26  Felix Natter  <f.natter@ndh.net>
3421
3422         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
3423
3424 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3425
3426         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3427         return values.
3428         (istream_iterator::operator*): Same.
3429
3430 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3431             Alexandre Petit-Bianco  <apbianco@redhat.com>
3432
3433         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3434         is on 41st, not 14th.
3435
3436 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3437
3438         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3439
3440         * include/bits/stl_iterator.h (istream_iterator): Inherit from
3441         iterator.
3442         (ostream_iterator): Same.
3443         * testsuite/24_iterators/istream_iterator.cc: New file.
3444         * testsuite/24_iterators/ostream_iterator.cc: New file.
3445
3446         * include/bits/sbuf_iter.h: Remove self typedef.
3447         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3448         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3449
3450         * include/bits/stl_iterator.h (reverse_iterator): Remove
3451         extraneous typedefs. Add typename.
3452         (__normal_iterator): Remove typedefs referring to self. Add typename.
3453         (reverse_bidiretional_iterator): Remove, not longer required.
3454
3455 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3456
3457         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3458         dependent names with `typename'.  Bring in various required
3459         iterator_traits members.  Can't imagine why that used to work.
3460
3461 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
3462             Kurt Garloff <garloff@suse.de>
3463
3464         PR libstdc++/3377
3465         * src/cmath.cc:  New [version of an old] file; instantiate
3466         __cmath_power to start with.
3467         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
3468         * Makefile.in:  Regenerate.
3469         * libio/Makefile.in:  Regenerate.
3470         * libmath/Makefile.in:  Regenerate.
3471         * libsupc++/Makefile.in:  Regenerate.
3472         * src/Makefile.in:  Regenerate.
3473         * testsuite/Makefile.in:  Regenerate.
3474
3475 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3476
3477         * libmath/stubs.c: Fix thinko.
3478
3479 2001-06-24  David Edelsohn <dje@watson.ibm.com>
3480
3481         * libmath/stubs.c (sqrtf): Define.
3482         (tanf): Correct typo.
3483
3484 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
3485
3486         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3487         iterator.
3488         (back_insert_iterator): Same.
3489         (front_insert_iterator): Same.
3490         (insert_iterator): Same.
3491
3492         * testsuite/20_util/raw_storage_iterator.cc: Modify.
3493         * testsuite/24_iterators/reverse_iterator.cc: New file.
3494         * testsuite/24_iterators/back_insert_iterator.cc: New file.
3495         * testsuite/24_iterators/front_insert_iterator.cc: New file.
3496         * testsuite/24_iterators/insert_iterator.cc: New file.
3497
3498 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
3499
3500         * include/*:  Revert comment/license change from yesterday for all
3501         except libsupc++/unwind-cxx.h.
3502         * src/bitset.cc:  Likewise.
3503         * src/strstream.cc:  Likewise.
3504
3505 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3506
3507         * libmath/stubs.c: New file.
3508         (tanhf): Fix typo.
3509         (powf): Likewise.
3510
3511         * libmath/Makefile.am (libmath_la_SOURCES): Add.
3512         * libmath/Makefile.in.  Regenerate.
3513
3514 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
3515
3516         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
3517         * include/backward/algobase.h:  Likewise.
3518         * include/backward/alloc.h:  Likewise.
3519         * include/backward/bvector.h:  Likewise.
3520         * include/backward/defalloc.h:  Likewise.
3521         * include/backward/deque.h:  Likewise.
3522         * include/backward/function.h:  Likewise.
3523         * include/backward/hash_map.h:  Likewise.
3524         * include/backward/hash_set.h:  Likewise.
3525         * include/backward/hashtable.h:  Likewise.
3526         * include/backward/heap.h:  Likewise.
3527         * include/backward/iterator.h:  Likewise.
3528         * include/backward/list.h:  Likewise.
3529         * include/backward/map.h:  Likewise.
3530         * include/backward/multimap.h:  Likewise.
3531         * include/backward/multiset.h:  Likewise.
3532         * include/backward/pair.h:  Likewise.
3533         * include/backward/rope.h:  Likewise.
3534         * include/backward/set.h:  Likewise.
3535         * include/backward/slist.h:  Likewise.
3536         * include/backward/stack.h:  Likewise.
3537         * include/backward/strstream:  Likewise.
3538         * include/backward/tempbuf.h:  Likewise.
3539         * include/backward/tree.h:  Likewise.
3540         * include/backward/vector.h:  Likewise.
3541         * include/bits/pthread_allocimpl.h:  Likewise.
3542         * include/bits/std_algorithm.h:  Likewise.
3543         * include/bits/std_bitset.h:  Likewise.
3544         * include/bits/std_deque.h:  Likewise.
3545         * include/bits/std_functional.h:  Likewise.
3546         * include/bits/std_iterator.h:  Likewise.
3547         * include/bits/std_list.h:  Likewise.
3548         * include/bits/std_map.h:  Likewise.
3549         * include/bits/std_memory.h:  Likewise.
3550         * include/bits/std_numeric.h:  Likewise.
3551         * include/bits/std_queue.h:  Likewise.
3552         * include/bits/std_set.h:  Likewise.
3553         * include/bits/std_stack.h:  Likewise.
3554         * include/bits/std_utility.h:  Likewise.
3555         * include/bits/std_vector.h:  Likewise.
3556         * include/bits/stl_algo.h:  Likewise.
3557         * include/bits/stl_algobase.h:  Likewise.
3558         * include/bits/stl_alloc.h:  Likewise.
3559         * include/bits/stl_bvector.h:  Likewise.
3560         * include/bits/stl_construct.h:  Likewise.
3561         * include/bits/stl_deque.h:  Likewise.
3562         * include/bits/stl_function.h:  Likewise.
3563         * include/bits/stl_heap.h:  Likewise.
3564         * include/bits/stl_iterator.h:  Likewise.
3565         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3566         * include/bits/stl_iterator_base_types.h:  Likewise.
3567         * include/bits/stl_list.h:  Likewise.
3568         * include/bits/stl_map.h:  Likewise.
3569         * include/bits/stl_multimap.h:  Likewise.
3570         * include/bits/stl_multiset.h:  Likewise.
3571         * include/bits/stl_numeric.h:  Likewise.
3572         * include/bits/stl_pair.h:  Likewise.
3573         * include/bits/stl_pthread_alloc.h:  Likewise.
3574         * include/bits/stl_queue.h:  Likewise.
3575         * include/bits/stl_raw_storage_iter.h:  Likewise.
3576         * include/bits/stl_relops.h:  Likewise.
3577         * include/bits/stl_set.h:  Likewise.
3578         * include/bits/stl_stack.h:  Likewise.
3579         * include/bits/stl_tempbuf.h:  Likewise.
3580         * include/bits/stl_threads.h:  Likewise.
3581         * include/bits/stl_tree.h:  Likewise.
3582         * include/bits/stl_uninitialized.h:  Likewise.
3583         * include/bits/stl_vector.h:  Likewise.
3584         * include/bits/type_traits.h:  Likewise.
3585         * include/ext/hash_map:  Likewise.
3586         * include/ext/hash_set:  Likewise.
3587         * include/ext/rope:  Likewise.
3588         * include/ext/ropeimpl.h:  Likewise.
3589         * include/ext/slist:  Likewise.
3590         * include/ext/stl_hash_fun.h:  Likewise.
3591         * include/ext/stl_hashtable.h:  Likewise.
3592         * include/ext/stl_rope.h:  Likewise.
3593         * libsupc++/unwind-cxx.h:  Likewise.
3594         * src/bitset.cc:  Likewise.
3595         * src/strstream.cc:  Likewise.
3596
3597 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3598
3599         * include/bits/indirect_array.h (indirect_array<>::operator=):
3600         Make copy and assignment operator public.  Implement.  Format.
3601
3602         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3603         for copy between index arrays.  Format.
3604
3605 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3606
3607         * mknumeric_limits: Add static definitions, format.
3608         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3609
3610         * include/c_std/bits/std_cwchar.h: Include ctime.
3611         * testsuite/17_intro/header_cwchar.cc : Check.
3612
3613         * include/c_std/bits/std_cwctype.h: Inject wctype.
3614         * testsuite/17_intro/header_cwctype.cc: Update.
3615
3616 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3617
3618         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3619         * testsuite/20_util/raw_storage_iterator.cc: Same.
3620
3621         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3622         operator new.
3623         (__mem_interface): New typedef for switching between malloc and new.
3624         * testsuite/20_util/allocator_members.cc: New file.
3625
3626         * testsuite/20_util/comparisons.cc: New file.
3627         * testsuite/20_util/pairs.cc: New file.
3628
3629 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3630
3631         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3632
3633 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3634
3635         * configure.in (auxdir): Replace by ...
3636         (toprel): ... new variable.
3637         (toplevel_srcdir): Construct from $toprel.
3638         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3639         rather than .. to locate gcc source directory.
3640         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3641         * aclocal.m4, configure: Rebuilt.
3642
3643 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3644
3645         (Approved by Mark and Benjamin.  Applied by Loren.)
3646
3647         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3648         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3649         and _GLIBCPP_mutex_address.
3650         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3651         once-only runtime initialization of _M_lock mutex when
3652         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3653         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3654         for __GTHREAD_MUTEX_INIT_FUNCTION case.
3655
3656 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3657
3658         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3659
3660         * include/bits/slice_array.h (slice_array<>::operator=): Make
3661         public and implement.
3662         (slice_array<>::slice_array): Make copy-constructor public.
3663
3664         * include/bits/valarray_array.h (__valarray_copy): Add another
3665         overload to copy between strided arrays.
3666
3667 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3668
3669         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3670         * aclocal.m4: Regenerate.
3671         * configure: Regenerate.
3672         * include/bits/c++config (__GLIBCPP__): Update date.
3673
3674 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3675
3676         * include/bits/fpos.h (fpos::operator-): Don't return reference,
3677         return original, non-modified version.
3678         (fpos::operator+): Same.
3679         * testsuite/27_io/fpos.cc: Add test.
3680
3681 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
3682
3683         libstdc++/2071
3684         * porting.texi: Add documentation about libstdc++-v3-specific
3685         macros that are currently included in os_defines.h files.
3686
3687         * config/basic_file_stdio.h (sys_getc): New method.
3688         (sys_ungetc): New method.
3689         * include/bits/basic_file.h: (sys_getc): New method signature.
3690         (sys_ungetc): New method signature.
3691
3692         * include/bits/fstream.tcc (underflow): Add conditional code
3693         paths which avoid using short seeks on streams (especially
3694         useful when the stream might be interactive or a pipe).  At
3695         the moment, this alternate path only avoids seeking when the
3696         ``buffer size'' of underflow() is 1 since the C standard only
3697         guarantees buffer space for one ungetc (this technique could
3698         be extended since *-*-solaris* supports buffering for 4 calls
3699         to ungetc and *-*-*bsd* supports buffering limited only by
3700         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3701         in a port's os_defines.h file for this alternate path to even
3702         be considered.  As a bonus, the idiom of using getc/ungetc
3703         requires no system calls whereas fseek maps to one or two
3704         system call(s) on many platforms.
3705
3706         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3707         Define it.
3708         * config/os/solaris/solaris2.5/bits/os_defines.h
3709         (_GLIBCPP_AVOID_FSEEK): Likewise.
3710         * config/os/solaris/solaris2.6/bits/os_defines.h
3711         (_GLIBCPP_AVOID_FSEEK): Likewise.
3712         * config/os/solaris/solaris2.7/bits/os_defines.h
3713         (_GLIBCPP_AVOID_FSEEK): Likewise.
3714
3715 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3716
3717         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3718         AC_TRY_COMPILE, so that the built compiler is checked, and
3719         bootstraps or cross compiles with an older compile still work.
3720         * aclocal.m4: Regenerate.
3721         * configure: Regenerate.
3722
3723 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3724
3725         libstdc++/3142
3726         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3727
3728         libstdc++/3141
3729         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3730
3731         libstdc++/3140
3732         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3733
3734         libstdc++/3139
3735         * include/bits/limits_generic.h: Fix as per DR 184.
3736
3737 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3738
3739         libstdc++/3126
3740         * include/bits/basic_string.h (string::compare): Adjust signatures
3741         as per DR 5.
3742         * include/bits/basic_string.tcc: And here.
3743
3744         libstdc++/2346
3745         * config/c_io_stdio.h: Remove whitespace.
3746         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3747         (test02): Add regression.
3748         * testsuite/27_io/istream_seeks-3.tst: New file.
3749
3750 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3751
3752         * README:  Update to reflect reality.
3753         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3754         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3755         * aclocal.m4:  Regenerate.
3756         * configure:  Regenerate (with 2.13).
3757
3758 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3759
3760         libstdc++/3114
3761         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3762         per DR 129.
3763         * include/bits/istream.tcc (istream::seekg): Same.
3764         * testsuite/27_io/istream_seeks.cc: Fix.
3765
3766         libstdc++/3113
3767         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3768         (binder1st): Same.
3769         * include/bits/std_queue.h: Add c++config.h.
3770         * testsuite/20_util/binders.cc: New test.
3771
3772 2001-06-11  Matthias Klose  <doko@debian.org>
3773             Phil Edwards  <pme@sources.redhat.com>
3774
3775         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3776         (main script):  Echo more information.
3777
3778 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3779
3780         * include/c_std/bits/std_cwchar.h: Alphabetize.
3781         * include/bits/char_traits.h: Tweak.
3782         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3783         everything used by std_cwchar.h.
3784         * aclocal.m4: Regenerate.
3785         * configure.in: Regenerate.
3786         * config.h.in: Regenerate.
3787
3788 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3789
3790         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
3791         Add checking for strtof, _Exit in stdlib.h
3792         * aclocal.m4: Regenerate.
3793         * configure.in: Regenerate.
3794         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
3795         (snprintf): Put C99 functions into __gnu_cxx namespace.
3796         (vfscanf): Same.
3797         (vscanf): Same.
3798         (vsnprintf): Same.
3799         (vsscanf): Same.
3800         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
3801         for C99 functions within _GLIBCPP_USE_C99 guard.
3802         (_Exit): Same.
3803         (strtof): Same.
3804         (strtold): Same.
3805         * include/bits/locale_facets.tcc: Check if C99 is enabled.
3806         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
3807         C99 guard.
3808         * include/c_std/bits/cmath.tcc: Formatting tweak.
3809         * include/c_std/bits/std_cmath.h: Same.
3810
3811 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3812
3813         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
3814
3815 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
3816             Stephen L Moshier  <moshier@mediaone.net>
3817
3818         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
3819         nothing, as in autoconf 2.50.
3820         * configure: Rebuilt.
3821
3822 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3823
3824         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
3825         include std_cstddef.
3826         * include/c_std/bits/std_ctime.h: Same.
3827         * include/c_std/bits/std_cstring.h: Same.
3828         * include/c_std/bits/std_cstdlib.h: Same.
3829
3830         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
3831         * include/c_std/bits/std_cctype.h: Remove isblank.
3832
3833 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
3834
3835         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
3836         fgetws.
3837         * aclocal.m4: Regenerate.
3838         * configure: Regenerate.
3839         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
3840         injection, guard fgetwc, fgetws.
3841         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
3842         * include/c_std/bits/std_clocale.h: And here.
3843         * include/c_std/bits/std_cctype.h: And here.
3844         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
3845
3846         * config/basic_file_stdio.h: Don't include unistd.h.
3847         * config/c_io_stdio.h: Don't use compatibility headers.
3848         * libsupc++/eh_terminate.cc: Qualify abort.
3849         (__terminate): And here.
3850         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
3851
3852 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3853
3854         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
3855
3856 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
3857
3858         libstdc++/2767
3859         libstdc++/2989
3860         libstdc++/2992
3861         * include/std/*: Add copyright notice.
3862         * include/c_std/bits/*: Use using statements instead of extern "C".
3863         * include/c_std/bits/std_cmath.h: Don't overload double versions
3864         of math functions with __buitin versions, use global version to
3865         prevent ambiguities. Remove define hacks.
3866         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
3867         functions that have changed signatures and std::
3868         declarations. Remove define hacks.
3869         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
3870         __builtins in std::. Remove define hacks.
3871         * testsuite/17_intro/headers_c.cc: Add tests.
3872         * testsuite/17_intro/headers_c++.cc: Add test.
3873
3874 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3875             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3876
3877         c++/3082
3878         * libsupc++/eh_alloc.cc: Ensure that required macros are
3879         defined before including gthr.h.  Ensure that we get the
3880         version of gthr.h for which we know how to provide a
3881         configuration.
3882         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
3883         code path into line with the current EH model.  Use std, where
3884         appropriate.
3885
3886 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
3887             John David Anglin  <dave@hiauly1.hia.nrc.ca>
3888
3889         * config/threads-no.h: Remove file.
3890         * config/threads-posix.h: Remove file.
3891
3892         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
3893         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
3894         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
3895         * config.h.in: Regenerate.
3896
3897         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
3898         setup and use gthr*.h files.  In particular, make gthr.h files
3899         namespace-clean in the staging area (they don't have to be for
3900         libgcc.a).
3901         * aclocal.m4: Regenerate.
3902         * configure: Regenerate.
3903
3904         * src/Makefile.am (build_headers): Remove bits/c++threads.h
3905         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
3906         * src/Makefile.in: Regenerate.
3907
3908         * include/bits/c++config: Cleanup threading configuration macros.
3909         In particular, define __STL_GTHREADS macro which controls...
3910         * include/bits/stl_threads.h: ...a brand new gthr.h-based
3911         configuration here.
3912
3913         * config/c_io_stdio.h: Include staged gthr.h instead of local
3914         thread configuration file.  Always use __gthread_mutex_t
3915         instead of __mutext_type (or int).
3916         * include/bits/std_fstream.h: Likewise.
3917
3918         * docs/html/17_intro/howto.html: Remove placeholder comment in
3919         case this configuration patch didn't make it.  Add advice that
3920         section only applies if configured with --enable-threads.
3921         * docs/html/23_containers/howto.html: Reword to make clear
3922         that _PTHREADS is no longer required for any port to be
3923         correctly using STL with threads.  Add advice that section
3924         only applies if configured with --enable-threads.
3925
3926 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
3927
3928         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
3929
3930 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
3931
3932         libstdc++/3045
3933         * include/bits/basic_ios.tcc: Formatting tweaks.
3934         * include/bits/ios_base.h: Formatting tweaks.
3935         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
3936         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
3937         * src/globals.cc: Allocate filebufs for standard streams here.
3938         (buf_cout, buf_cin, buf_cerr): Like so.
3939         (buf_wcout, buf_wcin, buf_wcerr): And so.
3940         * testsuite/27_io/ios_init.cc: Add.
3941
3942 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3943             Benjamin Kosnik  <bkoz@redhat.com>
3944
3945         libstdc++/3017
3946         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
3947         for generic ctype virtuals.
3948         * src/locale.cc: Minor tweaks, naming consistency.
3949         * testsuite/22_locale/ctype.cc: Add test.
3950
3951 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
3952             Phil Edwards  <pme@sources.redhat.com>
3953
3954         PR libstdc++/3035 and PR libstdc++/3036
3955         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
3956         to LWG DR 181 and 265.
3957
3958 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
3959
3960         PR libstdc++/3034
3961         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
3962         equal_range):  Add const overloads as per LWG DR 214.
3963         * include/bits/stl_set.h:  Likewise.
3964
3965 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3966             Phil Edwards  <pme@sources.redhat.com>
3967
3968         PR libstdc++/3018
3969         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
3970         comparison; all positions must be < _Nb.
3971         * testsuite/23_containers/bitset_members.cc:  New file.
3972
3973 2001-06-04  Brendan Kehoe  <brendan@zen.org>
3974
3975         PR libstdc++/3016
3976         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
3977         ctors to match the standard.
3978
3979 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3980
3981         * include/bits/char_traits.h (move): Reverse qualification of
3982         memmove with std::.
3983         (copy): Reverse qualification of memcpy with std::.
3984
3985 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
3986
3987         * include/bits/char_traits.h (move): Qualify memmove with std::.
3988         (copy): Qualify memcpy with std::.
3989         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
3990         strncmp with std::.
3991         (test02): Likewise.
3992         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
3993
3994 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
3995
3996         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
3997         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
3998         SUN make VPATH peculiarities.
3999         * libsupc++/Makefile.in: Regenerate.
4000
4001 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
4002
4003         * src/Makefile.am (VPATH): Delimit with ":", not space.
4004         * src/Makefile.in: Regenerate.
4005
4006         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4007         make isn't found.
4008         * configure: Regenerate.
4009
4010 2001-05-31  scott snyder  <snyder@fnal.gov>
4011
4012         libstdc++/2976
4013         * include/bits/istream.tcc: Include std_ostream.h.
4014
4015 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
4016
4017         libstdc++/2997
4018         * src/bitset.cc: Qualify size_t with std::.
4019
4020 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
4021
4022         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4023         (_GLIBCPP_BUGGY_COMPLEX): Remove.
4024         * config.h.in: Regenerate.
4025         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4026         * aclocal.m4: Regenerate.
4027         * configure.in: Don't call it.
4028         * configure: Regenerate.
4029
4030         libstdc++/2970
4031         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4032         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4033         New test.
4034
4035         libstdc++/2985
4036         * include/bits/std_complex.h: Include sstream. Put definitions for
4037         complex inserters and extractors here, and remove them from...
4038         * src/complex_io.cc: ...here.
4039         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4040         parameter.
4041         (basic_ios::__numget_type): Same.
4042         * include/bits/std_istream.h: Same.
4043         * include/bits/std_ostream.h: Same.
4044         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4045         class iterator template arguments.
4046         * src/locale-inst.cc: Add explicit has_facet instantiations.
4047         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4048         (_M_get_fnumput): Remove.
4049         (_M_get_fnumget): Remove.
4050         (basic_ios::_M_check_facet): New function.
4051         (basic_ios::_M_cache_facets): New function.
4052         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4053         (basic_ios::imbue): Call _M_cache_facets.
4054         (basic_ios::init): Same.
4055         * include/bits/istream.tcc: Format, use _M_check_facet.
4056         * include/bits/ostream.tcc: Same.
4057         * include/bits/locale_facets.tcc (__output_float): Change
4058         signature, add _Traits.
4059         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4060         New test.
4061
4062 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
4063
4064         * include/bits/c++config (__USE_MALLOC): Do not define it.
4065         Document why not and give pointers to more information.
4066
4067         * docs/html/23_containers/howto.html: Update documentation
4068         to reflect recent understanding of problem.
4069         * docs/html/17_intro/howto.html: Likewise.
4070
4071 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
4072
4073         * docs/doxygen/user.cfg.in:  Minor addition.
4074         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
4075         stuff first.
4076         * docs/html/install.html:  Update for 3.0.  HTML fixups.
4077         * docs/html/17_intro/howto.html:  Likewise.
4078         * docs/html/18_support/howto.html:  Likewise.
4079         * docs/html/19_diagnostics/howto.html:  Likewise.
4080         * docs/html/20_util/howto.html:  Likewise.
4081         * docs/html/23_containers/howto.html:  Likewise.
4082         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
4083         * docs/html/25_algorithms/howto.html:  Likewise.
4084         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
4085         * docs/html/27_io/howto.html:  Likewise.
4086         * docs/html/ext/howto.html:  Likewise.
4087         * docs/html/faq/index.html:  Likewise.
4088         * docs/html/faq/index.txt:  Regenerate.
4089         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
4090         Doxygen-created documentation.
4091
4092 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4093
4094         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4095         get_multilibs to find gcc.
4096
4097 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
4098
4099         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
4100         * aclocal.m4:  Regenerate.
4101         * configure:  Regenerate.
4102
4103 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4104
4105         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4106         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4107
4108 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4109
4110         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4111         * include/c_std/bits/std_cstdlib.h: Same.
4112         * include/c_std/bits/std_cwchar.h: Same.
4113
4114 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
4115
4116         * docs/html/17_intro/howto.html: Update link.
4117         * docs/html/23_containers/howto.html: Likewise.  Add new link.
4118
4119 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
4120
4121         * include/c_std/bits/std_cmath.h (sqrt): #undef.
4122
4123 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4124
4125         * mknumeric_limits: Stop if gen-num-limits dies.
4126
4127 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
4128
4129         other/2931
4130         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4131         * aclocal.m4: Regenerate.
4132         * configure: Same.
4133
4134 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4135             Phil Edwards  <pme@sources.redhat.com>
4136             Alexandre Oliva  <aoliva@redhat.com>
4137
4138         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4139         in an amd-safe manner. Revert glibcpp_prefixdir.
4140
4141 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
4142
4143         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
4144         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
4145         variants.
4146
4147 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4148
4149         libstdc++/2830
4150         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4151         * include/bits/ostream.tcc: Format to match istream.tcc.
4152         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4153
4154 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
4155
4156         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
4157         malloc with std:: .
4158         (__cxa_free_exception):  Likewise with free.
4159
4160 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
4161
4162         * include/c_std/bin/std_cstring.h: #define away all global
4163         functions we will redeclare in namespace `std'.
4164         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4165         std::memset, instead of memset.
4166         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4167         not plain `strcmp'.
4168         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4169         plain `strcpy'.
4170
4171 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4172
4173         libstdc++/2832
4174         * include/bits/basic_ios.tcc: Small tweak.
4175         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4176         ctors and dtors, and rdbuf settings.
4177         (ofstream): Same.
4178         (fstream): Same.
4179         * include/bits/std_sstream.h: Same, but for stringstream classes.
4180         * testsuite/27_io/ostringstream_members.cc: New.
4181         * testsuite/27_io/stringstream_members.cc: New.
4182         * testsuite/27_io/fstream_members.cc: New.
4183         * testsuite/27_io/ifstream_members.cc: Add test.
4184         * testsuite/27_io/istringstream_members.cc: Add test.
4185         * testsuite/27_io/ofstream_members.cc: Add test.
4186
4187 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4188
4189         * include/bits/c++config(__NO_MATH_INLINES): Move to...
4190         * config/os/gnu-linux/bits/os_defines.h: ...here.
4191
4192 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
4193
4194         * include/bits/c++config (__NO_MATH_INLINES): New macro.
4195         * testsuite/26_numerics/fabs_inline.cc (main): New test.
4196
4197 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
4198
4199         libstdc++/2841
4200         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4201         ld_library_path.
4202         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4203         (libstdc++-v3-finish): Remove.
4204         (libstdc++-v3_exit): Remove.
4205
4206 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
4207
4208         * docs/html/documentation.html:  Point to doxygen output.
4209
4210 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
4211
4212         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4213
4214         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4215         arguments to be non-null.
4216         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4217         try allocations if allocated size is greater than zero.
4218         (filebuf::_M_filebuf_init): Change to
4219         (filebuf::_M_allocate_file): Which is what it does now.
4220         (filebuf::_M_allocate_bufers): Change to
4221         (filebuf::_M_allocate_internal_buffer): This, and create
4222         (filebuf::_M_allocate_pback_buffer): New.
4223         (filebuf::_M_destroy_internal_buffer): New.
4224         (filebuf::_M_buf_allocated): New data member.
4225         (filebuf::setbuf): Use new logic, allow use of external buffer.
4226         * testsuite/27_io/stringbuf_virtuals.cc: New file.
4227         * testsuite/27_io/filebuf_virtuals.cc: New file.
4228
4229 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
4230
4231         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4232         __glibcpp_memchr.
4233         (strchr): Same, but to __glibcpp_strchr.
4234         (strpbrk): Same.
4235         (strrchr): Same.
4236         (strstr): Same.
4237         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4238         (wcsbrk): Same.
4239         (wcsrchr): Same.
4240         (wcsstr): Same.
4241         (wmemchr): Same.
4242
4243 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
4244
4245         * testsuite/21_strings/c_strings.cc (main): Fix.
4246
4247 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
4248
4249         * acinclude.m4:  Fix --help spacing, correct comments.
4250         * aclocal.m4:  Regenerate.
4251         * configure:  Regenerate.
4252         * mkcheck.in:  Add usage comments.
4253         * docs/html/documentation.html:  Point to doxygen'd tarball.
4254
4255 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
4256
4257         * testsuite/README: Add notes.
4258
4259         * src/Makefile.am (libstdc++.INC): Remove.
4260         * src/Makefile.in: Regenerate.
4261
4262         Phil Edwards <pedwards@disaster.jaj.com>
4263         * mkcheck.in: Add missing '#'.
4264
4265 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4266
4267         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4268         appropriately for remote testing and testing installed files without
4269         a build dir.
4270
4271 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
4272
4273         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4274         amd glibcpp_prefixdir with absolute paths.
4275
4276         * include/bits/c++config (__GLIBCPP__): Bump.
4277         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4278
4279 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
4280
4281         * include/bits/std_valarray.h (valarray<>::operator[] const):
4282         Return a const reference.
4283         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4284
4285 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
4286
4287         * configure.target (ATOMICITYH): Actually use AIX-specific code on
4288         earlier versions of AIX 4.*.
4289
4290 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4291
4292         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
4293         output_file based on the name of the testcase.
4294
4295 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4296
4297         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
4298         gluefile and use it if needs_status_wrapper is set.
4299
4300 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
4301
4302         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4303         versions of AIX.
4304
4305 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
4306
4307         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4308         on earlier versions of AIX.
4309
4310 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
4311
4312         * testsuite_flags.in (query): Add backwards, ext directories.
4313
4314 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
4315
4316         * porting.texi: Correct documentation about handling
4317         _LARRGEFILE_SOURCE and its ilk.
4318         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4319         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4320         __EXTENSIONS__.
4321         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4322         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4323
4324 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
4325
4326         * testsuite/21_strings/inserters_extractors.cc,
4327         testsuite/27_io/istream_unformatted.cc,
4328         testsuite/27_io/stringstream.cc:
4329         Replace multi-line string constants with C89-style
4330         concatenated string constants.
4331
4332 2001-05-14  Richard Henderson  <rth@redhat.com>
4333
4334         * mknumeric_limits: Build with -fno-exceptions.
4335
4336 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
4337
4338         Switch over to new harness.
4339         * testsuite_flags.in: Tweaks via Gaby.
4340         * testsuite/Makefile.am: Change tool to libstdc++-v3.
4341         (EXPECT): Quote directly.
4342         (RUNTEST): Same.
4343         * configure.in: Output testsuite_flags.
4344         * acinclude.m4: Substitute src, bld, and prefix dirs.
4345         Remove glibcpp_expect, glibcpp_runtestflags.
4346         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4347         * mkcheck.in: Port to new interface.
4348
4349         * aclocal.m4: Regerate.
4350         * configure: Regnerate.
4351         * Makefile.in: Regnerate.
4352         * */Makefile.in: Regenerate.
4353
4354         * tests_flags.in: Remove.
4355         * testsuite/lib/libstdc++.exp: Remove.
4356         * testsuite/libstdc++.tests/tests.exp: Remove.
4357
4358 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
4359
4360         * configure.target: Remove detection of AIX pthread multilib, now
4361         obtained from `gcc -v'.
4362
4363 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4364
4365         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4366         size.  Add hpux case for HP size.
4367
4368 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4369
4370         * testsuite_flags.in: New, simplified interface.
4371         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4372         * testsuite/libstdc++-v3.dg: Add.
4373         * testsuite/libstdc++-v3.dg/dg.exp: Add.
4374
4375 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4376
4377         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4378         * testsuite/config/default.exp: Update bugs email address.
4379
4380 2001-05-11  Richard Henderson  <rth@redhat.com>
4381
4382         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
4383         all pointer encoding logic.
4384         (struct lsda_header_info): Add ttype_base.
4385         (get_ttype_entry): Use it instead of a context.
4386         (check_exception_spec): Likewise.
4387         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
4388         the c++ exception header for __cxa_call_unexpected.
4389         (__cxa_call_unexpected): Use it.
4390
4391 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
4392
4393         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4394         libgloss_link_flags to find crt0.o for targets that use libgloss
4395         instead of newlib.
4396         Change LDFLAGS to LIBS.
4397         Consistently name procedures libstdc++-XXX.
4398         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4399
4400 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4401
4402         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4403         (strchr): Same.
4404         (strpbrk): Same.
4405         (strrchr): Same.
4406         (strstr): Same.
4407         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4408         (wcsbrk): Same.
4409         (wcsrchr): Same.
4410         (wcsstr): Same.
4411         (wmemchr): Same.
4412         * testsuite/21_strings/c_strings.cc: Add tests.
4413
4414 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
4415
4416         libstdc++/2523
4417         * include/bits/std_fstream.h (basic_filebuf): Change signature.
4418         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4419         to int_type, pass in buffer size info.
4420         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4421         unbuffered situation.
4422         (underflow): Remove codecvt bits for the time being.
4423         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4424         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4425         values from iterators, clean.
4426         * src/locale.cc: Ditto.
4427         * include/bits/sbuf_iter.h: Format.
4428         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4429         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4430         * testsuite/27_io/filebuf.cc: Tweaks.
4431         * testsuite/27_io/filebuf_members.cc: Tweaks.
4432
4433 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
4434
4435         * config/os/solaris/solaris2.7/bits/os_defines.h
4436         (_LARGEFILE_SOURCE): Define it.
4437
4438 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
4439
4440         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4441         -prefer-non-pic depending on whether libtool has shared libraries
4442         enabled or disabled.
4443         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4444         $(LIBSUPCXX_PICFLAGS).
4445         * configure, */Makefile.in: Rebuilt.
4446
4447 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
4448
4449         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4450         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4451
4452         * include/bits/std_sstream.h (stringbuf): Leak
4453         copied string.
4454         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4455
4456 2001-05-01  Tom Browder  <tbrowder@home.com>
4457
4458         * docs/html/ext/howto.html:  Fix typo.
4459
4460 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4461
4462         * testsuite/libstdc++.tests/tests.exp: Add comment.
4463
4464 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4465
4466         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4467
4468 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
4469
4470         * porting.texi: Use the GFDL.
4471
4472 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4473
4474         libstdc++/2627
4475         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4476         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4477         specializations.
4478
4479 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4480
4481         libstdc++/2964
4482         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4483
4484 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
4485
4486         * docs/doxygen/run_doxygen:  Minor tweaks.
4487         * docs/doxygen/style.css:  New file.
4488         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
4489         latest parameters available.  Use style.css.
4490
4491 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
4492
4493         * docs/doxygen/mainpage.doxy: New.
4494         * docs/doxygen/user.cfg.in: Change default configuration. Single
4495         frame, other tweaks.
4496
4497 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
4498
4499         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4500         Indicate obsolete nature of thelist for G++ 3.0.
4501
4502 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
4503
4504         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4505         target_thread_file with `gcc -v'.
4506         * aclocal.m4, configure: Rebuilt.
4507
4508 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4509
4510         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4511         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4512         * include/c_std/bits/std_cwchar.h (std): Same.
4513         * acconfig.h (std): Remove c99 injection into std.
4514         * config.h.in: Regenerate.
4515
4516         * testsuite/README: Fix typo.
4517
4518         * include/bits/codecvt.h: Remove warnings.
4519
4520 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4521
4522         * include/ext/slist: Include required header files.
4523
4524 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
4525
4526         * include/c_std/bits/std_cerrno.h (errno): Define macro from
4527         identifier declared with external linkage, if needed.
4528         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4529         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4530
4531 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4532
4533         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4534         re-configures find the build compiler.
4535         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4536         libstdc++/2609.
4537         * aclocal.m4: Regenerate.
4538         * configure: Regenerate.
4539
4540 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
4541
4542         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4543         support is enabled correctly before long long is activated.
4544         * aclocal.m4: Regenerate.
4545         * configure: Regenerate.
4546
4547         * include/backward/backward_warning.h: Format correctly.
4548
4549         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4550         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4551         * testsuite/26_numerics/c99_macros.cc: Remove.
4552
4553 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
4554
4555         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
4556         __iterator_category.
4557
4558 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
4559
4560         * acconfig.h (_GLIBCPP_USE_C99): Add.
4561         * config.h.in: Regenerate.
4562         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4563         9899: 1999 support.
4564         * aclocal.m4: Regenerate.
4565         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4566         * configure: Regenerate.
4567         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4568         * configure: Regenerate.
4569         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4570         into c99.
4571         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4572         namespace.
4573         * include/c_std/bits/std_cstdlib.h: Same.
4574         * docs/html/configopts.html: Update.
4575         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4576         math.h
4577         (test_c99_classify): Add.
4578         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4579         (_ISOC99_SOURCE): Remove.
4580
4581         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4582         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4583         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4584         * aclocal.m4: Regenerate.
4585         * configure: Regenerate.
4586
4587 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
4588
4589         * Makefile.am (doxygen):  Assume script is missing execute perms.
4590         * Makefile.in:  Regenerated.
4591         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
4592
4593 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
4594
4595         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4596
4597 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4598
4599         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4600         * testsuite/23_containers/set_operators.cc: Same.
4601
4602         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4603         default.
4604         (__GLIBCPP__): Bump from value of last release.
4605         * include/bits/concept_check.h: Default to off, edit comments.
4606         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4607         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4608         * src/Makefile.in: Regenerate.
4609
4610 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
4611
4612         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4613         Properly uglify member.
4614
4615 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4616
4617         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
4618         of EqualityCo
4619         mparableConcept.
4620
4621 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4622
4623         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
4624         * include/bits/concept_check.h:  Uglify.
4625         * include/bits/stl_algo.h:  Likewise.
4626         * include/bits/stl_algobase.h:  Likewise.
4627         * include/bits/stl_deque.h:  Likewise.
4628         * include/bits/stl_heap.h:  Likewise.
4629         * include/bits/stl_iterator_base_funcs.h:  Likewise.
4630         * include/bits/stl_list.h:  Likewise.
4631         * include/bits/stl_map.h:  Likewise.
4632         * include/bits/stl_multimap.h:  Likewise.
4633         * include/bits/stl_multiset.h:  Likewise.
4634         * include/bits/stl_numeric.h:  Likewise.
4635         * include/bits/stl_queue.h:  Likewise.
4636         * include/bits/stl_set.h:  Likewise.
4637         * include/bits/stl_stack.h:  Likewise.
4638         * include/bits/stl_vector.h:  Likewise.
4639         * include/ext/hash_map:  Likewise.
4640         * include/ext/hash_set:  Likewise.
4641         * include/ext/slist:  Likewise.
4642
4643 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
4644
4645         * testsuite/23_containers/set_operators.cc: Just try to compile.
4646         Mark as XFAIL.
4647         * testsuite/23_containers/map_operators.cc: Same.
4648
4649 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
4650
4651         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4652         output_file.
4653         (dg-test): Revert rth's change.
4654
4655 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
4656
4657         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4658         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4659
4660 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
4661
4662         * testsuite/README: Add DejaGnu specific documentation.
4663
4664 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
4665
4666         * acinclude.m4: AC_CHECK_TOOL for expect.
4667         * aclocal.m4: Regenerate.
4668         * configure: Regenerate.
4669         * testsuite/Makefile.am (RUNTEST): Use substituted.
4670         (EXPECT): Same.
4671
4672         * configure.in: Remove xcompiling substitution.
4673         * tests_flags.in (CROSS_LIB_PATH): Remove.
4674         (xcompiling): Remove.
4675         (CXX): Use substituted CXX.
4676
4677 2001-04-11  Richard Henderson  <rth@redhat.com>
4678
4679         * testsuite/lib/libstdc++.exp: Specify path for output_file.
4680
4681 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
4682
4683         * include/bits/std_valarray.h(valarray<>::operator[]): Make
4684         inline.
4685
4686 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4687
4688         * testsuite/25_algorithms/equal.cc: New test.
4689
4690 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
4691
4692         * stl_algobase.h (std::equal): avoid use of possibly-undefined
4693         operator != (one line patch).
4694
4695 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
4696
4697         * include/backward/backward_warning.h: Re-enable.
4698
4699 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4700             Alexandre Oliva  <aoliva@redhat.com>
4701
4702         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4703
4704 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4705
4706         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4707         * testsuite/26_numerics/c99_macros.cc: Add test.
4708
4709 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
4710
4711         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
4712         * docs/html/faq/index.txt:  Regenerated.
4713
4714 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4715
4716         * include/backward/backward_warning.h: Temporarily disable until
4717         g++ testsuite changes go in.
4718         * tests_flags.in (CROSS_LIB_PATH): Add.
4719
4720 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4721
4722         Warn when using backward headers.
4723         * include/backward/algo.h: Include warning file.
4724         * include/backward/vector.h: Same.
4725         * include/backward/tree.h: Same.
4726         * include/backward/tempbuf.h: Same.
4727         * include/backward/strstream: Same.
4728         * include/backward/streambuf.h: Same.
4729         * include/backward/stream.h: Same.
4730         * include/backward/stack.h: Same.
4731         * include/backward/slist.h: Same.
4732         * include/backward/set.h: Same.
4733         * include/backward/rope.h:
4734         * include/backward/queue.h: Same.
4735         * include/backward/pair.h: Same.
4736         * include/backward/ostream.h: Same.
4737         * include/backward/new.h: Same.
4738         * include/backward/multiset.h: Same.
4739         * include/backward/multimap.h: Same.
4740         * include/backward/map.h: Same.
4741         * include/backward/list.h: Same.
4742         * include/backward/iterator.h: Same.
4743         * include/backward/istream.h: Same.
4744         * include/backward/iostream.h:
4745         * include/backward/iomanip.h:
4746         * include/backward/heap.h: Same.
4747         * include/backward/hashtable.h:
4748         * include/backward/hash_set.h:
4749         * include/backward/hash_map.h:
4750         * include/backward/function.h:
4751         * include/backward/fstream.h:
4752         * include/backward/deque.h:
4753         * include/backward/defalloc.h: Same.
4754         * include/backward/complex.h: Same.
4755         * include/backward/bvector.h:
4756         * include/backward/alloc.h:
4757         * include/backward/algobase.h: Same.
4758
4759         * include/backward/backward_warning.h: New file.
4760         * src/Makefile.am (backward_headers): Add backward_warning.h
4761         * src/Makefile.in: Regenerate.
4762
4763 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4764
4765         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4766         created.
4767         (myinstallheaders): Install backward headers in backward directory.
4768         * src/Makefile.in: Regenerate.
4769
4770 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4771
4772         Prepare for libstdc++-2.92.
4773         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4774         * docs/html/configopts.html: Fix formatting.
4775         * README (file): Updates.
4776         * include/bits/c++config (__GLIBCPP__): Update.
4777
4778 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4779
4780         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4781
4782 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4783
4784         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4785         reduce confusing documentation output.
4786
4787 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
4788
4789         * include/backward/fstream.h: Add missing semicolons.
4790
4791 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4792
4793         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
4794         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
4795         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
4796         (ios_base::Init::_S_ios_create): New.
4797         (ios_base::Init::_S_ios_destroy): New.
4798         * include/bits/std_fstream.h: Change ctor args.
4799         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
4800         (ios_base::Init::~Init): Use _S_ios_destroy.
4801         (ios_base::sync_with_stdio): Use new members.
4802         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
4803         filebuf ctor.
4804
4805 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4806
4807         * include/backward/fstream.h:  Expose streampos to global
4808         namespace.
4809
4810 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4811
4812         * include/bits/stl_iterator_base_types.h: Fix typo
4813
4814 2001-04-03  Andreas Schwab  <schwab@suse.de>
4815
4816         * include/backward/fstream.h: Define filebuf and wfilebuf.
4817
4818 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
4819
4820         New concept checking implementation.
4821         * docs/html/19_diagnostics/howto.html:  Document.
4822         * docs/html/17_intro/concept_check.diff:  New file, for reference.
4823         * include/bits/boost_concept_check.h:  New file from Boost.
4824         * include/bits/c++config:  Update comments.
4825
4826         * include/bits/concept_check.h:  New file.
4827         * include/bits/concept_checks.h:  Removed.
4828         * include/bits/container_concepts.h:  Removed.
4829         * include/bits/sequence_concepts.h:  Removed.
4830         * include/bits/stl_iterator_base.h:  Removed; split into...
4831         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
4832         * include/bits/stl_iterator_base_types.h:  ...and this new file.
4833
4834         * include/bits/sbuf_iter.h:  Update to use new implementation.
4835         * include/bits/std_iterator.h:  Likewise.
4836         * include/bits/std_memory.h:  Likewise.
4837         * include/bits/stl_algo.h:  Likewise.
4838         * include/bits/stl_algobase.h:  Likewise.
4839         * include/bits/stl_construct.h:  Likewise.
4840         * include/bits/stl_deque.h:  Likewise.
4841         * include/bits/stl_heap.h:  Likewise.
4842         * include/bits/stl_list.h:  Likewise.
4843         * include/bits/stl_map.h:  Likewise.
4844         * include/bits/stl_multimap.h:  Likewise.
4845         * include/bits/stl_multiset.h:  Likewise.
4846         * include/bits/stl_numeric.h:  Likewise.
4847         * include/bits/stl_queue.h:  Likewise.
4848         * include/bits/stl_set.h:  Likewise.
4849         * include/bits/stl_stack.h:  Likewise.
4850         * include/bits/stl_uninitialized.h:  Likewise.
4851         * include/bits/stl_vector.h:  Likewise.
4852         * include/ext/hash_map:  Likewise.
4853         * include/ext/hash_set:  Likewise.
4854         * include/ext/slist:  Likewise.
4855         * include/ext/stl_hashtable.h:  Likewise.
4856
4857         * src/Makefile.am (base_headers):  Update list of headers.
4858         * Makefile.in:  Regenerated.
4859         * src/Makefile.in:  Regenerated.
4860         * libio/Makefile.in:  Regenerated.
4861         * libmath/Makefile.in:  Regenerated.
4862         * libsupc++/Makefile.in:  Regenerated.
4863         * testsuite/Makefile.in:  Regenerated.
4864
4865         * docs/html/install.html:  Update contact information.
4866         * docs/html/17_intro/howto.html:  Ditto.
4867         * docs/html/18_support/howto.html:  Ditto.
4868         * docs/html/20_util/howto.html:  Ditto.
4869         * docs/html/21_strings/howto.html:  Ditto.
4870         * docs/html/22_locale/howto.html:  Ditto.
4871         * docs/html/23_containers/howto.html:  Ditto.
4872         * docs/html/24_iterators/howto.html:  Ditto.
4873         * docs/html/25_algorithms/howto.html:  Ditto.
4874         * docs/html/26_numerics/howto.html:  Ditto.
4875         * docs/html/27_io/howto.html:  Ditto.
4876         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
4877         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
4878         * docs/html/faq/index.txt:  Regenerated.
4879
4880 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
4881
4882         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
4883         messages with $which_library as well as $tool_flags and
4884         ${dg-extra-tool-flags}.  Factor out annotation text into
4885         a single variable.
4886
4887 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
4888
4889         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
4890         * include/c_std/bits/std_cwchar.h: Same.
4891         * testsuite/21_strings/c_strings.cc: Add.
4892
4893 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
4894
4895         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
4896
4897 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
4898
4899         * tests_flags.in: Use test a = b, not test a == b which is not
4900         portable.
4901
4902 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
4903
4904         * configure.target: Remove duplicate aix entry.
4905
4906 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
4907
4908         * include/ext/stl_bvector.h: Move to...
4909         * include/bits/stl_vector.h: ...here.
4910         * include/ext/bvector: Move to...
4911         * include/backward/bvector.h: ...here.
4912         * include/bits/std_vector.h: Change stl_bvector include.
4913         * include/bits/std_queue.h: Remove bvector include.
4914         * include/ext/tree: Insert using rb_tree, move to...
4915         * include/backward/tree.h: ...here.
4916         * include/backward/hash_map.h: Include ext/hash_map.
4917         * include/backward/hash_set.h: Include ext/hash_set.
4918         * include/backward/queue.h: New file.
4919         * include/backward/stack.h: Edit.
4920         * include/backward/algo.h: Same.
4921         * include/backward/algobase.h: Same.
4922         * include/backward/alloc.h: Same.
4923         * include/backward/function.h: Same.
4924         * include/backward/iomanip.h: Same.
4925         * include/backward/istream.h: Same.
4926         * include/backward/iterator.h: Same.
4927         * include/backward/list.h: Same.
4928         * include/backward/map.h: Same.
4929         * include/backward/multimap.h: Same.
4930         * include/backward/multiset.h: Same.
4931         * include/backward/ostream.h: Same.
4932         * include/backward/pair.h: Same
4933         * include/backward/rope.h: Same.
4934         * include/backward/set.h: Same.
4935         * include/backward/stream.h: Same.
4936         * include/backward/strstream.h: Same.
4937         * include/backward/tempbuf.h: Same.
4938         * src/Makefile.am (ext_headers): Edit.
4939         * src/Makefile.in: Regenerate.
4940         * testsuite/ext/headers.cc (main): Fix.
4941         * mkcheck.in: Fix.
4942
4943 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
4944
4945         * tests_flags.in (LIBS):  Pass correct path for installed testing.
4946
4947 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
4948
4949         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
4950         * tests_flags.in (CXX): Construct here.
4951         (static_fail): Don't remove compile.out. Format with spaces.
4952         (INCLUDES): Deal with xcompiling.
4953         * configure.in (xcompiling): Substitute.
4954         * testsuite/Makefile.am: Snake libjava configury.
4955         * testsuite/Makefile.in: Regenerate.
4956         * testsuite/23_containers/map_operators.cc: Tweaks.
4957         * testsuite/23_containers/set_operators.cc: Tweaks.
4958
4959 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4960
4961         Enable dejagnu testing framework.
4962         * configure.in: Generate testsuite/Makefile.
4963         * configure: Regenerate.
4964         * Makefile.am (check-install): Change rule from this...
4965         (check-script-install): ...to this.
4966         (check): Change rule from this...
4967         (check-script):...to this.
4968         * Makefile.in: Regenerate.
4969
4970 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
4971
4972         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
4973         --tag CXX.
4974         (LIBTOOL): Let automake take care of its definition.
4975         * libsupc++/Makefile.in: Rebuilt.
4976
4977 2001-03-28  Richard Henderson  <rth@redhat.com>
4978
4979         IA-64 ABI Exception Handling:
4980         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
4981         * configure.in: Use it.
4982         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
4983         * libsupc++/Makefile.am (sources): Update files list.
4984         * libsupc++/Makefile.in: Regenerate.
4985         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
4986         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
4987         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
4988         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
4989         * libsupc++/exception_support.cc: Remove.
4990         * libsupc++/exception_support.h: Remove.
4991         * libsupc++/pure.cc: Use std::terminate.
4992         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
4993         (__is_pointer): Remove.
4994         * libsupc++/unwind-cxx.h: New file.
4995         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
4996
4997 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
4998
4999         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5000         CXX tag explicitly.
5001         * src/Makefile.am (CXXLINK): Likewise.
5002         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5003
5004 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
5005
5006         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5007
5008 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5009
5010         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5011           and libc
5012
5013 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
5014
5015         * include/bits/basic_file.h (get_fileno): Remove.
5016         (_M_fileno): Remove.
5017         (_M_cfile_created): Add.
5018         (basic_file::basic_file(__c_file_type*, openmode): Add.
5019         (basic_file::basic_file(int, const char*, openmode): Remove.
5020         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5021         const char*, ios_base::openmode): Don't allocate
5022         internal buffers. Turn off internal buffers.
5023         (basic_filebuf::overflow): Remove test for null buffer.
5024         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5025         * include/bits/streambuf.cc: Tweak.
5026         * include/bits/std_ostream.h: Tweak.
5027         * config/basic_file_libio.h: Same.
5028         * config/basic_file_stdio.h: Same.
5029         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5030         * testsuite/27_io/filebuf_members.cc: Tweaks.
5031         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5032
5033 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5034
5035         * Makefile.am:  New targets, doxygen and doxygen-maint.
5036         * Makefile.in:  Regenerated.
5037         * docs/doxygen/run_doxygen:  Finally implemented.
5038         * docs/doxygen/maint.cfg.in:  New file.
5039         * docs/doxygen/user.cfg.in:  New file.
5040
5041 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5042
5043         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
5044         * src/Makefile.am:  Replace leading spaces with tabs on continuation
5045         lines.
5046         * aclocal.m4:  Regenerated.
5047         * configure:  Ditto.
5048         * Makefile.in:  Ditto.
5049         * src/Makefile.in:  Ditto.
5050         * libio/Makefile.in:  Ditto.
5051         * libmath/Makefile.in:  Ditto.
5052         * libsupc++/Makefile.in:  Ditto.
5053
5054 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5055
5056         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
5057         concept-checking code and current status of same.
5058         * docs/html/ext/howto.html:  Ditto.
5059         * docs/html/faq/index.html:  Ditto.
5060         * docs/html/faq/index.txt:  Regenerated.
5061
5062 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5063
5064         * include/bits/std_bitset.h:  Include ostream and istream headers
5065         instead of iostream.
5066
5067 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
5068
5069         * include/bits/ostream.tcc: Use __builtin_alloca.
5070
5071 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
5072
5073         * src/misc-inst.cc (__sink_unused_warning): Move to...
5074         * src/locale-inst.cc (__sink_unused_warning): Move to...
5075         * src/stl-inst.cc: Here.
5076         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5077         commented it out.
5078
5079 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
5080
5081         * intclude/bits/basic_file.h: Fix typos in comments.
5082
5083 2001-03-20  Richard Henderson  <rth@redhat.com>
5084
5085         * src/gen-num-limits.cc: Instantiate for wchar_t.
5086         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5087
5088 2001-03-20  Jason Merrill  <jason@redhat.com>
5089
5090         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5091         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5092         * libsupc++/cxxabi.h: Declare it.
5093
5094 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5095
5096         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5097         signal_func with an unspecified argument list.
5098
5099 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
5100
5101         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5102
5103 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5104
5105         * include/bits/basic_string.tcc (operator+): Fix thinko.
5106
5107 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
5108
5109         libstdc++/2020
5110         * include/bits/std_streambuf.h: Remove cached locale facets.
5111         (basic_streambuf::_M_buf_fctype): Remove.
5112         (basic_streambuf::~basic_streambuf): Remove here.
5113         (basic_streambuf::basic_streambuf): Same.
5114         (basic_streambuf::imbue): Same.
5115         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5116         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5117         (basic_filebuf::~basic_filebuf()): Remove here.
5118         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5119         (basic_filebuf::imbue): Same.
5120         * include/bits/localefwd.h (_Count_ones): Remove.
5121         (locale::_S_num_categories): Just use 6, since this doesn't
5122         actually change, ever.
5123         * include/bits/locale_facets.tcc (has_facet): Simplify.
5124         (use_facet): Same.
5125         * testsuite/27_io/filebuf.cc (test06): Add tests.
5126
5127 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
5128
5129         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5130         match HP-UX ctype.h header file.
5131
5132 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
5133
5134         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5135         duplicate definitions of __dj_ctype_*
5136
5137 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
5138
5139         * libsupc++/new: Remove pragma interface.
5140         * libsupc++/typeinfo: Same.
5141         * libsupc++/exception: Same.
5142         * libsupc++/new_handler.cc: Remove pragma implementation.
5143         (bad_alloc::~bad_alloc()): Add.
5144         * libsupc++/exception_support.cc: Same.
5145         (exception::~exception): Add.
5146         (bad_exception::~bad_exception): Add.
5147         * libsupc++/tinfo.cc: Same.
5148         (bad_cast::~bad_cast): Add.
5149         (bad_typeid::~bad_typeid): Add.
5150
5151 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
5152
5153         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
5154
5155 2001-03-12  Felix Lee  <flee@redhat.com>
5156
5157         * mkcheck.in: workaround for bash 2.01 IFS bug.
5158
5159 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5160
5161         Fixups for -fno-for-scope
5162         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5163         * src/valarray-inst.cc (__gslice_to_index): Same.
5164
5165 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
5166
5167         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5168         prior to trapping signal (UnixWare 7 workaround).
5169
5170 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
5171
5172         * include/backward/hashtable.h: Same.
5173         * include/backward/rope.h: Fix include.
5174
5175 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5176
5177         * include/backward/vector.h: Include std_vector.h.
5178
5179         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5180         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5181         Fix typo.
5182
5183 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5184
5185         * include/ext/stl_hashtable.h: Change type of __n to size_t
5186         * include/backward/bvector.h: Include <ext/stl_bvector.h>
5187
5188 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5189
5190         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5191         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5192         Use streamsize, not int_type.
5193
5194 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
5195
5196         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5197         moment.
5198
5199 2001-03-08  Andreas Schwab  <schwab@suse.de>
5200
5201         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5202         command.
5203         * aclocal.m4, configure: Regenerated.
5204
5205 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
5206
5207         * include/bits/std_iosfwd.h: Remove string forward decls here.
5208         * include/bits/stringfwd.h: Add forward decls for char_traits
5209         specializations.
5210         * config/c_io_libio.h (wstreamoff): Delete.
5211         * config/c_io_stdio.h (wstreamoff): Same.
5212         * include/bits/char_traits.h: Use streamoff not wstreamoff for
5213         char_traits<wchar_t>::off_type.
5214         Remove duplicate typedefs.
5215         * include/bits/fpos.h: Define streampos/wstreampos here.
5216         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5217         values to off_type.
5218         (test05): Same.
5219         Changeup output files.
5220         * testsuite/27_io/istream_unformatted.cc: Change output files.
5221         * testsuite/27_io/istream_seeks-1.txt: Add.
5222         * testsuite/27_io/istream_seeks-2.tst: Add.
5223         * testsuite/27_io/istream_seeks-1.tst: Add.
5224         * testsuite/27_io/istream_unformatted-2.tst: Delete.
5225         * testsuite/27_io/istream_unformatted-3.tst: Delete.
5226         * testsuite/27_io/istream_unformatted-3.txt: Delete.
5227
5228 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
5229
5230         Add Irix 5.2, 6.3 support.
5231         * config/os/irix/bits: Renamed to...
5232         * config/os/irix/irix6.5/bits: this.
5233         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5234         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5235         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5236         * config/os/irix/irix5.2/bits/ctype_noninline.h
5237         (ctype<char>::ctype): Initialize _M_table with __ctype.
5238         * configure.target: Adjust.
5239
5240 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
5241
5242         libstdc++/2181
5243         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5244         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5245         sentry.
5246         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5247         (*__pf)(__ios_type&)): Same.
5248         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5249         (*__pf)(ios_base&))): Same.
5250         * testsuite/27_io/istream_extractor_other.cc: Add tests.
5251         * testsuite/27_io/istream_manip.cc (test01): Fix.
5252
5253 2001-03-06  Nathan Myers  <ncm@cantrip.org>
5254             Benjamin Kosnik  <bkoz@redhat.com>
5255
5256         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5257         * testsuite/17_intro/header_cerrno.cc (test01): New file.
5258         * testsuite/17_intro/header_cassert.cc (test01): New file.
5259         * testsuite/17_intro/header_cstddef.cc (test01): New file.
5260         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5261         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5262
5263 2001-03-05  scott snyder  <snyder@fnal.gov>
5264
5265         libstdc++/2190
5266         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5267         from here...
5268         * include/c_std/bits/std_cstdlib.h: ... to here.
5269         * testsuite/17_intro/header_cstdlib.cc: Add test.
5270
5271 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
5272
5273         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5274
5275 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
5276
5277         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5278         definition. Replace enum with static const variables.
5279
5280         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5281         throw specification, fix typos, use <static_cast>.
5282         (ctype<char>::scan_is): remove throw specification.
5283         (ctype<char>::scan_not): likewise.
5284
5285         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5286         (ctype<char>::do_toupper(char)): use <static_cast>.
5287         (ctype<char>::do_toupper(char *, const char *)): likewise.
5288         (ctype<char>::do_tolower(char)): likewise.
5289         (ctype<char>::do_tolower(char *, const char *)): likewise.
5290
5291 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
5292
5293         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5294         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
5295         macros and "never happens" code.  Adjust to C++STYLE guidelines.
5296         * include/backward/algobase.h:  Likewise.
5297         * include/backward/alloc.h:  Likewise.
5298         * include/backward/bvector.h:  Likewise.
5299         * include/backward/deque.h:  Likewise.
5300         * include/backward/function.h:  Likewise.
5301         * include/backward/hash_map.h:  Likewise.
5302         * include/backward/hash_set.h:  Likewise.
5303         * include/backward/hashtable.h:  Likewise.
5304         * include/backward/heap.h:  Likewise.
5305         * include/backward/iterator.h:  Likewise.
5306         * include/backward/list.h:  Likewise.
5307         * include/backward/map.h:  Likewise.
5308         * include/backward/multimap.h:  Likewise.
5309         * include/backward/multiset.h:  Likewise.
5310         * include/backward/pair.h:  Likewise.
5311         * include/backward/rope.h:  Likewise.
5312         * include/backward/set.h:  Likewise.
5313         * include/backward/slist.h:  Likewise.
5314         * include/backward/stack.h:  Likewise.
5315         * include/backward/strstream:  Likewise.
5316         * include/backward/tempbuf.h:  Likewise.
5317         * include/backward/tree.h:  Likewise.
5318         * include/backward/vector.h:  Likewise.
5319         * include/bits/basic_ios.h:  Likewise.
5320         * include/bits/basic_ios.tcc:  Likewise.
5321         * include/bits/basic_string.h:  Likewise.
5322         * include/bits/c++config:  Likewise.
5323         * include/bits/concept_checks.h:  Likewise.
5324         * include/bits/fpos.h:  Likewise.
5325         * include/bits/fstream.tcc:  Likewise.
5326         * include/bits/functexcept.h:  Likewise.
5327         * include/bits/ios_base.h:  Likewise.
5328         * include/bits/istream.tcc:  Likewise.
5329         * include/bits/mask_array.h:  Likewise.
5330         * include/bits/ostream.tcc:  Likewise.
5331         * include/bits/pthread_allocimpl.h:  Likewise.
5332         * include/bits/sbuf_iter.h:  Likewise.
5333         * include/bits/slice.h:  Likewise.
5334         * include/bits/slice_array.h:  Likewise.
5335         * include/bits/sstream.tcc:  Likewise.
5336         * include/bits/std_bitset.h:  Likewise.
5337         * include/bits/std_fstream.h:  Likewise.
5338         * include/bits/std_iomanip.h:  Likewise.
5339         * include/bits/std_ios.h:  Likewise.
5340         * include/bits/std_istream.h:  Likewise.
5341         * include/bits/std_iterator.h:  Likewise.
5342         * include/bits/std_memory.h:  Likewise.
5343         * include/bits/std_ostream.h:  Likewise.
5344         * include/bits/std_sstream.h:  Likewise.
5345         * include/bits/std_streambuf.h:  Likewise.
5346         * include/bits/std_string.h:  Likewise.
5347         * include/bits/std_valarray.h:  Likewise.
5348         * include/bits/stl_algo.h:  Likewise.
5349         * include/bits/stl_algobase.h:  Likewise.
5350         * include/bits/stl_alloc.h:  Likewise.
5351         * include/bits/stl_construct.h:  Likewise.
5352         * include/bits/stl_deque.h:  Likewise.
5353         * include/bits/stl_function.h:  Likewise.
5354         * include/bits/stl_heap.h:  Likewise.
5355         * include/bits/stl_iterator.h:  Likewise.
5356         * include/bits/stl_iterator_base.h:  Likewise.
5357         * include/bits/stl_list.h:  Likewise.
5358         * include/bits/stl_map.h:  Likewise.
5359         * include/bits/stl_multimap.h:  Likewise.
5360         * include/bits/stl_multiset.h:  Likewise.
5361         * include/bits/stl_numeric.h:  Likewise.
5362         * include/bits/stl_pair.h:  Likewise.
5363         * include/bits/stl_pthread_alloc.h:  Likewise.
5364         * include/bits/stl_queue.h:  Likewise.
5365         * include/bits/stl_raw_storage_iter.h:  Likewise.
5366         * include/bits/stl_relops.h:  Likewise.
5367         * include/bits/stl_set.h:  Likewise.
5368         * include/bits/stl_stack.h:  Likewise.
5369         * include/bits/stl_tempbuf.h:  Likewise.
5370         * include/bits/stl_threads.h:  Likewise.
5371         * include/bits/stl_tree.h:  Likewise.
5372         * include/bits/stl_uninitialized.h:  Likewise.
5373         * include/bits/stl_vector.h:  Likewise.
5374         * include/bits/streambuf.tcc:  Likewise.
5375         * include/bits/type_traits.h:  Likewise.
5376         * include/bits/valarray_meta.h:  Likewise.
5377         * include/ext/bvector:  Likewise.
5378         * include/ext/hash_map:  Likewise.
5379         * include/ext/hash_set:  Likewise.
5380         * include/ext/ropeimpl.h:  Likewise.
5381         * include/ext/slist:  Likewise.
5382         * include/ext/stl_bvector.h:  Likewise.
5383         * include/ext/stl_hash_fun.h:  Likewise.
5384         * include/ext/stl_hashtable.h:  Likewise.
5385         * include/ext/stl_rope.h:  Likewise.
5386         * src/complex_io.cc:  Likewise.
5387         * src/ios.cc:  Likewise.
5388         * src/locale-inst.cc:  Likewise.
5389         * src/locale.cc:  Likewise.
5390         * src/localename.cc:  Likewise.
5391         * src/misc-inst.cc:  Likewise.
5392         * src/stdexcept.cc:  Likewise.
5393         * src/stl-inst.cc:  Likewise.
5394         * src/strstream.cc:  Likewise.
5395         * src/valarray-inst.cc:  Likewise.
5396
5397 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
5398
5399         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5400
5401 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5402
5403         * include/bits/istream.tcc: change type of __extracted to __size_type
5404
5405 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
5406
5407         * src/wstring-inst.cc: New file.
5408         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5409         (libinst_wstring_la_SOURCES): Remove.
5410         (libstdc___la_LIBADD): Remove libinst_wstring_la.
5411         (sources): Add wstring-inst.cc
5412         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5413         libinst_wstring_la.
5414
5415 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5416
5417         * src/locale.cc: initialise __ret with zero
5418         * src/strstream.cc:cast gptr to int_type
5419
5420 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
5421
5422         * docs/html/faq/index.html:  Update broken links.
5423         * docs/html/faq/index.txt:  Regenerated.
5424
5425 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5426
5427         libstdc++/2064
5428         * configure.target: Change irix* to irix6.5* in target_os table.
5429
5430 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5431
5432         libstdc++/2103
5433         * include/bits/c++config (__GLIBCPP__): Bump number in
5434         anticipation of 2.92.
5435
5436         * include/bits/codecvt.h: Fix typo.
5437         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5438         stdio model.
5439         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5440         instantiations for stdio model.
5441
5442 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
5443
5444         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
5445           and GLIBCPP_CXXFLAGS as unused variables.
5446         * configure.host:  Likewise.
5447         * configure.target:  Likewise.
5448         * aclocal.m4:  Regenerated.
5449         * configure:  Regenerated.
5450         * Makefile.in:  Regenerated.
5451         * libio/Makefile.in:  Regenerated.
5452         * libmath/Makefile.in:  Regenerated.
5453         * libsupc++/Makefile.in:  Regenerated.
5454         * src/Makefile.in:  Regenerated.
5455
5456 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5457
5458         libstdc++/1886
5459         * include/bits/basic_file.h: Include basic_file_model.h.
5460         * config/c_io_libio.cc: Move to...
5461         * config/basic_file_libio.cc: Here.
5462         * config/basic_file_libio.h: New file.
5463         * config/c_io_stdio.cc: Move to...
5464         * config/basic_file_stdio.cc: Here.
5465         * config/basic_file_stdio.h: New file.
5466         * config/c_io_libio.h: Tweak.
5467         * config/c_io_stdio.h: Tweak.
5468         * src/Makefile.am (build_headers): Add basic_file_model.h.
5469         (sources): Add basic_file.cc, remove c++io.cc.
5470         * src/Makefile.in: Regenerate.
5471         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5472         basic_file_model.h and basic_file.cc.
5473         * aclocal.m4: Regenerate.
5474         * configure: Regenerate.
5475         * testsuite/27_io/filebuf.cc (test05): Add regression.
5476
5477 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5478
5479         Correct license.
5480         * config/cpu/alpha/bits/atomicity.h: Change.
5481         * config/cpu/arm/bits/atomicit3y.h
5482         * config/cpu/generic/bits/atomicity.h
5483         * config/cpu/i386/bits/atomicity.h
5484         * config/cpu/i486/bits/atomicity.h
5485         * config/cpu/ia64/bits/atomicity.h
5486         * config/cpu/powerpc/bits/atomicity.h
5487         * config/cpu/sparc/sparc32/bits/atomicity.h
5488         * config/cpu/sparc/sparc64/bits/atomicity.h
5489         * config/os/aix/bits/atomicity.h
5490         * config/os/irix/bits/atomicity.h
5491
5492 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5493
5494         * include/bits/std_stdexcept.h (runtime_error): Make string
5495         member non-const.
5496         (logic_error): Same.
5497         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5498         (test03): Fix.
5499
5500 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
5501
5502         libstdc++/1972
5503         libstdc++/2089
5504         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5505         string object, not reference.
5506         (runtime_error::runtime_error): Same.
5507         * testsuite/19_diagnostics/stdexceptions.cc: New file.
5508
5509 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5510
5511         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
5512           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
5513           diagnostics.  Remove WFMT_FLAGS.
5514         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
5515         * libsupc++/Makefile.am:  Likewise.
5516         * src/Makefile.am:  Likewise.
5517         * aclocal.m4:  Regenerated.
5518         * configure:  Regenerated.
5519         * Makefile.in:  Regenerated.
5520         * libio/Makefile.in:  Regenerated.
5521         * libmath/Makefile.in:  Regenerated.
5522         * libsupc++/Makefile.in:  Regenerated.
5523         * src/Makefile.in:  Regenerated.
5524
5525 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5526
5527         Fixes libstdc++/2079
5528         * include/backward/iomanip.h:  Expose <ios> manipulators to global
5529           namespace.
5530         * include/backward/iostream.h:  Also expose std::ws.
5531
5532 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
5533
5534         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5535
5536 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
5537
5538         * include/bits/codecvt.h: Use __builtin_alloca.
5539         * include/bits/ostream.tcc: Same.
5540         * include/bits/fstream.tcc: Same.
5541
5542 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
5543
5544         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5545
5546 2001-02-23  David Edelsohn <dje@watson.ibm.com>
5547
5548         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5549
5550 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
5551
5552         c++/2052
5553         * include/backward/iostream.h:  Expose std::flush in old headers.
5554
5555 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5556
5557         * mknumeric_limits: Remove special-casing on target.  Use gcc
5558         instead of g++ to build gen-num-limits.cc
5559
5560 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
5561
5562         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5563
5564         * include/bits/codecvt.h: Use alloca instead of __extension__ for
5565         the time being.
5566         * include/bits/ostream.tcc: Same.
5567         * include/bits/std_ostream.h: Same.
5568         * include/bits/fstream.tcc: Same.
5569         * include/bits/locale_facets.tcc: Add typename.
5570         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5571
5572 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
5573
5574         * tests_flags.in:  Remove -n flag from call to echo.
5575
5576 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
5577
5578         * config/c_locale_gnu.h: Add clocale include.
5579
5580 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
5581
5582         * include/bits/stl_config.h:  Remove file.
5583         * src/Makefile.am (base_headers):  Remove from list.
5584         * configure:  Regenerate.
5585         * Makefile.in:  Ditto.
5586         * libio/Makefile.in:  Ditto.
5587         * libmath/Makefile.in:  Ditto.
5588         * libsupc++/Makefile.in:  Ditto.
5589         * src/Makefile.in:  Ditto.
5590
5591         * include/bits/c++config:  Move relevant macros to here.
5592         * include/backward/alloc.h:  Include c++config.h instead.
5593         * include/backward/function.h:  Ditto.
5594         * include/backward/heap.h:  Ditto.
5595         * include/backward/pair.h:  Ditto.
5596         * include/bits/pthread_allocimpl.h:  Ditto.
5597         * include/bits/std_functional.h:  Ditto.
5598         * include/bits/std_iterator.h:  Ditto.
5599         * include/bits/std_numeric.h:  Ditto.
5600         * include/bits/std_utility.h:  Ditto.
5601         * include/bits/stl_algobase.h:  Ditto.
5602         * include/bits/type_traits.h:  Ditto.
5603         * src/stl-inst.cc:  Ditto.
5604
5605 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5606
5607         * include/bits/basic_file.h: Add #pragma system_header
5608         * include/bits/basic_ios.h: Ditto.
5609         * include/bits/basic_string.h: Ditto.
5610         * include/bits/char_traits.h: Ditto.
5611         * include/bits/codecvt.h: Ditto.
5612         * include/bits/cpp_type_traits.h:  Ditto.
5613         * include/bits/fpos.h: Ditto.
5614         * include/bits/gslice.h: Ditto.
5615         * include/bits/gslice_array.h: Ditto.
5616         * include/bits/indirect_array.h: Ditto.
5617         * include/bits/ios_base.h: Ditto.
5618         * include/bits/limits_generic.h: Ditto.
5619         * include/bits/locale_facets.h: Ditto.
5620         * include/bits/localefwd.h: Ditto.
5621         * include/bits/mask_array.h: Ditto.
5622         * include/bits/sbuf_iter.h: Ditto.
5623         * include/bits/sequence_concepts.h: Ditto.
5624         * include/bits/slice.h: Ditto.
5625         * include/bits/slice_array.h: Ditto.
5626         * include/bits/std_algorithm.h: Likewise.
5627         * include/bits/std_bitset.h: Likewise.
5628         * include/bits/std_complex.h: Likewise.
5629         * include/bits/std_deque.h: Likewise.
5630         * include/bits/std_fstream.h: Likewise.
5631         * include/bits/std_functional.h: Likewise.
5632         * include/bits/std_iomanip.h: Likewise.
5633         * include/bits/std_ios.h: Likewise.
5634         * include/bits/std_iosfwd.h: Likewise.
5635         * include/bits/std_iostream.h: Likewise.
5636         * include/bits/std_istream.h: Likewise.
5637         * include/bits/std_iterator.h: Likewise.
5638         * include/bits/std_list.h: Likewise.
5639         * include/bits/std_locale.h: Likewise.
5640         * include/bits/std_map.h: Likewise.
5641         * include/bits/std_memory.h: Likewise.
5642         * include/bits/std_numeric.h: Likewise.
5643         * include/bits/std_ostream.h: Likewise.
5644         * include/bits/std_queue.h: Likewise.
5645         * include/bits/std_set.h: Likewise.
5646         * include/bits/std_sstream.h: Likewise.
5647         * include/bits/std_stack.h: Likewise.
5648         * include/bits/std_stdexcept.h: Likewise.
5649         * include/bits/std_streambuf.h: Likewise.
5650         * include/bits/std_string.h: Likewise.
5651         * include/bits/std_utility.h: Likewise.
5652         * include/bits/std_valarray.h: Likewise.
5653         * include/bits/std_vector.h: Likewise.
5654         * include/bits/stringfwd.h: Likewise.
5655         * include/bits/type_traits.h: Likewise.
5656         * include/bits/valarray_array.h: Likewise.
5657         * include/bits/valarray_meta.h: Likewise.
5658
5659 2001-02-19  Andreas Jaeger  <aj@suse.de>
5660
5661         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5662         Fix typo.
5663
5664 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
5665
5666         libstdc++/1734
5667         * include/bits/std_ostream.h: Replaced usage of
5668         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5669         * include/bits/char_traits.h: Removed non-standard
5670         methods that cannot be used elsewhere.
5671
5672         libstdc++/1885
5673         * include/bits/basic_ios.h: Uncommented #include of
5674         bits/basic_ios.tcc
5675
5676         libstdc++/1897
5677         * include/bits/codecvt.h: See next...
5678         * include/bits/fstream.tcc: See next...
5679         * include/bits/ostream.tcc: Add __extension__
5680         to variable-length arrays.
5681
5682         libstdc++/1967
5683         * include/bits/localefwd.h: Changed int counter type to size_t.
5684
5685         libstdc++/1968
5686         * include/bits/std_fstream.h: Added typedef for __ctype_type.
5687
5688 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5689
5690         * testsuite/21_strings/char_traits.cc: Move to ...
5691         * testsuite/21_strings/char_traits_requirements.cc: ..here.
5692         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5693         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5694
5695 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
5696
5697         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5698         definitions.
5699
5700 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5701
5702         * include/bits/c++config: Revert.
5703
5704 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5705
5706         * include/bits/istream.tcc: Use ios_base::iostate in place of
5707         iostate throughout.  Insert `typename' keyword where necessary.
5708         * include/bits/ostream.tcc: Insert `typename' keyword where
5709         necessary.
5710
5711 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
5712
5713         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5714         Define so library is compliant.
5715
5716 2001-02-15  Anthony Green  <green@redhat.com>
5717
5718         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5719         compilation.
5720         * aclocal.m4: Regenerate.
5721         * configure: Regenerate.
5722
5723 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5724
5725         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5726         Include ieeefp.h for fpclass on UnixWare{2,7}.
5727         * aclocal.m4: Regenerate.
5728         * configure: Regenerate.
5729         * mkcheck.in (size_command): Do without GNU-grep when using
5730         size from binutils.
5731
5732 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5733
5734         Remove old ABI support from libsupc++.
5735         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5736         * libsupc++/exception_support.cc: Likewise.
5737         * libsupc++/pure.cc: Likewise.
5738         * libsupc++/tinfo.cc: Likewise.
5739         * libsupc++/tinfo.h: Likewise.
5740         * libsupc++/tinfo2.cc: Likewise.
5741         * libsupc++/typeinfo: Likewise.
5742         * libsupc++/vec.cc: Likewise.
5743
5744 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5745
5746         Add support for -fno-exceptions.
5747         * include/bits/exception_support.h: Remove.
5748         * include/bits/basic_string.h: Remove exception_support.
5749         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5750         (string::at): Same.
5751         (string::substr): Same.
5752         * include/bits/basic_string.tcc (string::reserve): Replace
5753         __LENGTHERROR with __throw_length_error.
5754         (string::_S_create): Same.
5755         (string::resize): Same.
5756         (string::_M_replace): Same.
5757         (string::replace): Same.
5758         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5759         (string::compare): Same.
5760         * include/bits/stl_vector.h: Remove exception_support.
5761         * src/Makefile.am (base_headers): Remove here.
5762         * src/Makefile.in: Regenerate.
5763
5764         * include/bits/stl_range_errors.h: Remove.
5765         * include/bits/stl_deque.h: Use __throw_range_error.
5766         * include/bits/std_deque.h: Include functexcept.h.
5767         * include/bits/std_vector.h: Same.
5768         * src/Makefile.am (base_headers): Remove here.
5769         * src/Makefile.in: Regenerate.
5770         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5771         * include/ext/bvector: Remove stl_range_errors.h
5772
5773         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5774
5775         * include/bits/functexcept.h: New file.
5776         * src/functexcept.cc: New file. Definitions for function-based
5777         exception routines.
5778         * src/Makefile.am (sources): Add functexcept.cc.
5779         * src/Makefile.in: Regenerate.
5780
5781         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5782         __EXCEPTIONS.
5783
5784         * include/bits/localefwd.h: Include functexcept.h.
5785         * include/bits/std_iosfwd.h: Same.
5786
5787         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
5788         throw basic_ios::failure.
5789         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
5790         Use __throw_exception_again.
5791         (filebuf::_M_filebuf_init): Same.
5792         * include/bits/streambuf.tcc (__copy_streambufs): Same.
5793         * include/bits/ostream.tcc (ostream::operator<<): Same.
5794         * include/bits/istream.tcc (istream::operator>>): Same.
5795         * include/bits/basic_string.tcc (string::_M_mutate): Same.
5796         (string::_S_construct): Same.
5797         (string::_M_clone): Same.
5798         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
5799         __throw_bad_cast.
5800         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
5801         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
5802         __throw_exception_again.
5803         (locale::_Imp::_Imp(string, size_t): Same.
5804         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
5805         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
5806         (locale::locale(const char*)): Use __throw_runtime_error.
5807         (locale::classic): Use __throw_exception_again.
5808         (locale::_S_normalize_category): Use __throw_runtime_error.
5809
5810         * src/stdexcept.cc: Remove cruft.
5811
5812         * libsupc++/exception_defines.h: New file.
5813         * libsupc++/new_opnt.cc: Include exception_defines.h.
5814         * libsupc++/vec.cc: Same.
5815         (__cxa_vec_new2): Use __throw_exception_again.
5816         (__cxa_vec_new3): Same.
5817         (__cxa_vec_ctor): Same.
5818         (__cxa_vec_delete3): Same.
5819         (__cxa_vec_cctor): Same.
5820         (__cxa_vec_delete2): Same.
5821         (__cxa_vec_dtor): Same.
5822         * libsupc++/exception_support.cc: Include exception_defines.h. Only
5823         compile exception-handling bits if __EXCEPTIONS is defined.
5824         Remove old ABI support.
5825         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
5826         std::__throw_bad_alloc() instead of throw bad_alloc.
5827         * libsupc++/Makefile.am: Add exception_defines.h.
5828         * libsupc++/Makefile.in: Reformat.
5829         * libsupc++/*: Format.
5830
5831 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
5832
5833         * docs/html/configopts.html:  Minor updates and typo fixes.
5834         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
5835         * docs/html/faq/index.txt:  Regenerated.
5836
5837 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
5838
5839         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
5840         dejagnu/dg.exp.  Adapt to log options used to run testcases.
5841
5842 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5843
5844         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
5845         dejagnu/dg.exp.
5846
5847 2001-02-13  Dirk Mueller <dmuell@gmx.net>
5848             Phil Edwards  <pme@sources.redhat.com>
5849
5850         * include/backward/function.h:  Do not use rel_ops for older
5851           headers either.
5852         * include/backward/pair.h:  Likewise.
5853
5854 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
5855
5856         * src/locale.cc: Remove bogus locale::id definitions.
5857
5858 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5859
5860         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
5861         not _DEFINE_VALARRAY_OPERATOR which is not existent.
5862
5863         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
5864         thinko in member initialisation.
5865
5866 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5867
5868         * include/bits/std_valarray.h(valarray<>::shift): Avoid
5869         comparaison between signed and unsigned integer types.
5870         (valarray<>::cshift): Reformat.
5871
5872 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
5873
5874         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
5875         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
5876         * configure.in: Test for sigsetjmp.
5877         * configure, config.h.in: Rebuilt.
5878
5879 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5880
5881         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
5882         lengths and strides.
5883         (__gslice_to_index): Document.
5884
5885 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
5886
5887         * include/bits/char_traits.h char_traits<char>::int_type: Change
5888         to `int' to match 21.1.3.1/2.
5889
5890         * testsuite/21_strings/char_traits-int_type.C: New test.
5891
5892 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
5893
5894         * testsuite/Makefile.am: New file.
5895
5896 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
5897
5898         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
5899
5900 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
5901
5902         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
5903
5904 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
5905
5906         * configure.target (aix4*): Remove extra set of brackets.
5907
5908 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
5909
5910         Clean up stdexcept.
5911         * include/bits/stringfwd.h: New file.
5912         * include/bits/stl_string_fwd.h: Remove.
5913         * include/bits/localefwd.h: Remove declaration for allocator.
5914         * include/bits/std_iosfwd: Same.
5915         * include/bits/std_string.h: Include it.
5916         * include/bits/std_ios.h: Remove include.
5917         * include/bits/basic_string.h: Tweak.
5918         * libsupc++/new: Format.
5919         * src/Makefile.am (base_headers): Add stringfwd.h, remove
5920         stl_string_fwd.h
5921         * src/Makefile.in: Regenerate.
5922         * include/bits/std_stdexcept.h: Rewrite.
5923         * src/stdexcept.cc: Same.
5924
5925 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5926
5927         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
5928         install locations too.
5929         * aclocal.m4: Regenerate.
5930         * configure.in: Remove USE_LIBDIR.
5931         * configure: Regenerate.
5932         * src/Makefile.am (toolexecdir): Simplify, use
5933         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
5934         * src/Makefile.in: Regenerate.
5935         * libsupc++/Makefile.am: Same.
5936         * libsupc++/Makefile.in: Regenerate.
5937
5938         * src/Makefile.am: Just remove special rules for locale-inst.cc and
5939         misc-inst.cc as no longer necessary.
5940
5941         Follow C++STYLE for naming non-static functions.
5942         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
5943         __pad_char.
5944         * include/bits/streambuf.tcc: Same.
5945         * include/bits/ostream.tcc: Same.
5946         * include/bits/istream.tcc: Same.
5947         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
5948         (_S_output_float): To __output_float.
5949         * include/bits/std_streambuf.h (_S_copy_streambufs): To
5950         __copy_streambufs.
5951         * include/bits/locale_facets.tcc (_S_build_float_format): To
5952         __build_float_format.
5953         (_S_format): To __output_integer.
5954         (_S_fill): To __pad.
5955         * src/locale.cc: Same.
5956         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
5957         names.
5958         * include/bits/locale_facets.tcc (_S_group_digits): To
5959         __group_digits.
5960         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
5961         for collate, numpunct.
5962
5963 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
5964
5965         * docs/html/configopts.html:  Fix HTML markup.
5966         * docs/html/install.html:  Bring up to date.
5967         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
5968         * docs/html/21_strings/howto.html:  More notes.
5969         * docs/html/22_locale/howto.html:  Fix HTML markup.
5970         * docs/html/27_io/howto.html:  More notes.
5971         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
5972         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
5973
5974 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
5975
5976         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
5977         to match header files.
5978         (_S_output_float): Likewise.
5979         (_S_copy_streambufs): Likewise.
5980
5981 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
5982             Phil Edwards  <pme@sources.redhat.com>
5983
5984         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
5985           use reinterpret_cast, not static_cast.
5986
5987 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5988
5989         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
5990         * aclocal.m4: Regenerate.
5991         * configure: Regenerate.
5992
5993 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5994
5995         * include/bits/locale_facets.h (class moneypunct): Fix typos.
5996         * libsupc++/pure.cc: Revert.
5997
5998 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5999
6000         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6001         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6002         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6003         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6004         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6005         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6006         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6007         * aclocal.m4: Regenerate.
6008         * configure: Regenerate.
6009
6010 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
6011
6012         * include/bits/locale_facets.tcc: Remove `static' keyword on
6013         function definitions.
6014         * include/bits/std_streambuf.h: Likewise.
6015         * src/Makefile.am: Remove use of -fimplicit-templates.
6016         * src/Makefile.in: Regenerated.
6017         * src/locale-inst.cc: Explicitly instantiate more functions.
6018         * src/misc-inst.cc: Likewise.
6019         * src/string-inst.cc: Likewise.
6020
6021 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6022
6023         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6024         macro. Consolidate all the bits to do with where includes might be
6025         installed.
6026         * aclocal.m4: Regenerate.
6027         * configure.in: Use it.
6028         * configure: Regenerate.
6029         * src/Makefile.am (targetincludep): Use simplified rules.
6030         (targetincludep): Rename gxx_target_include_dir.
6031         (myincludep): Rename gxx_include_dir.
6032         * src/Makefile.in: Regenerate.
6033         * libsupc++/Makefile.am: Use simplified rules.
6034         * libsupc++/Makefile.in: Regenerate.
6035
6036 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6037
6038         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6039         * include/c_std/bits/std_cctype.h: Same.
6040         * include/c_std/bits/std_cassert.h: Same.
6041         * include/c_std/bits/std_cstdarg.h: Same.
6042         * include/c_std/bits/std_cstddef.h: Same.
6043
6044         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6045         namespace std.
6046         * include/c_std/bits/std_ctime.h: Same.
6047         * include/c_std/bits/std_clocale.h: Same.
6048         * include/c_std/bits/std_cmath.h: Same.
6049         * include/c_std/bits/std_csetjmp.h: Same.
6050         * include/c_std/bits/std_csignal.h: Same.
6051         * include/c_std/bits/std_cstring.h: Same.
6052         * include/c_std/bits/std_cstdlib.h: Same.
6053         * include/c_std/bits/std_cwchar.h: Same.
6054
6055 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
6056
6057         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
6058
6059 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
6060
6061         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6062         (string::_S_construct): Likewise.
6063
6064 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
6065
6066         * testsuite/config/default.exp: New file.
6067         * testsuite/config: New directory.
6068
6069 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
6070
6071         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6072         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6073         whenever !__GXX_MERGED_TYPEINFO_NAMES.
6074         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6075
6076 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
6077             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6078
6079         * Makefile.am (mkinstalldirs): Set.
6080         * src/Makefile.am (mkinstalldirs): Set.
6081         * libmath/Makefile.am (mkinstalldirs): Set.
6082         * libsup++/Makefile.am (mkinstalldirs): Set.
6083         * libio/Makefile.am (mkinstalldirs): Set.
6084         * */Makefile.in: Regenerate.
6085
6086 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
6087
6088         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6089         * include/bits/localefwd.h: More initialization cleanups.
6090
6091 2001-02-03  Jeffrey A Law  <law@cygnus.com>
6092
6093         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6094         correctly targets with 16bit ints.
6095         (_S_ios_openmode_end): Similarly.
6096         (_S_ios_iostate_end): Similarly.
6097         (_S_ios_Seekdir_end): Similarly.
6098
6099 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
6100
6101         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
6102
6103 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
6104
6105         * configure.in (toplevel_srcdir, auxdir): Set.
6106         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6107         * aclocal.m4, configure, Makefile.in: Rebuilt.
6108         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6109         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6110         * libsupc++-v3/Makefile.in: Rebuilt.
6111         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6112         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6113
6114 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
6115
6116         * config/c_locale_generic.cc: Remove langinfo include.
6117
6118 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
6119
6120         Preliminary named locales.
6121         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6122         * aclocal.m4: Regenerate.
6123         * configure.in: Use it.
6124         * configure: Regerate.
6125         * src/Makefile.am (sources): Add c++locale.cc.
6126         (build_headers): Add c++locale.h.
6127         * src/Makefile.in: Regenerate.
6128         * config/c_locale_gnu.h: New file.
6129         * config/c_locale_gnu.cc: New file. Non-inline member functions
6130         for named locales, gnu-specific.
6131         * config/c_locale_generic.h: New file.
6132         * config/c_locale_generic.cc: New file. Non-inline member
6133         functions for named locales, generic version.
6134         * docs/html/configopts.html: Add documentation on new options.
6135
6136         * include/bits/locale_facets.h (class _Messages): Remove.
6137         (class _Moneypunct): Remove.
6138         * src/locale-inst.cc: Remove.
6139
6140         * include/bits/locale_facets.h (class _Collate): Remove.
6141         * src/locale-inst.cc (std): Remove.
6142         * src/locale.cc: And here.
6143
6144         * include/bits/localefwd.h (locale::_M_coalesce): New
6145         function. Correctly put together multi-name locales.
6146         (_Impl(const _Impl&, category, size_t)): Remove.
6147
6148         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6149         member functions.
6150         (_M_normalize_category_names): Remove.
6151         (_M_replace_categories): Fix.
6152
6153         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6154         (locale::_Impl::_M_construct_ctype): Remove.
6155         (locale::_Impl::_M_construct_monetary): Remove.
6156         (locale::_Impl::_M_construct_numeric): Remove.
6157         (locale::_Impl::_M_construct_time): Remove.
6158         (locale::_Impl::_M_construct_messages): Remove.
6159
6160         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6161         (_Use_facet_failure_handle): Remove.
6162         * src/locale.cc: Remove definitions.
6163         * src/locale-inst.cc: And here.
6164
6165         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6166
6167         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6168         create and error-check underlying locale object.
6169         (locale::facet::_S_destroy_c_locale): Add, take care of properly
6170         tearing down underlying locale object.
6171         * include/bits/localefwd.h (locale::facet): Declare.
6172         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6173         correctness, as glibc apparently has incorrect info in it. Test
6174         with it when it works again.....
6175
6176         * include/bits/localefwd.h (locale::_Impl::__vec_string):
6177         Remove. Number of categories is fixed at six, so just simplify and
6178         make this an array of strings.
6179         (locale::_Impl::_M_has_name): Remove.
6180         (locale::_Impl::_M_name): Remove.
6181         (locale::_Impl::_M_category_names): Turns into...
6182         (locale::_Impl::_M_names): ...this.
6183         (locale::_Impl::_M_has_same_name()): New function.
6184         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6185         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6186         signature.
6187         * src/locale.cc (locale::name()): Construct mangled name
6188         accurately reflecting combined locale categories.
6189
6190         * src/locale.cc (locale::classic()): Don't initialize here.
6191         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6192         __refs, bool __has_name, string __str): Do it here.
6193
6194         * include/bits/localefwd.h: _S_categories_num to
6195         _S_num_categories. _S_facets_num to _S_num_facets.
6196         (locale::id::id()): Explicitly set _M_index to zero.
6197         * src/locale.cc: Same.
6198
6199         * src/locale.cc: (locale::locale(const char*)): Construct named
6200         locales uniquely.
6201
6202         * src/locale.cc: Remove numpunct_byname ctors.
6203         * testsuite/22_locale/numpunct_byname.cc: New file.
6204         * testsuite/22_locale/numpunct.cc: New file.
6205
6206         * include/bits/localefwd.h (class locale): Change data members to
6207         protected, from private.
6208         (_Impl::_M_get_c_locale): Add member function.
6209         (locale::facet::_M_get_global_impl()): Add member function.
6210         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6211         a __c_locale pointer.
6212         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6213         named locales.
6214         * testsuite/22_locale/members.cc: New file, test name and combine.
6215
6216         * include/bits/locale_facets.h (class numpunct): Remove class
6217         _Punct and _Numpunct. Rewrite class numpunct to be correct for
6218         named locales.
6219         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6220         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6221         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6222         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6223         * testsuite/22_locale/numpunct_char_members.cc: New file.
6224
6225 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
6226
6227         * testsuite/README: Add more comment.
6228         * testsuite/lib/libstdc++.exp: Tweak comment.
6229
6230 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
6231
6232         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6233
6234 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
6235
6236         * testsuite/21_strings/inserters_extractors.cc: Remove
6237         explicit reference to 'testsuite/'.
6238
6239 2001-01-25  Richard Henderson  <rth@redhat.com>
6240
6241         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6242         bits. Fixes Tru64 build issues.
6243
6244 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6245
6246         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6247         (use ${MAKE-make}, not ${MAKE:-make}).
6248         * aclocal.m4, configure: Regenerate.
6249
6250 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
6251
6252         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6253         checkin.
6254
6255         * src/Makefile.am (sources): Add globals.cc.
6256         * src/Makefile.in: Regenerated.
6257         * src/globals.cc: New file.
6258         * src/ios.cc (cin): Don't define here, just declare extern.
6259         (cout): Likewise.
6260         (cerr): Likewise.
6261         (clog): Likewise.
6262         (wcin): Likewise.
6263         (wcout): Likewise.
6264         (wcerr): Likewise.
6265         (wclog): Likewise.
6266
6267 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
6268
6269         * include/bits/std_iterator.h:  Do not include stl_relops.h.
6270         * include/bits/std_numeric.h:  Ditto.
6271         * include/bits/stl_algobase.h:  Ditto.
6272         * include/bits/stl_relops.h:  Add comment warning about problems.
6273
6274 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
6275
6276         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6277         in testcases.  Prepare for the DejaGnu based framework.
6278         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
6279         directory -- it is now mkcheck working directory.
6280         * tests_flags.in: Remove reference to $(top_srcdir).  Use
6281         ${SRC_DIR} instead.
6282         * Makefile.am (check, check-install): Change mkcheck invocation
6283         logic.
6284         * Makefile.in: Regenerate.
6285
6286 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
6287
6288         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6289         (__always_swap): Likewise.
6290
6291 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
6292
6293         * libsupc++/exception_support.cc (__terminate_func): Remove
6294         declaration.
6295         (__terminate_func_ptr): New typedef.
6296         (__terminate, __terminate_set_func): New extern function
6297         prototypes.
6298         (std::terminate): Use __terminate function.
6299         (std::set_terminate): Use __terminate_set_func function.
6300
6301 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
6302
6303         * configure.target: Just use os_include_dir always.
6304         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6305         Link atomicity files and ctype files here.
6306         * configure: Regenerate.
6307         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6308         (GLIBCPP_ENABLE_ATOMICITY): Remove.
6309         * aclocal.m4: Regenerate.
6310
6311 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
6312
6313         * configure.in: Place definition of MULTISUBDIR in
6314         libsupc++/Makefile as is done for src/Makefile.
6315         * configure: Regenerate.
6316
6317 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
6318
6319         * acinclude.m4:  Cosmetic changes only.
6320         * aclocal.m4:  Regenerated.
6321         * configure:  Regenerated.
6322         * configure.target:  Update documented list of changed variables.
6323         * docs/html/install.html:  Fix typo.
6324         * docs/html/20_util/howto.html:  More notes on auto_ptr.
6325         * docs/html/27_io/howto.html:  More notes on streabufs.
6326         * docs/html/faq/index.html:  Add rel_ops problem and mention the
6327           DEC as(1) .subsection difficulty.
6328         * docs/html/faq/index.txt:  Regenerated.
6329
6330 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
6331
6332         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6333         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6334         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6335         its already provided in config.target.
6336         * aclocal.m4: Regenerated.
6337         * configure: Likewise.
6338         * configure.target: Set ctype_include_dir for lots of systems.
6339         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6340         * libsupc++/Makefile.in: Regenerated.
6341
6342 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
6343
6344         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
6345         keyword capability.
6346
6347         * testsuite/README: Add comment.
6348
6349 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
6350
6351         * docs/html/configopts.html:  Update for current status.  Fix HTML.
6352         * docs/html/install.html:  Update for current status.
6353
6354 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6355
6356         * testsuite/libstdc++.tests/tests.exp: New file.
6357         * testsuite/lib/libstdc++.exp: Itou.
6358         * testsuite/README: Itou.
6359
6360 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
6361
6362         * tests_flags.in: Just output the bare minimum to run tests.
6363         Let's the caller do its own arrangement.
6364
6365         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
6366         computations.
6367
6368 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
6369
6370         * testsuite/17_intro: Prepare testcases for new style DejaGnu
6371         framework.
6372
6373 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
6374
6375         * testsuite/libstdc++.tests, testsuite/lib: New directories.
6376
6377 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
6378
6379         * mkcheck.in: Construct file names that match $objdir structure.
6380         * testsuite/27_io/filebuf_members-1.txt: New file.
6381         * testsuite/27_io/ifstream_members-1.txt: New file.
6382         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6383
6384         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6385         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6386
6387 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6388
6389         * testsuite/27_io/istream_sentry.cc (test02): Fix.
6390
6391 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
6392
6393         libstdc++/1605
6394         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6395         * src/ios.cc (ios_base::failure): Make definitions match.
6396         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6397         (class bad_cast): Same.
6398         * libsupc++/exception (class exception): Add throw specs.
6399         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6400         (set_unexpected): Same.
6401         (uncaught_exception): Same.
6402         (what): Same.
6403
6404         * docs/html/17_intro/C++STYLE (classname): Fix.
6405
6406 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6407
6408         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6409         Use it do explicitly instantiate predicate<T> and value<T> for
6410         all the builtin Ts.
6411
6412 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
6413
6414         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6415         uninitialized thinko in last change.
6416
6417 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6418
6419         * libsupc++/exception_support.cc (__cp_pop_exception): Change
6420         prototype.
6421
6422 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6423
6424         * docs/html/17_intro/C++STYLE (classname): Add more existing
6425         and stylish patterns.
6426
6427         libstdc++/944
6428         * include/bits/istream.tcc (istream::sentry::sentry()): Set
6429         failbit if the state of the stream is not good.
6430         * testsuite/27_io/istream_sentry.cc (test02): Add test.
6431         * testsuite/27_io/istream_manip.cc (test01): Modify.
6432
6433         libstdc++/1019
6434         reported by Paolo Carlini <pcarlini@unitus.it>
6435         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6436         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6437
6438         libstdc++/1057
6439         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6440         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6441         (xsgetn): Same. Simplify.
6442         * testsuite/27_io/streambuf.cc (test04): Add testcases.
6443
6444         reported by Larry Evans <jcampbell3@prodigy.net>
6445         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6446         equality with eof on returned value from overflow.
6447
6448 2001-01-14  Andreas Jaeger  <aj@suse.de>
6449
6450         * libio/libio.h: Add test for glibc 2.0.
6451
6452 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
6453
6454         * config/os/djgpp/bits/*: Fix dates.
6455
6456         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6457         _CharT* __end, _CharT __c): Remove.
6458         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6459         * include/bits/char_traits.h: Tweak.
6460
6461 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
6462
6463         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6464         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6465         bash bug.
6466         * aclocal.m4: regenerated.
6467         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6468         * configure: regenerated.
6469         * config/os/djgpp, config/os/djgpp/bits: new directories.
6470         * config/os/djgpp/bits/ctype_base.h,
6471         config/os/djgpp/bits/ctype_inline.h,
6472         config/os/djgpp/bits/ctype_noninline.h,
6473         config/os/djgpp/bits/os_defines.h: new files.
6474
6475 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
6476
6477         * include/c_std/bits/std_cstdio.h: Undef printf.
6478
6479 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
6480
6481         * src/ios.cc: Fix typo: change cout->wcout.
6482
6483         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6484         * src/Makefile.in: Regenerate.
6485
6486 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6487
6488          * include/bits/std_complex.h: Fix a typo.
6489
6490 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
6491                              <kainz@ilm.com>
6492
6493         Fixes for libstdc++/1576
6494         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6495         file, move contents into....
6496         * src/ios.cc: ...Here. Put defines for iostreams objects and
6497         initialization routines into one file to simplify DSO interaction.
6498         * include/bits/std_iostream.h: Touch.
6499         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6500         * src/Makefile.am (sources): Remove stdstreams.cc.
6501         * src/Makefile.in: Regenerate.
6502
6503 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6504
6505         * tests_flags.in (check_directory): Fix typo.
6506
6507 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6508
6509          * include/bits/std_complex.h: Fix a typo.
6510
6511 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
6512
6513         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6514         code path:) Remove magic constants and restructure to handle
6515         ctype.h bit mask layout changes more gracefully.  (Make fast
6516         code path:) Use __maskrune (), if available.
6517         (is): Remove special case for digit and xdigit masks.
6518
6519 2001-01-09  Robert Lipe <robertlipe@usa.net>
6520
6521         * include/c_std/bits/std_ctime.h: Undefine difftime.
6522
6523 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
6524
6525         * src/gen-num-limits.cc (signal_adapter): New template function.
6526         (signal_handler): Use it, instead of signal.
6527         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
6528         require both tests to trap to set trap_flag.
6529
6530 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6531
6532         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6533         initialize mbstate_t member, name offset data members *off, not pos.
6534         * include/bits/fstream.tcc (filebuf::filebuf): Same.
6535
6536 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6537
6538         reported by Chris G. Demetriou <cgd@sibyte.com>
6539         * configure.in: Change -linux-* to -linux*.
6540         * configure: Regenerate.
6541
6542 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
6543
6544         Fix 27_io/filebuf_members.cc
6545         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6546         const string& __name, category __cat, size_t __refs): Set
6547         _M_has_name with _M_name.
6548         * include/bits/localefwd.h (locale::operator!=): Protect member
6549         function call with this->.
6550         * src/locale.cc (locale::operator==): Make fast checks first.
6551         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6552
6553         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6554         to ios_base::Init.
6555         * src/ios.cc (ios_base::Init::Init): Initialize here.
6556         (ios_base::sync_with_stdio): Set here.
6557
6558 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
6559
6560         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6561         systems that support it, call dup() before fdopen().
6562
6563 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
6564
6565         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6566         * testsuite/17_intro/header_cwctype.cc (main): New file.
6567
6568         * src/Makefile.am (base_headers): Change.
6569         * include/bits/std_string.h: And here.
6570         * include/bits/string.tcc: Tweaks, move to...
6571         * include/bits/basic_string.tcc: ...Here.
6572         * src/string-inst.cc: Simplify, just instantiate the whole class,
6573         not member-by-member.
6574
6575 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
6576
6577         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6578         * aclocal.m4: Regenerate.
6579         * configure: Regenerate.
6580
6581         * include/bits/c++config (__GLIBCPP__): Bump version number.
6582
6583         * ChangeLog: Start new log for year 2001
6584         * ChangeLog-2000: New file.
6585
6586         * docs/html/configopts.html: Make sure default values are current,
6587         add commentary.
6588
6589 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
6590
6591         * include/c_std/bits/std_cwchar.h: Same.
6592         * testsuite/17_intro/header_cwchar.cc: Same.
6593         * include/c_std/bits/std_ctime.h: Same.
6594         * testsuite/17_intro/header_ctime.cc: Same.
6595         * include/c_std/bits/std_cstdlib.h: Same.
6596         Clean up undefs, make consistent with cwchar and cmath, etc.
6597         * testsuite/17_intro/header_cstdlib.cc: Same.
6598         * include/c_std/bits/std_cstdio.h: Same here.
6599         * testsuite/17_intro/header_cstring.cc: Same.
6600         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6601         * testsuite/17_intro/header_cstring.cc: New file. Check for
6602         size_t in namespace std.
6603
6604         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6605         * acconfig.h (HAVE_MBSTATE_T): Add.
6606         * config.h.in: Regenerate.
6607         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6608         mbstate_t.
6609         * aclocal.m4: Regenerate.
6610         * configure: Regenerate.
6611         * testsuite/17_intro/headers_c++.cc: New file.
6612         * testsuite/17_intro/headers_c.cc: Small changes.
6613
6614 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
6615
6616         * tests_flags.in: Fix typo in usage.
6617
6618         * tests_flags.in: Set target specific LIBS for cygwin.