OSDN Git Service

* include/Makefile.am: Use toplevel_srcdir to refer to src files
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
2
3         * include/Makefile.am: Use toplevel_srcdir to refer to src files
4         outside this component.
5         * include/Makefile.in: Regenerate.
6
7 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
8
9         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
10         * config/locale/c_locale_generic.cc: Same.
11         * config/locale/moneypunct_members_gnu.cc: New file.
12         * config/locale/moneypunct_members_generic.cc: New file.        
13         * config/locale/numpunct_members_gnu.cc: New file.
14         * config/locale/numpunct_members_generic.cc: New file.  
15         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
16         options.
17         * aclocal.m4: Regenerate.
18         * configure: Regenerate.
19         * src/Makefile.am (sources): And here.
20         * src/Makefile.in: Regenerate.
21         
22         Rename for consistency with rest of testsuite.
23         * testsuite/22_locale/codecvt.cc: New file.
24         * testsuite/22_locale/money_put.cc: New file.
25         * testsuite/22_locale/money_put_members_char.cc: New file.
26         
27 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
28
29         PR libstdc++/4143
30         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
31         correctly for version-specific-runtime-libs.
32         * aclocal.m4:  Regenerate.
33         * configure:  Regenerate.
34
35 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
36
37         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
38         define if not already provided by per-OS file.
39         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
40         Define.
41
42 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
43
44         * docs/html/17_intro/C++STYLE:  Fix typo.
45
46 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
47
48         * docs/html/23_containers/howto.html:  Describe implementation of
49         insertion with hints.
50
51 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
52
53         libstdc++/3740
54         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
55
56 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
57             Phil Edwards  <pme@sources.redhat.com>
58
59         PR libstdc++/3349
60         * include/bits/stl_tree.h (insert_unique):  Revert last change.
61         Values inserted at begin() must be less, not greater, than *begin()'s.
62         * testsuite/23_containers/map_insert.cc:  New file.
63
64 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
65
66         * config/locale/c_locale_gnu.cc: Minor tweaks.
67         (moneypunct<wchar_t>): Implement.
68         * include/bits/locale_facets.h: Same.
69         * testsuite/22_locale/moneypunct.cc: New file.
70         * testsuite/22_locale/moneypunct_byname.cc: New file.
71         * testsuite/22_locale/moneypunct_char_members.cc: New file.     
72
73 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
74
75         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
76         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
77
78 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
79
80         * testsuite_flags.in (build-includes): Re-add backward.
81
82 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
83
84         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
85         with _GLIBCPP_USE_WCHAR_T.
86
87 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
88
89         * testsuite/22_locale/collate_byname.cc (test01): Fix.
90
91 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
92
93         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
94
95 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
96
97         * testsuite/22_locale/operators.cc: Add test.
98         
99 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
100
101         Implement std::collate. 
102         * config/locale/collate_specializations_gnu.cc: Add here, implement in
103         MT-safe way.
104         * config/locale/collate_specializations_generic.cc: Add here, but
105         in a less sophisticated manner.
106         * include/bits/locale_facets.tcc (collate): Add generic definition.
107         * include/bits/locale_facets.h (~collate): Mark virtual.
108         (collate::_M_compare_helper): New.
109         (collate::_M_transform_helper): New.
110         * src/locale.cc: Remove unnecessary specializations.
111         * src/string-inst.cc: Tweak instantiation of ctors.
112         
113         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
114         * aclocal.m4: Regenerate.
115         * configure: Regenerate.
116         * src/Makefile.am (sources): Add collate.cc.
117         * src/Makefile.in: Regenerate.
118         
119         * testsuite/22_locale/collate_byname.cc: New.
120         * testsuite/22_locale/collate.cc: New file.
121         * testsuite/22_locale/collate_char_members.cc: New file.
122         * testsuite/22_locale/collate_wchar_t_members.cc: New file.     
123         
124 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
125
126         * configure.target: Set LIMITSH for powerpc-*-*.
127         * config/cpu/powerpc/bits/limits.h: New file.
128
129 2001-08-16  Marc Espie <espie@openbsd.org>
130
131         * configure.in:  Check for <sys/types.h>.
132         * configure:  Rebuild.
133         * config.h.in:  Rebuild.
134         * libmath/mathconf.h:  Include <sys/types.h> prior to
135         <machine/endian.h> if available.
136
137 2001-08-15  Andreas Schwab  <schwab@suse.de>
138
139         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
140         m68k and m680[246]0.
141         * config/cpu/m68k/bits/atomicity.h: New file.
142
143         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
144         Define appropriate long double limits for m68k extended floating
145         point.
146         (__glibcpp_f32_digits10): Corrected, off by one.
147         (__glibcpp_f80_digits10): Likewise.
148         (__glibcpp_f128_digits10): Likewise.
149         * config/os/gnu-linux/bits/os_defines.h
150         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
151
152 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
153
154         * testsuite/18_support/numeric_limits.cc: Add more tests.
155         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
156         typo. 
157
158 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
159  
160         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
161         for s390 and s390x.
162  
163         * config/cpu/s390/bits/atomicity.h: New.
164
165 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
166
167         * include/bits/std_limits.h: Fix thinko.
168
169 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
170
171         * include/Makefile.am: Consolidate target rules. Don't clean stamp
172         files. Tweak target build directory stamp.
173         * include/Makefile.in: Regenerate.
174         
175 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
176
177         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
178         _GBLICPP_HAVE_LOGL with HAVE_LOGL
179
180 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
181
182         * configure.in (libtool_VERSION): Add.
183         (VERSION): Change to 
184         (release_VERSION): This.
185         * configure: Regenerate.        
186         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
187         libtool_VERSION.
188         * src/Makefile.in: Regenerate.
189
190         * intl/Makefile.am: Remove.
191         * intl/Makefile.in: Remove.
192         * intl: Remove.
193         * Makefile.am (SUBDIRS): Remove intl.
194         * po/Makefile.am (DISTFILES): Add string_literals.cc
195         (MSGFMT): Add.
196         * po/string_literals.cc: Add.
197         * po/POTFILES.in: Fix path.
198         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT. 
199         * aclocal.m4: Regenerate.
200         * configure.in: Remove AC_OUTPUT of intl/Makefile.
201         
202         * include/backward/backward_warning.h: Clarify message.
203
204         * testsuite_flags.in (--cxxflags): Use same debug flags for
205         library and testsuite.
206
207         * include/Makefile.am (c_compatibility): Remove.
208         * include/Makefile.in: Regenerate.
209         
210 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
211
212         * configure.in (LIMITS_INC_SRCDIR): New variable.
213         * configure.target (LIMITSH): New variable.
214         * porting.texi: Discuss numeric limits.
215         * config/cpu/generic/bits/limits.h: New file.
216         * config/cpu/i386/bits/limits.h: New file.
217         * include/Makefile.am: Install bits/limits.h.
218         * include/bits/c++config: Include bits/limits.h.
219
220 2001-08-13  H.J. Lu  (hjl@gnu.org)
221
222         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
223         New. Copy files.
224         (libstdc++-v3-init ): Use it.
225
226 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
227
228         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
229         to '__adjust' to avoid shadowing in nested scope.
230
231 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
232
233         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
234         __CHAR_UNSIGNED__.
235
236         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
237         Likewise. 
238         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed): 
239         Remove.
240
241 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
242
243         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
244         dummy default argument to the non-limit implementation.
245
246         bootstrap/3963
247         * include/Makefile.am: Use relative file path in rule to allow
248         colon in $(objdir).
249         * include/Makefile.in: Rebuilt.
250
251 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
252
253         * include/bits/std_complex.h (complex<long double>::operator*=,
254         complex<long double>::operator/=): Fix thinko.
255
256 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
257
258         * include/bits/std_limits.h: New file.
259         * include/Makefile.am (bits_headers): Add std_limits.h
260         (all-local): std_limits.h is no longer built.
261         (${target_builddir}/std_limits.h): Remove.
262         * include/Makefile.in: Regenerate.
263         * src/limits.cc: New file.
264         * src/Makefile.am (sources): Add limits.cc in replacement of
265         limitsMEMBERS.cc.
266         * src/Makefile.in: Regenerate.
267
268 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
269
270         * src/gen-num-limits.cc (digits10): Fix thinko.
271
272 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
273
274         * po/Makefile.am (check-no): Add.
275         (check-yes): Same.
276         * po/Makefile.in: Regenerate.
277         
278 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
279
280         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
281         * config.h.in: Regenerate.
282         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
283         function.
284         * aclocal.m4: Regenerate.
285         * configure.in: Remove duplicate AM_CONFIG_HEADER.
286         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
287         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
288         * configure: Regenerate.
289         * testsuite_hooks.h.in: Move to...
290         * testsuite_hooks.h: Here, include c++config.h. Use it.
291         
292         * Makefile.am (SUBDIRS): Move testsuite to last directory.
293         * Makefile.in: Regenerate.
294         * po/Makefile.am (stamp-po): Add.
295
296 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
297
298         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
299         * config/os/generic/bits/os_defines.h: Likewise.
300         * config/os/gnu-linux/bits/os_defines.h: Likewise.
301         * config/os/hpux/bits/os_defines.h: Likewise.
302         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
303         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
304
305 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
306
307         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
308         -version-info, use substituted VERSION info.
309         * src/Makefile.in: Regenerate.
310         
311 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
312
313         Implement std::messages.
314         Make config a fully-nested directory.
315         * config/locale: New directory.
316         * config/c_locale_generic.cc: Move into locale subdirectory.
317         * config/c_locale_generic.h: Same.
318         * config/c_locale_gnu.cc: Same.
319         * config/c_locale_gnu.h: Same.
320         * config/c_locale_ieee_1003.1-200x.cc: Same.
321         * config/c_locale_ieee_1003.1-200x_.h: Same.
322         * config/codecvt_specializations_generic.h: Same.
323         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.      
324         * config/messages_members_gnu.h: Same.
325         * config/messaages_members_gnu.cc: Same.
326         * config/messages_members_generic.h: Same.
327         * config/messaages_members_generic.cc: Same.
328         * config/messages_members_ieee_1003.1-200x.h: Same.
329         * config/messaages_members_ieee_1003.1-200x.cc: Same.
330         * config/io: New directory.
331         * config/basic_file_libio.h: Move into io subdirectory. 
332         * config/basic_file_libio.cc: Same.
333         * config/c_io_libio.h: Same.
334         * config/c_io_libio_codecvt.c: Same.    
335         * config/basic_file_stdio.h: Same.
336         * config/basic_file_stdio.cc: Same.
337         * config/c_io_stdio.h: Same.
338         
339         * po: New directory.
340         * po/POTFILES.in: New file.
341         * po/Makefile.am: New file.
342         * po/Makefile.in: New file.     
343         * po/libstdc++.pot: Generic translation file.
344         * po/fr.po: Preliminary French translation.
345         * po/de.po: Preliminary German translation.
346         * intl: New directory.
347         * intl/Makefile.am: New file.
348         * intl/Makefile.in: New file.   
349         * intl/string_literals.cc: New file.
350         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
351         requisite setup for gettext. Re-arrange.
352         * aclocal.m4: Regenerate.
353         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
354         Output Makefile bits for po and intl.
355         * configure: Regenerate.
356         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
357         * Makefile.in: Regenerate.
358         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
359         * config.h.in: Regenerate.
360
361         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
362         
363         * include/Makefile.am (install-data-local): Don't install Makefile.
364         * include/Makefile.in: Regenerate.
365         
366         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
367         Add member.
368         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
369         * config/locale/c_locale_generic.cc: Same.
370         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
371
372         * include/bits/codecvt.h: Excise non-standard, non-required
373         bits. This includes __enc_traits, and partial specializations of
374         codecvt for __enc_traits.
375         * src/codecvt.cc (__enc_traits::_S_max_size): Guard 
376         * config/codecvt_partials_ieee_1003.1-200x.h: New file. 
377         * config/codecvt_partials_generic.h: New file.          
378         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
379         (stamp-codecvt_model): Add.
380         * include/Makefile.in: Regenerate.
381         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
382         * aclocal.m4: Regenerate.
383         * configure: Regenerate.
384         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
385         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
386         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
387         
388         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
389         as a friend for _S_*_c_locale functions.
390         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
391         argument to default constructor so that CODESET information can be
392         deduced.
393         * include/bits/locale_facets.h (messages_byname):
394         Re-implement. Remove specializations.
395         * src/locale.cc (messages_byname<char>): Remove specialization.
396         (messages_byname<wchar_t>): Same.
397         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
398         * config/locale/c_locale_ieee_1003.1-200x.h: New file.  
399         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
400         * config/locale/messages_members_ieee_1003.1-200x.h: New file.  
401         * config/locale/messages_members_gnu.cc: New file.
402         * config/locale/messages_members_gnu.h: New file.       
403         * config/locale/messages_members_generic.cc: New file.
404         * config/locale/messages_members_generic.h: New file.   
405         
406         * docs/html/configopts.html: Add documentation for new locale
407         model, ieee_1003.1. Adjust other flags for current defaults.
408         * docs/html/22_locale/locale.html: Update.
409         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
410         * docs/html/22_locale/messages.html: New.
411
412         * src/Makefile.am (sources): Add messages_virtuals.cc.
413         * src/Makefile.in: Regenerate.
414         * include/Makefile.am (allstamps): Add stamp-messages_model.
415         (stamp-messages_model): Add.
416         * include/Makefile.in: Regenerate.
417         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
418         * aclocal.m4: Regenerate.
419         * configure: Regenerate.
420
421         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
422         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
423         bits for Irix. 
424         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
425         build directories message catalog base directory, and export.
426         Eventually this should probably be made to deal with build and
427         install directories. For now, punt on this as the library itself
428         doesn't use message catalogs (yet).
429         * testsuite/22_locale/messages.cc: New file.
430         * testsuite/22_locale/messages_char_members.cc: New file.
431         * testsuite/22_locale/messages_byname.cc: New file.
432
433 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
434
435         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
436         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
437         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
438         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
439         Call GLIBCPP_CONFIGURE_TESTSUITE.
440         * aclocal.m4:  Regenerate.
441         * config.h.in:  Regenerate.
442         * configure:  Regenerate.
443
444         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
445         of old header.
446
447         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
448         * testsuite/debug_assert.h:  Removed; contents merged into...
449         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
450         * testsuite/17_intro/header_ciso646.cc:  No longer include
451         debug_assert.h, include testsuite_hooks.h instead.
452         * testsuite/17_intro/header_fstream.cc:  Likewise.
453         * testsuite/17_intro/header_iomanip.cc:  Likewise.
454         * testsuite/17_intro/header_ios.cc:  Likewise.
455         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
456         * testsuite/17_intro/header_iostream.cc:  Likewise.
457         * testsuite/17_intro/header_istream.cc:  Likewise.
458         * testsuite/17_intro/header_ostream.cc:  Likewise.
459         * testsuite/17_intro/header_sstream.cc:  Likewise.
460         * testsuite/17_intro/header_streambuf.cc:  Likewise.
461         * testsuite/18_support/numeric_limits.cc:  Likewise.
462         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
463         * testsuite/20_util/allocator_members.cc:  Likewise.
464         * testsuite/20_util/auto_ptr.cc:  Likewise.
465         * testsuite/20_util/pairs.cc:  Likewise.
466         * testsuite/21_strings/append.cc:  Likewise.
467         * testsuite/21_strings/capacity.cc:  Likewise.
468         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
469         * testsuite/21_strings/compare.cc:  Likewise.
470         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
471         call to (disabled) __set_testsuite_memlimit() wrapper.
472         * testsuite/21_strings/element_access.cc:  Likewise.
473         * testsuite/21_strings/find.cc:  Likewise.
474         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
475         (disabled) __set_testsuite_memlimit() wrapper.
476         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
477         * testsuite/21_strings/invariants.cc:  Likewise.
478         * testsuite/21_strings/nonmember.cc:  Likewise.
479         * testsuite/21_strings/operations.cc:  Likewise.
480         * testsuite/21_strings/replace.cc:  Likewise.
481         * testsuite/21_strings/rfind.cc:  Likewise.
482         * testsuite/21_strings/substr.cc:  Likewise.
483         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
484         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
485         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
486         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
487         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
488         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
489         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
490         * testsuite/22_locale/facet.cc:  Likewise.
491         * testsuite/22_locale/global_templates.cc:  Likewise.
492         * testsuite/22_locale/members.cc:  Likewise.
493         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
494         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
495         * testsuite/22_locale/operators.cc:  Likewise.
496         * testsuite/22_locale/static_members.cc:  Likewise.
497         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
498         * testsuite/23_containers/bitset_members.cc:  Likewise.
499         * testsuite/23_containers/bitset_shift.cc:  Likewise.
500         * testsuite/23_containers/vector_capacity.cc:  Likewise.
501         * testsuite/23_containers/vector_ctor.cc:  Likewise.
502         * testsuite/23_containers/vector_element_access.cc:  Likewise.
503         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
504         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
505         * testsuite/24_iterators/iterator.cc:  Likewise.
506         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
507         * testsuite/25_algorithms/binary_search.cc:  Likewise.
508         * testsuite/25_algorithms/copy.cc:  Likewise.
509         * testsuite/25_algorithms/heap.cc:  Likewise.
510         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
511         * testsuite/25_algorithms/min_max.cc:  Likewise.
512         * testsuite/25_algorithms/partition.cc:  Likewise.
513         * testsuite/25_algorithms/rotate.cc:  Likewise.
514         * testsuite/25_algorithms/sort.cc:  Likewise.
515         * testsuite/26_numerics/c_math.cc:  Likewise.
516         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
517         * testsuite/26_numerics/complex_value.cc:  Likewise.
518         * testsuite/27_io/filebuf.cc:  Likewise.
519         * testsuite/27_io/filebuf_members.cc:  Likewise.
520         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
521         * testsuite/27_io/fpos.cc:  Likewise.
522         * testsuite/27_io/fstream_members.cc:  Likewise.
523         * testsuite/27_io/ifstream_members.cc:  Likewise.
524         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
525         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
526         * testsuite/27_io/ios_base_storage.cc:  Likewise.
527         * testsuite/27_io/ios_ctor.cc:  Likewise.
528         * testsuite/27_io/ios_init.cc:  Likewise.
529         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
530         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
531         * testsuite/27_io/ios_members.cc:  Likewise.
532         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
533         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
534         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
535         * testsuite/27_io/istream_manip.cc:  Likewise.
536         * testsuite/27_io/istream_seeks.cc:  Likewise.
537         * testsuite/27_io/istream_sentry.cc:  Likewise.
538         * testsuite/27_io/istream_unformatted.cc:  Likewise.
539         * testsuite/27_io/istringstream_members.cc:  Likewise.
540         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
541         * testsuite/27_io/ofstream_members.cc:  Likewise.
542         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
543         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
544         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
545         * testsuite/27_io/ostream_manip.cc:  Likewise.
546         * testsuite/27_io/ostream_seeks.cc:  Likewise.
547         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
548         * testsuite/27_io/ostringstream_members.cc:  Likewise.
549         * testsuite/27_io/streambuf.cc:  Likewise.
550         * testsuite/27_io/stringbuf.cc:  Likewise.
551         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
552         * testsuite/27_io/stringstream.cc:  Likewise.
553         * testsuite/27_io/stringstream_members.cc:  Likewise.
554         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
555
556 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
557
558         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
559
560 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
561
562         * configure.target: Remove mips from cpu table.
563         * config/cpu/mips/bits/atomicity.h: Remove generic
564         versions. Comment sgidefs include.
565         
566 2001-07-25  H.J. Lu <hjl@gnu.org>
567
568         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
569         for mips.
570
571         * config/cpu/mips/bits/atomicity.h: New.
572
573 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
574
575         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
576         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
577         * aclocal.m4: Regenerate.
578         * config.h.in: Likewise.
579         * configure: Likewise.
580         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
581         (EXTRA_DIST): Remove hypot.c hypotf.c.
582         * libmath/Makefile.am: Regenerate.
583         * libmath/hypotf.c: Remove.
584         * libmath/hypot.c: Likewise.
585         * libmath/hypotl.c: Likewise.
586         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
587         _GLIBCPP_HAVE_xxx.  Add long double versions.
588
589 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
590
591         * include/bits/limits_generic.h (int): Set digits and digits10
592         appropriately for word size.
593         (unsigned int,long,unsigned long): Likewise.
594
595 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
596
597         * include/bits/stl_algo.h : Fix typos.
598         * testsuite/25_algorithms/unique.cc: New file.
599         
600 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
601             Mark Mitchell <mark@codesourcery.com>
602
603         Merge from cp-parser-branch.
604         * include/bits/basic_string.h:  Qualify symbols with 'template'.
605         * include/bits/basic_string.tcc:  Likewise.
606         * include/bits/fstream.tcc:  Likewise.
607         * include/bits/istream.tcc:  Likewise.
608         * include/bits/sstream.tcc:  Likewise.
609         * include/bits/std_istream.h:  Likewise.
610         * include/bits/stl_iterator.h:  Likewise.
611         * include/bits/streambuf.tcc:  Likewise.
612         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
613         * src/locale.cc:  Likewise.
614
615 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
616             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
617
618         * src/gen-num-limits.cc (set_signals_handler): New function.
619         Factor out signals setting.  Set signal handler for SIGILL.
620
621 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
622
623         * docs/html/27_io/howto.html:  Fix typo.
624         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
625         * docs/html/faq/index.txt:  Regenerated.
626
627 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
628             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
629
630         libstdc++/3599
631         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
632         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
633
634 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
635
636         All occurrences of the __value_type() and __distance_type()
637         functions, which were required to support the HP STL, have been
638         removed along with all the auxiliary forwarding functions that
639         were required to support their use.
640
641         The __iterator_category() function was pretty much left alone
642         because there was no benefit to removing it and its use made code
643         just a little more readable.
644
645         Incidences of distance() with nonstandard argument list were
646         replaced by calls to the standard function (only in the files
647         affected by the removal of the other HP functions).
648
649         The signature of the rotate() algorithm was changed to match the
650         standard.
651
652         Headers were reformatted under C++STYLE guidelines (indentation,
653         linebreaks, typename keyword).
654
655         * include/bits/stl_algo.h: replaced __value_type() and
656         __distance_type() with iterator_traits, eliminated auxiliary
657         support functions required to support said function usage.
658         Changed nonstandard distance() call to standard call.
659
660         * include/bits/stl_algobase.h: Same.
661         * include/bits/stl_heap.h: Same.
662         * include/bits/stl_numeric.h: Same.
663         * include/bits/stl_uninitialized.h: Same.
664         * include/bits/stl_iterator_base_types.h (__value_type()):
665         Removed.
666         (__distance_type()): Removed.
667         (value_type()): Gone.
668         (distance_type()): Done in.
669         (iterator_category()): Hasta la vista, baby.
670
671         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
672         Replaced with __iterator_category().
673         * include/backward/iterator.h: moved definition of value_type(),
674         distance_type(), and iterator_category() out of std:: and into
675         here.
676         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
677         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
678         * testsuite/25_algorithms/rotate.cc: New testcase.
679         * testsuite/25_algorithms/copy.cc: New testcase.
680         * testsuite/25_algorithms/sort.cc: Same.
681         * testsuite/25_algorithms/heap.cc: Same.
682         * testsuite/25_algorithms/partition.cc: Same.
683         * testsuite/25_algorithms/binary_search.cc: Same.
684         * testsuite/26_numerics/sum_diff.cc: Ditto.
685
686 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
687
688         * testsuite/README: Add notes on naming test cases.
689         * testsuite/22_locale/members.cc: Mark as xfail.
690         * testsuite/22_locale/numpunct_char_members.cc: Same.
691
692 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
693
694         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
695         setting C_INCLUDE_DIR.
696         * configure.in:  Revert yesterday's LN_S change.
697         * aclocal.m4:  Regenerate.
698         * configure:  Regenerate.
699
700 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
701
702         * configure.in:  Temporarily force LN_S to copy instead of symlink.
703         * configure:  Regenerate.
704
705 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
706
707         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
708         Initialize _M_string with pointer-and-size constructor, not just
709         pointer.  Fix some comments.
710         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
711         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
712         (test03):  Add embedded-NUL tests.
713
714         * mkcheck.in:  When printing totals, match the order of the tests.
715         * include/bits/stringfwd.h:  Use same declaration keywords.
716         * include/bits/std_iosfwd.h:  Cosmetic spacing.
717
718 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
719             Loren J. Rittle  <ljrittle@acm.org>
720             Phil Edwards  <pme@sources.redhat.com>
721
722         * include/Makefile.am:  New file encapsulating header generation rules.
723         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
724         * acinclude.m4:  Moved/removed rules for building various headers.
725         * configure.in (AC_OUTPUT):  Add include/Makefile.
726         * mkc++config:  Removed.
727
728         * testsuite_flags.in:  Changed build-includes to match new scheme.
729         * mknumeric_limits:  Likewise.
730         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
731         * libmath/Makefile.am:  Likewise.
732         * libsupc++/Makefile.am:  Likewise.
733         * src/Makefile.am:  Likewise; removed rules to build headers.
734         * libmath/mathconf.h:  Changed #include'd header names to match.
735         * libmath/stubs.c:  Likewise.
736         * src/gen-num-limits.cc:  Likewise.
737
738         * configure:  Regenerated.
739         * config.h.in:  Regenerated.
740         * aclocal.m4:  Regenerated.
741         * Makefile.in:  Regenerated.
742         * include/Makefile.in:  Regenerated.
743         * libio/Makefile.in:  Regenerated.
744         * libmath/Makefile.in:  Regenerated.
745         * libsupc++/Makefile.in:  Regenerated.
746         * src/Makefile.in:  Regenerated.
747         * testsuite/Makefile.in:  Regenerated.
748
749 2001-07-11   Felix Natter  <fnatter@gmx.net>
750
751         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
752         master copy.
753         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
754
755 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
756
757         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
758         * docs/doxygen/user.cfg.in:  Tweaks.
759         * include/bits/c++config:  Documentation comments for Doxygen.
760         * include/bits/char_traits.h:  Likewise.
761         * include/bits/limits_generic.h:  Likewise.
762         * include/bits/std_stdexcept.h:  Likewise.
763         * include/bits/stl_pair.h:  Likewise.
764         * libsupc++/exception:  Likewise.
765         * libsupc++/new:  Likewise.
766         * libsupc++/typeinfo:  Likewise.
767         * libmath/Makefile.am:  Update and correct copyright.
768
769 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
770
771         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
772         * aclocal.m4: Regenerate.
773         * configure: Same.
774
775 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
776
777         * docs/html/configopts.html:  Fix thinko.
778         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
779         * include/bits/stl_iterator.h:  Fix typo.
780
781 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
782
783         * docs/html/explanations.html:  New file.
784         * docs/html/configopts.html:  Link to it to provide more notes
785         on cstdio.  Minor markup and spacing fixes.
786         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
787
788 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
789
790         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
791         for _Expr template template argument.
792         (_Expr::operator-): Likewise.
793         (_Expr::operator~): Likewise.
794         (_Expr::operator!): Likewise.
795         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
796
797 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
798
799         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
800         * libmath/Makefile.in: Regenerate.
801         * libmath/expf.c: Remove.
802         * libmath/atan2f.c: Likewise.
803
804 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
805
806         * configure.in: Remove NATIVE, NULL_TARGET.
807         Set CANADIAN only for Canadian crosses.  Set xcompiling
808         for both Canadian crosses and host-x-host crosses.
809         * configure: Regenerated.
810
811 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
812
813         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
814
815 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
816
817         * testsuite_flags.in (--build-includes): backward, not backwards.
818
819 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
820
821         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
822         Replace destroy by _Destroy.
823         (_Rope_RopeRep::_S_free_string): Likewise.
824         (rope::c_str()): Likewise.
825         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
826         (_Slist_base::_M_erase_after): Likewise.
827         (slist::_M_create_node): Replace construct by _Construct.
828         (slist::pop_front): Replace destroy by _Destroy.
829         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
830         construct by _Construct.
831         (hashtable::_M_delete_node): Replace destroy by _Destroy.
832         * include/ext/stl_rope.h (rope::rope): Replace construct by
833         _Construct.
834         (rope::copy): Replace destroy by _Destroy.
835
836 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
837
838         * include/bits/localefwd.h: Format.     
839         * include/bits/locale_facts.tcc (locale::combine): Adjust.
840         * src/locale.cc (locale::locale::(_Impl)): Don't call
841         _M_add_reference.
842         (locale::facet::_M_remove_reference): Simplify.
843         * src/globals.cc (locale_impl_c): New. Format.
844         (locale_c): New.
845         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
846
847 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
848
849         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
850         expansion (thanks to Alexandre Oliva).
851         * aclocal.m4: Regenerate.
852         * configure: Regenerate.
853
854 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
855         
856         * src/locale.cc (locale::locale(const char*)): Make sure global
857         locales are initialized.
858         * include/bits/locale_facets.tcc (locale::combine): Refcout should
859         be zero, not one as it's return-by-value.
860         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
861         named locales here.
862         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
863         for it here.
864         (test02): Add test.
865         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
866
867 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
868
869         libstdc++/3284
870         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
871         * aclocal.m4: Regenerate.
872         * configure: Regenerate.
873         
874 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
875
876         libstdc++/3243
877         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
878         staged/installed area to support -I-.  Document.
879         * aclocal.m4: Regenerate.
880         * configure: Regenerate.
881
882 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
883
884         libstdc++/2211
885         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
886         __out_bufsize.  Add __in_bufsize, document it and use it.  
887
888 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
889
890         * include/bits/stl_construct.h (construct): Remove.
891         (destroy): Remove.
892         (__destroy): Replaced by use of iterator_traits.
893         * include/bits/stl_deque.h: replaced HP iterator functions with
894         iterator_traits.
895         (construct): changed to _Construct.
896         (destroy): changed to _Destroy.
897         * include/bits/stl_tempbuf.h: Same.
898         * include/bits/stl_tree.h: Same.
899         * include/bits/stl_vector.h: Same.
900         * include/backward/iterator.h (construct): moved definition to here.
901         (destroy): Same.
902
903 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
904
905         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
906         before replacing facet.
907         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
908         Correct decrement.
909         * src/localename.cc (locale::_Impl): Correct ctor initialization
910         lists. Initialize ref count with one. Simplify.
911         * src/locale.cc: Add comment.
912         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
913         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
914         * testsuite/22_locale/members.cc (test02): Fix.
915
916 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
917
918         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
919         block, this time for real.
920         * include/backward/algobase.h:  Likewise.
921         * include/backward/alloc.h:  Likewise.
922         * include/backward/bvector.h:  Likewise.
923         * include/backward/defalloc.h:  Likewise.
924         * include/backward/deque.h:  Likewise.
925         * include/backward/function.h:  Likewise.
926         * include/backward/hash_map.h:  Likewise.
927         * include/backward/hash_set.h:  Likewise.
928         * include/backward/hashtable.h:  Likewise.
929         * include/backward/heap.h:  Likewise.
930         * include/backward/iterator.h:  Likewise.
931         * include/backward/list.h:  Likewise.
932         * include/backward/map.h:  Likewise.
933         * include/backward/multimap.h:  Likewise.
934         * include/backward/multiset.h:  Likewise.
935         * include/backward/pair.h:  Likewise.
936         * include/backward/rope.h:  Likewise.
937         * include/backward/set.h:  Likewise.
938         * include/backward/slist.h:  Likewise.
939         * include/backward/stack.h:  Likewise.
940         * include/backward/strstream:  Likewise.
941         * include/backward/tempbuf.h:  Likewise.
942         * include/backward/tree.h:  Likewise.
943         * include/backward/vector.h:  Likewise.
944         * include/bits/pthread_allocimpl.h:  Likewise.
945         * include/bits/std_algorithm.h:  Likewise.
946         * include/bits/std_bitset.h:  Likewise.
947         * include/bits/std_deque.h:  Likewise.
948         * include/bits/std_functional.h:  Likewise.
949         * include/bits/std_iterator.h:  Likewise.
950         * include/bits/std_list.h:  Likewise.
951         * include/bits/std_map.h:  Likewise.
952         * include/bits/std_memory.h:  Likewise.
953         * include/bits/std_numeric.h:  Likewise.
954         * include/bits/std_queue.h:  Likewise.
955         * include/bits/std_set.h:  Likewise.
956         * include/bits/std_stack.h:  Likewise.
957         * include/bits/std_utility.h:  Likewise.
958         * include/bits/std_vector.h:  Likewise.
959         * include/bits/stl_algo.h:  Likewise.
960         * include/bits/stl_algobase.h:  Likewise.
961         * include/bits/stl_alloc.h:  Likewise.
962         * include/bits/stl_bvector.h:  Likewise.
963         * include/bits/stl_construct.h:  Likewise.
964         * include/bits/stl_deque.h:  Likewise.
965         * include/bits/stl_function.h:  Likewise.
966         * include/bits/stl_heap.h:  Likewise.
967         * include/bits/stl_iterator.h:  Likewise.
968         * include/bits/stl_iterator_base_funcs.h:  Likewise.
969         * include/bits/stl_iterator_base_types.h:  Likewise.
970         * include/bits/stl_list.h:  Likewise.
971         * include/bits/stl_map.h:  Likewise.
972         * include/bits/stl_multimap.h:  Likewise.
973         * include/bits/stl_multiset.h:  Likewise.
974         * include/bits/stl_numeric.h:  Likewise.
975         * include/bits/stl_pair.h:  Likewise.
976         * include/bits/stl_pthread_alloc.h:  Likewise.
977         * include/bits/stl_queue.h:  Likewise.
978         * include/bits/stl_raw_storage_iter.h:  Likewise.
979         * include/bits/stl_relops.h:  Likewise.
980         * include/bits/stl_set.h:  Likewise.
981         * include/bits/stl_stack.h:  Likewise.
982         * include/bits/stl_tempbuf.h:  Likewise.
983         * include/bits/stl_threads.h:  Likewise.
984         * include/bits/stl_tree.h:  Likewise.
985         * include/bits/stl_uninitialized.h:  Likewise.
986         * include/bits/stl_vector.h:  Likewise.
987         * include/bits/type_traits.h:  Likewise.
988         * include/ext/hash_map:  Likewise.
989         * include/ext/hash_set:  Likewise.
990         * include/ext/rope:  Likewise.
991         * include/ext/ropeimpl.h:  Likewise.
992         * include/ext/slist:  Likewise.
993         * include/ext/stl_hash_fun.h:  Likewise.
994         * include/ext/stl_hashtable.h:  Likewise.
995         * include/ext/stl_rope.h:  Likewise.
996         * src/bitset.cc:  Likewise.
997         * src/strstream.cc:  Likewise.
998
999 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1000                              <vakatov@ncbi.nlm.nih.gov>
1001
1002         libstdc++/3272
1003         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
1004         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
1005         * testsuite/27_io/istream_extractor_other.cc: Fix.
1006         
1007 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
1008
1009         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
1010         * aclocal.m4: Regenerate.
1011         * configure: Regenerate.
1012         
1013 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1014
1015         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
1016         (ostream_iterator): Same.
1017         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
1018         Change argument to const_reference.
1019         (back_insert_iterator): Same.
1020         
1021 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1022
1023         * include/bits/sbuf_iter.h: Change to..
1024         * include/bits/streambuf_iterator.h: This.
1025         * include/bits/stl_iterator.h: Take out of here...
1026         * include/bits/stream_iterator.h: Add.
1027         * src/Makefile.am (base_headers): Add streambuf_iterator,
1028         stream_iterator.h
1029         * src/Makefile.in: Regenerate.
1030         * include/bits/std_string.h: Adjust includes.
1031         * include/bits/basic_ios.h: Same.
1032         * include/bits/locale_facets.tcc: Same.
1033         * include/bits/std_iosfwd.h: Same.      
1034         
1035         * include/bits/std_iterator.h: Add istream, ostream includes.
1036         * include/bits/stl_iterator.h: Tweak.
1037         * testsuite/24_iterators/ostream_iterator.cc: Add test.
1038         * testsuite/24_iterators/istream_iterator.cc: Same.
1039         * testsuite/23_containers/multiset.cc: Add iterator include.
1040
1041 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
1042
1043         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
1044         * aclocal.m4:  Regenerate.
1045         * configure:  Regenerate.
1046
1047 2001-06-26  Felix Natter  <f.natter@ndh.net>
1048
1049         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
1050
1051 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1052
1053         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1054         return values.
1055         (istream_iterator::operator*): Same.
1056
1057 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1058             Alexandre Petit-Bianco  <apbianco@redhat.com>
1059
1060         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1061         is on 41st, not 14th.
1062
1063 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1064
1065         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1066
1067         * include/bits/stl_iterator.h (istream_iterator): Inherit from
1068         iterator.
1069         (ostream_iterator): Same.
1070         * testsuite/24_iterators/istream_iterator.cc: New file.
1071         * testsuite/24_iterators/ostream_iterator.cc: New file.
1072         
1073         * include/bits/sbuf_iter.h: Remove self typedef.
1074         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1075         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1076         
1077         * include/bits/stl_iterator.h (reverse_iterator): Remove
1078         extraneous typedefs. Add typename.
1079         (__normal_iterator): Remove typedefs referring to self. Add typename.
1080         (reverse_bidiretional_iterator): Remove, not longer required.
1081
1082 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1083
1084         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1085         dependent names with `typename'.  Bring in various required
1086         iterator_traits members.  Can't imagine why that used to work.
1087
1088 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
1089             Kurt Garloff <garloff@suse.de>
1090
1091         PR libstdc++/3377
1092         * src/cmath.cc:  New [version of an old] file; instantiate
1093         __cmath_power to start with.
1094         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
1095         * Makefile.in:  Regenerate.
1096         * libio/Makefile.in:  Regenerate.
1097         * libmath/Makefile.in:  Regenerate.
1098         * libsupc++/Makefile.in:  Regenerate.
1099         * src/Makefile.in:  Regenerate.
1100         * testsuite/Makefile.in:  Regenerate.
1101
1102 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1103
1104         * libmath/stubs.c: Fix thinko.
1105
1106 2001-06-24  David Edelsohn <dje@watson.ibm.com>
1107
1108         * libmath/stubs.c (sqrtf): Define.
1109         (tanf): Correct typo.
1110
1111 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
1112
1113         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1114         iterator.
1115         (back_insert_iterator): Same.   
1116         (front_insert_iterator): Same.
1117         (insert_iterator): Same.
1118
1119         * testsuite/20_util/raw_storage_iterator.cc: Modify.
1120         * testsuite/24_iterators/reverse_iterator.cc: New file.
1121         * testsuite/24_iterators/back_insert_iterator.cc: New file.
1122         * testsuite/24_iterators/front_insert_iterator.cc: New file.
1123         * testsuite/24_iterators/insert_iterator.cc: New file.
1124
1125 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
1126
1127         * include/*:  Revert comment/license change from yesterday for all
1128         except libsupc++/unwind-cxx.h.
1129         * src/bitset.cc:  Likewise.
1130         * src/strstream.cc:  Likewise.
1131
1132 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1133
1134         * libmath/stubs.c: New file.
1135         (tanhf): Fix typo.
1136         (powf): Likewise.
1137
1138         * libmath/Makefile.am (libmath_la_SOURCES): Add.
1139         * libmath/Makefile.in.  Regenerate.
1140
1141 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
1142
1143         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
1144         * include/backward/algobase.h:  Likewise.
1145         * include/backward/alloc.h:  Likewise.
1146         * include/backward/bvector.h:  Likewise.
1147         * include/backward/defalloc.h:  Likewise.
1148         * include/backward/deque.h:  Likewise.
1149         * include/backward/function.h:  Likewise.
1150         * include/backward/hash_map.h:  Likewise.
1151         * include/backward/hash_set.h:  Likewise.
1152         * include/backward/hashtable.h:  Likewise.
1153         * include/backward/heap.h:  Likewise.
1154         * include/backward/iterator.h:  Likewise.
1155         * include/backward/list.h:  Likewise.
1156         * include/backward/map.h:  Likewise.
1157         * include/backward/multimap.h:  Likewise.
1158         * include/backward/multiset.h:  Likewise.
1159         * include/backward/pair.h:  Likewise.
1160         * include/backward/rope.h:  Likewise.
1161         * include/backward/set.h:  Likewise.
1162         * include/backward/slist.h:  Likewise.
1163         * include/backward/stack.h:  Likewise.
1164         * include/backward/strstream:  Likewise.
1165         * include/backward/tempbuf.h:  Likewise.
1166         * include/backward/tree.h:  Likewise.
1167         * include/backward/vector.h:  Likewise.
1168         * include/bits/pthread_allocimpl.h:  Likewise.
1169         * include/bits/std_algorithm.h:  Likewise.
1170         * include/bits/std_bitset.h:  Likewise.
1171         * include/bits/std_deque.h:  Likewise.
1172         * include/bits/std_functional.h:  Likewise.
1173         * include/bits/std_iterator.h:  Likewise.
1174         * include/bits/std_list.h:  Likewise.
1175         * include/bits/std_map.h:  Likewise.
1176         * include/bits/std_memory.h:  Likewise.
1177         * include/bits/std_numeric.h:  Likewise.
1178         * include/bits/std_queue.h:  Likewise.
1179         * include/bits/std_set.h:  Likewise.
1180         * include/bits/std_stack.h:  Likewise.
1181         * include/bits/std_utility.h:  Likewise.
1182         * include/bits/std_vector.h:  Likewise.
1183         * include/bits/stl_algo.h:  Likewise.
1184         * include/bits/stl_algobase.h:  Likewise.
1185         * include/bits/stl_alloc.h:  Likewise.
1186         * include/bits/stl_bvector.h:  Likewise.
1187         * include/bits/stl_construct.h:  Likewise.
1188         * include/bits/stl_deque.h:  Likewise.
1189         * include/bits/stl_function.h:  Likewise.
1190         * include/bits/stl_heap.h:  Likewise.
1191         * include/bits/stl_iterator.h:  Likewise.
1192         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1193         * include/bits/stl_iterator_base_types.h:  Likewise.
1194         * include/bits/stl_list.h:  Likewise.
1195         * include/bits/stl_map.h:  Likewise.
1196         * include/bits/stl_multimap.h:  Likewise.
1197         * include/bits/stl_multiset.h:  Likewise.
1198         * include/bits/stl_numeric.h:  Likewise.
1199         * include/bits/stl_pair.h:  Likewise.
1200         * include/bits/stl_pthread_alloc.h:  Likewise.
1201         * include/bits/stl_queue.h:  Likewise.
1202         * include/bits/stl_raw_storage_iter.h:  Likewise.
1203         * include/bits/stl_relops.h:  Likewise.
1204         * include/bits/stl_set.h:  Likewise.
1205         * include/bits/stl_stack.h:  Likewise.
1206         * include/bits/stl_tempbuf.h:  Likewise.
1207         * include/bits/stl_threads.h:  Likewise.
1208         * include/bits/stl_tree.h:  Likewise.
1209         * include/bits/stl_uninitialized.h:  Likewise.
1210         * include/bits/stl_vector.h:  Likewise.
1211         * include/bits/type_traits.h:  Likewise.
1212         * include/ext/hash_map:  Likewise.
1213         * include/ext/hash_set:  Likewise.
1214         * include/ext/rope:  Likewise.
1215         * include/ext/ropeimpl.h:  Likewise.
1216         * include/ext/slist:  Likewise.
1217         * include/ext/stl_hash_fun.h:  Likewise.
1218         * include/ext/stl_hashtable.h:  Likewise.
1219         * include/ext/stl_rope.h:  Likewise.
1220         * libsupc++/unwind-cxx.h:  Likewise.
1221         * src/bitset.cc:  Likewise.
1222         * src/strstream.cc:  Likewise.
1223
1224 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1225
1226         * include/bits/indirect_array.h (indirect_array<>::operator=):
1227         Make copy and assignment operator public.  Implement.  Format.
1228
1229         * include/bits/valarray_array.h (__valarray_copy): Add overloads
1230         for copy between index arrays.  Format.
1231
1232 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
1233
1234         * mknumeric_limits: Add static definitions, format.
1235         * testsuite/18_support/numeric_limits.cc (test02): Add test.
1236
1237         * include/c_std/bits/std_cwchar.h: Include ctime.
1238         * testsuite/17_intro/header_cwchar.cc : Check.
1239
1240         * include/c_std/bits/std_cwctype.h: Inject wctype.
1241         * testsuite/17_intro/header_cwctype.cc: Update.
1242
1243 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
1244
1245         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1246         * testsuite/20_util/raw_storage_iterator.cc: Same.
1247         
1248         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1249         operator new.
1250         (__mem_interface): New typedef for switching between malloc and new.
1251         * testsuite/20_util/allocator_members.cc: New file.     
1252
1253         * testsuite/20_util/comparisons.cc: New file.
1254         * testsuite/20_util/pairs.cc: New file. 
1255
1256 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
1257
1258         * docs/html/documentation.html:  Point to new doxygen'ed collection.
1259
1260 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
1261
1262         * configure.in (auxdir): Replace by ...
1263         (toprel): ... new variable.
1264         (toplevel_srcdir): Construct from $toprel.
1265         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1266         rather than .. to locate gcc source directory.
1267         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1268         * aclocal.m4, configure: Rebuilt.
1269
1270 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1271
1272         (Approved by Mark and Benjamin.  Applied by Loren.)
1273
1274         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1275         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1276         and _GLIBCPP_mutex_address.
1277         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1278         once-only runtime initialization of _M_lock mutex when
1279         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1280         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1281         for __GTHREAD_MUTEX_INIT_FUNCTION case.
1282
1283 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1284
1285         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1286
1287         * include/bits/slice_array.h (slice_array<>::operator=): Make
1288         public and implement.
1289         (slice_array<>::slice_array): Make copy-constructor public.
1290
1291         * include/bits/valarray_array.h (__valarray_copy): Add another
1292         overload to copy between strided arrays.
1293
1294 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
1295
1296         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1297         * aclocal.m4: Regenerate.
1298         * configure: Regenerate.
1299         * include/bits/c++config (__GLIBCPP__): Update date.
1300
1301 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
1302
1303         * include/bits/fpos.h (fpos::operator-): Don't return reference,
1304         return original, non-modified version.
1305         (fpos::operator+): Same.
1306         * testsuite/27_io/fpos.cc: Add test.
1307         
1308 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
1309
1310         libstdc++/2071
1311         * porting.texi: Add documentation about libstdc++-v3-specific
1312         macros that are currently included in os_defines.h files.
1313
1314         * config/basic_file_stdio.h (sys_getc): New method.
1315         (sys_ungetc): New method.
1316         * include/bits/basic_file.h: (sys_getc): New method signature.
1317         (sys_ungetc): New method signature.
1318
1319         * include/bits/fstream.tcc (underflow): Add conditional code
1320         paths which avoid using short seeks on streams (especially
1321         useful when the stream might be interactive or a pipe).  At
1322         the moment, this alternate path only avoids seeking when the
1323         ``buffer size'' of underflow() is 1 since the C standard only
1324         guarantees buffer space for one ungetc (this technique could
1325         be extended since *-*-solaris* supports buffering for 4 calls
1326         to ungetc and *-*-*bsd* supports buffering limited only by
1327         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
1328         in a port's os_defines.h file for this alternate path to even
1329         be considered.  As a bonus, the idiom of using getc/ungetc
1330         requires no system calls whereas fseek maps to one or two
1331         system call(s) on many platforms.
1332
1333         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1334         Define it.
1335         * config/os/solaris/solaris2.5/bits/os_defines.h
1336         (_GLIBCPP_AVOID_FSEEK): Likewise.
1337         * config/os/solaris/solaris2.6/bits/os_defines.h
1338         (_GLIBCPP_AVOID_FSEEK): Likewise.
1339         * config/os/solaris/solaris2.7/bits/os_defines.h
1340         (_GLIBCPP_AVOID_FSEEK): Likewise.
1341
1342 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
1343
1344         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1345         AC_TRY_COMPILE, so that the built compiler is checked, and
1346         bootstraps or cross compiles with an older compile still work.
1347         * aclocal.m4: Regenerate.
1348         * configure: Regenerate.
1349         
1350 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
1351
1352         libstdc++/3142
1353         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1354
1355         libstdc++/3141
1356         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1357
1358         libstdc++/3140
1359         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1360
1361         libstdc++/3139
1362         * include/bits/limits_generic.h: Fix as per DR 184.
1363
1364 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
1365
1366         libstdc++/3126
1367         * include/bits/basic_string.h (string::compare): Adjust signatures
1368         as per DR 5.
1369         * include/bits/basic_string.tcc: And here.
1370
1371         libstdc++/2346
1372         * config/c_io_stdio.h: Remove whitespace.
1373         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1374         (test02): Add regression.
1375         * testsuite/27_io/istream_seeks-3.tst: New file.
1376         
1377 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
1378
1379         * README:  Update to reflect reality.
1380         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
1381         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
1382         * aclocal.m4:  Regenerate.
1383         * configure:  Regenerate (with 2.13).
1384
1385 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
1386
1387         libstdc++/3114
1388         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1389         per DR 129.
1390         * include/bits/istream.tcc (istream::seekg): Same.
1391         * testsuite/27_io/istream_seeks.cc: Fix.
1392         
1393         libstdc++/3113
1394         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1395         (binder1st): Same.
1396         * include/bits/std_queue.h: Add c++config.h.
1397         * testsuite/20_util/binders.cc: New test.
1398         
1399 2001-06-11  Matthias Klose  <doko@debian.org>
1400             Phil Edwards  <pme@sources.redhat.com>
1401
1402         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
1403         (main script):  Echo more information.
1404
1405 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
1406
1407         * include/c_std/bits/std_cwchar.h: Alphabetize.
1408         * include/bits/char_traits.h: Tweak.
1409         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1410         everything used by std_cwchar.h.
1411         * aclocal.m4: Regenerate.
1412         * configure.in: Regenerate.
1413         * config.h.in: Regenerate.
1414         
1415 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
1416
1417         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1418         Add checking for strtof, _Exit in stdlib.h
1419         * aclocal.m4: Regenerate.
1420         * configure.in: Regenerate.
1421         * include/c_std/bits/std_cstdio.h: Alphabetize lists. 
1422         (snprintf): Put C99 functions into __gnu_cxx namespace.
1423         (vfscanf): Same.
1424         (vscanf): Same.
1425         (vsnprintf): Same.
1426         (vsscanf): Same.
1427         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1428         for C99 functions within _GLIBCPP_USE_C99 guard.
1429         (_Exit): Same.
1430         (strtof): Same.
1431         (strtold): Same.
1432         * include/bits/locale_facets.tcc: Check if C99 is enabled.
1433         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1434         C99 guard.
1435         * include/c_std/bits/cmath.tcc: Formatting tweak.
1436         * include/c_std/bits/std_cmath.h: Same.
1437         
1438 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
1439
1440         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1441
1442 2001-06-09  Alexandre Oliva  <aoliva@redhat.com> 
1443             Stephen L Moshier  <moshier@mediaone.net>
1444
1445         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1446         nothing, as in autoconf 2.50.
1447         * configure: Rebuilt.
1448
1449 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
1450
1451         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1452         include std_cstddef.
1453         * include/c_std/bits/std_ctime.h: Same.
1454         * include/c_std/bits/std_cstring.h: Same.
1455         * include/c_std/bits/std_cstdlib.h: Same.
1456         
1457         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1458         * include/c_std/bits/std_cctype.h: Remove isblank.
1459
1460 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
1461
1462         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1463         fgetws.
1464         * aclocal.m4: Regenerate.
1465         * configure: Regenerate.
1466         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1467         injection, guard fgetwc, fgetws.
1468         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1469         * include/c_std/bits/std_clocale.h: And here.
1470         * include/c_std/bits/std_cctype.h: And here.
1471         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1472
1473         * config/basic_file_stdio.h: Don't include unistd.h.
1474         * config/c_io_stdio.h: Don't use compatibility headers.
1475         * libsupc++/eh_terminate.cc: Qualify abort.
1476         (__terminate): And here.
1477         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1478         
1479 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1480
1481         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1482
1483 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
1484
1485         libstdc++/2767
1486         libstdc++/2989
1487         libstdc++/2992
1488         * include/std/*: Add copyright notice.
1489         * include/c_std/bits/*: Use using statements instead of extern "C".
1490         * include/c_std/bits/std_cmath.h: Don't overload double versions
1491         of math functions with __buitin versions, use global version to
1492         prevent ambiguities. Remove define hacks.
1493         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1494         functions that have changed signatures and std::
1495         declarations. Remove define hacks.
1496         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1497         __builtins in std::. Remove define hacks.
1498         * testsuite/17_intro/headers_c.cc: Add tests.
1499         * testsuite/17_intro/headers_c++.cc: Add test.
1500
1501 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
1502             John David Anglin  <dave@hiauly1.hia.nrc.ca>
1503
1504         c++/3082
1505         * libsupc++/eh_alloc.cc: Ensure that required macros are
1506         defined before including gthr.h.  Ensure that we get the
1507         version of gthr.h for which we know how to provide a
1508         configuration.
1509         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
1510         code path into line with the current EH model.  Use std, where
1511         appropriate.
1512
1513 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
1514             John David Anglin  <dave@hiauly1.hia.nrc.ca>
1515
1516         * config/threads-no.h: Remove file.
1517         * config/threads-posix.h: Remove file.
1518
1519         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1520         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1521         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1522         * config.h.in: Regenerate.
1523
1524         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1525         setup and use gthr*.h files.  In particular, make gthr.h files
1526         namespace-clean in the staging area (they don't have to be for
1527         libgcc.a).
1528         * aclocal.m4: Regenerate.
1529         * configure: Regenerate.
1530
1531         * src/Makefile.am (build_headers): Remove bits/c++threads.h
1532         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1533         * src/Makefile.in: Regenerate.
1534
1535         * include/bits/c++config: Cleanup threading configuration macros.
1536         In particular, define __STL_GTHREADS macro which controls...
1537         * include/bits/stl_threads.h: ...a brand new gthr.h-based
1538         configuration here.
1539
1540         * config/c_io_stdio.h: Include staged gthr.h instead of local
1541         thread configuration file.  Always use __gthread_mutex_t
1542         instead of __mutext_type (or int).
1543         * include/bits/std_fstream.h: Likewise.
1544
1545         * docs/html/17_intro/howto.html: Remove placeholder comment in
1546         case this configuration patch didn't make it.  Add advice that
1547         section only applies if configured with --enable-threads.
1548         * docs/html/23_containers/howto.html: Reword to make clear
1549         that _PTHREADS is no longer required for any port to be
1550         correctly using STL with threads.  Add advice that section
1551         only applies if configured with --enable-threads.
1552
1553 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
1554
1555         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1556
1557 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
1558
1559         libstdc++/3045
1560         * include/bits/basic_ios.tcc: Formatting tweaks.
1561         * include/bits/ios_base.h: Formatting tweaks.
1562         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1563         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1564         * src/globals.cc: Allocate filebufs for standard streams here.
1565         (buf_cout, buf_cin, buf_cerr): Like so.
1566         (buf_wcout, buf_wcin, buf_wcerr): And so.
1567         * testsuite/27_io/ios_init.cc: Add.
1568         
1569 2001-06-04  Brendan Kehoe  <brendan@zen.org>
1570             Benjamin Kosnik  <bkoz@redhat.com>
1571         
1572         libstdc++/3017
1573         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1574         for generic ctype virtuals.
1575         * src/locale.cc: Minor tweaks, naming consistency.
1576         * testsuite/22_locale/ctype.cc: Add test.
1577         
1578 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
1579             Phil Edwards  <pme@sources.redhat.com>
1580
1581         PR libstdc++/3035 and PR libstdc++/3036
1582         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
1583         to LWG DR 181 and 265.
1584
1585 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
1586
1587         PR libstdc++/3034
1588         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1589         equal_range):  Add const overloads as per LWG DR 214.
1590         * include/bits/stl_set.h:  Likewise.
1591
1592 2001-06-04  Brendan Kehoe  <brendan@zen.org>
1593             Phil Edwards  <pme@sources.redhat.com>
1594
1595         PR libstdc++/3018
1596         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
1597         comparison; all positions must be < _Nb.
1598         * testsuite/23_containers/bitset_members.cc:  New file.
1599
1600 2001-06-04  Brendan Kehoe  <brendan@zen.org>
1601
1602         PR libstdc++/3016
1603         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
1604         ctors to match the standard.
1605
1606 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
1607
1608         * include/bits/char_traits.h (move): Reverse qualification of
1609         memmove with std::.
1610         (copy): Reverse qualification of memcpy with std::.
1611
1612 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
1613
1614         * include/bits/char_traits.h (move): Qualify memmove with std::.
1615         (copy): Qualify memcpy with std::.
1616         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1617         strncmp with std::.
1618         (test02): Likewise.
1619         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1620
1621 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
1622
1623         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1624         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1625         SUN make VPATH peculiarities.
1626         * libsupc++/Makefile.in: Regenerate.
1627
1628 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
1629
1630         * src/Makefile.am (VPATH): Delimit with ":", not space.
1631         * src/Makefile.in: Regenerate.
1632
1633         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1634         make isn't found.
1635         * configure: Regenerate.
1636
1637 2001-05-31  scott snyder  <snyder@fnal.gov>
1638
1639         libstdc++/2976
1640         * include/bits/istream.tcc: Include std_ostream.h.
1641
1642 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
1643
1644         libstdc++/2997
1645         * src/bitset.cc: Qualify size_t with std::.
1646
1647 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
1648
1649         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1650         (_GLIBCPP_BUGGY_COMPLEX): Remove.
1651         * config.h.in: Regenerate.
1652         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1653         * aclocal.m4: Regenerate.
1654         * configure.in: Don't call it.
1655         * configure: Regenerate.
1656
1657         libstdc++/2970
1658         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1659         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1660         New test.
1661
1662         libstdc++/2985
1663         * include/bits/std_complex.h: Include sstream. Put definitions for
1664         complex inserters and extractors here, and remove them from...
1665         * src/complex_io.cc: ...here.
1666         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1667         parameter.
1668         (basic_ios::__numget_type): Same.
1669         * include/bits/std_istream.h: Same.
1670         * include/bits/std_ostream.h: Same.
1671         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1672         class iterator template arguments.
1673         * src/locale-inst.cc: Add explicit has_facet instantiations.
1674         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1675         (_M_get_fnumput): Remove.
1676         (_M_get_fnumget): Remove.
1677         (basic_ios::_M_check_facet): New function.
1678         (basic_ios::_M_cache_facets): New function.
1679         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1680         (basic_ios::imbue): Call _M_cache_facets.
1681         (basic_ios::init): Same.
1682         * include/bits/istream.tcc: Format, use _M_check_facet.
1683         * include/bits/ostream.tcc: Same.
1684         * include/bits/locale_facets.tcc (__output_float): Change
1685         signature, add _Traits.
1686         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1687         New test.
1688
1689 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
1690
1691         * include/bits/c++config (__USE_MALLOC): Do not define it.
1692         Document why not and give pointers to more information.
1693
1694         * docs/html/23_containers/howto.html: Update documentation
1695         to reflect recent understanding of problem.
1696         * docs/html/17_intro/howto.html: Likewise.
1697
1698 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
1699
1700         * docs/doxygen/user.cfg.in:  Minor addition.
1701         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
1702         stuff first.
1703         * docs/html/install.html:  Update for 3.0.  HTML fixups.
1704         * docs/html/17_intro/howto.html:  Likewise.
1705         * docs/html/18_support/howto.html:  Likewise.
1706         * docs/html/19_diagnostics/howto.html:  Likewise.
1707         * docs/html/20_util/howto.html:  Likewise.
1708         * docs/html/23_containers/howto.html:  Likewise.
1709         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
1710         * docs/html/25_algorithms/howto.html:  Likewise.
1711         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
1712         * docs/html/27_io/howto.html:  Likewise.
1713         * docs/html/ext/howto.html:  Likewise.
1714         * docs/html/faq/index.html:  Likewise.
1715         * docs/html/faq/index.txt:  Regenerate.
1716         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
1717         Doxygen-created documentation.
1718
1719 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1720
1721         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1722         get_multilibs to find gcc.
1723         
1724 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
1725
1726         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
1727         * aclocal.m4:  Regenerate.
1728         * configure:  Regenerate.
1729
1730 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1731  
1732        * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. 
1733        * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1734  
1735 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1736
1737        * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1738        * include/c_std/bits/std_cstdlib.h: Same.
1739        * include/c_std/bits/std_cwchar.h: Same.
1740
1741 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
1742
1743         * docs/html/17_intro/howto.html: Update link.
1744         * docs/html/23_containers/howto.html: Likewise.  Add new link.
1745
1746 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
1747
1748         * include/c_std/bits/std_cmath.h (sqrt): #undef.
1749         
1750 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1751
1752         * mknumeric_limits: Stop if gen-num-limits dies.
1753
1754 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
1755
1756         other/2931
1757         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1758         * aclocal.m4: Regenerate.
1759         * configure: Same.
1760         
1761 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1762             Phil Edwards  <pme@sources.redhat.com>
1763             Alexandre Oliva  <aoliva@redhat.com>
1764
1765         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1766         in an amd-safe manner. Revert glibcpp_prefixdir.
1767
1768 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
1769
1770         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
1771         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
1772         variants. 
1773
1774 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1775
1776         libstdc++/2830
1777         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1778         * include/bits/ostream.tcc: Format to match istream.tcc.
1779         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1780         
1781 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
1782
1783         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
1784         malloc with std:: .
1785         (__cxa_free_exception):  Likewise with free.
1786
1787 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
1788
1789         * include/c_std/bin/std_cstring.h: #define away all global
1790         functions we will redeclare in namespace `std'.
1791         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1792         std::memset, instead of memset.
1793         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1794         not plain `strcmp'.
1795         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1796         plain `strcpy'.
1797         
1798 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1799
1800         libstdc++/2832
1801         * include/bits/basic_ios.tcc: Small tweak.
1802         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1803         ctors and dtors, and rdbuf settings.
1804         (ofstream): Same.
1805         (fstream): Same.
1806         * include/bits/std_sstream.h: Same, but for stringstream classes.
1807         * testsuite/27_io/ostringstream_members.cc: New.
1808         * testsuite/27_io/stringstream_members.cc: New. 
1809         * testsuite/27_io/fstream_members.cc: New.              
1810         * testsuite/27_io/ifstream_members.cc: Add test.
1811         * testsuite/27_io/istringstream_members.cc: Add test.
1812         * testsuite/27_io/ofstream_members.cc: Add test.
1813
1814 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1815
1816         * include/bits/c++config(__NO_MATH_INLINES): Move to...
1817         * config/os/gnu-linux/bits/os_defines.h: ...here.
1818
1819 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
1820
1821         * include/bits/c++config (__NO_MATH_INLINES): New macro.
1822         * testsuite/26_numerics/fabs_inline.cc (main): New test.
1823
1824 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
1825
1826         libstdc++/2841
1827         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1828         ld_library_path.  
1829         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1830         (libstdc++-v3-finish): Remove.
1831         (libstdc++-v3_exit): Remove.
1832
1833 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
1834
1835         * docs/html/documentation.html:  Point to doxygen output.
1836
1837 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
1838
1839         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1840
1841         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1842         arguments to be non-null.
1843         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1844         try allocations if allocated size is greater than zero.
1845         (filebuf::_M_filebuf_init): Change to
1846         (filebuf::_M_allocate_file): Which is what it does now. 
1847         (filebuf::_M_allocate_bufers): Change to
1848         (filebuf::_M_allocate_internal_buffer): This, and create
1849         (filebuf::_M_allocate_pback_buffer): New.
1850         (filebuf::_M_destroy_internal_buffer): New.
1851         (filebuf::_M_buf_allocated): New data member.
1852         (filebuf::setbuf): Use new logic, allow use of external buffer.
1853         * testsuite/27_io/stringbuf_virtuals.cc: New file.
1854         * testsuite/27_io/filebuf_virtuals.cc: New file.
1855
1856 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
1857
1858         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1859         __glibcpp_memchr.
1860         (strchr): Same, but to __glibcpp_strchr.
1861         (strpbrk): Same.
1862         (strrchr): Same.
1863         (strstr): Same.  
1864         * include/c_std/bits/std_cwchar.h (wcschr): Same.
1865         (wcsbrk): Same.
1866         (wcsrchr): Same.
1867         (wcsstr): Same.
1868         (wmemchr): Same.
1869
1870 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
1871
1872         * testsuite/21_strings/c_strings.cc (main): Fix.
1873
1874 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
1875
1876         * acinclude.m4:  Fix --help spacing, correct comments.
1877         * aclocal.m4:  Regenerate.
1878         * configure:  Regenerate.
1879         * mkcheck.in:  Add usage comments.
1880         * docs/html/documentation.html:  Point to doxygen'd tarball.
1881
1882 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1883
1884         * testsuite/README: Add notes.
1885
1886         * src/Makefile.am (libstdc++.INC): Remove.
1887         * src/Makefile.in: Regenerate.
1888
1889         Phil Edwards <pedwards@disaster.jaj.com>
1890         * mkcheck.in: Add missing '#'.
1891
1892 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
1893
1894         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1895         appropriately for remote testing and testing installed files without
1896         a build dir.
1897
1898 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
1899
1900         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1901         amd glibcpp_prefixdir with absolute paths.
1902
1903         * include/bits/c++config (__GLIBCPP__): Bump.
1904         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1905
1906 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
1907
1908         * include/bits/std_valarray.h (valarray<>::operator[] const):
1909         Return a const reference. 
1910         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1911
1912 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
1913
1914         * configure.target (ATOMICITYH): Actually use AIX-specific code on
1915         earlier versions of AIX 4.*.
1916
1917 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
1918
1919         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
1920         output_file based on the name of the testcase.
1921
1922 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
1923
1924         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
1925         gluefile and use it if needs_status_wrapper is set.
1926
1927 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
1928
1929         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1930         versions of AIX.
1931
1932 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
1933
1934         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1935         on earlier versions of AIX.
1936
1937 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
1938
1939         * testsuite_flags.in (query): Add backwards, ext directories.
1940
1941 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
1942
1943         * porting.texi: Correct documentation about handling
1944         _LARRGEFILE_SOURCE and its ilk.
1945         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1946         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and 
1947         __EXTENSIONS__.
1948         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1949         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1950
1951 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
1952         
1953         * testsuite/21_strings/inserters_extractors.cc,
1954         testsuite/27_io/istream_unformatted.cc,
1955         testsuite/27_io/stringstream.cc:
1956         Replace multi-line string constants with C89-style
1957         concatenated string constants.
1958         
1959 2001-05-14  Richard Henderson  <rth@redhat.com>
1960
1961         * mknumeric_limits: Build with -fno-exceptions.
1962
1963 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
1964
1965         Switch over to new harness.
1966         * testsuite_flags.in: Tweaks via Gaby.
1967         * testsuite/Makefile.am: Change tool to libstdc++-v3.
1968         (EXPECT): Quote directly.
1969         (RUNTEST): Same.
1970         * configure.in: Output testsuite_flags.
1971         * acinclude.m4: Substitute src, bld, and prefix dirs.
1972         Remove glibcpp_expect, glibcpp_runtestflags.
1973         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1974         * mkcheck.in: Port to new interface.
1975         
1976         * aclocal.m4: Regerate.
1977         * configure: Regnerate.
1978         * Makefile.in: Regnerate.
1979         * */Makefile.in: Regenerate.
1980         
1981         * tests_flags.in: Remove.
1982         * testsuite/lib/libstdc++.exp: Remove.
1983         * testsuite/libstdc++.tests/tests.exp: Remove.
1984         
1985 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
1986
1987         * configure.target: Remove detection of AIX pthread multilib, now
1988         obtained from `gcc -v'.
1989
1990 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1991
1992         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1993         size.  Add hpux case for HP size.
1994
1995 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
1996
1997         * testsuite_flags.in: New, simplified interface.
1998         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1999         * testsuite/libstdc++-v3.dg: Add.
2000         * testsuite/libstdc++-v3.dg/dg.exp: Add.        
2001
2002 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
2003
2004         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
2005         * testsuite/config/default.exp: Update bugs email address.
2006         
2007 2001-05-11  Richard Henderson  <rth@redhat.com>
2008
2009         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
2010         all pointer encoding logic.
2011         (struct lsda_header_info): Add ttype_base.
2012         (get_ttype_entry): Use it instead of a context.
2013         (check_exception_spec): Likewise.
2014         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
2015         the c++ exception header for __cxa_call_unexpected.
2016         (__cxa_call_unexpected): Use it.
2017
2018 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
2019
2020         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
2021         libgloss_link_flags to find crt0.o for targets that use libgloss
2022         instead of newlib.
2023         Change LDFLAGS to LIBS.
2024         Consistently name procedures libstdc++-XXX.
2025         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2026         
2027 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
2028
2029         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2030         (strchr): Same.
2031         (strpbrk): Same.
2032         (strrchr): Same.
2033         (strstr): Same.
2034         * include/c_std/bits/std_cwchar.h (wcschr): Same.
2035         (wcsbrk): Same.
2036         (wcsrchr): Same.
2037         (wcsstr): Same.
2038         (wmemchr): Same.
2039         * testsuite/21_strings/c_strings.cc: Add tests.
2040         
2041 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
2042
2043         libstdc++/2523
2044         * include/bits/std_fstream.h (basic_filebuf): Change signature.
2045         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2046         to int_type, pass in buffer size info.
2047         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2048         unbuffered situation.
2049         (underflow): Remove codecvt bits for the time being.
2050         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2051         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2052         values from iterators, clean.
2053         * src/locale.cc: Ditto.
2054         * include/bits/sbuf_iter.h: Format.
2055         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2056         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2057         * testsuite/27_io/filebuf.cc: Tweaks.
2058         * testsuite/27_io/filebuf_members.cc: Tweaks.
2059         
2060 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
2061
2062         * config/os/solaris/solaris2.7/bits/os_defines.h
2063         (_LARGEFILE_SOURCE): Define it.
2064
2065 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
2066
2067         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2068         -prefer-non-pic depending on whether libtool has shared libraries
2069         enabled or disabled.
2070         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2071         $(LIBSUPCXX_PICFLAGS).
2072         * configure, */Makefile.in: Rebuilt.
2073
2074 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2075
2076         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2077         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2078
2079         * include/bits/std_sstream.h (stringbuf): Leak
2080         copied string.
2081         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2082         
2083 2001-05-01  Tom Browder  <tbrowder@home.com>
2084
2085         * docs/html/ext/howto.html:  Fix typo.
2086
2087 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2088
2089         * testsuite/libstdc++.tests/tests.exp: Add comment.
2090
2091 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
2092
2093         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2094
2095 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2096
2097         * porting.texi: Use the GFDL.
2098
2099 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2100
2101         libstdc++/2627 
2102         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2103         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2104         specializations.
2105
2106 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
2107
2108         libstdc++/2964
2109         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2110
2111 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
2112
2113         * docs/doxygen/run_doxygen:  Minor tweaks.
2114         * docs/doxygen/style.css:  New file.
2115         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
2116         latest parameters available.  Use style.css.
2117
2118 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
2119
2120         * docs/doxygen/mainpage.doxy: New.
2121         * docs/doxygen/user.cfg.in: Change default configuration. Single
2122         frame, other tweaks.
2123
2124 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
2125
2126         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2127         Indicate obsolete nature of thelist for G++ 3.0.
2128
2129 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
2130
2131         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2132         target_thread_file with `gcc -v'.
2133         * aclocal.m4, configure: Rebuilt.
2134
2135 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
2136
2137         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2138         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2139         * include/c_std/bits/std_cwchar.h (std): Same.
2140         * acconfig.h (std): Remove c99 injection into std.
2141         * config.h.in: Regenerate.
2142         
2143         * testsuite/README: Fix typo.
2144
2145         * include/bits/codecvt.h: Remove warnings.
2146         
2147 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2148
2149         * include/ext/slist: Include required header files. 
2150
2151 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
2152
2153         * include/c_std/bits/std_cerrno.h (errno): Define macro from
2154         identifier declared with external linkage, if needed.
2155         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2156         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2157
2158 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
2159
2160         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2161         re-configures find the build compiler.
2162         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2163         libstdc++/2609.
2164         * aclocal.m4: Regenerate.
2165         * configure: Regenerate.
2166
2167 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
2168
2169         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2170         support is enabled correctly before long long is activated.
2171         * aclocal.m4: Regenerate.
2172         * configure: Regenerate.
2173         
2174         * include/backward/backward_warning.h: Format correctly.
2175
2176         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2177         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2178         * testsuite/26_numerics/c99_macros.cc: Remove.
2179         
2180 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
2181
2182         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
2183         __iterator_category.
2184
2185 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
2186
2187         * acconfig.h (_GLIBCPP_USE_C99): Add.
2188         * config.h.in: Regenerate.
2189         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2190         9899: 1999 support.
2191         * aclocal.m4: Regenerate.
2192         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2193         * configure: Regenerate.
2194         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2195         * configure: Regenerate.
2196         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2197         into c99.
2198         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2199         namespace.
2200         * include/c_std/bits/std_cstdlib.h: Same.
2201         * docs/html/configopts.html: Update.
2202         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2203         math.h
2204         (test_c99_classify): Add.
2205         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2206         (_ISOC99_SOURCE): Remove.
2207
2208         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2209         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2210         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2211         * aclocal.m4: Regenerate.
2212         * configure: Regenerate.
2213         
2214 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
2215
2216         * Makefile.am (doxygen):  Assume script is missing execute perms.
2217         * Makefile.in:  Regenerated.
2218         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
2219
2220 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
2221
2222         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2223
2224 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
2225
2226         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2227         * testsuite/23_containers/set_operators.cc: Same.
2228
2229         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2230         default.
2231         (__GLIBCPP__): Bump from value of last release.
2232         * include/bits/concept_check.h: Default to off, edit comments.
2233         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2234         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
2235         * src/Makefile.in: Regenerate.
2236         
2237 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
2238
2239         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2240         Properly uglify member.
2241
2242 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
2243
2244         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
2245         of EqualityCo
2246         mparableConcept.
2247
2248 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
2249
2250         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
2251         * include/bits/concept_check.h:  Uglify.
2252         * include/bits/stl_algo.h:  Likewise.
2253         * include/bits/stl_algobase.h:  Likewise.
2254         * include/bits/stl_deque.h:  Likewise.
2255         * include/bits/stl_heap.h:  Likewise.
2256         * include/bits/stl_iterator_base_funcs.h:  Likewise.
2257         * include/bits/stl_list.h:  Likewise.
2258         * include/bits/stl_map.h:  Likewise.
2259         * include/bits/stl_multimap.h:  Likewise.
2260         * include/bits/stl_multiset.h:  Likewise.
2261         * include/bits/stl_numeric.h:  Likewise.
2262         * include/bits/stl_queue.h:  Likewise.
2263         * include/bits/stl_set.h:  Likewise.
2264         * include/bits/stl_stack.h:  Likewise.
2265         * include/bits/stl_vector.h:  Likewise.
2266         * include/ext/hash_map:  Likewise.
2267         * include/ext/hash_set:  Likewise.
2268         * include/ext/slist:  Likewise.
2269
2270 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
2271
2272         * testsuite/23_containers/set_operators.cc: Just try to compile.
2273         Mark as XFAIL.   
2274         * testsuite/23_containers/map_operators.cc: Same.
2275
2276 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
2277
2278         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2279         output_file.
2280         (dg-test): Revert rth's change.
2281
2282 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
2283
2284         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2285         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2286
2287 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
2288
2289         * testsuite/README: Add DejaGnu specific documentation.
2290
2291 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
2292         
2293         * acinclude.m4: AC_CHECK_TOOL for expect.
2294         * aclocal.m4: Regenerate.
2295         * configure: Regenerate.
2296         * testsuite/Makefile.am (RUNTEST): Use substituted.
2297         (EXPECT): Same.
2298
2299         * configure.in: Remove xcompiling substitution.
2300         * tests_flags.in (CROSS_LIB_PATH): Remove.
2301         (xcompiling): Remove.
2302         (CXX): Use substituted CXX.
2303         
2304 2001-04-11  Richard Henderson  <rth@redhat.com>
2305
2306         * testsuite/lib/libstdc++.exp: Specify path for output_file.
2307
2308 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
2309
2310         * include/bits/std_valarray.h(valarray<>::operator[]): Make
2311         inline. 
2312
2313 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2314   
2315         * testsuite/25_algorithms/equal.cc: New test.
2316
2317 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
2318
2319         * stl_algobase.h (std::equal): avoid use of possibly-undefined
2320         operator != (one line patch).
2321
2322 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
2323
2324         * include/backward/backward_warning.h: Re-enable.
2325
2326 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
2327             Alexandre Oliva  <aoliva@redhat.com>
2328         
2329         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2330
2331 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
2332
2333         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2334         * testsuite/26_numerics/c99_macros.cc: Add test.
2335
2336 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
2337
2338         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
2339         * docs/html/faq/index.txt:  Regenerated.
2340
2341 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
2342
2343         * include/backward/backward_warning.h: Temporarily disable until
2344         g++ testsuite changes go in.
2345         * tests_flags.in (CROSS_LIB_PATH): Add.
2346
2347 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
2348
2349         Warn when using backward headers.
2350         * include/backward/algo.h: Include warning file.        
2351         * include/backward/vector.h: Same.
2352         * include/backward/tree.h: Same.
2353         * include/backward/tempbuf.h: Same.
2354         * include/backward/strstream: Same.
2355         * include/backward/streambuf.h: Same.
2356         * include/backward/stream.h: Same.
2357         * include/backward/stack.h: Same.
2358         * include/backward/slist.h: Same.
2359         * include/backward/set.h: Same.
2360         * include/backward/rope.h: 
2361         * include/backward/queue.h: Same.
2362         * include/backward/pair.h: Same.
2363         * include/backward/ostream.h: Same.
2364         * include/backward/new.h: Same.
2365         * include/backward/multiset.h: Same.
2366         * include/backward/multimap.h: Same.
2367         * include/backward/map.h: Same.
2368         * include/backward/list.h: Same.
2369         * include/backward/iterator.h: Same.
2370         * include/backward/istream.h: Same.
2371         * include/backward/iostream.h: 
2372         * include/backward/iomanip.h: 
2373         * include/backward/heap.h: Same.
2374         * include/backward/hashtable.h: 
2375         * include/backward/hash_set.h: 
2376         * include/backward/hash_map.h: 
2377         * include/backward/function.h: 
2378         * include/backward/fstream.h: 
2379         * include/backward/deque.h: 
2380         * include/backward/defalloc.h: Same.
2381         * include/backward/complex.h: Same.
2382         * include/backward/bvector.h: 
2383         * include/backward/alloc.h: 
2384         * include/backward/algobase.h: Same.
2385
2386         * include/backward/backward_warning.h: New file.
2387         * src/Makefile.am (backward_headers): Add backward_warning.h
2388         * src/Makefile.in: Regenerate.
2389
2390 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
2391
2392         * src/Makefile.am (myinstalldirs): Make sure backward directory is
2393         created.
2394         (myinstallheaders): Install backward headers in backward directory.
2395         * src/Makefile.in: Regenerate.
2396         
2397 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
2398
2399         Prepare for libstdc++-2.92.
2400         * docs/html/17_intro/RELEASE-NOTES (New): Update.
2401         * docs/html/configopts.html: Fix formatting.
2402         * README (file): Updates.
2403         * include/bits/c++config (__GLIBCPP__): Update.
2404
2405 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
2406
2407         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
2408
2409 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
2410
2411         * docs/doxygen/user.cfg.in:  Extract all non-private members;
2412           reduce confusing documentation output.
2413
2414 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
2415
2416         * include/backward/fstream.h: Add missing semicolons.
2417
2418 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
2419
2420         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2421         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2422         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2423         (ios_base::Init::_S_ios_create): New.
2424         (ios_base::Init::_S_ios_destroy): New.  
2425         * include/bits/std_fstream.h: Change ctor args.
2426         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2427         (ios_base::Init::~Init): Use _S_ios_destroy.
2428         (ios_base::sync_with_stdio): Use new members.
2429         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2430         filebuf ctor.
2431
2432 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2433
2434         * include/backward/fstream.h:  Expose streampos to global
2435           namespace.
2436         
2437 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2438
2439         * include/bits/stl_iterator_base_types.h: Fix typo
2440
2441 2001-04-03  Andreas Schwab  <schwab@suse.de>
2442
2443         * include/backward/fstream.h: Define filebuf and wfilebuf.
2444
2445 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
2446
2447         New concept checking implementation.
2448         * docs/html/19_diagnostics/howto.html:  Document.
2449         * docs/html/17_intro/concept_check.diff:  New file, for reference.
2450         * include/bits/boost_concept_check.h:  New file from Boost.
2451         * include/bits/c++config:  Update comments.
2452
2453         * include/bits/concept_check.h:  New file.
2454         * include/bits/concept_checks.h:  Removed.
2455         * include/bits/container_concepts.h:  Removed.
2456         * include/bits/sequence_concepts.h:  Removed.
2457         * include/bits/stl_iterator_base.h:  Removed; split into...
2458         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
2459         * include/bits/stl_iterator_base_types.h:  ...and this new file.
2460
2461         * include/bits/sbuf_iter.h:  Update to use new implementation.
2462         * include/bits/std_iterator.h:  Likewise.
2463         * include/bits/std_memory.h:  Likewise.
2464         * include/bits/stl_algo.h:  Likewise.
2465         * include/bits/stl_algobase.h:  Likewise.
2466         * include/bits/stl_construct.h:  Likewise.
2467         * include/bits/stl_deque.h:  Likewise.
2468         * include/bits/stl_heap.h:  Likewise.
2469         * include/bits/stl_list.h:  Likewise.
2470         * include/bits/stl_map.h:  Likewise.
2471         * include/bits/stl_multimap.h:  Likewise.
2472         * include/bits/stl_multiset.h:  Likewise.
2473         * include/bits/stl_numeric.h:  Likewise.
2474         * include/bits/stl_queue.h:  Likewise.
2475         * include/bits/stl_set.h:  Likewise.
2476         * include/bits/stl_stack.h:  Likewise.
2477         * include/bits/stl_uninitialized.h:  Likewise.
2478         * include/bits/stl_vector.h:  Likewise.
2479         * include/ext/hash_map:  Likewise.
2480         * include/ext/hash_set:  Likewise.
2481         * include/ext/slist:  Likewise.
2482         * include/ext/stl_hashtable.h:  Likewise.
2483
2484         * src/Makefile.am (base_headers):  Update list of headers.
2485         * Makefile.in:  Regenerated.
2486         * src/Makefile.in:  Regenerated.
2487         * libio/Makefile.in:  Regenerated.
2488         * libmath/Makefile.in:  Regenerated.
2489         * libsupc++/Makefile.in:  Regenerated.
2490         * testsuite/Makefile.in:  Regenerated.
2491
2492         * docs/html/install.html:  Update contact information.
2493         * docs/html/17_intro/howto.html:  Ditto.
2494         * docs/html/18_support/howto.html:  Ditto.
2495         * docs/html/20_util/howto.html:  Ditto.
2496         * docs/html/21_strings/howto.html:  Ditto.
2497         * docs/html/22_locale/howto.html:  Ditto.
2498         * docs/html/23_containers/howto.html:  Ditto.
2499         * docs/html/24_iterators/howto.html:  Ditto.
2500         * docs/html/25_algorithms/howto.html:  Ditto.
2501         * docs/html/26_numerics/howto.html:  Ditto.
2502         * docs/html/27_io/howto.html:  Ditto.
2503         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
2504         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
2505         * docs/html/faq/index.txt:  Regenerated.
2506
2507 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
2508
2509         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2510         messages with $which_library as well as $tool_flags and
2511         ${dg-extra-tool-flags}.  Factor out annotation text into
2512         a single variable.
2513
2514 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
2515
2516         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2517         * include/c_std/bits/std_cwchar.h: Same.
2518         * testsuite/21_strings/c_strings.cc: Add.
2519
2520 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
2521
2522         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2523
2524 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
2525
2526         * tests_flags.in: Use test a = b, not test a == b which is not
2527         portable.
2528
2529 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
2530
2531         * configure.target: Remove duplicate aix entry.
2532
2533 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
2534
2535         * include/ext/stl_bvector.h: Move to...
2536         * include/bits/stl_vector.h: ...here.
2537         * include/ext/bvector: Move to...
2538         * include/backward/bvector.h: ...here.
2539         * include/bits/std_vector.h: Change stl_bvector include.
2540         * include/bits/std_queue.h: Remove bvector include.
2541         * include/ext/tree: Insert using rb_tree, move to...
2542         * include/backward/tree.h: ...here.
2543         * include/backward/hash_map.h: Include ext/hash_map.
2544         * include/backward/hash_set.h: Include ext/hash_set.
2545         * include/backward/queue.h: New file.
2546         * include/backward/stack.h: Edit.
2547         * include/backward/algo.h: Same.
2548         * include/backward/algobase.h: Same.
2549         * include/backward/alloc.h: Same.
2550         * include/backward/function.h: Same.
2551         * include/backward/iomanip.h: Same.
2552         * include/backward/istream.h: Same.
2553         * include/backward/iterator.h: Same.
2554         * include/backward/list.h: Same.
2555         * include/backward/map.h: Same.
2556         * include/backward/multimap.h: Same.
2557         * include/backward/multiset.h: Same.
2558         * include/backward/ostream.h: Same.
2559         * include/backward/pair.h: Same
2560         * include/backward/rope.h: Same.
2561         * include/backward/set.h: Same.
2562         * include/backward/stream.h: Same.
2563         * include/backward/strstream.h: Same.
2564         * include/backward/tempbuf.h: Same.
2565         * src/Makefile.am (ext_headers): Edit.
2566         * src/Makefile.in: Regenerate.
2567         * testsuite/ext/headers.cc (main): Fix.
2568         * mkcheck.in: Fix.
2569
2570 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
2571
2572         * tests_flags.in (LIBS):  Pass correct path for installed testing.
2573
2574 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
2575
2576         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2577         * tests_flags.in (CXX): Construct here.
2578         (static_fail): Don't remove compile.out. Format with spaces.
2579         (INCLUDES): Deal with xcompiling.
2580         * configure.in (xcompiling): Substitute.
2581         * testsuite/Makefile.am: Snake libjava configury.
2582         * testsuite/Makefile.in: Regenerate.
2583         * testsuite/23_containers/map_operators.cc: Tweaks.
2584         * testsuite/23_containers/set_operators.cc: Tweaks.
2585
2586 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2587
2588         Enable dejagnu testing framework.
2589         * configure.in: Generate testsuite/Makefile.
2590         * configure: Regenerate.
2591         * Makefile.am (check-install): Change rule from this...
2592         (check-script-install): ...to this.
2593         (check): Change rule from this...
2594         (check-script):...to this.
2595         * Makefile.in: Regenerate.
2596
2597 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
2598
2599         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2600         --tag CXX.
2601         (LIBTOOL): Let automake take care of its definition.
2602         * libsupc++/Makefile.in: Rebuilt.
2603
2604 2001-03-28  Richard Henderson  <rth@redhat.com>
2605
2606         IA-64 ABI Exception Handling:
2607         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2608         * configure.in: Use it.
2609         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2610         * libsupc++/Makefile.am (sources): Update files list.
2611         * libsupc++/Makefile.in: Regenerate.
2612         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2613         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2614         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2615         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2616         * libsupc++/exception_support.cc: Remove.
2617         * libsupc++/exception_support.h: Remove.
2618         * libsupc++/pure.cc: Use std::terminate.
2619         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2620         (__is_pointer): Remove.
2621         * libsupc++/unwind-cxx.h: New file.
2622         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2623
2624 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
2625
2626         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2627         CXX tag explicitly.
2628         * src/Makefile.am (CXXLINK): Likewise.
2629         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2630
2631 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
2632
2633         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2634
2635 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2636
2637         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2638           and libc
2639
2640 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
2641
2642         * include/bits/basic_file.h (get_fileno): Remove.
2643         (_M_fileno): Remove.
2644         (_M_cfile_created): Add.
2645         (basic_file::basic_file(__c_file_type*, openmode): Add.
2646         (basic_file::basic_file(int, const char*, openmode): Remove.
2647         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2648         const char*, ios_base::openmode): Don't allocate
2649         internal buffers. Turn off internal buffers.
2650         (basic_filebuf::overflow): Remove test for null buffer.
2651         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2652         * include/bits/streambuf.cc: Tweak.
2653         * include/bits/std_ostream.h: Tweak.
2654         * config/basic_file_libio.h: Same.
2655         * config/basic_file_stdio.h: Same.
2656         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2657         * testsuite/27_io/filebuf_members.cc: Tweaks.
2658         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2659
2660 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
2661
2662         * Makefile.am:  New targets, doxygen and doxygen-maint.
2663         * Makefile.in:  Regenerated.
2664         * docs/doxygen/run_doxygen:  Finally implemented.
2665         * docs/doxygen/maint.cfg.in:  New file.
2666         * docs/doxygen/user.cfg.in:  New file.
2667
2668 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
2669
2670         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
2671         * src/Makefile.am:  Replace leading spaces with tabs on continuation
2672         lines.
2673         * aclocal.m4:  Regenerated.
2674         * configure:  Ditto.
2675         * Makefile.in:  Ditto.
2676         * src/Makefile.in:  Ditto.
2677         * libio/Makefile.in:  Ditto.
2678         * libmath/Makefile.in:  Ditto.
2679         * libsupc++/Makefile.in:  Ditto.
2680
2681 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
2682
2683         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
2684         concept-checking code and current status of same.
2685         * docs/html/ext/howto.html:  Ditto.
2686         * docs/html/faq/index.html:  Ditto.
2687         * docs/html/faq/index.txt:  Regenerated.
2688
2689 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
2690
2691         * include/bits/std_bitset.h:  Include ostream and istream headers
2692         instead of iostream.
2693
2694 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
2695
2696         * include/bits/ostream.tcc: Use __builtin_alloca.
2697
2698 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
2699
2700         * src/misc-inst.cc (__sink_unused_warning): Move to...
2701         * src/locale-inst.cc (__sink_unused_warning): Move to...
2702         * src/stl-inst.cc: Here.
2703         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2704         commented it out.
2705
2706 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
2707
2708         * intclude/bits/basic_file.h: Fix typos in comments.
2709
2710 2001-03-20  Richard Henderson  <rth@redhat.com>
2711
2712         * src/gen-num-limits.cc: Instantiate for wchar_t.
2713         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2714
2715 2001-03-20  Jason Merrill  <jason@redhat.com>
2716
2717         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2718         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2719         * libsupc++/cxxabi.h: Declare it.
2720
2721 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
2722
2723         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2724         signal_func with an unspecified argument list.
2725
2726 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
2727
2728         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2729
2730 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2731
2732         * include/bits/basic_string.tcc (operator+): Fix thinko.
2733
2734 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
2735
2736         libstdc++/2020
2737         * include/bits/std_streambuf.h: Remove cached locale facets.
2738         (basic_streambuf::_M_buf_fctype): Remove.
2739         (basic_streambuf::~basic_streambuf): Remove here.
2740         (basic_streambuf::basic_streambuf): Same.
2741         (basic_streambuf::imbue): Same.
2742         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2743         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2744         (basic_filebuf::~basic_filebuf()): Remove here.
2745         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2746         (basic_filebuf::imbue): Same.
2747         * include/bits/localefwd.h (_Count_ones): Remove.
2748         (locale::_S_num_categories): Just use 6, since this doesn't
2749         actually change, ever.
2750         * include/bits/locale_facets.tcc (has_facet): Simplify.
2751         (use_facet): Same.
2752         * testsuite/27_io/filebuf.cc (test06): Add tests.
2753
2754 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
2755
2756         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2757         match HP-UX ctype.h header file.
2758
2759 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
2760
2761         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2762         duplicate definitions of __dj_ctype_*
2763
2764 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
2765
2766         * libsupc++/new: Remove pragma interface.
2767         * libsupc++/typeinfo: Same.
2768         * libsupc++/exception: Same.
2769         * libsupc++/new_handler.cc: Remove pragma implementation.
2770         (bad_alloc::~bad_alloc()): Add.
2771         * libsupc++/exception_support.cc: Same.
2772         (exception::~exception): Add.
2773         (bad_exception::~bad_exception): Add.
2774         * libsupc++/tinfo.cc: Same.
2775         (bad_cast::~bad_cast): Add.
2776         (bad_typeid::~bad_typeid): Add.
2777
2778 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
2779
2780         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
2781
2782 2001-03-12  Felix Lee  <flee@redhat.com>
2783
2784         * mkcheck.in: workaround for bash 2.01 IFS bug.
2785
2786 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2787
2788         Fixups for -fno-for-scope
2789         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2790         * src/valarray-inst.cc (__gslice_to_index): Same.
2791
2792 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
2793
2794         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2795         prior to trapping signal (UnixWare 7 workaround).
2796
2797 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
2798
2799         * include/backward/hashtable.h: Same.
2800         * include/backward/rope.h: Fix include.
2801
2802 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
2803
2804         * include/backward/vector.h: Include std_vector.h.
2805
2806         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2807         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2808         Fix typo.
2809
2810 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2811
2812         * include/ext/stl_hashtable.h: Change type of __n to size_t
2813         * include/backward/bvector.h: Include <ext/stl_bvector.h>
2814
2815 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2816
2817         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2818         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2819         Use streamsize, not int_type.
2820
2821 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2822
2823         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2824         moment.
2825
2826 2001-03-08  Andreas Schwab  <schwab@suse.de>
2827
2828         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2829         command.
2830         * aclocal.m4, configure: Regenerated.
2831
2832 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
2833
2834         * include/bits/std_iosfwd.h: Remove string forward decls here.
2835         * include/bits/stringfwd.h: Add forward decls for char_traits
2836         specializations.
2837         * config/c_io_libio.h (wstreamoff): Delete.
2838         * config/c_io_stdio.h (wstreamoff): Same.
2839         * include/bits/char_traits.h: Use streamoff not wstreamoff for
2840         char_traits<wchar_t>::off_type.
2841         Remove duplicate typedefs.
2842         * include/bits/fpos.h: Define streampos/wstreampos here.
2843         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2844         values to off_type.
2845         (test05): Same.
2846         Changeup output files.
2847         * testsuite/27_io/istream_unformatted.cc: Change output files.
2848         * testsuite/27_io/istream_seeks-1.txt: Add.
2849         * testsuite/27_io/istream_seeks-2.tst: Add.
2850         * testsuite/27_io/istream_seeks-1.tst: Add.
2851         * testsuite/27_io/istream_unformatted-2.tst: Delete.
2852         * testsuite/27_io/istream_unformatted-3.tst: Delete.
2853         * testsuite/27_io/istream_unformatted-3.txt: Delete.
2854
2855 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
2856
2857         Add Irix 5.2, 6.3 support.
2858         * config/os/irix/bits: Renamed to...
2859         * config/os/irix/irix6.5/bits: this.
2860         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2861         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2862         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2863         * config/os/irix/irix5.2/bits/ctype_noninline.h
2864         (ctype<char>::ctype): Initialize _M_table with __ctype.
2865         * configure.target: Adjust.
2866
2867 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
2868
2869         libstdc++/2181
2870         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2871         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2872         sentry.
2873         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2874         (*__pf)(__ios_type&)): Same.
2875         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2876         (*__pf)(ios_base&))): Same.
2877         * testsuite/27_io/istream_extractor_other.cc: Add tests.
2878         * testsuite/27_io/istream_manip.cc (test01): Fix.
2879
2880 2001-03-06  Nathan Myers  <ncm@cantrip.org>
2881             Benjamin Kosnik  <bkoz@redhat.com>
2882
2883         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2884         * testsuite/17_intro/header_cerrno.cc (test01): New file.
2885         * testsuite/17_intro/header_cassert.cc (test01): New file.
2886         * testsuite/17_intro/header_cstddef.cc (test01): New file.
2887         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2888         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2889
2890 2001-03-05  scott snyder  <snyder@fnal.gov>
2891
2892         libstdc++/2190
2893         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2894         from here...
2895         * include/c_std/bits/std_cstdlib.h: ... to here.
2896         * testsuite/17_intro/header_cstdlib.cc: Add test.
2897
2898 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
2899
2900         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2901
2902 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
2903
2904         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2905         definition. Replace enum with static const variables.
2906
2907         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2908         throw specification, fix typos, use <static_cast>.
2909         (ctype<char>::scan_is): remove throw specification.
2910         (ctype<char>::scan_not): likewise.
2911
2912         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2913         (ctype<char>::do_toupper(char)): use <static_cast>.
2914         (ctype<char>::do_toupper(char *, const char *)): likewise.
2915         (ctype<char>::do_tolower(char)): likewise.
2916         (ctype<char>::do_tolower(char *, const char *)): likewise.
2917
2918 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
2919
2920         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2921         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
2922         macros and "never happens" code.  Adjust to C++STYLE guidelines.
2923         * include/backward/algobase.h:  Likewise.
2924         * include/backward/alloc.h:  Likewise.
2925         * include/backward/bvector.h:  Likewise.
2926         * include/backward/deque.h:  Likewise.
2927         * include/backward/function.h:  Likewise.
2928         * include/backward/hash_map.h:  Likewise.
2929         * include/backward/hash_set.h:  Likewise.
2930         * include/backward/hashtable.h:  Likewise.
2931         * include/backward/heap.h:  Likewise.
2932         * include/backward/iterator.h:  Likewise.
2933         * include/backward/list.h:  Likewise.
2934         * include/backward/map.h:  Likewise.
2935         * include/backward/multimap.h:  Likewise.
2936         * include/backward/multiset.h:  Likewise.
2937         * include/backward/pair.h:  Likewise.
2938         * include/backward/rope.h:  Likewise.
2939         * include/backward/set.h:  Likewise.
2940         * include/backward/slist.h:  Likewise.
2941         * include/backward/stack.h:  Likewise.
2942         * include/backward/strstream:  Likewise.
2943         * include/backward/tempbuf.h:  Likewise.
2944         * include/backward/tree.h:  Likewise.
2945         * include/backward/vector.h:  Likewise.
2946         * include/bits/basic_ios.h:  Likewise.
2947         * include/bits/basic_ios.tcc:  Likewise.
2948         * include/bits/basic_string.h:  Likewise.
2949         * include/bits/c++config:  Likewise.
2950         * include/bits/concept_checks.h:  Likewise.
2951         * include/bits/fpos.h:  Likewise.
2952         * include/bits/fstream.tcc:  Likewise.
2953         * include/bits/functexcept.h:  Likewise.
2954         * include/bits/ios_base.h:  Likewise.
2955         * include/bits/istream.tcc:  Likewise.
2956         * include/bits/mask_array.h:  Likewise.
2957         * include/bits/ostream.tcc:  Likewise.
2958         * include/bits/pthread_allocimpl.h:  Likewise.
2959         * include/bits/sbuf_iter.h:  Likewise.
2960         * include/bits/slice.h:  Likewise.
2961         * include/bits/slice_array.h:  Likewise.
2962         * include/bits/sstream.tcc:  Likewise.
2963         * include/bits/std_bitset.h:  Likewise.
2964         * include/bits/std_fstream.h:  Likewise.
2965         * include/bits/std_iomanip.h:  Likewise.
2966         * include/bits/std_ios.h:  Likewise.
2967         * include/bits/std_istream.h:  Likewise.
2968         * include/bits/std_iterator.h:  Likewise.
2969         * include/bits/std_memory.h:  Likewise.
2970         * include/bits/std_ostream.h:  Likewise.
2971         * include/bits/std_sstream.h:  Likewise.
2972         * include/bits/std_streambuf.h:  Likewise.
2973         * include/bits/std_string.h:  Likewise.
2974         * include/bits/std_valarray.h:  Likewise.
2975         * include/bits/stl_algo.h:  Likewise.
2976         * include/bits/stl_algobase.h:  Likewise.
2977         * include/bits/stl_alloc.h:  Likewise.
2978         * include/bits/stl_construct.h:  Likewise.
2979         * include/bits/stl_deque.h:  Likewise.
2980         * include/bits/stl_function.h:  Likewise.
2981         * include/bits/stl_heap.h:  Likewise.
2982         * include/bits/stl_iterator.h:  Likewise.
2983         * include/bits/stl_iterator_base.h:  Likewise.
2984         * include/bits/stl_list.h:  Likewise.
2985         * include/bits/stl_map.h:  Likewise.
2986         * include/bits/stl_multimap.h:  Likewise.
2987         * include/bits/stl_multiset.h:  Likewise.
2988         * include/bits/stl_numeric.h:  Likewise.
2989         * include/bits/stl_pair.h:  Likewise.
2990         * include/bits/stl_pthread_alloc.h:  Likewise.
2991         * include/bits/stl_queue.h:  Likewise.
2992         * include/bits/stl_raw_storage_iter.h:  Likewise.
2993         * include/bits/stl_relops.h:  Likewise.
2994         * include/bits/stl_set.h:  Likewise.
2995         * include/bits/stl_stack.h:  Likewise.
2996         * include/bits/stl_tempbuf.h:  Likewise.
2997         * include/bits/stl_threads.h:  Likewise.
2998         * include/bits/stl_tree.h:  Likewise.
2999         * include/bits/stl_uninitialized.h:  Likewise.
3000         * include/bits/stl_vector.h:  Likewise.
3001         * include/bits/streambuf.tcc:  Likewise.
3002         * include/bits/type_traits.h:  Likewise.
3003         * include/bits/valarray_meta.h:  Likewise.
3004         * include/ext/bvector:  Likewise.
3005         * include/ext/hash_map:  Likewise.
3006         * include/ext/hash_set:  Likewise.
3007         * include/ext/ropeimpl.h:  Likewise.
3008         * include/ext/slist:  Likewise.
3009         * include/ext/stl_bvector.h:  Likewise.
3010         * include/ext/stl_hash_fun.h:  Likewise.
3011         * include/ext/stl_hashtable.h:  Likewise.
3012         * include/ext/stl_rope.h:  Likewise.
3013         * src/complex_io.cc:  Likewise.
3014         * src/ios.cc:  Likewise.
3015         * src/locale-inst.cc:  Likewise.
3016         * src/locale.cc:  Likewise.
3017         * src/localename.cc:  Likewise.
3018         * src/misc-inst.cc:  Likewise.
3019         * src/stdexcept.cc:  Likewise.
3020         * src/stl-inst.cc:  Likewise.
3021         * src/strstream.cc:  Likewise.
3022         * src/valarray-inst.cc:  Likewise.
3023
3024 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
3025
3026         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
3027
3028 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3029
3030         * include/bits/istream.tcc: change type of __extracted to __size_type
3031
3032 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
3033
3034         * src/wstring-inst.cc: New file.
3035         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
3036         (libinst_wstring_la_SOURCES): Remove.
3037         (libstdc___la_LIBADD): Remove libinst_wstring_la.
3038         (sources): Add wstring-inst.cc
3039         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
3040         libinst_wstring_la.
3041
3042 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3043
3044         * src/locale.cc: initialise __ret with zero
3045         * src/strstream.cc:cast gptr to int_type
3046
3047 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
3048
3049         * docs/html/faq/index.html:  Update broken links.
3050         * docs/html/faq/index.txt:  Regenerated.
3051
3052 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
3053
3054         libstdc++/2064
3055         * configure.target: Change irix* to irix6.5* in target_os table.
3056
3057 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
3058
3059         libstdc++/2103
3060         * include/bits/c++config (__GLIBCPP__): Bump number in
3061         anticipation of 2.92.
3062
3063         * include/bits/codecvt.h: Fix typo.
3064         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3065         stdio model.
3066         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3067         instantiations for stdio model.
3068
3069 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
3070
3071         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
3072           and GLIBCPP_CXXFLAGS as unused variables.
3073         * configure.host:  Likewise.
3074         * configure.target:  Likewise.
3075         * aclocal.m4:  Regenerated.
3076         * configure:  Regenerated.
3077         * Makefile.in:  Regenerated.
3078         * libio/Makefile.in:  Regenerated.
3079         * libmath/Makefile.in:  Regenerated.
3080         * libsupc++/Makefile.in:  Regenerated.
3081         * src/Makefile.in:  Regenerated.
3082
3083 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
3084
3085         libstdc++/1886
3086         * include/bits/basic_file.h: Include basic_file_model.h.
3087         * config/c_io_libio.cc: Move to...
3088         * config/basic_file_libio.cc: Here.
3089         * config/basic_file_libio.h: New file.
3090         * config/c_io_stdio.cc: Move to...
3091         * config/basic_file_stdio.cc: Here.
3092         * config/basic_file_stdio.h: New file.
3093         * config/c_io_libio.h: Tweak.
3094         * config/c_io_stdio.h: Tweak.
3095         * src/Makefile.am (build_headers): Add basic_file_model.h.
3096         (sources): Add basic_file.cc, remove c++io.cc.
3097         * src/Makefile.in: Regenerate.
3098         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3099         basic_file_model.h and basic_file.cc.
3100         * aclocal.m4: Regenerate.
3101         * configure: Regenerate.
3102         * testsuite/27_io/filebuf.cc (test05): Add regression.
3103
3104 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
3105
3106         Correct license.
3107         * config/cpu/alpha/bits/atomicity.h: Change.
3108         * config/cpu/arm/bits/atomicit3y.h
3109         * config/cpu/generic/bits/atomicity.h
3110         * config/cpu/i386/bits/atomicity.h
3111         * config/cpu/i486/bits/atomicity.h
3112         * config/cpu/ia64/bits/atomicity.h
3113         * config/cpu/powerpc/bits/atomicity.h
3114         * config/cpu/sparc/sparc32/bits/atomicity.h
3115         * config/cpu/sparc/sparc64/bits/atomicity.h
3116         * config/os/aix/bits/atomicity.h
3117         * config/os/irix/bits/atomicity.h
3118
3119 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
3120
3121         * include/bits/std_stdexcept.h (runtime_error): Make string
3122         member non-const.
3123         (logic_error): Same.
3124         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3125         (test03): Fix.
3126
3127 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
3128
3129         libstdc++/1972
3130         libstdc++/2089
3131         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3132         string object, not reference.
3133         (runtime_error::runtime_error): Same.
3134         * testsuite/19_diagnostics/stdexceptions.cc: New file.
3135
3136 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
3137
3138         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
3139           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
3140           diagnostics.  Remove WFMT_FLAGS.
3141         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
3142         * libsupc++/Makefile.am:  Likewise.
3143         * src/Makefile.am:  Likewise.
3144         * aclocal.m4:  Regenerated.
3145         * configure:  Regenerated.
3146         * Makefile.in:  Regenerated.
3147         * libio/Makefile.in:  Regenerated.
3148         * libmath/Makefile.in:  Regenerated.
3149         * libsupc++/Makefile.in:  Regenerated.
3150         * src/Makefile.in:  Regenerated.
3151
3152 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
3153
3154         Fixes libstdc++/2079
3155         * include/backward/iomanip.h:  Expose <ios> manipulators to global
3156           namespace.
3157         * include/backward/iostream.h:  Also expose std::ws.
3158
3159 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
3160
3161         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3162
3163 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
3164
3165         * include/bits/codecvt.h: Use __builtin_alloca.
3166         * include/bits/ostream.tcc: Same.
3167         * include/bits/fstream.tcc: Same.
3168
3169 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
3170
3171         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3172
3173 2001-02-23  David Edelsohn <dje@watson.ibm.com>
3174
3175         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3176
3177 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
3178
3179         c++/2052
3180         * include/backward/iostream.h:  Expose std::flush in old headers.
3181
3182 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3183
3184         * mknumeric_limits: Remove special-casing on target.  Use gcc
3185         instead of g++ to build gen-num-limits.cc
3186
3187 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
3188
3189         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3190
3191         * include/bits/codecvt.h: Use alloca instead of __extension__ for
3192         the time being.
3193         * include/bits/ostream.tcc: Same.
3194         * include/bits/std_ostream.h: Same.
3195         * include/bits/fstream.tcc: Same.
3196         * include/bits/locale_facets.tcc: Add typename.
3197         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3198
3199 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
3200
3201         * tests_flags.in:  Remove -n flag from call to echo.
3202
3203 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
3204
3205         * config/c_locale_gnu.h: Add clocale include.
3206
3207 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
3208
3209         * include/bits/stl_config.h:  Remove file.
3210         * src/Makefile.am (base_headers):  Remove from list.
3211         * configure:  Regenerate.
3212         * Makefile.in:  Ditto.
3213         * libio/Makefile.in:  Ditto.
3214         * libmath/Makefile.in:  Ditto.
3215         * libsupc++/Makefile.in:  Ditto.
3216         * src/Makefile.in:  Ditto.
3217
3218         * include/bits/c++config:  Move relevant macros to here.
3219         * include/backward/alloc.h:  Include c++config.h instead.
3220         * include/backward/function.h:  Ditto.
3221         * include/backward/heap.h:  Ditto.
3222         * include/backward/pair.h:  Ditto.
3223         * include/bits/pthread_allocimpl.h:  Ditto.
3224         * include/bits/std_functional.h:  Ditto.
3225         * include/bits/std_iterator.h:  Ditto.
3226         * include/bits/std_numeric.h:  Ditto.
3227         * include/bits/std_utility.h:  Ditto.
3228         * include/bits/stl_algobase.h:  Ditto.
3229         * include/bits/type_traits.h:  Ditto.
3230         * src/stl-inst.cc:  Ditto.
3231
3232 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3233
3234         * include/bits/basic_file.h: Add #pragma system_header
3235         * include/bits/basic_ios.h: Ditto.
3236         * include/bits/basic_string.h: Ditto.
3237         * include/bits/char_traits.h: Ditto.
3238         * include/bits/codecvt.h: Ditto.
3239         * include/bits/cpp_type_traits.h:  Ditto.
3240         * include/bits/fpos.h: Ditto.
3241         * include/bits/gslice.h: Ditto.
3242         * include/bits/gslice_array.h: Ditto.
3243         * include/bits/indirect_array.h: Ditto.
3244         * include/bits/ios_base.h: Ditto.
3245         * include/bits/limits_generic.h: Ditto.
3246         * include/bits/locale_facets.h: Ditto.
3247         * include/bits/localefwd.h: Ditto.
3248         * include/bits/mask_array.h: Ditto.
3249         * include/bits/sbuf_iter.h: Ditto.
3250         * include/bits/sequence_concepts.h: Ditto.
3251         * include/bits/slice.h: Ditto.
3252         * include/bits/slice_array.h: Ditto.
3253         * include/bits/std_algorithm.h: Likewise.
3254         * include/bits/std_bitset.h: Likewise.
3255         * include/bits/std_complex.h: Likewise.
3256         * include/bits/std_deque.h: Likewise.
3257         * include/bits/std_fstream.h: Likewise.
3258         * include/bits/std_functional.h: Likewise.
3259         * include/bits/std_iomanip.h: Likewise.
3260         * include/bits/std_ios.h: Likewise.
3261         * include/bits/std_iosfwd.h: Likewise.
3262         * include/bits/std_iostream.h: Likewise.
3263         * include/bits/std_istream.h: Likewise.
3264         * include/bits/std_iterator.h: Likewise.
3265         * include/bits/std_list.h: Likewise.
3266         * include/bits/std_locale.h: Likewise.
3267         * include/bits/std_map.h: Likewise.
3268         * include/bits/std_memory.h: Likewise.
3269         * include/bits/std_numeric.h: Likewise.
3270         * include/bits/std_ostream.h: Likewise.
3271         * include/bits/std_queue.h: Likewise.
3272         * include/bits/std_set.h: Likewise.
3273         * include/bits/std_sstream.h: Likewise.
3274         * include/bits/std_stack.h: Likewise.
3275         * include/bits/std_stdexcept.h: Likewise.
3276         * include/bits/std_streambuf.h: Likewise.
3277         * include/bits/std_string.h: Likewise.
3278         * include/bits/std_utility.h: Likewise.
3279         * include/bits/std_valarray.h: Likewise.
3280         * include/bits/std_vector.h: Likewise.
3281         * include/bits/stringfwd.h: Likewise.
3282         * include/bits/type_traits.h: Likewise.
3283         * include/bits/valarray_array.h: Likewise.
3284         * include/bits/valarray_meta.h: Likewise.
3285
3286 2001-02-19  Andreas Jaeger  <aj@suse.de>
3287
3288         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3289         Fix typo.
3290
3291 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
3292
3293         libstdc++/1734
3294         * include/bits/std_ostream.h: Replaced usage of
3295         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3296         * include/bits/char_traits.h: Removed non-standard
3297         methods that cannot be used elsewhere.
3298
3299         libstdc++/1885
3300         * include/bits/basic_ios.h: Uncommented #include of
3301         bits/basic_ios.tcc
3302
3303         libstdc++/1897
3304         * include/bits/codecvt.h: See next...
3305         * include/bits/fstream.tcc: See next...
3306         * include/bits/ostream.tcc: Add __extension__
3307         to variable-length arrays.
3308
3309         libstdc++/1967
3310         * include/bits/localefwd.h: Changed int counter type to size_t.
3311
3312         libstdc++/1968
3313         * include/bits/std_fstream.h: Added typedef for __ctype_type.
3314
3315 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
3316
3317         * testsuite/21_strings/char_traits.cc: Move to ...
3318         * testsuite/21_strings/char_traits_requirements.cc: ..here.
3319         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3320         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3321
3322 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
3323
3324         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3325         definitions.
3326
3327 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
3328
3329         * include/bits/c++config: Revert.
3330
3331 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
3332
3333         * include/bits/istream.tcc: Use ios_base::iostate in place of
3334         iostate throughout.  Insert `typename' keyword where necessary.
3335         * include/bits/ostream.tcc: Insert `typename' keyword where
3336         necessary.
3337
3338 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
3339
3340         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3341         Define so library is compliant.
3342
3343 2001-02-15  Anthony Green  <green@redhat.com>
3344
3345         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3346         compilation.
3347         * aclocal.m4: Regenerate.
3348         * configure: Regenerate.
3349
3350 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
3351
3352         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3353         Include ieeefp.h for fpclass on UnixWare{2,7}.
3354         * aclocal.m4: Regenerate.
3355         * configure: Regenerate.
3356         * mkcheck.in (size_command): Do without GNU-grep when using
3357         size from binutils.
3358
3359 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
3360
3361         Remove old ABI support from libsupc++.
3362         * libsupc++/cxxabi.h: Remove conditionally compiled code.
3363         * libsupc++/exception_support.cc: Likewise.
3364         * libsupc++/pure.cc: Likewise.
3365         * libsupc++/tinfo.cc: Likewise.
3366         * libsupc++/tinfo.h: Likewise.
3367         * libsupc++/tinfo2.cc: Likewise.
3368         * libsupc++/typeinfo: Likewise.
3369         * libsupc++/vec.cc: Likewise.
3370
3371 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
3372
3373         Add support for -fno-exceptions.
3374         * include/bits/exception_support.h: Remove.
3375         * include/bits/basic_string.h: Remove exception_support.
3376         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3377         (string::at): Same.
3378         (string::substr): Same.
3379         * include/bits/basic_string.tcc (string::reserve): Replace
3380         __LENGTHERROR with __throw_length_error.
3381         (string::_S_create): Same.
3382         (string::resize): Same.
3383         (string::_M_replace): Same.
3384         (string::replace): Same.
3385         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3386         (string::compare): Same.
3387         * include/bits/stl_vector.h: Remove exception_support.
3388         * src/Makefile.am (base_headers): Remove here.
3389         * src/Makefile.in: Regenerate.
3390
3391         * include/bits/stl_range_errors.h: Remove.
3392         * include/bits/stl_deque.h: Use __throw_range_error.
3393         * include/bits/std_deque.h: Include functexcept.h.
3394         * include/bits/std_vector.h: Same.
3395         * src/Makefile.am (base_headers): Remove here.
3396         * src/Makefile.in: Regenerate.
3397         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3398         * include/ext/bvector: Remove stl_range_errors.h
3399
3400         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3401
3402         * include/bits/functexcept.h: New file.
3403         * src/functexcept.cc: New file. Definitions for function-based
3404         exception routines.
3405         * src/Makefile.am (sources): Add functexcept.cc.
3406         * src/Makefile.in: Regenerate.
3407
3408         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3409         __EXCEPTIONS.
3410
3411         * include/bits/localefwd.h: Include functexcept.h.
3412         * include/bits/std_iosfwd.h: Same.
3413
3414         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3415         throw basic_ios::failure.
3416         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3417         Use __throw_exception_again.
3418         (filebuf::_M_filebuf_init): Same.
3419         * include/bits/streambuf.tcc (__copy_streambufs): Same.
3420         * include/bits/ostream.tcc (ostream::operator<<): Same.
3421         * include/bits/istream.tcc (istream::operator>>): Same.
3422         * include/bits/basic_string.tcc (string::_M_mutate): Same.
3423         (string::_S_construct): Same.
3424         (string::_M_clone): Same.
3425         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3426         __throw_bad_cast.
3427         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3428         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3429         __throw_exception_again.
3430         (locale::_Imp::_Imp(string, size_t): Same.
3431         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3432         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3433         (locale::locale(const char*)): Use __throw_runtime_error.
3434         (locale::classic): Use __throw_exception_again.
3435         (locale::_S_normalize_category): Use __throw_runtime_error.
3436
3437         * src/stdexcept.cc: Remove cruft.
3438
3439         * libsupc++/exception_defines.h: New file.
3440         * libsupc++/new_opnt.cc: Include exception_defines.h.
3441         * libsupc++/vec.cc: Same.
3442         (__cxa_vec_new2): Use __throw_exception_again.
3443         (__cxa_vec_new3): Same.
3444         (__cxa_vec_ctor): Same.
3445         (__cxa_vec_delete3): Same.
3446         (__cxa_vec_cctor): Same.
3447         (__cxa_vec_delete2): Same.
3448         (__cxa_vec_dtor): Same.
3449         * libsupc++/exception_support.cc: Include exception_defines.h. Only
3450         compile exception-handling bits if __EXCEPTIONS is defined.
3451         Remove old ABI support.
3452         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3453         std::__throw_bad_alloc() instead of throw bad_alloc.
3454         * libsupc++/Makefile.am: Add exception_defines.h.
3455         * libsupc++/Makefile.in: Reformat.
3456         * libsupc++/*: Format.
3457
3458 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
3459
3460         * docs/html/configopts.html:  Minor updates and typo fixes.
3461         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
3462         * docs/html/faq/index.txt:  Regenerated.
3463
3464 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
3465
3466         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3467         dejagnu/dg.exp.  Adapt to log options used to run testcases.
3468
3469 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3470
3471         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3472         dejagnu/dg.exp.
3473
3474 2001-02-13  Dirk Mueller <dmuell@gmx.net>
3475             Phil Edwards  <pme@sources.redhat.com>
3476
3477         * include/backward/function.h:  Do not use rel_ops for older
3478           headers either.
3479         * include/backward/pair.h:  Likewise.
3480
3481 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
3482
3483         * src/locale.cc: Remove bogus locale::id definitions.
3484
3485 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3486
3487         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3488         not _DEFINE_VALARRAY_OPERATOR which is not existent.
3489
3490         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3491         thinko in member initialisation.
3492
3493 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
3494
3495         * include/bits/std_valarray.h(valarray<>::shift): Avoid
3496         comparaison between signed and unsigned integer types.
3497         (valarray<>::cshift): Reformat.
3498
3499 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
3500
3501         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3502         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3503         * configure.in: Test for sigsetjmp.
3504         * configure, config.h.in: Rebuilt.
3505
3506 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
3507
3508         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3509         lengths and strides.
3510         (__gslice_to_index): Document.
3511
3512 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
3513
3514         * include/bits/char_traits.h char_traits<char>::int_type: Change
3515         to `int' to match 21.1.3.1/2.
3516
3517         * testsuite/21_strings/char_traits-int_type.C: New test.
3518
3519 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
3520
3521         * testsuite/Makefile.am: New file.
3522
3523 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
3524
3525         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3526
3527 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
3528
3529         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3530
3531 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
3532
3533         * configure.target (aix4*): Remove extra set of brackets.
3534
3535 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
3536
3537         Clean up stdexcept.
3538         * include/bits/stringfwd.h: New file.
3539         * include/bits/stl_string_fwd.h: Remove.
3540         * include/bits/localefwd.h: Remove declaration for allocator.
3541         * include/bits/std_iosfwd: Same.
3542         * include/bits/std_string.h: Include it.
3543         * include/bits/std_ios.h: Remove include.
3544         * include/bits/basic_string.h: Tweak.
3545         * libsupc++/new: Format.
3546         * src/Makefile.am (base_headers): Add stringfwd.h, remove
3547         stl_string_fwd.h
3548         * src/Makefile.in: Regenerate.
3549         * include/bits/std_stdexcept.h: Rewrite.
3550         * src/stdexcept.cc: Same.
3551
3552 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
3553
3554         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3555         install locations too.
3556         * aclocal.m4: Regenerate.
3557         * configure.in: Remove USE_LIBDIR.
3558         * configure: Regenerate.
3559         * src/Makefile.am (toolexecdir): Simplify, use
3560         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3561         * src/Makefile.in: Regenerate.
3562         * libsupc++/Makefile.am: Same.
3563         * libsupc++/Makefile.in: Regenerate.
3564
3565         * src/Makefile.am: Just remove special rules for locale-inst.cc and
3566         misc-inst.cc as no longer necessary.
3567
3568         Follow C++STYLE for naming non-static functions.
3569         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3570         __pad_char.
3571         * include/bits/streambuf.tcc: Same.
3572         * include/bits/ostream.tcc: Same.
3573         * include/bits/istream.tcc: Same.
3574         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3575         (_S_output_float): To __output_float.
3576         * include/bits/std_streambuf.h (_S_copy_streambufs): To
3577         __copy_streambufs.
3578         * include/bits/locale_facets.tcc (_S_build_float_format): To
3579         __build_float_format.
3580         (_S_format): To __output_integer.
3581         (_S_fill): To __pad.
3582         * src/locale.cc: Same.
3583         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3584         names.
3585         * include/bits/locale_facets.tcc (_S_group_digits): To
3586         __group_digits.
3587         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3588         for collate, numpunct.
3589
3590 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
3591
3592         * docs/html/configopts.html:  Fix HTML markup.
3593         * docs/html/install.html:  Bring up to date.
3594         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
3595         * docs/html/21_strings/howto.html:  More notes.
3596         * docs/html/22_locale/howto.html:  Fix HTML markup.
3597         * docs/html/27_io/howto.html:  More notes.
3598         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
3599         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
3600
3601 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
3602
3603         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3604         to match header files.
3605         (_S_output_float): Likewise.
3606         (_S_copy_streambufs): Likewise.
3607
3608 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
3609             Phil Edwards  <pme@sources.redhat.com>
3610
3611         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
3612           use reinterpret_cast, not static_cast.
3613
3614 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
3615
3616         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3617         * aclocal.m4: Regenerate.
3618         * configure: Regenerate.
3619
3620 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
3621
3622         * include/bits/locale_facets.h (class moneypunct): Fix typos.
3623         * libsupc++/pure.cc: Revert.
3624
3625 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
3626
3627         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3628         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3629         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3630         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3631         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3632         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3633         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3634         * aclocal.m4: Regenerate.
3635         * configure: Regenerate.
3636
3637 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
3638
3639         * include/bits/locale_facets.tcc: Remove `static' keyword on
3640         function definitions.
3641         * include/bits/std_streambuf.h: Likewise.
3642         * src/Makefile.am: Remove use of -fimplicit-templates.
3643         * src/Makefile.in: Regenerated.
3644         * src/locale-inst.cc: Explicitly instantiate more functions.
3645         * src/misc-inst.cc: Likewise.
3646         * src/string-inst.cc: Likewise.
3647
3648 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
3649
3650         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3651         macro. Consolidate all the bits to do with where includes might be
3652         installed.
3653         * aclocal.m4: Regenerate.
3654         * configure.in: Use it.
3655         * configure: Regenerate.
3656         * src/Makefile.am (targetincludep): Use simplified rules.
3657         (targetincludep): Rename gxx_target_include_dir.
3658         (myincludep): Rename gxx_include_dir.
3659         * src/Makefile.in: Regenerate.
3660         * libsupc++/Makefile.am: Use simplified rules.
3661         * libsupc++/Makefile.in: Regenerate.
3662
3663 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
3664
3665         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3666         * include/c_std/bits/std_cctype.h: Same.
3667         * include/c_std/bits/std_cassert.h: Same.
3668         * include/c_std/bits/std_cstdarg.h: Same.
3669         * include/c_std/bits/std_cstddef.h: Same.
3670
3671         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3672         namespace std.
3673         * include/c_std/bits/std_ctime.h: Same.
3674         * include/c_std/bits/std_clocale.h: Same.
3675         * include/c_std/bits/std_cmath.h: Same.
3676         * include/c_std/bits/std_csetjmp.h: Same.
3677         * include/c_std/bits/std_csignal.h: Same.
3678         * include/c_std/bits/std_cstring.h: Same.
3679         * include/c_std/bits/std_cstdlib.h: Same.
3680         * include/c_std/bits/std_cwchar.h: Same.
3681
3682 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
3683
3684         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
3685
3686 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
3687
3688         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3689         (string::_S_construct): Likewise.
3690
3691 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
3692
3693         * testsuite/config/default.exp: New file.
3694         * testsuite/config: New directory.
3695
3696 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
3697
3698         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3699         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3700         whenever !__GXX_MERGED_TYPEINFO_NAMES.
3701         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3702
3703 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
3704             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3705
3706         * Makefile.am (mkinstalldirs): Set.
3707         * src/Makefile.am (mkinstalldirs): Set.
3708         * libmath/Makefile.am (mkinstalldirs): Set.
3709         * libsup++/Makefile.am (mkinstalldirs): Set.
3710         * libio/Makefile.am (mkinstalldirs): Set.
3711         * */Makefile.in: Regenerate.
3712
3713 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
3714
3715         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3716         * include/bits/localefwd.h: More initialization cleanups.
3717
3718 2001-02-03  Jeffrey A Law  <law@cygnus.com>
3719
3720         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3721         correctly targets with 16bit ints.
3722         (_S_ios_openmode_end): Similarly.
3723         (_S_ios_iostate_end): Similarly.
3724         (_S_ios_Seekdir_end): Similarly.
3725
3726 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
3727
3728         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
3729
3730 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
3731
3732         * configure.in (toplevel_srcdir, auxdir): Set.
3733         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3734         * aclocal.m4, configure, Makefile.in: Rebuilt.
3735         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3736         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3737         * libsupc++-v3/Makefile.in: Rebuilt.
3738         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3739         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3740
3741 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
3742
3743         * config/c_locale_generic.cc: Remove langinfo include.
3744
3745 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
3746
3747         Preliminary named locales.
3748         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3749         * aclocal.m4: Regenerate.
3750         * configure.in: Use it.
3751         * configure: Regerate.
3752         * src/Makefile.am (sources): Add c++locale.cc.
3753         (build_headers): Add c++locale.h.
3754         * src/Makefile.in: Regenerate.
3755         * config/c_locale_gnu.h: New file.
3756         * config/c_locale_gnu.cc: New file. Non-inline member functions
3757         for named locales, gnu-specific.
3758         * config/c_locale_generic.h: New file.
3759         * config/c_locale_generic.cc: New file. Non-inline member
3760         functions for named locales, generic version.
3761         * docs/html/configopts.html: Add documentation on new options.
3762
3763         * include/bits/locale_facets.h (class _Messages): Remove.
3764         (class _Moneypunct): Remove.
3765         * src/locale-inst.cc: Remove.
3766
3767         * include/bits/locale_facets.h (class _Collate): Remove.
3768         * src/locale-inst.cc (std): Remove.
3769         * src/locale.cc: And here.
3770
3771         * include/bits/localefwd.h (locale::_M_coalesce): New
3772         function. Correctly put together multi-name locales.
3773         (_Impl(const _Impl&, category, size_t)): Remove.
3774
3775         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3776         member functions.
3777         (_M_normalize_category_names): Remove.
3778         (_M_replace_categories): Fix.
3779
3780         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3781         (locale::_Impl::_M_construct_ctype): Remove.
3782         (locale::_Impl::_M_construct_monetary): Remove.
3783         (locale::_Impl::_M_construct_numeric): Remove.
3784         (locale::_Impl::_M_construct_time): Remove.
3785         (locale::_Impl::_M_construct_messages): Remove.
3786
3787         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3788         (_Use_facet_failure_handle): Remove.
3789         * src/locale.cc: Remove definitions.
3790         * src/locale-inst.cc: And here.
3791
3792         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3793
3794         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3795         create and error-check underlying locale object.
3796         (locale::facet::_S_destroy_c_locale): Add, take care of properly
3797         tearing down underlying locale object.
3798         * include/bits/localefwd.h (locale::facet): Declare.
3799         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3800         correctness, as glibc apparently has incorrect info in it. Test
3801         with it when it works again.....
3802
3803         * include/bits/localefwd.h (locale::_Impl::__vec_string):
3804         Remove. Number of categories is fixed at six, so just simplify and
3805         make this an array of strings.
3806         (locale::_Impl::_M_has_name): Remove.
3807         (locale::_Impl::_M_name): Remove.
3808         (locale::_Impl::_M_category_names): Turns into...
3809         (locale::_Impl::_M_names): ...this.
3810         (locale::_Impl::_M_has_same_name()): New function.
3811         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3812         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3813         signature.
3814         * src/locale.cc (locale::name()): Construct mangled name
3815         accurately reflecting combined locale categories.
3816
3817         * src/locale.cc (locale::classic()): Don't initialize here.
3818         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3819         __refs, bool __has_name, string __str): Do it here.
3820
3821         * include/bits/localefwd.h: _S_categories_num to
3822         _S_num_categories. _S_facets_num to _S_num_facets.
3823         (locale::id::id()): Explicitly set _M_index to zero.
3824         * src/locale.cc: Same.
3825
3826         * src/locale.cc: (locale::locale(const char*)): Construct named
3827         locales uniquely.
3828
3829         * src/locale.cc: Remove numpunct_byname ctors.
3830         * testsuite/22_locale/numpunct_byname.cc: New file.
3831         * testsuite/22_locale/numpunct.cc: New file.
3832
3833         * include/bits/localefwd.h (class locale): Change data members to
3834         protected, from private.
3835         (_Impl::_M_get_c_locale): Add member function.
3836         (locale::facet::_M_get_global_impl()): Add member function.
3837         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3838         a __c_locale pointer.
3839         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3840         named locales.
3841         * testsuite/22_locale/members.cc: New file, test name and combine.
3842
3843         * include/bits/locale_facets.h (class numpunct): Remove class
3844         _Punct and _Numpunct. Rewrite class numpunct to be correct for
3845         named locales.
3846         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3847         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3848         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3849         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3850         * testsuite/22_locale/numpunct_char_members.cc: New file.
3851
3852 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
3853
3854         * testsuite/README: Add more comment.
3855         * testsuite/lib/libstdc++.exp: Tweak comment.
3856
3857 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
3858
3859         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3860
3861 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
3862
3863         * testsuite/21_strings/inserters_extractors.cc: Remove
3864         explicit reference to 'testsuite/'.
3865
3866 2001-01-25  Richard Henderson  <rth@redhat.com>
3867
3868         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3869         bits. Fixes Tru64 build issues.
3870
3871 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
3872
3873         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3874         (use ${MAKE-make}, not ${MAKE:-make}).
3875         * aclocal.m4, configure: Regenerate.
3876
3877 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
3878
3879         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3880         checkin.
3881
3882         * src/Makefile.am (sources): Add globals.cc.
3883         * src/Makefile.in: Regenerated.
3884         * src/globals.cc: New file.
3885         * src/ios.cc (cin): Don't define here, just declare extern.
3886         (cout): Likewise.
3887         (cerr): Likewise.
3888         (clog): Likewise.
3889         (wcin): Likewise.
3890         (wcout): Likewise.
3891         (wcerr): Likewise.
3892         (wclog): Likewise.
3893
3894 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
3895
3896         * include/bits/std_iterator.h:  Do not include stl_relops.h.
3897         * include/bits/std_numeric.h:  Ditto.
3898         * include/bits/stl_algobase.h:  Ditto.
3899         * include/bits/stl_relops.h:  Add comment warning about problems.
3900
3901 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
3902
3903         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3904         in testcases.  Prepare for the DejaGnu based framework.
3905         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
3906         directory -- it is now mkcheck working directory.
3907         * tests_flags.in: Remove reference to $(top_srcdir).  Use
3908         ${SRC_DIR} instead.
3909         * Makefile.am (check, check-install): Change mkcheck invocation
3910         logic.
3911         * Makefile.in: Regenerate.
3912
3913 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
3914
3915         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3916         (__always_swap): Likewise.
3917
3918 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
3919
3920         * libsupc++/exception_support.cc (__terminate_func): Remove
3921         declaration.
3922         (__terminate_func_ptr): New typedef.
3923         (__terminate, __terminate_set_func): New extern function
3924         prototypes.
3925         (std::terminate): Use __terminate function.
3926         (std::set_terminate): Use __terminate_set_func function.
3927
3928 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
3929
3930         * configure.target: Just use os_include_dir always.
3931         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3932         Link atomicity files and ctype files here.
3933         * configure: Regenerate.
3934         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3935         (GLIBCPP_ENABLE_ATOMICITY): Remove.
3936         * aclocal.m4: Regenerate.
3937
3938 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
3939
3940         * configure.in: Place definition of MULTISUBDIR in
3941         libsupc++/Makefile as is done for src/Makefile.
3942         * configure: Regenerate.
3943
3944 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
3945
3946         * acinclude.m4:  Cosmetic changes only.
3947         * aclocal.m4:  Regenerated.
3948         * configure:  Regenerated.
3949         * configure.target:  Update documented list of changed variables.
3950         * docs/html/install.html:  Fix typo.
3951         * docs/html/20_util/howto.html:  More notes on auto_ptr.
3952         * docs/html/27_io/howto.html:  More notes on streabufs.
3953         * docs/html/faq/index.html:  Add rel_ops problem and mention the
3954           DEC as(1) .subsection difficulty.
3955         * docs/html/faq/index.txt:  Regenerated.
3956
3957 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
3958
3959         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3960         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3961         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3962         its already provided in config.target.
3963         * aclocal.m4: Regenerated.
3964         * configure: Likewise.
3965         * configure.target: Set ctype_include_dir for lots of systems.
3966         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3967         * libsupc++/Makefile.in: Regenerated.
3968
3969 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
3970
3971         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
3972         keyword capability.
3973
3974         * testsuite/README: Add comment.
3975
3976 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
3977
3978         * docs/html/configopts.html:  Update for current status.  Fix HTML.
3979         * docs/html/install.html:  Update for current status.
3980
3981 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3982
3983         * testsuite/libstdc++.tests/tests.exp: New file.
3984         * testsuite/lib/libstdc++.exp: Itou.
3985         * testsuite/README: Itou.
3986
3987 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
3988
3989         * tests_flags.in: Just output the bare minimum to run tests.
3990         Let's the caller do its own arrangement.
3991
3992         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
3993         computations.
3994
3995 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
3996
3997         * testsuite/17_intro: Prepare testcases for new style DejaGnu
3998         framework.
3999
4000 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
4001
4002         * testsuite/libstdc++.tests, testsuite/lib: New directories.
4003
4004 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
4005
4006         * mkcheck.in: Construct file names that match $objdir structure.
4007         * testsuite/27_io/filebuf_members-1.txt: New file.
4008         * testsuite/27_io/ifstream_members-1.txt: New file.
4009         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
4010
4011         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
4012         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
4013
4014 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4015
4016         * testsuite/27_io/istream_sentry.cc (test02): Fix.
4017
4018 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
4019
4020         libstdc++/1605
4021         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
4022         * src/ios.cc (ios_base::failure): Make definitions match.
4023         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
4024         (class bad_cast): Same.
4025         * libsupc++/exception (class exception): Add throw specs.
4026         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
4027         (set_unexpected): Same.
4028         (uncaught_exception): Same.
4029         (what): Same.
4030
4031         * docs/html/17_intro/C++STYLE (classname): Fix.
4032
4033 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
4034
4035         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
4036         Use it do explicitly instantiate predicate<T> and value<T> for
4037         all the builtin Ts.
4038
4039 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
4040
4041         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4042         uninitialized thinko in last change.
4043
4044 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
4045
4046         * libsupc++/exception_support.cc (__cp_pop_exception): Change
4047         prototype.
4048
4049 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4050
4051         * docs/html/17_intro/C++STYLE (classname): Add more existing
4052         and stylish patterns.
4053
4054         libstdc++/944
4055         * include/bits/istream.tcc (istream::sentry::sentry()): Set
4056         failbit if the state of the stream is not good.
4057         * testsuite/27_io/istream_sentry.cc (test02): Add test.
4058         * testsuite/27_io/istream_manip.cc (test01): Modify.
4059
4060         libstdc++/1019
4061         reported by Paolo Carlini <pcarlini@unitus.it>
4062         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4063         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4064
4065         libstdc++/1057
4066         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4067         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4068         (xsgetn): Same. Simplify.
4069         * testsuite/27_io/streambuf.cc (test04): Add testcases.
4070
4071         reported by Larry Evans <jcampbell3@prodigy.net>
4072         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4073         equality with eof on returned value from overflow.
4074
4075 2001-01-14  Andreas Jaeger  <aj@suse.de>
4076
4077         * libio/libio.h: Add test for glibc 2.0.
4078
4079 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
4080
4081         * config/os/djgpp/bits/*: Fix dates.
4082
4083         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4084         _CharT* __end, _CharT __c): Remove.
4085         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4086         * include/bits/char_traits.h: Tweak.
4087
4088 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
4089
4090         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4091         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4092         bash bug.
4093         * aclocal.m4: regenerated.
4094         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4095         * configure: regenerated.
4096         * config/os/djgpp, config/os/djgpp/bits: new directories.
4097         * config/os/djgpp/bits/ctype_base.h,
4098         config/os/djgpp/bits/ctype_inline.h,
4099         config/os/djgpp/bits/ctype_noninline.h,
4100         config/os/djgpp/bits/os_defines.h: new files.
4101
4102 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
4103
4104         * include/c_std/bits/std_cstdio.h: Undef printf.
4105
4106 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
4107
4108         * src/ios.cc: Fix typo: change cout->wcout.
4109
4110         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4111         * src/Makefile.in: Regenerate.
4112
4113 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4114
4115          * include/bits/std_complex.h: Fix a typo.
4116
4117 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
4118                              <kainz@ilm.com>
4119
4120         Fixes for libstdc++/1576
4121         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4122         file, move contents into....
4123         * src/ios.cc: ...Here. Put defines for iostreams objects and
4124         initialization routines into one file to simplify DSO interaction.
4125         * include/bits/std_iostream.h: Touch.
4126         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4127         * src/Makefile.am (sources): Remove stdstreams.cc.
4128         * src/Makefile.in: Regenerate.
4129
4130 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4131
4132         * tests_flags.in (check_directory): Fix typo.
4133
4134 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4135
4136          * include/bits/std_complex.h: Fix a typo.
4137
4138 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
4139
4140         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4141         code path:) Remove magic constants and restructure to handle
4142         ctype.h bit mask layout changes more gracefully.  (Make fast
4143         code path:) Use __maskrune (), if available.
4144         (is): Remove special case for digit and xdigit masks.
4145
4146 2001-01-09  Robert Lipe <robertlipe@usa.net>
4147
4148         * include/c_std/bits/std_ctime.h: Undefine difftime.
4149
4150 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
4151
4152         * src/gen-num-limits.cc (signal_adapter): New template function.
4153         (signal_handler): Use it, instead of signal.
4154         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
4155         require both tests to trap to set trap_flag.
4156
4157 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
4158
4159         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4160         initialize mbstate_t member, name offset data members *off, not pos.
4161         * include/bits/fstream.tcc (filebuf::filebuf): Same.
4162
4163 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
4164
4165         reported by Chris G. Demetriou <cgd@sibyte.com>
4166         * configure.in: Change -linux-* to -linux*.
4167         * configure: Regenerate.
4168
4169 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
4170
4171         Fix 27_io/filebuf_members.cc
4172         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4173         const string& __name, category __cat, size_t __refs): Set
4174         _M_has_name with _M_name.
4175         * include/bits/localefwd.h (locale::operator!=): Protect member
4176         function call with this->.
4177         * src/locale.cc (locale::operator==): Make fast checks first.
4178         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4179
4180         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4181         to ios_base::Init.
4182         * src/ios.cc (ios_base::Init::Init): Initialize here.
4183         (ios_base::sync_with_stdio): Set here.
4184
4185 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
4186
4187         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4188         systems that support it, call dup() before fdopen().
4189
4190 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
4191
4192         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4193         * testsuite/17_intro/header_cwctype.cc (main): New file.
4194
4195         * src/Makefile.am (base_headers): Change.
4196         * include/bits/std_string.h: And here.
4197         * include/bits/string.tcc: Tweaks, move to...
4198         * include/bits/basic_string.tcc: ...Here.
4199         * src/string-inst.cc: Simplify, just instantiate the whole class,
4200         not member-by-member.
4201
4202 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
4203
4204         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4205         * aclocal.m4: Regenerate.
4206         * configure: Regenerate.
4207
4208         * include/bits/c++config (__GLIBCPP__): Bump version number.
4209
4210         * ChangeLog: Start new log for year 2001
4211         * ChangeLog-2000: New file.
4212
4213         * docs/html/configopts.html: Make sure default values are current,
4214         add commentary.
4215
4216 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
4217
4218         * include/c_std/bits/std_cwchar.h: Same.
4219         * testsuite/17_intro/header_cwchar.cc: Same.
4220         * include/c_std/bits/std_ctime.h: Same.
4221         * testsuite/17_intro/header_ctime.cc: Same.
4222         * include/c_std/bits/std_cstdlib.h: Same.
4223         Clean up undefs, make consistent with cwchar and cmath, etc.
4224         * testsuite/17_intro/header_cstdlib.cc: Same.
4225         * include/c_std/bits/std_cstdio.h: Same here.
4226         * testsuite/17_intro/header_cstring.cc: Same.
4227         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4228         * testsuite/17_intro/header_cstring.cc: New file. Check for
4229         size_t in namespace std.
4230
4231         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4232         * acconfig.h (HAVE_MBSTATE_T): Add.
4233         * config.h.in: Regenerate.
4234         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4235         mbstate_t.
4236         * aclocal.m4: Regenerate.
4237         * configure: Regenerate.
4238         * testsuite/17_intro/headers_c++.cc: New file.
4239         * testsuite/17_intro/headers_c.cc: Small changes.
4240
4241 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
4242
4243         * tests_flags.in: Fix typo in usage.
4244
4245         * tests_flags.in: Set target specific LIBS for cygwin.