OSDN Git Service

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