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