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