Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / contrib / gcc-3.4 / libstdc++-v3 / ChangeLog-2000
1 2000-12-31  Alexandre Oliva  <aoliva@redhat.com>
2
3         * include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.
4
5 2000-12-23  Benjamin Kosnik  <bkoz@redhat.com>
6
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.
11
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.
19
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
23         
24 2000-12-22  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
25
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.
31
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.
35
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.
41         
42         * include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
43         Same for _M_halfcount.
44
45 2000-12-22  Alexandre Oliva  <aoliva@redhat.com>
46
47         * mknumeric_limits: Output to temporary files, and rename them at
48         the end.
49
50 2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>
51
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.
64         
65 2000-12-21  Joseph S. Myers  <jsm28@cam.ac.uk>
66
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.
83
84 2000-12-21  Gabriel Dos Reis  <gdr@codesourcery.com>
85
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.
92
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. 
102         
103         * include/bits/std_complex.h (sqrt<>): Define primary template.
104         (complex<>): Remove sqrt friend declarations.
105
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.
112
113 2000-12-20  Phil Edwards  <pme@sources.redhat.com>
114
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.
123
124         * include/bits/istream.tcc:  Fix clause reference in comment.
125
126 2000-12-20  Benjamin Kosnik  <bkoz@fillmore.constant.com>
127
128         * testsuite/17_intro/headers_c.cc (main): New file.
129
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.
135         
136 2000-12-19  Curtis Janssen  <cljanss@ca.sandia.gov>
137
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.
140
141 2000-12-19  Benjamin Kosnik  <bkoz@fillmore.constant.com>
142
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.
150
151 2000-12-19  Loren J. Rittle  <ljrittle@acm.org>
152
153         * testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
154
155 2000-12-19  Mark Kettenis  <kettenis@gnu.org>
156
157         * configure.target: Support the Hurd.
158
159 2000-12-19  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
160
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.
172
173         * testsuite/22_locale/ctype_char_members.cc (test01): Use binary
174         operator correctly.
175         (test01): Check 'A' for alnum, upper, alpha.
176
177 2000-12-19  Gabriel Dos Reis  <gdr@codesourcery.com>
178
179         * include/bits/std_complex.h (complex<float>::operator-=): Fix
180         thinko. 
181
182 2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>
183
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...
188
189 2000-12-18  Joseph S. Myers  <jsm28@cam.ac.uk>
190
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).
194
195 2000-12-15  Benjamin Kosnik  <bkoz@redhat.com>
196
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.
202
203 2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
204
205         * src/Makefile.am (myinstallheaders): Install backwards headers in
206         prefix, not prefix/backward.
207         * src/Makefile.in: Regenerate.
208
209 2000-12-14  Benjamin Kosnik  <bkoz@haight.redhat.com>
210
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.
216         
217 2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
218
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.
222
223 2000-12-14  Benjamin Kosnik  <bkoz@haight.redhat.com>
224
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.
228
229 2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>
230
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.
234         
235 2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>
236
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.
256
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.
265         
266         * include/bits/ios_base.h: Formatting tweaks.
267
268         * docs/html/17_intro/C++STYLE: Add.
269
270 2000-12-12  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
271
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.
281         
282 2000-12-12  Angela Marie Thomas <angela@cygnus.com>
283
284         * configure.in: Fix case for host-x-linux
285         * configure: Regenerate.
286
287 2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
288
289         * src/Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include
290         2000-11-12 hunk.
291         * src/Makefile.in: Rebuilt.
292
293 2000-12-09  Jason Merrill  <jason@redhat.com>
294
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.
298
299 2000-12-09  Phil Edwards  <pme@sources.redhat.com>
300
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.
304
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.
389
390 2000-12-08  Phil Edwards  <pme@sources.redhat.com>
391
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.
400
401 2000-12-08  Gabriel Dos Reis  <gdr@codesourcery.com>
402
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.
434
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.
438
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.
444
445 2000-12-08  Gabriel Dos Reis  <gdr@codesourcery.com>
446
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.
451
452 2000-12-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
453
454         * config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
455
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.
467
468         * include/bits/locale_facets.h: Tweak.
469         
470 2000-12-06  Benjamin Kosnik  <bkoz@kredhat.com>
471
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.
490         
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.
496         
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.
501         
502         * include/c/bits/std_cstdio.h: Include c++config.h.
503
504 2000-12-06  Phil Edwards  <pme@sources.redhat.com>
505
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.
515
516 2000-12-06  Richard Earnshaw  <rearnsha@arm.com>
517
518         * configure.target (*-*-freebsd, *-*-netbsd): Correct paths to 
519         os_include_dir.
520
521 2000-12-05  Jeffrey A Law  <law@cygnus.com>
522
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
528
529 2000-12-05  Alexandre Petit-Bianco  <apbianco@redhat.com>
530
531         * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
532         * src/Makefile.in: Regenerate.
533         
534 2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>
535
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.
544         
545 2000-12-05  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
546
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.
556
557 2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>
558
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.
569
570 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
571
572         * config/os/freebsd/bits/ctype_base.h: Update comments about other
573         BSD variants.
574
575 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
576
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.
581
582 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
583
584         * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
585         code.
586
587 2000-12-05  Richard Earnshaw  <rearnsha@arm.com>
588
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.
597
598 2000-12-05  Gabriel Dos Reis  <gdr@codesourcery.com>
599
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.
625
626 2000-12-03  Joseph S. Myers  <jsm28@cam.ac.uk>
627
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.
638
639 2000-12-01  Phil Edwards  <pme@sources.redhat.com>
640
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.
649
650 2000-12-01  Phil Edwards  <pme@sources.redhat.com>
651
652         * mkcheck.in:  Count static and shared results separately.
653
654 2000-12-01  Loren J. Rittle  <ljrittle@acm.org>
655
656         * mkcheck.in:  Correct typo.
657
658 2000-12-01  Gabriel Dos Reis  <gdr@codesourcery.com>
659
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.
664
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<>.
670
671         * include/c/bits/cmath.tcc: New file.
672
673 2000-11-29  Benjamin Kosnik  <bkoz@redhat.com>
674
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.
688         
689 2000-11-29  Phil Edwards  <pme@sources.redhat.com>
690
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.
710
711 2000-11-29  Loren J. Rittle  <ljrittle@acm.org>
712
713         * tests_flags.in: Correct typo.
714
715 2000-11-29  Gabriel Dos Reis  <gdr@codesourcery.com>
716
717         * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
718         * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
719
720 2000-11-29  Gabriel Dos Reis  <gdr@codesourcery.com>
721
722         * src/Makefile.am (sources): Add bitset.cc
723         * src/Makefile.in: Regenrate.
724
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.
730
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.
735
736 2000-11-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
737
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.
749
750 2000-11-28  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
751
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.
756         
757 2000-11-27  Benjamin Kosnik  <bkoz@redhat.com>
758
759         * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
760
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.
764         
765 2000-11-27  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
766
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.
773         
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.
781         
782 2000-11-27  Gabriel Dos Reis  <gdr@codesourcery.com>
783
784         * tests_flags.in: Update documentation to reflect the change
785         below.
786
787 2000-11-26  Benjamin Kosnik  <bkoz@fillmore.constant.com>
788
789         * tests_flags.in: Export CXX, CXXFLAGS.
790         * mkcheck.in: Grab them.
791
792 2000-11-26  David Billinghurst  <David.Billinghurst@riotinto.com>
793             Benjamin Kosnik  <bkoz@redhat.com>
794         
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.
801         
802 2000-11-26  Benjamin Kosnik  <bkoz@redhat.com>
803
804         * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
805
806 2000-11-26  Benjamin Kosnik  <bkoz@redhat.com>
807
808         * acinclude.m4: Only sanity check for compiler version when
809         configuring. More fixes for 'make clean'.
810         * aclocal.m4: Regenerate.
811         * configure: Regenerate.
812         
813 2000-11-26  Gabriel Dos Reis  <gdr@codesourcery.com>
814
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*.
821
822         * acinclude.m4: Remove check for cabs*. 
823         * aclocal.m4: Regenerate.
824
825         * Makefile.in: Regenerate.
826
827 2000-11-26  Gabriel Dos Reis  <gdr@codesourcery.com>
828
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.
834
835 2000-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
836
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.
843
844 2000-11-25  Benjamin Kosnik  <bkoz@redhat.com>
845             Richard Earnshaw  <rearnsha@arm.com> 
846
847         * src/Makefile.am (INCLUDES): Remove unconditional use of
848         _GNU_SOURCE and _ISOC99_SOURCE macros.
849         * src/Makefile.in: Regenerate.
850         
851 2000-11-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
852
853         * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
854         _GLIBCPP_USE_WCHAR_T guards.
855
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.
859
860 2000-11-23  Hans-Peter Nilsson  <hp@bitrange.com>
861
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.
865
866         * libio/libio.h [__P]: Move __THROW and __PMT into their own
867         ifndef:s.
868
869 2000-11-23  David Edelsohn  <edelsohn@gnu.org>
870
871         * porting.texi: Expand libtool information.
872
873 2000-11-23  Gabriel Dos Reis  <gdr@codesourcery.com>
874
875         * include/bits/ios_base.h (ios_base::failure::~failure,
876         ios_base::failure::what): Move definition to ...
877
878         * src/ios.cc (ios_base::failure::~failure): ... here.
879         src/ios.cc (ios::failure::what): Likewise.
880
881 2000-11-22  Benjamin Kosnik  <bkoz@redhat.com>
882
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.
890
891         * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
892         to be consistent with other headers.
893
894 2000-11-22  Richard Henderson  <rth@redhat.com>
895
896         * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
897         
898 2000-11-22  Phil Edwards  <pme@sources.redhat.com>
899
900         * porting.texi:  Minor tweaks to vocabulary.
901
902 2000-11-22  Loren J. Rittle  <ljrittle@acm.org>
903
904         * include/backward/strstream.h: Reinstate the `using'
905         statements.
906
907 2000-11-22  Loren J. Rittle  <ljrittle@acm.org>
908
909         * src/Makefile.am (base_headers): Add missing backwards headers.
910         * src/Makefile.in: Regenerate.
911
912 2000-11-21  scott snyder  <snyder@fnal.gov>
913
914         * config/c_io_stdio.cc (seekoff): Fix return value.
915         (seekpos): Likewise.
916         (sys_seek): Likewise.
917
918 2000-11-21  Loren J. Rittle  <ljrittle@acm.org>
919
920         * mkcheck.in (explanation): Retain output of all failing
921         compiles.  Don't add gratuitous space to the log file.
922
923 2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
924
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.
946
947 2000-11-21  Mark Mitchell  <mark@codesourcery.com>
948
949         * porting.texi: New file.
950
951 2000-11-21  Branko Cibej  <brankoe@xbc.nu>
952
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.
958         
959 2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
960
961         * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
962         * aclocal.m4: Regenerate.
963         * configure: Renerate.
964
965 2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>
966
967         * mkcheck.in (explanation): Don't paste output of passing compiles
968         into log file. Use -static. Get version info.
969
970         * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
971
972 2000-11-20  Gabriel Dos Reis  <gdr@codesourcery.com>
973
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.
979
980 2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>
981
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.
988
989         * testsuite/23_containers/vector_ctor.cc (test02): Add test from
990         libstdc++/102.
991         
992 2000-11-20  Joseph S. Myers  <jsm28@cam.ac.uk>
993
994         * include/bits/c++config, include/bits/ios_base.h,
995         include/bits/std_streambuf.h: Correct spelling of "deprecated".
996
997 2000-11-19  Mark Mitchell  <mark@codesourcery.com>
998
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.
1004
1005 2000-11-18  Mark Mitchell  <mark@codesourcery.com>
1006
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.
1016
1017 2000-11-17  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1018
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.
1023         
1024 2000-11-17  Loren J. Rittle  <ljrittle@acm.org>
1025
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.
1030
1031 2000-11-17  Phil Edwards  <pme@sources.redhat.com>
1032
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.
1043
1044 2000-11-16  Loren J. Rittle  <ljrittle@acm.org>
1045
1046         * include/bits/locale_facets.tcc (num_get<_CharT,
1047           _InIter>::do_get(...)): Add missing typename keyword.
1048
1049 2000-11-16  Mark Mitchell  <mark@codesourcery.com>
1050
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.
1065         
1066 2000-11-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
1067
1068         * config/c_io_stdio.h: Include stddef.h.
1069
1070 2000-11-16  Mark Mitchell  <mark@codesourcery.com>
1071
1072         * config/c_io_stdio.h (streamsize): Make it a typedef for
1073         ptrdiff_t.
1074         (wstreamsize): Likewise.
1075
1076         * config/c_io_stdio.h: Include libio.h.
1077
1078 2000-11-15  Mark P Mitchell  <mark@codesourcery.com>
1079
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.
1089         
1090 2000-11-15  Mark Mitchell  <mark@codesourcery.com>
1091
1092         * mkcheckin.in: Move check for bash version 2 later in the file.
1093
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.
1100         
1101 2000-11-15  David Billinghurst  <David.Billinghurst@riotinto.com>
1102
1103         * mkcheck.in:  Add function size_command() for irix.
1104
1105 2000-11-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1106
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.
1114         
1115         * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
1116
1117 2000-11-14  Phil Edwards  <pme@sources.redhat.com>
1118
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.
1122
1123 2000-11-13  Loren J. Rittle  <ljrittle@acm.org>
1124
1125         * config/c_io_stdio.h: Don't define __c_wfile_type
1126         when _GLIBCPP_USE_WCHAR_T is not defined.
1127
1128 2000-11-13  Phil Edwards  <pme@sources.redhat.com>
1129
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.
1143
1144         * mkcheck.in:  Use libtool.  Split things out into functions.
1145
1146 2000-11-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1147
1148         * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
1149         * Makefile.in: Regenerate.
1150
1151 2000-11-12  David Edelsohn  <edelsohn@gnu.org>
1152
1153         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
1154         libiconv.a providing wchar_t support functions.
1155         * aclocal.m4: Regenerate.
1156         
1157 2000-11-12  Loren J. Rittle  <ljrittle@acm.org>
1158
1159         * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
1160         * aclocal.m4, configure: Rebuilt.
1161
1162 2000-11-12  Brent Verner  <brent@rcfile.org>
1163
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.
1170         
1171 2000-11-12  Mark Mitchell  <mark@codesourcery.com>
1172
1173         * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
1174         of `abs (double)' to ...
1175         (fabs): this.
1176
1177         * config/os/solaris/solaris2.7/bits/os_defines.h: Define
1178         __EXTENSIONS__.
1179
1180 2000-11-11  Mark P Mitchell  <mark@codesourcery.com>
1181
1182         * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
1183         when _GLIBCPP_USE_WCHAR_T is not defined.
1184
1185 2000-11-10  Phil Edwards  <pme@sources.redhat.com>
1186
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.
1191
1192 2000-11-10  Gabriel Dos Reis  <gdr@codesourcery.com>
1193
1194         * include/bits/cpp_type_traits.h: Fix typos.  Adjust formatting.
1195
1196 2000-11-10  Gabriel Dos Reis  <gdr@codesourcery.com>
1197
1198         * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
1199         _Count_ones<>::_S_count): Turn into enumerators.
1200
1201 2000-11-08  Mark Mitchell  <mark@codesourcery.com>
1202
1203         * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
1204         (codecvt::do_in): Likewise.
1205
1206 2000-11-08  David Edelsohn  <edelsohn@gnu.org>
1207
1208         * src/locale-inst.cc: Add explicit instantiations of
1209         _M_fill_insert and fill_n<..., unsigned long,...> .
1210
1211 2000-11-06  Gabriel Dos Reis  <gdr@codesourcery.com>
1212
1213         * include/bits/std_complex.h (conj): Undo double removal.
1214
1215 2000-11-06  Alexandre Oliva  <aoliva@redhat.com>
1216
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.
1220
1221 2000-11-04  Mark Mitchell  <mark@codesourcery.com>
1222
1223         * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
1224         * aclocal.m4: Regenerated.
1225         * configure: Likewise.
1226
1227         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
1228         use of `test'.
1229         * aclocal.m4: Regenerated.
1230         * configure: Likewise.
1231
1232 2000-11-04  Alexandre Oliva  <aoliva@redhat.com>
1233
1234         * acinclude.m4 (CXX): Prevent it from being cached.
1235         * aclocal.m4, configure, */Makefile.in: Rebuilt.
1236
1237 2000-11-03  David Edelsohn <dje@watson.ibm.com>
1238
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.
1244
1245 2000-11-03  Phil Edwards  <pme@sources.redhat.com>
1246
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.
1255
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.
1261
1262 2000-11-03  David Edelsohn  <edelsohn@gnu.org>
1263
1264         * include/c/bits/std_cwchar.h: Undefine macro that conflicts
1265         with function name defined in this file.
1266
1267 Thu Nov  2 23:19:20 2000  Mark P Mitchell  <mark@codesourcery.com>
1268
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.
1272
1273 2000-11-02  Mark Mitchell  <mark@codesourcery.com>
1274
1275         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
1276
1277 Thu Nov  2 10:11:45 2000  Mark P Mitchell  <mark@codesourcery.com>
1278
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.
1290
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.
1296         
1297         * mkcheck.in: Fix echoing of -rpath option.
1298         
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.
1303         
1304 2000-11-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1305
1306         * src/locale.cc: Match orderings for static members.
1307         * include/bits/fstream.tcc: Fixes for cin.
1308
1309 2000-11-02  Gabriel Dos Reis  <gdr@codesourcery.com>
1310
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.
1314
1315         * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
1316         definitions. 
1317
1318 2000-11-01  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1319
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.
1329         
1330 2000-10-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1331
1332         * include/c/bits/std_cwctype.h: Add more undefs.
1333
1334 2000-10-31  Gabriel Dos Reis  <gdr@codesourcery.com>
1335
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.
1340
1341         * src/complex.cc (exp<>, log<>, log10<>): Comment out
1342         specializations. 
1343
1344 2000-10-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1345
1346         * include/bits/std_complex.h: Remove duplicate definition of conj.
1347         * include/c/bits/std_cwctype.h: Consistent placement of undefs.
1348         
1349 2000-10-31  Gabriel Dos Reis  <gdr@codesourcery.com>
1350
1351         * src/complex.cc (arg, polar): Comment out specializations.
1352
1353         * include/bits/std_complex.h (complex<>): Remove arg<> friend
1354         declaration. 
1355         (arg): Define primary template.
1356         (polar): Likewise.
1357         (conj): Likewise.
1358
1359 2000-10-31  Gabriel Dos Reis  <gdr@codesourcery.com>
1360
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.
1365         
1366         * include/bits/std_complex.h (complex<>): Comment out friend
1367         declarations of abs<> specializations.
1368         (abs): Define primary template.
1369
1370         * src/complex.cc (abs): Comment out specialization definition.
1371
1372 2000-10-30  Phil Edwards  <pme@sources.redhat.com>
1373
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.
1386
1387         * config/os/solaris/solaris2.7/bits/os_defines.h:  Define
1388           _G_USING_THUNKS to 0.
1389
1390 2000-10-30  Benjamin Kosnik  <bkoz@redhat.com>
1391
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.
1395
1396         * include/bits/codecvt.h: Add include of c++config.h, so that
1397         __USE_GNU gets defined. (Important for alpha.)
1398
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::.
1415
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.
1420         
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.
1426         
1427 2000-10-30  Steven King  <sxking@uswest.net>
1428
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.
1445
1446 2000-10-30  Mark Mitchell  <mark@codesourcery.com>
1447
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.
1462
1463 2000-10-30  Joseph S. Myers  <jsm28@cam.ac.uk>
1464
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.
1470
1471 2000-10-29  Mark Mitchell  <mark@codesourcery.com>
1472
1473         * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
1474         building shared executables.
1475
1476 2000-10-29   Mark Harig <mharig@landmark.com>
1477
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.
1482         
1483 2000-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1484
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.
1499
1500 2000-10-29  Mark Mitchell  <mark@codesourcery.com>
1501
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.
1524         
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.
1534         
1535 2000-10-28  Mark Mitchell  <mark@codesourcery.com>
1536
1537         * src/string-inst.cc (basic_string<C>::npos): Explicitly
1538         instantiate it.
1539
1540 2000-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1541
1542         * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1543
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.
1552         
1553 2000-10-26  David Edelsohn  <edelsohn@gnu.org>
1554
1555         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1556         (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1557         
1558 2000-10-26  Phil Edwards  <pme@sources.redhat.com>  
1559             David Edelsohn  <dje@watson.ibm.com>
1560
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.
1570
1571 2000-10-26  Mark Mitchell  <mark@codesourcery.com>
1572
1573         * include/backward/streambuf.h: New file.
1574
1575 2000-10-26  David Edelsohn  <dje@watson.ibm.com> 
1576         
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.
1580
1581 2000-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1582
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.
1594
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.
1602
1603 2000-10-26  Gabriel Dos Reis  <gdr@codesourcery.com>
1604
1605         * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1606         Use __valarray_copy_construct only where appropriate.
1607
1608 2000-10-25  Mark Mitchell  <mark@codesourcery.com>
1609
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.
1616         
1617 2000-10-25  Phil Edwards  <pme@sources.redhat.com>
1618
1619         * configure.in:  Check for gconv.h.
1620         * libio/wfileops.c:  Wrap gconv.h in HAVE_GCONV_H.
1621
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.
1626
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.
1630
1631 2000-10-24   Mark Harig <mharig@landmark.com>
1632
1633         * docs/configopts.html: Added documentation for the
1634         "--enable-version-specific-runtime-libs" and
1635         "--with-gxx-include-dir" configuration switches.
1636
1637 2000-10-24  Benjamin Kosnik  <bkoz@redhat.com>
1638
1639         * include/bits/stl_pair.h (make_pair): Add LWG solution.
1640
1641         * testsuite/21_strings/compare.cc (test01): Inject namespace std
1642         into the mix.
1643
1644         * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1645         this works. 
1646
1647 2000-10-24  Levente Farkas  <lfarkas@mindmaker.hu>
1648
1649         * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1650
1651 2000-10-24  Phil Edwards  <pme@sources.redhat.com>
1652
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.
1666
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.
1670
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.
1680
1681         * mkcheck.in:  Limit the available heap size for testsuite
1682           binaries, initially at 2MB.
1683
1684 2000-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1685
1686         * testsuite/21_strings/compare.cc (test01): Add using declarations.
1687
1688         * include/c_std/bits/std_cerrno.h: And here.
1689         * include/c_std/bits/std_cassert.h: Tweaks.
1690
1691         * mkcheck.in: Simplify.
1692         
1693         * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1694         (GLIBCPP_ENABLE_LONG_LONG): Same.
1695         * aclocal.m4: Regenerate.
1696
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.
1704
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.
1708
1709         * include/c_std/bits/std_cassert.h: Fix.
1710         * include/c_std/bits/std_cerrno.h: Make consistent.
1711
1712         * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1713         declaration from ::_C_legacy to _C_legacy.
1714
1715         * include/c_std/bits/std_cstdio.h: same with printf.
1716         * include/c_std/stdio.h: And here.
1717
1718         * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1719         * include/c_std/stdlib.h: Same here.
1720         
1721 2000-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1722
1723         * testsuite/21_strings/compare.cc (test01): Add using declarations.
1724
1725         * include/c_std/bits/std_cerrno.h: And here.
1726         * include/c_std/bits/std_cassert.h: Tweaks.
1727
1728         * mkcheck.in: Simplify.
1729         
1730         * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1731         (GLIBCPP_ENABLE_LONG_LONG): Same.
1732         * aclocal.m4: Regenerate.
1733
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.
1741
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.
1745
1746         * include/c_std/bits/std_cassert.h: Fix.
1747         * include/c_std/bits/std_cerrno.h: Make consistent.
1748
1749         * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1750         declaration from ::_C_legacy to _C_legacy.
1751
1752         * include/c_std/bits/std_cstdio.h: same with printf.
1753         * include/c_std/stdio.h: And here.
1754
1755         * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1756         * include/c_std/stdlib.h: Same here.
1757         
1758 2000-10-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1759
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.
1768         
1769         * docs/links.html: Add links to defects list, standards FAQ.
1770
1771         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1772         with string creation that allocate huge ammounts of memory.
1773
1774         * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1775         namepace std.
1776
1777 2000-10-21  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1778
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.
1789
1790 2000-10-21  Joseph S. Myers  <jsm28@cam.ac.uk>
1791
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.
1802
1803 2000-10-19  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1804
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.
1811
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.
1819         
1820 2000-10-18  Chip Salzenberg  <chip@valinux.com>
1821
1822         * libio/libio.h (_IO_USER_LOCK): Define.
1823
1824 2000-10-18  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1825
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.
1832
1833         * src/Makefile.am: Remove bogus --tag CC.
1834         * src/Makefile.in: Regenerate.
1835         
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.
1844
1845         * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1846
1847 2000-10-17  Martin Buchholz <martin@xemacs.org>
1848
1849         * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1850         * testsuite/27_io/ostream_seeks.cc: Similarly.
1851
1852 2000-10-17  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1853
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.
1859         
1860         * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1861         * aclocal.m4: Regenerate.
1862         * configure.in: And here.
1863         * configure: Regenerate.
1864
1865         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1866         test for SECTION_LDFLAGS.
1867
1868 2000-10-16  Benjamin Kosnik  <bkoz@gnu.org>
1869
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.
1875
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.
1880
1881 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1882
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.
1888
1889 2000-10-15  Phil Edwards  <pme@sources.redhat.com>
1890
1891         * docs/configopts.html:  Remove libgcc-rebuild; HTML formatting.
1892
1893 2000-10-13  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1894             Mark Harig  <markh@landmark.com>
1895
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.
1905         
1906 2000-10-11  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1907
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.
1913
1914         * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1915         (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1916         * configure.in: Use it.
1917
1918         * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1919
1920         * src/Makefile.am (CXXCOMPILE): Remove.
1921         * src/Makefile.in: Regenerate.
1922         * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1923         * libsupc++/Makefile.in: Regenerate.
1924
1925         * include/c_std/*: Merge with shadow.
1926         * include/c_std/bits/*: Same.
1927
1928         * shadow: Remove directory.
1929         * shadow/*: De-populate.
1930         
1931 2000-10-11  Phil Edwards  <pme@sources.redhat.com>
1932
1933         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Comment out
1934           exception-throwing code for linker test.
1935         * aclocal.m4:  Regenerate.
1936         * configure:  Regenerate.
1937
1938 2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
1939
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.
1946         
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.
1952         
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.
1958         
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.
1963         
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.
1969
1970         * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1971
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.
1987
1988         * libio/_G_config.h (__need_ptrdiff_t): Add.
1989         
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.
1994
1995         * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1996         namespace, as it is a fundamental type.
1997
1998 2000-10-09  Richard Henderson  <rth@cygnus.com>
1999
2000         * libsupc++/pure.cc: New file.
2001         * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
2002         (sources): Add pure.cc.
2003         * libsupc++/Makefile.in: Regenerate.
2004
2005 2000-10-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2006
2007         * docs/configopts.html: Edit.
2008
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.
2015
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.
2026         
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.
2037         
2038 2000-10-08   Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2039
2040         * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
2041         (INCLUDES): Add glibcpp_includedir.
2042         * libsupc++/Makefile.in: Regenerate.
2043
2044         * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
2045         * aclocal.m4: Regenerate.
2046         * config/os/*/bits/os_defines: Adjust copyright dates.
2047         
2048 2000-10-08  Phil Edwards  <pme@sources.redhat.com>
2049
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.
2060
2061 2000-10-07  David Edelsohn  <dje@watson.ibm.com> 
2062         
2063         * config/os/aix/bits/atomicity.h: New file.
2064
2065 2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2066         
2067         * acinclude.m4: Remove CPU_FLAGS
2068         * libio/Makefile.am: Here too.
2069         * Makefile.am: Here too.
2070         
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.
2078         
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.
2088
2089 2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2090
2091         * acinclude.m4: Remove CPU_FLAGS
2092         * libio/Makefile.am: Here too.
2093         * Makefile.am: Here too.
2094         
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.
2102
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.
2112         
2113 2000-10-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2114
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.
2126                 
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.
2139         
2140 2000-10-06  Benjamin Kosnik  <bkoz@cygnus.com>
2141             Richard Henderson  <rth@cygnus.com>
2142             Alexandre Oliva  <aoliva@redhat.com>
2143         
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.
2156         
2157 2000-10-05  Brent Verner  <brent@rcfile.org>
2158
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.
2165
2166 2000-10-05  Benjamin Kosnik  <bkoz@fillmore.constant.com>
2167
2168         * README (file): Adjust directory structures.
2169         * mkcheck.in (INC_PATH): Adjust for header changes.
2170
2171 2000-10-05  Phil Edwards  <pme@sources.redhat.com>
2172
2173         * acinclude.m4 (GLIBCPP_CHECK_CTYPE):  Tweaks to message texts
2174           for public relations purposes.
2175         * aclocal.m4:  Regenerated.
2176         * configure:  Regenerated.
2177
2178         * docs/ext/howto.html:  Additional explanation about hashing.
2179
2180 2000-10-05  Benjamin Kosnik  <bkoz@cygnus.com>
2181
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.
2188
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.
2193         
2194         * src/complex.cc: Adjust include of mathconf.
2195
2196         * mkc++config (BASE_H): Add include.
2197
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.
2205         
2206 2000-10-04  Benjamin Kosnik  <bkoz@gnu.org>
2207
2208         * libio/_G_config.h : Re-guard the __mbstate_t declaration.
2209
2210 2000-10-03  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2211
2212         * docs/22_locale/howto.html: Add link to proto-documentation on
2213         locales.
2214         * docs/documentation.html: Rename links for clarity.
2215
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.
2219         
2220 2000-10-02  Steven King  <sxking@uswest.net>
2221
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. 
2226
2227 2000-10-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2228
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.
2236         
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.
2242
2243         * shadow/bits/std_cwchar.h: Fix.
2244         * shadow/wchar.h: Fix.
2245
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.
2252
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.
2264         
2265         * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
2266         * src/Makefile.in: Regenerate.
2267         
2268         * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
2269         
2270         * shadow/libio.h: Fix.
2271         * shadow/bits/wrap_libio.h: Fix.
2272
2273         * shadow/bits/std_clocale.h: Remove typedef struct construct,
2274         which will not compile.
2275         * shadow/bits/std_ctime.h: Same.
2276         
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.
2282
2283         * bits/std_ios.h: Formatting tweak.
2284         * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
2285
2286         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
2287         tests for compiler features.
2288         * aclocal.m4: Regenerate.
2289         * configure: Regenerate.
2290         
2291         * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
2292         redefined.
2293         * libio/libioP.h: Comment out fcntl.h include.
2294
2295         * shadow/math.h: Add in float and long declarations, as per ISO C9X.
2296
2297         * bits/c++config: Define _ISOC99_SOURCE.
2298
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.
2311
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.
2315
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.
2320         
2321 2000-09-25  Phil Edwards  <pme@sources.redhat.com>
2322
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.
2328
2329 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2330
2331         * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
2332
2333 2000-09-25  Levente Farkas  <lfarkas@mindmaker.hu>
2334
2335         * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
2336         
2337 2000-09-19  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2338
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.
2346
2347 2000-09-19  Phil Edwards  <pme@sources.redhat.com>
2348
2349         * docs/21_strings/howto.html:  Fix editor lossage from last commit.
2350
2351 2000-09-19  Phil Edwards  <pme@sources.redhat.com>
2352
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.
2358
2359 2000-09-18  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2360
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.
2370
2371         * testsuite/22_locale/global_templates.cc (test01): Tweaks.
2372         * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
2373
2374 2000-09-18  Yuri V. Baskakov  <yuribsk@lab.sun.mcst.ru>
2375
2376         * bits/std_bitset.h (operator>>): Change to char_type.
2377
2378 2000-09-15  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2379
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...
2393         
2394 2000-09-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2395
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.
2407
2408         * bits/basic_string.h: Consistency check, change _M_state ->
2409         _M_references.
2410
2411 2000-09-14  Brendan Kehoe  <brendan@zen.org>
2412
2413         * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
2414         return type.
2415
2416         * src/Makefile.an (headers): Also install backward/fstream.h.
2417         * src/Makefile.in: Regenerate.  
2418
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.
2425         
2426 2000-09-13  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2427
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.
2431
2432 2000-09-12  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2433
2434         * testsuite/22_locale/global_templates.cc (test01): Add negative
2435         tests for use_facet.
2436
2437         * bits/localefwd.h (locale::operator()): Minor tweaks.
2438         * bits/locale_facets.tcc (locale::operator()): Same.
2439         * testsuite/22_locale/operators.cc: New file.
2440
2441         * testsuite/22_locale/facet.cc (output_iterator): Remove
2442         gnu_input_iterator, gnu_output_iterator.
2443
2444 2000-09-11  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2445
2446         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0". 
2447         * aclocal.m4: Regenerate.
2448         * configure: Regenerate.
2449
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.
2454
2455         * testsuite/22_locale/global_templates.cc: New file. Add tests for
2456         use_facet and has_facet.
2457
2458         * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
2459         Modify/correct iconv signatures for glibc2.2.
2460
2461 2000-09-10  Branko Cibej  <branko.cibej@hermes.si>
2462
2463         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
2464           "grep -c".
2465
2466 2000-09-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2467
2468         * bits/localefwd.h (locale::_Impl): Scope out types to public.
2469         (locale): Make _Impl declaration public.
2470
2471 2000-09-08  Felix Natter  <fnatter@gmx.net>
2472
2473         * docs/17_intro/porting-howto.html:  New version.
2474
2475 2000-09-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2476
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.
2481
2482 2000-09-07  Phil Edwards  <pme@sources.redhat.com>
2483
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.        
2492         
2493 2000-09-07  Benjamin Kosnik  <bkoz@cygnus.com>
2494
2495         * bits/std_cwctype.h: Remove yesterday's hacks.
2496
2497 2000-09-07  Brad Garcia  <bgarcia@laurelnetworks.com>
2498
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.
2503         
2504 2000-09-06  Richard Henderson  <rth@cygnus.com>
2505             Benjamin Kosnik  <bkoz@cygnus.com>
2506
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.
2513         
2514 2000-09-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2515         
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.
2522
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...
2525
2526         * testsuite/23_containers/vector_element_access.cc: New file.
2527         * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2528
2529 2000-09-06  Levente Farkas  <lfarkas@mindmaker.hu>
2530
2531         * bits/string.tcc: Fix up more parameter names.
2532
2533 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
2534
2535         * configure: Rebuilt with new libtool.m4.
2536
2537 2000-09-01  Benjamin Kosnik  <bkoz@cygnus.com>
2538
2539         * src/locale-inst.cc: Remove pre-instantiation of unicode
2540         codecvt types. Now unnecessary, as locale header now correct.
2541
2542 2000-08-31  Benjamin Kosnik  <bkoz@cygnus.com>
2543
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.
2553
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.
2559
2560         * mkcheck.in: Append total time to test summary file.
2561
2562         * bits/sbuf_iter.h : Formatting tweaks.
2563
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.
2581
2582 2000-08-30  Benjamin Kosnik  <bkoz@redhat.com>
2583
2584         * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2585
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...
2591
2592         * docs/22_locale/codecvt.html: Formatting cleanups.
2593         * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2594
2595 2000-08-30  Phil Edwards  <pme@sources.redhat.com>
2596
2597         * docs/22_locale/codecvt.html:  Behind-the-scenes ASCII->HTML
2598           tweaks for certain browsers.
2599
2600 2000-08-29  Benjamin Kosnik  <bkoz@redhat.com>
2601
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.
2610         
2611         * bits/codecvt.h (__enc_traits): Uglify names.
2612         
2613 2000-08-28  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2614
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.
2618         
2619         * libio/iofwide.c: Tweak.
2620         
2621 2000-08-28  Phil Edwards  <pme@sources.redhat.com>
2622
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.
2629
2630 2000-08-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2631
2632         * docs/22_locale/howto.html: Add notes on codecvt implementation.
2633         * docs/22_locale/codecvt.html: New file. In progress.
2634         
2635 2000-08-24  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2636
2637         * acconfig.h: Revert.
2638         * acinclude.m4: Revert.
2639         * libio/_G_config.h: Revert.
2640         * libio/libio.h: Revert.
2641         
2642 2000-08-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>      
2643
2644         * bits/codecvt.h: Tweaks.
2645         * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2646         initial string literals for UCS4.
2647
2648 2000-08-23  Phil Edwards  <pme@sourceware.cygnus.com>
2649
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.
2659
2660         * configure.in:  Update the cache a bit more often.
2661
2662         * mkcheck.in:  For check-install, also need to -I the testsuite dir.
2663
2664 2000-08-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2665
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.
2671
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.
2675
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.
2681
2682 2000-08-22  Richard B. Kreckel  <Richard.Kreckel@Uni-Mainz.DE>
2683
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.
2693
2694 2000-08-22  Levente Farkas  <lfarkas@mindmaker.hu>
2695
2696         * bits/basic_string.h: Fix up parameter names.
2697
2698 2000-08-22  Brent Verner <brent@rcfile.org>
2699
2700         * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2701         $(top_srcdir)
2702         * src/Makefile.in: Regenerate.
2703         
2704 2000-08-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
2705
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.
2717         
2718 2000-08-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2719
2720         * bits/std_cmath.h (std::abs): Overload for int and long.
2721
2722 2000-08-20  Benjamin Kosnik  <bkoz@gnu.org>
2723
2724         * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2725
2726 2000-08-19  Gabriel Dos Reis  <gdr@codesourcery.com>
2727
2728         * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2729         thinko. Diagnostic messages really need to be improved for
2730         template argument deduction.
2731
2732 2000-08-18  Benjamin Kosnik  <bkoz@gnu.org>
2733