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