OSDN Git Service

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