poly_int: vect_permute_load/store_chain
[official-gcc.git] / libstdc++-v3 / ChangeLog-2000
blobd81a03d9f51ef6b1685a196221e861f5e8b66898
1 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
3         * include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.
5 2000-12-23  Benjamin Kosnik  <bkoz@redhat.com>
7         * src/Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.
8         (strstream.cc): Add special rule for deprecated files.
9         * libsupc++/Makefile.am (INCLUDES): Sync.
10         * acinclude.m4 (GLIBCPP_EXPORT_INCLUDES): And here.
12         Reported by Fred Fish  <fnf@ninemoons.com>
13         * include/backward/iomanip.h: Remove backward from include
14         * include/backward/strstream.h: Same.
15         * include/backward/stream.h: Same.
16         * include/backward/ostream.h: Same.
17         * include/backward/istream.h: Same.
18         * src/strstream.cc: And here.
20         Reported by  Brad Garcia  <bgarcia@laurelnetworks.com>
21         * src/string-inst.cc (_S_find): Use generic template.
22         * include/bits/string.tcc (_S_find): Remove specializations
24 2000-12-22  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
26         Attempt to make locale visible in gdb.
27         * include/bits/std_locale.h: Remove codecvt.h include.
28         * include/bits/locale_facets.h: Add here, after ctype decls.
29         * include/bits/codecvt.h: Remove std namespace, as assumed to be
30         in std now.
32         * include/bits/locale_facets.h: Consistently move generic static
33         member definitions directly after generic facet declarations.
34         * include/bits/locale_facets.tcc: From here.
36         * src/locale.cc: Organize locale::id static definitions for
37         required facets.
38         * src/codecvt.cc (codecvt<char...>): Remove locale::id definition.
39         (codecvt<wchar_t...>): Same.
40         * src/localename: And here.
42         * include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
43         Same for _M_halfcount.
45 2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
47         * mknumeric_limits: Output to temporary files, and rename them at
48         the end.
50 2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>
52         * configure.in: Change GLIBCPP_ENABLE_SHADOW to
53         GLIBCPP_ENABLE_CHEADERS.
54         * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
55         ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
56         * aclocal.m4: Regenerate.
57         * configure: Regenerate.
58         * include/c: Move to ...
59         * include/c_std: ...here.
60         * include/c_std: Move to ...
61         * include/c_shadow: ...here.
62         * include/c: Repopulate, with simple headers.
63         * docs/html/configopts.html: Adjust docs.
65 2000-12-21  Joseph S. Myers  <jsm28@cam.ac.uk>
67         * acinclude.m4, configure.in, mkcheck.in,
68         testsuite/21_strings/ctor_copy_dtor.cc,
69         testsuite/21_strings/inserters_extractors.cc,
70         testsuite/23_containers/map_operators.cc,
71         testsuite/23_containers/vector_element_access.cc,
72         testsuite/25_algorithms/lower_bound.cc,
73         testsuite/27_io/ifstream_members.cc,
74         testsuite/27_io/istream_extractor_arith.cc,
75         testsuite/27_io/istream_unformatted.cc,
76         testsuite/27_io/ofstream_members.cc,
77         testsuite/27_io/ostream_inserter_char.cc,
78         testsuite/27_io/ostream_inserter_other.cc,
79         testsuite/27_io/ostream_manip.cc, testsuite/27_io/streambuf.cc:
80         Change sourceware.cygnus.com and sources.redhat.com URLs for
81         libstdc++ web pages and list archives to point to gcc.gnu.org
82         * aclocal.m4, configure: Regenerate.
84 2000-12-21  Gabriel Dos Reis  <gdr@codesourcery.com>
86         * src/Makefile.am (sources): Remove complex.cc, complexf.cc and
87         complexl.cc from list.
88         * src/Makefile.in: Regenerate.
89         * src/complex.cc: Remove.
90         * src/complexf.cc: Likewise.
91         * src/complexl.cc: Likewise.
93         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove csqrtl.c
94         (EXTRA_DIST): Remove csqrt.c and csqrtf.c.
95         * libmath/Makefile.in: Regenerate.
96         * libmath/complex-stub.h: Remove.
97         * libmath/csqrt.c: Likewise.
98         * libmath/sqrtf.c: Likewise.
99         * libmath/sqrtl.c: Likewise.
100         * libmath/mathconf.h: Remove <complex.h> and "complex-stub.h"
101         #inclusion.
103         * include/bits/std_complex.h (sqrt<>): Define primary template.
104         (complex<>): Remove sqrt friend declarations.
106         * configure.in: Initialize with src/ios.cc.
107         * configure: Regenerate.
108         * acinclude.m4: Remove check for csqrt* and <complex.h>
109         * aclocal.m4: Regenerate.
110         * config.h.in: Regenerate.
111         * Makefile.in: Regenerate.
113 2000-12-20  Phil Edwards  <pme@sources.redhat.com>
115         * acinclude.m4 (SECTION_FLAGS, OPT_LDFLAGS):  Fix minor thinko.
116         * aclocal.m4:  Regenerate.
117         * configure:  Ditto.
118         * Makefile.in:  Ditto.
119         * libio/Makefile.in:  Ditto.
120         * libmath/Makefile.in:  Ditto.
121         * libsupc++/Makefile.in:  Ditto.
122         * src/Makefile.in:  Ditto.
124         * include/bits/istream.tcc:  Fix clause reference in comment.
126 2000-12-20  Benjamin Kosnik  <bkoz@fillmore.constant.com>
128         * testsuite/17_intro/headers_c.cc (main): New file.
130         * acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
131         passed.
132         (OPT_LDFLAGS): And here.
133         * aclocal.m4: Regenerate.
134         * configure: Regenerate.
136 2000-12-19  Curtis Janssen  <cljanss@ca.sandia.gov>
138         * src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
139         * testsuite/27_io/ios_base_storage.cc (test01): New file.
141 2000-12-19  Benjamin Kosnik  <bkoz@fillmore.constant.com>
143         * configure.in: Don't turn on long long by default.
144         (gxx_target_include_dir): Adjuse comment.
145         * configure: Regenerate.
146         * include/c/bits/std_cstdio.h: Remove c++config.h include.
147         * src/locale.cc: Formatting tweaks.
148         * testsuite/22_locale/ctype.cc (char<unsigned char>): Provide
149         member functions.
151 2000-12-19  Loren J. Rittle  <ljrittle@acm.org>
153         * testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
155 2000-12-19  Mark Kettenis  <kettenis@gnu.org>
157         * configure.target: Support the Hurd.
159 2000-12-19  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
161         * config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
162         * config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
163         * config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
164         * config/os/newlib/bits/ctype_inline.h (is): Same.
165         * config/os/irix/bits/ctype_inline.h (is): Same.
166         * config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
167         * config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
168         * config/os/aix/bits/ctype_inline.h (is): Same.
169         * config/os/gnu-linux/bits/ctype_inline.h (is): Revert.
170         * config/os/generic/bits/ctype_inline.h (is): Non-table based
171         implementation.
173         * testsuite/22_locale/ctype_char_members.cc (test01): Use binary
174         operator correctly.
175         (test01): Check 'A' for alnum, upper, alpha.
177 2000-12-19  Gabriel Dos Reis  <gdr@codesourcery.com>
179         * include/bits/std_complex.h (complex<float>::operator-=): Fix
180         thinko.
182 2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>
184         * configure.in: Set os_include_dir for cross_compiles.
185         * configure: Regenerate.
186         * configure.target (l_glibcpp_cxxflags): Don't try to be clever
187         when assigning ATOMICITYH. Only special case the special cases...
189 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
191         * docs/html/17_intro/COPYING: Update to current
192         ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
193         to 19yy as example year in copyright notice).
195 2000-12-15  Benjamin Kosnik  <bkoz@redhat.com>
197         * configure.in (gxx_target_include_dir): Install target-dependent
198         include files in a target-dependent place.
199         * configure: Regenerate.
200         * src/Makefile.am: Add in support here.
201         * src/Makefile.in: Regenerate.
203 2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
205         * src/Makefile.am (myinstallheaders): Install backwards headers in
206         prefix, not prefix/backward.
207         * src/Makefile.in: Regenerate.
209 2000-12-14  Benjamin Kosnik  <bkoz@haight.redhat.com>
211         * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes
212         touching copysignf, atan2f, expf.
213         (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Add it back here.
214         * aclocal.m4: Regenerate.
215         * configure: Regenerate.
217 2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
219         * configure.in (CXX): Exit out if mknumeric_limits fails.
220         * mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
221         path. Consistency with tests_flags.in.
223 2000-12-14  Benjamin Kosnik  <bkoz@haight.redhat.com>
225         * include/c/bits/*.h: Remove include_next, replace with include,
226         as include_next does not work host-x-host, and include_next not
227         necessary.
229 2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>
231         * include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
232         base class signature.
233         * config/os/*/bits/ctype_inline.h (is): Same.
235 2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>
237         * config/os/generic/bits/ctype_base.h (ctype_base): Consistency
238         with linux.
239         * config/os/generic/bits/ctype_inline.h (is): Same.
240         * config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
241         * config/os/solaris/solaris2.5/bits/ctype_base.h: Same.
242         * config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
243         * config/os/solaris/solaris2.6/bits/ctype_base.h: Same.
244         * config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
245         * config/os/solaris/solaris2.7/bits/ctype_base.h: Same.
246         * config/os/irix/bits/ctype_inline.h (is): Same.
247         * config/os/irix/bits/ctype_base.h (ctype_base): Same.
248         * config/os/aix/bits/ctype_inline.h (is): Same.
249         * config/os/aix/bits/ctype_base.h (ctype_base): Same.
250         * config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
251         * config/os/bsd/netbsd/bits/ctype_base.h (ctype_base): Same.
252         * config/os/bsd/freebsd/bits/ctype_base.h (ctype_base): Same.
253         * config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
254         * config/os/newlib/bits/ctype_inline.h (is): Same.
255         * config/os/newlib/bits/ctype_base.h (ctype_base): Same.
257         * testsuite/22_locale/ctype_char_members.cc (test01): Add tests, fix.
258         * testsuite/22_locale/ctype.cc (test01): Add tests for
259         ctype_base::mask bitmask features.
260         * src/locale.cc: Define const static data for ctype_base.
261         * config/os/gnu-linux/bits/ctype_base.h (ctype_base): Make
262         ctype_base::mask type an integer type, not an enum.
263         * config/os/gnu-linux/bits/ctype_inline.h (is): Implement correctly.
264         * include/bits/locale_facets.h: Tweaks.
266         * include/bits/ios_base.h: Formatting tweaks.
268         * docs/html/17_intro/C++STYLE: Add.
270 2000-12-12  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
272         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Don't link ctype
273         files here...
274         * configure.in: Rather, do it once for all targets here. Clean up
275         canadian cross and cross compile targets for linux-targeted
276         crosses.
277         * configure: Regenerate.
278         * aclocal.m4: Regnerate.
279         * acconfig.h: Add more defines.
280         * config.h.in: Regenerate.
282 2000-12-12  Angela Marie Thomas <angela@cygnus.com>
284         * configure.in: Fix case for host-x-linux
285         * configure: Regenerate.
287 2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
289         * src/Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include
290         2000-11-12 hunk.
291         * src/Makefile.in: Rebuilt.
293 2000-12-09  Jason Merrill  <jason@redhat.com>
295         * testsuite/20_util/auto_ptr.cc (test07): Remove test that tries
296         to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
297         isn't supposed to work anymore.
299 2000-12-09  Phil Edwards  <pme@sources.redhat.com>
301         Move the HTML-containing subdirs from 'docs' to 'docs/html'.
302         * README:  Update the locations of instructions.
303         * docs/doxygen/run_doxygen:  New file, stub.
305         * docs/Makefile:  Moved...
306         * docs/configopts.html:  Likewise.
307         * docs/documentation.html:  Likewise.
308         * docs/install.html:  Likewise.
309         * docs/lib3styles.css:  Likewise.
310         * docs/17_intro/BADNAMES:  Likewise.
311         * docs/17_intro/BUGS:  Likewise.
312         * docs/17_intro/C++STYLE:  Likewise.
313         * docs/17_intro/CHECKLIST:  Likewise.
314         * docs/17_intro/COPYING:  Likewise.
315         * docs/17_intro/DESIGN:  Likewise.
316         * docs/17_intro/HEADER_POLICY:  Likewise.
317         * docs/17_intro/PROBLEMS:  Likewise.
318         * docs/17_intro/RELEASE-NOTES:  Likewise.
319         * docs/17_intro/TODO:  Likewise.
320         * docs/17_intro/contribute.html:  Likewise.
321         * docs/17_intro/headers_cc.txt:  Likewise.
322         * docs/17_intro/howto.html:  Likewise.
323         * docs/17_intro/libstdc++-assign.txt:  Likewise.
324         * docs/17_intro/organization:  Likewise.
325         * docs/17_intro/porting-howto.html:  Likewise.
326         * docs/18_support/howto.html:  Likewise.
327         * docs/19_diagnostics/howto.html:  Likewise.
328         * docs/20_util/howto.html:  Likewise.
329         * docs/21_strings/gotw29a.txt:  Likewise.
330         * docs/21_strings/howto.html:  Likewise.
331         * docs/21_strings/stringtok_h.txt:  Likewise.
332         * docs/21_strings/stringtok_std_h.txt:  Likewise.
333         * docs/22_locale/codecvt.html:  Likewise.
334         * docs/22_locale/ctype.html:  Likewise.
335         * docs/22_locale/howto.html:  Likewise.
336         * docs/22_locale/locale.html:  Likewise.
337         * docs/23_containers/howto.html:  Likewise.
338         * docs/23_containers/wrappers_h.txt:  Likewise.
339         * docs/24_iterators/howto.html:  Likewise.
340         * docs/25_algorithms/howto.html:  Likewise.
341         * docs/26_numerics/howto.html:  Likewise.
342         * docs/27_io/howto.html:  Likewise.
343         * docs/27_io/iostreams_hierarchy.pdf:  Likewise.
344         * docs/ext/howto.html:  Likewise.
345         * docs/faq/index.html:  Likewise.
346         * docs/faq/index.txt:  Likewise.
347         * docs/html/Makefile:  ...to here.
348         * docs/html/configopts.html:  Likewise.
349         * docs/html/documentation.html:  Likewise.
350         * docs/html/install.html:  Likewise.
351         * docs/html/lib3styles.css:  Likewise.
352         * docs/html/17_intro/BADNAMES:  Likewise.
353         * docs/html/17_intro/BUGS:  Likewise.
354         * docs/html/17_intro/C++STYLE:  Likewise.
355         * docs/html/17_intro/CHECKLIST:  Likewise.
356         * docs/html/17_intro/COPYING:  Likewise.
357         * docs/html/17_intro/DESIGN:  Likewise.
358         * docs/html/17_intro/HEADER_POLICY:  Likewise.
359         * docs/html/17_intro/PROBLEMS:  Likewise.
360         * docs/html/17_intro/RELEASE-NOTES:  Likewise.
361         * docs/html/17_intro/TODO:  Likewise.
362         * docs/html/17_intro/contribute.html:  Likewise.
363         * docs/html/17_intro/headers_cc.txt:  Likewise.
364         * docs/html/17_intro/howto.html:  Likewise.
365         * docs/html/17_intro/libstdc++-assign.txt:  Likewise.
366         * docs/html/17_intro/organization:  Likewise.
367         * docs/html/17_intro/porting-howto.html:  Likewise.
368         * docs/html/18_support/howto.html:  Likewise.
369         * docs/html/19_diagnostics/howto.html:  Likewise.
370         * docs/html/20_util/howto.html:  Likewise.
371         * docs/html/21_strings/gotw29a.txt:  Likewise.
372         * docs/html/21_strings/howto.html:  Likewise.
373         * docs/html/21_strings/stringtok_h.txt:  Likewise.
374         * docs/html/21_strings/stringtok_std_h.txt:  Likewise.
375         * docs/html/22_locale/codecvt.html:  Likewise.
376         * docs/html/22_locale/ctype.html:  Likewise.
377         * docs/html/22_locale/howto.html:  Likewise.
378         * docs/html/22_locale/locale.html:  Likewise.
379         * docs/html/23_containers/howto.html:  Likewise.
380         * docs/html/23_containers/wrappers_h.txt:  Likewise.
381         * docs/html/24_iterators/howto.html:  Likewise.
382         * docs/html/25_algorithms/howto.html:  Likewise.
383         * docs/html/26_numerics/howto.html:  Likewise.
384         * docs/html/27_io/howto.html:  Likewise.
385         * docs/html/27_io/iostreams_hierarchy.pdf:  Likewise.
386         * docs/html/ext/howto.html:  Likewise.
387         * docs/html/faq/index.html:  Likewise.
388         * docs/html/faq/index.txt:  Likewise.
390 2000-12-08  Phil Edwards  <pme@sources.redhat.com>
392         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO):  New conditional,
393           GLIBCPP_BUILD_LIBIO, true iff building libio.
394         * libio/Makefile.am:  Use; set noinst_LTLIBRARIES empty if false.
395         * aclocal.m4:  Regenerated.
396         * config.h.in:  Regenerated.
397         * configure:  Regenerated.
398         * libio/Makefile.in:  Regenerated.
399         * libmath/Makefile.in:  Regenerated.
401 2000-12-08  Gabriel Dos Reis  <gdr@codesourcery.com>
403         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl,
404         cexpl, clog10l, csinhl, ctanhl, ctanl.
405         (EXTRA_DIST): Remove ccos, ccosf, csin, csinf, ccosh, ccoshf,
406         csing, csinhf, clog10, clog10f, ctan, ctanf, ctanh, ctanhf.
407         * libmath/Makefile.in: Regenarate.
408         * libmath/ccos.c: Remove.
409         * libmath/ccosf.c: Likewise.
410         * libmath/ccosl.c: Likewise.
411         * libmath/csin.c: Likewise.
412         * libmath/csinf.c: Likewise.
413         * libmath/csinl.c: Likewise.
414         * libmath/ctan.c: Likewise.
415         * libmath/ctanf.c: Likewise.
416         * libmath/ctanl.c: Likewise.
417         * libmath/ccosh.c: Likewise.
418         * libmath/ccoshf.c: Likewise.
419         * libmath/ccoshl.c: Likewise.
420         * libmath/csinh.c: Likewise.
421         * libmath/csinhf.c: Likewise.
422         * libmath/csinhl.c: Likewise.
423         * libmath/ctanh.c: Likewise.
424         * libmath/ctanhf.c: Likewise.
425         * libmath/ctanhl.c: Likewise.
426         * libmath/cexp.c: Likewise.
427         * libmath/cexpf.c: Likewise.
428         * libmath/cexpl.c: Likewise.
429         * libmath/clog10.c: Likewise.
430         * libmath/clog10f.c: Likewise.
431         * libmath/clog10l.c: Likewise.
432         * libmath/complex-stub.h: Remove forward declaration of functions
433         mentioned above.
435         * include/bits/std_complex.h(tan, tanh): Define primary templates.
436         (complex<>): Remove friend declarations for tan<> and tanh<>.
437         * src/complex.cc(tan, tanh): Remove specializations.
439         * acinclude.m4: Remove check for ccos, ccosf, ccosl, ccosh,
440         ccoshf, ccoshl, csin, csinf, csinl, csinh, csinhf, csinhl, cexp,
441         cexpf, cexpl, ctan, ctanf, ctanl, ctanh, ctanhf, ctanhl.
442         * aclocal.m4: Regenarate.
443         * configure: Regenarate.
445 2000-12-08  Gabriel Dos Reis  <gdr@codesourcery.com>
447         * acinclude.m4: Don't forget to remove check for cpowl as it is no
448         longer needed, nor is the corresponding stub existent.
449         * aclocal.m4: Regenarate.
450         * configure: Regenarate.
452 2000-12-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
454         * config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
456         * config/os/generic/bits/ctype_noninline.h (ctype): Remove default
457         arguments in definition.
458         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
459         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
460         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
461         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
462         * config/os/irix/bits/ctype_noninline.h (ctype): Same.
463         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
464         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
465         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
466         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
468         * include/bits/locale_facets.h: Tweak.
470 2000-12-06  Benjamin Kosnik  <bkoz@kredhat.com>
472         * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
473         _Ctype and replace with common __ctype_abstract_base.
474         (ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
475         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
476         And here.
477         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
478         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
479         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
480         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
481         * config/os/irix/bits/ctype_noninline.h (ctype): Same.
482         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
483         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
484         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
485         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
486         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
487         * src/locale-inst.cc: Clean instantiations.
488         * src/locale.cc (ctype<char>): Add definitions here.
489         (ctype<wchar_t>::_M_wmask): Move definitions here.
491         * config/os/generic/bits/ctype_inline.h (ctype<char>::is):
492         Implement in a generic way, with only "C" functionality and no
493         knowlege of the target os.
494         * config/os/generic/bits/os_defines.h: Change comments to C++ style.
495         * testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
497         * include/bits/codecvt.h (ctype_byname): Remove specializations,
498         as not required.
499         * include/bits/localefwd.h (codecvt_byname): And here.
500         * src/codecvt.cc: Remove codecvt_byname specializations.
502         * include/c/bits/std_cstdio.h: Include c++config.h.
504 2000-12-06  Phil Edwards  <pme@sources.redhat.com>
506         * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*):  Pre-test
507           whether the cached result is present.
508         * aclocal.m4:  Regenerate.
509         * configure:  Regenerate.
510         * Makefile.in:  Regenerate.
511         * libio/Makefile.in:  Regenerate.
512         * libmath/Makefile.in:  Regenerate.
513         * libsupc++/Makefile.in:  Regenerate.
514         * src/Makefile.in:  Regenerate.
516 2000-12-06  Richard Earnshaw  <rearnsha@arm.com>
518         * configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
519         os_include_dir.
521 2000-12-05  Jeffrey A Law  <law@cygnus.com>
523         * configure.target (hpux): Set os_include_dir.
524         * config/os/hpux/bits/ctype_base.h: New file
525         * config/os/hpux/bits/ctype_inline.h: New file
526         * config/os/hpux/bits/ctype_noinline.h: New file
527         * config/os/hpux/bits/os_defines.h: New file
529 2000-12-05  Alexandre Petit-Bianco  <apbianco@redhat.com>
531         * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
532         * src/Makefile.in: Regenerate.
534 2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>
536         * acinclude.m4 (EXTRA_CXX_FLAGS): And here.
537         * include/c/bits/std_cstdlib.h (std ): Change macro to
538         _GLIBCPP_NEED_LLDIV_T.
539         * acconfig.h: Remove unused MBSTATE_T bits.
540         * configure.in: Same.
541         * aclocal.m4: Regenerate.
542         * configure: Regenerate.
543         * config.h.in: Regenerate.
545 2000-12-05  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
547         * acinclude.m4: Change up to reflect new directory organization.
548         Add in bits for NetBSD.
549         * aclocal.m4: Regenerate.
550         * configure: Regenerate.
551         * config/os/bsd: New directory.
552         * config/os/netbsd: Move to...
553         * config/os/bsd/netbsd: ...here.
554         * config/os/freebsd: Move to...
555         * config/os/bsd/freebsd: ...here.
557 2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>
559         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
560         lldiv_t. Allow the use of os-specific defines while checking for
561         long-long functions by the inclusion of os_defines.h.
562         * aclocal.m4: Regenerate.
563         * configure.in: Add comments.
564         * configure: Regenerate.
565         * acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
566         * config.h.in: Regenerate.
567         * config/os/gnu-linux/bits/os_defines.h: Fix typos and
568         duplications in comments.
570 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
572         * config/os/freebsd/bits/ctype_base.h: Update comments about other
573         BSD variants.
575 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
577         * config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
578         * aclocal.m4: Adjust accordingly.
579         * configure.target: Likewise.
580         * configure: Regenerate.
582 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
584         * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
585         code.
587 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
589         Support for NetBSD.
590         * aclocal.m4: Add test for NetBSD's ctype support.
591         * configure: Regenerate.
592         * configure.target: Support NetBSD.
593         * config/os/netbsd/bits/ctype_base.h: New file.
594         * config/os/netbsd/bits/ctype_inline.h: New file.
595         * config/os/netbsd/bits/ctype_noinline.h: New file.
596         * config/os/netbsd/bits/os_defines.h: New file.
598 2000-12-05  Gabriel Dos Reis  <gdr@codesourcery.com>
600         * src/complex.cc (pow): Remove definitions for explicit
601         specializations.
602         * libmath/mathconf.h: Remove declarations for c_log, c_logf,
603         c_logl.
604         * libmath/complex-stub.h: Remove declarations for cpow, cpowf,
605         cpowl.
606         * libmath/cpow.c: Remove.
607         * libmath/cpowf.c: Remove.
608         * libmath/cpowl.c: Remove.
609         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
610         cpowl,
611         (EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
612         * libmath/Makefile.in: Regenarate.
613         * libmath/c_log.c: Remove
614         * libmath/c_logf.c: Likewise.
615         * libmath/c_logl.c: Likewise.
616         * libmath/carg.c: Likewise.
617         * libmath/cargf.c: Likewise.
618         * libmath/cargl.c: Likewise.
619         * include/bits/std_complex.h (pow): Define primary templates.
620         (complex<>): Remove friend declarations for pow<>().
621         * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
622         cargf.
623         * aclocal.m4: Regenarate.
624         * configure: Regenarate.
626 2000-12-03  Joseph S. Myers  <jsm28@cam.ac.uk>
628         * docs/configopts.html, docs/documentation.html,
629         docs/install.html, docs/17_intro/BADNAMES,
630         docs/17_intro/contribute.html, docs/17_intro/howto.html,
631         docs/18_support/howto.html, docs/19_diagnostics/howto.html,
632         docs/20_util/howto.html, docs/21_strings/howto.html,
633         docs/22_locale/howto.html, docs/23_containers/howto.html,
634         docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
635         docs/26_numerics/howto.html, docs/27_io/howto.html,
636         docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
637         with wwwdocs.
639 2000-12-01  Phil Edwards  <pme@sources.redhat.com>
641         * docs/download.html:  Remove.
642         * docs/footer.ihtml:  Remove.
643         * docs/header.ihtml:  Remove.
644         * docs/index.html:  Remove.
645         * docs/links.html:  Remove.
646         * docs/mail.html:  Remove.
647         * docs/status.html:  Remove.
648         * docs/thanks.html:  Remove.
650 2000-12-01  Phil Edwards  <pme@sources.redhat.com>
652         * mkcheck.in:  Count static and shared results separately.
654 2000-12-01  Loren J. Rittle  <ljrittle@acm.org>
656         * mkcheck.in:  Correct typo.
658 2000-12-01  Gabriel Dos Reis  <gdr@codesourcery.com>
660         * src/cmath.cc: Remove.
661         * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
662         (sources): Remove cmath.cc
663         * src/Makefile.in: Regenerate.
665         * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
666         (__cmath_abs<>): New function.
667         (abs, fabs): Use __cmath_abs when no direct support is available.
668         (__pow_helper<>): New function.
669         (pow): Define here.  Use __pow_helper<>.
671         * include/c/bits/cmath.tcc: New file.
673 2000-11-29  Benjamin Kosnik  <bkoz@redhat.com>
675         Fixes for build directories with colons, AIX build problems.
676         * src/Makefile.am: Cleanups, add documentation.
677         (libstdc++.INC): Simplify rule.
678         (myinstallheaders): Consolidate install rules.
679         (myinstalldirs): New, make directores.
680         (base_headers): Subdivide based on install directory.
681         (ext_headers): New.
682         (backward_headers): New.
683         (headers): Remove.
684         (c_headers): Remove, unused.
685         (c_shadow_headers): Split up, deal with conditional usage in a
686         sane manner.
687         * src/Makefile.in: Regenerate.
689 2000-11-29  Phil Edwards  <pme@sources.redhat.com>
691         Sync with the documentation from wwwdocs.
692         * docs/Makefile:  New file (rebuilds FAQ text version).
693         * docs/configopts.html:  Update.
694         * docs/documentation.html:  Update.
695         * docs/download.html:  Update.
696         * docs/index.html:  Update.
697         * docs/install.html:  Update.
698         * docs/links.html:  Update.
699         * docs/mail.html:  Update.
700         * docs/status.html:  Update.
701         * docs/thanks.html:  Update.
702         * docs/27_io/howto.html:  Update.
703         * docs/faq/index.html:  Update for 2.91.
704         * docs/faq/index.txt:  Update for 2.91.
705         * docs/footer.html:  Removed.
706         * docs/footer.ihtml:  New file.
707         * docs/gccrebuild.html:  Removed.
708         * docs/header.html:  Removed.
709         * docs/header.ihtml:  New file.
711 2000-11-29  Loren J. Rittle  <ljrittle@acm.org>
713         * tests_flags.in: Correct typo.
715 2000-11-29  Gabriel Dos Reis  <gdr@codesourcery.com>
717         * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
718         * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
720 2000-11-29  Gabriel Dos Reis  <gdr@codesourcery.com>
722         * src/Makefile.am (sources): Add bitset.cc
723         * src/Makefile.in: Regenrate.
725         * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
726         macro. Replace __BITS_PER_WORDS throughout.
727         (__BITS_PER_WORDS): Remove.
728         (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
729         definitions to src/bitset.cc.
731         * src/bitset.cc (bitset<>::_M_do_find_first,
732         bitset<>::_M_do_find_next):  Define here.
733         (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
734         here. Explicitly instantiate definitions.
736 2000-11-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
738         * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
739         preprocessor multi-line string warnings.
740         (__atomic_add): Likewise.
741         (__compare_and_swap): Likewise.
742         (__always_swap): Likewise.
743         (__test_and_set): Likewise.
744         * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
745         (__atomic_add): Likewise.
746         (__compare_and_swap): Likewise.
747         (__always_swap): Likewise.
748         (__test_and_set): Likewise.
750 2000-11-28  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
752         Update for 2.91 release.
753         * include/bits/c++config (__GLIBCPP__): Update.
754         * docs/17_intro/RELEASE-NOTES: Update.
755         * docs/status.html: Update, remove bogus autotools disinformation.
757 2000-11-27  Benjamin Kosnik  <bkoz@redhat.com>
759         * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
761         * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
762         * testsuite/27_io/istream_extractor_arith.cc (test11): New
763         testcase, based on libstdc++/90.
765 2000-11-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
767         * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
768         __volatile__ to asm.
769         (__atomic_add): Likewise.
770         (__compare_and_swap): Likewise.
771         (__always_swap): Likewise.
772         (__test_and_set): Likewise.
774         * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
775         with 'inline'.
776         (__exchange_and_add): Add __volatile__ to asm.
777         (__atomic_add): Likewise.
778         (__compare_and_swap): Likewise.
779         (__always_swap): Likewise.
780         (__test_and_set): Likewise.
782 2000-11-27  Gabriel Dos Reis  <gdr@codesourcery.com>
784         * tests_flags.in: Update documentation to reflect the change
785         below.
787 2000-11-26  Benjamin Kosnik  <bkoz@fillmore.constant.com>
789         * tests_flags.in: Export CXX, CXXFLAGS.
790         * mkcheck.in: Grab them.
792 2000-11-26  David Billinghurst  <David.Billinghurst@riotinto.com>
793             Benjamin Kosnik  <bkoz@redhat.com>
795         * mkcheck.in: Add exe extension to printnow executable, abstract
796         out call to this with TIMER_COMMAND.
797         * configure.target (l_glibcpp_cxxflags): Add cygwin support.
798         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
799         * aclocal.m4: Regenerate.
800         * configure: Regenerate.
802 2000-11-26  Benjamin Kosnik  <bkoz@redhat.com>
804         * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
806 2000-11-26  Benjamin Kosnik  <bkoz@redhat.com>
808         * acinclude.m4: Only sanity check for compiler version when
809         configuring. More fixes for 'make clean'.
810         * aclocal.m4: Regenerate.
811         * configure: Regenerate.
813 2000-11-26  Gabriel Dos Reis  <gdr@codesourcery.com>
815         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
816         * libmath/Makefile.in: Regenerate.
817         * libmath/cabs.c: Remove.
818         * libmath/cabsf.c: Likewise.
819         * libmath/cabsl.c: Likewise.
820         * libmath/complex-stub.h: Remove declarations for cabs*.
822         * acinclude.m4: Remove check for cabs*.
823         * aclocal.m4: Regenerate.
825         * Makefile.in: Regenerate.
827 2000-11-26  Gabriel Dos Reis  <gdr@codesourcery.com>
829         * tests_flags.in: New file. Split out of ...
830         * mkcheck.in: ... this. Move flags computation into
831         tests_flags.in.
832         * configure.in: Add support for tests_flags.
833         * confiigure: Regenerate.
835 2000-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
837         * acinclude.m4: Change C9X references to refer to C99.
838         * aclocal.m4, configure: Regenerate.
839         * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
840         testsuite/22_locale/codecvt_wchar_t_char.cc,
841         include/bits/stl_config.h, include/c/bits/std_cwchar.h,
842         libmath/mathconf.h: Change C9X references to refer to C99.
844 2000-11-25  Benjamin Kosnik  <bkoz@redhat.com>
845             Richard Earnshaw  <rearnsha@arm.com>
847         * src/Makefile.am (INCLUDES): Remove unconditional use of
848         _GNU_SOURCE and _ISOC99_SOURCE macros.
849         * src/Makefile.in: Regenerate.
851 2000-11-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
853         * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
854         _GLIBCPP_USE_WCHAR_T guards.
856         * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
857         is, so that checks for existence of generated files actually work.
858         * configure: Regenerate.
860 2000-11-23  Hans-Peter Nilsson  <hp@bitrange.com>
862         * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
863         If not glibc 2.1 or higher, include <gnu/types.h> and define
864         __off64_t as __loff_t and #define __THROW as empty.
866         * libio/libio.h [__P]: Move __THROW and __PMT into their own
867         ifndef:s.
869 2000-11-23  David Edelsohn  <edelsohn@gnu.org>
871         * porting.texi: Expand libtool information.
873 2000-11-23  Gabriel Dos Reis  <gdr@codesourcery.com>
875         * include/bits/ios_base.h (ios_base::failure::~failure,
876         ios_base::failure::what): Move definition to ...
878         * src/ios.cc (ios_base::failure::~failure): ... here.
879         src/ios.cc (ios::failure::what): Likewise.
881 2000-11-22  Benjamin Kosnik  <bkoz@redhat.com>
883         Make deprecated strstream header consistent with new and new.h.
884         * include/backward/strstream.h: Add. Use using declarations to
885         scope strstreambuf, istrstream, ostrstream, strstream to global
886         scope.
887         * include/backward/strstream: Remove using declarations.
888         * src/Makefile.am (base_headers): Add strstream.
889         * src/Makefile.in: Regenerate.
891         * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
892         to be consistent with other headers.
894 2000-11-22  Richard Henderson  <rth@redhat.com>
896         * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
898 2000-11-22  Phil Edwards  <pme@sources.redhat.com>
900         * porting.texi:  Minor tweaks to vocabulary.
902 2000-11-22  Loren J. Rittle  <ljrittle@acm.org>
904         * include/backward/strstream.h: Reinstate the `using'
905         statements.
907 2000-11-22  Loren J. Rittle  <ljrittle@acm.org>
909         * src/Makefile.am (base_headers): Add missing backwards headers.
910         * src/Makefile.in: Regenerate.
912 2000-11-21  scott snyder  <snyder@fnal.gov>
914         * config/c_io_stdio.cc (seekoff): Fix return value.
915         (seekpos): Likewise.
916         (sys_seek): Likewise.
918 2000-11-21  Loren J. Rittle  <ljrittle@acm.org>
920         * mkcheck.in (explanation): Retain output of all failing
921         compiles.  Don't add gratuitous space to the log file.
923 2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
925         * src/strstream.cc: Adjust includes.
926         * src/Makefile.am (base_headers): Remove std_strstream.h, add
927         backwards/strstream.h.
928         (std_headers): Remove strstream.
929         * src/Makefile.in: Regenerate.
930         * libsupc++/Makefile.am (headers): Remove new.h
931         * libsupc++/Makefile.in: Regenerate.
932         * include/std/strstream: Remove.
933         * include/backward/strstream.h: Replace with...
934         * include/bits/std_strstream.h: ...this. Move.
935         * include/backward/complex.h: Remove SGIisms.
936         * include/backward/streambuf.h: Same.
937         * include/backward/stream.h: Same.
938         * include/backward/ostream.h: Same.
939         * include/backward/istream.h: Same.
940         * include/backward/iostream.h: Same.
941         * include/backward/iomanip.h: Same.
942         * include/backward/fstream.h: Same.
943         * libsupc++/new.h: Add using declarations for bad_alloc,
944         nothrow_t, and nothrow, move to ...
945         * include/backward/new.h: ...here.
947 2000-11-21  Mark Mitchell  <mark@codesourcery.com>
949         * porting.texi: New file.
951 2000-11-21  Branko Cibej  <brankoe@xbc.nu>
953         * config/os/solaris/solaris2.6/bits/os_defines.h: Define
954         _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
955         __off64_t and __ssize_t.
956         * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
957         same configuration as above.
959 2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
961         * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
962         * aclocal.m4: Regenerate.
963         * configure: Renerate.
965 2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>
967         * mkcheck.in (explanation): Don't paste output of passing compiles
968         into log file. Use -static. Get version info.
970         * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
972 2000-11-20  Gabriel Dos Reis  <gdr@codesourcery.com>
974         * include/bits/std_complex.h (complex<double>): Constructor
975         complex<double>::complex(const complex<float>&) is not explicit;
976         since it is a promotion.
977         (complex<long double>): Constructors taking complex<float> and
978         complex<double> are not explicit.
980 2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>
982         * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
983         * src/complex.cc: Remove cmath include, formatting tweaks, remove
984         dead code.
985         * include/c/bits/std_cmath.h: Formatting tweaks.
986         * testsuite/26_numerics/complex_value.cc: New file, for catching
987         bits gleaned from libstdc++/106.
989         * testsuite/23_containers/vector_ctor.cc (test02): Add test from
990         libstdc++/102.
992 2000-11-20  Joseph S. Myers  <jsm28@cam.ac.uk>
994         * include/bits/c++config, include/bits/ios_base.h,
995         include/bits/std_streambuf.h: Correct spelling of "deprecated".
997 2000-11-19  Mark Mitchell  <mark@codesourcery.com>
999         * libsupc++/exception_support.cc (__throw_bad_cast): Name it
1000         __cxa_bad_cast under the new ABI.
1001         (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
1002         * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
1003         under the new ABI.
1005 2000-11-18  Mark Mitchell  <mark@codesourcery.com>
1007         * libsupc++/exception_support.h: New header file.
1008         * libsupc++/vec.cc: Include it.
1009         (__cxa_vec_new2): Recatch exceptions before rethrows.
1010         (__cxa_vec_new3): Likewise.
1011         (__cxa_vec_ctor): Likewise.
1012         (__cxa_vec_cctor): Likewise.
1013         (__cxa_vec_dtor): Likewise.
1014         (__cxa_vec_delete2): Likewise.
1015         (__cxa_vec_delete3): Likewise.
1017 2000-11-17  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1019         * include/bits/stl_tree.h: Overload operators == and != to be able
1020         to handle the case (const_iterator,iterator) and
1021         (iterator,const_iterator), thus fixing libstdc++/737 and the like.
1022         * testsuite/23_containers/map_operators.cc (test02): New tests.
1024 2000-11-17  Loren J. Rittle  <ljrittle@acm.org>
1026         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
1027           to ``make --enable-cstdio=stdio the default''.
1028         * libstdc++-v3/aclocal.m4: Rebuilt.
1029         * libstdc++-v3/configure: Rebuilt.
1031 2000-11-17  Phil Edwards  <pme@sources.redhat.com>
1033         * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY):  Move switch statement
1034           contents to...
1035         * configure.target:  ...here.  Enable generic atomic ops, and warn.
1036         * aclocal.m4:  Regenerated.
1037         * configure:  Ditto.
1038         * Makefile.in:  Ditto.
1039         * libio/Makefile.in:  Ditto.
1040         * libmath/Makefile.in:  Ditto.
1041         * libsupc++/Makefile.in:  Ditto.
1042         * src/Makefile.in:  Ditto.
1044 2000-11-16  Loren J. Rittle  <ljrittle@acm.org>
1046         * include/bits/locale_facets.tcc (num_get<_CharT,
1047           _InIter>::do_get(...)): Add missing typename keyword.
1049 2000-11-16  Mark Mitchell  <mark@codesourcery.com>
1051         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
1052         --enable-cstdio=stdio the default.  Disable wide character support
1053         in that event.
1054         * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
1055         (GLIBCPP_ENABLE_CSTDIO).
1056         * config/c_io_stdio.h: Don't include <libio.h>, don't define
1057         __c_wfile_type.
1058         * aclocal.m4: Regenerated.
1059         * configure: Likewise.
1060         * Makefile.in: Likewise.
1061         * libio/Makefile.in: Likewise.
1062         * libmath/Makefile.in: Likewise.
1063         * libsupc++/Makefile.in: Likewise.
1064         * src/Makefile.in: Likewise.
1066 2000-11-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1068         * config/c_io_stdio.h: Include stddef.h.
1070 2000-11-16  Mark Mitchell  <mark@codesourcery.com>
1072         * config/c_io_stdio.h (streamsize): Make it a typedef for
1073         ptrdiff_t.
1074         (wstreamsize): Likewise.
1076         * config/c_io_stdio.h: Include libio.h.
1078 2000-11-15  Mark P Mitchell  <mark@codesourcery.com>
1080         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
1081         * src/Makefile.am (libstdc___la_LIBADD): Use it.
1082         * aclocal.m4: Regenerated.
1083         * configure: Likewise.
1084         * Makefile.in: Likewise.
1085         * libio/Makefile.in: Likewise.
1086         * libmath/Makefile.in: Likewise.
1087         * libsupc++/Makefile.in: Likewise.
1088         * src/Makfile.in: Likewise.
1090 2000-11-15  Mark Mitchell  <mark@codesourcery.com>
1092         * mkcheckin.in: Move check for bash version 2 later in the file.
1094         * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
1095         Make it const.
1096         (basic_string::_Rep::_S_terminal): Likewise.
1097         * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
1098         Likewise.
1099         (basic_string::_Rep::_S_terminal): Likewise.
1101 2000-11-15  David Billinghurst  <David.Billinghurst@riotinto.com>
1103         * mkcheck.in:  Add function size_command() for irix.
1105 2000-11-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1107         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
1108         initial value.
1109         (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
1110         building a canadian cross. This should fix the remaining java
1111         build issues.
1112         * aclocal.m4: Regenerate.
1113         * configure: Regenerate.
1115         * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
1117 2000-11-14  Phil Edwards  <pme@sources.redhat.com>
1119         * mkcheck.in: On a platform where we don't know how to extract
1120         section sizes, just set them to zero.  Use old method of reading
1121         file contents.
1123 2000-11-13  Loren J. Rittle  <ljrittle@acm.org>
1125         * config/c_io_stdio.h: Don't define __c_wfile_type
1126         when _GLIBCPP_USE_WCHAR_T is not defined.
1128 2000-11-13  Phil Edwards  <pme@sources.redhat.com>
1130         * acinclude.m4 (GLIBCPP_CHECK_TARGET):  New macro, replacing
1131         GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
1132         (GLIBCPP_CONFIGURE):  Call new macro here.
1133         * configure.host:  Cleanup.
1134         * configure.in:  Remove those two macros.
1135         * configure.target:  New file.
1136         * aclocal.m4:  Regenerated.
1137         * configure:  Ditto.
1138         * Makefile.in:  Ditto.
1139         * libio/Makefile.in:  Ditto.
1140         * libmath/Makefile.in:  Ditto.
1141         * libsupc++/Makefile.in:  Ditto.
1142         * src/Makefile.in:  Ditto.
1144         * mkcheck.in:  Use libtool.  Split things out into functions.
1146 2000-11-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1148         * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
1149         * Makefile.in: Regenerate.
1151 2000-11-12  David Edelsohn  <edelsohn@gnu.org>
1153         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
1154         libiconv.a providing wchar_t support functions.
1155         * aclocal.m4: Regenerate.
1157 2000-11-12  Loren J. Rittle  <ljrittle@acm.org>
1159         * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
1160         * aclocal.m4, configure: Rebuilt.
1162 2000-11-12  Brent Verner  <brent@rcfile.org>
1164         * include/c_std/bits/wrap_langinfo.h: New file.
1165         * include/c_std/langinfo.h: New file.
1166         * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
1167         CODESET from _C_legacy::CODESET if using shadow headers.
1168         * src/Makefile.am: Add new files.
1169         * src/Makefile.in: Regenerate.
1171 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
1173         * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
1174         of `abs (double)' to ...
1175         (fabs): this.
1177         * config/os/solaris/solaris2.7/bits/os_defines.h: Define
1178         __EXTENSIONS__.
1180 2000-11-11  Mark P Mitchell  <mark@codesourcery.com>
1182         * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
1183         when _GLIBCPP_USE_WCHAR_T is not defined.
1185 2000-11-10  Phil Edwards  <pme@sources.redhat.com>
1187         * include/bits/codecvt.h (__iconv_adaptor):  New adaptor function,
1188           courtesy of Alexandre Oliva, to handle const/non-const signatures.
1189           (codecvt::do_out):  Use.
1190           (codecvt::do_in):  And here.
1192 2000-11-10  Gabriel Dos Reis  <gdr@codesourcery.com>
1194         * include/bits/cpp_type_traits.h: Fix typos.  Adjust formatting.
1196 2000-11-10  Gabriel Dos Reis  <gdr@codesourcery.com>
1198         * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
1199         _Count_ones<>::_S_count): Turn into enumerators.
1201 2000-11-08  Mark Mitchell  <mark@codesourcery.com>
1203         * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
1204         (codecvt::do_in): Likewise.
1206 2000-11-08  David Edelsohn  <edelsohn@gnu.org>
1208         * src/locale-inst.cc: Add explicit instantiations of
1209         _M_fill_insert and fill_n<..., unsigned long,...> .
1211 2000-11-06  Gabriel Dos Reis  <gdr@codesourcery.com>
1213         * include/bits/std_complex.h (conj): Undo double removal.
1215 2000-11-06  Alexandre Oliva  <aoliva@redhat.com>
1217         * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
1218         alternatives for CXX_libstdcxx, now that it is useless.
1219         * aclocal.m4, configure: Rebuilt.
1221 2000-11-04  Mark Mitchell  <mark@codesourcery.com>
1223         * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
1224         * aclocal.m4: Regenerated.
1225         * configure: Likewise.
1227         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
1228         use of `test'.
1229         * aclocal.m4: Regenerated.
1230         * configure: Likewise.
1232 2000-11-04  Alexandre Oliva  <aoliva@redhat.com>
1234         * acinclude.m4 (CXX): Prevent it from being cached.
1235         * aclocal.m4, configure, */Makefile.in: Rebuilt.
1237 2000-11-03  David Edelsohn <dje@watson.ibm.com>
1239         * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
1240           flag based on multilib definition of $CXX.
1241         * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
1242           based on multilib definition of $CXX.
1243         * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
1245 2000-11-03  Phil Edwards  <pme@sources.redhat.com>
1247         * acinclude.m4:  Cleanups.
1248         * aclocal.m4:  Regenerated.
1249         * configure:  Ditto.
1250         * Makefile.in:  Ditto.
1251         * libio/Makefile.in:  Ditto.
1252         * libmath/Makefile.in:  Ditto.
1253         * libsupc++/Makefile.in:  Ditto.
1254         * src/Makefile.in:  Ditto.
1256         * docs/install.html:  Removal of EGCS.
1257         * docs/23_containers/wrappers_h.txt:  Likewise.
1258         * docs/faq/index.html:  Likewise.
1259         * docs/faq/index.txt:  Regenerated.
1260         * docs/thanks.html:  More people.
1262 2000-11-03  David Edelsohn  <edelsohn@gnu.org>
1264         * include/c/bits/std_cwchar.h: Undefine macro that conflicts
1265         with function name defined in this file.
1267 Thu Nov  2 23:19:20 2000  Mark P Mitchell  <mark@codesourcery.com>
1269         * include/c/bits/std_cctype.h: Undefine macros that conflict
1270         with function names defined in this file.
1271         * include/c/bits/std_cstdio.h: Likewise.
1273 2000-11-02  Mark Mitchell  <mark@codesourcery.com>
1275         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
1277 Thu Nov  2 10:11:45 2000  Mark P Mitchell  <mark@codesourcery.com>
1279         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
1280         * aclocal.m4: Regenerated.
1281         * Makefile.in: Regenerated.
1282         * libio/Makefile.in: Likewise.
1283         * libmath/Makefile.in: Likewise.
1284         * libsupc++/Makefile.in: Likewise.
1285         * src/Makefile.in: Likewise.
1286         * configure: Likewise.
1287         * config/os/irix/bits/ctype_base.h: Revise.
1288         * config/os/irix/bits/ctype_inline.h: Likewise.
1289         * config/os/irix/bits/ctype_noninline.h: Likewise.
1291         * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
1292         if not _GLIBCPP_USE_WCHAR_T.
1293         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1294         * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1295         * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1297         * mkcheck.in: Fix echoing of -rpath option.
1299         * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
1300         signed type.
1301         (__exchange_aand_add): Adjust accordingly.
1302         (__atomic_add): Likewise.
1304 2000-11-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1306         * src/locale.cc: Match orderings for static members.
1307         * include/bits/fstream.tcc: Fixes for cin.
1309 2000-11-02  Gabriel Dos Reis  <gdr@codesourcery.com>
1311         * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
1312         exp<>, log<>, log<>, sin, sinh<>) friend declarations.
1313         (cos, cosh, sin, sinh): Define primary templates.
1315         * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
1316         definitions.
1318 2000-11-01  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1320         * bits/basic_file.h (_M_open_mode): Change signature, move
1321         specializations to..
1322         * config/c_io_libio.cc: ...here.
1323         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
1324         * aclocal.m4: Regenerate.
1325         * configure: Regenerate.
1326         * config/c_io_stdio.h: New file.
1327         * config/c_io_stdio.cc: New file.
1328         * docs/configopts.html: Modify documentation.
1330 2000-10-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1332         * include/c/bits/std_cwctype.h: Add more undefs.
1334 2000-10-31  Gabriel Dos Reis  <gdr@codesourcery.com>
1336         * include/bits/std_complex.h (norm): Forward declare.
1337         (complex<>): Comment out friend declaration of conj<>.
1338         (conj<>): Comment out specialization.
1339         (exp, log, log10): Define primary templates.
1341         * src/complex.cc (exp<>, log<>, log10<>): Comment out
1342         specializations.
1344 2000-10-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1346         * include/bits/std_complex.h: Remove duplicate definition of conj.
1347         * include/c/bits/std_cwctype.h: Consistent placement of undefs.
1349 2000-10-31  Gabriel Dos Reis  <gdr@codesourcery.com>
1351         * src/complex.cc (arg, polar): Comment out specializations.
1353         * include/bits/std_complex.h (complex<>): Remove arg<> friend
1354         declaration.
1355         (arg): Define primary template.
1356         (polar): Likewise.
1357         (conj): Likewise.
1359 2000-10-31  Gabriel Dos Reis  <gdr@codesourcery.com>
1361         * include/c/bits/std_cwctype.h: #undef possible function-like
1362         macro definitions of iswxxx functions, which might be brought in
1363         by <wctype.h>.  Those macro definitions prevent build on some
1364         linux-based systems.
1366         * include/bits/std_complex.h (complex<>): Comment out friend
1367         declarations of abs<> specializations.
1368         (abs): Define primary template.
1370         * src/complex.cc (abs): Comment out specialization definition.
1372 2000-10-30  Phil Edwards  <pme@sources.redhat.com>
1374         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG):  Raise debugging level from
1375           the default of 2 to 3.
1376         * configure.in:  Fix minor typos.  SUBST the values of enable_shared
1377           and enable_static so that mkcheck will be aware of them.  Put the
1378           test for gconv.h in with all the other header tests.
1379         * aclocal.m4:  Regenerate.
1380         * configure:  Ditto.
1381         * Makefile.in:  Ditto.
1382         * libio/Makefile.in:  Ditto.
1383         * libmath/Makefile.in:  Ditto.
1384         * libsupc++/Makefile.in:  Ditto.
1385         * src/Makefile.in:  Ditto.
1387         * config/os/solaris/solaris2.7/bits/os_defines.h:  Define
1388           _G_USING_THUNKS to 0.
1390 2000-10-30  Benjamin Kosnik  <bkoz@redhat.com>
1392         * src/complex_io.cc : Remove ancient defines.
1393         * config/os/gnu-linux/bits/os_defines.h: Add defines.
1394         * libsupc++/tinfo2.cc: Change to cstddef.
1396         * include/bits/codecvt.h: Add include of c++config.h, so that
1397         __USE_GNU gets defined. (Important for alpha.)
1399         * include/c/bits/std_cwctype.h: Same.
1400         * include/c/bits/std_ctime.h: And here.
1401         * include/c/bits/std_cstdarg.h: Same.
1402         * include/c/bits/std_csignal.h: Same.
1403         * include/c/bits/std_csetjmp.h: Same.
1404         * include/c/bits/std_clocale.h: Same.
1405         * include/c/bits/std_climits.h: Touch.
1406         * include/c/bits/std_cfloat.h: Same.
1407         * include/c/bits/std_cerrno.h: Same.
1408         * include/c/bits/std_cwchar.h: Same.
1409         * include/c/bits/std_cassert.h: Same.
1410         * include/c/bits/std_cctype.h: Same.
1411         * include/c/bits/std_cstddef.h: And here.
1412         * include/c/bits/std_cstdlib.h: And here.
1413         * include/c/bits/std_cstdio.h: Same.
1414         * include/c/bits/std_cstring.h: Add names to namespace std::.
1416         * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
1417         from here...
1418         (_ISOC99_SOURCE): And this one....
1419         * config/os/gnu-linux/bits/os_defines.h: ...to here.
1421         * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
1422         __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
1423         prior to 2.2.
1424         (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
1425         * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
1427 2000-10-30  Steven King  <sxking@uswest.net>
1429         * include/bits/codecvt.h: Add cast.
1430         * include/c_std/stdio.h: Re-add printf using declaration.
1431         * include/c_std/bits/std_cstdio.h: Same
1432         * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
1433         * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1434         * testsuite/22_locale/facet.cc: Same.
1435         * testsuite/22_locale/global_templates.cc: Same.
1436         * testsuite/22_locale/operators.cc: Same.
1437         * testsuite/22_locale/static_members.cc: Same.
1438         * testsuite/26_numerics/c_math.cc: Same.
1439         * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1440         * testsuite/27_io/fpos.cc: Same.
1441         * testsuite/27_io/istream_extractor_arith.cc: Same.
1442         * testsuite/27_io/istream_unformatted.cc: Same.
1443         * testsuite/27_io/ostream_inserter_arith.cc: Same.
1444         * testsuite/27_io/streambuf.cc: Same.
1446 2000-10-30  Mark Mitchell  <mark@codesourcery.com>
1448         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
1449         for cabs, cabsf, and cabsl, too.
1450         * aclocal.m4: Regenerated.
1451         * config.h.in: Likewise.
1452         * configure: Likewise.
1453         * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
1454         cabsf.c.
1455         * libmath/Makefile.in: Regenerated.
1456         * libmath/complex-stub.h (cabs): Don't declare if the system
1457         already provides this function.
1458         (cabsf): Likewise.
1459         (cabsl): Likewise.
1460         * src/complex.cc (abs): Directly use `hypot' since we can't call
1461         cabs on IRIX.
1463 2000-10-30  Joseph S. Myers  <jsm28@cam.ac.uk>
1465         * acinclude.m4: Update URL on egcs.cygnus.com to point to
1466         gcc.gnu.org.
1467         * aclocal.m4, configure: Regenerate.
1468         * src/gen-num-limits.cc, include/bits/c++config,
1469         include/bits/stl_config.h: Remove EGCS references.
1471 2000-10-29  Mark Mitchell  <mark@codesourcery.com>
1473         * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
1474         building shared executables.
1476 2000-10-29   Mark Harig <mharig@landmark.com>
1478         * src/Makefile.am: Change logic for include dir options.
1479         * src/Makefile.in: Regenerate.
1480         * libsupc++/Makefile.am: Ditto.
1481         * libsupc++/Makefile.in: Regenerate.
1483 2000-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1485         * configure.in: Simplify use of AC_CACHE_SAVE.  Put linked files
1486         in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
1487         with libgcj build issues and improve consistency with the source
1488         directory's include directory setup.
1489         * configure: Regenerate.
1490         * acinclude.m4: Same here.
1491         * aclocal.m4: Regenerate.
1492         * mknumeric_limits (OUT_H): Also change paths here.
1493         * mkcheck.in (C_DIR): And here.
1494         * mkc++config (OUT_H): And here.
1495         * libmath/Makefile.am (INCLUDES): And here.
1496         * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
1497         * libio/Makefile.am: Ditto.
1498         * libsupc++/Makefile.am (INCLUDES): Ditto.
1500 2000-10-29  Mark Mitchell  <mark@codesourcery.com>
1502         * config/c_io_libio.cc (basic_file<char>::__basic_file):
1503         Don't pass a NULL _IO_wide_data to _IO_no_init when
1504         _GLIBCPP_USE_WCHAR_T is not defined.
1505         * config/c_io_libio.h (_IO_codecvt): Don't declare when
1506         _GLIBCPP_USE_WCHAR_T is not defined.
1507         * config/c_io_libio_codecvt.c: Don't compile it
1508         when _GLIBCPP_USE_WCHAR_T is not defined.
1509         * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
1510         Don't define this specialization when _GLIBCPP_USE_WCHAR_T
1511         is not defined.
1512         * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
1513         include it when _GLIBCPP_USE_WCHAR_T is not defined.
1514         * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
1515         when _GLIBCPP_USE_WCHAR_T is not defined.
1516         * src/localename.cc (locale::_Impl::_M_construct_collate):
1517         Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
1518         not defined.
1519         (locale::_Impl::_M_construct_ctype): Likewise.
1520         (locale::_Impl::_M_construct_monetary): Likewise.
1521         (locale::_Impl::_M_construct_numeric): Likewise.
1522         (locale::_Impl::_M_construct_time): Likewise.
1523         (locale::_Impl::_M_construct_messages): Likewise.
1525         * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
1526         * aclocal.m4: Regenerated.
1527         * configure: Likewise.
1528         * config/os/irix/bits/atomicity.h: New file.
1529         * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
1530         (__off_t): Define.
1531         (__off64_t): Likewise.
1532         (__ssize_t): Likewise.
1533         (_G_USING_THUNKS): Define to zero.
1535 2000-10-28  Mark Mitchell  <mark@codesourcery.com>
1537         * src/string-inst.cc (basic_string<C>::npos): Explicitly
1538         instantiate it.
1540 2000-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1542         * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1544         Clean up naming, consistency in "C" library autoconf testing.
1545         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
1546         GLIBCPP_CHECK_CTYPE_SUPPORT.
1547         (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
1548         * aclocal.m4: Regenerate.
1549         * configure.in: And here.
1550         Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
1551         * configure: Regenerate.
1553 2000-10-26  David Edelsohn  <edelsohn@gnu.org>
1555         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1556         (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1558 2000-10-26  Phil Edwards  <pme@sources.redhat.com>
1559             David Edelsohn  <dje@watson.ibm.com>
1561         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1562         --gc-sections stuff entirely to avoid misleading people.
1563         (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
1564         * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
1565         Rearrange and merge.
1566         * libio/libio.h: Simplify, make fewer assumptions.  Define those
1567         macros which must be defined.
1568         * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
1569         result.
1571 2000-10-26  Mark Mitchell  <mark@codesourcery.com>
1573         * include/backward/streambuf.h: New file.
1575 2000-10-26  David Edelsohn  <dje@watson.ibm.com>
1577         * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
1578         * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
1579         * config/os/aix/bits/os_defines.h: Add AIX defines.
1581 2000-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1583         * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
1584         * aclocal.m4: Regenerate.
1585         * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
1586         * configure: Regenerate.
1587         * docs/configopts.html: Remove.
1588         * src/complexl.cc: Revert.
1589         * config.h.in: Remove.
1590         * include/c_std/bits/std_cmath.h: Remove guards based on
1591         _GLIBCPP_USE_LONG_DOUBLE.
1592         * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
1593         with respect to long double signatures.
1595         * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
1596         specification.
1597         * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
1598         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1599         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1600         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1601         * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
1603 2000-10-26  Gabriel Dos Reis  <gdr@codesourcery.com>
1605         * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1606         Use __valarray_copy_construct only where appropriate.
1608 2000-10-25  Mark Mitchell  <mark@codesourcery.com>
1610         * Makefile.in (check): Don't make mkcheck executable.
1611         (check-install): Likewise.
1612         * configure.in (AC_OUTPUT): Make mkcheck executable.
1613         * mkcheck.in (top_srcdir): New variable.
1614         (INC_PATH): Set the path to the backward and ext directories
1615         correctly.
1617 2000-10-25  Phil Edwards  <pme@sources.redhat.com>
1619         * configure.in:  Check for gconv.h.
1620         * libio/wfileops.c:  Wrap gconv.h in HAVE_GCONV_H.
1622         * config/c_io_libio_codecvt.c:  Change __mbstate_t to __c_mbstate_t.
1623         * libio/_G_config.h:  And here.
1624         * libio/iofwide.c:  And here.
1625         * libio/libio.h:  And here.
1627         * config/os/solaris/solaris2.7/bits/ctype_noninline.h:  Remove
1628           exception specification to match declaration.
1629         * include/bits/locale_facets.tcc:  Include bits/std_clocale.h.
1631 2000-10-24   Mark Harig <mharig@landmark.com>
1633         * docs/configopts.html: Added documentation for the
1634         "--enable-version-specific-runtime-libs" and
1635         "--with-gxx-include-dir" configuration switches.
1637 2000-10-24  Benjamin Kosnik  <bkoz@redhat.com>
1639         * include/bits/stl_pair.h (make_pair): Add LWG solution.
1641         * testsuite/21_strings/compare.cc (test01): Inject namespace std
1642         into the mix.
1644         * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1645         this works.
1647 2000-10-24  Levente Farkas  <lfarkas@mindmaker.hu>
1649         * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1651 2000-10-24  Phil Edwards  <pme@sources.redhat.com>
1653         * acconfig.h:  List _GLIBCPP_USE_THREADS.
1654         * acinclude.m4:  General formatting cleanup (tabs/spaces), typo
1655           correction, etc.  Add comments about following *real* changes
1656           where they are used.
1657           (GLIBCPP_ENABLE_C_MBCHAR):  New test...
1658           (GLIBCPP_CHECK_WCHAR_T_SUPPORT):  ...results used here.
1659           (GLIBCPP_ENABLE_CSTDIO):  Define need_wlibio iff wide characters
1660           are requested.
1661           (GLIBCPP_ENABLE_THREADS):  If threads are used, define new
1662           macro _GLIBCPP_USE_THREADS in c++config.h.
1663           (GLIBCPP_ENABLE_SHADOW):  For C_INCLUDE_DIR, change () to {} as
1664           this is used in both makefiles and shell scripts (mkcheck).
1665         * configure.in:  Call GLIBCPP_ENABLE_C_MBCHAR.
1667         * libio/_G_config.h:  Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1668         * config/c_io_libio.h:  In nonthreaded case, typedef __c_lock to
1669           something harmless, like int.
1671         * config/os/aix/bits/os_defines.h:  Guard with _GLIBCPP_OS_DEFINES,
1672           add comment/instructions.
1673         * config/os/bsd/bits/os_defines.h:  Ditto.
1674         * config/os/generic/bits/os_defines.h:  Ditto.
1675         * config/os/gnu-linux/bits/os_defines.h:  Ditto.
1676         * config/os/irix/bits/os_defines.h:  Ditto.
1677         * config/os/newlib/bits/os_defines.h:  Ditto.
1678         * config/os/solaris/solaris2.5/bits/os_defines.h:  Ditto.
1679         * config/os/solaris/solaris2.6/bits/os_defines.h:  Ditto.
1681         * mkcheck.in:  Limit the available heap size for testsuite
1682           binaries, initially at 2MB.
1684 2000-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1686         * testsuite/21_strings/compare.cc (test01): Add using declarations.
1688         * include/c_std/bits/std_cerrno.h: And here.
1689         * include/c_std/bits/std_cassert.h: Tweaks.
1691         * mkcheck.in: Simplify.
1693         * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1694         (GLIBCPP_ENABLE_LONG_LONG): Same.
1695         * aclocal.m4: Regenerate.
1697         * src/Makefile.am (c_shadow_headers): Add features.h,
1698         bits/wrap_features.h.
1699         * src/Makefile.in: Regenerate.
1700         * include/c_std/features.h: New file.
1701         * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1702         file. Need to have c++config.h included before this file so
1703         _ISOC99_SOURCE around.
1705         * include/c_std/sys/cdefs.h: Hack.
1706         * include/c_std/stdlib.h: Same, use c++config.h.
1707         * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1709         * include/c_std/bits/std_cassert.h: Fix.
1710         * include/c_std/bits/std_cerrno.h: Make consistent.
1712         * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1713         declaration from ::_C_legacy to _C_legacy.
1715         * include/c_std/bits/std_cstdio.h: same with printf.
1716         * include/c_std/stdio.h: And here.
1718         * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1719         * include/c_std/stdlib.h: Same here.
1721 2000-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1723         * testsuite/21_strings/compare.cc (test01): Add using declarations.
1725         * include/c_std/bits/std_cerrno.h: And here.
1726         * include/c_std/bits/std_cassert.h: Tweaks.
1728         * mkcheck.in: Simplify.
1730         * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1731         (GLIBCPP_ENABLE_LONG_LONG): Same.
1732         * aclocal.m4: Regenerate.
1734         * src/Makefile.am (c_shadow_headers): Add features.h,
1735         bits/wrap_features.h.
1736         * src/Makefile.in: Regenerate.
1737         * include/c_std/features.h: New file.
1738         * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1739         file. Need to have c++config.h included before this file so
1740         _ISOC99_SOURCE around.
1742         * include/c_std/sys/cdefs.h: Hack.
1743         * include/c_std/stdlib.h: Same, use c++config.h.
1744         * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1746         * include/c_std/bits/std_cassert.h: Fix.
1747         * include/c_std/bits/std_cerrno.h: Make consistent.
1749         * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1750         declaration from ::_C_legacy to _C_legacy.
1752         * include/c_std/bits/std_cstdio.h: same with printf.
1753         * include/c_std/stdio.h: And here.
1755         * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1756         * include/c_std/stdlib.h: Same here.
1758 2000-10-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1760         * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1761         * aclocal.m4: Regenerate.
1762         * configure.in: Use it.
1763         * configure: Regenerate.
1764         * src/complexl.cc: Fixup.
1765         * include/c_std/bits/std_cmath.h: Fixup.
1766         * include/c/bits/std_cmath.h: Fixup.
1767         * docs/configopts.html: Add docs.
1769         * docs/links.html: Add links to defects list, standards FAQ.
1771         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1772         with string creation that allocate huge ammounts of memory.
1774         * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1775         namepace std.
1777 2000-10-21  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1779         * libsupc++/exception.cc: Use namespace std.
1780         * libsupc++/new: DITTO.
1781         * libsupc++/new_op.cc: DITTO.
1782         * libsupc++/new_opnt.cc: DITTO.
1783         * libsupc++/new_opv.cc: DITTO.
1784         * libsupc++/new_opvnt.cc: DITTO.
1785         * libsupc++/tinfo.cc: DITTO.
1786         * libsupc++/tinfo.h: DITTO.
1787         * libsupc++/vec.cc: DITTO.
1788         * libsupc++/Makefile.am: Blank lines removal.
1790 2000-10-21  Joseph S. Myers  <jsm28@cam.ac.uk>
1792         * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1793         docs/17_intro/howto.html, docs/18_support/howto.html,
1794         docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1795         docs/21_strings/howto.html, docs/22_locale/howto.html,
1796         docs/23_containers/howto.html, docs/24_iterators/howto.html,
1797         docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1798         docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1799         Remove many EGCS references; use current absolute URLs on
1800         gcc.gnu.org or sources.redhat.com for messages in list archives.
1801         * docs/faq/index.txt: Regenerate.
1803 2000-10-19  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1805         * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1806         creation of state_type for unicode_codecvt to take into account
1807         the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1808         * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1809         * include/bits/codecvt.h (__enc_traits): Add support for encodings
1810         that need a byte order marker. Needed for correct unicode support.
1812         * src/locale.cc: Remove explicit qualification std::.
1813         (locale::locale(const char* __name)): Revert, as named locale
1814         support not finished.
1815         * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1816         size_t __refs, bool __has_name = false, string __name): Move
1817         default argument...
1818         * include/bits/localefwd.h: Here.
1820 2000-10-18  Chip Salzenberg  <chip@valinux.com>
1822         * libio/libio.h (_IO_USER_LOCK): Define.
1824 2000-10-18  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1826         * libsupc++/Makefile.am (exception): Change exception.cc to
1827         exception_support.cc.
1828         (CXXLINK): Remove bogus --tag CC.
1829         * libsupc++/Makefile.in: Regenerate.
1830         * libsupc++/exception.cc: Move to...
1831         * libsupc++/exception_support.cc: ...here.
1833         * src/Makefile.am: Remove bogus --tag CC.
1834         * src/Makefile.in: Regenerate.
1836         * include/bits/locale_facets.tcc (use_facet): Simplify.
1837         * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1838         use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1839         (use_facet<ctype<wchar_t> >): Same.
1840         * src/locale-inst.cc: Remove explicit instantiation.
1841         * src/locale.cc: Correct signature here too.
1842         (_Bad_use_facet::what()): Correct error string.
1843         * include/bits/localefwd.h: Correct comment.
1845         * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1847 2000-10-17  Martin Buchholz <martin@xemacs.org>
1849         * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1850         * testsuite/27_io/ostream_seeks.cc: Similarly.
1852 2000-10-17  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1854         via Alexandre Oliva  <aoliva@redhat.com>
1855         * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1856         * libsupc++/Makefile.in: Regenerate.
1857         * src/Makefile.am: Duplicate code.
1858         * src/Makefile.in: Regenerate.
1860         * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1861         * aclocal.m4: Regenerate.
1862         * configure.in: And here.
1863         * configure: Regenerate.
1865         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1866         test for SECTION_LDFLAGS.
1868 2000-10-16  Benjamin Kosnik  <bkoz@gnu.org>
1870         Shadow headers would work if libsupc++ was strict about namespaces.
1871         This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1872         * include/c_std/assert.h: Add guards.
1873         * include/c_std/bits/std_climits.h: Correct typo.
1874         * include/c_std/ctype.h: Remove #error.
1876         * libio/libioP.h: Break up extern "C" bits around includes.
1877         * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1878         will be nested.
1879         * libio/libioP.h: Same here.
1881 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1883         * include/c_std/unistd.h: Define some types only when defined in
1884         the original unistd.h.
1885         * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1886         definition of size_t, ptrdiff_t and NULL.
1887         * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1889 2000-10-15  Phil Edwards  <pme@sources.redhat.com>
1891         * docs/configopts.html:  Remove libgcc-rebuild; HTML formatting.
1893 2000-10-13  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1894             Mark Harig  <markh@landmark.com>
1896         * src/Makefile.am (toolexeclibdir): Add support fo
1897         VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1898         * src/Makefile.in: Regenerate.
1899         * libsupc++/Makefile.am: Same.
1900         (glibcppinstalldir): Adjust.
1901         * libsupc++/Makefile.in: Regenerate.
1902         * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1903         * Makefile.in: Regenerate.
1904         * docs/configopts.html: Add descriptions of flags.
1906 2000-10-11  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1908         * libsupc++/Makefile.am: Use it.
1909         * libio/Makefile.am: Use it.
1910         * libmath/Makefile.am: Use it.
1911         * src/Makefile.am: Use it.
1912         * Makefile.am (AM_MAKEFLAGS): Remove includes.
1914         * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1915         (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1916         * configure.in: Use it.
1918         * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1920         * src/Makefile.am (CXXCOMPILE): Remove.
1921         * src/Makefile.in: Regenerate.
1922         * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1923         * libsupc++/Makefile.in: Regenerate.
1925         * include/c_std/*: Merge with shadow.
1926         * include/c_std/bits/*: Same.
1928         * shadow: Remove directory.
1929         * shadow/*: De-populate.
1931 2000-10-11  Phil Edwards  <pme@sources.redhat.com>
1933         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Comment out
1934           exception-throwing code for linker test.
1935         * aclocal.m4:  Regenerate.
1936         * configure:  Regenerate.
1938 2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1940         * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1941         * libsupc++/include: Remove
1942         * libsupc++/include/*: Move to ...
1943         * libsupc++: Here.
1944         * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1945         (glibcppinstalldir): New.
1947         * src/Makefile.am (c_base_headers): New.
1948         (c_shadow_headers): New
1949         (c_headers): New.
1950         (myinstallheaders): Correct install issues.
1951         * src/Makefile.in: Regenerate.
1953         * Makefile.am (CSHADOW_INCLUDES): Simplify.
1954         * Makefile.in: Regenerate.
1955         * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1956         * aclocal.m4: Regenerate.
1957         * mkcheck.in (SRC_DIR): Use it.
1959         * include/bits/std_stdexcept.h: And here.
1960         * include/bits/std_ios.h: Change std_exception.h to exception.
1961         * src/locale.cc: And here.
1962         * src/locale-inst.cc: And here.
1964         * include/bits/valarray_array.h: And here.
1965         * include/bits/stl_alloc.h: And here.
1966         * include/bits/stl_algobase.h: And here.
1967         * include/bits/pthread_allocimpl.h: And here.
1968         * include/bits/stl_construct.h: Change to std_new.h to new.
1970         * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1972         * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1973         (headers): Remove duplicated headers.
1974         (std_headers): And here.
1975         * src/Makefile.in: Regenerate.
1976         * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1977         * libsupc++/Makefile.in: Regenerate.
1978         * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1979         (AM_MAKEFLAGS): And here.
1980         * Makefile.in: Regenerate.
1981         * include/bits/std_typeinfo.h: Remove.
1982         * include/bits/std_new.h: Remove
1983         * include/bits/std_exception.h: Remove.
1984         * std/new: Remove.
1985         * std/typeinfo: Remove.
1986         * std/exception: Remove.
1988         * libio/_G_config.h (__need_ptrdiff_t): Add.
1990         * libsupc++/include/new: Change stddef.h to cstddef.
1991         * libsupc++/tinfo.h: Change limits.h to climits.
1992         * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1993         renders the file uncompilable. Add copyright.
1995         * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1996         namespace, as it is a fundamental type.
1998 2000-10-09  Richard Henderson  <rth@cygnus.com>
2000         * libsupc++/pure.cc: New file.
2001         * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
2002         (sources): Add pure.cc.
2003         * libsupc++/Makefile.in: Regenerate.
2005 2000-10-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2007         * docs/configopts.html: Edit.
2009         * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
2010         * libio/Makefile.in: Regenerate.
2011         * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
2012         * libmath/Makefile.in: Regenerate.
2013         * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
2014         * libsupc++/Makefile.in: Regenerate.
2016         * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
2017         TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
2018         CSHADOW_INCLUDES up here.
2019         * Makefile.in: Regenerate.
2020         * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
2021         for shadow headers.
2022         (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
2023         Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
2024         LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
2025         * src/Makefile.in: Regenerate.
2027         * include/c: New directory.
2028         * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
2029         std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
2030         std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
2031         std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
2032         std_cwchar.h, std_cwctype.h): Add, moving from...
2033         * include/bits: ...here.
2034         * include/c_std: New directory.
2035         * include/c_std/bits/*: Populate from...
2036         * shadow: ...here. Remove directory.
2038 2000-10-08   Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2040         * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
2041         (INCLUDES): Add glibcpp_includedir.
2042         * libsupc++/Makefile.in: Regenerate.
2044         * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
2045         * aclocal.m4: Regenerate.
2046         * config/os/*/bits/os_defines: Adjust copyright dates.
2048 2000-10-08  Phil Edwards  <pme@sources.redhat.com>
2050         * include/bits/c++config:  Include <bits/os_defines.h>
2051         * config/os/aix/bits/os_defines.h:  New file.
2052         * config/os/bsd/bits/os_defines.h:  Ditto.
2053         * config/os/generic/bits/os_defines.h:  Ditto.
2054         * config/os/gnu-linux/bits/os_defines.h:  Ditto.
2055         * config/os/irix/bits/os_defines.h:  Ditto.
2056         * config/os/newlib/bits/os_defines.h:  Ditto.
2057         * config/os/solaris/solaris2.5/bits/os_defines.h:  Ditto.
2058         * config/os/solaris/solaris2.6/bits/os_defines.h:  Ditto.
2059         * config/os/solaris/solaris2.7/bits/os_defines.h:  Ditto.
2061 2000-10-07  David Edelsohn  <dje@watson.ibm.com>
2063         * config/os/aix/bits/atomicity.h: New file.
2065 2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2067         * acinclude.m4: Remove CPU_FLAGS
2068         * libio/Makefile.am: Here too.
2069         * Makefile.am: Here too.
2071         * src/Makefile.am (CONFIG_INCLUDES): Remove.
2072         (INCLUDES): Remove CONFIG_INCLUDES.
2073         (cpu_headers): Remove.
2074         (myinstallheaders): Remove cpu_headers.
2075         (generated_headers): Rename to build_headers.
2076         (build_headers): Add atomicity.h, ctype_base.h,
2077         ctype_specializations.h.
2079         * config/os: New directory.
2080         * config/aix: Move to...
2081         * config/bsd: Move to...
2082         * config/generic: Move to...
2083         * config/gnu-linux: Move to...
2084         * config/irix: Move to...
2085         * config/newlib: Move to...
2086         * config/solaris: Move to...
2087         * config/os/*: Here.
2089 2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2091         * acinclude.m4: Remove CPU_FLAGS
2092         * libio/Makefile.am: Here too.
2093         * Makefile.am: Here too.
2095         * src/Makefile.am (CONFIG_INCLUDES): Remove.
2096         (INCLUDES): Remove CONFIG_INCLUDES.
2097         (cpu_headers): Remove.
2098         (myinstallheaders): Remove cpu_headers.
2099         (generated_headers): Rename to build_headers.
2100         (build_headers): Add atomicity.h, ctype_base.h,
2101         ctype_specializations.h.
2103         * config/os: New directory.
2104         * config/aix: Move to...
2105         * config/bsd: Move to...
2106         * config/generic: Move to...
2107         * config/gnu-linux: Move to...
2108         * config/irix: Move to...
2109         * config/newlib: Move to...
2110         * config/solaris: Move to...
2111         * config/os/*: Here.
2113 2000-10-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2115         * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
2116         CONFIG_CXXFLAGS from here, and move to...
2117         * src/Makefile.in: Regenerate.
2118         * Makefile.am: ... here. Clean.
2119         (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
2120         (WARN_CXXFLAGS): Same.
2121         (CONFIG_CXXFLAGS): Same.
2122         * Makefile.in: Regenerate.
2123         * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
2124         WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
2125         * libsupc++/Makefile.in: Regenerate.
2127         Change math to libmath.
2128         * math: Move to libmath, delete.
2129         * libmath: New directory.
2130         * libmath/*: Populate.
2131         * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
2132         (libstdc___la_LIBADD): Same.
2133         * src/Makefile.in: Regenerate.
2134         * configure.in: Add AC_OUTPUT for libmath/Makefile.
2135         * configure: Regenerate.
2136         * Makefile.am (SUBDIRS): Add libmath.
2137         * Makefile.in: Regenerate.
2138         * README (file): Change name.
2140 2000-10-06  Benjamin Kosnik  <bkoz@cygnus.com>
2141             Richard Henderson  <rth@cygnus.com>
2142             Alexandre Oliva  <aoliva@redhat.com>
2144         * libsupc++: New directory.
2145         * libsupc++/*: Populate.
2146         * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
2147         eh-common.h, gansidecl.h.
2148         * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
2149         * configure: Regenerate.
2150         * Makefile.am (SUBDIRS): Add libsupc++.
2151         * Makefile.in: Regenerate.
2152         * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
2153         * src/Makefile.in: Regenerate.
2154         * libio/Makefile.am: Remove extraneous, confusing bits.
2155         * libio/Makefile.in: Regenerate.
2157 2000-10-05  Brent Verner  <brent@rcfile.org>
2159         * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
2160         test for _M_gcount < in_avail(), as in_avail() only reports info
2161         for current buffer, causing method to return at end of buffer.
2162         * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
2163         * testsuite/27_io/istream_unformatted-3.txt: New file.
2164         * testsuite/27_io/istream_unformatted-3.tst: New file.
2166 2000-10-05  Benjamin Kosnik  <bkoz@fillmore.constant.com>
2168         * README (file): Adjust directory structures.
2169         * mkcheck.in (INC_PATH): Adjust for header changes.
2171 2000-10-05  Phil Edwards  <pme@sources.redhat.com>
2173         * acinclude.m4 (GLIBCPP_CHECK_CTYPE):  Tweaks to message texts
2174           for public relations purposes.
2175         * aclocal.m4:  Regenerated.
2176         * configure:  Regenerated.
2178         * docs/ext/howto.html:  Additional explanation about hashing.
2180 2000-10-05  Benjamin Kosnik  <bkoz@cygnus.com>
2182         * include: New directory.
2183         * include/backward: New directory.
2184         * include/bits: New directory.
2185         * include/ext: New directory.
2186         * include/std: New directory.
2187         * include/*/*: Populate.
2189         * backwards: Move to include/backwards, delete.
2190         * bits: Move to include/bits, delete.
2191         * ext: Move to include/ext, delete.
2192         * std: Move to include/std, delete.
2194         * src/complex.cc: Adjust include of mathconf.
2196         * mkc++config (BASE_H): Add include.
2198         * src/Makefile.am: Support for topleve sources include directory.
2199         (INCLUDES): Add LIBMATH_INCLUDE.
2200         * src/Makefile.in: Regenerate.
2201         * math/Makefile.am (INCLUDES): Append /include.
2202         * math/Makefile.in: Regenerate.
2203         * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
2204         * libio/Makefile.in: Regenerate.
2206 2000-10-04  Benjamin Kosnik  <bkoz@gnu.org>
2208         * libio/_G_config.h : Re-guard the __mbstate_t declaration.
2210 2000-10-03  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2212         * docs/22_locale/howto.html: Add link to proto-documentation on
2213         locales.
2214         * docs/documentation.html: Rename links for clarity.
2216         * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
2217         fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
2218         * src/Makefile.in: Regenerate.
2220 2000-10-02  Steven King  <sxking@uswest.net>
2222         * mkcshadow: Fixed script to output proper include guard.
2223         * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
2224         * libio/_G_config.h: Hacked to make work with shadow heraders.
2225         * shadow/*: Hacked to make shadow headers work.
2227 2000-10-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2229         Self-compile with shadow headers.
2230         * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
2231         like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
2232         it becomes the default way the library is built.
2233         * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
2234         * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
2235         * config/gnu-linux/ctype.cc (ctype): Use it.
2237         * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
2238         call to assert.
2239         * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
2240         memset. This should not be necessary, but an ambiguous overload
2241         with it in.
2243         * shadow/bits/std_cwchar.h: Fix.
2244         * shadow/wchar.h: Fix.
2246         * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
2247         enums into namespace std:: for ctype_base enum. Other OS types
2248         will have to do this as well.
2249         * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
2250         namespace std, in particular __ctype_toupper, __ctype_tolower,
2251         __ctype_b.
2253         * shadow/iolibio.h: New file.
2254         * shadow/bits/wrap_iolibio.h: New file.
2255         * shadow/libioP.h: New file.
2256         * shadow/bits/wrap_libioP.h: New file.
2257         * shadow/bits/wrap_fcntl.h: New file.
2258         * shadow/fcntl.h: New file.
2259         * shadow/iconv.h: New file. Inject iconv names into the global
2260         namespace, unmangled for the moment.
2261         * shadow/bits/wrap_iconv.h: New file.
2262         * shadow/unistd.h: Remove. Useless.
2263         * shadow/bits/wrap_unistd.h: Remove.
2265         * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
2266         * src/Makefile.in: Regenerate.
2268         * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
2270         * shadow/libio.h: Fix.
2271         * shadow/bits/wrap_libio.h: Fix.
2273         * shadow/bits/std_clocale.h: Remove typedef struct construct,
2274         which will not compile.
2275         * shadow/bits/std_ctime.h: Same.
2277         * shadow/pthread.h: New file. Put pthreads types and functions
2278         into global scope, which is probably not the correct long-term
2279         solution but has to be done at the moment before libio wrappers
2280         can even be started.
2281         * shadow/bits/wrap_pthread.h: New file.
2283         * bits/std_ios.h: Formatting tweak.
2284         * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
2286         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
2287         tests for compiler features.
2288         * aclocal.m4: Regenerate.
2289         * configure: Regenerate.
2291         * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
2292         redefined.
2293         * libio/libioP.h: Comment out fcntl.h include.
2295         * shadow/math.h: Add in float and long declarations, as per ISO C9X.
2297         * bits/c++config: Define _ISOC99_SOURCE.
2299         * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
2300         CSHADOWFLAGS, as well as _ISOC99_SOURCE.
2301         * aclocal.m4: Regenerate.
2302         * configure: Regenerate.
2303         * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
2304         (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
2305         (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
2306         std or shadow directories.
2307         (LTCXXCOMPILE): Same.
2308         (INCLUDES): Add $(top_builddir) before $(top_srcdir).
2309         (AC_CXXFLAGS): Add CSHADOWFLAGS.
2310         * src/Makefile.in: Regenerate.
2312         * src/complex.cc (FCT): Change ::name to name.
2313         * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
2314         * src/complexf.cc (FCT): Same.
2316         * src/complexf.cc: Remove FCT define, as things are properly
2317         overloaded in the std namespace with the shadow headers.
2318         * src/complexl.cc: Same.
2319         * src/complex.cc: Same.
2321 2000-09-25  Phil Edwards  <pme@sources.redhat.com>
2323         * docs/documentation.html:  Add link to...
2324         * docs/ext/howto.html:  ...this.  New dir/file, describing library
2325           extensions (both ours and SGI's).
2326         * docs/faq/index.html:  Small updates.
2327         * docs/faq/index.txt:  Regenerate.
2329 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2331         * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
2333 2000-09-25  Levente Farkas  <lfarkas@mindmaker.hu>
2335         * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
2337 2000-09-19  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2339         * src/localename.cc (locale::_Imp) : Remove typedefs.
2340         * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
2341         __f): Consistency check, call _Imp ctor with reference argument
2342         of 1.
2343         * bits/localefwd.h: Change _S_num_categories to
2344         _S_categories_num. Add new data member, _S_facets_num, which is
2345         the number of standard facets.
2347 2000-09-19  Phil Edwards  <pme@sources.redhat.com>
2349         * docs/21_strings/howto.html:  Fix editor lossage from last commit.
2351 2000-09-19  Phil Edwards  <pme@sources.redhat.com>
2353         * docs/thanks.html:  More thanks.
2354         * docs/18_support/howto.html:  Fix thinko.
2355         * docs/21_strings/howto.html:  Minor tweaks and updates to URLs.
2356           Redo the string transformation notes and link to...
2357         * docs/22_locale/howto.html:  ...here.
2359 2000-09-18  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2361         * src/locale-inst.cc: Add time_put_byname and
2362         time_get_byname instantiations.
2363         * bits/locale_facets.h: Correct default, private derivation to
2364         public derivation in _byname declarations.
2365         * src/locale.cc (locale::classic()): Simplify.
2366         * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
2367         const string& __name, category __cat, size_t __refs): Re-work for
2368         named locales.
2369         (_M_normalize_category_names): Remove.
2371         * testsuite/22_locale/global_templates.cc (test01): Tweaks.
2372         * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2374 2000-09-18  Yuri V. Baskakov  <yuribsk@lab.sun.mcst.ru>
2376         * bits/std_bitset.h (operator>>): Change to char_type.
2378 2000-09-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2380         * src/locale.cc (locale::locale(const char* __name)): Consolidate
2381         name setting. Add checks for NULL __name pointers. Remove calls to
2382         _S_initialize() as initial locale initialization can either be
2383         assumed, or needs to be made consistent throughout locale
2384         constructors.
2385         (locale::locale(const locale& __other, const char* __name,
2386         category __cat): Add checks for NULL name. Add checks for
2387         assignment to self.
2388         * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
2389         const string& __name, category __cat, size_t __refs)): Set correct
2390         name, has_name values.
2391         * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2392         * docs/22_locale/locale.html: New file, more unfinished docs...
2394 2000-09-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2396         * src/locale.cc (locale::name()): Implement.
2397         (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
2398         string __name = "*")): Change signature.
2399         (locale::classic): Initialize the "C" locale as a named locale.
2400         * bits/localefwd.h (locale): Change _M_num_references to
2401         _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
2402         to _M_name.
2403         * bits/localefwd.h: Tweaks.
2404         * src/localename.cc: Tweaks.
2405         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
2406         (test01): Fix.
2408         * bits/basic_string.h: Consistency check, change _M_state ->
2409         _M_references.
2411 2000-09-14  Brendan Kehoe  <brendan@zen.org>
2413         * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
2414         return type.
2416         * src/Makefile.an (headers): Also install backward/fstream.h.
2417         * src/Makefile.in: Regenerate.
2419         * bits/char_traits.h (char_traits<_CharT>::get_state,
2420         char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
2421         argument in by reference, not by value. Uglify to _S_get_state.
2422         (char_traits<*>::__eos): Uglify to _S_eos.
2423         * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
2424         Change __eos to _S_eos.
2426 2000-09-13  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2428         * testsuite/22_locale/static_members.cc: New file.
2429         * testsuite/22_locale/ctor_copy_dtor.cc: New file.
2430         * src/locale.cc: Minor formatting tweaks.
2432 2000-09-12  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2434         * testsuite/22_locale/global_templates.cc (test01): Add negative
2435         tests for use_facet.
2437         * bits/localefwd.h (locale::operator()): Minor tweaks.
2438         * bits/locale_facets.tcc (locale::operator()): Same.
2439         * testsuite/22_locale/operators.cc: New file.
2441         * testsuite/22_locale/facet.cc (output_iterator): Remove
2442         gnu_input_iterator, gnu_output_iterator.
2444 2000-09-11  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2446         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
2447         * aclocal.m4: Regenerate.
2448         * configure: Regenerate.
2450         * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
2451         snapshot release soon.
2452         (_GNU_SOURCE): Define this in the header files, as ISO C99 support
2453         is pretty much assumed.
2455         * testsuite/22_locale/global_templates.cc: New file. Add tests for
2456         use_facet and has_facet.
2458         * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
2459         Modify/correct iconv signatures for glibc2.2.
2461 2000-09-10  Branko Cibej  <branko.cibej@hermes.si>
2463         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
2464           "grep -c".
2466 2000-09-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2468         * bits/localefwd.h (locale::_Impl): Scope out types to public.
2469         (locale): Make _Impl declaration public.
2471 2000-09-08  Felix Natter  <fnatter@gmx.net>
2473         * docs/17_intro/porting-howto.html:  New version.
2475 2000-09-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2477         * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
2478         to __unused__.
2479         * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
2480         * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
2482 2000-09-07  Phil Edwards  <pme@sources.redhat.com>
2484         Add bits for --enable-maintainer-mode:
2485         - turns on enable_debug
2486           (doing "--enable-maint --disable-debug" will DTRT)
2487         - turns on -Werror, now off by default
2488         * acinclude.m4: Add bits.
2489         * aclocal.m4: Regenerate.
2490         * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
2491         * configure: Regenerate.
2493 2000-09-07  Benjamin Kosnik  <bkoz@cygnus.com>
2495         * bits/std_cwctype.h: Remove yesterday's hacks.
2497 2000-09-07  Brad Garcia  <bgarcia@laurelnetworks.com>
2499         * bits/stl_tree.h: Make operators !=, == type safe for map, set.
2500         * testsuite/23_containers/set_operators.cc: New file. Should not
2501         compile.
2502         * testsuite/23_containers/map_operators.cc: New file. Ditto.
2504 2000-09-06  Richard Henderson  <rth@cygnus.com>
2505             Benjamin Kosnik  <bkoz@cygnus.com>
2507         * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
2508         * aclocal.m4: Regenerate.
2509         * configure: Regenerate.
2510         * config/cpu/ia64: New directory.
2511         * config/cpu/ia64/bits: New directory.
2512         * config/cpu/ia64/bits/atomicity.h: New file.
2514 2000-09-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2516         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
2517         to no, so that libstdc++-v3's libio will be built on glibc-2.2
2518         systems.
2519         * aclocal.m4: Regenerate.
2520         * configure: Regenerate.
2521         * */Makefile.in: Regenerate.
2523         * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
2524         glibc 2.1.x unsigned errors. Or disable -Werror by default...
2526         * testsuite/23_containers/vector_element_access.cc: New file.
2527         * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2529 2000-09-06  Levente Farkas  <lfarkas@mindmaker.hu>
2531         * bits/string.tcc: Fix up more parameter names.
2533 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2535         * configure: Rebuilt with new libtool.m4.
2537 2000-09-01  Benjamin Kosnik  <bkoz@cygnus.com>
2539         * src/locale-inst.cc: Remove pre-instantiation of unicode
2540         codecvt types. Now unnecessary, as locale header now correct.
2542 2000-08-31  Benjamin Kosnik  <bkoz@cygnus.com>
2544         * bits/locale_facets.tcc (_S_build_float_format): Move ...
2545         * src/locale.cc: Here.
2546         * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
2547         definition. Move specialization to ...
2548         * src/locale.cc: Here.
2549         * bits/locale_facets.tcc: Move _Format_cache specializations to ...
2550         * src/locale.cc: Here.
2551         * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
2552         * src/locale.cc: Here.
2554         * bits/std_locale.h: Note that locale_facets.tcc should be
2555         included here, for standards conformance. It may increase
2556         compile times though. For the time being, enable.
2557         * testsuite/22_locale/facet.cc: New file, some parts commented out
2558         for the time being.
2560         * mkcheck.in: Append total time to test summary file.
2562         * bits/sbuf_iter.h : Formatting tweaks.
2564         Clean up static const data member definitions.
2565         * src/locale.cc: Add definitions for all missing locale,
2566         locale::_Imp, and locale::id static data members.
2567         (ctype<char>): Add table_size define.
2568         (money_base): Add _S_default_pattern, uglify.
2569         * bits/localefwd.h: Add definitions for static members of _Count_ones.
2570         * bits/locale_facets.h: Tweaks.
2571         * bits/locale_facets.tcc: Tweaks.
2572         * bits/string.tcc: Add definition for npos.
2573         * bits/ios_base.h: Tweaks.
2574         * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
2575         _S_ios_base_init.
2576         * src/ios.cc: And here. Add _S_local_words definition.
2577         Add definitions for __ios_flags const static data.
2578         * src/codecvt.cc: Same for __enc_traits.
2579         * src/locale-inst.cc: Remove money_base data member definition
2580         here.
2582 2000-08-30  Benjamin Kosnik  <bkoz@redhat.com>
2584         * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2586         * docs/22_locale/codecvt.html: Re-number.
2587         * docs/22_locale/howto.html: Add entry for ctype
2588         documentation. Add entry for Nathan's introduction to locales
2589         paper.
2590         * docs/22_locale/ctype.html: New file. In progress...
2592         * docs/22_locale/codecvt.html: Formatting cleanups.
2593         * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2595 2000-08-30  Phil Edwards  <pme@sources.redhat.com>
2597         * docs/22_locale/codecvt.html:  Behind-the-scenes ASCII->HTML
2598           tweaks for certain browsers.
2600 2000-08-29  Benjamin Kosnik  <bkoz@redhat.com>
2602         * bits/locale_facets.h (ctype<char>): Remove __table_type.
2603         Add include for bits/std_cwctype.h, for wctype_t.
2604         * src/locale.cc (ctype<wchar_t>): Implement.
2605         * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
2606         typedef, instead name enum.
2607         * config/gnu-linux/bits/ctype_specializations.h: Tweak.
2608         * config/gnu-linux/ctype.cc: Tweak.
2609         * testsuite/22_locale/ctype.cc: Tweak.
2611         * bits/codecvt.h (__enc_traits): Uglify names.
2613 2000-08-28  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2615         * docs/22_locale/codecvt.html: Add more bits, format.
2616         * bits/codecvt.h: Add copy ctor, rename types.
2617         * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
2619         * libio/iofwide.c: Tweak.
2621 2000-08-28  Phil Edwards  <pme@sources.redhat.com>
2623         * docs/configopts.html:  Mention new options.
2624         * docs/install.html:  Formatting changes for platform-specific
2625           pre-reqs, previously only Cygwin.
2626         * docs/mail.html:  Fix new link.
2627         * docs/thanks.html:  A couple more people.
2628         * docs/26_numerics/howto.html:  Fix typo.
2630 2000-08-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2632         * docs/22_locale/howto.html: Add notes on codecvt implementation.
2633         * docs/22_locale/codecvt.html: New file. In progress.
2635 2000-08-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2637         * acconfig.h: Revert.
2638         * acinclude.m4: Revert.
2639         * libio/_G_config.h: Revert.
2640         * libio/libio.h: Revert.
2642 2000-08-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2644         * bits/codecvt.h: Tweaks.
2645         * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2646         initial string literals for UCS4.
2648 2000-08-23  Phil Edwards  <pme@sourceware.cygnus.com>
2650         * acconfig.h:  _GLIBCPP_USING_THREADS and some workaround types added.
2651         * acinclude.m4:  New macro, GLIBCPP_ENABLE_WCHAR.  Set the threads
2652           definition as well, and some minor spelling/spacing fixes.  If
2653           building libio, check for certain typedefs.
2654         * libio/_G_config.h:  Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2655           Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2656           will never be there.
2657         * libio/libio.h:  In the null case, _IO_lock_t can't just be void.
2658         * src/string-inst.cc:  Use _GLIBCPP_USE_WCHAR_T.
2660         * configure.in:  Update the cache a bit more often.
2662         * mkcheck.in:  For check-install, also need to -I the testsuite dir.
2664 2000-08-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2666         * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2667         __enc_traits> instantiations for has_facet and use_facet.
2668         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2669         testing two-byte unicode encodings converted to four-byte UCS4
2670         encodings.
2672         * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2673         * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2674         correct state/encoding information.
2676         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2677         mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2678         now.
2679         Add checks for langinfo.h, nl_langinfo function call.
2680         * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2682 2000-08-22  Richard B. Kreckel  <Richard.Kreckel@Uni-Mainz.DE>
2684         * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2685         ((unused)) to __attribute__ ((__unused__)).
2686         * config/cpu/arm/bits/atomicity.h: Same.
2687         * config/cpu/generic/bits/atomicity.h: Same.
2688         * config/cpu/i386/bits/atomicity.h: Same.
2689         * config/cpu/i486/bits/atomicity.h: Same.
2690         * config/cpu/powerpc/bits/atomicity.h: Same.
2691         * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2692         * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2694 2000-08-22  Levente Farkas  <lfarkas@mindmaker.hu>
2696         * bits/basic_string.h: Fix up parameter names.
2698 2000-08-22  Brent Verner <brent@rcfile.org>
2700         * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2701         $(top_srcdir)
2702         * src/Makefile.in: Regenerate.
2704 2000-08-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2706         * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2707         up __enc_traits template so as to be marginally useful.
2708         * src/codecvt.cc: And here.
2709         * bits/char_traits: Tweak.
2710         * bits/locale_facets.h: Tweak.
2711         * bits/locale_facets.tcc: Tweak.
2712         * bits/localefwd.h: Tweak.
2713         * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2714         * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2715         * testsuite/22_locale/codecvt_char_char.cc: New file.
2716         * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2718 2000-08-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2720         * bits/std_cmath.h (std::abs): Overload for int and long.
2722 2000-08-20  Benjamin Kosnik  <bkoz@gnu.org>
2724         * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2726 2000-08-19  Gabriel Dos Reis  <gdr@codesourcery.com>
2728         * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2729         thinko. Diagnostic messages really need to be improved for
2730         template argument deduction.
2732 2000-08-18  Benjamin Kosnik  <bkoz@gnu.org>
2734         * bits/valarray_meta.h: Fix typos...
2736 2000-08-18  Gabriel Dos Reis  <gdr@codesourcery.com>
2738         * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2739         _Expr<>::apply): Implement.
2741 2000-08-18  Gabriel Dos Reis  <gdr@codesourcery.com>
2743         * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2745         * bits/valarray_array.h (__valarray_min, __valarray_max): New
2746         function.
2748 2000-08-17  Mark Mitchell  <mark@codesourcery.com>
2750         * bits/localefwd.h (std::locale): Use explicit `class' specified
2751         when declaring friends.
2752         * bits/std_fstream.h (std::basic_filebuf): Likewise.
2754 2000-08-16  Alexandre Oliva  <aoliva@redhat.com>
2756         * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2757         * src/Makefile.in: Regenerate.
2759 2000-08-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2761         * bits/codecvt.h: New file.
2762         * src/codecvt.cc: New file.
2763         * bits/std_locale.h: Add include here.
2764         * src/Makefile.am (headers): Add codecvt.h
2765         (sources): Add codecvt.cc.
2766         * src/Makefile.in: Regenerate.
2767         * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2768         __codecvt_abstract_base in an attempt to point some light this way...
2769         Move __enc_traits and codecvt bits to codecvt.h.
2770         * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2771         explicit instantiation. Separate out codecvt instantiations, simplify.
2772         * src/locale.cc: Move codecvt bits to codecvt.cc
2774 2000-08-15  Alexandre Oliva  <aoliva@redhat.com>
2776         * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2777         * src/Makefile.in: Regenerate.
2779 2000-08-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2781         C/C++ io merge/sync.
2782         * libio/fileops.c
2783         * libio/genops.c
2784         * libio/iofclose.c
2785         * libio/iofopen.c
2786         * libio/iofwide.c
2787         * libio/libio.h
2788         * libio/libioP.h
2789         * libio/stdio.c
2790         * libio/wfileops.c
2791         * libio/wgenops.c
2792         * config/c_io_libio.cc (__basic_file): Add hacky casts to
2793         ((struct _IO_FILE_plus *) in ctors.
2794         (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2795         * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2796         * libio/cleanup.c: Remove.
2797         * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2798         _IO_cleanup_registration_needed, even if not libc.
2800         * testsuite/27_io/stringstream.cc (test02): Fix.
2802 2000-08-14  Brent Verner <brent@rcfile.org>
2804         * testsuite/debug_assert.h: new file
2805         * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2806         changed conditional #include <c?assert.?h?> to
2807         unconditional #include <debug_assert.h>
2808         * mkcheck.in: added $SRC_DIR/testsuite to include search path
2809         for testsuite compile command.
2811 2000-08-14  Levente Farkas  <lfarkas@mindmaker.hu>
2813         * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2814         wofstream, filebuf, wfilebuf, fstream, wfstream.
2815         * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2816         * bits/std_sstream.h: Same for stringstream and wstringstream.
2817         Same for stringbuf, wstringbuf, istringstream, wistringstream,
2818         ostringstream, wostringstream.
2820         * testsuite/26_numerics/valarray.cc: Add test.
2822 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
2824         * configure: Regenerate after change to ../libtool.m4.
2826 2000-08-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2828         * bits/locale_facets.tcc: Formatting tweaks.
2829         * bits/locale_facets.h (__enc_traits): Start integrating this
2830         into codecvt, ctype. Formatting tweaks.
2832 2000-08-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2834         Preliminary wchar_t implementation, with trivial encodings.
2835         * docs/configopts.html: Add bits about canonical configure option
2836         checking.
2838         * testsuite/27_io/iostream_objects.cc: Replace this file (which
2839         has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2840         * testsuite/27_io/narrow_stream_objects.cc: New file.
2841         * testsuite/27_io/wide_stream_objects.cc: New file.
2843         * bits/fstream.tcc (underflow): Temporarily hack a solution
2844         together that writes from the external file to the internal
2845         buffers. This removes codecvt from the loop, and is incorrect.
2846         (_M_really_overflow): Same here.
2848         * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2850 2000-08-08  Benjamin Kosnik  <bkoz@cygnus.com>
2851             Ulrich Drepper  <drepper@cygnus.com>
2853         * config/c_io_libio.h: Tweak.
2854         * config/c_io_libio_codecvt.c: New file.
2855         * libio/Makefile.am: Add c_codecvt.c.
2856         * libio/Makefile.in: Regenerate.
2857         * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2858         stream is not orientated.
2860         * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2861         encoding gets fleshed out.
2863         * bits/basic_file.h: Add specialization declarations.
2864         * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2866         * config/c_io_libio.h: Add __c_wfile_type.
2867         * bits/basic_file.h: Add _M_wfile.
2869         * config/c_io_libio.cc (__basic_file<char>): Initialize the
2870         streams without setting the orientation of the underlying FILE to
2871         either wide or narrow.
2872         (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2874 2000-08-07  Felix Natter  <fnatter@gmx.net>
2876         * docs/17_intro/porting-howto.html:  New version.
2878 2000-08-03  Mark Mitchell  <mark@codesourcery.com>
2880         * bits/locale_facets.h (ctype::ctype): Don't name unused
2881         parameters.
2883 2000-08-01  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2885         * docs/install.html: Edit bits about requiring a special version
2886         of the autotools.
2888 2000-07-31  Benjamin Kosnik  <bkoz@cygnus.com>
2890         * libio/fileops.cc: Update to current glibc sources.
2891         * libio/genops.c: Same.
2892         * libio/iofwide.c: Same.
2893         * libio/libio.h: Same.
2894         * libio/libioP.h: Same.
2895         * libio/wfiledoalloc.c: Same.
2896         * libio/wgenops.c: Same.
2898 2000-07-28  Alexandre Oliva  <aoliva@redhat.com>
2900         * acinclude.m4: Include ../libtool.m4.
2901         * aclocal.m4, configure: Rebuilt.
2903 2000-07-26  Phil Edwards  <pme@sourceware.cygnus.com>
2905         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Test for GNU ld
2906           before trying to use any of its options.
2907           (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*):  Cache tests.
2908         * aclocal.m4:  Regenerate.
2909         * configure.in:  Having found GNU make, name it.
2910         * configure:  Regenerate.
2911         * docs/install.html:  Mention possible problems with caching.
2912         * src/Makefile.am (CXXLINK):  Use new OPT_LDFLAGS.
2913         * src/Makefile.in:  Regenerate.
2914         * libio/Makefile.in:  Regenerate.
2915         * math/Makefile.in:  Regenerate.
2916         * Makefile.in:  Regenerate.
2918 2000-07-26  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2920         * src/misc-inst.cc (std): Remove instantiations.
2922         * acinclude.m4: Add forward-looking bits for autoconf.
2923         * aclocal.m4: Regenerate.
2925         * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2927 2000-07-25  Benjamin Kosnik  <bkoz@gnu.org>
2929         * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2930         it back for current versions of maintainer-tools...
2931         * acinclude.m4: Some cleanups...
2932         * aclocal: Regenerated.
2933         * configure: Regenerated.
2935         * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2936         optimizing/adapting the hash table using GNU ld.
2937         * src/Makefile.in: Regenerate.
2939 2000-07-24  H.J. Lu  <hjl@gnu.org>
2941         * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2942         even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2943         files don't include private libio header files needed by
2944         libstdc++ v3.
2945         * src/Makefile.in: Rebuild.
2947 2000-07-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2949         * bits/std_fstream.h: Parameterize __basic_file.
2950         * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2951         * bits/basic_file.h: Same here.
2953         * bits/istream.tcc (getline): Tweaks.
2955         * bits/fstream.tcc: Shorten __retval to __ret.
2956         * bits/ostream.tcc: Same.
2957         * bits/sbuf_iter.h: Same.
2958         * bits/sstream.tcc: Same.
2959         * bits/streambuf.tcc: Same.
2960         * bits/std_fstream.h: Same.
2961         * src/string-inst.cc: Same.
2962         * src/ios.cc: Same.
2963         * config/c_io_libio.cc: Same.
2964         * bits/string.tcc: Same.
2965         * bits/std_streambuf.h: Same.
2967 2000-07-23  Brent Verner <brent@rcfile.org>
2969         * bits/istream.tcc: istream::getline(char_type*, streamsize,
2970         char_type) make compliant
2971         * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2973 2000-07-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2975         * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2976         and srcdir used to define CSHADOW_INCLUDES..
2978         * configure.in: For consistency, change .sanity_warned to
2979         stamp-sanity-warned.
2981         * acinclude.m4: Tweak formatting.
2982         * Makefile.am (check): Call mkcheck with full pathname for build
2983         directory...
2984         (check-install): And here.
2985         * Makefile.in: Regenerate.
2987 2000-07-22  Gabriel Dos Reis  <gdr@codesourcery.com>
2989         Line up with libstdc++-v2 version of valarray.
2990         * bits/valarray_array.h (__valarray_product): Make inline.
2991         * src/valarray-inst.cc (__valarray_product): Remove explicit
2992         instantiation.
2994 2000-07-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2996         * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2997         for alpha.
2999         * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
3000         Change return type to void.
3001         * testsuite/25_algorithms/lower_bound.cc: Add return values.
3002         * testsuite/17_intro/header_ciso646.cc: Modify.
3003         * bits/locale_facets.h: Add return values for the generic cases.
3005 2000-07-21  H.J. Lu  (hjl@gnu.org)
3007         * acinclude.m4: Include <features.h> for glibc testing.
3008         * aclocal.m4: Likewise.
3010         * configure: Rebuild.
3012 2000-07-20  H.J. Lu  (hjl@gnu.org)
3014         * acinclude.m4: Change "#pragma system_header" to
3015         "#pragma GCC system_header".
3016         * aclocal.m4: Likewise.
3017         * bits/std_cmath.h: Likewise.
3018         * bits/std_cassert.h: Likewise.
3019         * bits/std_cctype.h: Likewise.
3020         * bits/std_cerrno.h: Likewise.
3021         * bits/std_cfloat.h: Likewise.
3022         * bits/std_climits.h: Likewise.
3023         * bits/std_clocale.h: Likewise.
3024         * bits/std_cwchar.h: Likewise.
3025         * bits/std_csetjmp.h: Likewise.
3026         * bits/std_csignal.h: Likewise.
3027         * bits/std_cstdarg.h: Likewise.
3028         * bits/std_cstddef.h: Likewise.
3029         * bits/std_cstdio.h: Likewise.
3030         * bits/std_cstdlib.h: Likewise.
3031         * bits/std_cstring.h: Likewise.
3032         * bits/std_ctime.h: Likewise.
3033         * bits/std_cwctype.h: Likewise.
3034         * bits/std_exception.h: Likewise.
3035         * bits/std_new.h: Likewise.
3036         * bits/std_typeinfo.h: Likewise.
3037         * shadow/bits/std_cassert.h: Likewise.
3038         * shadow/bits/std_cctype.h: Likewise.
3039         * shadow/bits/std_cerrno.h: Likewise.
3040         * shadow/bits/std_cfloat.h: Likewise.
3041         * shadow/bits/std_climits.h: Likewise.
3042         * shadow/bits/std_clocale.h: Likewise.
3043         * shadow/bits/std_cmath.h: Likewise.
3044         * shadow/bits/std_csetjmp.h: Likewise.
3045         * shadow/bits/std_csignal.h: Likewise.
3046         * shadow/bits/std_cstdarg.h: Likewise.
3047         * shadow/bits/std_cstddef.h: Likewise.
3048         * shadow/bits/std_cstdio.h: Likewise.
3049         * shadow/bits/std_cstdlib.h: Likewise.
3050         * shadow/bits/std_cstring.h: Likewise.
3051         * shadow/bits/std_ctime.h: Likewise.
3052         * shadow/bits/std_cwchar.h: Likewise.
3053         * shadow/bits/std_cwctype.h: Likewise.
3054         * shadow/bits/wrap_libio.h: Likewise.
3055         * shadow/bits/wrap_unistd.h: Likewise.
3056         * shadow/sys/cdefs.h: Likewise.
3058         * configure: Rebuild.
3060 2000-07-20  Jakub Jelinek  <jakub@redhat.com>
3062         * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
3063         Use extended word instructions to match 64bit _Atomic_word.
3064         (__atomic_add): Likewise.
3065         * math/clog10l.c (clog10l): Use M_PIl if defined.
3066         * math/c_logl.c (c_logl): Likewise.
3067         * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
3068         * math/mathconf.h (ieee_quad_double_shape_type): New type.
3069         (GET_LDOUBLE_MSW64): New define.
3071 2000-07-20  Benjamin Kosnik  <bkoz@cygnus.com>
3073         * bits/std_streambuf.h: Add bits for pback buffers here, so that
3074         in_avail, etc can use them.
3075         * bits/std_fstream.h: Ditto.
3076         * bits/fstream.tcc: Ditto.
3077         * testsuite/27_io/filebuf.cc: Tweaks.
3078         * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
3080 2000-07-19  Benjamin Kosnik  <bkoz@cygnus.com>
3082         * src/localename.cc: Same.
3083         * src/locale.cc: Same.
3084         * bits/localefwd.h: _M_init_facet to _M_facet_init.
3086         * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
3088         * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
3090         * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
3091         * bits/std_fstream.h: Same.
3093         * bits/basic_string.h: Tweaks.
3095 2000-07-19  Phil Edwards  <pme@sourceware.cygnus.com>
3097         * docs/18_support/howto.html:  Update.
3099 2000-07-19  Benjamin Kosnik  <bkoz@milou.soma.redhat.com>
3101         Internal consistency checks.....
3102         * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
3103         * src/ios.cc: Same.
3105         * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
3106         * bits/basic_ios.tcc: Same.
3108         * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
3109         Change _M_fctype_buf to _M_buf_fctype.
3110         * bits/fstream.tcc: Same.
3112         * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
3113         Change _M_locale_set to _M_buf_locale_init.
3114         * bits/streambuf.tcc: Same.
3115         * bits/sstream.tcc: Same.
3116         * bits/fstream.tcc: Same.
3118         * bits/std_streambuf.h: Make typedefs consistent.
3119         (_M_buf_bump): Be more careful with input sequence.
3121         * bits/std_sstream.h: Same.
3122         * bits/std_fstream.h: Same.
3124 2000-07-18  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3126         * acinclude.m4: Tweaks.
3127         * config/c_io_libio.cc: Tweaks.
3128         * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
3129         * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
3130         * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
3131         * libio/iofclose.c iofopen.c, stdio.c: New files.
3132         * libio/Makefile.am: Add files, add flags, etc.
3133         * src/Makefile.am (sources): Add filebuf.cc.
3134         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
3135         (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
3137 2000-07-17  Phil Edwards  <pme@sourceware.cygnus.com>
3139         * acinclude.m4:  Import CHECK_GNU_MAKE from autoconf macro archive.
3140         * configure.in:  Use it.  Also print reminders one time.
3141         * aclocal.m4:  Regenerate.
3142         * configure:  Regenerate.
3144 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
3146         * bits/valarray_array.h (__valarray_get_storage): New function.
3147         (_Array<>::Array): Use it.
3148         * bits/std_valarray.h (valarray<>::valarray): Likewise.
3149         (valarray<>::resize): Likewise.  Tweak.
3150         * src/valarray-inst.cc (__valarray_product): Tweak.
3152 2000-07-11  Phil Edwards  <pme@sourceware.cygnus.com>
3154         * docs:  Update sourceware->sources in every HTML file.  Minor updates.
3156 2000-07-07  Benjamin Kosnik  <bkoz@soma.redhat.com>
3158         Clean up configure/build longstanding issues.
3159         * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
3160         (CXXLINK): Add here, instead.
3162         * Makefile.am (check-install): Make sure mkcheck has execute privs.
3163         (check): Same here.
3164         * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
3166         * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
3167         c_io_libio.cc instead of copying.
3168         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
3170         * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
3171         c++threads.h instead of copying.
3172         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
3173         Tweaks.
3175         * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
3176         * bits/basic_file.h: Declare.
3178         * mkcheck.in (TESTS_FILE): Use -v instead of --version.
3180 2000-07-07  brent verner  <brent@rcfile.org>
3182         * testsuite/27_io/istream_unformatted.cc (test05): New test.
3184 2000-07-07  Benjamin Kosnik  <bkoz@gnu.org>
3186         * bits/istream.tcc (istream::getline): Minor tweaks.
3188 2000-07-07  Phil Edwards  <pme@sourceware.cygnus.com>
3190         * docs/download.html:  Mention gcc_update.
3191         * docs/configopts.html:  Minor updates.
3192         * docs/gccrebuild.html:  Ditto.
3193         * docs/18_support/howto.html:  More tips, explanations, and reminders.
3194         * docs/19_diagnostics/howto.html:  Ditto.
3195         * docs/21_strings/howto.html:  Ditto.
3196         * docs/24_iterators/howto.html:  Ditto.
3197         * docs/25_algorithms/howto.html:  Ditto.
3198         * docs/26_numerics/howto.html:  Ditto.
3200 2000-07-05  brent verner  <brent@rcfile.org>
3202         * testsuite/27_io/ifstream_members.cc (test01): Add tests.
3203         * testsuite/27_io/ofstream_members.cc (test01): Add tests.
3204         * config/c_io_libio.cc (__basic_file::open): Unset
3205         ~_IO_DELETE_DONT_CLOSE.
3207 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
3209         * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
3210         bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
3211         Do not paste anything after 'operator' keyword.
3213 2000-07-03  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3215         * bits/std_memory.h: Revert.
3217 2000-07-03  Brendan Kehoe  <brendan@zen.org>
3219         * bits/std_complex.h: Fix parens. Format.
3221 2000-07-03  scott snyder  <snyder@fnal.gov>
3223         * bits/locale_facets.tcc (_M_extract): Only figure out the base
3224         from the input if base == 0.
3225         * testsuite/27_io/istream_extractor_arith.cc: Test reading a
3226         number with a leading `0' in hex mode.
3228         * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
3230         * mkinclosure: Change `==' to `=' in test.
3232 2000-07-03  Chip Salzenberg  <chip@valinux.com>
3234         * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
3235         not builddir.
3236         * src/Makefile.in: Regenerate.
3238 2000-07-01  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3239             Ulrich Drepper  <drepper@purist.soma.redhat.com>
3241         Sync libio to glibc-2.2 current CVS.
3242         * libio/_G_config.h: New file.
3243         * libio/wfileops.c: New file.
3244         * libio/wfiledoalloc.c: New file.
3245         * libio/wgenops.c: New file.
3246         * libio/iofwide.c: New file.
3247         * libio/Makefile.am: Tweaks.
3248         * libio/Makefile.in: Regenerate.
3249         * libio/gen-params: Remove. Generic replacement for this yet undone.
3250         * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
3251         libioP.h, stdfiles.c]: Update.
3252         * config/c_io_libio.cc: Tweaks.
3253         * acinclude.m4: Complete hacks to test wide io.
3254         * aclocal.m4: Regenerate.
3255         * configure: Regenerate.
3256         * src/Makefile.am: Update.
3257         * src/Makefile.in: Regenerate.
3259         * math/cargl.c: Remove underscores.
3261         * bits/locale_facets.h: Tweaks. Start adding iconv details
3262         and notes.
3263         * bits/locale_facets.tcc: Tweaks.
3264         * bits/std_cwchar.h: Tweaks.
3266 2000-06-29  scott snyder  <snyder@fnal.gov>
3268         * bits/concept_checks.h
3269         (__less_then_comparable_requirement_violation): Only check for <.
3270         * testsuite/25_algorithms/lower_bound.cc: New file.
3272 2000-06-29  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3274         * testsuite/27_io/ostream_manip.cc (test02): Add tests.
3275         * bits/ostream.tcc: Tweak.
3276         * bits/std_fstream.h (basic_filebuf::setbuf): Reset
3277         _M_buf_size_opt too.
3278         * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
3279         out _M_buf_size_opt.
3280         * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
3281         _M_buf_size_opt out here.
3282         * bits/char_traits.h (char_traits::eos): Non standard member
3283         function, uglify to __eos. Return char_type().
3284         * bits/std_ostream.h: Change.
3286         * testsuite/27_io/ostream_seeks.cc: New file.
3287         * testsuite/27_io/ostream_seeks-1.tst: New file.
3288         * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
3289         test05 to...
3290         * testsuite/27_io/istream_seeks.cc: New file.
3292 2000-06-29  Branko Cibej  <branko.cibej@hermes.si>
3294         * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
3295         _GLIBCPP_RESOLVE_LIB_DEFECTS.
3296         (auto_ptr): _M_ptr changed to void*.
3297         (suto_ptr::get): Cast _M_ptr to element type.
3298         (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
3299         (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
3300         (auto_ptr::operator*): Likewise.
3301         (auto_ptr::operator->): Likewise.
3302         (auto_ptr::release): Likewise.
3303         (auto_ptr::reset): Likewise.
3304         (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
3305         (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
3306         Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
3307         Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
3309 2000-06-28  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3311         * testsuite/27_io/filebuf.cc: Tweak.
3312         * testsuite/27_io/filebuf_members.cc (test_01): Fix.
3313         * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
3314         filebuf dtor.
3315         (__basic_file::basic_file): Clean, add calls similar to
3316         _IO_file_attach.
3317         (__basic_file::open): Clean.
3318         (__basic_file::sys_open): Clean.
3320         * bits/std_fstream.h: Revert.
3321         * bits/fstream.tcc (filebuf::close()): Revert.
3322         (filebuf::basic_filebuf()): Revert.
3324 2000-06-27  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3326         Update to SGI STL 3.3
3327         * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
3328         ext/stl_rope.h, ext/ropeimpl.h: Update.
3329         * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
3330         bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
3331         bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
3332         bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
3333         bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
3334         bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
3335         bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
3336         bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
3337         bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
3339         * src/Makefile.am (headers): Add new files.
3340         * src/Makefile.in: Regenerate.
3341         * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
3342         * bits/concept_checks.h: New file.
3343         * bits/container_concepts.h: New file.
3344         * bits/sequence_concepts.h: New file.
3346 2000-06-27  H.J. Lu  <hjl@gnu.org>
3347             Loren J. Rittle  <ljrittle@acm.org>
3349         * mkcheck.in: Add support to print standard flags needed to
3350         test g++ in build tree.  Enhance command line error checking.
3352 2000-06-27  Phil Edwards  <pme@sourceware.cygnus.com>
3354         * docs/install.html:  Fix minor typo as reported.
3356 2000-06-26  Brent Verner <brent@rcfile.org>
3358         * bits/string.tcc (string::rfind): Fix.
3359         * testsuite/21_strings/rfind.cc: New file.
3361 2000-06-26  Anthony Williams  <anthony@anthonyw.cjb.net>
3363         * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
3365 2000-06-26  Branko Cibej  <branko.cibej@hermes.si>
3367         * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
3369         * mkcheck.in: Make the *.txt and *.tst files writable after
3370           copying them to $TEST_DIR.
3372         * testsuite/27_io/ostream_inserter_arith.cc: Renamed
3373           __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE.  Define
3374           TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
3376 2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3378         * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
3379         (basic_filebuf::close): Use it.
3380         * bits/std_fstream.h (basic_filebuf): Remove default arguments for
3381         filebuf ctor.
3382         (basic_filebuf): Add _M_fileno_based data member.
3383         As reported by brent verner <brent@rcfile.org>
3384         * testsuite/27_io/filebuf_members.cc: New file.
3385         * testsuite/27_io/filebuf_members-1.tst: New file.
3387         * bits/std_fstream.h: Formatting tweaks.
3388         * testsuite/27_io/ofstream_members.cc: New file.
3389         * testsuite/27_io/ofstream_members-1.tst: New file.
3390         * testsuite/27_io/ifstream_members.cc: New file.
3391         * testsuite/27_io/ifstream_members-1.tst: New file.
3393 2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3394             Ulrich Drepper  <drepper@cygnus.com>
3396         * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
3397         that all the freaky stuff like sincos will be around...
3399 2000-06-22  Branko Cibej  <branko.cibej@hermes.si>
3401         * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
3403 2000-06-22 Steven King <sxking@uswest.net>
3405         * acinclude.m4: Check for sinl, _sinl using 1 parameter.
3407 2000-06-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3409         * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
3410         same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
3411         link against libm and don't use -fno-builtins...
3412         * math/mathconf.h: Change up builtin macros to new schema.
3413         * bits/std_cmath.h: And here. Wheee!
3414         * shadow/bits/std_cmath.h: And here.
3415         * acconfig.h: Change up builtin macros here.
3416         * math/cosf.c:  Remove.
3417         * math/fabsf.c:  Likewise.
3418         * math/sinf.c:  Likewise.
3419         * math/sqrtf.c:  Likewise.
3420         * math/Makefile.am (EXTRA_DIST):  Remove those four files.
3421         * math/Makefile.in:  Regenerate.
3423 2000-06-22  Anthony Williams  <anthony@anthonyw.cjb.net>
3425         * testsuite/21_strings/find.cc: Patch.
3427 2000-06-22  Benjamin Kosnik  <bkoz@soma.redhat.com>
3429         * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
3430         an easy way to get at g++ without having to link in libstdc++.
3432 2000-06-21  Benjamin Kosnik  <bkoz@soma.redhat.com>
3434         Fix alpha, powerpc build failures.
3435         * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
3436         re-write. Need to check for both proper declaration when using a
3437         c++ compiler, and "C" linkage when linking. Do both, and if both
3438         exist, then define the HAVE_* bits in config.h.
3439         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
3440         (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
3441         program, doh.
3443 2000-06-20  Anthony Williams  <anthony@anthonyw.cjb.net>
3445         * bits/string.tcc: Fix find.
3446         * testsuite/21_strings/find.cc: Patch.
3448 2000-06-20  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3450         * docs/install.html: Update where to get automake, where to get
3451         binutils.
3452         * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
3453         builtins.
3455 2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>
3457         * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
3458         Add -Werror-implicit-function-declaration instead.
3460         Regenerate with fixed maintainer-tools.
3461         * aclocal.m4: Regenerate.
3462         * configure: Regenerate.
3463         * libio/Makefile.in: Regenerate.
3464         * src/Makefile.in: Regenerate.
3466 2000-06-19  Russell Davidson  <russell@ehess.cnrs-mrs.fr>
3468         * testsuite/27_io/istream_extractor_arith.cc: Patch.
3469         * bits/locale_factets.tcc: Tweak.
3471 2000-06-19  Raja R Harinath  <harinath@cs.umn.edu>
3473         * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
3474         be overridden on the command line for individual files.
3476 2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>
3478         * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
3479         AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
3480         building. Use -x c++ instead, which does not attempt to link
3481         libstdc++.
3483         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
3484         not coring when we hit a try/throw block, which was the problem
3485         with the linker support...
3487         * docs/17_intro/contribute.html: Add bits about getting to the LWG
3488         issues pages.
3489         * docs/documentation.html: Rename link to make more accurate and scary.
3490         * docs/gccrebuild.html: Edit for clarity as these are no longer
3491         separate projects.
3492         * docs/install.html: Add bits about binutils for
3493         -ffunction-sections, -fdata-sections, -Wl,--gc-sections
3495         * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3496         * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
3497         USE_COMPLEX_LONG_DOUBLE.
3498         * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
3499         GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3500         Works around irregularies in powerpc "C" compiler, but a good idea
3501         anyway.
3503         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
3504         New. Merge both old compiler bug checks for complex into this.
3506 2000-06-19  Anthony Williams  <anthony@anthonyw.cjb.net>
3508         * testsuite/21_strings/find.cc: Empty strings can be found at all
3509         positions. Modified.
3511 2000-06-19  Branko Cibej  <branko.cibej@hermes.si>
3513         * testsuite/20_utilities: New directory.
3514         * testsuite/20_utilities/auto_ptr.cc: New file.
3516 2000-06-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3518         * src/Makefile.am (string_sources): Simplify, assuming that with
3519         -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
3520         hacking is not necessary.
3521         (wstring_sources): Same.
3522         (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
3523         -Wl,--gc-sections.
3524         * src/string-inst.cc: Remove macro blocks.
3525         * mkcheck.in (CXX_FLAG): Add bits here.
3527         * src/string-inst.cc: Remove iostream-related string instantiations.
3528         * src/misc-inst.cc: Add here.
3530         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
3531         to WFMT_FLAGS.
3532         * aclocal.m4: Regenerate.
3533         * configure.in: Change up.
3534         * configure: Regenerate.
3536 2000-06-13  Steven King  <sxking@uswest.net>
3538         * acinclude.m4:  Fixup some of the builtin math tests and add tests for
3539         __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
3540         * acconfig.h: Add entries for fmod*.
3542 2000-06-13  Branko Cibej  <branko.cibej@hermes.si>
3544         * bits/std_cmath.h:  Fix typos in tests (*_FMODFF -> *_FMODF).
3545         Test  *_MODFF not *_MODF for modf(float, float*).
3546         (modf(float, float*)): Remove reference to _C_legacy.
3548 2000-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3550         * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
3551         _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
3552         superset, and already defined at top level.
3553         * aclocal.m4: Regenerate.
3554         * configure: Regenerate.
3556         * docs/17_intro/contribute.html: Plead with people to use -cp.
3558 2000-06-13  Anthony Williams  <anthony@anthonyw.cjb.net>
3560         * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
3562         * testsuite/27_io/filebuf.cc: Changed calls to
3563         fpos<>._M_position() to implicit calls to operator streamoff().
3564         * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
3565         as not needed. Revert, as part of standard.
3566         * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
3567         call to numpunct<>._M_init() with overrides of the appropriate
3568         virtual functions.
3570         * testsuite/27_io/stringstream.cc: Removed unnecessary char *
3571         pointers from test01, so no need to call base(), which isn't
3572         guaranteed to be implemented as iterators may themselves be pointers
3573         * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
3574         _M_position() - use implicit conversion to streamoff instead
3576 2000-06-13  Thomas Holenstein  <thomas@hex.ch>
3578         * bits/stl_iterator.h: Added inline to operators == to >=.
3580 2000-06-13  Brent Verner <brent@rcfile.org>
3582         * bits/streambuf.tcc: repaired _S_copy_streambufs()
3583         * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
3585 2000-06-12  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3587         * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
3588         members.
3589         * src/locale.cc: Add cwchar include here. Remove incorrect
3590         definitions, and stub them out.
3591         * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
3592         * config/solaris/solaris2.7/ctype.cc (ctype): Same.
3593         * config/solaris/solaris2.5/ctype.cc (ctype): Same.
3594         * config/newlib/ctype.cc: Same.
3595         * config/gnu-linux/ctype.cc: Same.
3596         * config/bsd/ctype.cc: Same.
3597         * config/aix/ctype.cc: Same.
3599 2000-06-12  Branko Cibej  <branko.cibej@hermes.si>
3601         * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
3602         towupper and towlower to convert wide characters.
3604 2000-06-12  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3606         * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
3608 2000-06-08  Branko Cibej  <branko.cibej@hermes.si>
3610         * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT):  Check for
3611           sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
3612         * aclocal.m4:  Regenerate.
3613         * configure:  Regenerate.
3614         * math/cosf.c:  New file.
3615         * math/fabsf.c:  Likewise.
3616         * math/sinf.c:  Likewise.
3617         * math/sqrtf.c:  Likewise.
3618         * math/Makefile.am (EXTRA_DIST):  Add those four files.
3619         * math/Makefile.in:  Regenerate.
3621 2000-06-08  Phil Edwards  <pme@sourceware.cygnus.com>
3623         * testsuite/26_numerics/complex_inserters_extractors.cc:  Need cmath.
3625 2000-06-06  Steven King  <sxking@uswest.net>
3627         * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3628         double and long double.  Added defines for HAVE libm math functs for
3629         float and long double.
3630         * aclocal.m4: Added configure checks for builtin math funcs and libm
3631         support for float and long double versions of the math functions.
3632         * config.h.in: Added undefs for math functs.
3633         * configure: Regenerate.
3634         * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3635         _GLIBCPP_HAVE_BUILTIN_*.
3636         * bits/std_cmath.h: Added long double support.  Use builtins for
3637         float, double and long if available, otherwise, use libm versions if
3638         availible, otherwise, punt.
3639         * shadow/bits/std_cmath.h: ditto
3641 2000-06-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3643         * bits/locale_facets.h: Tweak.
3644         * src/locale.cc (codecvt<wchar_t>): Tweak.
3646         * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3647         * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3649         * bits/basic_string.h: Move data member up.
3650         * src/string-inst.cc: Fix instantiations.
3651         * bits/string.tcc: Fix types.
3653 2000-06-02  Anthony Williams  <anthony@anthonyw.cjb.net>
3655         * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3657 2000-06-01  Benjamin Kosnik  <bkoz@gnu.org>
3659         * bits/std_cwctype.h: Clean.
3660         * bits/std_cwchar.h: Clean, remove cruft.
3662         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3663         for beginning iconv support.
3664         Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3665         macro.
3666         * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3667         * bits/limits_generic.h: Remove.
3668         * src/gen-num-limits.cc: Same.
3670         * src/locale.cc: Tweaks.
3672         * bits/char_traits.h: Tweaks.
3674 2000-05-31  Russell Davidson  <russell@ehess.cnrs-mrs.fr>
3676         * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3677         exponent, scientific formatting issues.
3678         * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3680 2000-05-31  Branko Cibej  <branko.cibej@hermes.si>
3682         * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3683         and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3685 2000-05-31  Nathan Myers  <ncm@cantrip.org>
3687        * docs/thanks.html: edit own credits
3689 2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3691         * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3693         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3695         * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3697 2000-05-31 Steven King <sxking@uswest.net>
3699         * shadow/time.h: fix typo
3700         * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3701         * shadow/bits/std_cwchar.h: ditto
3702         * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3703         and long long.
3705 2000-05-26  Phil Edwards  <pme@sourceware.cygnus.com>
3707         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  If strtoll isn't
3708           available, force --disable.  Need to flesh this out; make smarter.
3709         * aclocal.m4:  Regenerate.
3710         * configure:  Regenerate.
3712         * mkcheck.in:  Minor tweaks.
3713         * docs/download.html:  Fix typo.
3715 2000-05-25  Benjamin Kosnik  <bkoz@milou.soma.redhat.com>
3717         * inclosure: Change to...
3718         * mkinclosure: This.
3719         Fix paths to bash.
3720         * mkcshadow: Fix paths to bash.
3722         * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3723         * src/Makefile.in: Regnerate.
3724         * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3725         (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3726         * aclocal.m4: Regenerate.
3727         * mkcheck.in (INC_PATH): Tweak.
3729         * configure.in: Enable long long by default.
3730         * configure: Regenerate.
3732         * mkcheck.in (LIB_PATH): Revert.
3734 2000-05-24   Nathan "I don't write ChangeLog Entries" Myers  <ncm@cantrip.org>
3736         * config/cpu/i486: New directory.
3737         * config/cpu/i486/bits: New directory.
3738         * config/cpu/i486/bits/atomicity.h: New file.
3739         * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3740         'cmpxchgl' asm.
3741         * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3743 2000-05-24  Loren J. Rittle  <ljrittle@acm.org>
3745         * backward/alloc.h (__default_alloc_template): Only expose
3746           implementation-specific symbol, if it exists in the
3747           configuration.
3748         * backward/iostream.h (ends): Expose symbol.
3749         * backward/strstream.h: New file.
3750         * backward/stream.h: New file.
3751         * backward/ostream.h: New file.
3752         * backward/istream.h: New file.
3753         * backward/fstream.h: New file.
3754         * backward/complex.h: New file.
3755         * backward/iomanip.h: New file.
3757         * mkcheck.in (LIB_PATH): Add -R bits.
3759         * math/carg.c (carg): Replace __atan2 with atan2.
3761 2000-05-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3763         * Makefile.am (TAGS): Construct.
3764         * Makefile.in: Rengerate.
3765         * src/Makefile.am: Tweak.
3766         * src/Makefile.in: Tweak.
3767         * configure.in: Tweak.
3769         * bits/c++config.h: Rename to ...
3770         * bits/c++config: This.
3771         * mkc++config: Adjust.
3773         * m4: Remove.
3774         * m4/lc_message.m4: Merge into acinclude.m4.
3775         * m4/mathfcts.m4: Same.
3776         * m4/stringfcts.m4: Same.
3777         * acinclude.m4: Add here.
3778         * configure: Regnerate.
3780         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3781         OPTLEVEL. Add FMTFLAGS.
3782         * aclocal.m4: Regenerate.
3783         * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3784         been disabled due to higher-level Makefiles running amuck over
3785         this bit, and add in FMTFLAGS so that formatting is clear.
3786         * src/Makefile.in: Regenerate.
3787         * configure: Regenerate.
3789         * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3790         initialization.
3792         * docs/download.html: Remove references to Cygwin-specific bits,
3793         as this can now be built natively.
3794         Update with current information.
3796 2000-05-24  Phil Edwards  <pme@sourceware.cygnus.com>
3798         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION):  If we can use
3799           -fdiagnostics-show-location=once, do so.  Expand AC_LANG_* to
3800           enclose other tests in this macro, including future ones.
3801         * aclocal.m4:  Regenerate.
3802         * configure:  Regenerate.
3804         * docs/faq/index.html:  Update location of libg++ FAQ.
3805         * docs/faq/index.txt:  Regenerate.
3807 2000-05-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
3809         * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3811 2000-05-22  Phil Edwards  <pme@sourceware.cygnus.com>
3813         * mkcheck.in:  Tweak for Solaris 8.  Additional minor output comment.
3815 2000-05-22  Phil Edwards  <pme@sourceware.cygnus.com>
3817         * acinclude.m4:  If the new pragma isn't supported, don't kill -Werror;
3818           keep -Werror and add -Wno-unknown-pragma.  -Werror Is Good.
3819         * aclocal.m4:  Regenerate.
3820         * configure:  Regenerate.
3822 2000-05-19   Nathan C. Myers  <ncm@cantrip.org>
3824         * bits/generic_shadow.h: s/swamp/legacy/
3826 2000-05-19  Phil Edwards  <pme@sourceware.cygnus.com>
3828         * acinclude.m4:  Clean up comments on newer checks.
3829           (GLIBCPP_CHECK_COMPILER_VERSION):  Check for system_header
3830           pragma support.  Remove WERRORSUPPRESS variable, add WERROR.
3831         * aclocal.m4:  Regenerate.
3832         * configure:  Regenerate.
3833         * Makefile.in:  Regenerate.
3834         * libio/Makefile.in:  Regenerate.
3835         * math/Makefile.in:  Regenerate.
3836         * src/Makefile.am:  Tell make's WERROR to depend on configure's WERROR.
3837         * src/Makefile.in:  Regenerate.
3838         * docs/configopts.html:  Document changes to --enable names.
3840 2000-05-18  Chip Salzenberg  <chip@valinux.com>
3842         * bits/ostream.tcc (_S_pad_char): Function template should not be
3843         static.
3844         * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3845         * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3847 2000-05-18  Nathan C. Myers  <ncm@cantrip.org>
3849         * mkcshadow: Change C_Swamp to C_legacy.
3850         * shadow/*: Same.
3851         * shadow/bits/*: Same.
3852         s/C_Swamp/C_legacy/g
3853         s/SWAMP/LEGACY/g
3854         s/_Shadow/_shadow/g
3856 2000-05-18  Anthony Williams  <anthony@anthonyw.cjb.net>
3858         * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3859         const char*.
3860         * src/string-inst.cc (string::_S_find): Same.
3862 2000-05-18  Benjamin Kosnik  <bkoz@gnu.org>
3864         * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3865         --enable-cshadow-headers. Add output messages.
3866         (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3867         underscores (like the rest of the enable options.) Add output messages.
3868         * aclocal.m4: Regenerate.
3869         * configure: Regenerate.
3870         * configure.in: Touch.
3872 2000-05-17  Benjamin Kosnik  <bkoz@cygnus.com>
3874         * mkcheck.in: Enable shared library testing.
3876 2000-05-17  Nathan C. Myers  <ncm@cantrip.org>
3878         * bits/std_cmath.h: fix sqrt(float)
3880 2000-05-16  Loren J. Rittle  <ljrittle@acm.org>
3882         * bits/std_cassert.h: Use system_header pragma.
3883         * bits/std_cctype.h: Likewise.
3884         * bits/std_cerrno.h: Likewise.
3885         * bits/std_cfloat.h: Likewise.
3886         * bits/std_climits.h: Likewise.
3887         * bits/std_clocale.h: Likewise.
3888         * bits/std_cmath.h: Likewise.
3889         * bits/std_csetjmp.h: Likewise.
3890         * bits/std_csignal.h: Likewise.
3891         * bits/std_cstdarg.h: Likewise.
3892         * bits/std_cstddef.h: Likewise.
3893         * bits/std_cstdio.h: Likewise.
3894         * bits/std_cstdlib.h: Likewise.
3895         * bits/std_cstring.h: Likewise.
3896         * bits/std_ctime.h: Likewise.
3897         * bits/std_cwchar.h: Likewise.
3898         * bits/std_cwctype.h: Likewise.
3899         * bits/std_exception.h: Likewise.
3900         * bits/std_new.h: Likewise.
3901         * bits/std_typeinfo.h: Likewise.
3902         * shadow/bits/std_cassert.h: Likewise.
3903         * shadow/bits/std_cctype.h: Likewise.
3904         * shadow/bits/std_cerrno.h: Likewise.
3905         * shadow/bits/std_cfloat.h: Likewise.
3906         * shadow/bits/std_climits.h: Likewise.
3907         * shadow/bits/std_clocale.h: Likewise.
3908         * shadow/bits/std_cmath.h: Likewise.
3909         * shadow/bits/std_csetjmp.h: Likewise.
3910         * shadow/bits/std_csignal.h: Likewise.
3911         * shadow/bits/std_cstdarg.h: Likewise.
3912         * shadow/bits/std_cstddef.h: Likewise.
3913         * shadow/bits/std_cstdio.h: Likewise.
3914         * shadow/bits/std_cstdlib.h: Likewise.
3915         * shadow/bits/std_cstring.h: Likewise.
3916         * shadow/bits/std_ctime.h: Likewise.
3917         * shadow/bits/std_cwchar.h: Likewise.
3918         * shadow/bits/std_cwctype.h: Likewise.
3919         * shadow/bits/wrap_libio.h: Likewise.
3920         * shadow/bits/wrap_unistd.h: Likewise.
3921         * shadow/sys/cdefs.h: Likewise.
3923 2000-05-16  Nathan C. Myers  <ncm@cantrip.org>
3925         It appears that gcc-2.96 supports the keyword "and" now.
3926         * bits/std_ciso646.h: remove.
3927         * std/ciso646: gut.
3928         * testsuite/17_intro/header_ciso646.c: enable testing.
3929         * src/Makefile.am, src/Makefile.in: remove mention of
3930         bits/std_ciso646.h
3932 2000-05-16  Nathan C. Myers  <ncm@cantrip.org>
3934        * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3936 2000-05-16  Phil Edwards  <pme@sourceware.cygnus.com>
3938         * acinclude.m4:  Fix typo, switch to decaf...
3939         * aclocal.m4:  Regenerate.
3940         * configure:  Regenerate.
3942 2000-05-16  Phil Edwards  <pme@sourceware.cygnus.com>
3944         * acinclude.m4 (GLIBCPP_ENABLE_SHADOW):  New macro, stub.
3945         * aclocal.m4:  Regenerate.
3946         * configure.in:  Call.
3947         * configure:  Regenerate.
3948         * docs/configopts.html:  Stub documentation.
3950 2000-05-14  Nathan Myers  <ncm@cantrip.org>
3952         * mkcshadow: build in more-correct directory, create cshadow/
3953         directory if needed, report progress.
3955 2000-05-14  LLeweLLyn Reese  <llewelly@dbritsch.dsl.xmission.com>
3957         * src/Makefile.am: Fix tr commands.
3958         * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3959         * src/string-inst.cc: Remove extra instantiation of
3960           S::basic_string(S::size_type, C, S::allocator_type const&);
3961         * src/string-inst.cc: Remove extra template keyword.
3963 2000-05-14  Loren J. Rittle  <ljrittle@acm.org>
3965         * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3966         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3967         * aclocal.m4: Regenerate.
3968         * configure: Regenerate.
3969         * */Makefile.in: Regenerate.
3971 2000-05-11  Phil Edwards  <pme@sourceware.cygnus.com>
3973         * acinclude.m4:  Fix minor typo with ctypes, add more sanity to
3974           enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3975         * aclocal.m4:  Regenerate.
3976         * configure.in:  Non-blank arguments break fewer Linuxes.
3977         * configure:  Regenerate.
3978         * src/Makefile.am:  Re-order AC_CXXFLAGS components.
3979         * src/Makefile.in:  Regenerate.
3981 2000-05-10  Benjamin Kosnik  <bkoz@redhat.com>
3983         * bits/std_cmath.h: Tweaks.
3984         * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3985         (sqrtf): Define away iff !builtin and !in <math.h>.
3986         (sinf): Same.
3987         (cosf): Same.
3988         (fabsf): Same.
3989         At some point this directory should be converted to c++, the
3990         autoconf tests should be run by the c++ compiler (not c), and
3991         <cmath> should be used instead of math.h.
3992         Move declaration of nan() here.
3993         * math/complex-stub.h (cabsl): Remove nan() declaration.
3995         Finish up FreeBSD4.0 support.
3996         * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3997         * config/generic/ctype.cc: And here.
3998         * testsuite/21_strings/char_traits.cc (test02): Guard with
3999         _GLIBCPP_USE_WCHAR_T.
4001         via Phil Edwards  <pme@sourceware.cygnus.com>
4002         * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
4003         * acconfig.h: And here.
4004         * acinclude.m4: Same.
4005         * testsuite/27_io/istream.cc: And here.
4006         * testsuite/27_io/ostream.cc: And here.
4008 2000-05-09  Benjamin Kosnik  <bkoz@gnu.org>
4010         * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
4011         -mcpu=powerpc.
4012         * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
4014         * config/generic/bits/ctype_specializations.h (ctype<char>::is):
4015         Make more generic.
4017         * config/bsd: New directory.
4018         * config/bsd/ctype.cc: New.
4019         * config/bsd/bits/ctype_base.h (ctype_base): New.
4020         * config/bsd/bits/ctype_specializations.h: New.
4021         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
4023 2000-05-09  Phil Edwards  <pme@sourceware.cygnus.com>
4025         * acinclude.m4:  New macro, GLIBCPP_ENABLE_CXX_FLAGS.
4026         * configure.in:  Call.
4027         * src/Makefile.am:  Append results of macro to AC_CXXFLAGS.
4028         * aclocal.m4:  Regenerate.
4029         * configure:  Ditto.
4030         * src/Makefile.in:  Ditto.
4031         * docs/configopts.html:  Document.
4032         * docs/download.html:  Fix typo (close quote).
4033         * docs/footer.html:  Update.
4035 2000-05-09  Loren J. Rittle  <ljrittle@acm.org>
4037         * backward/iostream.h: Expose endl.  Guard wide types.
4038         * src/Makefile.am (headers): Update list to match files.
4039         * src/Makefile.in: Regenerate.
4041 2000-05-09  Vadim Egorov  <egorovv@mailandnews.com>
4042             Benjamin Kosnik  <bkoz@gnu.org>
4043             Nathan Myers  <ncm@cantrip.org>
4044             Dietmar Kuehl  <dietmar_kuehl@yahoo.com>
4046         * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
4047         (basic_streambuf::xsputn): Make consistent.
4048         * testsuite/27_io/filebuf.cc: Add tests.
4050 2000-05-08  Steven King  <sxking@uswest.net>
4052         * bits/char_traits.h: Use wchar_t utility functions for
4053         char_traits<wchar_t> methods.
4054         * testsuite/21_string/char_traits.cc: New (test02): test
4055         char_traits<wchar_t>
4057 2000-05-08  Benjamin Kosnik  <bkoz@cygnus.com>
4059         * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
4061         * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
4062         _M_buf_size based on macro, instead use _M_buf_size_opt.
4063         * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
4064         (basic_streambuf()): Set _M_buf_size_opt.
4065         * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
4066         instead of _M_buf_size.
4068 2000-05-04  Branko Cibej  <branko.cibej@hermes.si>
4070         * src/complex_io.cc: Don't instantiate inserters and extractors
4071         for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
4073 2000-05-03  Phil Edwards  <pme@sourceware.cygnus.com>
4074             Felix Natter <fnatter@gmx.net>
4076         * docs/footer.html:  Update to see if it takes effect.
4077         * docs/thanks.html:  More people.
4078         * docs/17_intro/headers_cc.txt:  Copy from testsuite, since that can't
4079           be seen from the web pages.  Rename for browser-friendliness...
4080         * docs/17_intro/howto.html:  ...and update here.
4081         * docs/17_intro/porting-howto.html:  Changes from Felix.
4082         * docs/gccrebuild.html:  Mention v3->egcs move.
4083         * docs/faq/index.html:  Ditto.  Also misc tweaks and URL updates.
4084         * docs/faq/index.txt:  Regenerate.
4086 2000-05-01  Benjamin Kosnik  <bkoz@redhat.com>
4088         * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
4089         fixes.
4091 2000-05-01  Vadim Egorov  <egorovv@@mailandnews.com>
4093         * bits/char_traits.h: Fix parameter types.
4094         * bits/string.tcc: Avoid traits_type::move.
4096 2000-05-01  Benjamin Kosnik  <bkoz@haight.constant.com>
4098         * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
4099         * src/Makefile.in: Regenerate.
4100         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
4102 2000-04-30  Steven King <sxking@uswest.net>
4104         * bits/locale_facets.h: Fix syntax  error.
4105         * bits/std_fstream.h: ditto
4107 2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>
4109         * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
4111         * mknumeric_limits (trait_name): Fix copyright notice.
4112         * src/gen-num-limits.cc: Explicitly instantiate epsilon and
4113         round_error data members of struct value. This works around
4114         weak-linking issues on AIX, HPUX.
4116 2000-04-29  Phil Edwards  <pme@sourceware.cygnus.com>
4118         * docs/download.html:  Add link to list of mirror sites.
4120 2000-04-28  Loren J. Rittle  <ljrittle@acm.org>
4122         * mkcheck.in: Rely on exit status instead of the presence of a
4123         core file.  Added comments on how/where to save core and exe
4124         files.  Move shell wildcards outside quotes and fix core path.
4126 2000-04-27  scott snyder  <snyder@fnal.gov>
4128         * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
4129         classes.
4131 2000-04-26  Nathan C. Myers  <ncm@cantrip.org>
4133         * bits/basic_string.h: include <bits/atomicity.h> instead
4134         of <atomicity.h>, and use the uglified names.
4135         * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
4136         uglify names, eliminate dependence on <inttypes.h>.
4137         * src/Makefile.in, src/Makefile.am: refer to correct place
4138         for atomicity.h header.
4140 2000-04-25 Steven King <sxking@uswest.net>
4142         * bits/basic_string.h: Fix syntax error.
4144 2000-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4146         * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
4147         USE_LONG_DOUBLE.
4148         (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
4149         * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
4150         versions to this as copysignl is needed anyway for these targets.
4151         * math/Makefile.in: Regenerate.
4153         * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
4154         * bits/fstream.tcc (underflow): Cast to libio types.
4155         * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
4156         * config/c_io_libio.cc (seekoff): And here.
4158 2000-04-24  Loren J. Rittle  <ljrittle@acm.org>
4160         * mkcheck.in: Report compiler version used for test.  Find
4161         the built _G_config.h instead of any old installed version.
4163 2000-04-24  Loren J. Rittle  <ljrittle@acm.org>
4165         * config/generic/ctype.cc (do_toupper): Remove dependence on
4166         non-portable/non-existent lookup table.
4167         (do_tolower): Same.
4169 2000-04-24  Nathan Myers  <ncm@cantrip.org>
4171         * src/string-inst.cc: More fixing.
4173 2000-04-24  Benjamin Kosnik  <bkoz@gnu.org>
4175         * bits/stl_iterator.h: Pedantic fixing.
4176         * bits/std_sstream.h: And here.
4177         * bits/string.tcc: And here.
4179 2000-04-24  Felix Natter <fnatter@gmx.net>
4181         * docs/17_intro/howto.html: Add bits.
4182         * docs/17_intro/porting-howto.html: New file.
4184 2000-04-24  Branko Cibej  <branko.cibej@hermes.si>
4186         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
4187         @libinst_wstring_la@ to libinst-wstring.la when specializing for
4188         wchar_t, to empty string otherwise.
4189         * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
4190         (sources): Remove $(string_sources) and $(wstring_sources).
4191         (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
4192         (libstdc___la_DEPENDENCIES): New.
4193         (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
4195 2000-04-20  Benjamin Kosnik  <bkoz@redhat.com>
4197         * bits/std_sstream.h: Tweak formatting.
4198         * bits/std_fstream.h: Make types public.
4200         * testsuite/27_io/streambuf.cc: Fix for alpha.
4202         Brad Garcia <bgarcia@laurelnetworks.com>
4203         * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
4204         initialization.
4205         * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
4206         bool formatting.
4208 2000-04-19  Nathan Myers  <ncm@cantrip.org>
4210         * src/string-inst: consolidate _S_create,
4211         destroy, leak, clone members into stringMAIN and stringMUTATE
4212         object files.
4213         * src/Makefile.am: Above, and eliminate dependence on
4214         wstring-inst.cc.
4215         * src/wstring-inst.cc: Remove.
4217 2000-04-18  Benjamin Kosnik  <bkoz@redhat.com>
4219         * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
4220         Add flags for specialized rules dealing with instantiations.
4222         * src/string-inst.cc: Add instantiations missing from shared
4223         libraries--see stringEQ, stringCONSC.
4224         * src/Makefile.am (wstring_sources): Add.
4225         (string_sources): Same.
4226         * src/Makefile.in: Regenerate.
4228         * stl/*: Integrate contents of this directory into top-level
4229         directories.
4230         * ext/bvector hash_map hash_set rope ropeimpl.h slist
4231         stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
4232         * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
4233         std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
4234         std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
4235         std_stdexcept.h std_strstream.h std_utility.h std_vector.h
4236         stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
4237         stl_deque.h stl_function.h stl_heap.h stl_iterator.h
4238         stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
4239         stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
4240         stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
4241         stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
4242         stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
4243         * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
4244         function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
4245         list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
4246         stack.h tempbuf.h tree.h vector.h: Add.
4247         * README (file): Update.
4248         * docs/documentation.html: README not being found.
4249         * src/Makefile.am (sources): Take out stl directory.
4250         * mkcheck.in (SRC_DIR): And here.
4251         * src/Makefile.in: Regenerate.
4253 2000-04-18  Levente Farkas  <lfarkas@mindmaker.hu>
4255         * stl/bits/stl_function.h: Add bits so that const and non-const
4256         both work.
4258 2000-04-18  scott snyder  <snyder@fnal.gov>
4260         * stl/bits/stl_map.h (class map): Fix default for _Alloc template
4261         parameter.  Get rid of use of __STL_DEFAULT_ALLOCATOR and
4262         __STL_LIMITED_DEFAULT_TEMPLATES macros.
4263         * stl/bits/stl_multimap.h (class multimap): Likewise.  Get rid of
4264         use of __STL_DEPENDENT_DEFAULT_TMPL macro.
4266 2000-04-18  scott snyder  <snyder@fnal.gov>
4268         * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
4269         this macro.
4271         * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
4272         of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
4273         * stl/ext/hash_set (class hash_set, class hash_multiset):
4274         Likewise.
4275         * stl/bits/stl_function.h (struct constant_unary_fun, struct
4276         constant_binary_fun): Likewise.
4277         * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
4278         * stl/bits/stl_stack.h (class stack): Likewise.
4279         * stl/bits/stl_set.h (class set): Likewise.
4280         * stl/bits/stl_multiset.h (class multiset): Likewise.
4282         * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
4283         class reverse_iterator): Get rid of use of
4284         __STL_LIMITED_DEFAULT_TEMPLATES macro.
4286         * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
4287         macro.
4289         * stl/bits/stl_deque.h (class deque): Get rid of use of
4290         __STL_DEFAULT_ALLOCATOR macro.
4291         * stl/bits/stl_list.h (class list): Likewise.
4292         * stl/bits/stl_multiset.h (class multiset): Likewise.
4293         * stl/bits/stl_set.h (class set): Likewise.
4294         * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
4295         * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
4296         * stl/bits/stl_vector.h (class vector): Likewise.
4297         * stl/ext/ropeimpl.h (rotate): Likewise.
4298         * stl/ext/hash_map (class hash_map, class hash_multimap):
4299         Likewise.
4300         * stl/ext/hash_set (class hash_set, class hash_multiset):
4301         Likewise.
4302         * stl/ext/slist (class slist): Likewise.
4303         * stl/ext/stl_bvector.h (class bit_vector): Likewise.
4304         * stl/ext/stl_rope.h (class rope): Likewise.
4305         * src/locale.cc (_Impl): Likewise.
4306         * src/localename.cc (_Impl): Likewise.
4307         * bits/localefwd.h (_Impl): Likewise.
4309 2000-04-18  Phil Edwards  <pme@sourceware.cygnus.com>
4311         * docs/install.html:  Cleanup, minor changes.
4312         * docs/17_intro/howto.html:  Ditto.
4314 2000-04-18  Nathan Myers  <ncm@cantrip.org>
4316         * bits/basic_string.h: Remove "inline" from member _S_find.
4318         * src/string-inst.cc: Rewrite to reflect non-inline template
4319         instantiations in string.tcc.
4321         * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
4322         stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
4323         stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
4324         stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
4325         stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
4326         stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
4327         stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
4328         stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
4329         stringNESS.cc, stringSCOPY.cc: Remove.
4330         * src/wstringADDCS.cc, etc: Remove.
4332         Benjamin Kosnik  <bkoz@haight.constant.com>
4333         * src/Makefile.am: Modify to reflect above.
4334         * src/Makefile.in: Regenerate.
4336 2000-04-17  Benjamin Kosnik  <bkoz@cygnus.com>
4338         * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
4340 2000-04-13  Benjamin Kosnik  <bkoz@haight.cygnus.com>
4342         * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
4343         io interface here instead of the libio particulars.
4345         * config/threads-posix.h: Consistency with stl_config.h.
4347         * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
4349 2000-04-13  Loren J. Rittle  <ljrittle@acm.org>
4351         * mknumeric_limits: Rename generic type template parameter name
4352         '_T' to '_Tp'.
4353         * stl/bits/type_traits.h: Ditto.
4355 2000-04-06  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
4357         * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
4358         it is more useful for --enable-libstdcxx-v3. Use the built
4359         compilers with v3, instead of compilers in PATH, and don't
4360         re-include include directories for checking the install.
4362 2000-04-05  Benjamin Kosnik  <bkoz@cygnus.com>
4364         * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
4365         by default when using --enable-libstdcxx-v3.
4366         * src/Makefile.in: Regenerate.
4367         * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
4368         GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
4369         * configure: Regenerate.
4370         * mkcheck.in: Deal with NAMESPACES.
4372 2000-04-05  Petter Urkedal  <petter@matfys.lth.se>
4374         * src/cmath.cc: New file...
4375         (pow(*, int)): Define functions...
4376         * src/Makefile.am (sources): ...register file.
4377         * src/Makefile.in: Regenerate.
4378         * bits/std_cmath.h (pow): ...declare functions here, and remove
4379         old definitions.
4381 2000-04-04  Benjamin Kosnik  <bkoz@redhat.com>
4383         * acinclude.m4 (GCC_OBJDIR): Tweaks
4385 2000-04-03  Benjamin Kosnik  <bkoz@redhat.com>
4387         * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
4388         * config/cpu/arm: New directory.
4390         Jesper Skov  <jskov@redhat.com>
4391         * config/cpu/arm/atomicity.h: New file.
4393 2000-03-31  Benjamin Kosnik  <bkoz@redhat.com>
4395         * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
4396         Remove unused bits. Clean.
4398 2000-03-29  Benjamin Kosnik  <bkoz@cygnus.com>
4400         * testsuite/25_algorithms: New directory.
4401         * testsuite/25_algorithms/min_max.cc: New file.
4403 2000-03-29  scott snyder  <snyder@fnal.gov>
4405         * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
4406         precision beyond that which we get from numeric_limits::digits10.
4408         * stl/bits/stl_algobase.h (max, min): Don't use comparison
4409         operator.
4411         * testsuite/23_containers/bitset_shift.cc: Fix.
4413         * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
4414         temporary to imbue().
4416         * bits/std_fstream.h (sync): Resync libio's idea of the current
4417         file position with the external file.
4419 2000-03-28  Benjamin Kosnik  <bkoz@cygnus.com>
4421         * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
4422         mistake.
4424         * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
4425         attempting calls to it.
4426         * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
4427         ctors. Instead, call _M_init_filebuf ...
4428         (open): Here, as suggested by 27.8.1.3.
4429         * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
4430         properly when initializing cout/cin/cerr.
4432 2000-03-27  Russell Davidson  <russell@ehess.cnrs-mrs.fr>
4434         * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
4435         * testsuite/22_locale/ctype_char_members.cc: And here.
4436         * testsuite/27_io/streambuf.cc (streambuf): And here.
4437         * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
4438         * testsuite/27_io/istream_unformatted.cc (test05): And here.
4439         * testsuite/27_io/istream_extractor_arith.cc: And here.
4440         * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
4441         * testsuite/27_io/ios_base_members_static.cc: And here.
4442         * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
4444 2000-03-27  Chris Faylor  <cgf@cygnus.com>
4446         * configure.in: Remove setting of CXX if canadian cross.
4447         * configure: Regenerate.
4449 2000-03-27  Nathan Myers  <ncm@zembu.com>
4451         * bits/sstream.tcc: Optimize.
4452         * bits/basic_string.h(string::append): Don't inline.
4453         * bits/string.tcc: Move out-of-line.
4455 2000-03-27  Phil Edwards  <pme@sourceware.cygnus.com>
4457         * acinclude.m4:  (GLIBCPP_CHECK_COMPILER_VERSION)  When using <2.96,
4458           define WERRORSUPPRESS so that the inlining warnings won't kill us.
4459         * aclocal.m4:  Regenerate.
4460         * configure:  Regenerate.
4461         * src/Makefile.am:  Use WERRORSUPPRESS for the files that need it.
4462         * src/Makefile.in:  Regenerate.
4464         * docs/install.html:  Almost complete rewrite.
4466 2000-03-25  Phil Edwards  <pme@sourceware.cygnus.com>
4468         * docs/install.html:  Explain -Werror problem at "#Werror" mark.
4469         * docs/faq/index.html:  Testsuite will die horribly if new libgcc.a
4470           not installed.
4471         * docs/faq/index.txt:  Regenerate.
4473 2000-03-24  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4475         * src/Makefile.am (libio_headers_install): Fix.
4476         * src/Makefile.in: Regenerate.
4478 2000-03-24  Benjamin Kosnik  <bkoz@cygnus.com>
4480         * docs/17_intro/RELEASE-NOTES: Fix typos.
4481         * docs/index.html: Update.
4482         * docs/17_intro/BUGS: Update.
4483         * docs/status.html: Update for 2.90.8 release.
4485 2000-03-23  Phil Edwards  <pme@sourceware.cygnus.com>
4487         * Makefile.am:  Better error message when missing libgcc2.ready.
4488         * Makefile.in:  Regenerate.
4489         * acinclude.m4:  Fastidious nitpicking reformatting.
4490         * aclocal.m4:  Regenerate.
4491         * configure:  Regenerate.
4492         * mkcheck.in:  Must use same namespace settings as the library being
4493           tested.  Also log ST_FLAG, since it's being passed.
4494         * docs/install.html:  Add brief chunk on configuration.
4495         * docs/17_intro/RELEASE-NOTES:  Fix minor Cygwin typo.
4496         * docs/23_containers/howto.html:  Mention MT-safe string.
4497         * docs/faq/index.html:  Minor updates.
4498         * docs/faq/index.txt:  Regerarate.
4500 2000-03-22  Benjamin Kosnik  <bkoz@cygnus.com>
4502         * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
4503         Return newoff.
4504         * bits/fstream.tcc (seekoff): Sync.
4505         (seekpos): Sync.
4506         * testsuite/27_io/ostream_unformatted.cc: New file.
4507         * testsuite/27_io/stringbuf.cc: Fix.
4508         * testsuite/27_io/istream_unformatted.cc (test04): Fix.
4510         * config/newlib/bits/ctype_base.h (ctype_base): Fix.
4511         * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
4513         * src/complex_io.cc (operator>>complex): Tweak.
4515         * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
4516         <inttypes.h> does not exist.
4517         * config/cpu/sparc/sparc64/atomicity.h: Same.
4518         * config/cpu/sparc/sparc32/atomicity.h: Same.
4519         * config/cpu/powerpc/atomicity.h: Same.
4520         * config/cpu/i386/atomicity.h: Same.
4521         * config/cpu/generic/atomicity.h: Same.
4522         * configure.in: Check for inttypes.h.
4523         * configure: Regnerate.
4525 2000-03-21  Benjamin Kosnik  <bkoz@cygnus.com>
4527         * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
4528         correctly.
4529         * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
4531         * docs/17_intro/RELEASE-NOTES (New): Add bits.
4533         * configure.in: Move AC_CHECK_HEADERS to a point where we know we
4534         are compiling natively.
4536         * libio/*: Update to CVS libio from egcs.
4538 2000-03-21  Phil Edwards  <pme@sourceware.cygnus.com>
4540         * docs/download.html:  Document use of -z9 for CVS.
4541         * docs/index.html:  Add target date (no link) for future snapshot.
4543 2000-03-21  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4545         * bits/slice_array.h: Rename generic type template parameter name
4546         '_T' to '_Tp'.
4547         * bits/mask_array.h: Ditto
4549 2000-03-20  Benjamin Kosnik  <bkoz@cygnus.com>
4551         * *: Change copyright holder from "Cygnus Solutions" to "Free
4552         Software Foundation, Inc."
4554         * docs/configopts.html: Explain what "hella versions" means.
4555         * docs/install.html: Some tweaks--nice job on this Phil.
4556         * docs/documentation.html: Add a direct link to configuration options.
4558         * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
4559         * docs/17_intro/RELEASE-NOTES (New): Add.
4560         * bits/c++config.h (__GLIBCPP__): Bump version.
4562         * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
4563         type to match prototype.
4565 2000-03-20  Phil Edwards  <pme@sourceware.cygnus.com>
4567         * docs/install.html:  Update for new funky build procedure.  Move
4568           description of 'configure' options to...
4569         * docs/configopts.html:  ...here.  New file.
4570         * docs/17_intro/howto.html:  Updates for new snapshot.
4571         * docs/20_util/howto.html:  Ditto.
4572         * docs/21_strings/howto.html:  Ditto.
4573         * docs/21_strings/stringtok_std_h.txt:  Fix example typos.
4574         * docs/22_locale/howto.html:  Ditto.
4575         * docs/23_containers/howto.html:  Ditto.
4576         * docs/faq/index.html:  Ditto.
4578 2000-03-18  Petter Urkedal  <petter@matfys.lth.se>
4579             Benjamin Kosnik  <bkoz@gnu.org>
4581         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
4582         to the right place.
4583         * aclocal.m4: Regenerate.
4584         * configure: Regenerate.
4586 2000-03-16  Benjamin Kosnik  <bkoz@cygnus.com>
4587             scott snyder  <sss@karma.fnal.gov>
4589         * config/c_io_libio.h: Add __c_lock.
4590         * config/threads-no.h: Same here.
4591         * config/threads-posix.h: Add __mutext_type typedef.
4592         * config/c_io_libio.cc: basic_file ctor takes lock arg.
4593         * bits/basic_file.h: Ctor takes lock arg.
4594         * bits/std_fstream.h: Add _M_lock.
4595         * bits/fstream.tcc: Supply it to basic_file ctor.
4597         * mkcheck.in (resultstext): Change [[ to [.
4599         * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
4601         * bits/locale_facets.h: Tweak.
4603         * stl/bits/stl_config.h: Fix defines.
4605 2000-03-16  Benjamin Kosnik  <bkoz@cygnus.com>
4607         * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
4608         atomicity.h
4609         * configure: Regenerate.
4610         * aclocal.m4: Regnerate.
4612 2000-03-16  Nathan Myers  <ncm@zembu.com>
4614         * bits/string.tcc: Add MT support.
4615         * bits/basic_string.h: Same.
4617 2000-03-16  Phil Edwards  <pme@sourceware.cygnus.com>
4619         * configure.in:  Make --enable-namespaces and -libgcc-rebuild=../..
4620           the defaults.
4621         * configure:  Regenerate.
4623         * config/solaris/solaris2.7/ctype.cc:  Fix unsigned/signed comparison.
4625 2000-03-16  Phil Edwards  <pme@sourceware.cygnus.com>
4627         * acinclude.m4 (GLIBCPP_CHECK_CTYPE):  If Sol2.5 ctype is found, keep
4628           checking for 2.[67].  (GLIBCPP_ENABLE_RELIBGCC):  No longer ignore
4629           any defaults passed in.
4630         * aclocal.m4:  Regenerate.
4632 2000-03-16  Phil Edwards  <pme@sourceware.cygnus.com>
4634         * mkcheck.in:  Report total successes and failures.
4636 2000-03-15  Benjamin Kosnik  <bkoz@cygnus.com>
4638         * config/cpu: New directory, intended to be used to provide
4639         cpu-specific configuration files. In particular, assembly language
4640         primitives for thread safety.
4641         * config/cpu/alpha: Populate.
4642         * config/cpu/alpha/atomicity.h: New file.
4643         * config/cpu/arm: Populate.
4644         * config/cpu/generic: Populate.
4645         * config/cpu/generic/atomicity.h: New file.
4646         * config/cpu/hppa: Populate.
4647         * config/cpu/i386: Populate.
4648         * config/cpu/i386/atomicity.h: New file, take from i486.
4649         * config/cpu/m68k: Populate.
4650         * config/cpu/mips: Populate.
4651         * config/cpu/powerpc: Populate.
4652         * config/cpu/powerpc/atomicity.h: New file.
4653         * config/cpu/sparc: Populate.
4654         * config/cpu/sparc/sparc32: Populate.
4655         * config/cpu/sparc/sparc64: Populate.
4656         * config/cpu/sparc/sparc32/atomicity.h: New file.
4657         * config/cpu/sparc/sparc64/atomicity.h: New file.
4659         * src/Makefile.am (myinstallheaders): Add install routines.
4660         * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4661         cpu dir.
4662         * configure.in: Add.
4664         * config/default: Adopt glibc naming conventions, and so move to
4665         * config/generic: Here.
4666         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4668 2000-03-15  Bill Thompson  <billt@toast.net>
4670         * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4672 2000-03-14  Phil Edwards  <pme@sourceware.cygnus.com>
4674         * docs/17_intro/howto.html:  Add missing "TOC" entry, and new section.
4676         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4677         * aclocal.m4: Regenerate.
4678         * configure: Regenerate.
4680 2000-03-13  scott snyder  <snyder@fnal.gov>
4681             Jason Merrill  <jason@cygnus.com>
4683         * bits/locale_facets.h (class ctype, class ctype<char>, class
4684         ctype<wchar_t>): More mask fixes.
4685         * testsuite/22_locale/ctype.cc: Test for the problem.
4687 2000-03-13  Benjamin Kosnik  <bkoz@cygnus.com>
4689         * acconfig.h: Add bits.
4690         * configure.in: Move AM_PROG_LIBTOOL up in file.
4691         Tweak cross compiling info.
4692         * configure: Regenerate.
4694         * mknumeric_limits (XCOMPILE): Echo compilation line for
4695         gen-num-limits.cc
4697         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4698         * aclocal.m4: Regenerate.
4699         * configure: Regenerate.
4700         * config/aix/ctype.cc (ctype): Tweak.
4701         * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4702         * config/aix/bits/ctype_specializations.h: New file.
4704 2000-03-10  scott snyder  <snyder@fnal.gov>
4706         * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4707         conversions.
4708         * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4709         regression test for the problem.
4711 2000-03-09  Benjamin Kosnik  <bkoz@fidel.cygnus.com>
4713         * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4714         * bits/fpos.h: And here.
4715         * bits/std_ostream.h: Same here.
4716         * bits/std_istream.h: Same here.
4717         * bits/basic_ios.h: Same here.
4718         * bits/std_fstream.h: Same here.
4719         * bits/sbuf_iter.h (std): Here too.
4720         * bits/std_sstream.h: Make types public.
4722         * src/misc-inst.cc: Use size_t instead of unsigned int.
4723         * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4724         suppose this should be ctype::narrow... all the ctype<wchar_t>
4725         stuff needs to be cleaned up.
4727 2000-03-09  Phil Edwards  <pme@sourceware.cygnus.com>
4729         * docs/gentop:  Remove entire directory, finally.
4731 2000-03-09  scott snyder  <snyder@fnal.gov>
4733         * bits/std_cmath.h (modf): Fix pointer overrun.
4734         * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4735         test for the problem.
4737 2000-03-09  Phil Edwards  <pme@sourceware.cygnus.com>
4739         Looks like changes to the #include'd files must be followed by a
4740         change to the #include'ing files to take effect.  Caveat emptor.
4741         * docs/header.html:  New file, for server-side include.
4742         * docs/footer.html:  New file, for server-side include.
4743         * docs/documentation.html:  Change to use SSI.
4744         * docs/download.html:  Ditto.
4745         * docs/index.html:  Ditto.
4746         * docs/mail.html:  Ditto.
4747         * docs/status.html:  Ditto.
4748         * docs/thanks.html:  Ditto, plus minor updates.
4749         * docs/how.html:  Remove.
4751 2000-03-09  Benjamin Kosnik  <bkoz@gnu.org>
4753         Preliminary alpha-linux support.
4754         * src/locale.cc (ctype<wchar_t>): Use correct types...
4755         * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4756         (ctype<wchar_t>): Same.
4757         * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4758         types match for table_size (size_t).
4760         * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4761         as per char specialization.
4762         * config/*/ctype.cc: Same.
4764 2000-03-09  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4766         * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4767         _Ctype_nois<>.  Template base classes are never examinated in
4768         first-phase name-lookup.
4770 2000-03-08  Benjamin Kosnik  <bkoz@gnu.org>
4772         Add Solaris 2.5.1 support.
4773         * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4774         * config/solaris/solaris2.5/ctype.cc: Fixup.
4775         * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4776         * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4777         * aclocal.m4: Regenerate.
4778         * configure: Regenerate.
4780         * config/default/ctype.cc (ctype): Fixup.
4782 2000-03-07  Benjamin Kosnik  <bkoz@blues.cygnus.com>
4784         * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4785         * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4786         non-wchar_t case.
4788 2000-03-07  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4790         * bits/cpp_type_traits.h: Expand on this file purpose.
4792 2000-03-06  Benjamin Kosnik  <bkoz@gnu.org>
4794         * bits/locale_facets.h (ctype<char>): Remove static members, and
4795         re-work initialization code.
4796         (ctype<wchar_t>): Same.
4797         Move _S_touppper to _M_toupper and initialize in ctor.
4798         Move _S_tolower  to _M_tolower and initialize in ctor.
4799         Move _S_table to _M_ctable and initialize in ctor.
4800         * bits/locale_facets.h (std): And here.
4801         * src/locale.cc (std): Tweak.
4802         * config/gnu-linux/ctype.cc: Change initialization here.
4803         * config/newlib/ctype.cc: And here.
4804         * config/solaris/solaris2.7/ctype.cc: And here.
4805         * config/solaris/solaris2.6/ctype.cc: And here.
4807         * bits/localefwd.h: Tweak.
4808         * bits/std_streambuf.h: Tweak formatting.
4810         * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependencies.
4812 2000-03-05  Chip Salzenberg  <chip@valinux.com>
4814         * src/misc-inst.cc (basic_iostream<>):  Instantiate.
4816 2000-03-02  Phil Edwards  <pme@sourceware.cygnus.com>
4817             Kevin Atkinson  <kevinatk@home.com>
4819         Initial grab of SGI's strstream implementation with minor
4820         modifications.
4821         * src/strstream.cc:  New file.
4822         * std/strstream:  New file.
4823         * stl/bits/std_strstream.h:  New file.
4824         * bits/std_streambuf.h:  Add public access.
4825         * src/Makefile.am:  Add strstream sources to list of dependencies.
4826         * src/Makefile.in:  Regenerate.
4828 2000-03-03 2000  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4830         * bits/valarray_meta.h: Fix typo.
4832 2000-03-02  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
4833             Chip Salzenberg  <chip@valinux.com>
4834             Petter Urkedal  <petter@matfys.lth.se>
4836         * src/Makefile.am (myinstallheaders): Hack to avoid
4837         `for i in ; do'.
4838         * src/Makefile.in: Regenerate.
4840 2000-03-02  Chip Salzenberg  <chip@valinux.com>
4842         * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4843         (LINK): Put quotes around "$(CC)" for libtool link mode,
4844         so libtool will use "-B" options during GCC bootstrap.
4845         * */Makefile.in: Regenerate.
4847 2000-03-02  Petter Urkedal  <petter@matfys.lth.se>
4849         * config/c_io_libio.h: Enclose it all in ::std.
4850         * bits/basic_string.h (basic_string<>): Make types and
4851         `npos' public.
4852         * mkc++config: Truncate output file before writing.
4854 2000-03-01  Benjamin Kosnik  <bkoz@gnu.org>
4856         * math/cabsf.c (__mycabsf): Rename to cabsf.
4857         * math/cabs.c (__mycabs): Rename to cabs.
4859 2000-02-29  LLeweLLyn Reese  <llewelly@198.dsl.xmission.com>
4861        * bits/basic_string.h: Move declarations of __out_of_range(),
4862        __length_error() and accompanying macros ...
4863        * bits/exception_support.h: here. (Newly created file).
4864        * bits/basic_string.h: #include <bits/exception_support.h>
4865        * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4866        * src/Makefile.am (headers): Add.
4867        * src/Makefile.in: Regenerate.
4869 2000-02-29  Benjamin Kosnik  <bkoz@cygnus.com>
4871         * bits/cpp_type_traits.h: Rename structs so they don't clash with
4872         type_traits.h.
4873         * bits/valarray_array.h: Synch. Fix typos.
4875         * libio/Makefile.am: Change to only compile source files that
4876         config/c_io_libio.cc actually needs.
4877         * libio/Makefile.in: Regnerate.
4878         * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4879         floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4880         ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4881         iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4882         iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4883         iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4884         ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4885         iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4886         ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4887         istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4888         pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4889         strops.c strstream.h: Delete.
4891         * bits/basic_file.h: Stub out or delete unused bits in this
4892         interface.
4893         (filepos_beg): Remove.
4894         (filepos_cur): Remove.
4895         (filepos_valid): Remove.
4896         * config/c_io_libio.cc: Resynch with the changes to basic_file.
4898 2000-02-29  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4900         * bits/cpp_type_traits.h: Correct typo.
4902 2000-02-29  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
4904         * bits/cpp_type_traits.h: New file.
4906         * bits/valarray_array.h: Tweak.  #include <bits/cpp_type_traits.h>
4907         Improve array construction.
4908         (_Array_default_ctor): New dispatcher class.
4909         (__valarray_default_construct): New function.
4910         (_Array_copy_ctor): New dispatcher class.
4911         (__valarray_copy_construct): New function.
4912         (_Array<>::free_data): Remove.
4914         * src/Makefile.am (headers): Add cpp_type_traits.h
4915         * src/Makefile.in: Regenerate.
4917 2000-02-28  Benjamin Kosnik  <bkoz@cygnus.com>
4919         Prune libio directory to match files in libio/Makefile.
4920         * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4921         stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4922         streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4923         strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4924         stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4925         stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4926         stdstreams.cc: Remove.
4927         * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4928         * libio/iofflush_u.c: Remove.
4930         * libio/dbz: Remove.
4931         * libio/include: Remove.
4932         * libio/stdio: Remove.
4933         * libio/tests: Remove.
4934         * libio/testsuite: Remove.
4936         * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4938         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4939         * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4940         * configure: Regenerate.
4942 2000-02-25  Benjamin Kosnik  <bkoz@gnu.org>
4944         Abstract out the underlying "C" io bits.
4945         * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4946         * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4947         * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4948         include <cstddef>.
4949         * stl/bits/stl_config.h: Don't include _G_config.h.
4951         * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4952         * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4953         * config/c_io_libio.cc: Tweak.
4955         * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4956         * src/Makefile.in: Regenerate.
4957         * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4958         prefix/include files will be picked up.
4959         * Makefile.in: Regenerate.
4960         * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4961         * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4963         * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4964         * bits/fpos.h: And here.
4965         * bits/basic_file.h (get_fileno): Move definition from ...
4966         * src/basic_file.cc (std): To here.
4967         * bits/fpos.h: Move types for streamoff, streampos to..
4968         * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4969         * config/c_io_libio.h: ...here.
4970         (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4971         SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4972         UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4973         FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4974         abstract out bits in ios_base.
4975         * bits/ios_base.h: Re-macrofy.
4976         * src/basic_file.cc : Rename, move to
4977         * config/c_io_libio.cc: Here.
4978         * config/c_io_libio.h: New file. Include libio.
4979         * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4980         * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4981         * configure: Regenerate.
4982         * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4983         (generated_headers): Add c++io.h
4984         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4985         underlying "C" io library.
4986         * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4987         GLIBCPP_ENABLE_CSTDIO.
4989         * configure.in: Add configure bits for cross compiling non-newlib
4990         targets. .
4991         GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4992         target, as we assume g++ support is not the limiting factor.
4993         GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4994         * configure: Regenerate.
4996 2000-02-22  Benjamin Kosnik  <bkoz@cygnus.com>
4998         * Makefile.am (INTERFACE): Define.
4999         * Makefile.in: Regenerate.
5000         * libio/ChangeLog: Add entry.
5002 2000-02-21  Benjamin Kosnik  <bkoz@cygnus.com>
5004         * docs/install.html: Update install directions.
5006         * docs/status.html: Fix sidebar to be consistent.
5007         * docs/thanks.html: Same.
5008         * docs/links.html: Same.
5009         * docs/mail.html: Same.
5010         * docs/download.html: Same.
5012         * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
5013         kill the macro BUFSIZ. I think the solaris fails lie elsewhere
5014         however, in the ctype_char_members.cc fail (for instance.)
5015         * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
5016         that do not have wchar_t enabled.
5017         * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
5018         Same here.
5019         * testsuite/27_io/iostream_objects.cc: And here.
5021         * libio/gen-params (CONFIG_NM): Specifically add in nm as the
5022         default CONFIG_NM.
5024 2000-02-18  Benjamin Kosnik  <bkoz@haight.constant.com>
5025             Tom Tromey  <tromey@cygnus.com>
5027         * configure.in: Manually add MULTISUBDIR.
5028         * configure: Regenerate.
5029         * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
5030         "Eww" hacks to get multilib installs working correctly.
5031         ($(headers): Test for MULTISUBDIR before installing.
5032         * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
5033         have configure hack it in.
5034         * Makefile.in: Regenerate.
5035         * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
5036         Add enabling bits for native Cygwin ctypes, and other newlib-based
5037         Oses.
5039 2000-02-17  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
5041         * mkc++config (OUT_H): Remove EOF in cygwin.
5042         * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
5044         Tom Tromey  <tromey@cygnus.com>
5045         * src/Makefile.am: Tweaks for installing multilibs.
5047 2000-02-17  Benjamin Kosnik  <bkoz@cygnus.com>
5049         * src/Makefile.am:
5050         (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
5051         Add USE_LIBDIR bits here, not...
5052         * src/Makefile.in: Regenerate.
5053         * Makefile.am: ...here.
5054         * Makefile.in: Regenerate.
5056 2000-02-17  Benjamin Kosnik  <bkoz@gnu.org>
5058         * acinclude.m4 (LIBS): Fix typos.
5059         * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
5060         _GLIBCPP_BUGGY_COMPLEX for crosses.
5061         * src/Makefile.am (std_headers): Add libio.h as install include,
5062         as with _G_config.h
5063         * src/Makefile.in: Regenerate.
5065         * mkcheck.in: Add bits to set CXX to cross compiler.
5067         * src/complex_io.cc: Tweak.
5068         * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
5069         * configure: Regenerate.
5071         * config/newlib/ctype.cc: Tweaks.
5072         * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
5073         not const char.
5074         * src/complex_io.cc (operator>>(istream, complex): Define out if
5075         BUGGY_COMPLEX.
5077 2000-02-16  Benjamin Kosnik  <bkoz@cygnus.com>
5079         * config/newlib/bits/ctype_base.h: Correct _S_table.
5081         Reconfigure ctype support for "C" libraries that don't use arrays.
5082         * testsuite/22_locale/ctype_char_members.cc: New file. Test for
5083         basic ctype<char> functionality.
5084         * src/locale.cc: Move host-specific ctype functions that are not
5085         inlines to config/*/ctype.cc files.
5086         (ctype<char>::do_tolower): For instance.
5087         (ctype<char>::do_toupper): For instance.
5088         (ctype<wchar_t>::do_tolower): For instance.
5089         (ctype<wchar_t>::do_toupper): For instance.
5090         * config/gnu-linux/ctype.cc: Modify.
5091         * config/default/ctype.cc: Modify.
5092         * config/newlib/ctype.cc: Modify.
5093         * config/solaris/solaris2.6/ctype.cc: Modify.
5094         * config/solaris/solaris2.7/ctype.cc: Modify.
5096         * bits/locale_facets.h (ctype<char>::is): Mark inline, move
5097         out-of-line.
5098         (ctype<char>::scan_is): Here too.
5099         (ctype<char>::scan_not): Here too.
5100         Move out of line defs to config/*/bits/ctype_specializations.h.
5101         * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
5102         * config/default/bits/ctype_specializations.h: ...here. New file.
5103         * config/newlib/bits/ctype_specializations.h: ...here. New file.
5104         * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
5105         * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
5106         * src/Makefile.am (headers): Add ctype_specializations.h.
5107         * src/Makefile.in: Regenerate.
5109         Aaron Weiss <weiss@clearway.com>
5110         * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
5111         CONFIG_NM for Solaris builds.
5112         * Makefile.in: Regenerate.
5114         * src/locale.cc: Tweak formatting.
5116 2000-02-15  Benjamin Kosnik  <bkoz@cygnus.com>
5118         Jim Parsons  <parsons@clearway.com>
5119         * testsuite/27_io/istream_unformatted.cc (test06): Add test.
5120         * bits/istream.tcc (read): Set failbit if !good(). Don't increment
5121         gcount if eof.
5122         (readsome): Same.
5124         Michel Decima  <michel.decima@cnet.francetelecom.fr>
5125         * testsuite/27_io/streambuf.cc: Add test.
5126         * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
5127         (xsputn): Same.
5129         * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
5130         OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
5131         will work correctly, for instance.
5132         * src/Makefile.in: Regenerate.
5134         * bits/locale_facets.h: Fix merge error.
5135         (num_put::put(unsigned long long): And here.
5136         * mknumeric_limits (trait_name): Same.
5138 2000-02-15  Chip Salzenberg  <chip@valinux.com>
5140         Support 'configure --enable-long-long'.
5141         * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
5142         * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
5143         * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add.  Default to undef.
5144         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
5145         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
5147         * aclocal.m4: Regenerate.
5148         * config.h.in: Regenerate.
5149         * configure: Regenerate.
5151 2000-02-15  Chip Salzenberg  <chip@valinux.com>
5153         Improve (complete?) 'long long' support.
5154         * mknumeric_limits: Call $CXX with $CPPFLAGS.  Define statics
5155         for {,unsigned} long long if the limits header declares them.
5156         * src/gen-num-limits.cc: Include <bits/c++config.h> early.
5157         (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
5158         (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
5159         * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
5160         (num_put<>::put(..., long long)): Likewise.
5161         (num_put<>::put(..., unsigned long long)): Likewise.
5162         * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
5163         Templatize last parameter to support 'long long'.
5164         (num_put<>::put(...)): Call _S_format with new name.
5165         (num_put<>::put(..., long long)): Define.
5166         (num_put<>::put(..., unsigned long long)): Likewise.
5167         * src/locale-inst.cc (_S_format): Instantiate under new name.
5169 2000-02-15  Petter Urkedal  <petter@matfys.lth.se>
5171         * src/complex.cc (operator<<, operator>>): Moved from here...
5172         * src/complex_io.cc: ...to new file.
5173         (operator>>): Stub replaced by the real thing.
5174         * src/Makefile.am (sources): Inserted complex_io.cc.
5175         * src/Makefile.in: Regenerate.
5176         * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
5178 2000-02-14  Benjamin Kosnik  <bkoz@gnu.org>
5180         Add in ctype information for newlib "C" libraries.
5181         * config/newlib: New directory
5182         * config/newlib/bits/ctype_base.h: New file.
5183         * config/newlib/ctype.cc: New file.
5185         * ctype/config/linux/*: Rename, move to...
5186         * ctype/config/gnu-linux/*: Here.
5188         Finish off multilib work.
5189         * configure.in: Don't set CXX if not Canadian cross.
5190         * configure: Regenerate.
5191         * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
5192         * aclocal.m4: Regenerate.
5193         * config.h.in: Regenerate.
5195         * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
5196         the top-level gcc directory now.
5197         * mkinstalldirs: Remove.
5198         * missing: Remove
5199         * ltconfig: Remove.
5200         * ltmain.sh: Remove.
5201         * config.guess: Remove.
5202         * config.sub: Remove.
5204 2000-02-13  Benjamin Kosnik  <bkoz@cygnus.com>
5206         * configure.in (glibcpp_basedir): Add glibcpp_basedir.
5207         * Makefile.am: Move mutlilib stuff to src/Makefile.am.
5208         * Makefile.in: Regenerate.
5209         * src/Makefile.am: Add multilib bits.
5210         * src/Makefile.in: Regenerate.
5212 2000-02-12  Benjamin Kosnik  <bkoz@cygnus.com>
5214         * configure.in: Clean, add some multilib support.
5215         * configure: Regenerate.
5216         * configure.host: New file.
5218         * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
5219         roll a new function, checks for presence of libio.
5220         GLIBCPP_CHECK_COMPILER_VERSION: Same.
5221         GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
5222         GLIBCPP_CHECK_MATH_SUPPORT: Same.
5223         GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
5224         GLIBCPP_CHECK_LIBIO: Same.
5225         GLIBCPP_CHECK_CTYPE: Same.
5226         * aclocal.m4: Regenerate.
5227         * config.h.in: Regenerate.
5229         * Makefile.am: Tweaks.
5230         * Makefile.in: Regenerate.
5232 2000-02-11  Benjamin Kosnik  <bkoz@cygnus.com>
5234         * configure.in: Make outputing the libio/Makefile
5235         conditional. Haha, yeah right. Anyway, we instead do this thing
5236         where if libio is found, then we build a null library, as there is
5237         no point in duplicating the found libio.
5238         * Makefile.am: Tweak.
5239         * Makefile: Regenerate.
5240         * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
5241         are happy happy happy.
5242         * libio/Makefile.am: Regenerate.
5243         * libio/gen-params: New file.
5244         * src/Makefile.am: Make libio.la non-conditional, as it is now a
5245         null library if it's not needed. At least we are being consistent,
5246         if not as elegant as we could be.
5247         * src/Makefile: Regenerate.
5249 2000-02-10  Benjamin Kosnik  <bkoz@gnu.org>
5251         * Makefile.am (SUBDIRS): Add libio again.
5252         * Makefile.in: Regenerate.
5253         * configure.in (BUILD_LIBIO_INCLUDE): And here.
5254         (AC_OUTPUT): Generate libio/Makefile again.
5255         * configure: Regnerate.
5256         * src/Makefile.am (libstdc___la_LIBADD): Change path so that
5257         libio.la is referring back to the libio subdir again.
5258         (LIBIO_INCLUDES): And here.
5259         * src/Makefile.in: Regenerate.
5261 2000-02-09  Benjamin Kosnik  <bkoz@decepticon.cygnus.com>
5263         * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
5265 2000-02-09  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
5267         * bits/valarray_array.h (<bits/std_new.h>): #include.
5268         (__valarray_get_memory): New function.
5269         (__valarray_release_memory): Likewise.
5270         (__valarray_default_construct): New functions.
5271         (__valarray_fill_construct): New function.
5272         (__valarray_copy_construct): New funstions.
5273         (__valarray_destroy_elements): New function.
5275         * bits/valarray_array.tcc (__valarray_copy_construct): New
5276         functions.
5278         * bits/std_valarray.h (valarray<>::valarray): Use
5279         __valarray_get_memory and __valarray_fill_construct,
5280         __valarray_copy_construct, __valarray_default_construct to
5281         properly construct valarrays.
5282         (valarray<>::~valarray): Use __valarray_destroy_elements to
5283         destroy elements and __valarray_release_memory to return memory.
5284         (valarray<>::shift): Tweak.
5285         (valarray<>::cshift): Likewise.
5286         (valarray<>::resize): Robustify.
5288 2000-02-09  Benjamin Kosnik  <bkoz@cygnus.com>
5290         * mknumeric_limits (XCOMPILE): Add support for cross compiling.
5291         * bits/limits_generic.h: New file, defaults.
5292         * src/limits_generic.cc: New file, defaults.
5293         * configure.in (LIBS): Run mknumeric_limits at configure time.
5294         * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
5295         HAVE_LC_MESSAGES, tidy, clean, etc.
5296         * src/Makefile.am (geberated_sources): Remove.
5298         * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
5299         (_IO_off_t, _IO_ssize_t)
5301         * src/complex.cc: Use glibc's <complex.h> if
5302         possible. . . apparently this was not being done before. Include
5303         tweaks.
5304         (abs): Enable cabs if it's around, instead of mycabs.
5305         * src/complexf.cc (FCT): Add global scope to match complex.cc.
5306         * src/complexl.cc (FCT): Same.
5307         * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
5308         (libmath_la_SOURCES): And here.
5309         * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
5310         * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
5311         * math/complex-stub.h: Move c_log declarations into. . .
5312         * math/mathconf.h: Here. This is because glibc's <complex.h>
5313         declares cclog, not c_log. The case of the dueling standards. . .
5314         * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
5315         * math/Makefile.am: Change.
5316         * math/nan.c (nan): Change signature.
5317         * math/mathconf.h (NAN): Same.
5318         * math/complex-stub.h (nan): And here.
5320         * Makefile.am (rebuild-stamp): Remove libio and libio
5321         dependencies.  Plan to take out libio subdir and just merge with
5322         libio in top level gcc directory. Of course, this assumes there is
5323         a libio in the top level directory (ie ../src_dir). This will
5324         probably change the way this library is configured by default.
5325         * libio/*: Remove.
5327 2000-02-09  Chip Salzenberg  <chip@valinux.com>
5329         * localefwd.h (locale): Make public: facet, id, category.
5331 2000-02-09  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
5333         * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
5335         * acinclude.m4: Patch only once!
5337 2000-02-09  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
5339         * testsuite/26_numerics/buggy_complex.cc: New file.
5341 2000-02-05  Petter Urkedal  <petter@matfys.lth.se>
5343         * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
5344         on the 1999-11-21 entries by Mumit Khan.
5345         * configure.in: Use.
5346         * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
5347         * bits/std_complex.h: Use.
5349 2000-02-04  Philip Martin <pm@corris.dircon.co.uk>
5351        * stl/bits/stl_algobase.h: Add traits based dispatch for
5352        __normal_iterator in the copy_backward()algorithm
5353        * stl/bits/stl_vector.h: Reduce use of __normal_iterator
5354        base() function.
5356 2000-02-04  Mumit Khan  <khan@xraylith.wisc.edu>
5358         * src/gen-num-limits.cc (signal_handler): Work around signal
5359         handling problem on Cygwin.
5360         Thanks to Chris Faylor <cgf@cygnus.com>.
5362 2000-02-03  Benjamin Kosnik  <bkoz@cygnus.com>
5364         * configure.in: Add (preliminary) support for cross compiles and
5365         multilibs.
5366         Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
5367         compilation freaks on this.
5368         * configure: Regenerate.
5369         * src/Makefile.am: Add support for cross compiles.
5370         * src/Makefile: Regenerate.
5371         * Makefile.am: Add support for cross compiles.
5372         * Makefile.in: Regenerate.
5374 2000-02-02  Benjamin Kosnik  <bkoz@cygnus.com>
5376         * configure.in (LIBS): Remove unused subdirs.
5377         * configure: Regenerate.
5378         * Makefile.am (SUBDIRS): And here.
5379         * Makefile.in: Regenerate.
5380         * src/Makefile.am (sources): And here.
5381         * src/Makefile.in: Regenerate.
5382         * string/*: Remove.
5383         * amm1/*: Remove.
5384         * generic/*: Remove.
5385         * glibc/*: Remove.
5386         * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
5388         * libtool: Update to libtool-1.3.4.
5389         * ltconfig: Same
5390         * ltmain.sh: Same
5391         * config.sub: Same.
5392         * config.guess: Same.
5394 2000-02-02  Benjamin Kosnik  <bkoz@cygnus.com>
5395             Alexandre Petit-Bianco  <apbianco@cygnus.com>
5397         * mkc++config: New file. Put autoconf macros into _GLIBCPP_
5398         namespace instead of polluting global namespace with duplicate
5399         autoconf output.
5400         * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
5401         here anymore. . .
5402         (AC_OUTPUT_COMMANDS): Make it here.
5403         * configure: Regenerate.
5404         * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
5405         endif, as now we will add it manually.
5406         Move to this file. . .
5407         * bits/c++config.h: New file. Same as old c++config.h.in except
5408         the ending macro guard is now appended manually.
5410         * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
5411         * bits/std_cmath.h: Same here.
5412         * bits/std_cwchar.h: And here.
5413         * src/locale.cc: And here.
5414         * src/complexl.cc: And here.
5415         * math/mathconf.h: Change to include "config.h" instead of
5416         bits/c++config.h.
5418 2000-02-01  Benjamin Kosnik  <bkoz@gnu.org>
5420         * configure.in: Add support for threads. Try a model closer to
5421         libjava, as hopefully if the thread bits are added carefully
5422         enough, the source code will not have gross hacks. Besides, the
5423         libstdc++-v2 model could be easily emulated without the necessity
5424         of linking files in (as currently done)--all that needs to be done
5425         is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
5426         new. . . and see if we arrive at a more elegant solution.
5427         * configure: Regenerated.
5428         * config/threads-no.h: New file.
5429         * config/threads-posix.h: New file.
5430         * src/Makefile.am (myinstallheaders): Install c++threads.h.
5431         * src/Makefile.in: Regenerated.
5433 2000-01-31  Benjamin Kosnik  <bkoz@gnu.org>
5435         META-QUESTION: Can we just make a "header.html" file and a
5436         "footer.html" and just include them in all the doc sub-pages. The
5437         duplication of the header info is kind of gross, and weak
5438         considering that if you change order or layout then all this stuff
5439         has to be changed in all the sub-files.
5441         * docs/17_intro/contribute.html: Take out duplicate file info.
5442         * README: Should just contain a link to the docs/index.html
5443         page. Duplicate information removed.
5444         * docs/faq/index.html: Remove indexes into HOWTOS.
5445         * docs/17_intro/howto.html: Make intro and docs part more
5446         centralized. Move intro stuff to documentation.html.
5447         * docs/how.html: Tweak. Does this file need to exist? What calls it?
5448         * docs/README.html: Move documentation files to
5449         documentation.html. Should this file be renamed
5450         "config_and_install.html" as that is what is apparently covered
5451         here. . .
5452         * docs/install.html: Yes. New file, moved and renamed README.html.
5453         * docs/documentation.html: New file. This is the index file for
5454         the documentation.
5455         * docs/index.html: Edit sidebar order. Insert new link to new
5456         documentation spine, documentation.html.
5458 2000-01-31  Scott Snyder  <snyder@fnal.gov>
5460         * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
5461         we don't extract any characters.
5462         * testsuite/21_strings/inserters_extractors.cc (main): New tests.
5464 2000-01-31  Anders Widell  <awl@hem.passagen.se>
5466         * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
5467         step is a multiple of the word size.
5468         (_M_do_right_shift): Same.
5469         * testsuite/23_containers/bitset_shift.cc: New file.
5471 2000-01-31  Nathan Myers  <ncm@zembu.com>
5473         * README (Documentation): Add path info, fix typos.
5475 2000-01-26  Benjamin Kosnik  <bkoz@redhat.com>
5477         * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
5478         crazy group checking for numpunct, for real this time. At some
5479         point, the local variable __grp should probably get replaced a
5480         char array, or something a bit more lightweight.
5481         (num_get::do_get(bool)): Simplify. Don't set bool reference to
5482         parsed value unless err isn't failbit.
5483         (num_get::do_get(*)): Same, make consistent.
5485         Nathan Myers  <ncm@zembu.com>
5486         Jim Parsons  <parsons@clearway.com>
5487         * testsuite/27_io/istream_extractor_arith.cc (test08): Add
5488         more grouping tests, tweak, scold, wine.
5490 2000-01-24  Benjamin Kosnik  <bkoz@gnu.org>
5492         * testsuite/27_io/istream_extractor_arith.cc (test07): Add
5493         grouping tests.
5494         * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
5495         grouping bugs. Only allow thousands_sep if _M_use_groupings is
5496         true.
5498         via <llewelly@198.dsl.xmission.com>
5499         * stl/bits/stl_vector.h (vector::_M_range_check): Throw
5500         out_of_range instead of range_error.
5502 2000-01-17  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
5504         * bits/std_iomanip.h (setw): Fix typo.
5506 2000-01-14  Benjamin Kosnik  <bkoz@gnu.org>
5508         * testsuite/27_io/istream_extractor_arith.cc: Fix.
5509         * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
5510         * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
5512 2000-01-14  Phil Edwards  <pme@sourceware.cygnus.com>
5514         * docs/README.html:  Reformat, more installation instructions.
5515         * docs/gccrebuild.html:  New file.
5516         * docs/faq/index.html:  Update for new testsuite output filenames.
5517         * docs/faq/index.txt:  Regenerate.
5519 2000-01-14  Phil Edwards  <pme@sourceware.cygnus.com>
5521         * Makefile.am (rebuild-stamp, all-local):  New targets.
5522         * Makefile.in:  Regenerated.
5523         * acinclude.m4:  New macro, GLIBCPP_ENABLE_RELIBGCC.
5524         * aclocal.m4:  Regenerated.
5525         * configure.in:  Call new macro.  Also do some sanity checks
5526           for combinations of --enable's that may not make sense.
5527         * configure:  Regenerated.
5529 2000-01-13  Benjamin Kosnik  <bkoz@cygnus.com>
5531         * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
5532         * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
5533         correctly for hex-formatted input.
5535         * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
5536         eofbit instead of eofbit | failbit.
5537         * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
5538         ifstreams now are opened or'd with ios_base::in (as is correct).
5539         * bits/fstream.tcc (filebuf::seekoff): Simplify.
5540         * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
5542 2000-01-12  Benjamin Kosnik  <bkoz@gnu.org>
5544         * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
5545         * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
5546         (misleading) code.
5547         (__basic_file::filepos_valid): Same.
5548         (__basic_file::filepos_beg): Same.
5549         (__baseic_file::get_fileno): New function.
5550         * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
5551         feedback from LWG 49.
5552         * src/ios.cc: Move definition here.
5553         * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
5555         * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
5556         output part of internal buffer based on string size, so that
5557         _M_out_end is set consistently with filebufs. Correct comments.
5558         * bits/sstream.tcc (stringbuf::overflow): Update here too.
5559         * testsuite/27_io/stringbuf.cc: Changes.
5561 2000-01-11  Benjamin Kosnik  <bkoz@gnu.org>
5563         * bits/sstream.tcc (seekoff): Set based on end of written buffer,
5564         not buffer size.
5565         * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
5567         * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
5568         (ofstream::open): Add ios_base::out to openmode.
5570         * bits/locale_facets.tcc (_M_extract): Have consistency between
5571         istream::sentry and extractors, where failbit | eofbit is
5572         set. Don't change this, but instead change. . (do some formatting
5573         tweaks.)
5574         * bits/istream.tcc (istream::sentry): Only set eofbit.
5576 2000-01-10  Benjamin Kosnik  <bkoz@gnu.org>
5578         * testsuite/27_io/istringstream_members.cc: New file.
5580 2000-01-09  Benjamin Kosnik  <bkoz@gnu.org>
5582         * bits/istream.tcc (istream::sentry): Flush.
5584         * configure.in (AC_OUTPUT_COMMANDS): Simplify.
5585         * configure: Regenerate.
5586         * src/Makefile.am (generated_headers): Remove bits/c++config.h so
5587         that make clean will not delete it.
5588         * src/Makefile: Regenerate.
5590 2000-01-07  Phil Edwards  <pme@sourceware.cygnus.com>
5592         * mkcheck.in:  Use host-specific invocation of size(1);
5593           GNU binutils isn't necessarily there (more's the pity).
5595 2000-01-06  Benjamin Kosnik  <bkoz@cygnus.com>
5597         * configure.in (LIBS): Better tests for solaris2.6.
5598         * configure: Regenerate.
5600          <vakatov@ncbi.nlm.nih.gov>
5601         * bits/std_sstream.h: As per libstdc++20.
5603 2000-01-06  Benjamin Kosnik  <bkoz@gnu.org>
5605         Break out configuration on solaris.
5606         * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
5607         * config/solaris/ctype.cc: Delete and move to proper version.
5608         * config/solaris/bits: Same.
5609         * config/solaris/solaris2.5: Add this directory, with subdir bits
5610         and file ctype.cc. Probably doesn't work.
5611         * config/solaris/solaris2.6: Same.
5612         * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
5614         * Makefile.am: Change paths to mkcheck.
5615         * Makefile: Regenerate.
5616         * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
5617         * configure: Regenerate.
5618         * src/Makefile.am (generated_headers): Add bits/c++config.h.
5620         * mkcheck: Now autogenerated by configure and renamed. . .
5621         * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
5622         Have longer-style dates.
5623         Raja R Harinath  <harinath@cs.umn.edu>
5624         * mkcheck: Change path to #!/usr/clocal/bin/bash.
5626         * docs/README.html: Correct links, maybe. FAQ, install notes, and
5627         general documentation need to be organized around each other, not
5628         fight against each other. . .
5630 2000-01-04  Phil Edwards  <pme@sourceware.cygnus.com>
5631             Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5633         * README:  Add a note referring to README.html.
5634         * docs/README.html:  New file from Nicolai.
5635         * docs/faq/index.html:  Move "how to get a copy" to here.
5636         * docs/gentop/footchunk.html:  Update.
5637         * docs/gentop/headchunk.html:  New links according to
5638           bkoz's idea for "How to..." stuff.
5639         * docs/gentop/thanks:  Actually put people here.
5640         * docs/download.html:  Regenerated.
5641         * docs/index.html, docs/links.html, docs/mail.html,
5642           docs/status.html, docs/thanks.html, docs/faq/index.txt:  Ditto.
5643         * docs/how.html:  Ditto.  (This file should go away soon.)
5645 Copyright (C) 2000 Free Software Foundation, Inc.
5647 Copying and distribution of this file, with or without modification,
5648 are permitted in any medium without royalty provided the copyright
5649 notice and this notice are preserved.