OSDN Git Service

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