1 2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
3 * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
4 * src/Makefile.in: Regenerate.
6 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
8 * acinclude.m4 (EXTRA_CXX_FLAGS): And here.
9 * include/c/bits/std_cstdlib.h (std ): Change macro to
10 _GLIBCPP_NEED_LLDIV_T.
11 * acconfig.h: Remove unused MBSTATE_T bits.
13 * aclocal.m4: Regenerate.
14 * configure: Regenerate.
15 * config.h.in: Regenerate.
17 2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
19 * acinclude.m4: Change up to reflect new directory organization.
20 Add in bits for NetBSD.
21 * aclocal.m4: Regenerate.
22 * configure: Regenerate.
23 * config/os/bsd: New directory.
24 * config/os/netbsd: Move to...
25 * config/os/bsd/netbsd: ...here.
26 * config/os/freebsd: Move to...
27 * config/os/bsd/freebsd: ...here.
29 2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
31 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
32 lldiv_t. Allow the use of os-specific defines while checking for
33 long-long functions by the inclusion of os_defines.h.
34 * aclocal.m4: Regenerate.
35 * configure.in: Add comments.
36 * configure: Regenerate.
37 * acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
38 * config.h.in: Regenerate.
39 * config/os/gnu-linux/bits/os_defines.h: Fix typos and
40 duplications in comments.
42 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
44 * config/os/freebsd/bits/ctype_base.h: Update comments about other
47 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
49 * config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
50 * aclocal.m4: Adjust accordingly.
51 * configure.target: Likewise.
52 * configure: Regenerate.
54 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
56 * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
59 2000-12-05 Richard Earnshaw <rearnsha@arm.com>
62 * aclocal.m4: Add test for NetBSD's ctype support.
63 * configure: Regenerate.
64 * configure.target: Support NetBSD.
65 * config/os/netbsd/bits/ctype_base.h: New file.
66 * config/os/netbsd/bits/ctype_inline.h: New file.
67 * config/os/netbsd/bits/ctype_noinline.h: New file.
68 * config/os/netbsd/bits/os_defines.h: New file.
70 2000-12-05 Gabriel Dos Reis <gdr@codesourcery.com>
72 * src/complex.cc (pow): Remove definitions for explicit
74 * libmath/mathconf.h: Remove declarations for c_log, c_logf,
76 * libmath/complex-stub.h: Remove declarations for cpow, cpowf,
78 * libmath/cpow.c: Remove.
79 * libmath/cpowf.c: Remove.
80 * libmath/cpowl.c: Remove.
81 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
83 (EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
84 * libmath/Makefile.in: Regenarate.
85 * libmath/c_log.c: Remove
86 * libmath/c_logf.c: Likewise.
87 * libmath/c_logl.c: Likewise.
88 * libmath/carg.c: Likewise.
89 * libmath/cargf.c: Likewise.
90 * libmath/cargl.c: Likewise.
91 * include/bits/std_complex.h (pow): Define primary templates.
92 (complex<>): Remove friend declarations for pow<>().
93 * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
95 * aclocal.m4: Regenarate.
96 * configure: Regenarate.
98 2000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
100 * docs/configopts.html, docs/documentation.html,
101 docs/install.html, docs/17_intro/BADNAMES,
102 docs/17_intro/contribute.html, docs/17_intro/howto.html,
103 docs/18_support/howto.html, docs/19_diagnostics/howto.html,
104 docs/20_util/howto.html, docs/21_strings/howto.html,
105 docs/22_locale/howto.html, docs/23_containers/howto.html,
106 docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
107 docs/26_numerics/howto.html, docs/27_io/howto.html,
108 docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
111 2000-12-01 Phil Edwards <pme@sources.redhat.com>
113 * docs/download.html: Remove.
114 * docs/footer.ihtml: Remove.
115 * docs/header.ihtml: Remove.
116 * docs/index.html: Remove.
117 * docs/links.html: Remove.
118 * docs/mail.html: Remove.
119 * docs/status.html: Remove.
120 * docs/thanks.html: Remove.
122 2000-12-01 Phil Edwards <pme@sources.redhat.com>
124 * mkcheck.in: Count static and shared results separately.
126 2000-12-01 Loren J. Rittle <ljrittle@acm.org>
128 * mkcheck.in: Correct typo.
130 2000-12-01 Gabriel Dos Reis <gdr@codesourcery.com>
132 * src/cmath.cc: Remove.
133 * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
134 (sources): Remove cmath.cc
135 * src/Makefile.in: Regenerate.
137 * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
138 (__cmath_abs<>): New function.
139 (abs, fabs): Use __cmath_abs when no direct support is available.
140 (__pow_helper<>): New function.
141 (pow): Define here. Use __pow_helper<>.
143 * include/c/bits/cmath.tcc: New file.
145 2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
147 Fixes for build directories with colons, AIX build problems.
148 * src/Makefile.am: Cleanups, add documentation.
149 (libstdc++.INC): Simplify rule.
150 (myinstallheaders): Consolidate install rules.
151 (myinstalldirs): New, make directores.
152 (base_headers): Subdivide based on install directory.
154 (backward_headers): New.
156 (c_headers): Remove, unused.
157 (c_shadow_headers): Split up, deal with conditional usage in a
159 * src/Makefile.in: Regenerate.
161 2000-11-29 Phil Edwards <pme@sources.redhat.com>
163 Sync with the documentation from wwwdocs.
164 * docs/Makefile: New file (rebuilds FAQ text version).
165 * docs/configopts.html: Update.
166 * docs/documentation.html: Update.
167 * docs/download.html: Update.
168 * docs/index.html: Update.
169 * docs/install.html: Update.
170 * docs/links.html: Update.
171 * docs/mail.html: Update.
172 * docs/status.html: Update.
173 * docs/thanks.html: Update.
174 * docs/27_io/howto.html: Update.
175 * docs/faq/index.html: Update for 2.91.
176 * docs/faq/index.txt: Update for 2.91.
177 * docs/footer.html: Removed.
178 * docs/footer.ihtml: New file.
179 * docs/gccrebuild.html: Removed.
180 * docs/header.html: Removed.
181 * docs/header.ihtml: New file.
183 2000-11-29 Loren J. Rittle <ljrittle@acm.org>
185 * tests_flags.in: Correct typo.
187 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
189 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
190 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
192 2000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
194 * src/Makefile.am (sources): Add bitset.cc
195 * src/Makefile.in: Regenrate.
197 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
198 macro. Replace __BITS_PER_WORDS throughout.
199 (__BITS_PER_WORDS): Remove.
200 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
201 definitions to src/bitset.cc.
203 * src/bitset.cc (bitset<>::_M_do_find_first,
204 bitset<>::_M_do_find_next): Define here.
205 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
206 here. Explicitly instantiate definitions.
208 2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
210 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
211 preprocessor multi-line string warnings.
212 (__atomic_add): Likewise.
213 (__compare_and_swap): Likewise.
214 (__always_swap): Likewise.
215 (__test_and_set): Likewise.
216 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
217 (__atomic_add): Likewise.
218 (__compare_and_swap): Likewise.
219 (__always_swap): Likewise.
220 (__test_and_set): Likewise.
222 2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
224 Update for 2.91 release.
225 * include/bits/c++config (__GLIBCPP__): Update.
226 * docs/17_intro/RELEASE-NOTES: Update.
227 * docs/status.html: Update, remove bogus autotools disinformation.
229 2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
231 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
233 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
234 * testsuite/27_io/istream_extractor_arith.cc (test11): New
235 testcase, based on libstdc++/90.
237 2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
239 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
241 (__atomic_add): Likewise.
242 (__compare_and_swap): Likewise.
243 (__always_swap): Likewise.
244 (__test_and_set): Likewise.
246 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
248 (__exchange_and_add): Add __volatile__ to asm.
249 (__atomic_add): Likewise.
250 (__compare_and_swap): Likewise.
251 (__always_swap): Likewise.
252 (__test_and_set): Likewise.
254 2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
256 * tests_flags.in: Update documentation to reflect the change
259 2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
261 * tests_flags.in: Export CXX, CXXFLAGS.
262 * mkcheck.in: Grab them.
264 2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
265 Benjamin Kosnik <bkoz@redhat.com>
267 * mkcheck.in: Add exe extension to printnow executable, abstract
268 out call to this with TIMER_COMMAND.
269 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
270 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
271 * aclocal.m4: Regenerate.
272 * configure: Regenerate.
274 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
276 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
278 2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
280 * acinclude.m4: Only sanity check for compiler version when
281 configuring. More fixes for 'make clean'.
282 * aclocal.m4: Regenerate.
283 * configure: Regenerate.
285 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
287 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
288 * libmath/Makefile.in: Regenerate.
289 * libmath/cabs.c: Remove.
290 * libmath/cabsf.c: Likewise.
291 * libmath/cabsl.c: Likewise.
292 * libmath/complex-stub.h: Remove declarations for cabs*.
294 * acinclude.m4: Remove check for cabs*.
295 * aclocal.m4: Regenerate.
297 * Makefile.in: Regenerate.
299 2000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
301 * tests_flags.in: New file. Split out of ...
302 * mkcheck.in: ... this. Move flags computation into
304 * configure.in: Add support for tests_flags.
305 * confiigure: Regenerate.
307 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
309 * acinclude.m4: Change C9X references to refer to C99.
310 * aclocal.m4, configure: Regenerate.
311 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
312 testsuite/22_locale/codecvt_wchar_t_char.cc,
313 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
314 libmath/mathconf.h: Change C9X references to refer to C99.
316 2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
317 Richard Earnshaw <rearnsha@arm.com>
319 * src/Makefile.am (INCLUDES): Remove unconditional use of
320 _GNU_SOURCE and _ISOC99_SOURCE macros.
321 * src/Makefile.in: Regenerate.
323 2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
325 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
326 _GLIBCPP_USE_WCHAR_T guards.
328 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
329 is, so that checks for existence of generated files actually work.
330 * configure: Regenerate.
332 2000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
334 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
335 If not glibc 2.1 or higher, include <gnu/types.h> and define
336 __off64_t as __loff_t and #define __THROW as empty.
338 * libio/libio.h [__P]: Move __THROW and __PMT into their own
341 2000-11-23 David Edelsohn <edelsohn@gnu.org>
343 * porting.texi: Expand libtool information.
345 2000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
347 * include/bits/ios_base.h (ios_base::failure::~failure,
348 ios_base::failure::what): Move defintion to ...
350 * src/ios.cc (ios_base::failure::~failure): ... here.
351 src/ios.cc (ios::failure::what): Likewise.
353 2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
355 Make deprecated strstream header consistent with new and new.h.
356 * include/backward/strstream.h: Add. Use using declarations to
357 scope strstreambuf, istrstream, ostrstream, strstream to global
359 * include/backward/strstream: Remove using declarations.
360 * src/Makefile.am (base_headers): Add strstream.
361 * src/Makefile.in: Regenerate.
363 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
364 to be consistent with other headers.
366 2000-11-22 Richard Henderson <rth@redhat.com>
368 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
370 2000-11-22 Phil Edwards <pme@sources.redhat.com>
372 * porting.texi: Minor tweaks to vocabulary.
374 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
376 * include/backward/strstream.h: Reinstate the `using'
379 2000-11-22 Loren J. Rittle <ljrittle@acm.org>
381 * src/Makefile.am (base_headers): Add missing backwards headers.
382 * src/Makefile.in: Regenerate.
384 2000-11-21 scott snyder <snyder@fnal.gov>
386 * config/c_io_stdio.cc (seekoff): Fix return value.
388 (sys_seek): Likewise.
390 2000-11-21 Loren J. Rittle <ljrittle@acm.org>
392 * mkcheck.in (explanation): Retain output of all failing
393 compiles. Don't add gratuitous space to the log file.
395 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
397 * src/strstream.cc: Adjust includes.
398 * src/Makefile.am (base_headers): Remove std_strstream.h, add
399 backwards/strstream.h.
400 (std_headers): Remove strstream.
401 * src/Makefile.in: Regenerate.
402 * libsupc++/Makefile.am (headers): Remove new.h
403 * libsupc++/Makefile.in: Regenerate.
404 * include/std/strstream: Remove.
405 * include/backward/strstream.h: Replace with...
406 * include/bits/std_strstream.h: ...this. Move.
407 * include/backward/complex.h: Remove SGIisms.
408 * include/backward/streambuf.h: Same.
409 * include/backward/stream.h: Same.
410 * include/backward/ostream.h: Same.
411 * include/backward/istream.h: Same.
412 * include/backward/iostream.h: Same.
413 * include/backward/iomanip.h: Same.
414 * include/backward/fstream.h: Same.
415 * libsupc++/new.h: Add using declarations for bad_alloc,
416 nothrow_t, and nothrow, move to ...
417 * include/backward/new.h: ...here.
419 2000-11-21 Mark Mitchell <mark@codesourcery.com>
421 * porting.texi: New file.
423 2000-11-21 Branko Cibej <brankoe@xbc.nu>
425 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
426 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
427 __off64_t and __ssize_t.
428 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
429 same configuration as above.
431 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
433 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
434 * aclocal.m4: Regenerate.
435 * configure: Renerate.
437 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
439 * mkcheck.in (explanation): Don't paste output of passing compiles
440 into log file. Use -static. Get version info.
442 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
444 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
446 * include/bits/std_complex.h (complex<double>): Constructor
447 complex<double>::complex(const complex<float>&) is not explicit;
448 since it is a promotion.
449 (complex<long double>): Constructors taking complex<float> and
450 complex<double> are not explicit.
452 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
454 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
455 * src/complex.cc: Remove cmath include, formatting tweaks, remove
457 * include/c/bits/std_cmath.h: Formatting tweaks.
458 * testsuite/26_numerics/complex_value.cc: New file, for catching
459 bits gleaned from libstdc++/106.
461 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
464 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
466 * include/bits/c++config, include/bits/ios_base.h,
467 include/bits/std_streambuf.h: Correct spelling of "deprecated".
469 2000-11-19 Mark Mitchell <mark@codesourcery.com>
471 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
472 __cxa_bad_cast under the new ABI.
473 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
474 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
477 2000-11-18 Mark Mitchell <mark@codesourcery.com>
479 * libsupc++/exception_support.h: New header file.
480 * libsupc++/vec.cc: Include it.
481 (__cxa_vec_new2): Recatch exceptions before rethrows.
482 (__cxa_vec_new3): Likewise.
483 (__cxa_vec_ctor): Likewise.
484 (__cxa_vec_cctor): Likewise.
485 (__cxa_vec_dtor): Likewise.
486 (__cxa_vec_delete2): Likewise.
487 (__cxa_vec_delete3): Likewise.
489 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
491 * include/bits/stl_tree.h: Overload operators == and != to be able
492 to handle the case (const_iterator,iterator) and
493 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
494 * testsuite/23_containers/map_operators.cc (test02): New tests.
496 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
498 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
499 to ``make --enable-cstdio=stdio the default''.
500 * libstdc++-v3/aclocal.m4: Rebuilt.
501 * libstdc++-v3/configure: Rebuilt.
503 2000-11-17 Phil Edwards <pme@sources.redhat.com>
505 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
507 * configure.target: ...here. Enable generic atomic ops, and warn.
508 * aclocal.m4: Regenerated.
510 * Makefile.in: Ditto.
511 * libio/Makefile.in: Ditto.
512 * libmath/Makefile.in: Ditto.
513 * libsupc++/Makefile.in: Ditto.
514 * src/Makefile.in: Ditto.
516 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
518 * include/bits/locale_facets.tcc (num_get<_CharT,
519 _InIter>::do_get(...)): Add missing typename keyword.
521 2000-11-16 Mark Mitchell <mark@codesourcery.com>
523 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
524 --enable-cstdio=stdio the default. Disable wide character support
526 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
527 (GLIBCPP_ENABLE_CSTDIO).
528 * config/c_io_stdio.h: Don't include <libio.h>, don't define
530 * aclocal.m4: Regenerated.
531 * configure: Likewise.
532 * Makefile.in: Likewise.
533 * libio/Makefile.in: Likewise.
534 * libmath/Makefile.in: Likewise.
535 * libsupc++/Makefile.in: Likewise.
536 * src/Makefile.in: Likewise.
538 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
540 * config/c_io_stdio.h: Include stddef.h.
542 2000-11-16 Mark Mitchell <mark@codesourcery.com>
544 * config/c_io_stdio.h (streamsize): Make it a typedef for
546 (wstreamsize): Likewise.
548 * config/c_io_stdio.h: Include libio.h.
550 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
552 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
553 * src/Makefile.am (libstdc___la_LIBADD): Use it.
554 * aclocal.m4: Regenerated.
555 * configure: Likewise.
556 * Makefile.in: Likewise.
557 * libio/Makefile.in: Likewise.
558 * libmath/Makefile.in: Likewise.
559 * libsupc++/Makefile.in: Likewise.
560 * src/Makfile.in: Likewise.
562 2000-11-15 Mark Mitchell <mark@codesourcery.com>
564 * mkcheckin.in: Move check for bash version 2 later in the file.
566 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
568 (basic_string::_Rep::_S_terminal): Likewise.
569 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
571 (basic_string::_Rep::_S_terminal): Likewise.
573 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
575 * mkcheck.in: Add function size_command() for irix.
577 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
579 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
581 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
582 building a canadian cross. This should fix the remaining java
584 * aclocal.m4: Regenerate.
585 * configure: Regenerate.
587 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
589 2000-11-14 Phil Edwards <pme@sources.redhat.com>
591 * mkcheck.in: On a platform where we don't know how to extract
592 section sizes, just set them to zero. Use old method of reading
595 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
597 * config/c_io_stdio.h: Don't define __c_wfile_type
598 when _GLIBCPP_USE_WCHAR_T is not defined.
600 2000-11-13 Phil Edwards <pme@sources.redhat.com>
602 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
603 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
604 (GLIBCPP_CONFIGURE): Call new macro here.
605 * configure.host: Cleanup.
606 * configure.in: Remove those two macros.
607 * configure.target: New file.
608 * aclocal.m4: Regenerated.
610 * Makefile.in: Ditto.
611 * libio/Makefile.in: Ditto.
612 * libmath/Makefile.in: Ditto.
613 * libsupc++/Makefile.in: Ditto.
614 * src/Makefile.in: Ditto.
616 * mkcheck.in: Use libtool. Split things out into functions.
618 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
620 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
621 * Makefile.in: Regenerate.
623 2000-11-12 David Edelsohn <edelsohn@gnu.org>
625 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
626 libiconv.a providing wchar_t support functions.
627 * aclocal.m4: Regenerate.
629 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
631 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
632 * aclocal.m4, configure: Rebuilt.
634 2000-11-12 Brent Verner <brent@rcfile.org>
636 * include/c_std/bits/wrap_langinfo.h: New file.
637 * include/c_std/langinfo.h: New file.
638 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
639 CODESET from _C_legacy::CODESET if using shadow headers.
640 * src/Makefile.am: Add new files.
641 * src/Makefile.in: Regenerate.
643 2000-11-12 Mark Mitchell <mark@codesourcery.com>
645 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
646 of `abs (double)' to ...
649 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
652 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
654 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
655 when _GLIBCPP_USE_WCHAR_T is not defined.
657 2000-11-10 Phil Edwards <pme@sources.redhat.com>
659 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
660 courtesy of Alexandre Oliva, to handle const/non-const signatures.
661 (codecvt::do_out): Use.
662 (codecvt::do_in): And here.
664 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
666 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
668 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
670 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
671 _Count_ones<>::_S_count): Turn into enumerators.
673 2000-11-08 Mark Mitchell <mark@codesourcery.com>
675 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
676 (codecvt::do_in): Likewise.
678 2000-11-08 David Edelsohn <edelsohn@gnu.org>
680 * src/locale-inst.cc: Add explicit instantiations of
681 _M_fill_insert and fill_n<..., unsigned long,...> .
683 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
685 * include/bits/std_complex.h (conj): Undo double removal.
687 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
689 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
690 alternatives for CXX_libstdcxx, now that it is useless.
691 * aclocal.m4, configure: Rebuilt.
693 2000-11-04 Mark Mitchell <mark@codesourcery.com>
695 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
696 * aclocal.m4: Regenerated.
697 * configure: Likewise.
699 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
701 * aclocal.m4: Regenerated.
702 * configure: Likewise.
704 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
706 * acinclude.m4 (CXX): Prevent it from being cached.
707 * aclocal.m4, configure, */Makefile.in: Rebuilt.
709 2000-11-03 David Edelsohn <dje@watson.ibm.com>
711 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
712 flag based on multilib definition of $CXX.
713 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
714 based on multilib definition of $CXX.
715 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
717 2000-11-03 Phil Edwards <pme@sources.redhat.com>
719 * acinclude.m4: Cleanups.
720 * aclocal.m4: Regenerated.
722 * Makefile.in: Ditto.
723 * libio/Makefile.in: Ditto.
724 * libmath/Makefile.in: Ditto.
725 * libsupc++/Makefile.in: Ditto.
726 * src/Makefile.in: Ditto.
728 * docs/install.html: Removal of EGCS.
729 * docs/23_containers/wrappers_h.txt: Likewise.
730 * docs/faq/index.html: Likewise.
731 * docs/faq/index.txt: Regenerated.
732 * docs/thanks.html: More people.
734 2000-11-03 David Edelsohn <edelsohn@gnu.org>
736 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
737 with function name defined in this file.
739 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
741 * include/c/bits/std_cctype.h: Undefine macros that conflict
742 with function names defined in this file.
743 * include/c/bits/std_cstdio.h: Likewise.
745 2000-11-02 Mark Mitchell <mark@codesourcery.com>
747 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
749 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
751 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
752 * aclocal.m4: Regenerated.
753 * Makefile.in: Regenerated.
754 * libio/Makefile.in: Likewise.
755 * libmath/Makefile.in: Likewise.
756 * libsupc++/Makefile.in: Likewise.
757 * src/Makefile.in: Likewise.
758 * configure: Likewise.
759 * config/os/irix/bits/ctype_base.h: Revise.
760 * config/os/irix/bits/ctype_inline.h: Likewise.
761 * config/os/irix/bits/ctype_noninline.h: Likewise.
763 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
764 if not _GLIBCPP_USE_WCHAR_T.
765 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
766 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
767 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
769 * mkcheck.in: Fix echoing of -rpath option.
771 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
773 (__exchange_aand_add): Adjust accordingly.
774 (__atomic_add): Likewise.
776 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
778 * src/locale.cc: Match orderings for static members.
779 * include/bits/fstream.tcc: Fixes for cin.
781 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
783 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
784 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
785 (cos, cosh, sin, sinh): Define primary templates.
787 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
790 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
792 * bits/basic_file.h (_M_open_mode): Change signature, move
794 * config/c_io_libio.cc: ...here.
795 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
796 * aclocal.m4: Regenerate.
797 * configure: Regenerate.
798 * config/c_io_stdio.h: New file.
799 * config/c_io_stdio.cc: New file.
800 * docs/configopts.html: Modify documentation.
802 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
804 * include/c/bits/std_cwctype.h: Add more undefs.
806 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
808 * include/bits/std_complex.h (norm): Forward declare.
809 (complex<>): Comment out friend declaration of conj<>.
810 (conj<>): Comment out specialization.
811 (exp, log, log10): Define primary templates.
813 * src/complex.cc (exp<>, log<>, log10<>): Comment out
816 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
818 * include/bits/std_complex.h: Remove duplicate definition of conj.
819 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
821 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
823 * src/complex.cc (arg, polar): Comment out specializations.
825 * include/bits/std_complex.h (complex<>): Remove arg<> friend
827 (arg): Define primary template.
831 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
833 * include/c/bits/std_cwctype.h: #undef possible function-like
834 macro definitions of iswxxx functions, which might be brought in
835 by <wctype.h>. Those macro definitions prevent build on some
838 * include/bits/std_complex.h (complex<>): Comment out friend
839 declarations of abs<> specializations.
840 (abs): Define primary template.
842 * src/complex.cc (abs): Comment out specialization definition.
844 2000-10-30 Phil Edwards <pme@sources.redhat.com>
846 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
847 the default of 2 to 3.
848 * configure.in: Fix minor typos. SUBST the values of enable_shared
849 and enable_static so that mkcheck will be aware of them. Put the
850 test for gconv.h in with all the other header tests.
851 * aclocal.m4: Regenerate.
853 * Makefile.in: Ditto.
854 * libio/Makefile.in: Ditto.
855 * libmath/Makefile.in: Ditto.
856 * libsupc++/Makefile.in: Ditto.
857 * src/Makefile.in: Ditto.
859 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
860 _G_USING_THUNKS to 0.
862 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
864 * src/complex_io.cc : Remove ancient defines.
865 * config/os/gnu-linux/bits/os_defines.h: Add defines.
866 * libsupc++/tinfo2.cc: Change to cstddef.
868 * include/bits/codecvt.h: Add include of c++config.h, so that
869 __USE_GNU gets defined. (Important for alpha.)
871 * include/c/bits/std_cwctype.h: Same.
872 * include/c/bits/std_ctime.h: And here.
873 * include/c/bits/std_cstdarg.h: Same.
874 * include/c/bits/std_csignal.h: Same.
875 * include/c/bits/std_csetjmp.h: Same.
876 * include/c/bits/std_clocale.h: Same.
877 * include/c/bits/std_climits.h: Touch.
878 * include/c/bits/std_cfloat.h: Same.
879 * include/c/bits/std_cerrno.h: Same.
880 * include/c/bits/std_cwchar.h: Same.
881 * include/c/bits/std_cassert.h: Same.
882 * include/c/bits/std_cctype.h: Same.
883 * include/c/bits/std_cstddef.h: And here.
884 * include/c/bits/std_cstdlib.h: And here.
885 * include/c/bits/std_cstdio.h: Same.
886 * include/c/bits/std_cstring.h: Add names to namespace std::.
888 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
890 (_ISOC99_SOURCE): And this one....
891 * config/os/gnu-linux/bits/os_defines.h: ...to here.
893 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
894 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
896 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
897 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
899 2000-10-30 Steven King <sxking@uswest.net>
901 * include/bits/codecvt.h: Add cast.
902 * include/c_std/stdio.h: Re-add printf using declaration.
903 * include/c_std/bits/std_cstdio.h: Same
904 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
905 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
906 * testsuite/22_locale/facet.cc: Same.
907 * testsuite/22_locale/global_templates.cc: Same.
908 * testsuite/22_locale/operators.cc: Same.
909 * testsuite/22_locale/static_members.cc: Same.
910 * testsuite/26_numerics/c_math.cc: Same.
911 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
912 * testsuite/27_io/fpos.cc: Same.
913 * testsuite/27_io/istream_extractor_arith.cc: Same.
914 * testsuite/27_io/istream_unformatted.cc: Same.
915 * testsuite/27_io/ostream_inserter_arith.cc: Same.
916 * testsuite/27_io/streambuf.cc: Same.
918 2000-10-30 Mark Mitchell <mark@codesourcery.com>
920 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
921 for cabs, cabsf, and cabsl, too.
922 * aclocal.m4: Regenerated.
923 * config.h.in: Likewise.
924 * configure: Likewise.
925 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
927 * libmath/Makefile.in: Regenerated.
928 * libmath/complex-stub.h (cabs): Don't declare if the system
929 already provides this function.
932 * src/complex.cc (abs): Directly use `hypot' since we can't call
935 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
937 * acinclude.m4: Update URL on egcs.cygnus.com to point to
939 * aclocal.m4, configure: Regenerate.
940 * src/gen-num-limits.cc, include/bits/c++config,
941 include/bits/stl_config.h: Remove EGCS references.
943 2000-10-29 Mark Mitchell <mark@codesourcery.com>
945 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
946 building shared executables.
948 2000-10-29 Mark Harig <mharig@landmark.com>
950 * src/Makefile.am: Change logic for include dir options.
951 * src/Makefile.in: Regenerate.
952 * libsupc++/Makefile.am: Ditto.
953 * libsupc++/Makefile.in: Regenerate.
955 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
957 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
958 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
959 with libgcj build issues and improve consistency with the source
960 directory's include directory setup.
961 * configure: Regenerate.
962 * acinclude.m4: Same here.
963 * aclocal.m4: Regenerate.
964 * mknumeric_limits (OUT_H): Also change paths here.
965 * mkcheck.in (C_DIR): And here.
966 * mkc++config (OUT_H): And here.
967 * libmath/Makefile.am (INCLUDES): And here.
968 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
969 * libio/Makefile.am: Ditto.
970 * libsupc++/Makefile.am (INCLUDES): Ditto.
972 2000-10-29 Mark Mitchell <mark@codesourcery.com>
974 * config/c_io_libio.cc (basic_file<char>::__basic_file):
975 Don't pass a NULL _IO_wide_data to _IO_no_init when
976 _GLIBCPP_USE_WCHAR_T is not defined.
977 * config/c_io_libio.h (_IO_codecvt): Don't declare when
978 _GLIBCPP_USE_WCHAR_T is not defined.
979 * config/c_io_libio_codecvt.c: Don't compile it
980 when _GLIBCPP_USE_WCHAR_T is not defined.
981 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
982 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
984 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
985 include it when _GLIBCPP_USE_WCHAR_T is not defined.
986 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
987 when _GLIBCPP_USE_WCHAR_T is not defined.
988 * src/localename.cc (locale::_Impl::_M_construct_collate):
989 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
991 (locale::_Impl::_M_construct_ctype): Likewise.
992 (locale::_Impl::_M_construct_monetary): Likewise.
993 (locale::_Impl::_M_construct_numeric): Likewise.
994 (locale::_Impl::_M_construct_time): Likewise.
995 (locale::_Impl::_M_construct_messages): Likewise.
997 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
998 * aclocal.m4: Regenerated.
999 * configure: Likewise.
1000 * config/os/irix/bits/atomicity.h: New file.
1001 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
1003 (__off64_t): Likewise.
1004 (__ssize_t): Likewise.
1005 (_G_USING_THUNKS): Define to zero.
1007 2000-10-28 Mark Mitchell <mark@codesourcery.com>
1009 * src/string-inst.cc (basic_string<C>::npos): Explicitly
1012 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1014 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1016 Clean up naming, consistency in "C" library autoconf testing.
1017 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
1018 GLIBCPP_CHECK_CTYPE_SUPPORT.
1019 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
1020 * aclocal.m4: Regenerate.
1021 * configure.in: And here.
1022 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
1023 * configure: Regenerate.
1025 2000-10-26 David Edelsohn <edelsohn@gnu.org>
1027 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1028 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1030 2000-10-26 Phil Edwards <pme@sources.redhat.com>
1031 David Edelsohn <dje@watson.ibm.com>
1033 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1034 --gc-sections stuff entirely to avoid misleading people.
1035 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
1036 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
1037 Rearrange and merge.
1038 * libio/libio.h: Simplify, make fewer assumptions. Define those
1039 macros which must be defined.
1040 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
1043 2000-10-26 Mark Mitchell <mark@codesourcery.com>
1045 * include/backward/streambuf.h: New file.
1047 2000-10-26 David Edelsohn <dje@watson.ibm.com>
1049 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
1050 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
1051 * config/os/aix/bits/os_defines.h: Add AIX defines.
1053 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1055 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
1056 * aclocal.m4: Regenerate.
1057 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
1058 * configure: Regenerate.
1059 * docs/configopts.html: Remove.
1060 * src/complexl.cc: Revert.
1061 * config.h.in: Remove.
1062 * include/c_std/bits/std_cmath.h: Remove guards based on
1063 _GLIBCPP_USE_LONG_DOUBLE.
1064 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
1065 with respect to long double signatures.
1067 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
1069 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
1070 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1071 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1072 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1073 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
1075 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
1077 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1078 Use __valarray_copy_construct only where appropriate.
1080 2000-10-25 Mark Mitchell <mark@codesourcery.com>
1082 * Makefile.in (check): Don't make mkcheck executable.
1083 (check-install): Likewise.
1084 * configure.in (AC_OUTPUT): Make mkcheck executable.
1085 * mkcheck.in (top_srcdir): New variable.
1086 (INC_PATH): Set the path to the backward and ext directories
1089 2000-10-25 Phil Edwards <pme@sources.redhat.com>
1091 * configure.in: Check for gconv.h.
1092 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
1094 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
1095 * libio/_G_config.h: And here.
1096 * libio/iofwide.c: And here.
1097 * libio/libio.h: And here.
1099 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
1100 exception specification to match declaration.
1101 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
1103 2000-10-24 Mark Harig <mharig@landmark.com>
1105 * docs/configopts.html: Added documentation for the
1106 "--enable-version-specific-runtime-libs" and
1107 "--with-gxx-include-dir" configuration switches.
1109 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
1111 * include/bits/stl_pair.h (make_pair): Add LWG solution.
1113 * testsuite/21_strings/compare.cc (test01): Inject namespace std
1116 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1119 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
1121 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1123 2000-10-24 Phil Edwards <pme@sources.redhat.com>
1125 * acconfig.h: List _GLIBCPP_USE_THREADS.
1126 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
1127 correction, etc. Add comments about following *real* changes
1128 where they are used.
1129 (GLIBCPP_ENABLE_C_MBCHAR): New test...
1130 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
1131 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
1133 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
1134 macro _GLIBCPP_USE_THREADS in c++config.h.
1135 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
1136 this is used in both makefiles and shell scripts (mkcheck).
1137 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
1139 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1140 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
1141 something harmless, like int.
1143 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1144 add comment/instructions.
1145 * config/os/bsd/bits/os_defines.h: Ditto.
1146 * config/os/generic/bits/os_defines.h: Ditto.
1147 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1148 * config/os/irix/bits/os_defines.h: Ditto.
1149 * config/os/newlib/bits/os_defines.h: Ditto.
1150 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1151 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1153 * mkcheck.in: Limit the available heap size for testsuite
1154 binaries, initially at 2MB.
1156 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1158 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1160 * include/c_std/bits/std_cerrno.h: And here.
1161 * include/c_std/bits/std_cassert.h: Tweaks.
1163 * mkcheck.in: Simplify.
1165 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1166 (GLIBCPP_ENABLE_LONG_LONG): Same.
1167 * aclocal.m4: Regenerate.
1169 * src/Makefile.am (c_shadow_headers): Add features.h,
1170 bits/wrap_features.h.
1171 * src/Makefile.in: Regenerate.
1172 * include/c_std/features.h: New file.
1173 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1174 file. Need to have c++config.h included before this file so
1175 _ISOC99_SOURCE around.
1177 * include/c_std/sys/cdefs.h: Hack.
1178 * include/c_std/stdlib.h: Same, use c++config.h.
1179 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1181 * include/c_std/bits/std_cassert.h: Fix.
1182 * include/c_std/bits/std_cerrno.h: Make consistent.
1184 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1185 declaration from ::_C_legacy to _C_legacy.
1187 * include/c_std/bits/std_cstdio.h: same with printf.
1188 * include/c_std/stdio.h: And here.
1190 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1191 * include/c_std/stdlib.h: Same here.
1193 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1195 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1197 * include/c_std/bits/std_cerrno.h: And here.
1198 * include/c_std/bits/std_cassert.h: Tweaks.
1200 * mkcheck.in: Simplify.
1202 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1203 (GLIBCPP_ENABLE_LONG_LONG): Same.
1204 * aclocal.m4: Regenerate.
1206 * src/Makefile.am (c_shadow_headers): Add features.h,
1207 bits/wrap_features.h.
1208 * src/Makefile.in: Regenerate.
1209 * include/c_std/features.h: New file.
1210 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1211 file. Need to have c++config.h included before this file so
1212 _ISOC99_SOURCE around.
1214 * include/c_std/sys/cdefs.h: Hack.
1215 * include/c_std/stdlib.h: Same, use c++config.h.
1216 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1218 * include/c_std/bits/std_cassert.h: Fix.
1219 * include/c_std/bits/std_cerrno.h: Make consistent.
1221 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1222 declaration from ::_C_legacy to _C_legacy.
1224 * include/c_std/bits/std_cstdio.h: same with printf.
1225 * include/c_std/stdio.h: And here.
1227 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1228 * include/c_std/stdlib.h: Same here.
1230 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1232 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1233 * aclocal.m4: Regenerate.
1234 * configure.in: Use it.
1235 * configure: Regenerate.
1236 * src/complexl.cc: Fixup.
1237 * include/c_std/bits/std_cmath.h: Fixup.
1238 * include/c/bits/std_cmath.h: Fixup.
1239 * docs/configopts.html: Add docs.
1241 * docs/links.html: Add links to defects list, standards FAQ.
1243 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1244 with string creation that allocate huge ammounts of memory.
1246 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1249 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1251 * libsupc++/exception.cc: Use namespace std.
1252 * libsupc++/new: DITTO.
1253 * libsupc++/new_op.cc: DITTO.
1254 * libsupc++/new_opnt.cc: DITTO.
1255 * libsupc++/new_opv.cc: DITTO.
1256 * libsupc++/new_opvnt.cc: DITTO.
1257 * libsupc++/tinfo.cc: DITTO.
1258 * libsupc++/tinfo.h: DITTO.
1259 * libsupc++/vec.cc: DITTO.
1260 * libsupc++/Makefile.am: Blank lines removal.
1262 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1264 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1265 docs/17_intro/howto.html, docs/18_support/howto.html,
1266 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1267 docs/21_strings/howto.html, docs/22_locale/howto.html,
1268 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1269 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1270 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1271 Remove many EGCS references; use current absolute URLs on
1272 gcc.gnu.org or sources.redhat.com for messages in list archives.
1273 * docs/faq/index.txt: Regenerate.
1275 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1277 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1278 creation of state_type for unicode_codecvt to take into account
1279 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1280 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1281 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1282 that need a byte order marker. Needed for correct unicode support.
1284 * src/locale.cc: Remove explicit qualification std::.
1285 (locale::locale(const char* __name)): Revert, as named locale
1286 support not finished.
1287 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1288 size_t __refs, bool __has_name = false, string __name): Move
1290 * include/bits/localefwd.h: Here.
1292 2000-10-18 Chip Salzenberg <chip@valinux.com>
1294 * libio/libio.h (_IO_USER_LOCK): Define.
1296 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1298 * libsupc++/Makefile.am (exception): Change exception.cc to
1299 exception_support.cc.
1300 (CXXLINK): Remove bogus --tag CC.
1301 * libsupc++/Makefile.in: Regenerate.
1302 * libsupc++/exception.cc: Move to...
1303 * libsupc++/exception_support.cc: ...here.
1305 * src/Makefile.am: Remove bogus --tag CC.
1306 * src/Makefile.in: Regenerate.
1308 * include/bits/locale_facets.tcc (use_facet): Simplify.
1309 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1310 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1311 (use_facet<ctype<wchar_t> >): Same.
1312 * src/locale-inst.cc: Remove explicit instantiation.
1313 * src/locale.cc: Correct signature here too.
1314 (_Bad_use_facet::what()): Correct error string.
1315 * include/bits/localefwd.h: Correct comment.
1317 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1319 2000-10-17 Martin Buchholz <martin@xemacs.org>
1321 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1322 * testsuite/27_io/ostream_seeks.cc: Similarly.
1324 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1326 via Alexandre Oliva <aoliva@redhat.com>
1327 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1328 * libsupc++/Makefile.in: Regenerate.
1329 * src/Makefile.am: Duplicate code.
1330 * src/Makefile.in: Regenerate.
1332 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1333 * aclocal.m4: Regenerate.
1334 * configure.in: And here.
1335 * configure: Regenerate.
1337 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1338 test for SECTION_LDFLAGS.
1340 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1342 Shadow headers would work if libsupc++ was strict about namespaces.
1343 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1344 * include/c_std/assert.h: Add guards.
1345 * include/c_std/bits/std_climits.h: Correct typo.
1346 * include/c_std/ctype.h: Remove #error.
1348 * libio/libioP.h: Break up extern "C" bits around includes.
1349 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1351 * libio/libioP.h: Same here.
1353 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1355 * include/c_std/unistd.h: Define some types only when defined in
1356 the original unistd.h.
1357 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1358 definition of size_t, ptrdiff_t and NULL.
1359 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1361 2000-10-15 Phil Edwards <pme@sources.redhat.com>
1363 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1365 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1366 Mark Harig <markh@landmark.com>
1368 * src/Makefile.am (toolexeclibdir): Add support fo
1369 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1370 * src/Makefile.in: Regenerate.
1371 * libsupc++/Makefile.am: Same.
1372 (glibcppinstalldir): Adjust.
1373 * libsupc++/Makefile.in: Regenerate.
1374 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1375 * Makefile.in: Regenerate.
1376 * docs/configopts.html: Add descriptions of flags.
1378 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1380 * libsupc++/Makefile.am: Use it.
1381 * libio/Makefile.am: Use it.
1382 * libmath/Makefile.am: Use it.
1383 * src/Makefile.am: Use it.
1384 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1386 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1387 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1388 * configure.in: Use it.
1390 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
1392 * src/Makefile.am (CXXCOMPILE): Remove.
1393 * src/Makefile.in: Regenerate.
1394 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1395 * libsupc++/Makefile.in: Regenerate.
1397 * include/c_std/*: Merge with shadow.
1398 * include/c_std/bits/*: Same.
1400 * shadow: Remove directory.
1401 * shadow/*: De-populate.
1403 2000-10-11 Phil Edwards <pme@sources.redhat.com>
1405 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1406 exception-throwing code for linker test.
1407 * aclocal.m4: Regenerate.
1408 * configure: Regenerate.
1410 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1412 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1413 * libsupc++/include: Remove
1414 * libsupc++/include/*: Move to ...
1416 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1417 (glibcppinstalldir): New.
1419 * src/Makefile.am (c_base_headers): New.
1420 (c_shadow_headers): New
1422 (myinstallheaders): Correct install issues.
1423 * src/Makefile.in: Regenerate.
1425 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1426 * Makefile.in: Regenerate.
1427 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1428 * aclocal.m4: Regenerate.
1429 * mkcheck.in (SRC_DIR): Use it.
1431 * include/bits/std_stdexcept.h: And here.
1432 * include/bits/std_ios.h: Change std_exception.h to exception.
1433 * src/locale.cc: And here.
1434 * src/locale-inst.cc: And here.
1436 * include/bits/valarray_array.h: And here.
1437 * include/bits/stl_alloc.h: And here.
1438 * include/bits/stl_algobase.h: And here.
1439 * include/bits/pthread_allocimpl.h: And here.
1440 * include/bits/stl_construct.h: Change to std_new.h to new.
1442 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1444 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1445 (headers): Remove duplicated headers.
1446 (std_headers): And here.
1447 * src/Makefile.in: Regenerate.
1448 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1449 * libsupc++/Makefile.in: Regenerate.
1450 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1451 (AM_MAKEFLAGS): And here.
1452 * Makefile.in: Regenerate.
1453 * include/bits/std_typeinfo.h: Remove.
1454 * include/bits/std_new.h: Remove
1455 * include/bits/std_exception.h: Remove.
1457 * std/typeinfo: Remove.
1458 * std/exception: Remove.
1460 * libio/_G_config.h (__need_ptrdiff_t): Add.
1462 * libsupc++/include/new: Change stddef.h to cstddef.
1463 * libsupc++/tinfo.h: Change limits.h to climits.
1464 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1465 renders the file uncompilable. Add copyright.
1467 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1468 namespace, as it is a fundamental type.
1470 2000-10-09 Richard Henderson <rth@cygnus.com>
1472 * libsupc++/pure.cc: New file.
1473 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1474 (sources): Add pure.cc.
1475 * libsupc++/Makefile.in: Regenerate.
1477 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1479 * docs/configopts.html: Edit.
1481 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1482 * libio/Makefile.in: Regenerate.
1483 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1484 * libmath/Makefile.in: Regenerate.
1485 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1486 * libsupc++/Makefile.in: Regenerate.
1488 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1489 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1490 CSHADOW_INCLUDES up here.
1491 * Makefile.in: Regenerate.
1492 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1494 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1495 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1496 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1497 * src/Makefile.in: Regenerate.
1499 * include/c: New directory.
1500 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1501 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1502 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1503 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1504 std_cwchar.h, std_cwctype.h): Add, moving from...
1505 * include/bits: ...here.
1506 * include/c_std: New directory.
1507 * include/c_std/bits/*: Populate from...
1508 * shadow: ...here. Remove directory.
1510 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1512 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1513 (INCLUDES): Add glibcpp_includedir.
1514 * libsupc++/Makefile.in: Regenerate.
1516 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1517 * aclocal.m4: Regenerate.
1518 * config/os/*/bits/os_defintes: Adjust copyright dates.
1520 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1522 * include/bits/c++config: Include <bits/os_defines.h>
1523 * config/os/aix/bits/os_defines.h: New file.
1524 * config/os/bsd/bits/os_defines.h: Ditto.
1525 * config/os/generic/bits/os_defines.h: Ditto.
1526 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1527 * config/os/irix/bits/os_defines.h: Ditto.
1528 * config/os/newlib/bits/os_defines.h: Ditto.
1529 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1530 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1531 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1533 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1535 * config/os/aix/bits/atomicity.h: New file.
1537 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1539 * acinclude.m4: Remove CPU_FLAGS
1540 * libio/Makefile.am: Here too.
1541 * Makefile.am: Here too.
1543 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1544 (INCLUDES): Remove CONFIG_INCLUDES.
1545 (cpu_headers): Remove.
1546 (myinstallheaders): Remove cpu_headers.
1547 (generated_headers): Rename to build_headers.
1548 (build_headers): Add atomicity.h, ctype_base.h,
1549 ctype_specializations.h.
1551 * config/os: New directory.
1552 * config/aix: Move to...
1553 * config/bsd: Move to...
1554 * config/generic: Move to...
1555 * config/gnu-linux: Move to...
1556 * config/irix: Move to...
1557 * config/newlib: Move to...
1558 * config/solaris: Move to...
1559 * config/os/*: Here.
1561 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1563 * acinclude.m4: Remove CPU_FLAGS
1564 * libio/Makefile.am: Here too.
1565 * Makefile.am: Here too.
1567 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1568 (INCLUDES): Remove CONFIG_INCLUDES.
1569 (cpu_headers): Remove.
1570 (myinstallheaders): Remove cpu_headers.
1571 (generated_headers): Rename to build_headers.
1572 (build_headers): Add atomicity.h, ctype_base.h,
1573 ctype_specializations.h.
1575 * config/os: New directory.
1576 * config/aix: Move to...
1577 * config/bsd: Move to...
1578 * config/generic: Move to...
1579 * config/gnu-linux: Move to...
1580 * config/irix: Move to...
1581 * config/newlib: Move to...
1582 * config/solaris: Move to...
1583 * config/os/*: Here.
1585 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1587 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1588 CONFIG_CXXFLAGS from here, and move to...
1589 * src/Makefile.in: Regenerate.
1590 * Makefile.am: ... here. Clean.
1591 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1592 (WARN_CXXFLAGS): Same.
1593 (CONFIG_CXXFLAGS): Same.
1594 * Makefile.in: Regenerate.
1595 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1596 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1597 * libsupc++/Makefile.in: Regenerate.
1599 Change math to libmath.
1600 * math: Move to libmath, delete.
1601 * libmath: New directory.
1602 * libmath/*: Populate.
1603 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1604 (libstdc___la_LIBADD): Same.
1605 * src/Makefile.in: Regenerate.
1606 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1607 * configure: Regenerate.
1608 * Makefile.am (SUBDIRS): Add libmath.
1609 * Makefile.in: Regenerate.
1610 * README (file): Change name.
1612 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1613 Richard Henderson <rth@cygnus.com>
1614 Alexandre Oliva <aoliva@redhat.com>
1616 * libsupc++: New directory.
1617 * libsupc++/*: Populate.
1618 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1619 eh-common.h, gansidecl.h.
1620 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1621 * configure: Regenerate.
1622 * Makefile.am (SUBDIRS): Add libsupc++.
1623 * Makefile.in: Regenerate.
1624 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1625 * src/Makefile.in: Regenerate.
1626 * libio/Makefile.am: Remove extraneous, confusing bits.
1627 * libio/Makefile.in: Regenerate.
1629 2000-10-05 Brent Verner <brent@rcfile.org>
1631 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1632 test for _M_gcount < in_avail(), as in_avail() only reports info
1633 for current buffer, causing method to return at end of buffer.
1634 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1635 * testsuite/27_io/istream_unformatted-3.txt: New file.
1636 * testsuite/27_io/istream_unformatted-3.tst: New file.
1638 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1640 * README (file): Adjust directory structures.
1641 * mkcheck.in (INC_PATH): Adjust for header changes.
1643 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1645 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1646 for public relations purposes.
1647 * aclocal.m4: Regenerated.
1648 * configure: Regenerated.
1650 * docs/ext/howto.html: Additional explanation about hashing.
1652 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1654 * include: New directory.
1655 * include/backward: New directory.
1656 * include/bits: New directory.
1657 * include/ext: New directory.
1658 * include/std: New directory.
1659 * include/*/*: Populate.
1661 * backwards: Move to include/backwards, delete.
1662 * bits: Move to include/bits, delete.
1663 * ext: Move to include/ext, delete.
1664 * std: Move to include/std, delete.
1666 * src/complex.cc: Adjust include of mathconf.
1668 * mkc++config (BASE_H): Add include.
1670 * src/Makefile.am: Support for topleve sources include directory.
1671 (INCLUDES): Add LIBMATH_INCLUDE.
1672 * src/Makefile.in: Regenerate.
1673 * math/Makefile.am (INCLUDES): Append /include.
1674 * math/Makefile.in: Regenerate.
1675 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1676 * libio/Makefile.in: Regenerate.
1678 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1680 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1682 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1684 * docs/22_locale/howto.html: Add link to proto-documentation on
1686 * docs/documentation.html: Rename links for clarity.
1688 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1689 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1690 * src/Makefile.in: Regenerate.
1692 2000-10-02 Steven King <sxking@uswest.net>
1694 * mkcshadow: Fixed script to output proper include guard.
1695 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1696 * libio/_G_config.h: Hacked to make work with shadow heraders.
1697 * shadow/*: Hacked to make shadow headers work.
1699 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1701 Self-compile with shadow headers.
1702 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1703 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1704 it becomes the default way the library is built.
1705 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1706 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1707 * config/gnu-linux/ctype.cc (ctype): Use it.
1709 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1711 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1712 memset. This should not be necessary, but an ambiguous overload
1715 * shadow/bits/std_cwchar.h: Fix.
1716 * shadow/wchar.h: Fix.
1718 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1719 enums into namespace std:: for ctype_base enum. Other OS types
1720 will have to do this as well.
1721 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1722 namespace std, in particular __ctype_toupper, __ctype_tolower,
1725 * shadow/iolibio.h: New file.
1726 * shadow/bits/wrap_iolibio.h: New file.
1727 * shadow/libioP.h: New file.
1728 * shadow/bits/wrap_libioP.h: New file.
1729 * shadow/bits/wrap_fcntl.h: New file.
1730 * shadow/fcntl.h: New file.
1731 * shadow/iconv.h: New file. Inject iconv names into the global
1732 namespace, unmangled for the moment.
1733 * shadow/bits/wrap_iconv.h: New file.
1734 * shadow/unistd.h: Remove. Useless.
1735 * shadow/bits/wrap_unistd.h: Remove.
1737 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1738 * src/Makefile.in: Regenerate.
1740 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1742 * shadow/libio.h: Fix.
1743 * shadow/bits/wrap_libio.h: Fix.
1745 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1746 which will not compile.
1747 * shadow/bits/std_ctime.h: Same.
1749 * shadow/pthread.h: New file. Put pthreads types and functions
1750 into global scope, which is probably not the correct long-term
1751 solution but has to be done at the moment before libio wrappers
1752 can even be started.
1753 * shadow/bits/wrap_pthread.h: New file.
1755 * bits/std_ios.h: Formatting tweak.
1756 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1758 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1759 tests for compiler features.
1760 * aclocal.m4: Regenerate.
1761 * configure: Regenerate.
1763 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1765 * libio/libioP.h: Comment out fcntl.h include.
1767 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1769 * bits/c++config: Define _ISOC99_SOURCE.
1771 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1772 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1773 * aclocal.m4: Regenerate.
1774 * configure: Regenerate.
1775 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1776 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1777 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1778 std or shadow directories.
1779 (LTCXXCOMPILE): Same.
1780 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1781 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1782 * src/Makefile.in: Regenerate.
1784 * src/complex.cc (FCT): Change ::name to name.
1785 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1786 * src/complexf.cc (FCT): Same.
1788 * src/complexf.cc: Remove FCT define, as things are properly
1789 overloaded in the std namespace with the shadow headers.
1790 * src/complexl.cc: Same.
1791 * src/complex.cc: Same.
1793 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1795 * docs/documentation.html: Add link to...
1796 * docs/ext/howto.html: ...this. New dir/file, describing library
1797 extensions (both ours and SGI's).
1798 * docs/faq/index.html: Small updates.
1799 * docs/faq/index.txt: Regenerate.
1801 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1803 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1805 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1807 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1809 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1811 * src/localename.cc (locale::_Imp) : Remove typedefs.
1812 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1813 __f): Consistency check, call _Imp ctor with reference argument
1815 * bits/localefwd.h: Change _S_num_categories to
1816 _S_categories_num. Add new data member, _S_facets_num, which is
1817 the number of standard facets.
1819 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1821 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1823 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1825 * docs/thanks.html: More thanks.
1826 * docs/18_support/howto.html: Fix thinko.
1827 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1828 Redo the string transformation notes and link to...
1829 * docs/22_locale/howto.html: ...here.
1831 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1833 * src/locale-inst.cc: Add time_put_byname and
1834 time_get_byname instantiations.
1835 * bits/locale_facets.h: Correct default, private derivation to
1836 public derivation in _byname declarations.
1837 * src/locale.cc (locale::classic()): Simplify.
1838 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1839 const string& __name, category __cat, size_t __refs): Re-work for
1841 (_M_normalize_category_names): Remove.
1843 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1844 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1846 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1848 * bits/std_bitset.h (operator>>): Change to char_type.
1850 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1852 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1853 name setting. Add checks for NULL __name pointers. Remove calls to
1854 _S_initialize() as initial locale initialization can either be
1855 assumed, or needs to be made consistent throughout locale
1857 (locale::locale(const locale& __other, const char* __name,
1858 category __cat): Add checks for NULL name. Add checks for
1860 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1861 const string& __name, category __cat, size_t __refs)): Set correct
1862 name, has_name values.
1863 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1864 * docs/22_locale/locale.html: New file, more unfinished docs...
1866 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1868 * src/locale.cc (locale::name()): Implement.
1869 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1870 string __name = "*")): Change signature.
1871 (locale::classic): Initialize the "C" locale as a named locale.
1872 * bits/localefwd.h (locale): Change _M_num_references to
1873 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1875 * bits/localefwd.h: Tweaks.
1876 * src/localename.cc: Tweaks.
1877 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1880 * bits/basic_string.h: Consistency check, change _M_state ->
1883 2000-09-14 Brendan Kehoe <brendan@zen.org>
1885 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1888 * src/Makefile.an (headers): Also install backward/fstream.h.
1889 * src/Makefile.in: Regenerate.
1891 * bits/char_traits.h (char_traits<_CharT>::get_state,
1892 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1893 argument in by reference, not by value. Uglify to _S_get_state.
1894 (char_traits<*>::__eos): Uglify to _S_eos.
1895 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1896 Change __eos to _S_eos.
1898 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1900 * testsuite/22_locale/static_members.cc: New file.
1901 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1902 * src/locale.cc: Minor formatting tweaks.
1904 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1906 * testsuite/22_locale/global_templates.cc (test01): Add negative
1907 tests for use_facet.
1909 * bits/localefwd.h (locale::operator()): Minor tweaks.
1910 * bits/locale_facets.tcc (locale::operator()): Same.
1911 * testsuite/22_locale/operators.cc: New file.
1913 * testsuite/22_locale/facet.cc (output_iterator): Remove
1914 gnu_input_iterator, gnu_output_iterator.
1916 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1918 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1919 * aclocal.m4: Regenerate.
1920 * configure: Regenerate.
1922 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1923 snapshot release soon.
1924 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1925 is pretty much assumed.
1927 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1928 use_facet and has_facet.
1930 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1931 Modify/correct iconv signatures for glibc2.2.
1933 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1935 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1938 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1940 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1941 (locale): Make _Impl declaration public.
1943 2000-09-08 Felix Natter <fnatter@gmx.net>
1945 * docs/17_intro/porting-howto.html: New version.
1947 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1949 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1951 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1952 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1954 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1956 Add bits for --enable-maintainer-mode:
1957 - turns on enable_debug
1958 (doing "--enable-maint --disable-debug" will DTRT)
1959 - turns on -Werror, now off by default
1960 * acinclude.m4: Add bits.
1961 * aclocal.m4: Regenerate.
1962 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1963 * configure: Regenerate.
1965 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1967 * bits/std_cwctype.h: Remove yesterday's hacks.
1969 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1971 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1972 * testsuite/23_containers/set_operators.cc: New file. Should not
1974 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1976 2000-09-06 Richard Henderson <rth@cygnus.com>
1977 Benjamin Kosnik <bkoz@cygnus.com>
1979 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1980 * aclocal.m4: Regenerate.
1981 * configure: Regenerate.
1982 * config/cpu/ia64: New directory.
1983 * config/cpu/ia64/bits: New directory.
1984 * config/cpu/ia64/bits/atomicity.h: New file.
1986 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1988 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1989 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1991 * aclocal.m4: Regenerate.
1992 * configure: Regenerate.
1993 * */Makefile.in: Regenerate.
1995 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1996 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1998 * testsuite/23_containers/vector_element_access.cc: New file.
1999 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2001 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
2003 * bits/string.tcc: Fix up more parameter names.
2005 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2007 * configure: Rebuilt with new libtool.m4.
2009 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
2011 * src/locale-inst.cc: Remove pre-instantiation of unicode
2012 codecvt types. Now unnecessary, as locale header now correct.
2014 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
2016 * bits/locale_facets.tcc (_S_build_float_format): Move ...
2017 * src/locale.cc: Here.
2018 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
2019 definition. Move specialization to ...
2020 * src/locale.cc: Here.
2021 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
2022 * src/locale.cc: Here.
2023 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
2024 * src/locale.cc: Here.
2026 * bits/std_locale.h: Note that locale_facets.tcc should be
2027 included here, for standards conformance. It may increase
2028 compile times though. For the time being, enable.
2029 * testsuite/22_locale/facet.cc: New file, some parts commented out
2032 * mkcheck.in: Append total time to test summary file.
2034 * bits/sbuf_iter.h : Formatting tweaks.
2036 Clean up static const data member definitions.
2037 * src/locale.cc: Add definitions for all missing locale,
2038 locale::_Imp, and locale::id static data members.
2039 (ctype<char>): Add table_size define.
2040 (money_base): Add _S_default_pattern, uglify.
2041 * bits/localefwd.h: Add definitions for static members of _Count_ones.
2042 * bits/locale_facets.h: Tweaks.
2043 * bits/locale_facets.tcc: Tweaks.
2044 * bits/string.tcc: Add definition for npos.
2045 * bits/ios_base.h: Tweaks.
2046 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
2048 * src/ios.cc: And here. Add _S_local_words definition.
2049 Add definitions for __ios_flags const static data.
2050 * src/codecvt.cc: Same for __enc_traits.
2051 * src/locale-inst.cc: Remove money_base data member definition
2054 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
2056 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2058 * docs/22_locale/codecvt.html: Re-number.
2059 * docs/22_locale/howto.html: Add entry for ctype
2060 documentation. Add entry for Nathan's introduction to locales
2062 * docs/22_locale/ctype.html: New file. In progress...
2064 * docs/22_locale/codecvt.html: Formatting cleanups.
2065 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2067 2000-08-30 Phil Edwards <pme@sources.redhat.com>
2069 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
2070 tweaks for certain browsers.
2072 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
2074 * bits/locale_facets.h (ctype<char>): Remove __table_type.
2075 Add include for bits/std_cwctype.h, for wctype_t.
2076 * src/locale.cc (ctype<wchar_t>): Implement.
2077 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
2078 typedef, instead name enum.
2079 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
2080 * config/gnu-linux/ctype.cc: Tweak.
2081 * testsuite/22_locale/ctype.cc: Tweak.
2083 * bits/codecvt.h (__enc_traits): Uglify names.
2085 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2087 * docs/22_locale/codecvt.html: Add more bits, format.
2088 * bits/codecvt.h: Add copy ctor, rename types.
2089 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
2091 * libio/iofwide.c: Tweak.
2093 2000-08-28 Phil Edwards <pme@sources.redhat.com>
2095 * docs/configopts.html: Mention new options.
2096 * docs/install.html: Formatting changes for platform-specific
2097 pre-reqs, previously only Cygwin.
2098 * docs/mail.html: Fix new link.
2099 * docs/thanks.html: A couple more people.
2100 * docs/26_numerics/howto.html: Fix typo.
2102 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2104 * docs/22_locale/howto.html: Add notes on codecvt implementation.
2105 * docs/22_locale/codecvt.html: New file. In progress.
2107 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2109 * acconfig.h: Revert.
2110 * acinclude.m4: Revert.
2111 * libio/_G_config.h: Revert.
2112 * libio/libio.h: Revert.
2114 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2116 * bits/codecvt.h: Tweaks.
2117 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2118 initial string literals for UCS4.
2120 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
2122 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
2123 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
2124 definition as well, and some minor spelling/spacing fixes. If
2125 building libio, check for certain typedefs.
2126 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2127 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2128 will never be there.
2129 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
2130 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
2132 * configure.in: Update the cache a bit more often.
2134 * mkcheck.in: For check-install, also need to -I the testsuite dir.
2136 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2138 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2139 __enc_traits> instantiations for has_facet and use_facet.
2140 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2141 testing two-byte unicode encodings converted to four-byte UCS4
2144 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2145 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2146 correct state/encoding information.
2148 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2149 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2151 Add checks for langinfo.h, nl_langinfo function call.
2152 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2154 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2156 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2157 ((unused)) to __attribute__ ((__unused__)).
2158 * config/cpu/arm/bits/atomicity.h: Same.
2159 * config/cpu/generic/bits/atomicity.h: Same.
2160 * config/cpu/i386/bits/atomicity.h: Same.
2161 * config/cpu/i486/bits/atomicity.h: Same.
2162 * config/cpu/powerpc/bits/atomicity.h: Same.
2163 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2164 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2166 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
2168 * bits/basic_string.h: Fix up parameter names.
2170 2000-08-22 Brent Verner <brent@rcfile.org>
2172 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2174 * src/Makefile.in: Regenerate.
2176 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2178 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2179 up __enc_traits template so as to be marginally useful.
2180 * src/codecvt.cc: And here.
2181 * bits/char_traits: Tweak.
2182 * bits/locale_facets.h: Tweak.
2183 * bits/locale_facets.tcc: Tweak.
2184 * bits/localefwd.h: Tweak.
2185 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2186 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2187 * testsuite/22_locale/codecvt_char_char.cc: New file.
2188 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2190 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2192 * bits/std_cmath.h (std::abs): Overload for int and long.
2194 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2196 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2198 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2200 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2201 thinko. Diagnostic messages really need to be improved for
2202 template argument deduction.
2204 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2206 * bits/valarray_meta.h: Fix typos...
2208 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2210 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2211 _Expr<>::apply): Implement.
2213 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2215 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2217 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2220 2000-08-17 Mark Mitchell <mark@codesourcery.com>
2222 * bits/localefwd.h (std::locale): Use explicit `class' specified
2223 when declaring friends.
2224 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2226 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
2228 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2229 * src/Makefile.in: Regenerate.
2231 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2233 * bits/codecvt.h: New file.
2234 * src/codecvt.cc: New file.
2235 * bits/std_locale.h: Add include here.
2236 * src/Makefile.am (headers): Add codecvt.h
2237 (sources): Add codecvt.cc.
2238 * src/Makefile.in: Regenerate.
2239 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2240 __codecvt_abstract_base in an attempt to point some light this way...
2241 Move __enc_traits and codecvt bits to codecvt.h.
2242 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2243 explicit instantiation. Separate out codecvt instantations, simplify.
2244 * src/locale.cc: Move codecvt bits to codecvt.cc
2246 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
2248 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2249 * src/Makefile.in: Regenerate.
2251 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2253 C/C++ io merge/sync.
2264 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2265 ((struct _IO_FILE_plus *) in ctors.
2266 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2267 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2268 * libio/cleanup.c: Remove.
2269 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2270 _IO_cleanup_registration_needed, even if not libc.
2272 * testsuite/27_io/stringstream.cc (test02): Fix.
2274 2000-08-14 Brent Verner <brent@rcfile.org>
2276 * testsuite/debug_assert.h: new file
2277 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2278 changed conditional #include <c?assert.?h?> to
2279 unconditional #include <debug_assert.h>
2280 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2281 for testsuite compile command.
2283 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2285 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2286 wofstream, filebuf, wfilebuf, fstream, wfstream.
2287 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2288 * bits/std_sstream.h: Same for stringstream and wstringstream.
2289 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2290 ostringstream, wostringstream.
2292 * testsuite/26_numerics/valarray.cc: Add test.
2294 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2296 * configure: Regenerate after change to ../libtool.m4.
2298 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2300 * bits/locale_facets.tcc: Formatting tweaks.
2301 * bits/locale_facets.h (__enc_traits): Start integrating this
2302 into codecvt, ctype. Formatting tweaks.
2304 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2306 Preliminary wchar_t implementation, with trivial encodings.
2307 * docs/configopts.html: Add bits about canonical configure option
2310 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2311 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2312 * testsuite/27_io/narrow_stream_objects.cc: New file.
2313 * testsuite/27_io/wide_stream_objects.cc: New file.
2315 * bits/fstream.tcc (underflow): Temporarily hack a solution
2316 together that writes from the external file to the internal
2317 buffers. This removes codecvt from the loop, and is incorrect.
2318 (_M_really_overflow): Same here.
2320 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2322 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2323 Ulrich Drepper <drepper@cygnus.com>
2325 * config/c_io_libio.h: Tweak.
2326 * config/c_io_libio_codecvt.c: New file.
2327 * libio/Makefile.am: Add c_codecvt.c.
2328 * libio/Makefile.in: Regenerate.
2329 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2330 stream is not orientated.
2332 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2333 encoding gets fleshed out.
2335 * bits/basic_file.h: Add specialization declarations.
2336 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2338 * config/c_io_libio.h: Add __c_wfile_type.
2339 * bits/basic_file.h: Add _M_wfile.
2341 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2342 streams without setting the orientation of the underlying FILE to
2343 either wide or narrow.
2344 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2346 2000-08-07 Felix Natter <fnatter@gmx.net>
2348 * docs/17_intro/porting-howto.html: New version.
2350 2000-08-03 Mark Mitchell <mark@codesourcery.com>
2352 * bits/locale_facets.h (ctype::ctype): Don't name unused
2355 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2357 * docs/install.html: Edit bits about requiring a special version
2360 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2362 * libio/fileops.cc: Update to current glibc sources.
2363 * libio/genops.c: Same.
2364 * libio/iofwide.c: Same.
2365 * libio/libio.h: Same.
2366 * libio/libioP.h: Same.
2367 * libio/wfiledoalloc.c: Same.
2368 * libio/wgenops.c: Same.
2370 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
2372 * acinclude.m4: Include ../libtool.m4.
2373 * aclocal.m4, configure: Rebuilt.
2375 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2377 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2378 before trying to use any of its options.
2379 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2380 * aclocal.m4: Regenerate.
2381 * configure.in: Having found GNU make, name it.
2382 * configure: Regenerate.
2383 * docs/install.html: Mention possible problems with caching.
2384 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2385 * src/Makefile.in: Regenerate.
2386 * libio/Makefile.in: Regenerate.
2387 * math/Makefile.in: Regenerate.
2388 * Makefile.in: Regenerate.
2390 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2392 * src/misc-inst.cc (std): Remove instantiations.
2394 * acinclude.m4: Add forward-looking bits for autoconf.
2395 * aclocal.m4: Regenerate.
2397 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2399 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2401 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2402 it back for current versions of maintainer-tools...
2403 * acinclude.m4: Some cleanups...
2404 * aclocal: Regenerated.
2405 * configure: Regenerated.
2407 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2408 optimizing/adapting the hash table using GNU ld.
2409 * src/Makefile.in: Regenerate.
2411 2000-07-24 H.J. Lu <hjl@gnu.org>
2413 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2414 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2415 files don't include private libio header files needed by
2417 * src/Makefile.in: Rebuild.
2419 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2421 * bits/std_fstream.h: Parameterize __basic_file.
2422 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2423 * bits/basic_file.h: Same here.
2425 * bits/istream.tcc (getline): Tweaks.
2427 * bits/fstream.tcc: Shorten __retval to __ret.
2428 * bits/ostream.tcc: Same.
2429 * bits/sbuf_iter.h: Same.
2430 * bits/sstream.tcc: Same.
2431 * bits/streambuf.tcc: Same.
2432 * bits/std_fstream.h: Same.
2433 * src/string-inst.cc: Same.
2435 * config/c_io_libio.cc: Same.
2436 * bits/string.tcc: Same.
2437 * bits/std_streambuf.h: Same.
2439 2000-07-23 Brent Verner <brent@rcfile.org>
2441 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2442 char_type) make compliant
2443 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2445 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2447 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2448 and srcdir used to define CSHADOW_INCLUDES..
2450 * configure.in: For consistency, change .sanity_warned to
2451 stamp-sanity-warned.
2453 * acinclude.m4: Tweak formatting.
2454 * Makefile.am (check): Call mkcheck with full pathname for build
2456 (check-install): And here.
2457 * Makefile.in: Regenerate.
2459 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2461 Line up with libstdc++-v2 version of valarray.
2462 * bits/valarray_array.h (__valarray_product): Make inline.
2463 * src/valarray-inst.cc (__valarray_product): Remove explicit
2466 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2468 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2471 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2472 Change return type to void.
2473 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2474 * testsuite/17_intro/header_ciso646.cc: Modify.
2475 * bits/locale_facets.h: Add return values for the generic cases.
2477 2000-07-21 H.J. Lu (hjl@gnu.org)
2479 * acinclude.m4: Include <features.h> for glibc testing.
2480 * aclocal.m4: Likewise.
2482 * configure: Rebuild.
2484 2000-07-20 H.J. Lu (hjl@gnu.org)
2486 * acinclude.m4: Change "#pragma system_header" to
2487 "#pragma GCC system_header".
2488 * aclocal.m4: Likewise.
2489 * bits/std_cmath.h: Likewise.
2490 * bits/std_cassert.h: Likewise.
2491 * bits/std_cctype.h: Likewise.
2492 * bits/std_cerrno.h: Likewise.
2493 * bits/std_cfloat.h: Likewise.
2494 * bits/std_climits.h: Likewise.
2495 * bits/std_clocale.h: Likewise.
2496 * bits/std_cwchar.h: Likewise.
2497 * bits/std_csetjmp.h: Likewise.
2498 * bits/std_csignal.h: Likewise.
2499 * bits/std_cstdarg.h: Likewise.
2500 * bits/std_cstddef.h: Likewise.
2501 * bits/std_cstdio.h: Likewise.
2502 * bits/std_cstdlib.h: Likewise.
2503 * bits/std_cstring.h: Likewise.
2504 * bits/std_ctime.h: Likewise.
2505 * bits/std_cwctype.h: Likewise.
2506 * bits/std_exception.h: Likewise.
2507 * bits/std_new.h: Likewise.
2508 * bits/std_typeinfo.h: Likewise.
2509 * shadow/bits/std_cassert.h: Likewise.
2510 * shadow/bits/std_cctype.h: Likewise.
2511 * shadow/bits/std_cerrno.h: Likewise.
2512 * shadow/bits/std_cfloat.h: Likewise.
2513 * shadow/bits/std_climits.h: Likewise.
2514 * shadow/bits/std_clocale.h: Likewise.
2515 * shadow/bits/std_cmath.h: Likewise.
2516 * shadow/bits/std_csetjmp.h: Likewise.
2517 * shadow/bits/std_csignal.h: Likewise.
2518 * shadow/bits/std_cstdarg.h: Likewise.
2519 * shadow/bits/std_cstddef.h: Likewise.
2520 * shadow/bits/std_cstdio.h: Likewise.
2521 * shadow/bits/std_cstdlib.h: Likewise.
2522 * shadow/bits/std_cstring.h: Likewise.
2523 * shadow/bits/std_ctime.h: Likewise.
2524 * shadow/bits/std_cwchar.h: Likewise.
2525 * shadow/bits/std_cwctype.h: Likewise.
2526 * shadow/bits/wrap_libio.h: Likewise.
2527 * shadow/bits/wrap_unistd.h: Likewise.
2528 * shadow/sys/cdefs.h: Likewise.
2530 * configure: Rebuild.
2532 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2534 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2535 Use extended word instructions to match 64bit _Atomic_word.
2536 (__atomic_add): Likewise.
2537 * math/clog10l.c (clog10l): Use M_PIl if defined.
2538 * math/c_logl.c (c_logl): Likewise.
2539 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2540 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2541 (GET_LDOUBLE_MSW64): New define.
2543 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2545 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2546 in_avail, etc can use them.
2547 * bits/std_fstream.h: Ditto.
2548 * bits/fstream.tcc: Ditto.
2549 * testsuite/27_io/filebuf.cc: Tweaks.
2550 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2552 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2554 * src/localename.cc: Same.
2555 * src/locale.cc: Same.
2556 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2558 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2560 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2562 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2563 * bits/std_fstream.h: Same.
2565 * bits/basic_string.h: Tweaks.
2567 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2569 * docs/18_support/howto.html: Update.
2571 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2573 Internal consistency checks.....
2574 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2577 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2578 * bits/basic_ios.tcc: Same.
2580 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2581 Change _M_fctype_buf to _M_buf_fctype.
2582 * bits/fstream.tcc: Same.
2584 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2585 Change _M_locale_set to _M_buf_locale_init.
2586 * bits/streambuf.tcc: Same.
2587 * bits/sstream.tcc: Same.
2588 * bits/fstream.tcc: Same.
2590 * bits/std_streambuf.h: Make typedefs consistent.
2591 (_M_buf_bump): Be more careful with input sequence.
2593 * bits/std_sstream.h: Same.
2594 * bits/std_fstream.h: Same.
2596 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2598 * acinclude.m4: Tweaks.
2599 * config/c_io_libio.cc: Tweaks.
2600 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2601 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2602 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2603 * libio/iofclose.c iofopen.c, stdio.c: New files.
2604 * libio/Makefile.am: Add files, add flags, etc.
2605 * src/Makefile.am (sources): Add filebuf.cc.
2606 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2607 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2609 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2611 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2612 * configure.in: Use it. Also print reminders one time.
2613 * aclocal.m4: Regenerate.
2614 * configure: Regenerate.
2616 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2618 * bits/valarray_array.h (__valarray_get_storage): New function.
2619 (_Array<>::Array): Use it.
2620 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2621 (valarray<>::resize): Likewise. Tweak.
2622 * src/valarray-inst.cc (__valarray_product): Tweak.
2624 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2626 * docs: Update sourceware->sources in every HTML file. Minor updates.
2628 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2630 Clean up configure/build longstanding issues.
2631 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2632 (CXXLINK): Add here, instead.
2634 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2636 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2638 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2639 c_io_libio.cc instead of copying.
2640 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2642 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2643 c++threads.h instead of copying.
2644 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2647 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2648 * bits/basic_file.h: Declare.
2650 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2652 2000-07-07 brent verner <brent@rcfile.org>
2654 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2656 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2658 * bits/istream.tcc (istream::getline): Minor tweaks.
2660 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2662 * docs/download.html: Mention gcc_update.
2663 * docs/configopts.html: Minor updates.
2664 * docs/gccrebuild.html: Ditto.
2665 * docs/18_support/howto.html: More tips, explanations, and reminders.
2666 * docs/19_diagnostics/howto.html: Ditto.
2667 * docs/21_strings/howto.html: Ditto.
2668 * docs/24_iterators/howto.html: Ditto.
2669 * docs/25_algorithms/howto.html: Ditto.
2670 * docs/26_numerics/howto.html: Ditto.
2672 2000-07-05 brent verner <brent@rcfile.org>
2674 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2675 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2676 * config/c_io_libio.cc (__basic_file::open): Unset
2677 ~_IO_DELETE_DONT_CLOSE.
2679 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2681 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2682 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2683 Do not paste anything after 'operator' keyword.
2685 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2687 * bits/std_memory.h: Revert.
2689 2000-07-03 Brendan Kehoe <brendan@zen.org>
2691 * bits/std_complex.h: Fix parens. Format.
2693 2000-07-03 scott snyder <snyder@fnal.gov>
2695 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2696 from the input if base == 0.
2697 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2698 number with a leading `0' in hex mode.
2700 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2702 * mkinclosure: Change `==' to `=' in test.
2704 2000-07-03 Chip Salzenberg <chip@valinux.com>
2706 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2708 * src/Makefile.in: Regenerate.
2710 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2711 Ulrich Drepper <drepper@purist.soma.redhat.com>
2713 Sync libio to glibc-2.2 current CVS.
2714 * libio/_G_config.h: New file.
2715 * libio/wfileops.c: New file.
2716 * libio/wfiledoalloc.c: New file.
2717 * libio/wgenops.c: New file.
2718 * libio/iofwide.c: New file.
2719 * libio/Makefile.am: Tweaks.
2720 * libio/Makefile.in: Regenerate.
2721 * libio/gen-params: Remove. Generic replacement for this yet undone.
2722 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2723 libioP.h, stdfiles.c]: Update.
2724 * config/c_io_libio.cc: Tweaks.
2725 * acinclude.m4: Complete hacks to test wide io.
2726 * aclocal.m4: Regenerate.
2727 * configure: Regenerate.
2728 * src/Makefile.am: Update.
2729 * src/Makefile.in: Regenerate.
2731 * math/cargl.c: Remove underscores.
2733 * bits/locale_facets.h: Tweaks. Start adding iconv details
2735 * bits/locale_facets.tcc: Tweaks.
2736 * bits/std_cwchar.h: Tweaks.
2738 2000-06-29 scott snyder <snyder@fnal.gov>
2740 * bits/concept_checks.h
2741 (__less_then_comparable_requirement_violation): Only check for <.
2742 * testsuite/25_algorithms/lower_bound.cc: New file.
2744 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2746 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2747 * bits/ostream.tcc: Tweak.
2748 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2749 _M_buf_size_opt too.
2750 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2751 out _M_buf_size_opt.
2752 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2753 _M_buf_size_opt out here.
2754 * bits/char_traits.h (char_traits::eos): Non standard member
2755 function, uglify to __eos. Return char_type().
2756 * bits/std_ostream.h: Change.
2758 * testsuite/27_io/ostream_seeks.cc: New file.
2759 * testsuite/27_io/ostream_seeks-1.tst: New file.
2760 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2762 * testsuite/27_io/istream_seeks.cc: New file.
2764 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2766 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2767 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2768 (auto_ptr): _M_ptr changed to void*.
2769 (suto_ptr::get): Cast _M_ptr to element type.
2770 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2771 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2772 (auto_ptr::operator*): Likewise.
2773 (auto_ptr::operator->): Likewise.
2774 (auto_ptr::release): Likewise.
2775 (auto_ptr::reset): Likewise.
2776 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2777 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2778 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2779 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2781 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2783 * testsuite/27_io/filebuf.cc: Tweak.
2784 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2785 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2787 (__basic_file::basic_file): Clean, add calls similar to
2789 (__basic_file::open): Clean.
2790 (__basic_file::sys_open): Clean.
2792 * bits/std_fstream.h: Revert.
2793 * bits/fstream.tcc (filebuf::close()): Revert.
2794 (filebuf::basic_filebuf()): Revert.
2796 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2798 Update to SGI STL 3.3
2799 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2800 ext/stl_rope.h, ext/ropeimpl.h: Update.
2801 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2802 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2803 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2804 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2805 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2806 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2807 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2808 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2809 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2811 * src/Makefile.am (headers): Add new files.
2812 * src/Makefile.in: Regenerate.
2813 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2814 * bits/concept_checks.h: New file.
2815 * bits/container_concepts.h: New file.
2816 * bits/sequence_concepts.h: New file.
2818 2000-06-27 H.J. Lu <hjl@gnu.org>
2819 Loren J. Rittle <ljrittle@acm.org>
2821 * mkcheck.in: Add support to print standard flags needed to
2822 test g++ in build tree. Enhance command line error checking.
2824 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2826 * docs/install.html: Fix minor typo as reported.
2828 2000-06-26 Brent Verner <brent@rcfile.org>
2830 * bits/string.tcc (string::rfind): Fix.
2831 * testsuite/21_strings/rfind.cc: New file.
2833 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2835 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2837 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2839 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2841 * mkcheck.in: Make the *.txt and *.tst files writable after
2842 copying them to $TEST_DIR.
2844 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2845 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2846 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2848 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2850 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2851 (basic_filebuf::close): Use it.
2852 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2854 (basic_filebuf): Add _M_fileno_based data member.
2855 As reported by brent verner <brent@rcfile.org>
2856 * testsuite/27_io/filebuf_members.cc: New file.
2857 * testsuite/27_io/filebuf_members-1.tst: New file.
2859 * bits/std_fstream.h: Formatting tweaks.
2860 * testsuite/27_io/ofstream_members.cc: New file.
2861 * testsuite/27_io/ofstream_members-1.tst: New file.
2862 * testsuite/27_io/ifstream_members.cc: New file.
2863 * testsuite/27_io/ifstream_members-1.tst: New file.
2865 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2866 Ulrich Drepper <drepper@cygnus.com>
2868 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2869 that all the freaky stuff like sincos will be around...
2871 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2873 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2875 2000-06-22 Steven King <sxking@uswest.net>
2877 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2879 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2881 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2882 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2883 link against libm and don't use -fno-builtins...
2884 * math/mathconf.h: Change up builtin macros to new schema.
2885 * bits/std_cmath.h: And here. Wheee!
2886 * shadow/bits/std_cmath.h: And here.
2887 * acconfig.h: Change up builtin macros here.
2888 * math/cosf.c: Remove.
2889 * math/fabsf.c: Likewise.
2890 * math/sinf.c: Likewise.
2891 * math/sqrtf.c: Likewise.
2892 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2893 * math/Makefile.in: Regenerate.
2895 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2897 * testsuite/21_strings/find.cc: Patch.
2899 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2901 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2902 an easy way to get at g++ without having to link in libstdc++.
2904 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2906 Fix alpha, powerpc build failures.
2907 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2908 re-write. Need to check for both proper declaration when using a
2909 c++ compiler, and "C" linkage when linking. Do both, and if both
2910 exist, then define the HAVE_* bits in config.h.
2911 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2912 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2915 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2917 * bits/string.tcc: Fix find.
2918 * testsuite/21_strings/find.cc: Patch.
2920 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2922 * docs/install.html: Update where to get automake, where to get
2924 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2927 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2929 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2930 Add -Werror-implicit-function-declaration instead.
2932 Regenerate with fixed maintainer-tools.
2933 * aclocal.m4: Regenerate.
2934 * configure: Regenerate.
2935 * libio/Makefile.in: Regenerate.
2936 * src/Makefile.in: Regenerate.
2938 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2940 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2941 * bits/locale_factets.tcc: Tweak.
2943 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2945 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2946 be overridden on the command line for individual files.
2948 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2950 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2951 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2952 building. Use -x c++ instead, which does not attempt to link
2955 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2956 not coring when we hit a try/throw block, which was the problem
2957 with the linker support...
2959 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2961 * docs/documentation.html: Rename link to make more accurate and scary.
2962 * docs/gccrebuild.html: Edit for clarity as these are no longer
2964 * docs/install.html: Add bits about binutils for
2965 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2967 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2968 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2969 USE_COMPLEX_LONG_DOUBLE.
2970 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2971 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2972 Works around irregularies in powerpc "C" compiler, but a good idea
2975 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2976 New. Merge both old compiler bug checks for complex into this.
2978 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2980 * testsuite/21_strings/find.cc: Empty strings can be found at all
2981 positions. Modified.
2983 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2985 * testsuite/20_utilities: New directory.
2986 * testsuite/20_utilities/auto_ptr.cc: New file.
2988 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2990 * src/Makefile.am (string_sources): Simplify, assuming that with
2991 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2992 hacking is not necessary.
2993 (wstring_sources): Same.
2994 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2996 * src/string-inst.cc: Remove macro blocks.
2997 * mkcheck.in (CXX_FLAG): Add bits here.
2999 * src/string-inst.cc: Remove iostream-related string instantiations.
3000 * src/misc-inst.cc: Add here.
3002 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
3004 * aclocal.m4: Regenerate.
3005 * configure.in: Change up.
3006 * configure: Regenerate.
3008 2000-06-13 Steven King <sxking@uswest.net>
3010 * acinclude.m4: Fixup some of the builtin math tests and add tests for
3011 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
3012 * acconfig.h: Add entries for fmod*.
3014 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
3016 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
3017 Test *_MODFF not *_MODF for modf(float, float*).
3018 (modf(float, float*)): Remove reference to _C_legacy.
3020 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
3022 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
3023 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
3024 superset, and already defined at top level.
3025 * aclocal.m4: Regenerate.
3026 * configure: Regenerate.
3028 * docs/17_intro/contribute.html: Plead with people to use -cp.
3030 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
3032 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
3034 * testsuite/27_io/filebuf.cc: Changed calls to
3035 fpos<>._M_position() to implicit calls to operator streamoff().
3036 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
3037 as not needed. Revert, as part of standard.
3038 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
3039 call to numpunct<>._M_init() with overrides of the appropriate
3042 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
3043 pointers from test01, so no need to call base(), which isn't
3044 guaranteed to be implemented as iterators may themselves be pointers
3045 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
3046 _M_position() - use implicit conversion to streamoff instead
3048 2000-06-13 Thomas Holenstein <thomas@hex.ch>
3050 * bits/stl_iterator.h: Added inline to operators == to >=.
3052 2000-06-13 Brent Verner <brent@rcfile.org>
3054 * bits/streambuf.tcc: repaired _S_copy_streambufs()
3055 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
3057 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3059 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
3061 * src/locale.cc: Add cwchar include here. Remove incorrect
3062 definitions, and stub them out.
3063 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
3064 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
3065 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
3066 * config/newlib/ctype.cc: Same.
3067 * config/gnu-linux/ctype.cc: Same.
3068 * config/bsd/ctype.cc: Same.
3069 * config/aix/ctype.cc: Same.
3071 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
3073 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
3074 towupper and towlower to convert wide characters.
3076 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3078 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
3080 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
3082 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
3083 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
3084 * aclocal.m4: Regenerate.
3085 * configure: Regenerate.
3086 * math/cosf.c: New file.
3087 * math/fabsf.c: Likewise.
3088 * math/sinf.c: Likewise.
3089 * math/sqrtf.c: Likewise.
3090 * math/Makefile.am (EXTRA_DIST): Add those four files.
3091 * math/Makefile.in: Regenerate.
3093 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
3095 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
3097 2000-06-06 Steven King <sxking@uswest.net>
3099 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3100 double and long double. Added defines for HAVE libm math functs for
3101 float and long double.
3102 * aclocal.m4: Added configure checks for builtin math funcs and libm
3103 support for float and long double versions of the math functions.
3104 * config.h.in: Added undefs for math functs.
3105 * configure: Regenerate.
3106 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3107 _GLIBCPP_HAVE_BUILTIN_*.
3108 * bits/std_cmath.h: Added long double support. Use builtins for
3109 float, double and long if available, otherwise, use libm versions if
3110 availible, otherwise, punt.
3111 * shadow/bits/std_cmath.h: ditto
3113 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3115 * bits/locale_facets.h: Tweak.
3116 * src/locale.cc (codecvt<wchar_t>): Tweak.
3118 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3119 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3121 * bits/basic_string.h: Move data member up.
3122 * src/string-inst.cc: Fix instantiations.
3123 * bits/string.tcc: Fix types.
3125 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
3127 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3129 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
3131 * bits/std_cwctype.h: Clean.
3132 * bits/std_cwchar.h: Clean, remove cruft.
3134 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3135 for beginning iconv support.
3136 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3138 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3139 * bits/limits_generic.h: Remove.
3140 * src/gen-num-limits.cc: Same.
3142 * src/locale.cc: Tweaks.
3144 * bits/char_traits.h: Tweaks.
3146 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3148 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3149 exponent, scientific formatting issues.
3150 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3152 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
3154 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3155 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3157 2000-05-31 Nathan Myers <ncm@cantrip.org>
3159 * docs/thanks.html: edit own credits
3161 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3163 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3165 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3167 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3169 2000-05-31 Steven King <sxking@uswest.net>
3171 * shadow/time.h: fix typo
3172 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3173 * shadow/bits/std_cwchar.h: ditto
3174 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3177 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3179 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3180 available, force --disable. Need to flesh this out; make smarter.
3181 * aclocal.m4: Regenerate.
3182 * configure: Regenerate.
3184 * mkcheck.in: Minor tweaks.
3185 * docs/download.html: Fix typo.
3187 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3189 * inclosure: Change to...
3190 * mkinclosure: This.
3192 * mkcshadow: Fix paths to bash.
3194 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3195 * src/Makefile.in: Regnerate.
3196 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3197 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3198 * aclocal.m4: Regenerate.
3199 * mkcheck.in (INC_PATH): Tweak.
3201 * configure.in: Enable long long by default.
3202 * configure: Regenerate.
3204 * mkcheck.in (LIB_PATH): Revert.
3206 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3208 * config/cpu/i486: New directory.
3209 * config/cpu/i486/bits: New directory.
3210 * config/cpu/i486/bits/atomicity.h: New file.
3211 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3213 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3215 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
3217 * backward/alloc.h (__default_alloc_template): Only expose
3218 implementation-specific symbol, if it exists in the
3220 * backward/iostream.h (ends): Expose symbol.
3221 * backward/strstream.h: New file.
3222 * backward/stream.h: New file.
3223 * backward/ostream.h: New file.
3224 * backward/istream.h: New file.
3225 * backward/fstream.h: New file.
3226 * backward/complex.h: New file.
3227 * backward/iomanip.h: New file.
3229 * mkcheck.in (LIB_PATH): Add -R bits.
3231 * math/carg.c (carg): Replace __atan2 with atan2.
3233 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3235 * Makefile.am (TAGS): Construct.
3236 * Makefile.in: Rengerate.
3237 * src/Makefile.am: Tweak.
3238 * src/Makefile.in: Tweak.
3239 * configure.in: Tweak.
3241 * bits/c++config.h: Rename to ...
3242 * bits/c++config: This.
3243 * mkc++config: Adjust.
3246 * m4/lc_message.m4: Merge into acinclude.m4.
3247 * m4/mathfcts.m4: Same.
3248 * m4/stringfcts.m4: Same.
3249 * acinclude.m4: Add here.
3250 * configure: Regnerate.
3252 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3253 OPTLEVEL. Add FMTFLAGS.
3254 * aclocal.m4: Regenerate.
3255 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3256 been disabled due to higher-level Makefiles running amuck over
3257 this bit, and add in FMTFLAGS so that formatting is clear.
3258 * src/Makefile.in: Regenerate.
3259 * configure: Regenerate.
3261 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
3264 * docs/download.html: Remove references to Cygwin-specific bits,
3265 as this can now be built natively.
3266 Update with current information.
3268 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3270 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3271 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3272 enclose other tests in this macro, including future ones.
3273 * aclocal.m4: Regenerate.
3274 * configure: Regenerate.
3276 * docs/faq/index.html: Update location of libg++ FAQ.
3277 * docs/faq/index.txt: Regenerate.
3279 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3281 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3283 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3285 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3287 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3289 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3290 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3291 * aclocal.m4: Regenerate.
3292 * configure: Regenerate.
3294 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
3296 * bits/generic_shadow.h: s/swamp/legacy/
3298 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3300 * acinclude.m4: Clean up comments on newer checks.
3301 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3302 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3303 * aclocal.m4: Regenerate.
3304 * configure: Regenerate.
3305 * Makefile.in: Regenerate.
3306 * libio/Makefile.in: Regenerate.
3307 * math/Makefile.in: Regenerate.
3308 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3309 * src/Makefile.in: Regenerate.
3310 * docs/configopts.html: Document changes to --enable names.
3312 2000-05-18 Chip Salzenberg <chip@valinux.com>
3314 * bits/ostream.tcc (_S_pad_char): Function template should not be
3316 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3317 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3319 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
3321 * mkcshadow: Change C_Swamp to C_legacy.
3323 * shadow/bits/*: Same.
3324 s/C_Swamp/C_legacy/g
3328 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3330 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3332 * src/string-inst.cc (string::_S_find): Same.
3334 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3336 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3337 --enable-cshadow-headers. Add output messages.
3338 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3339 underscores (like the rest of the enable options.) Add output messages.
3340 * aclocal.m4: Regenerate.
3341 * configure: Regenerate.
3342 * configure.in: Touch.
3344 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3346 * mkcheck.in: Enable shared library testing.
3348 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
3350 * bits/std_cmath.h: fix sqrt(float)
3352 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
3354 * bits/std_cassert.h: Use system_header pragma.
3355 * bits/std_cctype.h: Likewise.
3356 * bits/std_cerrno.h: Likewise.
3357 * bits/std_cfloat.h: Likewise.
3358 * bits/std_climits.h: Likewise.
3359 * bits/std_clocale.h: Likewise.
3360 * bits/std_cmath.h: Likewise.
3361 * bits/std_csetjmp.h: Likewise.
3362 * bits/std_csignal.h: Likewise.
3363 * bits/std_cstdarg.h: Likewise.
3364 * bits/std_cstddef.h: Likewise.
3365 * bits/std_cstdio.h: Likewise.
3366 * bits/std_cstdlib.h: Likewise.
3367 * bits/std_cstring.h: Likewise.
3368 * bits/std_ctime.h: Likewise.
3369 * bits/std_cwchar.h: Likewise.
3370 * bits/std_cwctype.h: Likewise.
3371 * bits/std_exception.h: Likewise.
3372 * bits/std_new.h: Likewise.
3373 * bits/std_typeinfo.h: Likewise.
3374 * shadow/bits/std_cassert.h: Likewise.
3375 * shadow/bits/std_cctype.h: Likewise.
3376 * shadow/bits/std_cerrno.h: Likewise.
3377 * shadow/bits/std_cfloat.h: Likewise.
3378 * shadow/bits/std_climits.h: Likewise.
3379 * shadow/bits/std_clocale.h: Likewise.
3380 * shadow/bits/std_cmath.h: Likewise.
3381 * shadow/bits/std_csetjmp.h: Likewise.
3382 * shadow/bits/std_csignal.h: Likewise.
3383 * shadow/bits/std_cstdarg.h: Likewise.
3384 * shadow/bits/std_cstddef.h: Likewise.
3385 * shadow/bits/std_cstdio.h: Likewise.
3386 * shadow/bits/std_cstdlib.h: Likewise.
3387 * shadow/bits/std_cstring.h: Likewise.
3388 * shadow/bits/std_ctime.h: Likewise.
3389 * shadow/bits/std_cwchar.h: Likewise.
3390 * shadow/bits/std_cwctype.h: Likewise.
3391 * shadow/bits/wrap_libio.h: Likewise.
3392 * shadow/bits/wrap_unistd.h: Likewise.
3393 * shadow/sys/cdefs.h: Likewise.
3395 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3397 It appears that gcc-2.96 supports the keyword "and" now.
3398 * bits/std_ciso646.h: remove.
3400 * testsuite/17_intro/header_ciso646.c: enable testing.
3401 * src/Makefile.am, src/Makefile.in: remove mention of
3404 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
3406 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3408 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3410 * acinclude.m4: Fix typo, switch to decaf...
3411 * aclocal.m4: Regenerate.
3412 * configure: Regenerate.
3414 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3416 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3417 * aclocal.m4: Regenerate.
3418 * configure.in: Call.
3419 * configure: Regenerate.
3420 * docs/configopts.html: Stub documentation.
3422 2000-05-14 Nathan Myers <ncm@cantrip.org>
3424 * mkcshadow: build in more-correct directory, create cshadow/
3425 directory if needed, report progress.
3427 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3429 * src/Makefile.am: Fix tr commands.
3430 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3431 * src/string-inst.cc: Remove extra instantiation of
3432 S::basic_string(S::size_type, C, S::allocator_type const&);
3433 * src/string-inst.cc: Remove extra template keyword.
3435 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3437 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3438 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3439 * aclocal.m4: Regenerate.
3440 * configure: Regenerate.
3441 * */Makefile.in: Regenerate.
3443 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3445 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3446 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3447 * aclocal.m4: Regenerate.
3448 * configure.in: Non-blank arguments break fewer Linuxes.
3449 * configure: Regenerate.
3450 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3451 * src/Makefile.in: Regenerate.
3453 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3455 * bits/std_cmath.h: Tweaks.
3456 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3457 (sqrtf): Define away iff !builtin and !in <math.h>.
3461 At some point this directory should be converted to c++, the
3462 autoconf tests should be run by the c++ compiler (not c), and
3463 <cmath> should be used instead of math.h.
3464 Move declaration of nan() here.
3465 * math/complex-stub.h (cabsl): Remove nan() declaration.
3467 Finish up FreeBSD4.0 support.
3468 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3469 * config/generic/ctype.cc: And here.
3470 * testsuite/21_strings/char_traits.cc (test02): Guard with
3471 _GLIBCPP_USE_WCHAR_T.
3473 via Phil Edwards <pme@sourceware.cygnus.com>
3474 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3475 * acconfig.h: And here.
3476 * acinclude.m4: Same.
3477 * testsuite/27_io/istream.cc: And here.
3478 * testsuite/27_io/ostream.cc: And here.
3480 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3482 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3484 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3486 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3489 * config/bsd: New directory.
3490 * config/bsd/ctype.cc: New.
3491 * config/bsd/bits/ctype_base.h (ctype_base): New.
3492 * config/bsd/bits/ctype_specializations.h: New.
3493 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3495 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3497 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3498 * configure.in: Call.
3499 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3500 * aclocal.m4: Regenerate.
3502 * src/Makefile.in: Ditto.
3503 * docs/configopts.html: Document.
3504 * docs/download.html: Fix typo (close quote).
3505 * docs/footer.html: Update.
3507 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3509 * backward/iostream.h: Expose endl. Guard wide types.
3510 * src/Makefile.am (headers): Update list to match files.
3511 * src/Makefile.in: Regenerate.
3513 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3514 Benjamin Kosnik <bkoz@gnu.org>
3515 Nathan Myers <ncm@cantrip.org>
3516 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3518 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3519 (basic_streambuf::xsputn): Make consistent.
3520 * testsuite/27_io/filebuf.cc: Add tests.
3522 2000-05-08 Steven King <sxking@uswest.net>
3524 * bits/char_traits.h: Use wchar_t utility functions for
3525 char_traits<wchar_t> methods.
3526 * testsuite/21_string/char_traits.cc: New (test02): test
3527 char_traits<wchar_t>
3529 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3531 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3533 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3534 _M_buf_size based on macro, instead use _M_buf_size_opt.
3535 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3536 (basic_streambuf()): Set _M_buf_size_opt.
3537 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3538 instead of _M_buf_size.
3540 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3542 * src/complex_io.cc: Don't instantiate inserters and extractors
3543 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3545 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3546 Felix Natter <fnatter@gmx.net>
3548 * docs/footer.html: Update to see if it takes effect.
3549 * docs/thanks.html: More people.
3550 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3551 be seen from the web pages. Rename for browser-friendliness...
3552 * docs/17_intro/howto.html: ...and update here.
3553 * docs/17_intro/porting-howto.html: Changes from Felix.
3554 * docs/gccrebuild.html: Mention v3->egcs move.
3555 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3556 * docs/faq/index.txt: Regenerate.
3558 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3560 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3563 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3565 * bits/char_traits.h: Fix parameter types.
3566 * bits/string.tcc: Avoid traits_type::move.
3568 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3570 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3571 * src/Makefile.in: Regenerate.
3572 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3574 2000-04-30 Steven King <sxking@uswest.net>
3576 * bits/locale_facets.h: Fix syntax error.
3577 * bits/std_fstream.h: ditto
3579 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3581 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3583 * mknumeric_limits (trait_name): Fix copyright notice.
3584 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3585 round_error data members of struct value. This works around
3586 weak-linking issues on AIX, HPUX.
3588 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3590 * docs/download.html: Add link to list of mirror sites.
3592 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3594 * mkcheck.in: Rely on exit status instead of the presence of a
3595 core file. Added comments on how/where to save core and exe
3596 files. Move shell wildcards outside quotes and fix core path.
3598 2000-04-27 scott snyder <snyder@fnal.gov>
3600 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3603 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3605 * bits/basic_string.h: include <bits/atomicity.h> instead
3606 of <atomicity.h>, and use the uglified names.
3607 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3608 uglify names, eliminate dependence on <inttypes.h>.
3609 * src/Makefile.in, src/Makefile.am: refer to correct place
3610 for atomicity.h header.
3612 2000-04-25 Steven King <sxking@uswest.net>
3614 * bits/basic_string.h: Fix syntax error.
3616 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3618 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3620 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3621 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3622 versions to this as copysignl is needed anyway for these targets.
3623 * math/Makefile.in: Regenerate.
3625 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3626 * bits/fstream.tcc (underflow): Cast to libio types.
3627 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3628 * config/c_io_libio.cc (seekoff): And here.
3630 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3632 * mkcheck.in: Report compiler version used for test. Find
3633 the built _G_config.h instead of any old installed version.
3635 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3637 * config/generic/ctype.cc (do_toupper): Remove dependence on
3638 non-portable/non-existent lookup table.
3641 2000-04-24 Nathan Myers <ncm@cantrip.org>
3643 * src/string-inst.cc: More fixing.
3645 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3647 * bits/stl_iterator.h: Pedantic fixing.
3648 * bits/std_sstream.h: And here.
3649 * bits/string.tcc: And here.
3651 2000-04-24 Felix Natter <fnatter@gmx.net>
3653 * docs/17_intro/howto.html: Add bits.
3654 * docs/17_intro/porting-howto.html: New file.
3656 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3658 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3659 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3660 wchar_t, to empty string otherwise.
3661 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3662 (sources): Remove $(string_sources) and $(wstring_sources).
3663 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3664 (libstdc___la_DEPENDENCIES): New.
3665 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3667 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3669 * bits/std_sstream.h: Tweak formatting.
3670 * bits/std_fstream.h: Make types public.
3672 * testsuite/27_io/streambuf.cc: Fix for alpha.
3674 Brad Garcia <bgarcia@laurelnetworks.com>
3675 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3677 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3680 2000-04-19 Nathan Myers <ncm@cantrip.org>
3682 * src/string-inst: consolidate _S_create,
3683 destroy, leak, clone members into stringMAIN and stringMUTATE
3685 * src/Makefile.am: Above, and eliminate dependence on
3687 * src/wstring-inst.cc: Remove.
3689 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3691 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3692 Add flags for specialized rules dealing with instantiations.
3694 * src/string-inst.cc: Add instantiations missing from shared
3695 libraries--see stringEQ, stringCONSC.
3696 * src/Makefile.am (wstring_sources): Add.
3697 (string_sources): Same.
3698 * src/Makefile.in: Regenerate.
3700 * stl/*: Integrate contents of this directory into top-level
3702 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3703 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3704 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3705 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3706 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3707 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3708 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3709 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3710 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3711 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3712 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3713 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3714 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3715 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3716 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3717 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3718 stack.h tempbuf.h tree.h vector.h: Add.
3719 * README (file): Update.
3720 * docs/documentation.html: README not being found.
3721 * src/Makefile.am (sources): Take out stl directory.
3722 * mkcheck.in (SRC_DIR): And here.
3723 * src/Makefile.in: Regenerate.
3725 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3727 * stl/bits/stl_function.h: Add bits so that const and non-const
3730 2000-04-18 scott snyder <snyder@fnal.gov>
3732 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3733 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3734 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3735 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3736 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3738 2000-04-18 scott snyder <snyder@fnal.gov>
3740 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3743 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3744 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3745 * stl/ext/hash_set (class hash_set, class hash_multiset):
3747 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3748 constant_binary_fun): Likewise.
3749 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3750 * stl/bits/stl_stack.h (class stack): Likewise.
3751 * stl/bits/stl_set.h (class set): Likewise.
3752 * stl/bits/stl_multiset.h (class multiset): Likewise.
3754 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3755 class reverse_iterator): Get rid of use of
3756 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3758 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3761 * stl/bits/stl_deque.h (class deque): Get rid of use of
3762 __STL_DEFAULT_ALLOCATOR macro.
3763 * stl/bits/stl_list.h (class list): Likewise.
3764 * stl/bits/stl_multiset.h (class multiset): Likewise.
3765 * stl/bits/stl_set.h (class set): Likewise.
3766 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3767 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3768 * stl/bits/stl_vector.h (class vector): Likewise.
3769 * stl/ext/ropeimpl.h (rotate): Likewise.
3770 * stl/ext/hash_map (class hash_map, class hash_multimap):
3772 * stl/ext/hash_set (class hash_set, class hash_multiset):
3774 * stl/ext/slist (class slist): Likewise.
3775 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3776 * stl/ext/stl_rope.h (class rope): Likewise.
3777 * src/locale.cc (_Impl): Likewise.
3778 * src/localename.cc (_Impl): Likewise.
3779 * bits/localefwd.h (_Impl): Likewise.
3781 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3783 * docs/install.html: Cleanup, minor changes.
3784 * docs/17_intro/howto.html: Ditto.
3786 2000-04-18 Nathan Myers <ncm@cantrip.org>
3788 * bits/basic_string.h: Remove "inline" from member _S_find.
3790 * src/string-inst.cc: Rewrite to reflect non-inline template
3791 instantiations in string.tcc.
3793 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3794 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3795 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3796 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3797 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3798 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3799 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3800 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3801 stringNESS.cc, stringSCOPY.cc: Remove.
3802 * src/wstringADDCS.cc, etc: Remove.
3804 Benjamin Kosnik <bkoz@haight.constant.com>
3805 * src/Makefile.am: Modify to reflect above.
3806 * src/Makefile.in: Regenerate.
3808 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3810 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3812 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3814 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3815 io interface here instead of the libio particulars.
3817 * config/threads-posix.h: Consistency with stl_config.h.
3819 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3821 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3823 * mknumeric_limits: Rename generic type template parameter name
3825 * stl/bits/type_traits.h: Ditto.
3827 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3829 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3830 it is more useful for --enable-libstdcxx-v3. Use the built
3831 compilers with v3, instead of compilers in PATH, and don't
3832 re-include include directories for checking the install.
3834 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3836 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3837 by default when using --enable-libstdcxx-v3.
3838 * src/Makefile.in: Regenerate.
3839 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3840 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3841 * configure: Regenerate.
3842 * mkcheck.in: Deal with NAMESPACES.
3844 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3846 * src/cmath.cc: New file...
3847 (pow(*, int)): Define functions...
3848 * src/Makefile.am (sources): ...register file.
3849 * src/Makefile.in: Regenerate.
3850 * bits/std_cmath.h (pow): ...declare functions here, and remove
3853 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3855 * acinclude.m4 (GCC_OBJDIR): Tweaks
3857 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3859 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3860 * config/cpu/arm: New directory.
3862 Jesper Skov <jskov@redhat.com>
3863 * config/cpu/arm/atomicity.h: New file.
3865 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3867 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3868 Remove unused bits. Clean.
3870 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3872 * testsuite/25_algorithms: New directory.
3873 * testsuite/25_algorithms/min_max.cc: New file.
3875 2000-03-29 scott snyder <snyder@fnal.gov>
3877 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3878 precision beyond that which we get from numeric_limits::digits10.
3880 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3883 * testsuite/23_containers/bitset_shift.cc: Fix.
3885 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3886 temporary to imbue().
3888 * bits/std_fstream.h (sync): Resync libio's idea of the current
3889 file position with the external file.
3891 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3893 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3896 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3897 attempting calls to it.
3898 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3899 ctors. Instead, call _M_init_filebuf ...
3900 (open): Here, as suggested by 27.8.1.3.
3901 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3902 properly when initializing cout/cin/cerr.
3904 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3906 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3907 * testsuite/22_locale/ctype_char_members.cc: And here.
3908 * testsuite/27_io/streambuf.cc (streambuf): And here.
3909 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3910 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3911 * testsuite/27_io/istream_extractor_arith.cc: And here.
3912 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3913 * testsuite/27_io/ios_base_members_static.cc: And here.
3914 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3916 2000-03-27 Chris Faylor <cgf@cygnus.com>
3918 * configure.in: Remove setting of CXX if canadian cross.
3919 * configure: Regenerate.
3921 2000-03-27 Nathan Myers <ncm@zembu.com>
3923 * bits/sstream.tcc: Optimize.
3924 * bits/basic_string.h(string::append): Don't inline.
3925 * bits/string.tcc: Move out-of-line.
3927 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3929 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3930 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3931 * aclocal.m4: Regenerate.
3932 * configure: Regenerate.
3933 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3934 * src/Makefile.in: Regenerate.
3936 * docs/install.html: Almost complete rewrite.
3938 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3940 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3941 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3943 * docs/faq/index.txt: Regenerate.
3945 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3947 * src/Makefile.am (libio_headers_install): Fix.
3948 * src/Makefile.in: Regenerate.
3950 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3952 * docs/17_intro/RELEASE-NOTES: Fix typos.
3953 * docs/index.html: Update.
3954 * docs/17_intro/BUGS: Update.
3955 * docs/status.html: Update for 2.90.8 release.
3957 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3959 * Makefile.am: Better error message when missing libgcc2.ready.
3960 * Makefile.in: Regenerate.
3961 * acinclude.m4: Fastidious nitpicking reformatting.
3962 * aclocal.m4: Regenerate.
3963 * configure: Regenerate.
3964 * mkcheck.in: Must use same namespace settings as the library being
3965 tested. Also log ST_FLAG, since it's being passed.
3966 * docs/install.html: Add brief chunk on configuration.
3967 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3968 * docs/23_containers/howto.html: Mention MT-safe string.
3969 * docs/faq/index.html: Minor updates.
3970 * docs/faq/index.txt: Regerarate.
3972 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3974 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3976 * bits/fstream.tcc (seekoff): Sync.
3978 * testsuite/27_io/ostream_unformatted.cc: New file.
3979 * testsuite/27_io/stringbuf.cc: Fix.
3980 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3982 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3983 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3985 * src/complex_io.cc (operator>>complex): Tweak.
3987 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3988 <inttypes.h> does not exist.
3989 * config/cpu/sparc/sparc64/atomicity.h: Same.
3990 * config/cpu/sparc/sparc32/atomicity.h: Same.
3991 * config/cpu/powerpc/atomicity.h: Same.
3992 * config/cpu/i386/atomicity.h: Same.
3993 * config/cpu/generic/atomicity.h: Same.
3994 * configure.in: Check for inttypes.h.
3995 * configure: Regnerate.
3997 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3999 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
4001 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
4003 * docs/17_intro/RELEASE-NOTES (New): Add bits.
4005 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
4006 are compiling natively.
4008 * libio/*: Update to CVS libio from egcs.
4010 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
4012 * docs/download.html: Document use of -z9 for CVS.
4013 * docs/index.html: Add target date (no link) for future snapshot.
4015 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4017 * bits/slice_array.h: Rename generic type template parameter name
4019 * bits/mask_array.h: Ditto
4021 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
4023 * *: Change copyright holder from "Cygnus Solutions" to "Free
4024 Software Foundation, Inc."
4026 * docs/configopts.html: Explain what "hella versions" means.
4027 * docs/install.html: Some tweaks--nice job on this Phil.
4028 * docs/documentation.html: Add a direct link to configuration options.
4030 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
4031 * docs/17_intro/RELEASE-NOTES (New): Add.
4032 * bits/c++config.h (__GLIBCPP__): Bump version.
4034 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
4035 type to match prototype.
4037 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
4039 * docs/install.html: Update for new funky build procedure. Move
4040 description of 'configure' options to...
4041 * docs/configopts.html: ...here. New file.
4042 * docs/17_intro/howto.html: Updates for new snapshot.
4043 * docs/20_util/howto.html: Ditto.
4044 * docs/21_strings/howto.html: Ditto.
4045 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
4046 * docs/22_locale/howto.html: Ditto.
4047 * docs/23_containers/howto.html: Ditto.
4048 * docs/faq/index.html: Ditto.
4050 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
4051 Benjamin Kosnik <bkoz@gnu.org>
4053 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
4055 * aclocal.m4: Regenerate.
4056 * configure: Regenerate.
4058 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4059 scott snyder <sss@karma.fnal.gov>
4061 * config/c_io_libio.h: Add __c_lock.
4062 * config/threads-no.h: Same here.
4063 * config/threads-posix.h: Add __mutext_type typedef.
4064 * config/c_io_libio.cc: basic_file ctor takes lock arg.
4065 * bits/basic_file.h: Ctor takes lock arg.
4066 * bits/std_fstream.h: Add _M_lock.
4067 * bits/fstream.tcc: Supply it to basic_file ctor.
4069 * mkcheck.in (resultstext): Change [[ to [.
4071 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
4073 * bits/locale_facets.h: Tweak.
4075 * stl/bits/stl_config.h: Fix defines.
4077 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4079 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
4081 * configure: Regenerate.
4082 * aclocal.m4: Regnerate.
4084 2000-03-16 Nathan Myers <ncm@zembu.com>
4086 * bits/string.tcc: Add MT support.
4087 * bits/basic_string.h: Same.
4089 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4091 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
4093 * configure: Regenerate.
4095 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
4097 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4099 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
4100 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
4101 any defaults passed in.
4102 * aclocal.m4: Regenerate.
4104 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4106 * mkcheck.in: Report total successes and failures.
4108 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4110 * config/cpu: New directory, intended to be used to provide
4111 cpu-specific configuration files. In particular, assembly language
4112 primitives for thread safety.
4113 * config/cpu/alpha: Populate.
4114 * config/cpu/alpha/atomicity.h: New file.
4115 * config/cpu/arm: Populate.
4116 * config/cpu/generic: Populate.
4117 * config/cpu/generic/atomicity.h: New file.
4118 * config/cpu/hppa: Populate.
4119 * config/cpu/i386: Populate.
4120 * config/cpu/i386/atomicity.h: New file, take from i486.
4121 * config/cpu/m68k: Populate.
4122 * config/cpu/mips: Populate.
4123 * config/cpu/powerpc: Populate.
4124 * config/cpu/powerpc/atomicity.h: New file.
4125 * config/cpu/sparc: Populate.
4126 * config/cpu/sparc/sparc32: Populate.
4127 * config/cpu/sparc/sparc64: Populate.
4128 * config/cpu/sparc/sparc32/atomicity.h: New file.
4129 * config/cpu/sparc/sparc64/atomicity.h: New file.
4131 * src/Makefile.am (myinstallheaders): Add install routines.
4132 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4134 * configure.in: Add.
4136 * config/default: Adopt glibc naming conventions, and so move to
4137 * config/generic: Here.
4138 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4140 2000-03-15 Bill Thompson <billt@toast.net>
4142 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4144 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4146 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4148 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4149 * aclocal.m4: Regenerate.
4150 * configure: Regenerate.
4152 2000-03-13 scott snyder <snyder@fnal.gov>
4153 Jason Merrill <jason@cygnus.com>
4155 * bits/locale_facets.h (class ctype, class ctype<char>, class
4156 ctype<wchar_t>): More mask fixes.
4157 * testsuite/22_locale/ctype.cc: Test for the problem.
4159 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4161 * acconfig.h: Add bits.
4162 * configure.in: Move AM_PROG_LIBTOOL up in file.
4163 Tweak cross compiling info.
4164 * configure: Regenerate.
4166 * mknumeric_limits (XCOMPILE): Echo compilation line for
4169 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4170 * aclocal.m4: Regenerate.
4171 * configure: Regenerate.
4172 * config/aix/ctype.cc (ctype): Tweak.
4173 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4174 * config/aix/bits/ctype_specializations.h: New file.
4176 2000-03-10 scott snyder <snyder@fnal.gov>
4178 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4180 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4181 regression test for the problem.
4183 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4185 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4186 * bits/fpos.h: And here.
4187 * bits/std_ostream.h: Same here.
4188 * bits/std_istream.h: Same here.
4189 * bits/basic_ios.h: Same here.
4190 * bits/std_fstream.h: Same here.
4191 * bits/sbuf_iter.h (std): Here too.
4192 * bits/std_sstream.h: Make types public.
4194 * src/misc-inst.cc: Use size_t instead of unsigned int.
4195 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4196 suppose this should be ctype::narrow... all the ctype<wchar_t>
4197 stuff needs to be cleaned up.
4199 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4201 * docs/gentop: Remove entire directory, finally.
4203 2000-03-09 scott snyder <snyder@fnal.gov>
4205 * bits/std_cmath.h (modf): Fix pointer overrun.
4206 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4207 test for the problem.
4209 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4211 Looks like changes to the #include'd files must be followed by a
4212 change to the #include'ing files to take effect. Caveat emptor.
4213 * docs/header.html: New file, for server-side include.
4214 * docs/footer.html: New file, for server-side include.
4215 * docs/documentation.html: Change to use SSI.
4216 * docs/download.html: Ditto.
4217 * docs/index.html: Ditto.
4218 * docs/mail.html: Ditto.
4219 * docs/status.html: Ditto.
4220 * docs/thanks.html: Ditto, plus minor updates.
4221 * docs/how.html: Remove.
4223 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4225 Preliminary alpha-linux support.
4226 * src/locale.cc (ctype<wchar_t>): Use correct types...
4227 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4228 (ctype<wchar_t>): Same.
4229 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4230 types match for table_size (size_t).
4232 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4233 as per char specialization.
4234 * config/*/ctype.cc: Same.
4236 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4238 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4239 _Ctype_nois<>. Template base classes are never examinated in
4240 first-phase name-lookup.
4242 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4244 Add Solaris 2.5.1 support.
4245 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4246 * config/solaris/solaris2.5/ctype.cc: Fixup.
4247 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4248 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4249 * aclocal.m4: Regenerate.
4250 * configure: Regenerate.
4252 * config/default/ctype.cc (ctype): Fixup.
4254 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4256 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4257 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4260 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4262 * bits/cpp_type_traits.h: Expand on this file purpose.
4264 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4266 * bits/locale_facets.h (ctype<char>): Remove static members, and
4267 re-work initialization code.
4268 (ctype<wchar_t>): Same.
4269 Move _S_touppper to _M_toupper and initialize in ctor.
4270 Move _S_tolower to _M_tolower and initialize in ctor.
4271 Move _S_table to _M_ctable and intialize in ctor.
4272 * bits/locale_facets.h (std): And here.
4273 * src/locale.cc (std): Tweak.
4274 * config/gnu-linux/ctype.cc: Change initialization here.
4275 * config/newlib/ctype.cc: And here.
4276 * config/solaris/solaris2.7/ctype.cc: And here.
4277 * config/solaris/solaris2.6/ctype.cc: And here.
4279 * bits/localefwd.h: Tweak.
4280 * bits/std_streambuf.h: Tweak formatting.
4282 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4284 2000-03-05 Chip Salzenberg <chip@valinux.com>
4286 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4288 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4289 Kevin Atkinson <kevinatk@home.com>
4291 Initial grab of SGI's strstream implementation with minor
4293 * src/strstream.cc: New file.
4294 * std/strstream: New file.
4295 * stl/bits/std_strstream.h: New file.
4296 * bits/std_streambuf.h: Add public access.
4297 * src/Makefile.am: Add strstream sources to list of dependancies.
4298 * src/Makefile.in: Regenerate.
4300 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4302 * bits/valarray_meta.h: Fix typo.
4304 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4305 Chip Salzenberg <chip@valinux.com>
4306 Petter Urkedal <petter@matfys.lth.se>
4308 * src/Makefile.am (myinstallheaders): Hack to avoid
4310 * src/Makefile.in: Regenerate.
4312 2000-03-02 Chip Salzenberg <chip@valinux.com>
4314 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4315 (LINK): Put quotes around "$(CC)" for libtool link mode,
4316 so libtool will use "-B" options during GCC bootstrap.
4317 * */Makefile.in: Regenerate.
4319 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
4321 * config/c_io_libio.h: Enclose it all in ::std.
4322 * bits/basic_string.h (basic_string<>): Make types and
4324 * mkc++config: Truncate output file before writing.
4326 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4328 * math/cabsf.c (__mycabsf): Rename to cabsf.
4329 * math/cabs.c (__mycabs): Rename to cabs.
4331 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4333 * bits/basic_string.h: Move declarations of __out_of_range(),
4334 __length_error() and accompanying macros ...
4335 * bits/exception_support.h: here. (Newly created file).
4336 * bits/basic_string.h: #include <bits/exception_support.h>
4337 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4338 * src/Makefile.am (headers): Add.
4339 * src/Makefile.in: Regenerate.
4341 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4343 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4345 * bits/valarray_array.h: Synch. Fix typos.
4347 * libio/Makefile.am: Change to only compile source files that
4348 config/c_io_libio.cc actually needs.
4349 * libio/Makefile.in: Regnerate.
4350 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4351 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4352 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4353 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4354 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4355 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4356 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4357 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4358 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4359 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4360 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4361 strops.c strstream.h: Delete.
4363 * bits/basic_file.h: Stub out or delete unused bits in this
4365 (filepos_beg): Remove.
4366 (filepos_cur): Remove.
4367 (filepos_valid): Remove.
4368 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4370 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4372 * bits/cpp_type_traits.h: Correct typo.
4374 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4376 * bits/cpp_type_traits.h: New file.
4378 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4379 Improve array construction.
4380 (_Array_default_ctor): New dispatcher class.
4381 (__valarray_default_construct): New function.
4382 (_Array_copy_ctor): New dispatcher class.
4383 (__valarray_copy_construct): New function.
4384 (_Array<>::free_data): Remove.
4386 * src/Makefile.am (headers): Add cpp_type_traits.h
4387 * src/Makefile.in: Regenerate.
4389 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4391 Prune libio directory to match files in libio/Makefile.
4392 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4393 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4394 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4395 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4396 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4397 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4398 stdstreams.cc: Remove.
4399 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4400 * libio/iofflush_u.c: Remove.
4402 * libio/dbz: Remove.
4403 * libio/include: Remove.
4404 * libio/stdio: Remove.
4405 * libio/tests: Remove.
4406 * libio/testsuite: Remove.
4408 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4410 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4411 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4412 * configure: Regenerate.
4414 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4416 Abstract out the underlying "C" io bits.
4417 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4418 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4419 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4421 * stl/bits/stl_config.h: Don't include _G_config.h.
4423 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4424 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4425 * config/c_io_libio.cc: Tweak.
4427 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4428 * src/Makefile.in: Regenerate.
4429 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4430 prefix/include files will be picked up.
4431 * Makefile.in: Regenerate.
4432 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4433 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4435 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4436 * bits/fpos.h: And here.
4437 * bits/basic_file.h (get_fileno): Move definition from ...
4438 * src/basic_file.cc (std): To here.
4439 * bits/fpos.h: Move types for streamoff, streampos to..
4440 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4441 * config/c_io_libio.h: ...here.
4442 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4443 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4444 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4445 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4446 abstract out bits in ios_base.
4447 * bits/ios_base.h: Re-macrofy.
4448 * src/basic_file.cc : Rename, move to
4449 * config/c_io_libio.cc: Here.
4450 * config/c_io_libio.h: New file. Include libio.
4451 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4452 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4453 * configure: Regenerate.
4454 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4455 (generated_headers): Add c++io.h
4456 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4457 underlying "C" io library.
4458 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4459 GLIBCPP_ENABLE_CSTDIO.
4461 * configure.in: Add configure bits for cross compiling non-newlib
4463 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4464 target, as we assume g++ support is not the limiting factor.
4465 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4466 * configure: Regenerate.
4468 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4470 * Makefile.am (INTERFACE): Define.
4471 * Makefile.in: Regenerate.
4472 * libio/ChangeLog: Add entry.
4474 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4476 * docs/install.html: Update install directions.
4478 * docs/status.html: Fix sidebar to be consistent.
4479 * docs/thanks.html: Same.
4480 * docs/links.html: Same.
4481 * docs/mail.html: Same.
4482 * docs/download.html: Same.
4484 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4485 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4486 however, in the ctype_char_members.cc fail (for instance.)
4487 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4488 that do not have wchar_t enabled.
4489 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4491 * testsuite/27_io/iostream_objects.cc: And here.
4493 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4496 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4497 Tom Tromey <tromey@cygnus.com>
4499 * configure.in: Manually add MULTISUBDIR.
4500 * configure: Regenerate.
4501 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4502 "Eww" hacks to get multilib installs working correctly.
4503 ($(headers): Test for MULTISUBDIR before installing.
4504 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4505 have configure hack it in.
4506 * Makefile.in: Regenerate.
4507 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4508 Add enabling bits for native Cygwin ctypes, and other newlib-based
4511 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4513 * mkc++config (OUT_H): Remove EOF in cygwin.
4514 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4516 Tom Tromey <tromey@cygnus.com>
4517 * src/Makefile.am: Tweaks for installing multilibs.
4519 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4522 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4523 Add USE_LIBDIR bits here, not...
4524 * src/Makefile.in: Regenerate.
4525 * Makefile.am: ...here.
4526 * Makefile.in: Regenerate.
4528 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4530 * acinclude.m4 (LIBS): Fix typos.
4531 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4532 _GLIBCPP_BUGGY_COMPLEX for crosses.
4533 * src/Makefile.am (std_headers): Add libio.h as install include,
4535 * src/Makefile.in: Regenerate.
4537 * mkcheck.in: Add bits to set CXX to cross compiler.
4539 * src/complex_io.cc: Tweak.
4540 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4541 * configure: Regenerate.
4543 * config/newlib/ctype.cc: Tweaks.
4544 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4546 * src/complex_io.cc (operator>>(istream, complex): Define out if
4549 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4551 * config/newlib/bits/ctype_base.h: Correct _S_table.
4553 Reconfigure ctype support for "C" libraries that don't use arrays.
4554 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4555 basic ctype<char> functionality.
4556 * src/locale.cc: Move host-specific ctype functions that are not
4557 inlines to config/*/ctype.cc files.
4558 (ctype<char>::do_tolower): For instance.
4559 (ctype<char>::do_toupper): For instance.
4560 (ctype<wchar_t>::do_tolower): For instance.
4561 (ctype<wchar_t>::do_toupper): For instance.
4562 * config/gnu-linux/ctype.cc: Modify.
4563 * config/default/ctype.cc: Modify.
4564 * config/newlib/ctype.cc: Modify.
4565 * config/solaris/solaris2.6/ctype.cc: Modify.
4566 * config/solaris/solaris2.7/ctype.cc: Modify.
4568 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4570 (ctype<char>::scan_is): Here too.
4571 (ctype<char>::scan_not): Here too.
4572 Move out of line defs to config/*/bits/ctype_specializations.h.
4573 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4574 * config/default/bits/ctype_specializations.h: ...here. New file.
4575 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4576 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4577 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4578 * src/Makefile.am (headers): Add ctype_specializations.h.
4579 * src/Makefile.in: Regenerate.
4581 Aaron Weiss <weiss@clearway.com>
4582 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4583 CONFIG_NM for Solaris builds.
4584 * Makefile.in: Regenerate.
4586 * src/locale.cc: Tweak formatting.
4588 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4590 Jim Parsons <parsons@clearway.com>
4591 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4592 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4596 Michel Decima <michel.decima@cnet.francetelecom.fr>
4597 * testsuite/27_io/streambuf.cc: Add test.
4598 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4601 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4602 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4603 will work correctly, for instance.
4604 * src/Makefile.in: Regenerate.
4606 * bits/locale_facets.h: Fix merge error.
4607 (num_put::put(unsigned long long): And here.
4608 * mknumeric_limits (trait_name): Same.
4610 2000-02-15 Chip Salzenberg <chip@valinux.com>
4612 Support 'configure --enable-long-long'.
4613 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4614 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4615 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4616 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4617 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4619 * aclocal.m4: Regenerate.
4620 * config.h.in: Regenerate.
4621 * configure: Regenerate.
4623 2000-02-15 Chip Salzenberg <chip@valinux.com>
4625 Improve (complete?) 'long long' support.
4626 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4627 for {,unsigned} long long if the limits header declares them.
4628 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4629 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4630 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4631 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4632 (num_put<>::put(..., long long)): Likewise.
4633 (num_put<>::put(..., unsigned long long)): Likewise.
4634 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4635 Templatize last parameter to support 'long long'.
4636 (num_put<>::put(...)): Call _S_format with new name.
4637 (num_put<>::put(..., long long)): Define.
4638 (num_put<>::put(..., unsigned long long)): Likewise.
4639 * src/locale-inst.cc (_S_format): Instantiate under new name.
4641 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4643 * src/complex.cc (operator<<, operator>>): Moved from here...
4644 * src/complex_io.cc: ...to new file.
4645 (operator>>): Stub replaced by the real thing.
4646 * src/Makefile.am (sources): Inserted complex_io.cc.
4647 * src/Makefile.in: Regenerate.
4648 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4650 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4652 Add in ctype information for newlib "C" libraries.
4653 * config/newlib: New directory
4654 * config/newlib/bits/ctype_base.h: New file.
4655 * config/newlib/ctype.cc: New file.
4657 * ctype/config/linux/*: Rename, move to...
4658 * ctype/config/gnu-linux/*: Here.
4660 Finish off multilib work.
4661 * configure.in: Don't set CXX if not Canadian cross.
4662 * configure: Regenerate.
4663 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4664 * aclocal.m4: Regenerate.
4665 * config.h.in: Regenerate.
4667 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4668 the top-level gcc directory now.
4669 * mkinstalldirs: Remove.
4672 * ltmain.sh: Remove.
4673 * config.guess: Remove.
4674 * config.sub: Remove.
4676 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4678 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4679 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4680 * Makefile.in: Regenerate.
4681 * src/Makefile.am: Add multilib bits.
4682 * src/Makefile.in: Regenerate.
4684 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4686 * configure.in: Clean, add some multilib support.
4687 * configure: Regenerate.
4688 * configure.host: New file.
4690 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4691 roll a new function, checks for presence of libio.
4692 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4693 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4694 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4695 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4696 GLIBCPP_CHECK_LIBIO: Same.
4697 GLIBCPP_CHECK_CTYPE: Same.
4698 * aclocal.m4: Regenerate.
4699 * config.h.in: Regenerate.
4701 * Makefile.am: Tweaks.
4702 * Makefile.in: Regenerate.
4704 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4706 * configure.in: Make outputing the libio/Makefile
4707 conditional. Haha, yeah right. Anyway, we instead do this thing
4708 where if libio is found, then we build a null library, as there is
4709 no point in duplicating the found libio.
4710 * Makefile.am: Tweak.
4711 * Makefile: Regenerate.
4712 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4713 are happy happy happy.
4714 * libio/Makefile.am: Regenerate.
4715 * libio/gen-params: New file.
4716 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4717 null library if it's not needed. At least we are being consistent,
4718 if not as elegant as we could be.
4719 * src/Makefile: Regenerate.
4721 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4723 * Makefile.am (SUBDIRS): Add libio again.
4724 * Makefile.in: Regenerate.
4725 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4726 (AC_OUTPUT): Generate libio/Makefile again.
4727 * configure: Regnerate.
4728 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4729 libio.la is referring back to the libio subdir again.
4730 (LIBIO_INCLUDES): And here.
4731 * src/Makefile.in: Regenerate.
4733 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4735 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4737 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4739 * bits/valarray_array.h (<bits/std_new.h>): #include.
4740 (__valarray_get_memory): New function.
4741 (__valarray_release_memory): Likewise.
4742 (__valarray_default_construct): New functions.
4743 (__valarray_fill_construct): New function.
4744 (__valarray_copy_construct): New funstions.
4745 (__valarray_destroy_elements): New function.
4747 * bits/valarray_array.tcc (__valarray_copy_construct): New
4750 * bits/std_valarray.h (valarray<>::valarray): Use
4751 __valarray_get_memory and __valarray_fill_construct,
4752 __valarray_copy_construct, __valarray_default_construct to
4753 properly construct valarrays.
4754 (valarray<>::~valarray): Use __valarray_destroy_elements to
4755 destroy elements and __valarray_release_memory to return memory.
4756 (valarray<>::shift): Tweak.
4757 (valarray<>::cshift): Likewise.
4758 (valarray<>::resize): Robustify.
4760 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4762 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4763 * bits/limits_generic.h: New file, defaults.
4764 * src/limits_generic.cc: New file, defaults.
4765 * configure.in (LIBS): Run mknumeric_limits at configure time.
4766 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4767 HAVE_LC_MESSAGES, tidy, clean, etc.
4768 * src/Makefile.am (geberated_sources): Remove.
4770 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4771 (_IO_off_t, _IO_ssize_t)
4773 * src/complex.cc: Use glibc's <complex.h> if
4774 possible. . . apparently this was not being done before. Include
4776 (abs): Enable cabs if it's around, instead of mycabs.
4777 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4778 * src/complexl.cc (FCT): Same.
4779 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4780 (libmath_la_SOURCES): And here.
4781 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4782 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4783 * math/complex-stub.h: Move c_log declarations into. . .
4784 * math/mathconf.h: Here. This is because glibc's <complex.h>
4785 declares cclog, not c_log. The case of the dueling standards. . .
4786 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4787 * math/Makefile.am: Change.
4788 * math/nan.c (nan): Change signature.
4789 * math/mathconf.h (NAN): Same.
4790 * math/complex-stub.h (nan): And here.
4792 * Makefile.am (rebuild-stamp): Remove libio and libio
4793 dependancies. Plan to take out libio subdir and just merge with
4794 libio in top level gcc directory. Of course, this assumes there is
4795 a libio in the top level directory (ie ../src_dir). This will
4796 probably change the way this library is configured by default.
4799 2000-02-09 Chip Salzenberg <chip@valinux.com>
4801 * localefwd.h (locale): Make public: facet, id, category.
4803 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4805 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4807 * acinclude.m4: Patch only once!
4809 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4811 * testsuite/26_numerics/buggy_complex.cc: New file.
4813 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4815 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4816 on the 1999-11-21 entries by Mumit Khan.
4817 * configure.in: Use.
4818 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4819 * bits/std_complex.h: Use.
4821 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4823 * stl/bits/stl_algobase.h: Add traits based dispatch for
4824 __normal_iterator in the copy_backward()algorithm
4825 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4828 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4830 * src/gen-num-limits.cc (signal_handler): Work around signal
4831 handling problem on Cygwin.
4832 Thanks to Chris Faylor <cgf@cygnus.com>.
4834 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4836 * configure.in: Add (preliminary) support for cross compiles and
4838 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4839 compilation freaks on this.
4840 * configure: Regenerate.
4841 * src/Makefile.am: Add support for cross compiles.
4842 * src/Makefile: Regenerate.
4843 * Makefile.am: Add support for cross compiles.
4844 * Makefile.in: Regenerate.
4846 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4848 * configure.in (LIBS): Remove unused subdirs.
4849 * configure: Regenerate.
4850 * Makefile.am (SUBDIRS): And here.
4851 * Makefile.in: Regenerate.
4852 * src/Makefile.am (sources): And here.
4853 * src/Makefile.in: Regenerate.
4856 * generic/*: Remove.
4858 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4860 * libtool: Update to libtool-1.3.4.
4864 * config.guess: Same.
4866 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4867 Alexandre Petit-Bianco <apbianco@cygnus.com>
4869 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4870 namespace instead of polluting global namespace with duplicate
4872 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4874 (AC_OUTPUT_COMMANDS): Make it here.
4875 * configure: Regenerate.
4876 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4877 endif, as now we will add it manually.
4878 Move to this file. . .
4879 * bits/c++config.h: New file. Same as old c++config.h.in except
4880 the ending macro guard is now appended manually.
4882 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4883 * bits/std_cmath.h: Same here.
4884 * bits/std_cwchar.h: And here.
4885 * src/locale.cc: And here.
4886 * src/complexl.cc: And here.
4887 * math/mathconf.h: Change to include "config.h" instead of
4890 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4892 * configure.in: Add support for threads. Try a model closer to
4893 libjava, as hopefully if the thread bits are added carefully
4894 enough, the source code will not have gross hacks. Besides, the
4895 libstdc++-v2 model could be easily emulated without the necessity
4896 of linking files in (as currently done)--all that needs to be done
4897 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4898 new. . . and see if we arrive at a more elegant solution.
4899 * configure: Regenerated.
4900 * config/threads-no.h: New file.
4901 * config/threads-posix.h: New file.
4902 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4903 * src/Makefile.in: Regenerated.
4905 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4907 META-QUESTION: Can we just make a "header.html" file and a
4908 "footer.html" and just include them in all the doc sub-pages. The
4909 duplication of the header info is kind of gross, and weak
4910 considering that if you change order or layout then all this stuff
4911 has to be changed in all the sub-files.
4913 * docs/17_intro/contribute.html: Take out duplicate file info.
4914 * README: Should just contain a link to the docs/index.html
4915 page. Duplicate information removed.
4916 * docs/faq/index.html: Remove indexes into HOWTOS.
4917 * docs/17_intro/howto.html: Make intro and docs part more
4918 centralized. Move intro stuff to documentation.html.
4919 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4920 * docs/README.html: Move documentation files to
4921 documentation.html. Should this file be renamed
4922 "config_and_install.html" as that is what is apparently covered
4924 * docs/install.html: Yes. New file, moved and renamed README.html.
4925 * docs/documentation.html: New file. This is the index file for
4927 * docs/index.html: Edit sidebar order. Insert new link to new
4928 documentation spine, documentation.html.
4930 2000-01-31 Scott Snyder <snyder@fnal.gov>
4932 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4933 we don't extract any characters.
4934 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4936 2000-01-31 Anders Widell <awl@hem.passagen.se>
4938 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4939 step is a multiple of the word size.
4940 (_M_do_right_shift): Same.
4941 * testsuite/23_containers/bitset_shift.cc: New file.
4943 2000-01-31 Nathan Myers <ncm@zembu.com>
4945 * README (Documentation): Add path info, fix typos.
4947 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4949 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4950 crazy group checking for numpunct, for real this time. At some
4951 point, the local variable __grp should probably get replaced a
4952 char array, or something a bit more lightweight.
4953 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4954 parsed value unless err isn't failbit.
4955 (num_get::do_get(*)): Same, make consistent.
4957 Nathan Myers <ncm@zembu.com>
4958 Jim Parsons <parsons@clearway.com>
4959 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4960 more grouping tests, tweak, scold, wine.
4962 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4964 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4966 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4967 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4970 via <llewelly@198.dsl.xmission.com>
4971 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4972 out_of_range instead of range_error.
4974 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4976 * bits/std_iomanip.h (setw): Fix typo.
4978 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4980 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4981 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4982 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4984 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4986 * docs/README.html: Reformat, more installation instructions.
4987 * docs/gccrebuild.html: New file.
4988 * docs/faq/index.html: Update for new testsuite output filenames.
4989 * docs/faq/index.txt: Regenerate.
4991 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4993 * Makefile.am (rebuild-stamp, all-local): New targets.
4994 * Makefile.in: Regenerated.
4995 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4996 * aclocal.m4: Regenerated.
4997 * configure.in: Call new macro. Also do some sanity checks
4998 for combinations of --enable's that may not make sense.
4999 * configure: Regenerated.
5001 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
5003 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
5004 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
5005 correctly for hex-formatted input.
5007 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
5008 eofbit instead of eofbit | failbit.
5009 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
5010 ifstreams now are opened or'd with ios_base::in (as is correct).
5011 * bits/fstream.tcc (filebuf::seekoff): Simplify.
5012 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
5014 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
5016 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
5017 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
5019 (__basic_file::filepos_valid): Same.
5020 (__basic_file::filepos_beg): Same.
5021 (__baseic_file::get_fileno): New function.
5022 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
5023 feedback from LWG 49.
5024 * src/ios.cc: Move definition here.
5025 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
5027 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
5028 output part of internal buffer based on string size, so that
5029 _M_out_end is set consistently with filebufs. Correct comments.
5030 * bits/sstream.tcc (stringbuf::overflow): Update here too.
5031 * testsuite/27_io/stringbuf.cc: Changes.
5033 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
5035 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
5037 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
5039 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
5040 (ofstream::open): Add ios_base::out to openmode.
5042 * bits/locale_facets.tcc (_M_extract): Have consistency between
5043 istream::sentry and extractors, where failbit | eofbit is
5044 set. Don't change this, but instead change. . (do some formatting
5046 * bits/istream.tcc (istream::sentry): Only set eofbit.
5048 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
5050 * testsuite/27_io/istringstream_members.cc: New file.
5052 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
5054 * bits/istream.tcc (istream::sentry): Flush.
5056 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
5057 * configure: Regenerate.
5058 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
5059 that make clean will not delete it.
5060 * src/Makefile: Regenerate.
5062 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
5064 * mkcheck.in: Use host-specific invocation of size(1);
5065 GNU binutils isn't necessarily there (more's the pity).
5067 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
5069 * configure.in (LIBS): Better tests for solaris2.6.
5070 * configure: Regenerate.
5072 <vakatov@ncbi.nlm.nih.gov>
5073 * bits/std_sstream.h: As per libstdc++20.
5075 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
5077 Break out configuration on solaris.
5078 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
5079 * config/solaris/ctype.cc: Delete and move to proper version.
5080 * config/solaris/bits: Same.
5081 * config/solaris/solaris2.5: Add this directory, with subdir bits
5082 and file ctype.cc. Probably doesn't work.
5083 * config/solaris/solaris2.6: Same.
5084 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
5086 * Makefile.am: Change paths to mkcheck.
5087 * Makefile: Regenerate.
5088 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
5089 * configure: Regenerate.
5090 * src/Makefile.am (generated_headers): Add bits/c++config.h.
5092 * mkcheck: Now autogenerated by configure and renamed. . .
5093 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
5094 Have longer-style dates.
5095 Raja R Harinath <harinath@cs.umn.edu>
5096 * mkcheck: Change path to #!/usr/clocal/bin/bash.
5098 * docs/README.html: Correct links, maybe. FAQ, install notes, and
5099 general documentation need to be organized around each other, not
5100 fight against each other. . .
5102 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
5103 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5105 * README: Add a note referring to README.html.
5106 * docs/README.html: New file from Nicolai.
5107 * docs/faq/index.html: Move "how to get a copy" to here.
5108 * docs/gentop/footchunk.html: Update.
5109 * docs/gentop/headchunk.html: New links according to
5110 bkoz's idea for "How to..." stuff.
5111 * docs/gentop/thanks: Actually put people here.
5112 * docs/download.html: Regenerated.
5113 * docs/index.html, docs/links.html, docs/mail.html,
5114 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
5115 * docs/how.html: Ditto. (This file should go away soon.)
5117 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5119 * docs/gentop/status: Add snapshot version column, update
5121 * docs/status.html: Regenerated.
5123 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5125 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
5126 from installation FAQ, and specify location of text files.
5127 * docs/faq/index.txt: Regenerated.
5129 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
5131 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
5132 * docs/download.html: Regenerated.
5134 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
5136 * docs/faq/index.html: Update 'what works' for .7 snapshot,
5137 clean up various links.
5138 * docs/faq/index.txt: Regenerated.
5139 * docs/gentop/gentop: Smarter regeneration script.
5140 * docs/gentop/{head,foot}chunk.html: Updated with new
5141 contributors link and mod date.
5142 * docs/gentop/index: Snapshot relase date.
5143 * docs/gentop/thanks: New contributors page added.
5144 * docs/{download,how,index,links,mail,status,thanks}.html:
5145 Regenerated from gentop; thanks.html created.
5147 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5149 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5150 * docs/index.html: Add correct information.
5152 * config/irix: New directory.
5153 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5154 * config/irix/bits/ctype_base.h: And here.
5156 * config/aix: New directory.
5157 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5158 * config/aix/bits/ctype_base.h: And here.
5160 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5162 * bits/basic_string.h: Add special case handling for integral
5164 * bits/std_string.h: include type_traits.h
5165 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5167 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5169 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5171 * bits/std_fstream.h (sync): And here.
5172 * testsuite/27_io/filebuf.cc: Revisions.
5173 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5174 at the end of the file.
5175 * testsuite/27_io/filebuf-3.tst: Correct.
5177 1999-12-21 Phil Edwards <pedwards@jaj.com>
5179 * docs/gentop/index: Hold off on .7 announcement date.
5180 * docs/index.html: Regenerate.
5182 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5184 * bits/std_fstream.h (sync): Move _M_file->sync() to
5185 _M_really_overflow().
5186 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5187 as to get the _M_file->sync action, which forces the external
5188 buffer to update itself.
5189 (underflow): Same here.
5191 1999-12-21 Phil Edwards <pedwards@jaj.com>
5193 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5194 * acconfig.h: ...to here.
5195 * config.h.in: Regenerate from aclocal.
5196 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5197 * aclocal.m4: Regenerate from acinclude.
5198 * configure.in: Use ENABLE macros here.
5199 * configure: Regenerate.
5200 * src/Makefile.am: Use results from ENABLE macros.
5201 * src/Makefile.in: Regenerate.
5203 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5205 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5206 check" and not "make check-install." Temporarily hack in linux
5209 * bits/std_streambuf.h: Tweaks.
5210 * bits/streambuf.tcc (xsgetn): Tweaks.
5211 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5212 * bits/fstream.tcc (filebuf::underflow): Simplify.
5213 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5214 checks for read position precisely implement the standard.
5215 * bits/basic_file.h (filepos_cur): Base this on _offset.
5216 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5217 * testsuite/27_io/filebuf.cc: Tweak.
5219 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5221 * docs/17_intro/RELEASE-NOTES: Fix typos.
5223 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5224 out platform-specific bits.
5225 * config/default/ctype.cc: And here.
5226 * config/defaults/bits/ctype_base.h: And here.
5227 * config/linux/ctype.cc: And here.
5228 * config/linux/bits/ctype_base.h (ctype_base): And here.
5229 * config/solaris/bits/ctype_base.h (ctype_base): Add
5230 __to_type. Comment, as it looks like this is for solaris2.6 and
5231 above: solaris2.5.1 doesn't seem to have the same definitions.
5232 * config/solaris/ctype.cc: And here.
5234 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5235 Ulrich Drepper <drepper@cygnus.com>
5237 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5239 * src/locale.cc: Take out platform-specific hacks.
5240 * config/linux/ctype.cc: Put here.
5241 * config/solaris/ctype.cc: Put here.
5242 * config/default/ctype.cc: Put here.
5244 * bits/locale_facets.h: Take out platform-specific hacks.
5245 * config/linux/bits/ctype_base.h: Put here.
5246 * config/solaris/bits/ctype_base.h: Put here.
5247 * config/default/bits/ctype_base.h: Put here.
5249 * configure.in: Bump version.
5250 Add tests for top-level config directory.
5251 * configure: Regenerated.
5252 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5253 * src/Makefile: Regenerate.
5255 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5256 Ulrich Drepper <drepper@cygnus.com>
5258 * bits/locale_facets.h: Hack in solaris support.
5259 * src/locale.cc: Here too.
5261 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5263 * docs/17_intro/TODO: Update
5264 * docs/17_intro/RELEASE-NOTES (New): Update.
5266 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5268 * bits/c++config.h.in (__GLIBCPP__): Bump.
5269 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5270 * docs/17_intro/TODO: Update.
5272 * bits/locale_facets.h: Touch this too.
5273 * bits/localefwd.h: Add typedefs for loooooong vector names.
5274 * bits/locale_facets.tcc (locale::operator()): Need parens.
5275 (has_facet): Simplify.
5276 * src/locale-inst.cc: Add instantiations.
5277 * src/locale.cc: Tweaks.
5279 * bits/std_streambuf.h: Move indeterminates into. .
5280 * bits/std_fstream.h: Here.
5281 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5283 * bits/sstream.tcc: Very minor formatting tweaks.
5284 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5285 input buffer, set _M_buf to offset.
5286 * bits/istream.tcc (std): Tweaks.
5287 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5289 * testsuite/27_io/filebuf.cc: Tweaks.
5291 1999-12-17 Phil Edwards <pedwards@jaj.com>
5293 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5294 * configure: Regenerate.
5295 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5296 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5297 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5299 1999-12-17 Phil Edwards <pedwards@jaj.com>
5301 * docs/21_strings/stringtok_std_h.txt: New algorithm
5302 suggested by Chris King.
5303 * docs/21_strings/howto.html: Link to new version.
5305 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5307 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5309 * docs/17_intro/TODO: Update.
5311 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5313 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5314 * docs/gentop/gentop: Ditto.
5315 * docs/gentop/headchunk.html: Ditto.
5316 * docs/*.html: Regenerated from gentop.
5317 * docs/*/howto.html: Updated as test.
5318 * docs/faq/index.html: Updated, fixed CRLFs.
5319 * docs/faq/index.txt: Regenerated.
5321 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5323 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5325 * bits/std_complex.h
5326 (complex<float>::complex(const complex<double>&),
5327 complex<float>::complex(const complex<long double>&)): Define.
5329 * docs/17_intro/TODO: Update.
5331 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5333 * bits/istream.tcc (seekg): Don't set _M_gcount.
5335 * bits/fstream.tcc (filebuf::underflow): Re-sync
5336 external byte sequence's input buffer only. . .
5337 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5338 tellg, seekg and filebufs.
5339 (test05): Same for stringbufs.
5340 * testsuite/27_io/istream_unformatted-2.tst: New file.
5341 * testsuite/27_io/istream_unformatted-1.tst: New file.
5342 * testsuite/27_io/istream_unformatted-1.txt: New file.
5343 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5346 1999-12-13 Phil Edwards <pedwards@jaj.com>
5348 * docs/gentop/*: New directory, containing bits for the homepages.
5349 * docs/*.html: Regenerated from gentop.
5350 * docs/*/*.html: Entries added and regenerated.
5352 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5354 Efforts to get -O2 to work with -Winline -Werrors.
5355 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5356 _Tp&): Remove inline declaration, as cannot be inlined and
5357 -Winline -Werror complains. An interesting question is why this
5358 cannot be inlined, as I can see no real reason to disqualify it.
5359 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5360 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5362 * docs/17_intro/TODO: Update.
5364 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5366 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5368 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5369 the resultant position.
5370 * bits/fstream.tcc (seekoff): Explicitly set return value to
5371 resultant external byte sequence position, not value returned from
5372 _M_file->seekoff. Need to make
5373 (seekpos): New definition.
5375 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5376 just istream. Necessary, or else tellg will give an invalid stream
5377 position, but seekg will return a valid stream position, which is
5378 not groovy: see testcase addition.
5379 * bits/ostream.tcc (seekp): Same.
5381 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5382 * bits/sstream.tcc: Tweaks.
5383 * bits/locale_facets.tcc: Tweaks.
5384 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5385 Re-write in a way that is easier for the inliner to work with.
5386 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5388 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5390 * bits/locale_facets.tcc: Tweaks.
5391 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5393 * bits/localefwd.h: And here.
5394 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5395 * bits/ostream.tcc: Put here.
5397 Frank Ch. Eigler <fche@cygnus.com>
5398 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5400 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5402 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5403 in and out buffers update independantly.
5405 * bits/basic_ios.h: Minor formatting.
5406 * bits/fstream.tcc (std): Fix indentation.
5408 1999-12-08 Chip Salzenberg <chip@valinux.com>
5410 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5411 after corresponding eof() functions, so they're easier for the
5413 * bits/locale_facets.h (money_base::__default_pattern): Move
5414 static variable out of inline functions.
5415 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5416 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5418 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5420 * bits/std_fstream.h (filebuf::open): Tweak.
5421 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5422 * bits/std_ios.h: Minor tweaks for headers.
5424 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5426 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5427 * src/string-inst.cc: Add guards . . .
5428 * src/misc-inst.cc: And here.
5429 * bits/std_sstream.h: And here.
5430 * bits/std_fstream.h: And here.
5431 * bits/std_streambuf.h: And here.
5432 * bits/std_istream.h: And here.
5433 * bits/std_ostream.h: And here.
5435 1999-12-06 Scott Snyder <snyder@fnal.gov>
5437 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5439 (basic_istream::readsome): And here as well.
5440 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5443 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5445 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5446 necessarily an `int'.
5448 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5450 * mknumeric_limits: Don't use $CXXFLAGS when building
5451 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5452 generally instructs the compiler not to emit template
5453 instantiations and we end up with undefined symbols. Sigh.
5455 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5457 * bits/locale_facets.tcc: Tweak.
5458 (_S_format_long): Adjust showpos formatting for hex and oct.
5459 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5460 and oct by formatting as unsigned.
5461 (operator<<(int)): Same here.
5462 * bits/ostream.tcc (operator<<(long)): Same.
5463 (operator<<(long long)): Same.
5464 (_S_pad_char): Actually treat ios_base::internal as something
5465 worth doing correctly. Remove const designation on ios argument.
5466 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5467 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5469 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5471 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5473 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5475 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5477 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5478 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5479 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5480 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5481 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5483 (ostream::operator<<(_CharT)): Fix.
5485 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5486 see if this will increase compile speed.
5487 * bits/std_ostream.h: Likewise. . .
5488 * bits/std_istream.h: And here.
5489 * bits/std_fstream.h: And here.
5490 * src/misc-inst.cc: Add relevant header file includes for
5491 instantiation purposes.
5492 * src/string-inst.cc: And here.
5493 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5495 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5497 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5498 * bits/istream.tcc (get(streambuf)): More fixes.
5499 (istream::ignore): Get specific about numeric_limits<int>::max()
5502 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5503 (filebuf::close): Same.
5504 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5506 1999-12-01 Phil Edwards <pedwards@jaj.com>
5508 * mkcheck: Support for compilation/execution timing.
5509 * testsuite/printnow.c: New file.
5511 1999-12-01 Phil Edwards <pedwards@jaj.com>
5513 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5514 * configure.in: Test for presence of wchar.h before testing
5515 for any of its features.
5516 * configure: Regenerate.
5518 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5520 Preliminary istream validations complete.
5521 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5522 formatting more consistent. Removal of if-statements inside of for
5527 * bits/std_istream.h: Same.
5528 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5529 * testsuite/27_io/stringbuf.cc: Tweak.
5530 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5532 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5533 failbit on failure, as per 27.6.2.5.2.
5535 * stl/bits/std_vector.h: Allow bool specializations. Should move
5536 ext/std_bvector to bits, not ext, maybe.
5538 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5540 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5541 * configure: Regenerate.
5543 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5545 * bits/istream.tcc (get(streambuf, char)): Fix.
5546 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5548 1999-11-29 Scott Snyder <snyder@fnal.gov>
5550 * bits/basic_string.h (append(const _Char*, size_type)): The
5551 length of the appended string is given exactly by the second arg,
5552 regardless of the data in the character array.
5553 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5554 _Alloc&)): Likewise.
5555 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5556 of basic_string::append.
5558 1999-11-29 Chip Salzenberg <chip@valinux.com>
5560 * Makefile.in: Tweaks for CXXFLAGS.
5561 * */Makefile.in: Same.
5563 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5565 * conficd bgure.in: Check for wide character support.
5566 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5567 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5568 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5570 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5572 * acinclude.m4: Fix typo.
5573 * src/complex.cc: Fix macro line continuation.
5575 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5577 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5578 string literals in format, as used in locale-facets.tcc.
5580 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5582 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5583 * bits/istream.tcc (istream::get): Extract to argument minus one.
5584 Various tweaks and fixes.
5586 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5588 * bits/locale_facets.tcc: Workaround for compiler crash on
5591 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5593 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5594 * configure.in: Use.
5595 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5596 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5597 * bits/std_complex.h: Use.
5598 * src/complex.cc: Use.
5600 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5602 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5603 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5604 * testsuite/22_locale/ctype.cc: Likewise.
5605 * testsuite/23_containers/multiset.cc: Likewise.
5606 * testsuite/23_containers/vector_ctor.cc: Likewise.
5607 * testsuite/26_numerics/binary_closure.cc: Likewise.
5608 * testsuite/27_io/fpos.cc: Likewise.
5609 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5610 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5611 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5612 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5613 * testsuite/27_io/istream_sentry.cc: Likewise.
5614 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5615 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5616 * testsuite/27_io/streambuf.cc: Likewise.
5617 * testsuite/27_io/stringstream.cc: Likewise.
5619 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5621 * bits/valarray_meta.h: Don't forget to define tanh
5623 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5625 * src/stl-inst.cc: Use typedef to refer to iterator
5626 * stl/bits/stl_algobase.h: Add traits based dispatch for
5627 __normal_iterator in the copy()algorithm
5628 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5630 1999-11-18 Kevin Ediger <kediger@licor.com>
5632 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5633 constructors for locale::_Impl exception safe.
5635 1999-11-18 Scott Snyder <snyder@fnal.gov>
5637 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5638 _Sequence template argument of priority_queue<> as vector<>, not
5641 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5643 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5645 * bits/sstream.tcc: Adjust here too.
5647 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5649 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5650 * bits/istream.tcc (operator>>): Replace iostate(0) with
5651 iostate(ios_base::goodbit), which is the same thing, but hopefully
5653 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5654 libraries issue list 17.
5655 (do_gets): Don't set goodbit explicitly, instead only set on
5656 failures as good bit is the default setting.
5657 * bits/ios_base.h (setf): Set correctly.
5658 * bits/fstream.tcc: Tweak.
5659 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5660 in|out bufs that are empty. . .
5661 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5663 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5665 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5666 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5667 Add comments "all about _M_buf."
5668 (setg): Set _M_mode.
5670 1999-11-16 Kevin Ediger <kediger@licor.com>
5672 * bits/locale_facets.tcc (_S_build_float_format): New function.
5673 (_S_output_float): New function.
5674 (num_put::do_put(double)): Use 'em.
5675 (num_put::do_put(long double)): Use 'em.
5676 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5678 1999-11-15 Scott Snyder <snyder@fnal.gov>
5680 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5681 match how libio is calling us.
5682 * src/basic_file.cc (sys_seek): Likewise.
5683 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5685 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5687 * docs/17_intro/contribute.html: Add link to assignment form.
5688 * docs/17_intro/libstdc++-assign.txt: New file.
5690 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5693 * bits/std_streambuf.h (_M_buf_bump): New function.
5694 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5695 (xsputn): Here. Also add checks for output valid.
5696 (xsgetn): Add checks for input valid.
5698 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5699 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5700 Set _M_out_end to variable-length-end.
5701 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5704 * bits/fstream.tcc (std): Tweak formatting.
5705 (filebuf::overflow): Simplify.
5706 (filebuf::showmanyc): Same.
5707 (filebuf::underflow): Same.
5708 * testsuite/27_io/filebuf.cc: Fix.
5709 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5710 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5711 * testsuite/27_io/stringbuf.cc: Tweak.
5712 * testsuite/27_io/streambuf.cc: Tweak.
5713 * testsuite/27_io/istream_extractor_other.cc: Fix.
5715 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5717 * stl_deque.h: Use static_casts<size_type>(signed_type).
5719 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5721 Cleanups for callbacks, more regression hunting. Remaining
5722 failures (1) due to last unresolved stringstream issues, not
5724 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5725 killing 27_io/filebuf.cc tests. . . need another solution.
5727 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5728 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5730 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5731 foils all attempts at a graceful, minimal implementation.
5732 * bits/basic_ios.tcc: Tweaks.
5733 * bits/istream.tcc: Fix.
5734 * bits/ostream.tcc: Fix.
5735 * bits/std_istream.h: Fix.
5736 * bits/std_ostream.h: Fix.
5737 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5739 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5740 (_S_pad_numeric): Make comprehensible.
5742 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5744 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5745 (_S_ostream_fcache): New function.
5746 Move functions out-of-line.
5747 * bits/ostream.tcc: Put here.
5749 * bits/std_istream.h: Add callbacks for _M_fnumget.
5750 (_S_istream_fcache): New function.
5751 Move functions out-of-line.
5752 * bits/istream.tcc: Put here.
5754 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5755 _M_call_callbacks(), as ios_base::imbue does this already.
5756 * src/ios.cc (register_callback): Clean.
5757 (_M_call_callbacks): Same.
5758 * bits/ios_base.h: Callback work.
5759 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5761 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5762 Matthias Klose <doko@cs.tu-berlin.de>
5764 * stl/ext/stl_rope.h: Fix initialization order.
5766 1999-11-09 Scott Snyder <snyder@fnal.gov>
5768 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5769 _M_file->sync() so that redirection works correctly.
5771 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5773 * bits/istream.tcc: Re-order.
5774 * bits/std_istream.h: Fix getline problems.
5775 * testsuite/27_io/istream_unformatted.cc: New tests.
5777 Clean up regressions.
5778 * bits/std_sstream.h: Set initial stringbufs correctly.
5780 1999-11-09 Scott Snyder <snyder@fnal.gov>
5782 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5784 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5787 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5789 * src/Makefile.am (CXXFLAGS): Add -Winline.
5790 * src/Makefile.in: Regenerate.
5792 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5794 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5795 building meta-expressions don't forget to take the contained
5798 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5800 * configure: Regenerate.
5802 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5804 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5806 * bits/valarray_meta.h (min): Likewise.
5807 * bits/valarray_meta.h (max): Likewise.
5809 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5811 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5812 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5813 * bits/streambuf.tcc: Define.
5814 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5815 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5816 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5817 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5819 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5820 reported by Richard Atterer.
5821 * bits/char_traits.h: For consistency's sake, here too.
5823 * configure.in: Bump version to 2.90.7.
5825 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5827 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5828 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5829 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5831 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5832 writing into buffer.
5835 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5837 * bits/valarray_array.h (__valarray_sum): New function.
5838 * bits/valarray_array.h (__valarray_product): Same.
5840 * bits/std_valarray.h (valarray<T>::product): Comment out.
5841 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5842 instead of accumulate.
5844 * src/valarray-inst.cc: Remove explicit intantiation of
5845 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5846 * src/valarray-inst.cc (__valarray_product): Instantiate
5848 * src/valarray-inst.cc (__valarray_product(const
5849 valarray<size_t>&)): New function.
5850 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5851 valarray<size_t>::product. Use __valarray_product instead.
5854 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5856 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5857 (_S_pad_char): New function. Not done: ios_base::internal.
5858 * bits/ostream.tcc: Clean for above.
5859 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5860 specialization that was commented out, as ostreams now have to
5861 correctly deal with padding.
5862 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5864 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5865 from mailing list. This is a bug, and should be fixed.
5866 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5868 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5870 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5871 to avoid conflict with gcc name mangling.
5872 * stl/bits/stl_algo.h (__transform): Same.
5874 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5876 * bits/ios_base.h: Change argument names.
5877 * docs/17_intro/BADNAMES: Add __opr.
5879 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5881 Work on compilation slowdowns from 10-5 to 10-12, which are
5882 related to the _Callback_list inlining/merge-ifcation, which is
5883 still a pending issue, but this stuff is necessary cleanup anyway.
5885 * src/ios.cc: Re-arrange.
5886 * bits/ios_base.h: Tweak.
5887 * bits/basic_ios.tcc: Move out of line definitions here, move
5888 small out-of-line definitions inline.
5889 * bits/basic_ios.h: From here.
5891 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5892 * bits/std_streambuf.h: From here.
5894 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5896 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5897 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5898 * bits/istream.tcc (operator>>(istream&, string&): Remove
5899 vestigial issspace hacks and use ctype::is instead.
5900 (getline): Remove unnecessary loops, fortify and pasteurize.
5903 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5905 * bits/istream.tcc (operator>>): Tweak.
5906 * bits/std_istream.h: Fix according to library issues list 68.
5909 * bits/locale_facets.h: Fix table_size to be non-zero.
5911 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5913 * src/basic_file.cc: ifdef instead of comment for binary mode
5915 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5917 * bits/std_sstream.h: Stringbuf initialization based on actual,
5918 not allocated, size.
5919 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5922 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5924 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5925 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5927 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5929 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5931 * bits/std_istream.h: Tweaks.
5932 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5933 as per issues list addition--set failbit, eof on empty buffers.
5934 * testsuite/27_io/istream_sentry.cc: New file.
5936 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5938 * bits/std_cstdio.h: Remove Solaris hacks.
5940 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5942 * docs/index.html: Fix minor typos and tweaks.
5943 * docs/17_intro/contribute.html: Ditto.
5944 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5945 thread safety and binary I/O, links to external sites.
5946 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5949 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5951 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5952 ::fabs(double) rather than ::abs(int).
5954 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5956 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5957 *gptr(), not the result of underflow.
5958 (pbackfail): Conform to default behavior.
5960 * bits/streambuf.tcc: Add out-of-line streambuf members.
5963 * testsuite/27_io/streambuf.cc: New file.
5964 * testsuite/27_io/filebuf.cc: Correct test.
5966 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5968 * bits/std_cmath.h: Correctly cast int to double.
5969 * testsuite/26_numerics/c_math.cc: Add test.
5971 * mknumeric_limits (OUT_C): Tweaks.
5972 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5973 trying to instantiate type_traits<wchar_t>.
5974 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5975 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5976 * configure: Regenerate.
5978 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5980 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5981 (streambuf::xsputn): Put in break.
5982 Aiming for parity between these two (mostly) similar functions.
5983 Need to re-write tests.
5985 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5986 Make data members protected, not private.
5987 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5988 ios_base.h. As called only once, collapse into . . .
5989 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5990 (basic_ios::clear): Throw ios_base::failure on occasion.
5991 (basic_ios::exceptions): Fix.
5992 * testsuite/27_io/ios_members.cc (test02): Add tests.
5994 * bits/fpos.h: Default initialize.
5995 * testsuite/27_io/fpos.cc (test03): Add test.
5997 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5999 * src/basic_file.cc: Fix open modes.
6001 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6003 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
6005 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
6007 * bits/streambuf.tcc: Yea. Fix this for real.
6008 * testsuite/27_io/ostream_inserter_other.cc: Add file.
6009 * src/Makefile.*: Regenerate.
6011 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
6013 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
6014 files so that stdtof and strtold will be declared. Some hacks
6015 already exits in bits/std_cctype.h -- these should all be removed
6017 * bits/locale_facets.tcc: Add cstring.h include.
6018 _S_format_long: Use long, not int.
6019 Add std_limits.h include, for numeric_limits.
6020 * testsuite/27_io/istream.cc: Make instantiations work when using
6022 * testsuite/27_io/ostream.cc: Same.
6024 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
6026 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
6027 a reference. Same for operators == and !=.
6028 * testsuite/27_io/fpos.cc: Add tests.
6030 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6032 * bits/valarray_array.h: Fix typo.
6034 * mknumeric_limits: Make sure we are regenerating things from
6035 scratch. Otherwise things get redefined. Not good.
6037 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
6039 * bits/std_ostream.h: Fix typo.
6040 * bits/std_istream.h: Same.
6041 * bits/std_iomanip.h: Same.
6043 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
6044 ostream, as happens with underflow anyway.
6045 * testsuite/27_io/istream.cc (main): New file.
6046 * testsuite/27_io/ostream.cc (main): New file.
6047 * testsuite/27_io/istream_unformatted.cc: Add tests.
6049 * src/Makefile.am (headers): Add new file.
6050 * src/Makefile.in (headers): Regenerated.
6052 * bits/basic_ios.h: Remove local-related files.
6053 * bits/basic_ios.tcc: New file, add locale-related items.
6054 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
6055 * testsuite/27_io/ios_members_static.cc: Change to
6056 * testsuite/27_io/ios_base_members_static.cc: This.
6057 * testsuite/27_io/ios_members.cc: New file.
6058 * testsuite/27_io/stdios_basefield_manip: Change to
6059 * testsuite/27_io/ios_manip_basefield.cc: This.
6060 * testsuite/27_io/stdios_fmtflags_manip: Change to
6061 * testsuite/27_io/ios_manip_fmtflags.cc: This.
6063 * bits/fpos.h: Fix discarding qualifiers on this when
6064 using _M_position with a const fpos.
6065 * bits/std_iosfwd.h: Tweak.
6066 * testsuite/27_io/fpos.cc: New file.
6068 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
6070 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
6071 * bits/ostream.tcc: Tweak.
6072 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
6073 Add new regressions.
6075 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
6077 * bits/basic_ios.h: Inline, tweak.
6078 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
6079 pass back accurate return value to basic_filebuf::overflow.
6080 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
6081 This fixes sstream problems reported in libstdc++/9, but screws up
6082 filebufs. That solution is pending.
6084 1999-09-15 Vadim Egorov <egorovv@1c.ru>
6086 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
6088 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
6090 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
6092 * bits/c++config.h.in: Add emacs hints.
6094 * stl/bits/stl_range_errors.h: Don't define here, for now define
6095 in stdexcept.cc along with string inlines __length_error, etc.
6096 * src/stdexcept.cc: Define here.
6097 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
6098 at(size_t) will be declared/defined.
6099 (__STL_THREADS): Fix mess surrounding use of this, enable.
6101 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
6103 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6104 * src/localename.cc: Tweak formatting, fix assignment to
6105 const compiler errors.
6107 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
6109 * acconfig.h: Add absf, cosf.
6110 * configure.in (use_builtin_sinf): Same.
6111 * configure: Regenerate.
6112 * bits/std_cmath.h: Add mess of defines.
6113 * testsuite/26_numerics/modf_float.cc: Change to
6114 * testsuite/26_numerics/c_math.cc: This.
6116 * src/locale.cc: Change.
6117 * bits/locale_facets.h: Fix.
6118 * testsuite/22_locale/ctype.cc: Add temporary tests.
6120 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
6122 * bits/fpos.h: Test.
6124 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
6125 Fix database name for "libstdc++".
6127 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
6129 * mknumeric_limits (numeric_limits): Add default definitions to
6131 * testsuite/18_support/numeric_limits.cc: New file.
6133 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
6135 * bits/std_istream.h: Correct initialization.
6136 * bits/std_ostream.h: Likewise.
6137 * bits/std_sstream.h: Likewise.
6138 * bits/std_fstream.h: Likewise.
6139 * testsuite/27_io/stringstream.cc: Add test case.
6141 * bits/std_sstream.h: Replace ____string_type with __string_type.
6142 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
6143 * bits/std_ostream.h: Tweak dtor.
6145 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6147 * src/Makefile.am (CXXFLAGS): Add -O2.
6148 * src/Makefile.in: Likewise.
6150 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6152 * mknumeric_limits (numeric_limits): Uglify.
6154 * bits/std_istream.h: Fix warnings.
6155 * bits/locale_facets.tcc: Collateral damage from
6156 char_traits<char>::int_type change.
6158 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6160 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6162 * docs/index.html: Add mailing list form.
6163 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6165 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6167 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6168 if overflow successfully allocates more space.
6169 * bits/std_sstream.h: Adjust comments.
6170 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6171 before overflow forces a resize.
6172 * testsuite/27_io/ostream_inserter_char.cc: New file.
6174 * bits/std_fstream.h: Remove declaration.
6175 * bits/fstream.tcc: Move uflow.
6176 * bits/std_streambuf.h: To here.
6177 * bits/streambuf.tcc: Make consistent.
6179 * src/Makefile.am (WERROR): Enable.
6180 * src/Makefile.in: Regenerate.
6181 * bits/sbuf_iter.h: Tweak.
6182 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6183 Use unsigned int as char_traits<char>::int_type.
6185 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6186 * testsuite/27_io/iostream_objects.cc: Terminate string.
6187 Move cin::operator>>(char*) test to extractor_char.cc.
6188 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6189 * bits/std_istream.h (basic_iostream): Make explicit definition
6191 * bits/std_sstream.h: Fix typos.
6192 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6193 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6194 initialized in a consistent manner, no matter if the underlying
6195 FILE/bit bucket is a tty or a text file or some other imaginary
6196 construct. This and setting _M_buf_size to 1 for cin allows
6197 istream::get(char) to work in a manner consistent with what others
6200 * docs/index.html: Link Stroustrup's C++ page.
6202 1999-08-12 Michael Cook <cook@sightpath.com>
6204 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6205 * bits/istream.tcc: ditto.
6206 * bits/sbuf_iter.h: ditto.
6207 * bits/std_istream.h: ditto.
6208 * src/Makefile.am: Add -Wall to CXXFLAGS.
6209 * src/Makefile.in: ditto.
6211 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6212 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6214 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6215 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6217 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6219 * testsuite/27_io/istream_unformatted.cc: New file.
6221 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6222 elaborate tests for int types with noskipws.
6224 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6225 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6226 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6227 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6228 * bits/istream.tcc: Fix operator>>(streambuf*).
6230 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6232 * docs/index.html: Remove references to egcs.
6233 * docs/17_intro/DESIGN: Same.
6234 * docs/17_intro/contribute.html: Same.
6235 * docs/17_intro/RELEASE-NOTES: Ditto.
6236 * docs/17_intro/howto.html: Same here.
6238 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6239 * stl/bits/stl_vector.h (_M_insert_aux):
6240 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6241 decimal/floating point support.
6242 * bits/locale_facets.h: Change _M_extract prototype.
6243 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6244 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6246 1999-08-10 Michael Cook <cook@sightpath.com>
6248 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6249 * bits/ios_base.h: ditto.
6250 * bits/istream.tcc: ditto.
6251 * bits/locale_facets.h: ditto.
6252 * bits/locale_facets.tcc: ditto.
6253 * bits/std_streambuf.h: ditto.
6254 * src/basic_file.cc: ditto.
6255 * src/locale.cc: ditto.
6256 * src/localename.cc: ditto.
6258 1999-08-10 Kirat Singh <singhki@jany.gs.com>
6260 * bits/std_iomanip.h: Inline.
6262 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6264 * bits/std_streambuf.h: Correct member initialization order.
6265 * src/ios.cc: Add definitions for ios_base data members.
6267 1999-08-06 Phil Edwards <pedwards@ball.com>
6269 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6270 * docs/faq/index.html: Ditto. Removed bugs sections that have
6271 been fixed for a long time... Lots of "egcs" references still
6273 * docs/faq/index.txt: Regenerated.
6275 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6276 Andreas Amann <amann@physik.tu-berlin.de>
6278 * testsuite/26_numerics/binary_closure.cc (main): new test.
6280 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6282 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6285 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6287 * docs/index.html (host): Put in testing status.
6289 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6291 * docs/index.html: Update for libstdc++-2.90.6 release.
6292 * docs/17_intro/RELEASE-NOTES (New): Update.
6293 * docs/17_intro/BUGS: Update.
6294 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6295 * README (file): Update.
6297 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6299 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6301 ($(generated_headers)): Same.
6302 * src/gen-c++config.cc: Remove, rename to
6303 * bits/c++config.h.in: New file. Bump version number.
6304 * configure.in: Generate bits/c++config.h at configure time.
6305 * math/mathconf.h: include bits/c++config.h, not config.h.
6307 * bits/std_cmath.h: Fix remaining link error for solaris shared
6308 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6309 being, as on Solaris this silently calls sinf, which does not
6312 * src/complex.cc: More tweaks.
6314 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6316 * src/complex.cc: Same.
6317 * math/complex-stub.h: Change.
6318 * math/c_log10*.c: Change back to clog10*.c.
6320 * configure.in (NEED_C_LOG10): Delete.
6321 * configure: Regenerate.
6322 * math/Makefile.am: Change.
6324 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6326 * math/Makefile.am: Fix, for real.
6327 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6328 * math/clog.c: Move to c_log.c.
6329 * math/clog*: Ditto.
6330 * math/c_log10l.c (c_log10l): Change function name.
6331 * math/c_log10f.c (c_log10f): Change function name.
6332 * math/c_log10.c (c_log10): Change function name.
6334 * math/complex-stub.h: Change to c_log* variants.
6335 * src/complex.cc: And here.
6337 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6339 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6340 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6341 sequence, just the output sequence.
6342 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6343 the original string, all others use complicated heuristic.
6345 * src/complex.cc: Assume c_log10.
6346 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6347 symbols in shared libraries by making c_log/c_log10 part of the
6348 "must cmpile" sources. This may not work on solaris, must check.
6350 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6352 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6353 * bits/std_istream.h: Fix char extractors.
6354 * testsuite/27_io/istream_extractor_char.cc: Change.
6355 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6357 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6359 * bits/std_cctype.h: Fix for solaris2.6 builds.
6361 * bits/istream.tcc: Fix, thanks Alfred.
6362 * bits/std_istream.h: Formatting changes.
6364 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6365 _IO_cleanup will not be undefined.
6366 * libio/*: Regenerate.
6368 * bits/basic_string.h: More namespace-safety stuff.
6369 * testsuite/27_io/istream_extractor_char.cc: Fix.
6370 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6371 * testsuite/27_io/iostream_objects.cc: Fix.
6372 * testsuite/27_io/ios_ctor.cc: Fix.
6373 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6374 * testsuite/27_io/istream_extractor_other.cc: New file.
6376 * mkcheck (TESTS_FILE): Tweaks.
6378 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6380 * src/gen-c++config.cc: Note here, change version.
6381 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6382 * src/locale.cc: Used here.
6383 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6385 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6387 * bits/istream.tcc: Fix.
6388 * bits/std_istream.h: More changes to extractors.
6390 * testsuite/27_io/istream_extractor_char.cc: More.
6391 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6392 error in testsuite construction.
6394 * bits/std_istream.h: Partially revert.
6395 * bits/std_ostream.h: Same.
6396 * bits/std_sstream.h: Revert.
6398 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6400 * bits/std_sstream.h: Change initialization.
6401 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6402 * bits/std_istream.h: Same, also correct sentry args.
6403 * bits/istream.tcc: Add correct sentry args.
6405 * testsuite/27_io/istream_extractor_char.cc: New file.
6406 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6407 name changes making me dizzy.
6409 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6410 Benjamin Kosnik <bkoz@cygnus.com>
6412 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6415 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6417 * bits/std_complex.h: Tweak. Make the primary template class
6418 complex work with user-defined numerical types. Provide member
6419 definitions. Restructure.
6420 (class complex<float>): Uglify. Remove __value(). Rename __val
6421 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6422 private. Remove dependency on __value(). Fix various explicit
6423 specialization syntax. Declare a some functions friend. Now the
6424 implementation is nearly comforming.
6425 (class complex<double>): Likewise.
6426 (class complex<long double>): Likewise.
6428 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6429 (sin, sinh, tan, than): Fix call to corresponding C9x function
6432 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6434 * bits/istream.tcc (ws): Fix error with failbit being set.
6436 Disabled due to egcs/gcc-2_95 internal compiler errors.
6437 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6438 -fnew-exceptions. Compiling with namespaces enabled will now be
6440 * mkcheck (CXX_FLAG): Same.
6441 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6442 * bits/std_cctype.h: Not enough to just define in namespace std if
6443 ctype-isms are macros. Need to also define in namespace std:: if
6444 the C functions are just plain functions.
6446 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6448 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6450 * docs/18_support/howto.html: Start documentation. Need to keep
6451 track of the ongoing discussion in th LWG reflector.
6453 * src/gen-num-limits.cc: Tweak.
6454 (class predicate): New class.
6455 (class value): Likewise.
6456 Make the whole machinery more flexible. Add comments.
6458 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6460 * bits/ios_base.h: Move state/exception functions into basic_ios.
6461 * bits/basic_ios.h: Same.
6462 * src/ios.cc: And here. Callbacks don't attempt to reset
6465 * bits/std_streambuf.h: Separate ios and streambuf locale data
6466 members and cached facets. Using this convention: _M_locale_buf for
6467 the streambuf-related classes, and _M_locale_ios for the ios
6469 * bits/fstream.tcc: And here.
6470 * bits/basic_ios.h: And here. Also, add cached ctype.
6471 * src/ios.cc: Ditto.
6472 * bits/ios_base.h: Ditto.
6473 * bits/std_istream.h: Use cached ctype facet.
6474 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6477 * testsuite/27_io/ios_ctor.cc: New file.
6478 * src/ios.cc: Move _M_state init to basic_ios::init().
6479 * bits/basic_ios.h: To here.
6481 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6482 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6483 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6484 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6485 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6487 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6489 * src/ios.cc: Tweak initializations of standard iostream
6490 objects to closely match the standard. Tie cin/wcin, set flags on
6492 * bits/char_traits.h: Change from size_t to int_type, as per
6493 standard. As per wide streams.
6494 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6495 for caching a bunch of ctype info. For instance, ctype_base::space
6496 info needs to be stored somewhere, somehow.
6497 * bits/std_istream.h: Also here.
6498 * bits/std_ostream.h: Ditto.
6499 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6500 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6503 * bits/istream.tcc (ws): Fix.
6504 * testsuite/27_io/istream_manip.cc: New file, test ws.
6505 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6507 * bits/basic_string.h: Provide a specialized member function for
6508 _S_find<char> using strchr.
6509 * src/string-inst.cc: Put specializations here.
6510 * bits/string.tcc: Small fix for find, remove typo.
6511 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6514 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6516 * bits/basic_ios.h: Put into basic_ios namespace.
6519 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6521 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6522 adjust _M_*_cur pointers inside the function, so callee doesn't
6524 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6526 * mkcheck: Tweak. Add execution time field, even though it is not
6527 implemented yet. Simplify pass/fail status notation.
6529 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6531 * configure.in: Check for float.h and underscored version of
6533 * acconfig.h: Add @BOTTOM@ section for handling underscored
6535 * configure: Regenerate.
6536 * config.h.in: Regenerate.
6537 * math/mathconf.h (float.h): Include conditionally.
6538 (M_PI): Define conditionally.
6539 (INFINITE_P): Define for Mingw.
6540 * bits/locale_facets.tcc: Workaround for compiler crash on
6542 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6543 * src/locale.cc (bits/std_istream.h): Include.
6544 (bits/std_ostream.h): Likewise.
6546 1999-07-18 Phil Edwards <pedwards@ball.com>
6548 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6549 * docs/faq/index.txt: Regenerated.
6551 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6553 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6555 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6556 newly-allocated buffer.
6557 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6558 overflow condition bits.
6560 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6562 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6563 _M_buf_size to initial _M_string.size(), even though for
6564 ostringstreams it is pretty pointless. It's necessary for
6566 (stringbuf::str()): Adjust.
6567 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6568 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6569 overflow's possible success.
6570 (streambuf::xsputn): Adjust.
6572 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6574 * testsuite/27_io/stringbuf.cc: Tweak.
6575 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6577 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6578 with other constructor tests to. . .
6579 * testsuite/23_containers/vector_ctor.cc: New file.
6581 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6583 * testsuite/*: Changes to make the testsuit compilable with
6584 -fhonor-std. Contains direct qualification of library names with
6587 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6589 * bits/streambuf.tcc: Tweaks.
6590 (streambuf::xsputn): Optimize, fix for sstreams.
6591 (streambuf::xsgetn): Same.
6592 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6593 correctly, handle overflow/reallocate conditions correctly.
6594 * bits/std_sstream.h: Fix typo.
6595 _M_init_stringbuf(): Fix _M_buf_size initialization.
6596 (stringbuf::str()): Construct return string if output has occurred.
6598 * bits/basic_string.h: Fix typo from yesterday's patch.
6600 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6602 * bits/string.tcc: _M_mutate - clear _M_state again.
6603 * bits/basic_string.h: In the three functions that return
6604 an iterator set _M_state to -1 before return.
6605 Also optimized two cases of operator+.
6607 1999-07-12 Phil Edwards <pedwards@ball.com>
6609 * docs/index.html: Expand egcs-1.1.2 notes/links.
6610 * docs/faq/index.html: And here. Add links to LWG issues-list.
6611 * docs/faq/index.txt: Regenerate. (lynx rocks)
6612 * docs/21_strings/howto.html: Fix notes on case conversion.
6613 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6614 * docs/23_containers/howto.html: Stub for bitmasks.
6615 * docs/27_io/howto.html: Add section on buffering, stub binary.
6617 1999-07-12 Nathan Myers <ncm@cantrip.org>
6619 * stl/bits/stl_tree.h (__black_count): Optimize.
6621 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6623 * src/basic_file.cc: Cleanup in __basic_file destructor.
6625 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6627 * bits/std_streambuf.h: Changes. . .
6628 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6629 basic_streambuf, to be used for both filebufs and streambufs.
6630 * bits/std_fstream.h (_M_init_filebuf): New function.
6631 Take out specialized xsputn, put into basic_streambuf.
6632 * bits/fstream.tcc: Define, call from both ctors.
6633 * bits/std_sstream.h (_M_init_stringbuf): New function.
6634 * bits/sstream.tcc: Tweak.
6636 * docs/27_io/iostreams_heirarchy.pdf: New file.
6638 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6639 acceptance. Wooo-hoo!
6641 * bits/char_traits.h: Change int_type for char_traits general
6642 template, so that 21_strings/capacity.cc will compile.
6643 * testsuite/21_strings/capacity.cc: Add operators.
6645 * bits/string.tcc (string::compare): Clean up, re-implement.
6646 * testsuite/21_strings/compare.cc: Tweak.
6648 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6649 _M_state, which means that whenever begin() or end() has been
6650 called, the string is unshareable, period. By doing this, insert
6651 and erase member functions that return iterators can remain
6652 footloose and fancy free.
6653 * testsuite/21_strings/invariants.cc: Update.
6655 * bits/basic_string.h (string::append): Fix self-referential
6656 problems, ie when "this" is also an argument to a member function.
6657 * bits/string.tcc: Tweak, same.
6658 * testsuite/21_strings/append.cc: New file.
6660 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6662 * bits/char_traits.h: Tweaks.
6663 * bits/basic_string.h: Tweak.
6664 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6666 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6668 * bits/std_streambuf.h: Absorb/acquire data members previously
6669 working in basic_filebuf.
6670 * bits/streambuf.tcc: Tweaks.
6671 * bits/fstream.tcc: Adjust.
6672 * bits/std_fstream.h: Move and rename the following functions:
6673 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6674 now declared and defined in the base class, basic_streambuf. Oh
6675 fuck it, move data members _M_buf, and _M_buf_size into
6676 basic_streambuf as well.
6678 * bits/ostream.tcc: Tweak.
6679 * bits/locale_facets.tcc: Fix typo in comments.
6681 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6682 state from good to not good, as eof() is set.
6684 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6686 * bits/char_traits.h (char_traits::compare). Fix.
6688 * config.guess, config.sub: Update.
6690 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6692 * bits/string.tcc: Check the __res_arg for a length error.
6694 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6696 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6697 and related functions into basic_streambuf, from basic_filebuf to
6698 take care of ostringstreams and empty strings. So that's groovy,
6700 * bits/std_istream.h: Tweaks.
6701 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6702 * bits/std_ostream.h: And here.
6703 * bits/ostream.tcc: Same.
6704 * src/misc-inst.cc: Add instantiations for ws.
6706 * src/string-inst.cc: Add instantiations for inserters and
6707 extractors (operators << and >>, getline).
6709 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6710 a testcase for getline and operators << and >>. Ostream tests are
6711 failing right now, but istream tests should work. . .
6713 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6714 * bits/std_sstream.h: Revert.
6716 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6717 istream, ostream, streambuf, fstream, sstream].cc: New files.
6719 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6721 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6724 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6725 specializations for _CharT*, iterator and const_iterator.
6726 * src/string-inst.cc: Remove explicit instantiation, as
6727 now explicitly specialized.
6729 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6730 a default value set to 0.
6731 * bits/string.tcc: In _M_clone by the call of _S_create add the
6732 value of the new parameter to _M_length. In reserve check
6733 _M_state and use _M_clone instead of _M_mutate.
6735 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6737 * bits/basic_string.h: Fix _S_max_size.
6738 * bits/string.tcc: Add def here.
6739 * testsuite/21_strings/insert.cc: Fix.
6741 * bits/sbuf_iter.h: Remove detritus.
6742 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6744 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6745 to resolve alpha-osf4 build problems.
6747 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6749 * bits/string.tcc: Fix signed/unsigned issues in compares.
6750 * stl/bits/stl_deque.h: And here.
6751 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6753 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6755 * bits/string.tcc: New implementation and interface of _M_mutate.
6756 Adapt the change in all functions that call _M_mutate.
6757 * bits/basic_string.h: And here.
6759 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6761 * testsuite/21_strings/capacity.cc (test01): Fix.
6763 1999-06-29 Phil Edwards <pedwards@ball.com>
6765 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6767 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6769 * stl/bits/stl_vector.h: Fix.
6770 * testsuite/23_containers/vector_cons.cc: Add.
6772 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6774 * mknumeric_limits (LDFLAGS): fix.
6776 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6778 * mknumeric_limits (LDFLAGS): set it according to the system.
6780 * math/mathconf.h (NAN): Check whether host is running under
6781 Cygwin and make the appropriate definition.
6782 * math/complex-stub.h (nan): protect declaration.
6784 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6786 * bits/sbuf_iter.h: Rename internal data structure to prevent
6787 confusion between basic_ios and istreambuf_iterators internal
6788 basic_streambuf data member.
6789 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6791 * bits/basic_string.h: Remove conditionals, add input_iterator
6792 version of S_construct again.
6793 * bits/string.tcc: Same.
6794 * src/string-inst.cc: And add explicit instantiation here.
6796 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6797 and __USE_GNU macro defines, as single __USE_GNU use leading to
6798 confusion on glibc2.1 systems (ie, RedHat 6.0).
6800 * src/Makefile.am (headers): Add std_utility to installed headers.
6802 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6804 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6806 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6808 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6810 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6812 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6813 macros to include _GLIBCPP as a distinct namespace.
6817 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6818 * bits/basic_string.h: Remove __get_c_string.
6819 * src/stdexcept.cc: Define ctor here.
6820 * bits/ios_base.h: And fix ios_base::failure as well.
6821 * src/ios.cc: Define here.
6823 * bits/std_streambuf.h: Add a private copy ctor and assignment
6824 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6825 * bits/ios_base.h: And here too.
6827 * bits/basic_string.h: Tweak.
6828 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6830 * src/valarray.cc: Rename to. . .
6831 * src/valarray-inst.cc: This.
6832 * src/Makefile.am (sources): Change here.
6833 * src/Makefile.in: Regenerated.
6835 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6837 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6840 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6841 Tom Tromey <tromey@cygnus.com>
6843 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6844 Use AM_CONDITIONAL to get us out of this jam. .
6845 * libio/Makefile.am: Same.
6846 * */Makefile: Regenerated.
6848 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6849 John Potter <jpotter@eagle.lhup.edu>
6851 * stl/bits/stl_tree.h (insert_equal): Fix.
6852 * testsuite/23_containers/multiset.cc: New file.
6854 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6856 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6857 this works correctly on glibc-2 systems. This should allow
6858 simplified linking on these systems, and successful linking on Red
6860 * configure, Makefile: Regenerate.
6862 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6864 * testsuite/ext: New directory.
6865 * testsuite/ext/headers.cc: New file.
6867 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6869 * stl/ext/hash_set: include missing headers
6870 * stl/ext/hash_map: Same
6871 * stl/ext/slist: Same
6873 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6875 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6877 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6879 * src/Makefile.am (sources): Regenerate.
6880 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6883 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6885 * src/string-inst.cc: Change _S_construct signature, to
6886 track requested allocation size versus valid input iterator range.
6887 * bits/basic_string.h: Here too.
6888 * bits/string.tcc: And here.
6890 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6892 * mkcheck (LOG_FILE): Correctly append errors.
6894 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6896 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6897 to clarify differences between basic_string::_M_data() calls and
6898 _Rep::_M_data() calls.
6899 * bits/std_string.h: Fix.
6900 Put in check for out_of_range in substr.
6901 * bits/string.tcc: Fix for _S_find.
6903 * testsuite/21_strings/compare.cc: Add tests.
6904 * testsuite/21_strings/find.cc: New file.
6905 * testsuite/21_strings/substr: New file.
6906 * testsuite/21_strings/replace.cc: New file.
6908 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6910 * bits/valarray_array.h: __restrict__ify pointers.
6912 * bits/std_valarray.h: Tweak.
6913 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6915 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6917 * bits/gslice.h: Tweak.
6918 (class gslice::_Indexer): new class.
6919 (gslice::gslice(const gslice&)): implement copy-ctor to support
6921 (gslice::operator=(const gslice&)): support ref-counted index.
6922 (gslice::_M_convert_to_index): delete.
6924 * src/valarray.cc: New file.
6925 (__gslice_to_index): turn a gslice into a valarray<size_t>
6926 (ctor gslice::_Indexer::_Indexer): implement.
6928 * src/Makefile.am (sources): add valarray.cc
6929 * src/Makefile.in: regenerate.
6931 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6933 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6934 ctor): Put in a const_cast.
6936 * testsuite/21_strings/invariants.cc: New file.
6938 * testsuite/21_strings/insert.cc: Add exception handling bits.
6939 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6941 * src/wstring-inst.cc: Add c++config.h include.
6943 * bits/basic_string.h: Fix const operator[] for size == pos.
6944 Add _M_leak for rbegin, non-const.
6945 Add _M_leak for rend, non-const.
6946 Make member function at standards conformant.
6947 Add _S_terminal to _Rep for operator[] const, add this into
6949 * bits/string.tcc: Add static member definition here,
6952 * testsuite/21_strings/element_access.cc: Add tests.
6954 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6956 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6959 1999-06-08 Phil Edwards <pedwards@ball.com>
6961 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6962 caused when __testinit is true.
6963 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6964 using rdbuf()->sputn rather than _M_fnumput->put.
6966 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6968 * testsuite/23_containers/bitset_ctor.cc: New file.
6969 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6971 1999-06-08 Phil Edwards <pedwards@ball.com>
6973 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6975 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6977 * testsuite/21_strings/element_access.cc: Finish off these tests.
6978 * testsuite/21_strings/insert.cc (test01): Uncomment.
6979 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6980 * bits/basic_string.h: Tweak, okay, fix for real this time.
6981 * bits/string.tcc: Same.
6982 * bits/char_traits.h: Tweak.
6984 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6986 * bits/std_cmath.h: Example of how to use the generated macro.
6987 * acconfig.h: Add macro for sinf here.
6988 * configure.in (LIBS): Add test for builtin math function sinf.
6989 * configure: Regenerated.
6991 * bits/basic_string.h: Fix _S_max_size.
6993 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6995 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6996 Remove _S_construct signature for forward_iterator_tag and
6999 * src/string-inst.cc: Same, tweaks.
7000 * bits/string.tcc: Same, tweaks.
7002 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
7003 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
7004 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
7007 * src/locale.cc: Final separation for char/wchar_t bits.
7009 1999-06-05 Phil Edwards <pedwards@ball.com>
7011 * docs/index.html: Added link to book upon request'n'agreement.
7012 * docs/23_containers/wrappers_h.txt: Added.
7013 * docs/{23_containers,27_io}/howto.html: Added sections.
7015 * bits/std_fstream.h: Tweak.
7017 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7019 * src/ios.cc: Same here.
7020 * bits/std_iosfwd.h: More wchar_t defines.
7022 * bits/basic_string.h: Tweaks.
7023 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
7024 when doing error checking, as per LWG defect #83.
7026 * src/gen-c++config.cc: Fix comment.
7028 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
7030 * testsuite/21_strings/element_access.cc: New file, checks for
7031 operator[], at(...).
7032 * testsuite/21_strings/insert.cc: New file, tests string::insert.
7033 * testsuite/21_strings/char_traits.cc: New file, tests
7034 for char_traits<char>.
7036 * bits/utility.h: Remove, again.
7037 * src/Makefile.am (std_headers): Remove utility.h.
7038 * src/Makefile.in (std_headers): Regenerate.
7040 Alfred Minarik <a8601248@unet.univie.ac.at>
7041 * bits/basic_string.h: Move __out_of_range and __length_error into
7044 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7046 * testsuite/26_numerics/modf_float.cc: New file.
7048 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
7049 typo: use ::modff, not ::modf.
7051 1999-06-03 Vadim Egorov <egorovv@1c.ru>
7053 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
7055 * testsuite/21_strings/capacity.cc (test01): Test.
7057 1999-06-03 Phil Edwards <pedwards@ball.com>
7059 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
7060 unused variables to within #if 0 blocks to do the same.
7061 * bits/std_fstream.h: Fix typos (one prevents compilation).
7063 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
7065 * src/wstring-inst.cc: Fix.
7067 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
7069 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
7070 * stl/bits/stl_string_fwd.h: Same.
7071 * bits/locale_facets.h: Same.
7072 * bits/locale_facets.tcc: Same.
7073 * src/wstring-inst.cc: And here.
7075 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
7076 problems on HPUX 10.20.
7077 * your-build-directory-here/bits/c++config.h: Just kidding, do it
7078 here as a temporary hack till the compiler/host problems get
7081 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
7082 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
7083 converting "long double" to struct long_double. Probably should be
7084 done with one macro (HAVE_STRTOLD) at configure time.
7086 * bits/std_cmath.h: Comment out pow(double, int) defintion as
7087 gives re-declaration under hpux10.20. Revert previous change, as
7088 kills linux/x86, solaris 2.7, hpux builds. These should be done
7089 using autoconf, see std_cctype.h and the solutions started in
7090 configure.in (see config.h for the generated file.)
7092 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
7093 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
7096 * docs/index.html: Add some useful links.
7097 * docs/17_intro/contribute.html: Fix broken links.
7099 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7101 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
7102 paths. The rest of the world should be able to run this script
7105 * src/Makefile.am ($(generated_headers)): Remove comment.
7106 * Makefile*: Regenerate.
7108 * bits/std_locale.h: Remove detritus.
7109 * bits/localefwd.h: Add <cctype> include to undefine the isspace
7112 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7114 * src/gen-c++config.cc: New file. Making c++config.h at configure
7115 time by catting this file (nee bits/config.h) with the build
7116 directories config.h. This is not a complete or perfect solution
7117 but is better than what was in place previously.
7118 * bits/c++config.h: Rename/move to above.
7119 * src/Makefile.am (headers): Remove c++config.h.
7120 (myinstallheaders). Add.
7121 * Makefile*: Regenerated.
7123 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
7124 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
7125 declared only if not present in the host's wchar.h.
7127 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
7129 * bits/std_cmath.h: Define out, for the moment. Linux has no
7130 __buitin_fsqrtl? Probably need some kind of configure trickery
7133 * src/Makefile.*: Regenerate.
7134 * bits/c++config.h: Add config.h include.
7136 * bits/std_cwchar.h: Remove remaining #error guard.
7138 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
7140 * configure.in (LIBS): Replace previous effort for mbstate_t and
7141 strtold/strtof with this implementation.
7143 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7145 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7148 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7150 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7151 for determining mbstate_t differences across various hosts not
7154 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7156 * bits/locale_facets.tcc: Change to ifdef.
7158 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7159 * bits/std_fstream.h (filebuf::setbuf): Same.
7161 * bits/std_istream.h: Add ws declaration.
7162 * bits/istream.tcc: Stub out definition.
7164 * docs/index.html: Fix broken link for design.txt.
7166 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7167 then set _G_NEED_MBSTATE_T.
7168 * configure: Regenerate.
7169 * bits/c++config.h: Move mbstate_t define.
7170 * bits/std_cwchar.h: To here.
7172 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7174 * bits/std_sstream.h:
7175 basic_stringbuf<>::basic_stringbuf: fix.
7176 basic_stringbuf<>::setbuf:
7177 remove the temporary __string_type object,
7178 remove the unnecessary dynymic_cast in the return value,
7179 change the type of the returned value from __streambuf_type*
7180 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7182 1999-05-25 Phil Edwards <pedwards@ball.com>
7184 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7186 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7188 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7189 in <math.h>. <cmath> still incomplete and incorrekt.
7191 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7193 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7195 1999-05-23 Phil Edwards <pedwards@ball.com>
7197 * docs/17_intro/howto.html: Added links to text docs,
7199 * docs/21_strings/howto.html: Updated sections and links.
7200 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7201 * docs/faq/index.html: Updated what-works for sixth
7202 snapshot. Also a number of "internal" links have been
7203 fixed, now that the web pages are the docs directory...
7204 * docs/faq/index.txt: Regenerated.
7206 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7208 * bits/basic_string.h: Add Nathan's documentation on the string class.
7210 * testsuite/27_io/ios_members_static.cc: New file, for testing
7211 ios_base::sync_with_stdio.
7213 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7215 * bits/std_locale.h: Simplify includes.
7216 * bits/loccore.h: Delete.
7217 * bits/localefwd.h: Renamed, trimmed.
7218 * bits/locfacets.h: Delete.
7219 * bits/locale_facets.h: Rename, expanded.
7220 * bits/loccore.tcc: Deleted.
7221 * bits/locfacets.tcc: Deleted.
7222 * bits/locale_facets.tcc: Resultant merge.
7223 * bits/std_fstream.h: Modify include.
7224 * bits/ostream.tcc: Same.
7225 * bits/istream.tcc: Same.
7227 * src/locale-inst.cc: And here.
7228 * src/locale.cc: Ditto.
7229 * src/Makefile.am: Updated.
7230 * src/Makefile.in: Rengenerated.
7232 * bits/std_istream.h: Move istream::sentry ctor definition.
7233 * bits/istream.tcc: Move istream::sentry ctor here.
7234 Add more detailed locale include here for ctype member functions.
7235 * bits/ostream.tcc (std): And here.
7237 * bits/sbuf_iter.h: Include std_streambuf.h
7239 * bits/locfacets.h: Start separating this into a localeimp.h file.
7240 * bits/loccore.h: Start separating this into a localefwd.h file.
7241 Add std_climits for CHAR_BIT.
7243 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7245 * bits/char_traits.h: Tweak.
7247 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7249 * bits/std_ostream.h: Remove c++config.h include.
7250 * bits/std_istream.h: Same.
7251 * bits/std_streambuf.h: Same.
7252 * bits/std_fstream.h: Same.
7253 * bits/std_sstream.h: And here.
7255 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7256 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7257 * bits/fpos.h: Tweak, format.
7259 * std/ciso646: New file.
7260 * bits/std_ciso646.h: New file.
7261 * src/Makefile.am (std_headers): Add ciso646.
7262 (headers): Add bits/std_ciso646.h.
7263 * src/Makefile.in: Regenerate.
7264 * testsuite/17_intro/header_ciso646.cc: New file, disable
7267 * bits/fpos.h: Remove libio.h include.
7268 * bits/basic_file.h: And here.
7269 * bits/std_ios.h: Put here.
7271 * src/ios.cc: Simplify includes, tweak.
7272 * bits/std_ios.h: Simplify include order.
7273 * bits/ios_base.h: Modify ios_base::failure.
7275 * stl/bits/std_numeric.h: Change include from stl_iterator to
7278 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7280 * std/iostream: Remove static member __ioint.
7281 * bits/std_iostream.h: Put here.
7283 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7284 * stl/bits/stl_algobase.h: Same.
7285 * testsuite/27_io/iostream_objects.cc: Regression tests.
7286 * testsuite/27_io/hello.cc: Remove, subset of above.
7288 1999-05-19 Phil Edwards <pedwards@ball.com>
7290 * docs/index.html: Tweak, update.
7292 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7294 * docs/17_intro/RELEASE-NOTES: remove outdated
7295 documentation about numeric_limits. Correct CXXINCLUDE setting
7298 1999-05-18 Phil Edwards <pedwards@ball.com>
7300 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7301 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7302 27_io}/howto.html: Created, with some initial entries.
7303 * docs/faq/index.html: Fixed some links.
7304 * docs/faq/index.txt: Regenerated.
7306 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7308 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7310 * docs/17_intro/RELEASE-NOTES: Update.
7311 * docs/index.html: Correct link to mailing list help page, update News.
7312 * docs/faq/index.html: Change fifth to sixth for snapshot.
7314 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7315 install $(top_builddir)/bits/std_limits.h into
7316 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7317 Makefile.am changes.
7318 * *Makefile*: Regenerate using automake.
7320 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7321 * testsuite/27_io/filebuf.cc: Same.
7323 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7325 * docs/17_intro/CHECKLIST: update.
7326 * docs/17_intro/TODO: update.
7328 1999-05-17 Phil Edwards <pedwards@ball.com>
7330 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7331 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7332 27_io}/howto.html: Created, with some initial entries.
7333 * docs/faq/index.html: Fixed some links.
7334 * docs/faq/index.txt: Regenerated.
7336 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7338 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7339 * Makefile.in*: Regenerate.
7341 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7343 * bits/std_streambuf.h: Same.
7345 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7346 * bits/locfacets.h (std): Same.
7347 * bits/sstream.tcc: Same.
7348 * testsuite/27_io/stringstream.cc: Tweak.
7350 * testsuite/27_io/filebuf.cc: Adjust.
7351 * testsuite/21_strings/capacity.cc (test01): Add more
7352 string::reserve tests.
7354 * bits/c++config.h: Remove broken CCTYPE.
7355 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7356 sequestered topper implementation.
7357 * bits/std_cwctype.h: Same.
7359 * bits/missing.h: Remove.
7360 * bits/std_locale.h: Remove missing.h include.
7362 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7364 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7365 INCLUDES: Add top_builddir.
7366 * src/Makefile.in: Regenerate.
7368 * Makefile.am: Add check and check-install as new targets.
7369 * testsuite/make_check_libfree++: Move to. . .
7371 * configure.in: Tweak versions.
7372 * mknumeric_limits: Set paths correctly.
7374 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7376 * src/Makefile.in (myinstallheaders): add rule to install
7379 * bits/slice.h (class slice): don't const-qualify data members
7380 since the copy and assignment operator is implicitly used. The
7381 valarray specification is definitively a bad one.
7383 * Makefile.in (generate-limits-sources): fix typo.
7385 * docs/text/TODO: update.
7386 * docs/text/CHECKLIST: update.
7388 * bits/gslice.h (gslice): fix bugglet.
7389 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7392 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7393 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7394 [Note: **/Makefile.in should be generated from the corresponding
7395 Makefile.am. The current situation is a litte chaotic. ]
7397 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7399 * mknumeric_limits: tweak.
7401 * Makefile.in (all): add target generate-limits-sources.
7402 (generate-limits-sources): make a directory bits/ in top_builddir
7403 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7404 directly under $(top_builddir)/src. Remains to put the appropriate
7405 rule for installing std_limits.h.
7407 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7408 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7409 now generated at build-time in the build directory
7410 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7411 * src/Makefile.am: reflect changes in src/Makefile.in
7413 1999-05-12 Phil Edwards <pedwards@ball.com>
7415 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7416 all but one empty entry. Add links for HOWTOs, but no files yet.
7417 (Corrected HOWTO links are for bkoz's new scheme.)
7418 * docs/faq/index.txt: Regenerated.
7420 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7422 * testsuite/17_intro/headers.cc: New file.
7423 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7424 * bits/std_cwctype.h: New file.
7426 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7428 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7430 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7431 Check __USE_MALLOC before defining specializations containing
7432 __default_alloc_template.
7433 * src/stl-inst.cc: Here too.
7435 * bits/basic_string.h: Change.
7437 * testsuite/make_check_libfree++: More tweaks.
7438 * testsuite/21/capacity.cc: New file.
7440 * src/string.cc: Rename to be consistent with other inst files.
7441 Rename to string-inst.cc.
7442 * src/string*.cc: Change include.
7443 * src/wstring.cc: Rename to wstring-inst.cc.
7444 * src/wstring*.cc: Ditto.
7445 * src/Makefile.in: Also here.
7446 * src/Makefile.am: Ditto.
7448 * src/traits.cc: Remove.
7449 * src/wtraits.cc: Same.
7451 Try a new way of organizing documentation, one with synchronicity
7452 between testsuites and docs subdirectories, and see who yelps.
7453 * docs/html: Remove, use chapter and subject specific directories
7454 instead of forcing things immediately into format of
7458 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7459 directory and sort by filename and extension.
7460 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7461 22_locale, 23_containers, 24_iterators, 25_algorithms,
7462 26_numerics, 27_io: Add.
7463 * docs/17_intro/*: Populate with all the text files. . .
7464 * docs/index.html: Construct.
7466 * testsuite/*: Update with same names as the docs subdir.
7467 * testsuite/results: Where to stash conformance results for the
7468 different snapshots, so that progress/size/speed issues can be
7471 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7473 * src/string.cc: Add _S_copy_chars instantiation, as well as
7474 string::binary operators !=, ==, etc.
7476 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7477 * src/Makefile.in (CXXFLAGS): Same here.
7478 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7480 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7482 * src/string.cc: Add missing member functions to instantiation list.
7484 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7486 * src/misc-inst.cc: Remove unused string instantiations.
7488 * bits/string.tcc: Tweak, fix.
7489 * bits/basic_string.h: Format. Fix reported error with c_str().
7491 * testsuite/make_check_libfree++: Tweak for shared builds.
7492 * testsuite/21/operations.cc: New file for testing c_str() etc.
7494 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7495 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7497 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7498 an iterator class. Delineate pointer versus iterator differences
7500 * 23/vector_capacity.cc: New file, tests for above.
7502 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7504 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7506 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7507 generated by mknumeric_limits to the list. Now std_limits.h is
7509 * src/Makefile.in (generate-numeric-limits): new target to handle
7510 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7511 (all): add target generate-numeric-limits.
7512 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7513 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7515 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7518 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7519 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7520 * bits/locfacts.h: Here.
7522 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7523 Ulrich Drepper <drepper@cygnus.com>
7525 Solaris build issues.
7526 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7529 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7530 float overloads to use the above macros. Account for the lack of
7531 strtold on some systems, and revert back to using sscanf.
7533 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7535 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7536 Use strtoul/strtoull for unsigned types. Check the ranges for
7537 short/unsigned short and if necessary for int/unsigned int.
7539 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7541 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7542 to generate bits/std_limits.h now, as the SGI std_limits.h is
7543 being depricated. Not done, but should be done immediately: need
7544 to make sure this script is run as part of the configuration
7545 process, because without it "make" in a configured build directory
7546 will fail. Also tweaked: added a space for float_round_style, and
7547 used static_cast of zero to default-initialize, which should be ok
7548 according to the standard. (see 8.5 p5 and 20.1.3).
7549 * mknumeric_limits (OUT_C): Need this for x86 long
7552 * bits/basic_file.h: Include libio.h, not libioP.h.
7553 * src/basic_file.cc: And add libioP.h include here, so that
7554 _IO_init, et. al are well-declared.
7556 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7557 headers, not source directory headers.
7559 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7560 for ext/*. Also add basic_file.h.
7561 * src/Makefile.in (headers): Same.
7563 * bits/std_string.h: Reduce dependencies for faster
7564 pre-processing. Move istream and ostream specific defines into
7565 istream.tcc and ostream.tcc respectively.
7566 * bits/string.tcc: And here.
7567 * bits/basic_string.h: Move getline inline out-of-line, and to
7569 * bits/istream.tcc: Move string::getline and operator>> here.
7570 * bits/ostream.tcc: And here too.
7572 * bits/utility.h: Remove, as clashes with a standard header. Put
7573 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7574 being, until this can be combined with SGI's approach.
7575 * bits/string.tcc: Add macros, as above.
7576 * bits/loccore.h: Add _Count_ones defines.
7577 * bits/std_string.h: And here too.
7578 * bits/std_locale.h: And here.
7579 * bits/std_ios.h: Take out include here.
7580 * src/Makefile.am (headers): Remove utility.h
7581 * src/Makefile.in (headers): Remove utility.h
7583 * stl/bits/*: Update to SGI STL 3.20.
7584 * stl/ext/pthread_alloc: Delete this file.
7586 1999-05-04 Phil Edwards <pedwards@ball.com>
7588 * docs/faq/html/index.html: Add more entries
7589 * docs/faq/html/index.txt: regenerated.
7591 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7593 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7595 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7597 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7598 from Ulrich and Nathan. Remove extraneous string class usage,
7599 tweak, clean, simplify and consolidate with a eye towards removing
7600 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7601 Not done: dealing with leading zeros, wchar_t work.
7602 * bits/locfacets.h: And here too.
7606 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7609 * docs/faq/: New directory.
7610 * docs/faq/html/: Likewise.
7611 * docs/faq/text/: Likewise.
7612 * docs/faq/html/index.html: New file.
7613 * docs/faq/html/index.txt: Likewise. Generated from
7614 docs/faq/html/index.html by lynx.
7616 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7617 Ryszard Kabatek and Branko Cibej
7619 * bits/locfacets.tcc: Modify.
7621 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7623 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7624 conformant to 14882, wrap non-standard extensions with
7625 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7626 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7628 * testsuite/27/istringstream_formatted.cc: Add tests.
7630 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7631 commenting, simplify.
7632 * bits/locfacets.tcc: Same.
7634 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7635 * bits/locfacets.tcc (num_get::do_get):
7636 Fix the sscanf format parameter
7637 for long long 'll' (as in C9X) instead of 'l'.
7638 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7639 Change the type of the local variable '__conv' from 'string'
7640 to 'const char*' and adapt the change.
7642 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7644 * bits/locfacets.h: Document _Format_cache, and name data members
7645 after the corresponding functions in numpunct. For instance:
7646 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7647 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7648 * bits/locfacets.tcc: Same.
7650 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7651 stop parsing--store for later analysis.
7652 * testsuite/27/istringstream_formatted.cc: Add cases.
7654 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7656 * bits/valarray_meta.h: tweak.
7657 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7658 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7659 happy -- boggus warning.
7660 * bits/std_valarray.h: Fix.
7661 (valarray<T>::shift): Fix. Update comment.
7662 (valarray<T>::cshift): Fix.
7664 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7666 * testsuite/27filebuf-2.txt: Delete.
7667 * testsuite/27/filebuf.cc: Put output files directly into the
7668 correct subdirectory (27).
7670 Alexandre Petit-Bianco <apbianco@cygnus.com>
7671 * testsuite/make_check_libfree++: Check generated (*.txt) file
7672 against stored results file (*.tst).
7674 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7676 * bits/locfacets.tcc: Fix.
7678 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7679 (filebuf::overflow): Simplify.
7680 (filebuf::xsputn): Correctly handle indeterminate state.
7682 * testsuite/27/istringstream_formatted.cc: Tweak.
7683 * testsuite/27/filebuf.cc: Tweak.
7684 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7685 results file, please use this in the future to guarantee filebuf
7686 positioning accuracy.
7687 * testsuite/27/filebuf-2.tst: Same.
7689 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7691 * bits/fstream.tcc (filebuf::xsputn): Add.
7692 * bits/std_fstream.h: Declare.
7694 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7695 calls using ios_base::trunc.
7697 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7699 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7700 * testsuite/27/27stringstream.cc: Same.
7701 * testsuite/27/27stringbuf.cc: More tweaks.
7702 * testsuite/27/27filebuf-2.txt: Remove.
7704 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7705 BUFSIZE so that overflows/underflow can be tested with default
7707 * testsuite/27/27filebuf-1.tst: Add.
7709 * testsuite/*/*: Remove pre-pended chapter names, as they
7710 duplicate the chapter info contained in the enclosing directory
7713 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7715 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7716 to sputc conditions.
7718 * bits/ios_base.h: Define here.
7719 * src/ios.cc (ios_base::_M_clear): Remove hack.
7720 * bits/basic_ios.h: Fix rdstate().
7722 * bits/sstream.tcc (streambuf::seekoff): Fix.
7723 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7725 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7726 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7727 * testsuite/27/27stringstream.cc: Same.
7728 * testsuite/27/27stringbuf.cc: Same.
7729 * testsuite/27/27istringstream_formatted.cc: Same.
7730 * testsuite/27/27filebuf.cc: Same.
7732 * bits/locfacets.h: Remove specializations for messages<char> and
7733 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7734 * src/locale.cc: Remove definitions for above.
7735 * src/misc-inst.cc: Revert, take out iomanip.h include.
7736 * bits/std_iomanip.h: Tweak, format.
7738 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7740 * bits/loccore.h: Format, move inline.
7741 * bits/locfacets.tcc: Same.
7742 * bits/locfacets.h: Same.
7744 Ulrich Drepper <drepper@cygnus.com>
7745 * aclocal.m4: Re-generate.
7746 * configure, configure.in: Same.
7747 * m4/lc_messages.m4: New file.
7749 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7751 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7752 * bits/sstream.tcc: Tweak.
7754 * std/iostream: Put __ioinit inside macro guards.
7756 * src/stlinst.cc: Delete and move to . . .
7757 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7758 * src/Makefile.in: Change.
7759 * src/Makefile.am: Same.
7760 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7762 * testsuite/make_check_libfree++: Efficiently format for minimal
7763 space. Enforce stricter execution tests by enabling
7766 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7768 * docs/text/RELEASE-NOTES: Fix include typo.
7770 * src/Makefile.am (headers): Add istream.tcc.
7771 * src/Makefile.in (headers): Add istream.tcc.
7773 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7775 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7777 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7778 * bits/locfacets.h (num_get::_M_extract): New functin:
7779 consolidate logic for do_get(...) members.
7781 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7782 * testsuite/27/27istringstream_formatted.cc: Add.
7784 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7786 * src/basic_file.cc (__basic_file::open): Fix thinko in
7787 _G_HAVE_IO_FILE_OPEN bits.
7788 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7789 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7790 * src/complex.cc (FCT): Qualify all functions with global namespace.
7791 * src/locale.cc: Don't qualify memcpy and setlocale.
7792 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7793 (__length_error): Likewise, for length_error.
7794 * src/stlinst.cc: Qualify instantiations with std::.
7796 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7798 * C++STYLE: Add ChangeLog guidelines for member functions.
7801 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7802 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7803 docs/text and made less strident.
7805 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7806 * bits/std_fstream.h: Same.
7809 * bits/locfacets.h: Touch.
7811 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7813 * math/cexp.c (cexp): Use NAN instead of nan("").
7814 Reported by joel reed <joelreed@yahoo.com>.
7816 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7817 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7818 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7819 instead of #if cascades.
7820 * libio/genops.c: Likewise.
7821 * libio/ioseekoff.c: Likewise.
7822 * libio/ioseekpos.c: Likewise.
7823 * libio/strops.c: Likewise.
7824 Patch by Chip Salzenberg <chip@perlsupport.com>.
7826 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7828 * docs: New directory.
7829 * docs/html: Likewise.
7830 * docs/text: Likewise.
7831 * docs/image: Likewise.
7833 * bits/std_cmath.h: Add new functions.
7834 (abs): overload for long and double.
7835 (div): overload for long.
7837 * bits/valarray_array.h: Fix.
7838 * bits/gslice.h: Adjust friend.
7839 * bits/slice_array.h: likewise.
7840 * bits/valarray_meta.h: likewise.
7842 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7844 * bits/locfacets.h: More changes, for num_get for insertion
7845 operators for integral types. Comment fields in _Format_cache.
7846 * bits/locfacets.tcc: And here too: add preliminary long version.
7847 * testsuite/27/27istringstream_formatted.cc: Add cases.
7849 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7851 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7852 AC_LC_MESSAGES macro.
7853 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7854 supports LC_MESSAGES.
7855 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7856 * src/locale.cc (locale::_S_normalize_category): Use the
7857 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7858 _G_NO_CLOCALE_HAS_MESSAGES.
7859 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7860 '?:' from '?:\\' so any path beginning with a drive name matches.
7862 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7864 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7866 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7868 * bits/locfacets.h: Tweak.
7869 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7871 * testsuite/21/21nonmember.cc: Same.
7872 * testsuite/21/21compare.cc: Fix license.
7873 * testsuite/27/27istringstream_formatted.cc: New file.
7875 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7877 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7878 _BinBase2: new template classes; put in there to work around a
7879 compiler limitation. The whole valarray architecture is now
7882 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7884 * bits/locfacets.tcc: Fix, format.
7885 * bits/locfacets.h: Fix.
7886 * src/locale.cc: Same, plus format.
7888 * bits/basic_string.h: Re-add definition here.
7889 * src/string.cc: Take out.
7891 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7893 * bits/std_valarray.h: tweak.
7894 * bits/valarray_array.h tweak. use _Expr.
7895 * bits/slice_array.h: likewise.
7896 * bits/gslice_array.h: likewise.
7897 * bits/mask_array.h: likewise.
7898 * bits/indirect_array.h: likewise.
7899 * bits/valarray_meta.h: tweak.
7900 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7901 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7902 _IClos: new template classes.
7903 _Meta: renamed to _Expr. Made template with args.
7904 _Constant: made template with two args.
7906 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7908 * bits/valarray_array.h: tweak.
7910 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7912 * bits/basic_string.h: Whoops--fix blip.
7914 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7916 Update to SGI STL 3.13
7917 * bits/basic_string.h: Add __get_c_string definition.
7918 * stl/bits/stl_range_errors.h: New file.
7919 * stl/bits/std_bvector.h: Same.
7920 * stl/bits/*: Update.
7922 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7924 * bits/slice_array.h: tweak.
7925 * bits/gslice_array.h: tweak.
7926 * bits/mask_array.h: tweak.
7927 * bits/indirect_array.h: tweak.
7928 * bits/valarray_array.h: tweak.
7929 (__valarray_copy): replace copy with memcpy.
7930 * bits/std_valarray.h: use __valarray_copy whenever possible.
7931 use __valarray_fill instead of fill.
7933 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7935 * src/gen-num-limits.cc: new file
7936 * mknumeric_limits: Ditto.
7938 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7940 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7942 * bits/locfacets.h: Add num_get::get methods overloaded for int
7943 and short, to resolve ambiguous overloads in istream insertion
7946 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7948 * bits/std_istream.h: Fix.
7949 * bits/istream.tcc: Fix.
7951 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7953 * testsuite/24/24iterator.cc: fix ++/-- tests
7955 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7957 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7958 * bits/ostream.tcc: Same.
7960 * bits/std_istream.h: Bring over ostream changes, implement member
7961 functions. Baseline.
7962 * bits/istream.tcc: New file.
7964 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7966 * bits/gslice.h (class gslice): fix friends template.
7968 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7970 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7972 * bits/ostream.tcc: Same.
7974 * bits/std_istream.h: Minor tweaks.
7976 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7978 * src/locale-inst.cc: Remove duplicate instantiations.
7979 * bits/locfacets.tcc: Tweak definitions of static member.
7981 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7983 * bits/std_fstream.h: Format: prepend "__" in front of
7984 non-standard typedefs.
7985 * bits/fstream.tcc: Match.
7986 * bits/std_streambuf.h: Format: prepend "__" in front of
7987 non-standard typedefs.
7989 * bits/sstream.tcc: Match.
7990 * bits/std_istream.h: Format.
7991 * src/locale-inst.cc: Add num_get instantiations.
7993 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7994 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7995 _M_streambuf instead. Make initializations sane. Fix
7996 allocation/deallocation of _M_streambuf.
7997 * bits/std_ostream.h: Fix initialization code.
7998 (ctor): Eliminate redundant this->init(), let base class initialize.
7999 (default ctor): New. Assume base classes already initialzed.
8000 * bits/std_istream.h: Parallel work to ostream.
8001 (ctor): Eliminate redundant this->init(), let base class initialize.
8002 (default ctor): New. Assume base classes already initialzed.
8003 Fix initialization of basic_iostream.
8005 * bits/std_fstream.h: While we're at it, make initializations sane
8006 here too. Now matches sstream.h.
8008 * bits/string.tcc: Fix crash in basic_string::compare.
8009 * bits/basic_string.h: And here.
8010 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
8012 * testsuite/make_check_libfree++: Check shared as well.
8013 * testsuite/27/27stringstream.cc: Add bits.
8014 * testsuite/27/27boolfmt.cc: Add bits.
8015 * testsuite/27/27octfmt.cc: Add bits.
8017 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
8019 * configure.in (USE_LONG_DOUBLE): signbitl link error.
8021 * bits/locfacets.h: Fix errors that cause build problems
8022 with current egcs (template parameters have class scope).
8023 * bits/locfacets.tcc: Same.
8024 * src/locale-inst.cc: Same, clean.
8025 * src/misc-inst.cc: Same, clean.
8027 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8029 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8030 standard. Re-apply this previous patch.
8032 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
8034 * bits/basic_string.h: Use __normal_iterator<> for iterators.
8035 * bits/std_sstream.h: Support __normal_iterator<> iterators.
8036 * bits/string.tcc: Ditto.
8037 * src/misc-inst.cc: Ditto.
8038 * src/locale-inst.cc: Ditto.
8039 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
8040 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
8041 * testsuite/24/24iterator.cc: Add test cases for basic_string and
8044 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
8046 * bits/locfacets.tcc: Remove macro hack.
8047 * bits/locfacets.h: Tweaks.
8048 * src/misc-inst.cc: Weed out locale-related instantiations.
8049 * src/locale-inst.cc: Same.
8051 * RELEASE-NOTES: Make more changes.
8052 * bits/c++config.h: Bump version number.
8054 * testsuite/make_check_libfree++: Collect diagnostics.
8056 * bits/std_ostream.h: Fix ostream initialization/destruction
8057 problem, related to dtor cleanup and new cached facets, agggggggh.
8058 * bits/ostream.tcc: Tweak.
8059 * bits/locfacets.h: Remove all friends of iostream classes.
8060 * bits/ios_base.h: Same.
8061 * bits/streambuf.tcc: Tweak.
8062 * bits/std_streambuf.h: Tweak.
8063 * bits/std_fstream.h: Tweak.
8064 * bits/fstream.tcc: Tweak.
8065 * src/stdstreams.cc: Tweak.
8066 * src/ios.cc: Close streams.
8068 * math/Makefile.in: Add missing files for shared link errors.
8069 * math/Makefile.am: Same.
8071 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8073 * src/locale-inst.cc: More wchar_t instantiations.
8074 * src/misc-inst.cc: Missed a few bits.
8075 * testsuite/make_check_libfree++: Add static and shared runs.
8076 * src/ios.cc: Add clarity to ios_base::Init::~Init().
8078 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8080 * bits/std_ostream.h: Format, expunge, simplify. Add cached
8081 facets. Resolve link errors.
8082 * bits/ostream.tcc: Same.
8083 * src/misc-inst.cc: Add ostream, wostream instantiations.
8084 * src/Makefile.am: Add missing bits for stdstreams.cc.
8085 * src/Makefile.in: Same.
8086 * bits/std_iosfwd.h: Format.
8087 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
8088 num_put so that cached _M_fnumput pointer can be deleted in
8089 basic_ostream's dtor. Now everybody plays nice.
8091 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8093 * bits/gslice.h (class gslice): Make friends valarray,
8094 gslice_array and _GliceExpression.
8096 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
8098 * RELEASE-NOTES: Update.
8099 * src/ios.cc: Use do proper init.
8100 * bits/std_streambuf.h: Tweak.
8101 * bits/std_iostream.h: Take out static member.
8102 * std/iostream: Put here.
8103 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
8104 * bits/std_istream.h: Ditto.
8105 * bits/basic_ios.h: Format.
8106 * bits/ostream.tcc(write): Fix.
8107 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
8108 initialization of the fstream class.
8109 * src/stdstreams.cc: I'm baaaaaaaack.
8111 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8113 * bits/ios_base.h: Correct comments. Add ios_base::init()
8114 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
8115 * src/misc-inst.cc: Add instantiations here.
8116 * src/ios.cc: Clean.
8117 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
8118 * src/stdstreams.cc: Delete this file, as now unnecessary.
8119 * bits/fstream.tcc: Add missing initialization bits for ctor.
8120 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
8121 * src/Makefile.in (libstdc___la_OBJECTS): And here.
8123 * bits/streambuf.tcc: Tweak.
8124 * bits/sstream.tcc: Here too.
8126 * bits/fstream.tcc: And change definition as well.
8127 * bits/std_fstream.h: Change ctor.
8128 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
8129 * bits/basic_file.h: Add declarations.
8131 * testsuite/27/27hello.cc: New file.
8133 * bits/std_ostream.h: Move flush() inline.
8134 * bits/ostream.tcc: From here.
8136 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
8137 * bits/std_ios.h: Change include libio to only when necessary.
8138 * bits/fpos.h: Like here.
8139 * ios_base.h: And here.
8141 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
8142 * bits/locfacets.tcc: Same.
8143 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8144 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8146 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8148 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8150 * bits/std_streambuf.h: Clean, tweak.
8151 * bits/std_fstream.h: Same.
8152 * bits/std_sstream.h: Same.
8153 * bits/streambuf.tcc: Move most member functions out-of-line.
8154 * bits/fstream.tcc: Same.
8155 * bits/streambuf.tcc: Same.
8157 * bits/basic_file.h(filepos_cur): Set correctly.
8158 (filepos_beg): Same.
8159 (seekpos): Change to __c_streampos.
8160 * src/basic_file.cc (std): Change to __c_streampos.
8162 * testsuite/27/27filebuf.cc: Round one is finished.
8163 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8164 * testsuite/27/27filebuf-3.tst: Same.
8166 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8168 * bits/basic_file.h: Fix typo, add comments about what to expect
8169 from the various member functions in __basic_file.
8171 * bits/std_fstream.h: Re-do sync/underflow to work
8172 together. Change from sys_read to xsgetn and from sys_write to
8173 xsputn. As it should have been from the beginning. . .
8175 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8177 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8179 * bits/basic_file.h(file_beg): New function.
8182 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8183 * bits/std_fstream.h: More _M_mode refinements.
8184 (synch): Add bits for out mode only.
8185 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8186 * bits/std_sstream.h: Ditto.
8188 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8190 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8191 * testsuite/27/27filebuf.cc: Modify.
8192 * bits/c++config.h: Fix.
8194 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8196 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8197 code in place that diverges from the final standard, but has been
8198 brought up on the library mailing list.
8200 * bits/std_fstream.h(underflow): Position all three internal
8201 buffer pointers at the same initial position. Re-implement with
8202 basic_filebuf abstraction.
8206 * bits/std_sstream.h: Move _M_mode down into base class
8208 * bits/sstream.tcc: Ditto.
8209 * bits/std_streambuf.h: Ditto.
8211 * testsuite/27/27filebuf.cc: Tweak.
8213 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8215 * bits/std_sstream.h: Ditto.
8216 * bits/std_fstream.h: Fix blip.
8218 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8220 * C++STYLE: Add cases.
8221 * bits/std_fstream.h: Format.
8222 * bits/std_streambuf.h: Ditto.
8223 * bits/std_sstream.h: Ditto.
8225 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8226 return type for _IO_file_seek and __basic_file::seek the same size.
8227 * bits/basic_file.h: Ditto.
8229 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8231 * bits/fstream.tcc: Add include guards.
8232 * src/misc-inst.cc: Add instantiations for shared libes.
8233 * src/locale-inst.cc: Add instantiaions for use_facet.
8234 * bits/loccore.h: Remove specialization foward decls for
8235 use_facet<ctype>: perhaps add the whole lot of them later on.
8236 * bits/std_fstream.h: Fix.
8237 * bits/locfacets.h: Ditto.
8238 * src/stdstreams.cc: Disable wide streams for now.
8240 * src/Makefile.am (CXXFLAGS): Change up.
8241 * src/Makefile.in (CXXFLAGS): Ditto.
8243 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8245 * src/basic_file.cc: Change to ios_base::seekdir from int.
8246 * bits/basic_file.h: Ditto.
8247 * bits/locfacets.h : Fix blip with new guard macros.
8249 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8251 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8252 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8254 * amm1/locale: Remove unused defines.
8255 * generic/locale: Ditto.
8256 * src/ios.cc: Ditto.
8257 * src/locale.cc: Ditto.
8258 * src/locale-inst.cc: Ditto.
8259 * src/localename.cc: Ditto.
8260 * src/stdstreams.cc: And here.
8262 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8263 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8264 * bits/loccore.tcc: Ditto.
8265 * bits/locfacets.h: Ditto.
8266 * src/locale-inst.cc: Ditto.
8267 * bits/locfacets.tcc: Add do_put long long here.
8269 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8271 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8272 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8273 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8274 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8275 * bits/std_fstream.h: Tweak.
8277 * bits/char_traits.h: Remove fpos definitions from here. . .
8278 * bits/fpos.h: New file, put them here. Eventually, this may allow
8279 the severing of char_traits and fpos dependancies.
8280 * src/Makefile.in: Add fpos.h.
8281 * src/Makefile.am: Ditto.
8282 * bits/std_string.h: Add fpos.h include here.
8283 * bits/std_ios.h: And here.
8285 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8286 * bits/ios_base.h: Remove cstdio include.
8287 * bits/std_ios.h: ... Place here.
8289 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8291 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8292 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8294 * bits/basic_file.h: Comment, adjust arguments.
8295 * src/basic_file.cc: Ditto.
8297 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8298 type: check and convert accordingly. Re-interpet "resultant stream
8299 position" to indicate external byte sequence location, not internal
8302 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8304 * mkcshadow: And change copyright here.
8305 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8306 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8307 stl_thread.h, and stl_iterator_base.h.
8308 * src/Makefile.in (CXXFLAGS): Ditto.
8309 * stl/backward/pthread_alloc.h: Remove.
8311 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8313 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8315 * bits/std_fstream.h (pbackfail): Correct.
8317 (seekoff): Implement.
8319 * testsuite/27/27filebuf.cc: Add test cases.
8321 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8323 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8324 with the external buffers, and stop mucking around with setting
8325 and re-setting the external buf's pointers. Aka, clarity and
8326 simplicity rule the day.
8327 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8328 Remove partial result and support code.
8330 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
8332 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8333 list of function which have to be replaced.
8334 Remove expf from list of functions to test for.
8335 Define USE_LONG_DOUBLE in case the libm has partial support for long
8337 * Makefile.in: Regenerated.
8338 * config.h.in: Likewise.
8339 * configure: Likewise.
8340 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8341 * libio/Makefile.in: Regenerated.
8342 * src/Makefile.in: Regenerated.
8343 * string/Makefile.in: Regenerated.
8344 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8345 atan2f.c, expf.c, and $(EXTRA_yes).
8346 (EXTRA_yes): Add signbitl.c mycabsl.c.
8347 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8348 (libmath_la_SOURCES): remove long double versions.
8349 * math/Makefile.in: Regnerated.
8350 * math/atan2f.c: New file.
8351 * math/copysignf.c: New file.
8352 * math/expf.c: New file.
8353 * math/hypot.c: New file.
8354 * math/hypotf.c: New file.
8355 * math/hypotl.c: New file.
8356 * math/cargf.c: Use correct function and macro names.
8357 * math/ccos.c: Likewise.
8358 * math/ccosh.c: Likewise.
8359 * math/ccoshf.c: Likewise.
8360 * math/ccoshl.c: Likewise.
8361 * math/cexp.c: Likewise.
8362 * math/cexpf.c: Likewise.
8363 * math/cexpl.c: Likewise.
8364 * math/clog.c: Likewise.
8365 * math/clog10.c: Likewise.
8366 * math/clog10f.c: Likewise.
8367 * math/clog10l.c: Likewise.
8368 * math/clogf.c: Likewise.
8369 * math/clogl.c: Likewise.
8370 * math/copysignf.c: Likewise.
8371 * math/csin.c: Likewise.
8372 * math/csinf.c: Likewise.
8373 * math/csinh.c: Likewise.
8374 * math/csinhf.c: Likewise.
8375 * math/csinhl.c: Likewise.
8376 * math/csinl.c: Likewise.
8377 * math/csqrt.c: Likewise.
8378 * math/csqrtf.c: Likewise.
8379 * math/csqrtl.c: Likewise.
8380 * math/ctan.c: Likewise.
8381 * math/ctanf.c: Likewise.
8382 * math/ctanh.c: Likewise.
8383 * math/ctanhf.c: Likewise.
8384 * math/ctanhl.c: Likewise.
8385 * math/ctanl.c: Likewise.
8387 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8389 * testsuite/27/27filebuf.cc: Add cases.
8390 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8391 * bits/std_streambuf.h: Simplify, always have one return statement.
8392 * bits/std_fstream.h: Tweak comments in underflow.
8394 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
8396 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8397 * ltconfig: Likewise.
8399 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8401 * src/locale.cc: Fix assert.
8403 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8405 FIXME: Still need some kind of solution for undefined math symbols.
8406 * src/Makefile.in (locale-inst.lo): Compile with
8407 -fimplicit-templates to fix Solaris link problem.
8408 * src/Makefile.am: Ditto.
8409 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8410 * libio/Makefile.am: Ditto.
8411 * src/locale.cc: Provide some kind of def for _S_tolower.
8412 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8413 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8415 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8417 * bits/loccore.tcc: Move member-template ctor inline...
8418 * bits/loccore.h: ...here.
8419 * src/locale-inst.cc: Add instantiation here.
8421 * testsuite/27/27stringstream.cc: Tweak.
8423 * bits/ostream.tcc: Include sbuf_iter.h.
8425 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8426 passing to num_put, as num_put's first argument is an interator,
8429 * testsuite/make_check_libfree++: New file, runs through the
8430 existing test files in the testsuite directory and makes sure
8433 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8435 * testsuite/21/21compare.cc: Fix typo.
8436 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8437 Don't try to provide non-linux versions, since it's impossible to
8438 initialize their const references with the integer 0, no matter
8439 how we try to cast it.
8441 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8443 * bits/std_locale.h: Move std_vector.h dependency.
8444 * bits/std_ios.h: ...from here.
8445 * bits/std_string.h: ...and here.
8446 * src/locale.cc: ..to here.
8447 * bits/loccore.h: Ditto, add vector forward declaration,
8448 make locale::_Impl data members pointers not containers.
8449 * bits/loccore.tcc: Move out-of-line for now.
8450 * bits/locfacets.h: Move vector dependency from here...
8451 * bits/locfacets.tcc: ...to here.
8452 * src/localename.cc: ..and here.
8453 * src/locale-inst.cc: Add include of locfacets.tcc here.
8455 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8456 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8457 * bits/string.tcc: Tweak.
8458 * src/string.cc: And add __get_c_string def here.
8460 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8462 * src/stlinst.cc: Add include of stl_config.h.
8464 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8466 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8467 * stl/bits/stl_config.h: Tweak, update.
8468 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8470 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8471 * stl/bits/std_functional.h: Ditto.
8473 * stl/bits/stl_string.h: New file, SGI's string
8474 implementation. For reference only, corresponding to string in
8476 * stl/bits/stl_char_traits.h: As above.
8478 * stl/bits/pthread_allocimpl.h: New file corresponding to
8480 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8482 * stl/bits/stl_threads.h: New file.
8484 Note that SGI STL 3.12's file iterator.h is not used.
8485 * stl/bits/std_iterator.h: Ditto.
8486 * stl/bits/stl_iterator.h: Drop in replace.
8487 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8489 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8490 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8491 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8492 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8493 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8494 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8495 preprocessor guards, but fixup include paths and names according
8496 to new directory layout).
8498 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8500 * bits/std_fstream.h: Remove _M_open data member.
8501 * bits/fstream.tcc: Ditto.
8503 * src/locale.cc: Tweak.
8505 * bits/std_sstream.h: Simplify.
8507 * bits/std_streambuf.h: Simplify.
8508 (sputc): Use correct definition of "write area."
8510 * bits/std_fstream.h: Fix uflow.
8511 * src/basic_file.cc: Tweak.
8512 * testsuite/27/27filebuf.cc: Add tests.
8513 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8515 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8517 * bits/ios_base.h: Make protected.
8519 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8521 * bits/ios_base.h: Changes in the class ios_base:
8522 Rename _M_exceptions member to _M_exceptions_data.
8523 Make the member functions rdstate(), clear(), exceptions()
8524 and exceptions(iostate) protected and add the "_M_" prefix.
8525 * src/ios.cc: Ditto.
8526 * bits/basic_ios.h: Adapt the changes from ios_base.
8528 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8530 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8531 * bits/fstream.tcc: Ditto.
8533 * bits/std_fstream.h (underflow): Resize deallocates memory and
8534 resets pointers in the internal cache according to new _M_buf. . dooh!
8535 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8537 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8539 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8542 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8544 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8545 into account partial returns.
8546 (codecvt::do_out): Likewise.
8548 * bits/char_traits.h: Change streamsize to be a signed type, as
8549 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8550 * bits/std_streambuf.h: Make
8551 in_avail() and showmanyc() have streamsize as return types, so
8552 that showmanyc()'s return of eof won't underflow in_avail's return
8553 value and give a bogus result.
8554 * src/misc-inst.cc: And more changes. . .
8556 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8557 track of joint in/out pointers into the internal buffer.
8558 (sbumpc): Add check for _M_buf_unified.
8562 * testsuite/27/27filebuf.cc: Add cases.
8563 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8565 * bits/std_fstream.h (close): Fix logic error.
8566 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8567 (showmanyc): Add underflow component, to match the standard.
8569 * bits/fstream.tcc: Ditto.
8571 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8573 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8574 * src/basic_file.cc: Ditto.
8575 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8576 format for dealing with _IO_file in libio.
8578 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8580 * src/basic_file.cc: Include fcntl.h.
8582 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8584 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8586 * bits/std_streambuf.h: Redefine read posion.
8588 * bits/std_fstream.h: Temporary hack to get vtables working again.
8589 * bits/basic_file.h: Revert.
8590 * src/basic_file.cc: Ditto.
8591 * testsuite/27/27filebuf.cc: Tweak.
8593 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8595 * bits/basic_file.h: Add showmanyc, underflow. .
8596 * src/basic_file.cc: Ditto.
8598 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8601 * testsuite/27/27filebuf.cc: Add testcases.
8602 * src/basic_file.cc: Add O_CREAT to open calls with
8603 ios_base::trunc as part of the open mode.
8605 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8607 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8609 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8611 * src/ios.cc (clear): Correct typo.
8612 * bits/ios_base.h: Tweak spacing.
8614 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8616 * bits/basic_ios.h: fix basic_ios::fail()
8618 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8620 * bits/basic_file.h: Include libioP.h from libio instead of here.
8621 * bits/iolibio.h: Remove.
8622 * bits/libio.h: Remove.
8624 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8626 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8628 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8630 * Makefile.am (SUBDIRS): Add libio.
8631 * configure.in: Add rule to test for glibc2.
8633 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8634 (libstdc___la_LIBADD): Add libio.la.
8636 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8638 * bits/basic_file.h: Make new abstraction for underlying C library
8639 FILE, named __basic_file.
8640 * src/basic_file.cc: New file.
8641 * bits/os_raw.h: Delete.
8642 * src/os_raw.cc: Delete.
8643 * src/Makefile.in: Tweak.
8644 * src/Makefile.am: Tweak.
8645 * bits/iolibio.h: Add this here, for the time being.
8646 * bits/libioP.h: Ditto.
8648 * bits/ios_base.h: Delete unused defines.
8649 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8650 strcpy to copy between the two buffers.
8652 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8653 * testsuite/27/27filebuf.cc: New file.
8654 * testsuite/27/27filebuf-1.txt: Data file for above test.
8655 * testsuite/27/27filebuf-2.txt: Ditto.
8657 * bits/std_streambuf.h (uflow): Re-implement default.
8658 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8659 Re-implement virtual functions.
8660 * bits/fstream.tcc: Delete unused mf's.
8662 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8664 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8665 * bits/std_fstream.h: Ditto.
8666 * src/stdstreams.cc: Ditto.
8668 * math/cpowl.c: Fix header typo with last change.
8670 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8672 * COPYING: New file (GPL v 2).
8673 * LICENSE.STD: Remove.
8674 * ./*: Change license.
8676 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8678 * bits/std_streambuf.h (std): Remove static on _M_init.
8679 * bits/streambuf.tcc (std): Ditto.
8681 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8682 state_type and codecvt_type members, the allocation of an internal
8683 buffer, the streamlined codecvt calls, etc.
8685 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8687 * bits/std_sstream.h: Tweak.
8688 * bits/fstream.tcc: Remove unused stubs.
8689 * bits/std_fstream.h: Tweak.
8691 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8693 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8694 Remove unused _IO_* members, possibly put into filebuf, which may
8696 * bits/std_fstream.h: Add _M_flag.
8697 * bits/sbuf_iter.h: Tweak.
8699 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8700 * bits/ios_base.h: Use.
8702 * src/stdstreams.cc: Modify to reflect standard ctors for
8704 * src/misc-inst.cc: Ditto.
8706 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8707 underlying C library calls instead of the underlying unix
8709 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8710 string as per p.659.
8711 (_S_os_close): Model on fopen.
8712 (_S_os_read): Model on fread.
8713 (_S_os_write): Model on fwrite.
8714 (_S_os_seek): Model on fseek.
8716 * bits/ios_base.h: Tweak.
8717 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8718 * bits/std_sstream.h: Tweak.
8719 * bits/sstream.tcc: Remove old, uncalled code.
8720 * bits/std_fstream.h: Major reconstruction.
8721 * bits/fstream.tcc: Disable for the time being.
8723 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8725 * bits/basic_string.h: Fix insert method.
8726 * stl/bits/stl_iterator.h: Remove previous hack.
8727 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8728 * bits/std_sstream.h: Fix more regressions.
8729 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8731 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8733 * bits/basic_string.h: Tweak.
8735 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8736 that string::append can be instantiated. HACK--checkin
8737 basic_string::iterator class.
8739 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8741 * bits/std_sstream.h: Tweak.
8742 * bits/sstream.tcc: Tweak ctors.
8744 FIXME invalid friend defs. . WHERE ARE THEY??
8746 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8747 names for basic_streambuf data members.
8749 * bits/std_streambuf.h: Add getloc() initialization bits.
8750 basic_streambuf(): Initialize with global locale data.
8751 imbue(): Set _M_init.
8753 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8754 stream pos == pos_type(off_type(-1)).
8755 in_avail(): Complete default implementation.
8756 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8757 underflow, uflow, xsgetn, showmany, sync: Ditto.
8759 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8761 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8762 re-populate with in-line member functions that are too big. Add
8763 initialization for _M_init.
8765 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8767 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8768 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8771 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8773 * bits/c++config.h (_G_DEPRICATED): Add.
8774 (_G_USE_WCHAR_T): Add.
8775 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8776 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8777 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8778 * bits/std_fstream.h: Add comment for implementation.
8779 * src/streambuf.cc: Remove.
8780 * src/Makefile.in: Remove streambuf.lo.
8781 * src/misc-inst.cc: Tweak.
8783 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8785 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8786 * testsuite/27stringstream.C: Modify.
8788 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8790 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8791 (libstdc___la_SOURCES): Ditto.
8793 * bits/streambuf.tcc: Tweak.
8795 * src/streambuf.cc: New file, add out-of-line definitions for
8798 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8799 Comment out wchar_t versions of the buffer instantiations, for now.
8801 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8802 Remove template wrapper around _Streambuf_base.
8803 Move IO_* data members into _Streambuf_base.
8804 Move _Streambuf_base members into streambuf.tcc.
8806 * bits/c++config.h (_G_USE_LIBIO): Enable.
8808 1998-11-02 Nathan Myers <ncm@cantrip.org>
8810 * CHECKLIST: downgrade iterator implementations
8811 * DESIGN: fill out notes about unimplemented features
8813 1998-10-31 Nathan Myers <ncm@cantrip.org>
8815 * CHECKLIST: itemized list of all interfaces, and status of each.
8817 1998-10-30 Nathan Myers <ncm@cantrip.org>
8819 * RELEASE-NOTES: add notes about optional includes, linking, running
8820 * src/Makefile.am: handle header installs properly
8821 * src/Makefile.in: regenerate from new src/Makefile.am
8823 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8825 * bits/basic_string.h: Revert npos pending ciso646.
8826 * src/Makefile.am: Revert CXX flags for now.
8827 * src/Makefile.in: Ditto.
8829 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8831 * bits/std_sstream.h: Re-order ctors to put base before member
8834 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8836 * stl/bits/std_memory.h: Fix typo.
8838 1998-10-30 Nathan Myers <ncm@cantrip.org>
8840 * src/string[A-Z]+.cc: change back to include "string.cc".
8841 * src/Makefile.am: revert filename changes. We need a different
8842 way to keep filenames in std/ from confusing Make.
8843 * bits/basic_string.h: define _S_max_size right, return it from
8844 string::max_size(); churn definition of npos again.
8845 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8846 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8847 * BUGS: clear cruft.
8848 * C++STYLE: Touchup for release.
8849 * CHECKLIST: Touchup for release.
8851 * LICENSE.STD: Add requirement to retain copyrights and to provide
8852 the license with any copies.
8853 * README: Update for release.
8854 * TODO: Minor touchup for release.
8855 * RELEASE-NOTES: prepare for release
8857 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8859 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8861 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8863 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8864 CXX to generate the shared object.
8866 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8868 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8870 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8871 2, from npos, solving infinite loop problems.
8873 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8875 * src/Makefile.am: Add rules to install headers.
8877 1998-10-29 Nathan Myers <ncm@cantrip.org>
8879 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8880 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8883 * shadow/bits/wrap_libio.h:
8884 * shadow/bits/wrap_unistd.h: New files.
8886 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8888 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8889 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8891 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8893 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8894 is not compiled with -fno-implicit-templates in effect.
8896 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8897 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8898 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8900 * src/stringADDPS.cc: Likewise.
8901 * src/stringADDSC.cc: Likewise.
8902 * src/stringADDSP.cc: Likewise.
8903 * src/stringADDSS.cc: Likewise.
8904 * src/stringBIST.cc: Likewise.
8905 * src/stringBOST.cc: Likewise.
8906 * src/stringCHTR.cc: Likewise.
8907 * src/stringEQPS.cc: Likewise.
8908 * src/stringEQSP.cc: Likewise.
8909 * src/stringEQSS.cc: Likewise.
8910 * src/stringEXTRA.cc: Likewise.
8911 * src/stringGEPS.cc: Likewise.
8912 * src/stringGESP.cc: Likewise.
8913 * src/stringGESS.cc: Likewise.
8914 * src/stringGETLI.cc: Likewise.
8915 * src/stringGTPS.cc: Likewise.
8916 * src/stringGTSP.cc: Likewise.
8917 * src/stringGTSS.cc: Likewise.
8918 * src/stringINSER.cc: Likewise.
8919 * src/stringLEPS.cc: Likewise.
8920 * src/stringLESP.cc: Likewise.
8921 * src/stringLESS.cc: Likewise.
8922 * src/stringLTPS.cc: Likewise.
8923 * src/stringLTSP.cc: Likewise.
8924 * src/stringLTSS.cc: Likewise.
8925 * src/stringMAIN.cc: Likewise.
8926 * src/stringNEPS.cc: Likewise.
8927 * src/stringNESP.cc: Likewise.
8928 * src/stringNESS.cc: Likewise.
8929 * src/stringSCOPY.cc: Likewise.
8930 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8932 * src/wstringADDPS.cc: Likewise.
8933 * src/wstringADDSC.cc: Likewise.
8934 * src/wstringADDSP.cc: Likewise.
8935 * src/wstringADDSS.cc: Likewise.
8936 * src/wstringBIST.cc: Likewise.
8937 * src/wstringBOST.cc: Likewise.
8938 * src/wstringCHTR.cc: Likewise.
8939 * src/wstringEQPS.cc: Likewise.
8940 * src/wstringEQSP.cc: Likewise.
8941 * src/wstringEQSS.cc: Likewise.
8942 * src/wstringEXTRA.cc: Likewise.
8943 * src/wstringGEPS.cc: Likewise.
8944 * src/wstringGESP.cc: Likewise.
8945 * src/wstringGESS.cc: Likewise.
8946 * src/wstringGETLI.cc: Likewise.
8947 * src/wstringGTPS.cc: Likewise.
8948 * src/wstringGTSP.cc: Likewise.
8949 * src/wstringGTSS.cc: Likewise.
8950 * src/wstringINSER.cc: Likewise.
8951 * src/wstringLEPS.cc: Likewise.
8952 * src/wstringLESP.cc: Likewise.
8953 * src/wstringLESS.cc: Likewise.
8954 * src/wstringLTPS.cc: Likewise.
8955 * src/wstringLTSP.cc: Likewise.
8956 * src/wstringLTSS.cc: Likewise.
8957 * src/wstringMAIN.cc: Likewise.
8958 * src/wstringNEPS.cc: Likewise.
8959 * src/wstringNESP.cc: Likewise.
8960 * src/wstringNESS.cc: Likewise.
8961 * src/wstringSCOPY.cc: Likewise.
8962 * src/string.cc: Remove now unneeded #defines now.
8964 1998-10-29 Nathan Myers <ncm@cantrip.org>
8966 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8968 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8969 add definitions for double, long double, const void*.
8970 * bits/std_ostream.h: Move op<<'s back into class ostream,
8971 define some in-line.
8972 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8973 string construction from input iterators that Brendan reported.
8976 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8978 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8980 * bits/valarray_meta.h (class _Constant): Move declaration to the
8981 top, so the rest of the file can grok it.
8982 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8984 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8986 (basic_stringstream::str, both instances): Likewise.
8988 1998-10-28 Nathan Myers <ncm@cantrip.org>
8990 * bits/locfacets.h: fix num_put<>::falsename()
8991 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8992 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8993 * bits/locfacets.tcc: touch up _S_group_digits.
8994 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8996 1998-10-27 Nathan Myers <ncm@cantrip.org>
8998 * stl/bits/stl_config.h: Turn off long long support, for now.
8999 * src/locale-inst.cc: Instantiate num_put<> only for
9000 ostreambuf_iterator, num_get only for istreambuf_iterator.
9001 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
9002 add lots of new instantiations for num_put support function templates;
9003 remove junk about __match_parallel for ostreambuf_iterator.
9005 1998-10-27 Nathan Myers <ncm@cantrip.org>
9007 * bits/locfacets.tcc: Make num_put's digit grouping work.
9008 * bits/string.tcc: More uglification.
9009 * src/ios.cc: initialize format cache right
9011 1998-10-26 Nathan Myers <ncm@cantrip.org>
9013 * bits/basic_string.h: Uglify more names.
9014 * bits/fstream.tcc: Rewrite some filebut output handling.
9015 * bits/ios_base.h: Cosmetic.
9016 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
9017 Also, specialize its default ctor for optimal default case.
9018 #ifdef out "long long" prototypes for now.
9019 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
9020 implementation for integer types. (Still needs optimized
9021 std::copy() applied to ostreambuf_iterator to be optimal.)
9022 * bits/ostream.tcc: Write operator<< for long, bool types.
9023 Make other operators<< non-members, per spec. (Many still
9024 not implemented.) Identify those that fail to create a sentry.
9025 * bits/sbuf_iter: Cosmetic.
9026 * bits/std_fstream.h: Add some filebuf members.
9027 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
9028 * bits/std_ostream.h: Make member operators<< global, per spec.
9029 (Should do the same in std_istream.h.)
9030 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
9031 * bits/string.tcc: Uglify names
9032 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
9033 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
9034 for optimal default behavior.
9036 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
9038 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
9040 1998-10-21 Nathan Myers <ncm@cantrip.org>
9042 * src/locale.cc: make ctype operations actually work for glibc
9043 * CHECKLIST: add a comprehensive (i.e. huge) implementation
9044 checklist of stdlib facilities. Not filled in yet.
9046 1998-10-20 Nathan Myers <ncm@cantrip.org>
9048 * bits/string.tcc: fix patching NULs on string ends.
9050 1998-10-19 Nathan Myers <ncm@cantrip.org>
9052 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
9053 iterator forward declarations
9054 * bits/sbuf_iter.h: eliminate default template argument definitions
9055 on streambuf iterators (rely on <iosfwd> decls).
9056 * TODO: add note about lazy facet construction
9057 * bits/basic_ios.h: hit operator void* again. This should be the
9058 last time we need to touch it.
9059 * bits/basic_ios.h: copyfmt now returns *this.
9060 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
9061 * bits/basic_string.h: put back overloaded constructors; adjust
9062 behavior for default allocator on copy constructor.
9063 * bits/char_traits.h: make not_eof return correct type.
9064 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
9065 cannot be in non-standard headers or we get include loops (bad)
9066 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
9067 * bits/loccore.h: add apparatus to support lazy construction of
9069 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
9070 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
9071 locale use_facet<> failure.
9072 * bits/std_locale.h: same.
9073 * bits/std_string.h: same.
9074 * bits/std_stdexcept.h: change exception member __msg from a
9075 reference to a regular object.
9076 * bits/string.tcc: add pasting a NUL on the end of strings after
9077 each operation. We had already left room for it, but previously
9078 plugged it only on a call to c_str(), but the WG changed the
9079 requirement when I wasn't looking. (Can't leave them alone for
9080 a second without they break something else.)
9081 * bits/valarray_meta.h: add Gaby's changes from 981018.
9082 * src/locale.cc: add new type _Bad_use_facet to be thrown on
9083 failure of use_facet<>().
9084 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
9085 comment out leftover member definitions
9087 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
9089 * string/Makefile.am: Revert last change.
9090 * math/Makefile.am: Likewise.
9092 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9094 * bits/std_sstream.h: Fix typo.
9096 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9098 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
9100 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
9101 * bits/std_stdexcept.h: Remove.
9103 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9105 * src/misc-inst.cc: Tweak again.
9107 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
9108 * bits/sstream.tcc: New file.
9110 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9112 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
9113 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
9116 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
9118 (INFINITE_P): Use IS_INF macro if available.
9120 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9122 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
9124 * string/Makefile.am: Likewise.
9126 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
9128 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
9130 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
9131 endianess is available run AC_C_BIGENDIAN.
9133 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
9134 fixincludes is fixed.
9135 * math/clogl.c: Likewise.
9136 * math/csqrtl.c: Likewise.
9137 * math/mycabsl.c: Likewise.
9139 * math/mathconf.h: Include machine/endian.h if possible. If no
9140 header describing endianess is available rely on WORDS_BIGENDIAN
9142 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
9143 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9146 * src/complex.cc (polar): Don't use sincos on OSF machines.
9148 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9150 * src/locale-inst.cc: Don't instantiate time_get for
9151 ostreambuf_iterators as time_get::do_get_weekday and
9152 time_get::do_get_monthname use __match_parallel, which is illegal
9153 for ostreambuf_iterators to use, as they don't have operator== or
9155 * bits/std_stdexcept.h: Add dtor definitions.
9156 Use stl/bits/std_stdexcept.h instead of this file?
9157 * bits/sbuf_iter.h : Tweak.
9158 * src/misc-inst.cc: Tweak.
9160 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9162 * bits/std_stdexcept.h: New file.
9163 * src/stdexcept.cc: Define the following:
9165 runtime_error::what()
9167 * src/misc-inst.cc: New file.
9168 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9169 (libstdc___la_OBJECTS): Add misc-inst.lo.
9171 * bits/basic_string.h: Disable non-standard ctor declarations.
9172 * bits/string.tcc: Disable definitions as well.
9173 * src/string.cc: Disable <ios> dependancies.
9174 * bits/sbuf_iter.h (std): Add default to template parameter for
9175 ostreambuf_iterator and istreambuf_iterator.
9176 * bits/std_iosfwd.h: Change istreambuf_iterator to
9177 basic_istreambuf_iterator. Likewise for ostreambuf.
9178 * bits/locfacets.tcc (__match_parallel): Fix typo.
9179 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9181 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9182 * bits/std_istream.h: Define the following:
9183 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9184 get (char_type* __s, streamsize __n, char_type __delim);
9185 getline (char_type* __s, streamsize __n, char_type __delim)
9186 * bits/loccore.h : FIXME friend template code for use_facet.
9187 Add std_stdexcept.h include so that range_error will be defined.
9188 Add explicit conversion to string for range_error throws. (HACK?)
9190 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9192 * configure.in: Check for sincos, sincosf, and sincosl.
9193 * src/complex.cc (polar): Use sincos if available.
9195 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9196 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9198 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9200 * math/cpow.c: Use c_log, not clog.
9201 * math/cpowf.c: Likewise.
9202 * math/cpowl.c: Likewise.
9204 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9207 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9208 isfinite macro if it is available.
9209 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9211 * math/ccosf.c: Use appropriate test macros for this type.
9212 * math/ccoshf.c: Likewise.
9213 * math/ccoshl.c: Likewise.
9214 * math/ccosl.c: Likewise.
9215 * math/cexpf.c: Likewise.
9216 * math/cexpl.c: Likewise.
9217 * math/clog10f.c: Likewise.
9218 * math/clog10l.c: Likewise.
9219 * math/clogf.c: Likewise.
9220 * math/clogl.c: Likewise.
9221 * math/csinf.c: Likewise.
9222 * math/csinhf.c: Likewise.
9223 * math/csinhl.c: Likewise.
9224 * math/csinl.c: Likewise.
9225 * math/csqrtf.c: Likewise.
9226 * math/csqrtl.c: Likewise.
9227 * math/ctanf.c: Likewise.
9228 * math/ctanhf.c: Likewise.
9229 * math/ctanhl.c: Likewise.
9230 * math/ctanl.c: Likewise.
9232 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9234 * bits/basic_ios.h: Fix previous change.
9236 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9238 * bits/basic_ios.h: Add const_cast<basic_ios&>
9239 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9241 * bits/char_traits.h: No _CharT for specialization, change to 0.
9242 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9243 constant-initializer.
9244 * bits/locfacets.tcc: Add template parameter to initialization list.
9246 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9248 * bits/basic_string.h: Should just be <, not <=.
9250 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9252 * bits/string.tcc (compare): Fix for strings that are similar, but
9253 not the same length.
9255 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
9257 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9258 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9259 We can't check for __GLIBC__ here, since this header can be read
9260 before any system one (that would lead to features.h) being used.
9262 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9264 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9265 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9267 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9268 LONGLONG_{MIN,MAX} which I can't find the origin of.
9270 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
9272 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9273 should this come from, if not iostream.h?
9274 (class istream_iterator): Make the new operator!= a friend also.
9276 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9277 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9278 _G_config.h like the egcs one does.
9280 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
9282 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9284 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9285 _Expr1 (or _Expr_def if it's taken), and change definitions.
9286 Avoids redecl of the template parm.
9288 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9289 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9291 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9294 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9295 be a better way to do this.
9297 * src/stlinst.cc: New file.
9299 * BUGS: New file, with various discovered bugs that need to be
9302 * Makefile.in, math/Makefile.in, string/Makefile.in,
9303 src/Makefile.in: Reran automake.
9305 Workarounds, these may not all be the final fixes:
9307 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9308 not private, for basic_istream::get() in std_istream.h to be able
9310 (basic_ios::operator void*): Don't use static_cast for the false
9312 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9313 This appears to have been in sep94, but didn't get corrected
9316 * bits/basic_string.h (npos): Don't init here.
9317 * bits/string.tcc: Instead, do initialization here, to -1 instead
9318 of the size_type destructor.
9320 * src/traits.cc, src/wtraits.cc: New files.
9321 * bits/char_traits.h: For char_traits<char> and
9322 char_traits<wchar_t>, declare static, but define over in the src
9325 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9326 gslice_array, and _GsliceExpression.
9328 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9329 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9330 stdout, and stderr. Note we do get unresolved refs to stdin, but
9331 that'll get fixed by the "true" solution.
9333 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9334 definition of basic_streambuf.h, which is used in basic_ios.h to
9337 * bits/std_streambuf.h: Don't include libio.h for now.
9338 (class basic_streambuf): Define missing methods pubimbue and
9341 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9342 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9343 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9345 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9347 * src/locale.cc: Come up with munged versions of _S_toupper,
9348 _S_tolower, and _S_table instead of the glibc-specific ones, so
9349 they're at least defined, if not necessarily usable. The glibc
9350 ones on any other system will yield unresolved refs to
9351 __ctype_{b,toupper,tolower}.
9353 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9354 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9355 anymore cuz of the explicit specialization in char_traits.h.
9356 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9357 file for the details.
9359 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9360 * stl/bits/stl_iterator.h (__distance): Likewise.
9362 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9363 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9366 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
9368 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9371 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
9373 This should really be fixed with __asm__ directives renaming the
9374 symbol, but keeping the function.
9375 * math/clogf.c (c_logf): Renamed from `clogf'.
9376 * math/clogl.c (c_logl): Renamed from `clogl'.
9377 * math/complex-stub.h (c_logf, c_logl): Change decls.
9379 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9380 _CharT and _InIter parms, since they duplicate the enclosing ones.
9382 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
9384 Deal with conflict of the iostreams `clog' and our internal
9385 complex number `clog'.
9386 * src/complex.cc: Call `c_log' instead of `clog'.
9387 * math/clog.c (c_log):: Renamed from clog.
9388 * math/complex-stub.h (c_log): Renamed from clog decl.
9390 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9392 (num_put::put): #if 0 long long version, since we don't declare or
9393 define the long long version of do_put.
9395 1998-08-18 Nathan Myers <ncm@cantrip.org>
9397 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9398 type of get_allocator (thanks to Ryszard Kabatek).
9399 * bits/char_traits.h: make init order of fpos<> members
9401 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9402 flags _S_fd_in etc. for special filebuf ctor.
9403 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9404 to work around problems in friend declarations.
9405 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9406 fix random type errors & typos
9407 * bits/std_fstream.h: major refitting to bypass libio (for now),
9408 instrument to use bits/fstream.tcc template definitions
9409 * bits/std_iosfwd.h: mess with wrappers
9410 * bits/std_istream.h: remove meaningless comment
9411 * bits/std_ostream.h: instrument to work with ostream.tcc.
9412 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9413 * bits/fstream.tcc: template defs for <fstream>
9414 * bits/ostream.tcc: template defs for <ostream>
9415 * bits/streambuf.tcc: template defs for <streambuf>
9416 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9417 * Delete .cc files, replace with bits/*.tcc
9423 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9424 src/stdstreams.cc: cout, cin, etc. definitions
9425 (these still need work: must be init'd before user statics.)
9428 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9430 Sent to SGI before checkin:
9431 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9432 operator>=): Define.
9433 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9434 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9435 operator>=): Define.
9436 (operator==, operator<): Add inline.
9437 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9438 operator>=): Define.
9439 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9440 operator>=): Define.
9441 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9442 operator>=): Define.
9443 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9444 operator>=): Define.
9445 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9446 operator>=): Define.
9448 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9451 1998-08-15 Nathan Myers <ncm@cantrip.org>
9453 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9454 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9455 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9456 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9457 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9458 * bits/std_sstream.h: formatting cleanups
9460 1998-08-14 Nathan Myers <ncm@cantrip.org>
9462 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9463 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9464 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9465 * bits/locfacets.h: fix missing argument in do_get_monthname
9466 (this is a bug in the standard, ref. 36 in my list.)
9467 * bits/locfacets.h: make month and day name caches mutable
9468 * bits/locfacets.tcc: various typos in get() functions
9469 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9470 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9472 1998-08-12 Nathan Myers <ncm@cantrip.org>
9473 * move streambuf iterators to bits/sbuf_iter.h
9474 * optimize streambuf iterators
9475 * begin generalizing streambuf
9476 * begin implementing num_get<>::get (starting with bool)
9477 * patch stl/bits/stl_config.h so that relops operators are
9478 contained properly, out of the way.
9480 1998-07-24 Nathan Myers <ncm@cantrip.org>
9481 * Fold in SGI 3.11 changes (uglified names, some algorithm
9482 improvements, very minor bug fixes.)
9483 * Uglify names elsewhere to match (s/_T/_Tp/).
9484 * Begin work on optimized streambuf
9485 * Put complex.cc in namespace std:: (thanks Martin)
9487 1998-07-17 Nathan Myers <ncm@cantrip.org>
9489 * bits/char_traits.h: add _Char_traits_match template.
9490 * bits/string.tcc: fix bugs in various find_last* members.
9491 * bits/basic_string.h: redeclare member _S_find.
9492 * stl/bits/stl_iterator.h: change member names in nonstandard
9493 templates bidirectional_reverse_iterator and
9494 random_access_reverse_iterator to match expected changes
9496 * src/string.cc: fix definitions of stream operators.
9498 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9500 * Makefile.am (SUBDIRS): Add string.
9502 * configure.in: Test for long double functions separately. Test for
9503 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9504 Generate string/Makefile.
9506 * bits/c++config.h: Define mbstate_t for Solaris.
9508 * bits/char_traits.h: Remove unused #if.
9510 * bits/std_cwchar.h: Declare wide char string functions.
9512 * m4/stringfcts.m4: New file.
9514 * math/complex-stub.h: Declare nan.
9515 * math/nan.c: New file.
9517 * math/mathconf.h: Hack around missing endian.h file.
9518 Handle missing NAN definition.
9519 Handle missing float math functions.
9521 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9522 (libstdc___la_LDFLAGS): Set version information.
9524 * src/complexl.cc: Don't compile any code if no long double functions
9527 * string/Makefile.am: New file.
9528 * string/dummy.c: New file.
9529 * string/wmemchr.c: New file.
9530 * string/wmemcmp.c: New file.
9531 * string/wmemcpy.c: New file.
9532 * string/wmemmove.c: New file.
9533 * string/wmemset.c: New file.
9535 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9537 * configure.in: Make it work.
9538 * install-sh: New file.
9539 * missing: New file.
9540 * mkinstalldirs: New file.
9541 * m4/mathfcts.m4: New file.
9542 * math/Makefile.am: New file.
9544 * bits/std_complex.h (conj): Mark specializations as inline.
9546 * math/carg.c: New file.
9547 * math/cargf.c: New file.
9548 * math/cargl.c: New file.
9549 * math/mycabs.c: New file.
9550 * math/mycabsf.c: New file.
9551 * math/mycabsl.c: New file.
9552 * math/signbit.c: New file.
9553 * math/signbitf.c: New file.
9554 * math/signbitl.c: New file.
9556 * math/ccos.c: Avoid ISO C 9x functionality.
9557 * math/ccosf.c: Likewise.
9558 * math/ccosh.c: Likewise.
9559 * math/ccoshf.c: Likewise.
9560 * math/ccoshl.c: Likewise.
9561 * math/ccosl.c: Likewise.
9562 * math/cexp.c: Likewise.
9563 * math/cexpf.c: Likewise.
9564 * math/cexpl.c: Likewise.
9565 * math/clog.c: Likewise.
9566 * math/clog10.c: Likewise.
9567 * math/clog10f.c: Likewise.
9568 * math/clog10l.c: Likewise.
9569 * math/clogf.c: Likewise.
9570 * math/clogl.c: Likewise.
9571 * math/cpow.c: Likewise.
9572 * math/cpowf.c: Likewise.
9573 * math/cpowl.c: Likewise.
9574 * math/csin.c: Likewise.
9575 * math/csinf.c: Likewise.
9576 * math/csinh.c: Likewise.
9577 * math/csinhf.c: Likewise.
9578 * math/csinhl.c: Likewise.
9579 * math/csinl.c: Likewise.
9580 * math/csqrt.c: Likewise.
9581 * math/csqrtf.c: Likewise.
9582 * math/csqrtl.c: Likewise.
9583 * math/ctan.c: Likewise.
9584 * math/ctanf.c: Likewise.
9585 * math/ctanh.c: Likewise.
9586 * math/ctanhf.c: Likewise.
9587 * math/ctanhl.c: Likewise.
9588 * math/ctanl.c: Likewise.
9590 * math/complex-stub.h: New file.
9592 * math/mathconf.h: New file.
9594 * src/Makefile.am: New file.
9596 * src/complex.cc: Use mathconf.h instead of complex.h.
9597 Don't use cabs, always use __mycabs.
9599 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9601 * iterator (class reverse_iterator): Do some tweaks to be in sync