OSDN Git Service

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