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