OSDN Git Service

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