1 Wed Nov 15 18:39:34 2000 Mark P Mitchell <mark@codesourcery.com>
3 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
4 * src/Makefile.am (libstdc___la_LIBADD): Use it.
5 * aclocal.m4: Regenerated.
7 * Makefile.in: Likewise.
8 * libio/Makefile.in: Likewise.
9 * libmath/Makefile.in: Likewise.
10 * libsupc++/Makefile.in: Likewise.
11 * src/Makfile.in: Likewise.
13 2000-11-15 Mark Mitchell <mark@codesourcery.com>
15 * mkcheckin.in: Move check for bash version 2 later in the file.
17 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
19 (basic_string::_Rep::_S_terminal): Likewise.
20 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
22 (basic_string::_Rep::_S_terminal): Likewise.
24 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
26 * mkcheck.in: Add function size_command() for irix.
28 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
30 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
32 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
33 building a canadian cross. This should fix the remaining java
35 * aclocal.m4: Regenerate.
36 * configure: Regenerate.
38 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
40 2000-11-14 Phil Edwards <pme@sources.redhat.com>
42 * mkcheck.in: On a platform where we don't know how to extract
43 section sizes, just set them to zero. Use old method of reading
46 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
48 * config/c_io_stdio.h: Don't define __c_wfile_type
49 when _GLIBCPP_USE_WCHAR_T is not defined.
51 2000-11-13 Phil Edwards <pme@sources.redhat.com>
53 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
54 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
55 (GLIBCPP_CONFIGURE): Call new macro here.
56 * configure.host: Cleanup.
57 * configure.in: Remove those two macros.
58 * configure.target: New file.
59 * aclocal.m4: Regenerated.
62 * libio/Makefile.in: Ditto.
63 * libmath/Makefile.in: Ditto.
64 * libsupc++/Makefile.in: Ditto.
65 * src/Makefile.in: Ditto.
67 * mkcheck.in: Use libtool. Split things out into functions.
69 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
71 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
72 * Makefile.in: Regenerate.
74 2000-11-12 David Edelsohn <edelsohn@gnu.org>
76 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
77 libiconv.a providing wchar_t support functions.
78 * aclocal.m4: Regenerate.
80 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
82 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
83 * aclocal.m4, configure: Rebuilt.
85 2000-11-12 Brent Verner <brent@rcfile.org>
87 * include/c_std/bits/wrap_langinfo.h: New file.
88 * include/c_std/langinfo.h: New file.
89 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
90 CODESET from _C_legacy::CODESET if using shadow headers.
91 * src/Makefile.am: Add new files.
92 * src/Makefile.in: Regenerate.
94 2000-11-12 Mark Mitchell <mark@codesourcery.com>
96 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
97 of `abs (double)' to ...
100 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
103 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
105 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
106 when _GLIBCPP_USE_WCHAR_T is not defined.
108 2000-11-10 Phil Edwards <pme@sources.redhat.com>
110 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
111 courtesy of Alexandre Oliva, to handle const/non-const signatures.
112 (codecvt::do_out): Use.
113 (codecvt::do_in): And here.
115 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
117 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
119 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
121 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
122 _Count_ones<>::_S_count): Turn into enumerators.
124 2000-11-08 Mark Mitchell <mark@codesourcery.com>
126 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
127 (codecvt::do_in): Likewise.
129 2000-11-08 David Edelsohn <edelsohn@gnu.org>
131 * src/locale-inst.cc: Add explicit instantiations of
132 _M_fill_insert and fill_n<..., unsigned long,...> .
134 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
136 * include/bits/std_complex.h (conj): Undo double removal.
138 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
140 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
141 alternatives for CXX_libstdcxx, now that it is useless.
142 * aclocal.m4, configure: Rebuilt.
144 2000-11-04 Mark Mitchell <mark@codesourcery.com>
146 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
147 * aclocal.m4: Regenerated.
148 * configure: Likewise.
150 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
152 * aclocal.m4: Regenerated.
153 * configure: Likewise.
155 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
157 * acinclude.m4 (CXX): Prevent it from being cached.
158 * aclocal.m4, configure, */Makefile.in: Rebuilt.
160 2000-11-03 David Edelsohn <dje@watson.ibm.com>
162 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
163 flag based on multilib definition of $CXX.
164 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
165 based on multilib definition of $CXX.
166 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
168 2000-11-03 Phil Edwards <pme@sources.redhat.com>
170 * acinclude.m4: Cleanups.
171 * aclocal.m4: Regenerated.
173 * Makefile.in: Ditto.
174 * libio/Makefile.in: Ditto.
175 * libmath/Makefile.in: Ditto.
176 * libsupc++/Makefile.in: Ditto.
177 * src/Makefile.in: Ditto.
179 * docs/install.html: Removal of EGCS.
180 * docs/23_containers/wrappers_h.txt: Likewise.
181 * docs/faq/index.html: Likewise.
182 * docs/faq/index.txt: Regenerated.
183 * docs/thanks.html: More people.
185 2000-11-03 David Edelsohn <edelsohn@gnu.org>
187 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
188 with function name defined in this file.
190 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
192 * include/c/bits/std_cctype.h: Undefine macros that conflict
193 with function names defined in this file.
194 * include/c/bits/std_cstdio.h: Likewise.
196 2000-11-02 Mark Mitchell <mark@codesourcery.com>
198 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
200 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
202 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
203 * aclocal.m4: Regenerated.
204 * Makefile.in: Regenerated.
205 * libio/Makefile.in: Likewise.
206 * libmath/Makefile.in: Likewise.
207 * libsupc++/Makefile.in: Likewise.
208 * src/Makefile.in: Likewise.
209 * configure: Likewise.
210 * config/os/irix/bits/ctype_base.h: Revise.
211 * config/os/irix/bits/ctype_inline.h: Likewise.
212 * config/os/irix/bits/ctype_noninline.h: Likewise.
214 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
215 if not _GLIBCPP_USE_WCHAR_T.
216 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
217 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
218 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
220 * mkcheck.in: Fix echoing of -rpath option.
222 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
224 (__exchange_aand_add): Adjust accordingly.
225 (__atomic_add): Likewise.
227 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
229 * src/locale.cc: Match orderings for static members.
230 * include/bits/fstream.tcc: Fixes for cin.
232 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
234 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
235 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
236 (cos, cosh, sin, sinh): Define primary templates.
238 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
241 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
243 * bits/basic_file.h (_M_open_mode): Change signature, move
245 * config/c_io_libio.cc: ...here.
246 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
247 * aclocal.m4: Regenerate.
248 * configure: Regenerate.
249 * config/c_io_stdio.h: New file.
250 * config/c_io_stdio.cc: New file.
251 * docs/configopts.html: Modify documentation.
253 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
255 * include/c/bits/std_cwctype.h: Add more undefs.
257 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
259 * include/bits/std_complex.h (norm): Forward declare.
260 (complex<>): Comment out friend declaration of conj<>.
261 (conj<>): Comment out specialization.
262 (exp, log, log10): Define primary templates.
264 * src/complex.cc (exp<>, log<>, log10<>): Comment out
267 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
269 * include/bits/std_complex.h: Remove duplicate definition of conj.
270 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
272 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
274 * src/complex.cc (arg, polar): Comment out specializations.
276 * include/bits/std_complex.h (complex<>): Remove arg<> friend
278 (arg): Define primary template.
282 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
284 * include/c/bits/std_cwctype.h: #undef possible function-like
285 macro definitions of iswxxx functions, which might be brought in
286 by <wctype.h>. Those macro definitions prevent build on some
289 * include/bits/std_complex.h (complex<>): Comment out friend
290 declarations of abs<> specializations.
291 (abs): Define primary template.
293 * src/complex.cc (abs): Comment out specialization definition.
295 2000-10-30 Phil Edwards <pme@sources.redhat.com>
297 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
298 the default of 2 to 3.
299 * configure.in: Fix minor typos. SUBST the values of enable_shared
300 and enable_static so that mkcheck will be aware of them. Put the
301 test for gconv.h in with all the other header tests.
302 * aclocal.m4: Regenerate.
304 * Makefile.in: Ditto.
305 * libio/Makefile.in: Ditto.
306 * libmath/Makefile.in: Ditto.
307 * libsupc++/Makefile.in: Ditto.
308 * src/Makefile.in: Ditto.
310 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
311 _G_USING_THUNKS to 0.
313 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
315 * src/complex_io.cc : Remove ancient defines.
316 * config/os/gnu-linux/bits/os_defines.h: Add defines.
317 * libsupc++/tinfo2.cc: Change to cstddef.
319 * include/bits/codecvt.h: Add include of c++config.h, so that
320 __USE_GNU gets defined. (Important for alpha.)
322 * include/c/bits/std_cwctype.h: Same.
323 * include/c/bits/std_ctime.h: And here.
324 * include/c/bits/std_cstdarg.h: Same.
325 * include/c/bits/std_csignal.h: Same.
326 * include/c/bits/std_csetjmp.h: Same.
327 * include/c/bits/std_clocale.h: Same.
328 * include/c/bits/std_climits.h: Touch.
329 * include/c/bits/std_cfloat.h: Same.
330 * include/c/bits/std_cerrno.h: Same.
331 * include/c/bits/std_cwchar.h: Same.
332 * include/c/bits/std_cassert.h: Same.
333 * include/c/bits/std_cctype.h: Same.
334 * include/c/bits/std_cstddef.h: And here.
335 * include/c/bits/std_cstdlib.h: And here.
336 * include/c/bits/std_cstdio.h: Same.
337 * include/c/bits/std_cstring.h: Add names to namespace std::.
339 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
341 (_ISOC99_SOURCE): And this one....
342 * config/os/gnu-linux/bits/os_defines.h: ...to here.
344 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
345 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
347 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
348 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
350 2000-10-30 Steven King <sxking@uswest.net>
352 * include/bits/codecvt.h: Add cast.
353 * include/c_std/stdio.h: Re-add printf using declaration.
354 * include/c_std/bits/std_cstdio.h: Same
355 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
356 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
357 * testsuite/22_locale/facet.cc: Same.
358 * testsuite/22_locale/global_templates.cc: Same.
359 * testsuite/22_locale/operators.cc: Same.
360 * testsuite/22_locale/static_members.cc: Same.
361 * testsuite/26_numerics/c_math.cc: Same.
362 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
363 * testsuite/27_io/fpos.cc: Same.
364 * testsuite/27_io/istream_extractor_arith.cc: Same.
365 * testsuite/27_io/istream_unformatted.cc: Same.
366 * testsuite/27_io/ostream_inserter_arith.cc: Same.
367 * testsuite/27_io/streambuf.cc: Same.
369 2000-10-30 Mark Mitchell <mark@codesourcery.com>
371 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
372 for cabs, cabsf, and cabsl, too.
373 * aclocal.m4: Regenerated.
374 * config.h.in: Likewise.
375 * configure: Likewise.
376 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
378 * libmath/Makefile.in: Regenerated.
379 * libmath/complex-stub.h (cabs): Don't declare if the system
380 already provides this function.
383 * src/complex.cc (abs): Directly use `hypot' since we can't call
386 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
388 * acinclude.m4: Update URL on egcs.cygnus.com to point to
390 * aclocal.m4, configure: Regenerate.
391 * src/gen-num-limits.cc, include/bits/c++config,
392 include/bits/stl_config.h: Remove EGCS references.
394 2000-10-29 Mark Mitchell <mark@codesourcery.com>
396 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
397 building shared executables.
399 2000-10-29 Mark Harig <mharig@landmark.com>
401 * src/Makefile.am: Change logic for include dir options.
402 * src/Makefile.in: Regenerate.
403 * libsupc++/Makefile.am: Ditto.
404 * libsupc++/Makefile.in: Regenerate.
406 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
408 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
409 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
410 with libgcj build issues and improve consistency with the source
411 directory's include directory setup.
412 * configure: Regenerate.
413 * acinclude.m4: Same here.
414 * aclocal.m4: Regenerate.
415 * mknumeric_limits (OUT_H): Also change paths here.
416 * mkcheck.in (C_DIR): And here.
417 * mkc++config (OUT_H): And here.
418 * libmath/Makefile.am (INCLUDES): And here.
419 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
420 * libio/Makefile.am: Ditto.
421 * libsupc++/Makefile.am (INCLUDES): Ditto.
423 2000-10-29 Mark Mitchell <mark@codesourcery.com>
425 * config/c_io_libio.cc (basic_file<char>::__basic_file):
426 Don't pass a NULL _IO_wide_data to _IO_no_init when
427 _GLIBCPP_USE_WCHAR_T is not defined.
428 * config/c_io_libio.h (_IO_codecvt): Don't declare when
429 _GLIBCPP_USE_WCHAR_T is not defined.
430 * config/c_io_libio_codecvt.c: Don't compile it
431 when _GLIBCPP_USE_WCHAR_T is not defined.
432 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
433 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
435 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
436 include it when _GLIBCPP_USE_WCHAR_T is not defined.
437 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
438 when _GLIBCPP_USE_WCHAR_T is not defined.
439 * src/localename.cc (locale::_Impl::_M_construct_collate):
440 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
442 (locale::_Impl::_M_construct_ctype): Likewise.
443 (locale::_Impl::_M_construct_monetary): Likewise.
444 (locale::_Impl::_M_construct_numeric): Likewise.
445 (locale::_Impl::_M_construct_time): Likewise.
446 (locale::_Impl::_M_construct_messages): Likewise.
448 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
449 * aclocal.m4: Regenerated.
450 * configure: Likewise.
451 * config/os/irix/bits/atomicity.h: New file.
452 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
454 (__off64_t): Likewise.
455 (__ssize_t): Likewise.
456 (_G_USING_THUNKS): Define to zero.
458 2000-10-28 Mark Mitchell <mark@codesourcery.com>
460 * src/string-inst.cc (basic_string<C>::npos): Explicitly
463 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
465 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
467 Clean up naming, consistency in "C" library autoconf testing.
468 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
469 GLIBCPP_CHECK_CTYPE_SUPPORT.
470 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
471 * aclocal.m4: Regenerate.
472 * configure.in: And here.
473 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
474 * configure: Regenerate.
476 2000-10-26 David Edelsohn <edelsohn@gnu.org>
478 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
479 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
481 2000-10-26 Phil Edwards <pme@sources.redhat.com>
482 David Edelsohn <dje@watson.ibm.com>
484 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
485 --gc-sections stuff entirely to avoid misleading people.
486 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
487 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
489 * libio/libio.h: Simplify, make fewer assumptions. Define those
490 macros which must be defined.
491 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
494 2000-10-26 Mark Mitchell <mark@codesourcery.com>
496 * include/backward/streambuf.h: New file.
498 2000-10-26 David Edelsohn <dje@watson.ibm.com>
500 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
501 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
502 * config/os/aix/bits/os_defines.h: Add AIX defines.
504 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
506 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
507 * aclocal.m4: Regenerate.
508 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
509 * configure: Regenerate.
510 * docs/configopts.html: Remove.
511 * src/complexl.cc: Revert.
512 * config.h.in: Remove.
513 * include/c_std/bits/std_cmath.h: Remove guards based on
514 _GLIBCPP_USE_LONG_DOUBLE.
515 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
516 with respect to long double signatures.
518 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
520 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
521 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
522 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
523 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
524 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
526 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
528 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
529 Use __valarray_copy_construct only where appropriate.
531 2000-10-25 Mark Mitchell <mark@codesourcery.com>
533 * Makefile.in (check): Don't make mkcheck executable.
534 (check-install): Likewise.
535 * configure.in (AC_OUTPUT): Make mkcheck executable.
536 * mkcheck.in (top_srcdir): New variable.
537 (INC_PATH): Set the path to the backward and ext directories
540 2000-10-25 Phil Edwards <pme@sources.redhat.com>
542 * configure.in: Check for gconv.h.
543 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
545 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
546 * libio/_G_config.h: And here.
547 * libio/iofwide.c: And here.
548 * libio/libio.h: And here.
550 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
551 exception specification to match declaration.
552 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
554 2000-10-24 Mark Harig <mharig@landmark.com>
556 * docs/configopts.html: Added documentation for the
557 "--enable-version-specific-runtime-libs" and
558 "--with-gxx-include-dir" configuration switches.
560 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
562 * include/bits/stl_pair.h (make_pair): Add LWG solution.
564 * testsuite/21_strings/compare.cc (test01): Inject namespace std
567 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
570 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
572 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
574 2000-10-24 Phil Edwards <pme@sources.redhat.com>
576 * acconfig.h: List _GLIBCPP_USE_THREADS.
577 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
578 correction, etc. Add comments about following *real* changes
580 (GLIBCPP_ENABLE_C_MBCHAR): New test...
581 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
582 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
584 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
585 macro _GLIBCPP_USE_THREADS in c++config.h.
586 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
587 this is used in both makefiles and shell scripts (mkcheck).
588 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
590 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
591 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
592 something harmless, like int.
594 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
595 add comment/instructions.
596 * config/os/bsd/bits/os_defines.h: Ditto.
597 * config/os/generic/bits/os_defines.h: Ditto.
598 * config/os/gnu-linux/bits/os_defines.h: Ditto.
599 * config/os/irix/bits/os_defines.h: Ditto.
600 * config/os/newlib/bits/os_defines.h: Ditto.
601 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
602 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
604 * mkcheck.in: Limit the available heap size for testsuite
605 binaries, initially at 2MB.
607 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
609 * testsuite/21_strings/compare.cc (test01): Add using declarations.
611 * include/c_std/bits/std_cerrno.h: And here.
612 * include/c_std/bits/std_cassert.h: Tweaks.
614 * mkcheck.in: Simplify.
616 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
617 (GLIBCPP_ENABLE_LONG_LONG): Same.
618 * aclocal.m4: Regenerate.
620 * src/Makefile.am (c_shadow_headers): Add features.h,
621 bits/wrap_features.h.
622 * src/Makefile.in: Regenerate.
623 * include/c_std/features.h: New file.
624 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
625 file. Need to have c++config.h included before this file so
626 _ISOC99_SOURCE around.
628 * include/c_std/sys/cdefs.h: Hack.
629 * include/c_std/stdlib.h: Same, use c++config.h.
630 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
632 * include/c_std/bits/std_cassert.h: Fix.
633 * include/c_std/bits/std_cerrno.h: Make consistent.
635 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
636 declaration from ::_C_legacy to _C_legacy.
638 * include/c_std/bits/std_cstdio.h: same with printf.
639 * include/c_std/stdio.h: And here.
641 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
642 * include/c_std/stdlib.h: Same here.
644 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
646 * testsuite/21_strings/compare.cc (test01): Add using declarations.
648 * include/c_std/bits/std_cerrno.h: And here.
649 * include/c_std/bits/std_cassert.h: Tweaks.
651 * mkcheck.in: Simplify.
653 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
654 (GLIBCPP_ENABLE_LONG_LONG): Same.
655 * aclocal.m4: Regenerate.
657 * src/Makefile.am (c_shadow_headers): Add features.h,
658 bits/wrap_features.h.
659 * src/Makefile.in: Regenerate.
660 * include/c_std/features.h: New file.
661 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
662 file. Need to have c++config.h included before this file so
663 _ISOC99_SOURCE around.
665 * include/c_std/sys/cdefs.h: Hack.
666 * include/c_std/stdlib.h: Same, use c++config.h.
667 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
669 * include/c_std/bits/std_cassert.h: Fix.
670 * include/c_std/bits/std_cerrno.h: Make consistent.
672 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
673 declaration from ::_C_legacy to _C_legacy.
675 * include/c_std/bits/std_cstdio.h: same with printf.
676 * include/c_std/stdio.h: And here.
678 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
679 * include/c_std/stdlib.h: Same here.
681 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
683 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
684 * aclocal.m4: Regenerate.
685 * configure.in: Use it.
686 * configure: Regenerate.
687 * src/complexl.cc: Fixup.
688 * include/c_std/bits/std_cmath.h: Fixup.
689 * include/c/bits/std_cmath.h: Fixup.
690 * docs/configopts.html: Add docs.
692 * docs/links.html: Add links to defects list, standards FAQ.
694 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
695 with string creation that allocate huge ammounts of memory.
697 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
700 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
702 * libsupc++/exception.cc: Use namespace std.
703 * libsupc++/new: DITTO.
704 * libsupc++/new_op.cc: DITTO.
705 * libsupc++/new_opnt.cc: DITTO.
706 * libsupc++/new_opv.cc: DITTO.
707 * libsupc++/new_opvnt.cc: DITTO.
708 * libsupc++/tinfo.cc: DITTO.
709 * libsupc++/tinfo.h: DITTO.
710 * libsupc++/vec.cc: DITTO.
711 * libsupc++/Makefile.am: Blank lines removal.
713 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
715 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
716 docs/17_intro/howto.html, docs/18_support/howto.html,
717 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
718 docs/21_strings/howto.html, docs/22_locale/howto.html,
719 docs/23_containers/howto.html, docs/24_iterators/howto.html,
720 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
721 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
722 Remove many EGCS references; use current absolute URLs on
723 gcc.gnu.org or sources.redhat.com for messages in list archives.
724 * docs/faq/index.txt: Regenerate.
726 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
728 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
729 creation of state_type for unicode_codecvt to take into account
730 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
731 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
732 * include/bits/codecvt.h (__enc_traits): Add support for encodings
733 that need a byte order marker. Needed for correct unicode support.
735 * src/locale.cc: Remove explicit qualification std::.
736 (locale::locale(const char* __name)): Revert, as named locale
737 support not finished.
738 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
739 size_t __refs, bool __has_name = false, string __name): Move
741 * include/bits/localefwd.h: Here.
743 2000-10-18 Chip Salzenberg <chip@valinux.com>
745 * libio/libio.h (_IO_USER_LOCK): Define.
747 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
749 * libsupc++/Makefile.am (exception): Change exception.cc to
750 exception_support.cc.
751 (CXXLINK): Remove bogus --tag CC.
752 * libsupc++/Makefile.in: Regenerate.
753 * libsupc++/exception.cc: Move to...
754 * libsupc++/exception_support.cc: ...here.
756 * src/Makefile.am: Remove bogus --tag CC.
757 * src/Makefile.in: Regenerate.
759 * include/bits/locale_facets.tcc (use_facet): Simplify.
760 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
761 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
762 (use_facet<ctype<wchar_t> >): Same.
763 * src/locale-inst.cc: Remove explicit instantiation.
764 * src/locale.cc: Correct signature here too.
765 (_Bad_use_facet::what()): Correct error string.
766 * include/bits/localefwd.h: Correct comment.
768 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
770 2000-10-17 Martin Buchholz <martin@xemacs.org>
772 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
773 * testsuite/27_io/ostream_seeks.cc: Similarly.
775 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
777 via Alexandre Oliva <aoliva@redhat.com>
778 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
779 * libsupc++/Makefile.in: Regenerate.
780 * src/Makefile.am: Duplicate code.
781 * src/Makefile.in: Regenerate.
783 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
784 * aclocal.m4: Regenerate.
785 * configure.in: And here.
786 * configure: Regenerate.
788 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
789 test for SECTION_LDFLAGS.
791 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
793 Shadow headers would work if libsupc++ was strict about namespaces.
794 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
795 * include/c_std/assert.h: Add guards.
796 * include/c_std/bits/std_climits.h: Correct typo.
797 * include/c_std/ctype.h: Remove #error.
799 * libio/libioP.h: Break up extern "C" bits around includes.
800 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
802 * libio/libioP.h: Same here.
804 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
806 * include/c_std/unistd.h: Define some types only when defined in
807 the original unistd.h.
808 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
809 definition of size_t, ptrdiff_t and NULL.
810 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
812 2000-10-15 Phil Edwards <pme@sources.redhat.com>
814 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
816 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
817 Mark Harig <markh@landmark.com>
819 * src/Makefile.am (toolexeclibdir): Add support fo
820 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
821 * src/Makefile.in: Regenerate.
822 * libsupc++/Makefile.am: Same.
823 (glibcppinstalldir): Adjust.
824 * libsupc++/Makefile.in: Regenerate.
825 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
826 * Makefile.in: Regenerate.
827 * docs/configopts.html: Add descriptions of flags.
829 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
831 * libsupc++/Makefile.am: Use it.
832 * libio/Makefile.am: Use it.
833 * libmath/Makefile.am: Use it.
834 * src/Makefile.am: Use it.
835 * Makefile.am (AM_MAKEFLAGS): Remove includes.
837 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
838 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
839 * configure.in: Use it.
841 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
843 * src/Makefile.am (CXXCOMPILE): Remove.
844 * src/Makefile.in: Regenerate.
845 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
846 * libsupc++/Makefile.in: Regenerate.
848 * include/c_std/*: Merge with shadow.
849 * include/c_std/bits/*: Same.
851 * shadow: Remove directory.
852 * shadow/*: De-populate.
854 2000-10-11 Phil Edwards <pme@sources.redhat.com>
856 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
857 exception-throwing code for linker test.
858 * aclocal.m4: Regenerate.
859 * configure: Regenerate.
861 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
863 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
864 * libsupc++/include: Remove
865 * libsupc++/include/*: Move to ...
867 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
868 (glibcppinstalldir): New.
870 * src/Makefile.am (c_base_headers): New.
871 (c_shadow_headers): New
873 (myinstallheaders): Correct install issues.
874 * src/Makefile.in: Regenerate.
876 * Makefile.am (CSHADOW_INCLUDES): Simplify.
877 * Makefile.in: Regenerate.
878 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
879 * aclocal.m4: Regenerate.
880 * mkcheck.in (SRC_DIR): Use it.
882 * include/bits/std_stdexcept.h: And here.
883 * include/bits/std_ios.h: Change std_exception.h to exception.
884 * src/locale.cc: And here.
885 * src/locale-inst.cc: And here.
887 * include/bits/valarray_array.h: And here.
888 * include/bits/stl_alloc.h: And here.
889 * include/bits/stl_algobase.h: And here.
890 * include/bits/pthread_allocimpl.h: And here.
891 * include/bits/stl_construct.h: Change to std_new.h to new.
893 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
895 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
896 (headers): Remove duplicated headers.
897 (std_headers): And here.
898 * src/Makefile.in: Regenerate.
899 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
900 * libsupc++/Makefile.in: Regenerate.
901 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
902 (AM_MAKEFLAGS): And here.
903 * Makefile.in: Regenerate.
904 * include/bits/std_typeinfo.h: Remove.
905 * include/bits/std_new.h: Remove
906 * include/bits/std_exception.h: Remove.
908 * std/typeinfo: Remove.
909 * std/exception: Remove.
911 * libio/_G_config.h (__need_ptrdiff_t): Add.
913 * libsupc++/include/new: Change stddef.h to cstddef.
914 * libsupc++/tinfo.h: Change limits.h to climits.
915 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
916 renders the file uncompilable. Add copyright.
918 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
919 namespace, as it is a fundamental type.
921 2000-10-09 Richard Henderson <rth@cygnus.com>
923 * libsupc++/pure.cc: New file.
924 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
925 (sources): Add pure.cc.
926 * libsupc++/Makefile.in: Regenerate.
928 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
930 * docs/configopts.html: Edit.
932 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
933 * libio/Makefile.in: Regenerate.
934 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
935 * libmath/Makefile.in: Regenerate.
936 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
937 * libsupc++/Makefile.in: Regenerate.
939 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
940 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
941 CSHADOW_INCLUDES up here.
942 * Makefile.in: Regenerate.
943 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
945 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
946 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
947 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
948 * src/Makefile.in: Regenerate.
950 * include/c: New directory.
951 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
952 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
953 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
954 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
955 std_cwchar.h, std_cwctype.h): Add, moving from...
956 * include/bits: ...here.
957 * include/c_std: New directory.
958 * include/c_std/bits/*: Populate from...
959 * shadow: ...here. Remove directory.
961 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
963 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
964 (INCLUDES): Add glibcpp_includedir.
965 * libsupc++/Makefile.in: Regenerate.
967 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
968 * aclocal.m4: Regenerate.
969 * config/os/*/bits/os_defintes: Adjust copyright dates.
971 2000-10-08 Phil Edwards <pme@sources.redhat.com>
973 * include/bits/c++config: Include <bits/os_defines.h>
974 * config/os/aix/bits/os_defines.h: New file.
975 * config/os/bsd/bits/os_defines.h: Ditto.
976 * config/os/generic/bits/os_defines.h: Ditto.
977 * config/os/gnu-linux/bits/os_defines.h: Ditto.
978 * config/os/irix/bits/os_defines.h: Ditto.
979 * config/os/newlib/bits/os_defines.h: Ditto.
980 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
981 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
982 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
984 2000-10-07 David Edelsohn <dje@watson.ibm.com>
986 * config/os/aix/bits/atomicity.h: New file.
988 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
990 * acinclude.m4: Remove CPU_FLAGS
991 * libio/Makefile.am: Here too.
992 * Makefile.am: Here too.
994 * src/Makefile.am (CONFIG_INCLUDES): Remove.
995 (INCLUDES): Remove CONFIG_INCLUDES.
996 (cpu_headers): Remove.
997 (myinstallheaders): Remove cpu_headers.
998 (generated_headers): Rename to build_headers.
999 (build_headers): Add atomicity.h, ctype_base.h,
1000 ctype_specializations.h.
1002 * config/os: New directory.
1003 * config/aix: Move to...
1004 * config/bsd: Move to...
1005 * config/generic: Move to...
1006 * config/gnu-linux: Move to...
1007 * config/irix: Move to...
1008 * config/newlib: Move to...
1009 * config/solaris: Move to...
1010 * config/os/*: Here.
1012 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1014 * acinclude.m4: Remove CPU_FLAGS
1015 * libio/Makefile.am: Here too.
1016 * Makefile.am: Here too.
1018 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1019 (INCLUDES): Remove CONFIG_INCLUDES.
1020 (cpu_headers): Remove.
1021 (myinstallheaders): Remove cpu_headers.
1022 (generated_headers): Rename to build_headers.
1023 (build_headers): Add atomicity.h, ctype_base.h,
1024 ctype_specializations.h.
1026 * config/os: New directory.
1027 * config/aix: Move to...
1028 * config/bsd: Move to...
1029 * config/generic: Move to...
1030 * config/gnu-linux: Move to...
1031 * config/irix: Move to...
1032 * config/newlib: Move to...
1033 * config/solaris: Move to...
1034 * config/os/*: Here.
1036 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1038 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1039 CONFIG_CXXFLAGS from here, and move to...
1040 * src/Makefile.in: Regenerate.
1041 * Makefile.am: ... here. Clean.
1042 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1043 (WARN_CXXFLAGS): Same.
1044 (CONFIG_CXXFLAGS): Same.
1045 * Makefile.in: Regenerate.
1046 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1047 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1048 * libsupc++/Makefile.in: Regenerate.
1050 Change math to libmath.
1051 * math: Move to libmath, delete.
1052 * libmath: New directory.
1053 * libmath/*: Populate.
1054 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1055 (libstdc___la_LIBADD): Same.
1056 * src/Makefile.in: Regenerate.
1057 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1058 * configure: Regenerate.
1059 * Makefile.am (SUBDIRS): Add libmath.
1060 * Makefile.in: Regenerate.
1061 * README (file): Change name.
1063 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1064 Richard Henderson <rth@cygnus.com>
1065 Alexandre Oliva <aoliva@redhat.com>
1067 * libsupc++: New directory.
1068 * libsupc++/*: Populate.
1069 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1070 eh-common.h, gansidecl.h.
1071 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1072 * configure: Regenerate.
1073 * Makefile.am (SUBDIRS): Add libsupc++.
1074 * Makefile.in: Regenerate.
1075 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1076 * src/Makefile.in: Regenerate.
1077 * libio/Makefile.am: Remove extraneous, confusing bits.
1078 * libio/Makefile.in: Regenerate.
1080 2000-10-05 Brent Verner <brent@rcfile.org>
1082 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1083 test for _M_gcount < in_avail(), as in_avail() only reports info
1084 for current buffer, causing method to return at end of buffer.
1085 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1086 * testsuite/27_io/istream_unformatted-3.txt: New file.
1087 * testsuite/27_io/istream_unformatted-3.tst: New file.
1089 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1091 * README (file): Adjust directory structures.
1092 * mkcheck.in (INC_PATH): Adjust for header changes.
1094 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1096 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1097 for public relations purposes.
1098 * aclocal.m4: Regenerated.
1099 * configure: Regenerated.
1101 * docs/ext/howto.html: Additional explanation about hashing.
1103 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1105 * include: New directory.
1106 * include/backward: New directory.
1107 * include/bits: New directory.
1108 * include/ext: New directory.
1109 * include/std: New directory.
1110 * include/*/*: Populate.
1112 * backwards: Move to include/backwards, delete.
1113 * bits: Move to include/bits, delete.
1114 * ext: Move to include/ext, delete.
1115 * std: Move to include/std, delete.
1117 * src/complex.cc: Adjust include of mathconf.
1119 * mkc++config (BASE_H): Add include.
1121 * src/Makefile.am: Support for topleve sources include directory.
1122 (INCLUDES): Add LIBMATH_INCLUDE.
1123 * src/Makefile.in: Regenerate.
1124 * math/Makefile.am (INCLUDES): Append /include.
1125 * math/Makefile.in: Regenerate.
1126 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1127 * libio/Makefile.in: Regenerate.
1129 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1131 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1133 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1135 * docs/22_locale/howto.html: Add link to proto-documentation on
1137 * docs/documentation.html: Rename links for clarity.
1139 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1140 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1141 * src/Makefile.in: Regenerate.
1143 2000-10-02 Steven King <sxking@uswest.net>
1145 * mkcshadow: Fixed script to output proper include guard.
1146 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1147 * libio/_G_config.h: Hacked to make work with shadow heraders.
1148 * shadow/*: Hacked to make shadow headers work.
1150 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1152 Self-compile with shadow headers.
1153 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1154 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1155 it becomes the default way the library is built.
1156 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1157 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1158 * config/gnu-linux/ctype.cc (ctype): Use it.
1160 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1162 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1163 memset. This should not be necessary, but an ambiguous overload
1166 * shadow/bits/std_cwchar.h: Fix.
1167 * shadow/wchar.h: Fix.
1169 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1170 enums into namespace std:: for ctype_base enum. Other OS types
1171 will have to do this as well.
1172 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1173 namespace std, in particular __ctype_toupper, __ctype_tolower,
1176 * shadow/iolibio.h: New file.
1177 * shadow/bits/wrap_iolibio.h: New file.
1178 * shadow/libioP.h: New file.
1179 * shadow/bits/wrap_libioP.h: New file.
1180 * shadow/bits/wrap_fcntl.h: New file.
1181 * shadow/fcntl.h: New file.
1182 * shadow/iconv.h: New file. Inject iconv names into the global
1183 namespace, unmangled for the moment.
1184 * shadow/bits/wrap_iconv.h: New file.
1185 * shadow/unistd.h: Remove. Useless.
1186 * shadow/bits/wrap_unistd.h: Remove.
1188 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1189 * src/Makefile.in: Regenerate.
1191 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1193 * shadow/libio.h: Fix.
1194 * shadow/bits/wrap_libio.h: Fix.
1196 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1197 which will not compile.
1198 * shadow/bits/std_ctime.h: Same.
1200 * shadow/pthread.h: New file. Put pthreads types and functions
1201 into global scope, which is probably not the correct long-term
1202 solution but has to be done at the moment before libio wrappers
1203 can even be started.
1204 * shadow/bits/wrap_pthread.h: New file.
1206 * bits/std_ios.h: Formatting tweak.
1207 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1209 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1210 tests for compiler features.
1211 * aclocal.m4: Regenerate.
1212 * configure: Regenerate.
1214 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1216 * libio/libioP.h: Comment out fcntl.h include.
1218 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1220 * bits/c++config: Define _ISOC99_SOURCE.
1222 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1223 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1224 * aclocal.m4: Regenerate.
1225 * configure: Regenerate.
1226 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1227 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1228 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1229 std or shadow directories.
1230 (LTCXXCOMPILE): Same.
1231 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1232 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1233 * src/Makefile.in: Regenerate.
1235 * src/complex.cc (FCT): Change ::name to name.
1236 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1237 * src/complexf.cc (FCT): Same.
1239 * src/complexf.cc: Remove FCT define, as things are properly
1240 overloaded in the std namespace with the shadow headers.
1241 * src/complexl.cc: Same.
1242 * src/complex.cc: Same.
1244 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1246 * docs/documentation.html: Add link to...
1247 * docs/ext/howto.html: ...this. New dir/file, describing library
1248 extensions (both ours and SGI's).
1249 * docs/faq/index.html: Small updates.
1250 * docs/faq/index.txt: Regenerate.
1252 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1254 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1256 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1258 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1260 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1262 * src/localename.cc (locale::_Imp) : Remove typedefs.
1263 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1264 __f): Consistency check, call _Imp ctor with reference argument
1266 * bits/localefwd.h: Change _S_num_categories to
1267 _S_categories_num. Add new data member, _S_facets_num, which is
1268 the number of standard facets.
1270 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1272 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1274 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1276 * docs/thanks.html: More thanks.
1277 * docs/18_support/howto.html: Fix thinko.
1278 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1279 Redo the string transformation notes and link to...
1280 * docs/22_locale/howto.html: ...here.
1282 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1284 * src/locale-inst.cc: Add time_put_byname and
1285 time_get_byname instantiations.
1286 * bits/locale_facets.h: Correct default, private derivation to
1287 public derivation in _byname declarations.
1288 * src/locale.cc (locale::classic()): Simplify.
1289 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1290 const string& __name, category __cat, size_t __refs): Re-work for
1292 (_M_normalize_category_names): Remove.
1294 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1295 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1297 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1299 * bits/std_bitset.h (operator>>): Change to char_type.
1301 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1303 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1304 name setting. Add checks for NULL __name pointers. Remove calls to
1305 _S_initialize() as initial locale initialization can either be
1306 assumed, or needs to be made consistent throughout locale
1308 (locale::locale(const locale& __other, const char* __name,
1309 category __cat): Add checks for NULL name. Add checks for
1311 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1312 const string& __name, category __cat, size_t __refs)): Set correct
1313 name, has_name values.
1314 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1315 * docs/22_locale/locale.html: New file, more unfinished docs...
1317 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1319 * src/locale.cc (locale::name()): Implement.
1320 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1321 string __name = "*")): Change signature.
1322 (locale::classic): Initialize the "C" locale as a named locale.
1323 * bits/localefwd.h (locale): Change _M_num_references to
1324 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1326 * bits/localefwd.h: Tweaks.
1327 * src/localename.cc: Tweaks.
1328 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1331 * bits/basic_string.h: Consistency check, change _M_state ->
1334 2000-09-14 Brendan Kehoe <brendan@zen.org>
1336 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1339 * src/Makefile.an (headers): Also install backward/fstream.h.
1340 * src/Makefile.in: Regenerate.
1342 * bits/char_traits.h (char_traits<_CharT>::get_state,
1343 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1344 argument in by reference, not by value. Uglify to _S_get_state.
1345 (char_traits<*>::__eos): Uglify to _S_eos.
1346 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1347 Change __eos to _S_eos.
1349 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1351 * testsuite/22_locale/static_members.cc: New file.
1352 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1353 * src/locale.cc: Minor formatting tweaks.
1355 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1357 * testsuite/22_locale/global_templates.cc (test01): Add negative
1358 tests for use_facet.
1360 * bits/localefwd.h (locale::operator()): Minor tweaks.
1361 * bits/locale_facets.tcc (locale::operator()): Same.
1362 * testsuite/22_locale/operators.cc: New file.
1364 * testsuite/22_locale/facet.cc (output_iterator): Remove
1365 gnu_input_iterator, gnu_output_iterator.
1367 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1369 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1370 * aclocal.m4: Regenerate.
1371 * configure: Regenerate.
1373 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1374 snapshot release soon.
1375 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1376 is pretty much assumed.
1378 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1379 use_facet and has_facet.
1381 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1382 Modify/correct iconv signatures for glibc2.2.
1384 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1386 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1389 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1391 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1392 (locale): Make _Impl declaration public.
1394 2000-09-08 Felix Natter <fnatter@gmx.net>
1396 * docs/17_intro/porting-howto.html: New version.
1398 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1400 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1402 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1403 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1405 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1407 Add bits for --enable-maintainer-mode:
1408 - turns on enable_debug
1409 (doing "--enable-maint --disable-debug" will DTRT)
1410 - turns on -Werror, now off by default
1411 * acinclude.m4: Add bits.
1412 * aclocal.m4: Regenerate.
1413 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1414 * configure: Regenerate.
1416 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1418 * bits/std_cwctype.h: Remove yesterday's hacks.
1420 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1422 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1423 * testsuite/23_containers/set_operators.cc: New file. Should not
1425 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1427 2000-09-06 Richard Henderson <rth@cygnus.com>
1428 Benjamin Kosnik <bkoz@cygnus.com>
1430 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1431 * aclocal.m4: Regenerate.
1432 * configure: Regenerate.
1433 * config/cpu/ia64: New directory.
1434 * config/cpu/ia64/bits: New directory.
1435 * config/cpu/ia64/bits/atomicity.h: New file.
1437 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1439 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1440 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1442 * aclocal.m4: Regenerate.
1443 * configure: Regenerate.
1444 * */Makefile.in: Regenerate.
1446 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1447 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1449 * testsuite/23_containers/vector_element_access.cc: New file.
1450 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1452 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1454 * bits/string.tcc: Fix up more parameter names.
1456 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1458 * configure: Rebuilt with new libtool.m4.
1460 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1462 * src/locale-inst.cc: Remove pre-instantiation of unicode
1463 codecvt types. Now unnecessary, as locale header now correct.
1465 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1467 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1468 * src/locale.cc: Here.
1469 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1470 definition. Move specialization to ...
1471 * src/locale.cc: Here.
1472 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1473 * src/locale.cc: Here.
1474 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1475 * src/locale.cc: Here.
1477 * bits/std_locale.h: Note that locale_facets.tcc should be
1478 included here, for standards conformance. It may increase
1479 compile times though. For the time being, enable.
1480 * testsuite/22_locale/facet.cc: New file, some parts commented out
1483 * mkcheck.in: Append total time to test summary file.
1485 * bits/sbuf_iter.h : Formatting tweaks.
1487 Clean up static const data member definitions.
1488 * src/locale.cc: Add definitions for all missing locale,
1489 locale::_Imp, and locale::id static data members.
1490 (ctype<char>): Add table_size define.
1491 (money_base): Add _S_default_pattern, uglify.
1492 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1493 * bits/locale_facets.h: Tweaks.
1494 * bits/locale_facets.tcc: Tweaks.
1495 * bits/string.tcc: Add definition for npos.
1496 * bits/ios_base.h: Tweaks.
1497 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1499 * src/ios.cc: And here. Add _S_local_words definition.
1500 Add definitions for __ios_flags const static data.
1501 * src/codecvt.cc: Same for __enc_traits.
1502 * src/locale-inst.cc: Remove money_base data member definition
1505 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1507 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1509 * docs/22_locale/codecvt.html: Re-number.
1510 * docs/22_locale/howto.html: Add entry for ctype
1511 documentation. Add entry for Nathan's introduction to locales
1513 * docs/22_locale/ctype.html: New file. In progress...
1515 * docs/22_locale/codecvt.html: Formatting cleanups.
1516 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1518 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1520 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1521 tweaks for certain browsers.
1523 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1525 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1526 Add include for bits/std_cwctype.h, for wctype_t.
1527 * src/locale.cc (ctype<wchar_t>): Implement.
1528 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1529 typedef, instead name enum.
1530 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1531 * config/gnu-linux/ctype.cc: Tweak.
1532 * testsuite/22_locale/ctype.cc: Tweak.
1534 * bits/codecvt.h (__enc_traits): Uglify names.
1536 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1538 * docs/22_locale/codecvt.html: Add more bits, format.
1539 * bits/codecvt.h: Add copy ctor, rename types.
1540 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1542 * libio/iofwide.c: Tweak.
1544 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1546 * docs/configopts.html: Mention new options.
1547 * docs/install.html: Formatting changes for platform-specific
1548 pre-reqs, previously only Cygwin.
1549 * docs/mail.html: Fix new link.
1550 * docs/thanks.html: A couple more people.
1551 * docs/26_numerics/howto.html: Fix typo.
1553 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1555 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1556 * docs/22_locale/codecvt.html: New file. In progress.
1558 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1560 * acconfig.h: Revert.
1561 * acinclude.m4: Revert.
1562 * libio/_G_config.h: Revert.
1563 * libio/libio.h: Revert.
1565 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1567 * bits/codecvt.h: Tweaks.
1568 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1569 initial string literals for UCS4.
1571 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1573 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1574 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1575 definition as well, and some minor spelling/spacing fixes. If
1576 building libio, check for certain typedefs.
1577 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1578 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1579 will never be there.
1580 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1581 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1583 * configure.in: Update the cache a bit more often.
1585 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1587 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1589 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1590 __enc_traits> instantiations for has_facet and use_facet.
1591 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1592 testing two-byte unicode encodings converted to four-byte UCS4
1595 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1596 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1597 correct state/encoding information.
1599 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1600 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1602 Add checks for langinfo.h, nl_langinfo function call.
1603 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1605 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1607 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1608 ((unused)) to __attribute__ ((__unused__)).
1609 * config/cpu/arm/bits/atomicity.h: Same.
1610 * config/cpu/generic/bits/atomicity.h: Same.
1611 * config/cpu/i386/bits/atomicity.h: Same.
1612 * config/cpu/i486/bits/atomicity.h: Same.
1613 * config/cpu/powerpc/bits/atomicity.h: Same.
1614 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1615 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1617 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1619 * bits/basic_string.h: Fix up parameter names.
1621 2000-08-22 Brent Verner <brent@rcfile.org>
1623 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1625 * src/Makefile.in: Regenerate.
1627 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1629 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1630 up __enc_traits template so as to be marginally useful.
1631 * src/codecvt.cc: And here.
1632 * bits/char_traits: Tweak.
1633 * bits/locale_facets.h: Tweak.
1634 * bits/locale_facets.tcc: Tweak.
1635 * bits/localefwd.h: Tweak.
1636 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1637 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1638 * testsuite/22_locale/codecvt_char_char.cc: New file.
1639 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1641 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1643 * bits/std_cmath.h (std::abs): Overload for int and long.
1645 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1647 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1649 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1651 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1652 thinko. Diagnostic messages really need to be improved for
1653 template argument deduction.
1655 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1657 * bits/valarray_meta.h: Fix typos...
1659 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1661 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1662 _Expr<>::apply): Implement.
1664 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1666 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1668 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1671 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1673 * bits/localefwd.h (std::locale): Use explicit `class' specified
1674 when declaring friends.
1675 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1677 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1679 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1680 * src/Makefile.in: Regenerate.
1682 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1684 * bits/codecvt.h: New file.
1685 * src/codecvt.cc: New file.
1686 * bits/std_locale.h: Add include here.
1687 * src/Makefile.am (headers): Add codecvt.h
1688 (sources): Add codecvt.cc.
1689 * src/Makefile.in: Regenerate.
1690 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1691 __codecvt_abstract_base in an attempt to point some light this way...
1692 Move __enc_traits and codecvt bits to codecvt.h.
1693 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1694 explicit instantiation. Separate out codecvt instantations, simplify.
1695 * src/locale.cc: Move codecvt bits to codecvt.cc
1697 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1699 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1700 * src/Makefile.in: Regenerate.
1702 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1704 C/C++ io merge/sync.
1715 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1716 ((struct _IO_FILE_plus *) in ctors.
1717 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1718 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1719 * libio/cleanup.c: Remove.
1720 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1721 _IO_cleanup_registration_needed, even if not libc.
1723 * testsuite/27_io/stringstream.cc (test02): Fix.
1725 2000-08-14 Brent Verner <brent@rcfile.org>
1727 * testsuite/debug_assert.h: new file
1728 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1729 changed conditional #include <c?assert.?h?> to
1730 unconditional #include <debug_assert.h>
1731 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1732 for testsuite compile command.
1734 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1736 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1737 wofstream, filebuf, wfilebuf, fstream, wfstream.
1738 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1739 * bits/std_sstream.h: Same for stringstream and wstringstream.
1740 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1741 ostringstream, wostringstream.
1743 * testsuite/26_numerics/valarray.cc: Add test.
1745 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1747 * configure: Regenerate after change to ../libtool.m4.
1749 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1751 * bits/locale_facets.tcc: Formatting tweaks.
1752 * bits/locale_facets.h (__enc_traits): Start integrating this
1753 into codecvt, ctype. Formatting tweaks.
1755 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1757 Preliminary wchar_t implementation, with trivial encodings.
1758 * docs/configopts.html: Add bits about canonical configure option
1761 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1762 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1763 * testsuite/27_io/narrow_stream_objects.cc: New file.
1764 * testsuite/27_io/wide_stream_objects.cc: New file.
1766 * bits/fstream.tcc (underflow): Temporarily hack a solution
1767 together that writes from the external file to the internal
1768 buffers. This removes codecvt from the loop, and is incorrect.
1769 (_M_really_overflow): Same here.
1771 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1773 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1774 Ulrich Drepper <drepper@cygnus.com>
1776 * config/c_io_libio.h: Tweak.
1777 * config/c_io_libio_codecvt.c: New file.
1778 * libio/Makefile.am: Add c_codecvt.c.
1779 * libio/Makefile.in: Regenerate.
1780 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1781 stream is not orientated.
1783 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1784 encoding gets fleshed out.
1786 * bits/basic_file.h: Add specialization declarations.
1787 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1789 * config/c_io_libio.h: Add __c_wfile_type.
1790 * bits/basic_file.h: Add _M_wfile.
1792 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1793 streams without setting the orientation of the underlying FILE to
1794 either wide or narrow.
1795 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1797 2000-08-07 Felix Natter <fnatter@gmx.net>
1799 * docs/17_intro/porting-howto.html: New version.
1801 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1803 * bits/locale_facets.h (ctype::ctype): Don't name unused
1806 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1808 * docs/install.html: Edit bits about requiring a special version
1811 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1813 * libio/fileops.cc: Update to current glibc sources.
1814 * libio/genops.c: Same.
1815 * libio/iofwide.c: Same.
1816 * libio/libio.h: Same.
1817 * libio/libioP.h: Same.
1818 * libio/wfiledoalloc.c: Same.
1819 * libio/wgenops.c: Same.
1821 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1823 * acinclude.m4: Include ../libtool.m4.
1824 * aclocal.m4, configure: Rebuilt.
1826 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1828 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1829 before trying to use any of its options.
1830 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1831 * aclocal.m4: Regenerate.
1832 * configure.in: Having found GNU make, name it.
1833 * configure: Regenerate.
1834 * docs/install.html: Mention possible problems with caching.
1835 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1836 * src/Makefile.in: Regenerate.
1837 * libio/Makefile.in: Regenerate.
1838 * math/Makefile.in: Regenerate.
1839 * Makefile.in: Regenerate.
1841 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1843 * src/misc-inst.cc (std): Remove instantiations.
1845 * acinclude.m4: Add forward-looking bits for autoconf.
1846 * aclocal.m4: Regenerate.
1848 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1850 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1852 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1853 it back for current versions of maintainer-tools...
1854 * acinclude.m4: Some cleanups...
1855 * aclocal: Regenerated.
1856 * configure: Regenerated.
1858 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1859 optimizing/adapting the hash table using GNU ld.
1860 * src/Makefile.in: Regenerate.
1862 2000-07-24 H.J. Lu <hjl@gnu.org>
1864 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1865 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1866 files don't include private libio header files needed by
1868 * src/Makefile.in: Rebuild.
1870 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1872 * bits/std_fstream.h: Parameterize __basic_file.
1873 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1874 * bits/basic_file.h: Same here.
1876 * bits/istream.tcc (getline): Tweaks.
1878 * bits/fstream.tcc: Shorten __retval to __ret.
1879 * bits/ostream.tcc: Same.
1880 * bits/sbuf_iter.h: Same.
1881 * bits/sstream.tcc: Same.
1882 * bits/streambuf.tcc: Same.
1883 * bits/std_fstream.h: Same.
1884 * src/string-inst.cc: Same.
1886 * config/c_io_libio.cc: Same.
1887 * bits/string.tcc: Same.
1888 * bits/std_streambuf.h: Same.
1890 2000-07-23 Brent Verner <brent@rcfile.org>
1892 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1893 char_type) make compliant
1894 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1896 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1898 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1899 and srcdir used to define CSHADOW_INCLUDES..
1901 * configure.in: For consistency, change .sanity_warned to
1902 stamp-sanity-warned.
1904 * acinclude.m4: Tweak formatting.
1905 * Makefile.am (check): Call mkcheck with full pathname for build
1907 (check-install): And here.
1908 * Makefile.in: Regenerate.
1910 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1912 Line up with libstdc++-v2 version of valarray.
1913 * bits/valarray_array.h (__valarray_product): Make inline.
1914 * src/valarray-inst.cc (__valarray_product): Remove explicit
1917 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1919 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1922 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1923 Change return type to void.
1924 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1925 * testsuite/17_intro/header_ciso646.cc: Modify.
1926 * bits/locale_facets.h: Add return values for the generic cases.
1928 2000-07-21 H.J. Lu (hjl@gnu.org)
1930 * acinclude.m4: Include <features.h> for glibc testing.
1931 * aclocal.m4: Likewise.
1933 * configure: Rebuild.
1935 2000-07-20 H.J. Lu (hjl@gnu.org)
1937 * acinclude.m4: Change "#pragma system_header" to
1938 "#pragma GCC system_header".
1939 * aclocal.m4: Likewise.
1940 * bits/std_cmath.h: Likewise.
1941 * bits/std_cassert.h: Likewise.
1942 * bits/std_cctype.h: Likewise.
1943 * bits/std_cerrno.h: Likewise.
1944 * bits/std_cfloat.h: Likewise.
1945 * bits/std_climits.h: Likewise.
1946 * bits/std_clocale.h: Likewise.
1947 * bits/std_cwchar.h: Likewise.
1948 * bits/std_csetjmp.h: Likewise.
1949 * bits/std_csignal.h: Likewise.
1950 * bits/std_cstdarg.h: Likewise.
1951 * bits/std_cstddef.h: Likewise.
1952 * bits/std_cstdio.h: Likewise.
1953 * bits/std_cstdlib.h: Likewise.
1954 * bits/std_cstring.h: Likewise.
1955 * bits/std_ctime.h: Likewise.
1956 * bits/std_cwctype.h: Likewise.
1957 * bits/std_exception.h: Likewise.
1958 * bits/std_new.h: Likewise.
1959 * bits/std_typeinfo.h: Likewise.
1960 * shadow/bits/std_cassert.h: Likewise.
1961 * shadow/bits/std_cctype.h: Likewise.
1962 * shadow/bits/std_cerrno.h: Likewise.
1963 * shadow/bits/std_cfloat.h: Likewise.
1964 * shadow/bits/std_climits.h: Likewise.
1965 * shadow/bits/std_clocale.h: Likewise.
1966 * shadow/bits/std_cmath.h: Likewise.
1967 * shadow/bits/std_csetjmp.h: Likewise.
1968 * shadow/bits/std_csignal.h: Likewise.
1969 * shadow/bits/std_cstdarg.h: Likewise.
1970 * shadow/bits/std_cstddef.h: Likewise.
1971 * shadow/bits/std_cstdio.h: Likewise.
1972 * shadow/bits/std_cstdlib.h: Likewise.
1973 * shadow/bits/std_cstring.h: Likewise.
1974 * shadow/bits/std_ctime.h: Likewise.
1975 * shadow/bits/std_cwchar.h: Likewise.
1976 * shadow/bits/std_cwctype.h: Likewise.
1977 * shadow/bits/wrap_libio.h: Likewise.
1978 * shadow/bits/wrap_unistd.h: Likewise.
1979 * shadow/sys/cdefs.h: Likewise.
1981 * configure: Rebuild.
1983 2000-07-20 Jakub Jelinek <jakub@redhat.com>
1985 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
1986 Use extended word instructions to match 64bit _Atomic_word.
1987 (__atomic_add): Likewise.
1988 * math/clog10l.c (clog10l): Use M_PIl if defined.
1989 * math/c_logl.c (c_logl): Likewise.
1990 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
1991 * math/mathconf.h (ieee_quad_double_shape_type): New type.
1992 (GET_LDOUBLE_MSW64): New define.
1994 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
1996 * bits/std_streambuf.h: Add bits for pback buffers here, so that
1997 in_avail, etc can use them.
1998 * bits/std_fstream.h: Ditto.
1999 * bits/fstream.tcc: Ditto.
2000 * testsuite/27_io/filebuf.cc: Tweaks.
2001 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2003 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2005 * src/localename.cc: Same.
2006 * src/locale.cc: Same.
2007 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2009 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2011 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2013 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2014 * bits/std_fstream.h: Same.
2016 * bits/basic_string.h: Tweaks.
2018 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2020 * docs/18_support/howto.html: Update.
2022 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2024 Internal consistency checks.....
2025 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2028 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2029 * bits/basic_ios.tcc: Same.
2031 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2032 Change _M_fctype_buf to _M_buf_fctype.
2033 * bits/fstream.tcc: Same.
2035 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2036 Change _M_locale_set to _M_buf_locale_init.
2037 * bits/streambuf.tcc: Same.
2038 * bits/sstream.tcc: Same.
2039 * bits/fstream.tcc: Same.
2041 * bits/std_streambuf.h: Make typedefs consistent.
2042 (_M_buf_bump): Be more careful with input sequence.
2044 * bits/std_sstream.h: Same.
2045 * bits/std_fstream.h: Same.
2047 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2049 * acinclude.m4: Tweaks.
2050 * config/c_io_libio.cc: Tweaks.
2051 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2052 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2053 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2054 * libio/iofclose.c iofopen.c, stdio.c: New files.
2055 * libio/Makefile.am: Add files, add flags, etc.
2056 * src/Makefile.am (sources): Add filebuf.cc.
2057 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2058 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2060 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2062 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2063 * configure.in: Use it. Also print reminders one time.
2064 * aclocal.m4: Regenerate.
2065 * configure: Regenerate.
2067 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2069 * bits/valarray_array.h (__valarray_get_storage): New function.
2070 (_Array<>::Array): Use it.
2071 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2072 (valarray<>::resize): Likewise. Tweak.
2073 * src/valarray-inst.cc (__valarray_product): Tweak.
2075 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2077 * docs: Update sourceware->sources in every HTML file. Minor updates.
2079 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2081 Clean up configure/build longstanding issues.
2082 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2083 (CXXLINK): Add here, instead.
2085 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2087 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2089 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2090 c_io_libio.cc instead of copying.
2091 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2093 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2094 c++threads.h instead of copying.
2095 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2098 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2099 * bits/basic_file.h: Declare.
2101 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2103 2000-07-07 brent verner <brent@rcfile.org>
2105 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2107 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2109 * bits/istream.tcc (istream::getline): Minor tweaks.
2111 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2113 * docs/download.html: Mention gcc_update.
2114 * docs/configopts.html: Minor updates.
2115 * docs/gccrebuild.html: Ditto.
2116 * docs/18_support/howto.html: More tips, explanations, and reminders.
2117 * docs/19_diagnostics/howto.html: Ditto.
2118 * docs/21_strings/howto.html: Ditto.
2119 * docs/24_iterators/howto.html: Ditto.
2120 * docs/25_algorithms/howto.html: Ditto.
2121 * docs/26_numerics/howto.html: Ditto.
2123 2000-07-05 brent verner <brent@rcfile.org>
2125 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2126 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2127 * config/c_io_libio.cc (__basic_file::open): Unset
2128 ~_IO_DELETE_DONT_CLOSE.
2130 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2132 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2133 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2134 Do not paste anything after 'operator' keyword.
2136 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2138 * bits/std_memory.h: Revert.
2140 2000-07-03 Brendan Kehoe <brendan@zen.org>
2142 * bits/std_complex.h: Fix parens. Format.
2144 2000-07-03 scott snyder <snyder@fnal.gov>
2146 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2147 from the input if base == 0.
2148 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2149 number with a leading `0' in hex mode.
2151 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2153 * mkinclosure: Change `==' to `=' in test.
2155 2000-07-03 Chip Salzenberg <chip@valinux.com>
2157 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2159 * src/Makefile.in: Regenerate.
2161 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2162 Ulrich Drepper <drepper@purist.soma.redhat.com>
2164 Sync libio to glibc-2.2 current CVS.
2165 * libio/_G_config.h: New file.
2166 * libio/wfileops.c: New file.
2167 * libio/wfiledoalloc.c: New file.
2168 * libio/wgenops.c: New file.
2169 * libio/iofwide.c: New file.
2170 * libio/Makefile.am: Tweaks.
2171 * libio/Makefile.in: Regenerate.
2172 * libio/gen-params: Remove. Generic replacement for this yet undone.
2173 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2174 libioP.h, stdfiles.c]: Update.
2175 * config/c_io_libio.cc: Tweaks.
2176 * acinclude.m4: Complete hacks to test wide io.
2177 * aclocal.m4: Regenerate.
2178 * configure: Regenerate.
2179 * src/Makefile.am: Update.
2180 * src/Makefile.in: Regenerate.
2182 * math/cargl.c: Remove underscores.
2184 * bits/locale_facets.h: Tweaks. Start adding iconv details
2186 * bits/locale_facets.tcc: Tweaks.
2187 * bits/std_cwchar.h: Tweaks.
2189 2000-06-29 scott snyder <snyder@fnal.gov>
2191 * bits/concept_checks.h
2192 (__less_then_comparable_requirement_violation): Only check for <.
2193 * testsuite/25_algorithms/lower_bound.cc: New file.
2195 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2197 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2198 * bits/ostream.tcc: Tweak.
2199 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2200 _M_buf_size_opt too.
2201 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2202 out _M_buf_size_opt.
2203 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2204 _M_buf_size_opt out here.
2205 * bits/char_traits.h (char_traits::eos): Non standard member
2206 function, uglify to __eos. Return char_type().
2207 * bits/std_ostream.h: Change.
2209 * testsuite/27_io/ostream_seeks.cc: New file.
2210 * testsuite/27_io/ostream_seeks-1.tst: New file.
2211 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2213 * testsuite/27_io/istream_seeks.cc: New file.
2215 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2217 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2218 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2219 (auto_ptr): _M_ptr changed to void*.
2220 (suto_ptr::get): Cast _M_ptr to element type.
2221 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2222 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2223 (auto_ptr::operator*): Likewise.
2224 (auto_ptr::operator->): Likewise.
2225 (auto_ptr::release): Likewise.
2226 (auto_ptr::reset): Likewise.
2227 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2228 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2229 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2230 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2232 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2234 * testsuite/27_io/filebuf.cc: Tweak.
2235 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2236 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2238 (__basic_file::basic_file): Clean, add calls similar to
2240 (__basic_file::open): Clean.
2241 (__basic_file::sys_open): Clean.
2243 * bits/std_fstream.h: Revert.
2244 * bits/fstream.tcc (filebuf::close()): Revert.
2245 (filebuf::basic_filebuf()): Revert.
2247 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2249 Update to SGI STL 3.3
2250 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2251 ext/stl_rope.h, ext/ropeimpl.h: Update.
2252 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2253 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2254 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2255 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2256 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2257 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2258 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2259 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2260 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2262 * src/Makefile.am (headers): Add new files.
2263 * src/Makefile.in: Regenerate.
2264 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2265 * bits/concept_checks.h: New file.
2266 * bits/container_concepts.h: New file.
2267 * bits/sequence_concepts.h: New file.
2269 2000-06-27 H.J. Lu <hjl@gnu.org>
2270 Loren J. Rittle <ljrittle@acm.org>
2272 * mkcheck.in: Add support to print standard flags needed to
2273 test g++ in build tree. Enhance command line error checking.
2275 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2277 * docs/install.html: Fix minor typo as reported.
2279 2000-06-26 Brent Verner <brent@rcfile.org>
2281 * bits/string.tcc (string::rfind): Fix.
2282 * testsuite/21_strings/rfind.cc: New file.
2284 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2286 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2288 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2290 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2292 * mkcheck.in: Make the *.txt and *.tst files writable after
2293 copying them to $TEST_DIR.
2295 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2296 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2297 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2299 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2301 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2302 (basic_filebuf::close): Use it.
2303 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2305 (basic_filebuf): Add _M_fileno_based data member.
2306 As reported by brent verner <brent@rcfile.org>
2307 * testsuite/27_io/filebuf_members.cc: New file.
2308 * testsuite/27_io/filebuf_members-1.tst: New file.
2310 * bits/std_fstream.h: Formatting tweaks.
2311 * testsuite/27_io/ofstream_members.cc: New file.
2312 * testsuite/27_io/ofstream_members-1.tst: New file.
2313 * testsuite/27_io/ifstream_members.cc: New file.
2314 * testsuite/27_io/ifstream_members-1.tst: New file.
2316 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2317 Ulrich Drepper <drepper@cygnus.com>
2319 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2320 that all the freaky stuff like sincos will be around...
2322 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2324 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2326 2000-06-22 Steven King <sxking@uswest.net>
2328 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2330 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2332 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2333 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2334 link against libm and don't use -fno-builtins...
2335 * math/mathconf.h: Change up builtin macros to new schema.
2336 * bits/std_cmath.h: And here. Wheee!
2337 * shadow/bits/std_cmath.h: And here.
2338 * acconfig.h: Change up builtin macros here.
2339 * math/cosf.c: Remove.
2340 * math/fabsf.c: Likewise.
2341 * math/sinf.c: Likewise.
2342 * math/sqrtf.c: Likewise.
2343 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2344 * math/Makefile.in: Regenerate.
2346 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2348 * testsuite/21_strings/find.cc: Patch.
2350 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2352 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2353 an easy way to get at g++ without having to link in libstdc++.
2355 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2357 Fix alpha, powerpc build failures.
2358 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2359 re-write. Need to check for both proper declaration when using a
2360 c++ compiler, and "C" linkage when linking. Do both, and if both
2361 exist, then define the HAVE_* bits in config.h.
2362 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2363 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2366 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2368 * bits/string.tcc: Fix find.
2369 * testsuite/21_strings/find.cc: Patch.
2371 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2373 * docs/install.html: Update where to get automake, where to get
2375 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2378 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2380 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2381 Add -Werror-implicit-function-declaration instead.
2383 Regenerate with fixed maintainer-tools.
2384 * aclocal.m4: Regenerate.
2385 * configure: Regenerate.
2386 * libio/Makefile.in: Regenerate.
2387 * src/Makefile.in: Regenerate.
2389 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2391 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2392 * bits/locale_factets.tcc: Tweak.
2394 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2396 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2397 be overridden on the command line for individual files.
2399 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2401 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2402 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2403 building. Use -x c++ instead, which does not attempt to link
2406 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2407 not coring when we hit a try/throw block, which was the problem
2408 with the linker support...
2410 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2412 * docs/documentation.html: Rename link to make more accurate and scary.
2413 * docs/gccrebuild.html: Edit for clarity as these are no longer
2415 * docs/install.html: Add bits about binutils for
2416 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2418 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2419 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2420 USE_COMPLEX_LONG_DOUBLE.
2421 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2422 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2423 Works around irregularies in powerpc "C" compiler, but a good idea
2426 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2427 New. Merge both old compiler bug checks for complex into this.
2429 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2431 * testsuite/21_strings/find.cc: Empty strings can be found at all
2432 positions. Modified.
2434 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2436 * testsuite/20_utilities: New directory.
2437 * testsuite/20_utilities/auto_ptr.cc: New file.
2439 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2441 * src/Makefile.am (string_sources): Simplify, assuming that with
2442 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2443 hacking is not necessary.
2444 (wstring_sources): Same.
2445 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2447 * src/string-inst.cc: Remove macro blocks.
2448 * mkcheck.in (CXX_FLAG): Add bits here.
2450 * src/string-inst.cc: Remove iostream-related string instantiations.
2451 * src/misc-inst.cc: Add here.
2453 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2455 * aclocal.m4: Regenerate.
2456 * configure.in: Change up.
2457 * configure: Regenerate.
2459 2000-06-13 Steven King <sxking@uswest.net>
2461 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2462 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2463 * acconfig.h: Add entries for fmod*.
2465 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2467 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2468 Test *_MODFF not *_MODF for modf(float, float*).
2469 (modf(float, float*)): Remove reference to _C_legacy.
2471 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2473 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2474 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2475 superset, and already defined at top level.
2476 * aclocal.m4: Regenerate.
2477 * configure: Regenerate.
2479 * docs/17_intro/contribute.html: Plead with people to use -cp.
2481 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2483 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2485 * testsuite/27_io/filebuf.cc: Changed calls to
2486 fpos<>._M_position() to implicit calls to operator streamoff().
2487 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2488 as not needed. Revert, as part of standard.
2489 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2490 call to numpunct<>._M_init() with overrides of the appropriate
2493 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2494 pointers from test01, so no need to call base(), which isn't
2495 guaranteed to be implemented as iterators may themselves be pointers
2496 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2497 _M_position() - use implicit conversion to streamoff instead
2499 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2501 * bits/stl_iterator.h: Added inline to operators == to >=.
2503 2000-06-13 Brent Verner <brent@rcfile.org>
2505 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2506 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2508 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2510 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2512 * src/locale.cc: Add cwchar include here. Remove incorrect
2513 definitions, and stub them out.
2514 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2515 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2516 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2517 * config/newlib/ctype.cc: Same.
2518 * config/gnu-linux/ctype.cc: Same.
2519 * config/bsd/ctype.cc: Same.
2520 * config/aix/ctype.cc: Same.
2522 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2524 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2525 towupper and towlower to convert wide characters.
2527 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2529 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2531 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2533 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2534 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2535 * aclocal.m4: Regenerate.
2536 * configure: Regenerate.
2537 * math/cosf.c: New file.
2538 * math/fabsf.c: Likewise.
2539 * math/sinf.c: Likewise.
2540 * math/sqrtf.c: Likewise.
2541 * math/Makefile.am (EXTRA_DIST): Add those four files.
2542 * math/Makefile.in: Regenerate.
2544 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2546 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2548 2000-06-06 Steven King <sxking@uswest.net>
2550 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2551 double and long double. Added defines for HAVE libm math functs for
2552 float and long double.
2553 * aclocal.m4: Added configure checks for builtin math funcs and libm
2554 support for float and long double versions of the math functions.
2555 * config.h.in: Added undefs for math functs.
2556 * configure: Regenerate.
2557 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2558 _GLIBCPP_HAVE_BUILTIN_*.
2559 * bits/std_cmath.h: Added long double support. Use builtins for
2560 float, double and long if available, otherwise, use libm versions if
2561 availible, otherwise, punt.
2562 * shadow/bits/std_cmath.h: ditto
2564 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2566 * bits/locale_facets.h: Tweak.
2567 * src/locale.cc (codecvt<wchar_t>): Tweak.
2569 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2570 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2572 * bits/basic_string.h: Move data member up.
2573 * src/string-inst.cc: Fix instantiations.
2574 * bits/string.tcc: Fix types.
2576 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2578 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2580 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2582 * bits/std_cwctype.h: Clean.
2583 * bits/std_cwchar.h: Clean, remove cruft.
2585 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2586 for beginning iconv support.
2587 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2589 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2590 * bits/limits_generic.h: Remove.
2591 * src/gen-num-limits.cc: Same.
2593 * src/locale.cc: Tweaks.
2595 * bits/char_traits.h: Tweaks.
2597 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2599 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2600 exponent, scientific formatting issues.
2601 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2603 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2605 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2606 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2608 2000-05-31 Nathan Myers <ncm@cantrip.org>
2610 * docs/thanks.html: edit own credits
2612 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2614 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2616 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2618 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2620 2000-05-31 Steven King <sxking@uswest.net>
2622 * shadow/time.h: fix typo
2623 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2624 * shadow/bits/std_cwchar.h: ditto
2625 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2628 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2630 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2631 available, force --disable. Need to flesh this out; make smarter.
2632 * aclocal.m4: Regenerate.
2633 * configure: Regenerate.
2635 * mkcheck.in: Minor tweaks.
2636 * docs/download.html: Fix typo.
2638 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2640 * inclosure: Change to...
2641 * mkinclosure: This.
2643 * mkcshadow: Fix paths to bash.
2645 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2646 * src/Makefile.in: Regnerate.
2647 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2648 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2649 * aclocal.m4: Regenerate.
2650 * mkcheck.in (INC_PATH): Tweak.
2652 * configure.in: Enable long long by default.
2653 * configure: Regenerate.
2655 * mkcheck.in (LIB_PATH): Revert.
2657 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2659 * config/cpu/i486: New directory.
2660 * config/cpu/i486/bits: New directory.
2661 * config/cpu/i486/bits/atomicity.h: New file.
2662 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2664 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2666 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2668 * backward/alloc.h (__default_alloc_template): Only expose
2669 implementation-specific symbol, if it exists in the
2671 * backward/iostream.h (ends): Expose symbol.
2672 * backward/strstream.h: New file.
2673 * backward/stream.h: New file.
2674 * backward/ostream.h: New file.
2675 * backward/istream.h: New file.
2676 * backward/fstream.h: New file.
2677 * backward/complex.h: New file.
2678 * backward/iomanip.h: New file.
2680 * mkcheck.in (LIB_PATH): Add -R bits.
2682 * math/carg.c (carg): Replace __atan2 with atan2.
2684 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2686 * Makefile.am (TAGS): Construct.
2687 * Makefile.in: Rengerate.
2688 * src/Makefile.am: Tweak.
2689 * src/Makefile.in: Tweak.
2690 * configure.in: Tweak.
2692 * bits/c++config.h: Rename to ...
2693 * bits/c++config: This.
2694 * mkc++config: Adjust.
2697 * m4/lc_message.m4: Merge into acinclude.m4.
2698 * m4/mathfcts.m4: Same.
2699 * m4/stringfcts.m4: Same.
2700 * acinclude.m4: Add here.
2701 * configure: Regnerate.
2703 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2704 OPTLEVEL. Add FMTFLAGS.
2705 * aclocal.m4: Regenerate.
2706 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2707 been disabled due to higher-level Makefiles running amuck over
2708 this bit, and add in FMTFLAGS so that formatting is clear.
2709 * src/Makefile.in: Regenerate.
2710 * configure: Regenerate.
2712 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2715 * docs/download.html: Remove references to Cygwin-specific bits,
2716 as this can now be built natively.
2717 Update with current information.
2719 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2721 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2722 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2723 enclose other tests in this macro, including future ones.
2724 * aclocal.m4: Regenerate.
2725 * configure: Regenerate.
2727 * docs/faq/index.html: Update location of libg++ FAQ.
2728 * docs/faq/index.txt: Regenerate.
2730 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2732 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2734 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2736 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2738 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2740 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2741 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2742 * aclocal.m4: Regenerate.
2743 * configure: Regenerate.
2745 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2747 * bits/generic_shadow.h: s/swamp/legacy/
2749 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2751 * acinclude.m4: Clean up comments on newer checks.
2752 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2753 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2754 * aclocal.m4: Regenerate.
2755 * configure: Regenerate.
2756 * Makefile.in: Regenerate.
2757 * libio/Makefile.in: Regenerate.
2758 * math/Makefile.in: Regenerate.
2759 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2760 * src/Makefile.in: Regenerate.
2761 * docs/configopts.html: Document changes to --enable names.
2763 2000-05-18 Chip Salzenberg <chip@valinux.com>
2765 * bits/ostream.tcc (_S_pad_char): Function template should not be
2767 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2768 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2770 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2772 * mkcshadow: Change C_Swamp to C_legacy.
2774 * shadow/bits/*: Same.
2775 s/C_Swamp/C_legacy/g
2779 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2781 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2783 * src/string-inst.cc (string::_S_find): Same.
2785 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2787 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2788 --enable-cshadow-headers. Add output messages.
2789 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2790 underscores (like the rest of the enable options.) Add output messages.
2791 * aclocal.m4: Regenerate.
2792 * configure: Regenerate.
2793 * configure.in: Touch.
2795 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2797 * mkcheck.in: Enable shared library testing.
2799 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2801 * bits/std_cmath.h: fix sqrt(float)
2803 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2805 * bits/std_cassert.h: Use system_header pragma.
2806 * bits/std_cctype.h: Likewise.
2807 * bits/std_cerrno.h: Likewise.
2808 * bits/std_cfloat.h: Likewise.
2809 * bits/std_climits.h: Likewise.
2810 * bits/std_clocale.h: Likewise.
2811 * bits/std_cmath.h: Likewise.
2812 * bits/std_csetjmp.h: Likewise.
2813 * bits/std_csignal.h: Likewise.
2814 * bits/std_cstdarg.h: Likewise.
2815 * bits/std_cstddef.h: Likewise.
2816 * bits/std_cstdio.h: Likewise.
2817 * bits/std_cstdlib.h: Likewise.
2818 * bits/std_cstring.h: Likewise.
2819 * bits/std_ctime.h: Likewise.
2820 * bits/std_cwchar.h: Likewise.
2821 * bits/std_cwctype.h: Likewise.
2822 * bits/std_exception.h: Likewise.
2823 * bits/std_new.h: Likewise.
2824 * bits/std_typeinfo.h: Likewise.
2825 * shadow/bits/std_cassert.h: Likewise.
2826 * shadow/bits/std_cctype.h: Likewise.
2827 * shadow/bits/std_cerrno.h: Likewise.
2828 * shadow/bits/std_cfloat.h: Likewise.
2829 * shadow/bits/std_climits.h: Likewise.
2830 * shadow/bits/std_clocale.h: Likewise.
2831 * shadow/bits/std_cmath.h: Likewise.
2832 * shadow/bits/std_csetjmp.h: Likewise.
2833 * shadow/bits/std_csignal.h: Likewise.
2834 * shadow/bits/std_cstdarg.h: Likewise.
2835 * shadow/bits/std_cstddef.h: Likewise.
2836 * shadow/bits/std_cstdio.h: Likewise.
2837 * shadow/bits/std_cstdlib.h: Likewise.
2838 * shadow/bits/std_cstring.h: Likewise.
2839 * shadow/bits/std_ctime.h: Likewise.
2840 * shadow/bits/std_cwchar.h: Likewise.
2841 * shadow/bits/std_cwctype.h: Likewise.
2842 * shadow/bits/wrap_libio.h: Likewise.
2843 * shadow/bits/wrap_unistd.h: Likewise.
2844 * shadow/sys/cdefs.h: Likewise.
2846 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2848 It appears that gcc-2.96 supports the keyword "and" now.
2849 * bits/std_ciso646.h: remove.
2851 * testsuite/17_intro/header_ciso646.c: enable testing.
2852 * src/Makefile.am, src/Makefile.in: remove mention of
2855 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2857 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2859 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2861 * acinclude.m4: Fix typo, switch to decaf...
2862 * aclocal.m4: Regenerate.
2863 * configure: Regenerate.
2865 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2867 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2868 * aclocal.m4: Regenerate.
2869 * configure.in: Call.
2870 * configure: Regenerate.
2871 * docs/configopts.html: Stub documentation.
2873 2000-05-14 Nathan Myers <ncm@cantrip.org>
2875 * mkcshadow: build in more-correct directory, create cshadow/
2876 directory if needed, report progress.
2878 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2880 * src/Makefile.am: Fix tr commands.
2881 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2882 * src/string-inst.cc: Remove extra instantiation of
2883 S::basic_string(S::size_type, C, S::allocator_type const&);
2884 * src/string-inst.cc: Remove extra template keyword.
2886 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2888 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2889 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2890 * aclocal.m4: Regenerate.
2891 * configure: Regenerate.
2892 * */Makefile.in: Regenerate.
2894 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2896 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2897 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2898 * aclocal.m4: Regenerate.
2899 * configure.in: Non-blank arguments break fewer Linuxes.
2900 * configure: Regenerate.
2901 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2902 * src/Makefile.in: Regenerate.
2904 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2906 * bits/std_cmath.h: Tweaks.
2907 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2908 (sqrtf): Define away iff !builtin and !in <math.h>.
2912 At some point this directory should be converted to c++, the
2913 autoconf tests should be run by the c++ compiler (not c), and
2914 <cmath> should be used instead of math.h.
2915 Move declaration of nan() here.
2916 * math/complex-stub.h (cabsl): Remove nan() declaration.
2918 Finish up FreeBSD4.0 support.
2919 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2920 * config/generic/ctype.cc: And here.
2921 * testsuite/21_strings/char_traits.cc (test02): Guard with
2922 _GLIBCPP_USE_WCHAR_T.
2924 via Phil Edwards <pme@sourceware.cygnus.com>
2925 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2926 * acconfig.h: And here.
2927 * acinclude.m4: Same.
2928 * testsuite/27_io/istream.cc: And here.
2929 * testsuite/27_io/ostream.cc: And here.
2931 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2933 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2935 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2937 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
2940 * config/bsd: New directory.
2941 * config/bsd/ctype.cc: New.
2942 * config/bsd/bits/ctype_base.h (ctype_base): New.
2943 * config/bsd/bits/ctype_specializations.h: New.
2944 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
2946 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
2948 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
2949 * configure.in: Call.
2950 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
2951 * aclocal.m4: Regenerate.
2953 * src/Makefile.in: Ditto.
2954 * docs/configopts.html: Document.
2955 * docs/download.html: Fix typo (close quote).
2956 * docs/footer.html: Update.
2958 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
2960 * backward/iostream.h: Expose endl. Guard wide types.
2961 * src/Makefile.am (headers): Update list to match files.
2962 * src/Makefile.in: Regenerate.
2964 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
2965 Benjamin Kosnik <bkoz@gnu.org>
2966 Nathan Myers <ncm@cantrip.org>
2967 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
2969 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
2970 (basic_streambuf::xsputn): Make consistent.
2971 * testsuite/27_io/filebuf.cc: Add tests.
2973 2000-05-08 Steven King <sxking@uswest.net>
2975 * bits/char_traits.h: Use wchar_t utility functions for
2976 char_traits<wchar_t> methods.
2977 * testsuite/21_string/char_traits.cc: New (test02): test
2978 char_traits<wchar_t>
2980 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
2982 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
2984 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
2985 _M_buf_size based on macro, instead use _M_buf_size_opt.
2986 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
2987 (basic_streambuf()): Set _M_buf_size_opt.
2988 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
2989 instead of _M_buf_size.
2991 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
2993 * src/complex_io.cc: Don't instantiate inserters and extractors
2994 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2996 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
2997 Felix Natter <fnatter@gmx.net>
2999 * docs/footer.html: Update to see if it takes effect.
3000 * docs/thanks.html: More people.
3001 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3002 be seen from the web pages. Rename for browser-friendliness...
3003 * docs/17_intro/howto.html: ...and update here.
3004 * docs/17_intro/porting-howto.html: Changes from Felix.
3005 * docs/gccrebuild.html: Mention v3->egcs move.
3006 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3007 * docs/faq/index.txt: Regenerate.
3009 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3011 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3014 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3016 * bits/char_traits.h: Fix parameter types.
3017 * bits/string.tcc: Avoid traits_type::move.
3019 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3021 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3022 * src/Makefile.in: Regenerate.
3023 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3025 2000-04-30 Steven King <sxking@uswest.net>
3027 * bits/locale_facets.h: Fix syntax error.
3028 * bits/std_fstream.h: ditto
3030 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3032 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3034 * mknumeric_limits (trait_name): Fix copyright notice.
3035 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3036 round_error data members of struct value. This works around
3037 weak-linking issues on AIX, HPUX.
3039 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3041 * docs/download.html: Add link to list of mirror sites.
3043 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3045 * mkcheck.in: Rely on exit status instead of the presence of a
3046 core file. Added comments on how/where to save core and exe
3047 files. Move shell wildcards outside quotes and fix core path.
3049 2000-04-27 scott snyder <snyder@fnal.gov>
3051 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3054 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3056 * bits/basic_string.h: include <bits/atomicity.h> instead
3057 of <atomicity.h>, and use the uglified names.
3058 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3059 uglify names, eliminate dependence on <inttypes.h>.
3060 * src/Makefile.in, src/Makefile.am: refer to correct place
3061 for atomicity.h header.
3063 2000-04-25 Steven King <sxking@uswest.net>
3065 * bits/basic_string.h: Fix syntax error.
3067 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3069 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3071 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3072 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3073 versions to this as copysignl is needed anyway for these targets.
3074 * math/Makefile.in: Regenerate.
3076 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3077 * bits/fstream.tcc (underflow): Cast to libio types.
3078 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3079 * config/c_io_libio.cc (seekoff): And here.
3081 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3083 * mkcheck.in: Report compiler version used for test. Find
3084 the built _G_config.h instead of any old installed version.
3086 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3088 * config/generic/ctype.cc (do_toupper): Remove dependence on
3089 non-portable/non-existent lookup table.
3092 2000-04-24 Nathan Myers <ncm@cantrip.org>
3094 * src/string-inst.cc: More fixing.
3096 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3098 * bits/stl_iterator.h: Pedantic fixing.
3099 * bits/std_sstream.h: And here.
3100 * bits/string.tcc: And here.
3102 2000-04-24 Felix Natter <fnatter@gmx.net>
3104 * docs/17_intro/howto.html: Add bits.
3105 * docs/17_intro/porting-howto.html: New file.
3107 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3109 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3110 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3111 wchar_t, to empty string otherwise.
3112 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3113 (sources): Remove $(string_sources) and $(wstring_sources).
3114 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3115 (libstdc___la_DEPENDENCIES): New.
3116 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3118 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3120 * bits/std_sstream.h: Tweak formatting.
3121 * bits/std_fstream.h: Make types public.
3123 * testsuite/27_io/streambuf.cc: Fix for alpha.
3125 Brad Garcia <bgarcia@laurelnetworks.com>
3126 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3128 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3131 2000-04-19 Nathan Myers <ncm@cantrip.org>
3133 * src/string-inst: consolidate _S_create,
3134 destroy, leak, clone members into stringMAIN and stringMUTATE
3136 * src/Makefile.am: Above, and eliminate dependence on
3138 * src/wstring-inst.cc: Remove.
3140 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3142 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3143 Add flags for specialized rules dealing with instantiations.
3145 * src/string-inst.cc: Add instantiations missing from shared
3146 libraries--see stringEQ, stringCONSC.
3147 * src/Makefile.am (wstring_sources): Add.
3148 (string_sources): Same.
3149 * src/Makefile.in: Regenerate.
3151 * stl/*: Integrate contents of this directory into top-level
3153 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3154 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3155 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3156 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3157 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3158 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3159 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3160 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3161 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3162 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3163 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3164 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3165 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3166 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3167 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3168 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3169 stack.h tempbuf.h tree.h vector.h: Add.
3170 * README (file): Update.
3171 * docs/documentation.html: README not being found.
3172 * src/Makefile.am (sources): Take out stl directory.
3173 * mkcheck.in (SRC_DIR): And here.
3174 * src/Makefile.in: Regenerate.
3176 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3178 * stl/bits/stl_function.h: Add bits so that const and non-const
3181 2000-04-18 scott snyder <snyder@fnal.gov>
3183 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3184 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3185 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3186 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3187 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3189 2000-04-18 scott snyder <snyder@fnal.gov>
3191 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3194 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3195 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3196 * stl/ext/hash_set (class hash_set, class hash_multiset):
3198 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3199 constant_binary_fun): Likewise.
3200 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3201 * stl/bits/stl_stack.h (class stack): Likewise.
3202 * stl/bits/stl_set.h (class set): Likewise.
3203 * stl/bits/stl_multiset.h (class multiset): Likewise.
3205 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3206 class reverse_iterator): Get rid of use of
3207 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3209 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3212 * stl/bits/stl_deque.h (class deque): Get rid of use of
3213 __STL_DEFAULT_ALLOCATOR macro.
3214 * stl/bits/stl_list.h (class list): Likewise.
3215 * stl/bits/stl_multiset.h (class multiset): Likewise.
3216 * stl/bits/stl_set.h (class set): Likewise.
3217 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3218 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3219 * stl/bits/stl_vector.h (class vector): Likewise.
3220 * stl/ext/ropeimpl.h (rotate): Likewise.
3221 * stl/ext/hash_map (class hash_map, class hash_multimap):
3223 * stl/ext/hash_set (class hash_set, class hash_multiset):
3225 * stl/ext/slist (class slist): Likewise.
3226 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3227 * stl/ext/stl_rope.h (class rope): Likewise.
3228 * src/locale.cc (_Impl): Likewise.
3229 * src/localename.cc (_Impl): Likewise.
3230 * bits/localefwd.h (_Impl): Likewise.
3232 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3234 * docs/install.html: Cleanup, minor changes.
3235 * docs/17_intro/howto.html: Ditto.
3237 2000-04-18 Nathan Myers <ncm@cantrip.org>
3239 * bits/basic_string.h: Remove "inline" from member _S_find.
3241 * src/string-inst.cc: Rewrite to reflect non-inline template
3242 instantiations in string.tcc.
3244 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3245 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3246 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3247 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3248 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3249 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3250 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3251 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3252 stringNESS.cc, stringSCOPY.cc: Remove.
3253 * src/wstringADDCS.cc, etc: Remove.
3255 Benjamin Kosnik <bkoz@haight.constant.com>
3256 * src/Makefile.am: Modify to reflect above.
3257 * src/Makefile.in: Regenerate.
3259 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3261 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3263 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3265 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3266 io interface here instead of the libio particulars.
3268 * config/threads-posix.h: Consistency with stl_config.h.
3270 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3272 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3274 * mknumeric_limits: Rename generic type template parameter name
3276 * stl/bits/type_traits.h: Ditto.
3278 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3280 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3281 it is more useful for --enable-libstdcxx-v3. Use the built
3282 compilers with v3, instead of compilers in PATH, and don't
3283 re-include include directories for checking the install.
3285 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3287 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3288 by default when using --enable-libstdcxx-v3.
3289 * src/Makefile.in: Regenerate.
3290 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3291 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3292 * configure: Regenerate.
3293 * mkcheck.in: Deal with NAMESPACES.
3295 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3297 * src/cmath.cc: New file...
3298 (pow(*, int)): Define functions...
3299 * src/Makefile.am (sources): ...register file.
3300 * src/Makefile.in: Regenerate.
3301 * bits/std_cmath.h (pow): ...declare functions here, and remove
3304 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3306 * acinclude.m4 (GCC_OBJDIR): Tweaks
3308 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3310 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3311 * config/cpu/arm: New directory.
3313 Jesper Skov <jskov@redhat.com>
3314 * config/cpu/arm/atomicity.h: New file.
3316 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3318 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3319 Remove unused bits. Clean.
3321 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3323 * testsuite/25_algorithms: New directory.
3324 * testsuite/25_algorithms/min_max.cc: New file.
3326 2000-03-29 scott snyder <snyder@fnal.gov>
3328 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3329 precision beyond that which we get from numeric_limits::digits10.
3331 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3334 * testsuite/23_containers/bitset_shift.cc: Fix.
3336 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3337 temporary to imbue().
3339 * bits/std_fstream.h (sync): Resync libio's idea of the current
3340 file position with the external file.
3342 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3344 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3347 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3348 attempting calls to it.
3349 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3350 ctors. Instead, call _M_init_filebuf ...
3351 (open): Here, as suggested by 27.8.1.3.
3352 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3353 properly when initializing cout/cin/cerr.
3355 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3357 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3358 * testsuite/22_locale/ctype_char_members.cc: And here.
3359 * testsuite/27_io/streambuf.cc (streambuf): And here.
3360 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3361 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3362 * testsuite/27_io/istream_extractor_arith.cc: And here.
3363 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3364 * testsuite/27_io/ios_base_members_static.cc: And here.
3365 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3367 2000-03-27 Chris Faylor <cgf@cygnus.com>
3369 * configure.in: Remove setting of CXX if canadian cross.
3370 * configure: Regenerate.
3372 2000-03-27 Nathan Myers <ncm@zembu.com>
3374 * bits/sstream.tcc: Optimize.
3375 * bits/basic_string.h(string::append): Don't inline.
3376 * bits/string.tcc: Move out-of-line.
3378 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3380 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3381 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3382 * aclocal.m4: Regenerate.
3383 * configure: Regenerate.
3384 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3385 * src/Makefile.in: Regenerate.
3387 * docs/install.html: Almost complete rewrite.
3389 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3391 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3392 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3394 * docs/faq/index.txt: Regenerate.
3396 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3398 * src/Makefile.am (libio_headers_install): Fix.
3399 * src/Makefile.in: Regenerate.
3401 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3403 * docs/17_intro/RELEASE-NOTES: Fix typos.
3404 * docs/index.html: Update.
3405 * docs/17_intro/BUGS: Update.
3406 * docs/status.html: Update for 2.90.8 release.
3408 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3410 * Makefile.am: Better error message when missing libgcc2.ready.
3411 * Makefile.in: Regenerate.
3412 * acinclude.m4: Fastidious nitpicking reformatting.
3413 * aclocal.m4: Regenerate.
3414 * configure: Regenerate.
3415 * mkcheck.in: Must use same namespace settings as the library being
3416 tested. Also log ST_FLAG, since it's being passed.
3417 * docs/install.html: Add brief chunk on configuration.
3418 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3419 * docs/23_containers/howto.html: Mention MT-safe string.
3420 * docs/faq/index.html: Minor updates.
3421 * docs/faq/index.txt: Regerarate.
3423 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3425 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3427 * bits/fstream.tcc (seekoff): Sync.
3429 * testsuite/27_io/ostream_unformatted.cc: New file.
3430 * testsuite/27_io/stringbuf.cc: Fix.
3431 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3433 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3434 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3436 * src/complex_io.cc (operator>>complex): Tweak.
3438 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3439 <inttypes.h> does not exist.
3440 * config/cpu/sparc/sparc64/atomicity.h: Same.
3441 * config/cpu/sparc/sparc32/atomicity.h: Same.
3442 * config/cpu/powerpc/atomicity.h: Same.
3443 * config/cpu/i386/atomicity.h: Same.
3444 * config/cpu/generic/atomicity.h: Same.
3445 * configure.in: Check for inttypes.h.
3446 * configure: Regnerate.
3448 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3450 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3452 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3454 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3456 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3457 are compiling natively.
3459 * libio/*: Update to CVS libio from egcs.
3461 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3463 * docs/download.html: Document use of -z9 for CVS.
3464 * docs/index.html: Add target date (no link) for future snapshot.
3466 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3468 * bits/slice_array.h: Rename generic type template parameter name
3470 * bits/mask_array.h: Ditto
3472 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3474 * *: Change copyright holder from "Cygnus Solutions" to "Free
3475 Software Foundation, Inc."
3477 * docs/configopts.html: Explain what "hella versions" means.
3478 * docs/install.html: Some tweaks--nice job on this Phil.
3479 * docs/documentation.html: Add a direct link to configuration options.
3481 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3482 * docs/17_intro/RELEASE-NOTES (New): Add.
3483 * bits/c++config.h (__GLIBCPP__): Bump version.
3485 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3486 type to match prototype.
3488 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3490 * docs/install.html: Update for new funky build procedure. Move
3491 description of 'configure' options to...
3492 * docs/configopts.html: ...here. New file.
3493 * docs/17_intro/howto.html: Updates for new snapshot.
3494 * docs/20_util/howto.html: Ditto.
3495 * docs/21_strings/howto.html: Ditto.
3496 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3497 * docs/22_locale/howto.html: Ditto.
3498 * docs/23_containers/howto.html: Ditto.
3499 * docs/faq/index.html: Ditto.
3501 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3502 Benjamin Kosnik <bkoz@gnu.org>
3504 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3506 * aclocal.m4: Regenerate.
3507 * configure: Regenerate.
3509 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3510 scott snyder <sss@karma.fnal.gov>
3512 * config/c_io_libio.h: Add __c_lock.
3513 * config/threads-no.h: Same here.
3514 * config/threads-posix.h: Add __mutext_type typedef.
3515 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3516 * bits/basic_file.h: Ctor takes lock arg.
3517 * bits/std_fstream.h: Add _M_lock.
3518 * bits/fstream.tcc: Supply it to basic_file ctor.
3520 * mkcheck.in (resultstext): Change [[ to [.
3522 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3524 * bits/locale_facets.h: Tweak.
3526 * stl/bits/stl_config.h: Fix defines.
3528 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3530 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3532 * configure: Regenerate.
3533 * aclocal.m4: Regnerate.
3535 2000-03-16 Nathan Myers <ncm@zembu.com>
3537 * bits/string.tcc: Add MT support.
3538 * bits/basic_string.h: Same.
3540 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3542 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3544 * configure: Regenerate.
3546 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3548 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3550 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3551 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3552 any defaults passed in.
3553 * aclocal.m4: Regenerate.
3555 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3557 * mkcheck.in: Report total successes and failures.
3559 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3561 * config/cpu: New directory, intended to be used to provide
3562 cpu-specific configuration files. In particular, assembly language
3563 primitives for thread safety.
3564 * config/cpu/alpha: Populate.
3565 * config/cpu/alpha/atomicity.h: New file.
3566 * config/cpu/arm: Populate.
3567 * config/cpu/generic: Populate.
3568 * config/cpu/generic/atomicity.h: New file.
3569 * config/cpu/hppa: Populate.
3570 * config/cpu/i386: Populate.
3571 * config/cpu/i386/atomicity.h: New file, take from i486.
3572 * config/cpu/m68k: Populate.
3573 * config/cpu/mips: Populate.
3574 * config/cpu/powerpc: Populate.
3575 * config/cpu/powerpc/atomicity.h: New file.
3576 * config/cpu/sparc: Populate.
3577 * config/cpu/sparc/sparc32: Populate.
3578 * config/cpu/sparc/sparc64: Populate.
3579 * config/cpu/sparc/sparc32/atomicity.h: New file.
3580 * config/cpu/sparc/sparc64/atomicity.h: New file.
3582 * src/Makefile.am (myinstallheaders): Add install routines.
3583 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3585 * configure.in: Add.
3587 * config/default: Adopt glibc naming conventions, and so move to
3588 * config/generic: Here.
3589 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3591 2000-03-15 Bill Thompson <billt@toast.net>
3593 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3595 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3597 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3599 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3600 * aclocal.m4: Regenerate.
3601 * configure: Regenerate.
3603 2000-03-13 scott snyder <snyder@fnal.gov>
3604 Jason Merrill <jason@cygnus.com>
3606 * bits/locale_facets.h (class ctype, class ctype<char>, class
3607 ctype<wchar_t>): More mask fixes.
3608 * testsuite/22_locale/ctype.cc: Test for the problem.
3610 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3612 * acconfig.h: Add bits.
3613 * configure.in: Move AM_PROG_LIBTOOL up in file.
3614 Tweak cross compiling info.
3615 * configure: Regenerate.
3617 * mknumeric_limits (XCOMPILE): Echo compilation line for
3620 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3621 * aclocal.m4: Regenerate.
3622 * configure: Regenerate.
3623 * config/aix/ctype.cc (ctype): Tweak.
3624 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3625 * config/aix/bits/ctype_specializations.h: New file.
3627 2000-03-10 scott snyder <snyder@fnal.gov>
3629 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3631 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3632 regression test for the problem.
3634 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3636 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3637 * bits/fpos.h: And here.
3638 * bits/std_ostream.h: Same here.
3639 * bits/std_istream.h: Same here.
3640 * bits/basic_ios.h: Same here.
3641 * bits/std_fstream.h: Same here.
3642 * bits/sbuf_iter.h (std): Here too.
3643 * bits/std_sstream.h: Make types public.
3645 * src/misc-inst.cc: Use size_t instead of unsigned int.
3646 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3647 suppose this should be ctype::narrow... all the ctype<wchar_t>
3648 stuff needs to be cleaned up.
3650 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3652 * docs/gentop: Remove entire directory, finally.
3654 2000-03-09 scott snyder <snyder@fnal.gov>
3656 * bits/std_cmath.h (modf): Fix pointer overrun.
3657 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3658 test for the problem.
3660 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3662 Looks like changes to the #include'd files must be followed by a
3663 change to the #include'ing files to take effect. Caveat emptor.
3664 * docs/header.html: New file, for server-side include.
3665 * docs/footer.html: New file, for server-side include.
3666 * docs/documentation.html: Change to use SSI.
3667 * docs/download.html: Ditto.
3668 * docs/index.html: Ditto.
3669 * docs/mail.html: Ditto.
3670 * docs/status.html: Ditto.
3671 * docs/thanks.html: Ditto, plus minor updates.
3672 * docs/how.html: Remove.
3674 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3676 Preliminary alpha-linux support.
3677 * src/locale.cc (ctype<wchar_t>): Use correct types...
3678 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3679 (ctype<wchar_t>): Same.
3680 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3681 types match for table_size (size_t).
3683 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3684 as per char specialization.
3685 * config/*/ctype.cc: Same.
3687 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3689 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3690 _Ctype_nois<>. Template base classes are never examinated in
3691 first-phase name-lookup.
3693 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3695 Add Solaris 2.5.1 support.
3696 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3697 * config/solaris/solaris2.5/ctype.cc: Fixup.
3698 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3699 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3700 * aclocal.m4: Regenerate.
3701 * configure: Regenerate.
3703 * config/default/ctype.cc (ctype): Fixup.
3705 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3707 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3708 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3711 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3713 * bits/cpp_type_traits.h: Expand on this file purpose.
3715 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3717 * bits/locale_facets.h (ctype<char>): Remove static members, and
3718 re-work initialization code.
3719 (ctype<wchar_t>): Same.
3720 Move _S_touppper to _M_toupper and initialize in ctor.
3721 Move _S_tolower to _M_tolower and initialize in ctor.
3722 Move _S_table to _M_ctable and intialize in ctor.
3723 * bits/locale_facets.h (std): And here.
3724 * src/locale.cc (std): Tweak.
3725 * config/gnu-linux/ctype.cc: Change initialization here.
3726 * config/newlib/ctype.cc: And here.
3727 * config/solaris/solaris2.7/ctype.cc: And here.
3728 * config/solaris/solaris2.6/ctype.cc: And here.
3730 * bits/localefwd.h: Tweak.
3731 * bits/std_streambuf.h: Tweak formatting.
3733 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3735 2000-03-05 Chip Salzenberg <chip@valinux.com>
3737 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3739 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3740 Kevin Atkinson <kevinatk@home.com>
3742 Initial grab of SGI's strstream implementation with minor
3744 * src/strstream.cc: New file.
3745 * std/strstream: New file.
3746 * stl/bits/std_strstream.h: New file.
3747 * bits/std_streambuf.h: Add public access.
3748 * src/Makefile.am: Add strstream sources to list of dependancies.
3749 * src/Makefile.in: Regenerate.
3751 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3753 * bits/valarray_meta.h: Fix typo.
3755 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3756 Chip Salzenberg <chip@valinux.com>
3757 Petter Urkedal <petter@matfys.lth.se>
3759 * src/Makefile.am (myinstallheaders): Hack to avoid
3761 * src/Makefile.in: Regenerate.
3763 2000-03-02 Chip Salzenberg <chip@valinux.com>
3765 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3766 (LINK): Put quotes around "$(CC)" for libtool link mode,
3767 so libtool will use "-B" options during GCC bootstrap.
3768 * */Makefile.in: Regenerate.
3770 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3772 * config/c_io_libio.h: Enclose it all in ::std.
3773 * bits/basic_string.h (basic_string<>): Make types and
3775 * mkc++config: Truncate output file before writing.
3777 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3779 * math/cabsf.c (__mycabsf): Rename to cabsf.
3780 * math/cabs.c (__mycabs): Rename to cabs.
3782 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3784 * bits/basic_string.h: Move declarations of __out_of_range(),
3785 __length_error() and accompanying macros ...
3786 * bits/exception_support.h: here. (Newly created file).
3787 * bits/basic_string.h: #include <bits/exception_support.h>
3788 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3789 * src/Makefile.am (headers): Add.
3790 * src/Makefile.in: Regenerate.
3792 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3794 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3796 * bits/valarray_array.h: Synch. Fix typos.
3798 * libio/Makefile.am: Change to only compile source files that
3799 config/c_io_libio.cc actually needs.
3800 * libio/Makefile.in: Regnerate.
3801 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3802 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3803 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3804 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3805 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3806 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3807 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3808 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3809 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3810 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3811 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3812 strops.c strstream.h: Delete.
3814 * bits/basic_file.h: Stub out or delete unused bits in this
3816 (filepos_beg): Remove.
3817 (filepos_cur): Remove.
3818 (filepos_valid): Remove.
3819 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3821 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3823 * bits/cpp_type_traits.h: Correct typo.
3825 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3827 * bits/cpp_type_traits.h: New file.
3829 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3830 Improve array construction.
3831 (_Array_default_ctor): New dispatcher class.
3832 (__valarray_default_construct): New function.
3833 (_Array_copy_ctor): New dispatcher class.
3834 (__valarray_copy_construct): New function.
3835 (_Array<>::free_data): Remove.
3837 * src/Makefile.am (headers): Add cpp_type_traits.h
3838 * src/Makefile.in: Regenerate.
3840 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3842 Prune libio directory to match files in libio/Makefile.
3843 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3844 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3845 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3846 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3847 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3848 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3849 stdstreams.cc: Remove.
3850 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3851 * libio/iofflush_u.c: Remove.
3853 * libio/dbz: Remove.
3854 * libio/include: Remove.
3855 * libio/stdio: Remove.
3856 * libio/tests: Remove.
3857 * libio/testsuite: Remove.
3859 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3861 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3862 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3863 * configure: Regenerate.
3865 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3867 Abstract out the underlying "C" io bits.
3868 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3869 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3870 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3872 * stl/bits/stl_config.h: Don't include _G_config.h.
3874 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3875 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3876 * config/c_io_libio.cc: Tweak.
3878 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3879 * src/Makefile.in: Regenerate.
3880 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3881 prefix/include files will be picked up.
3882 * Makefile.in: Regenerate.
3883 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3884 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3886 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3887 * bits/fpos.h: And here.
3888 * bits/basic_file.h (get_fileno): Move definition from ...
3889 * src/basic_file.cc (std): To here.
3890 * bits/fpos.h: Move types for streamoff, streampos to..
3891 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3892 * config/c_io_libio.h: ...here.
3893 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3894 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3895 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3896 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3897 abstract out bits in ios_base.
3898 * bits/ios_base.h: Re-macrofy.
3899 * src/basic_file.cc : Rename, move to
3900 * config/c_io_libio.cc: Here.
3901 * config/c_io_libio.h: New file. Include libio.
3902 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3903 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3904 * configure: Regenerate.
3905 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3906 (generated_headers): Add c++io.h
3907 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3908 underlying "C" io library.
3909 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3910 GLIBCPP_ENABLE_CSTDIO.
3912 * configure.in: Add configure bits for cross compiling non-newlib
3914 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3915 target, as we assume g++ support is not the limiting factor.
3916 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3917 * configure: Regenerate.
3919 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3921 * Makefile.am (INTERFACE): Define.
3922 * Makefile.in: Regenerate.
3923 * libio/ChangeLog: Add entry.
3925 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3927 * docs/install.html: Update install directions.
3929 * docs/status.html: Fix sidebar to be consistent.
3930 * docs/thanks.html: Same.
3931 * docs/links.html: Same.
3932 * docs/mail.html: Same.
3933 * docs/download.html: Same.
3935 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3936 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3937 however, in the ctype_char_members.cc fail (for instance.)
3938 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
3939 that do not have wchar_t enabled.
3940 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
3942 * testsuite/27_io/iostream_objects.cc: And here.
3944 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
3947 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
3948 Tom Tromey <tromey@cygnus.com>
3950 * configure.in: Manually add MULTISUBDIR.
3951 * configure: Regenerate.
3952 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
3953 "Eww" hacks to get multilib installs working correctly.
3954 ($(headers): Test for MULTISUBDIR before installing.
3955 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
3956 have configure hack it in.
3957 * Makefile.in: Regenerate.
3958 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
3959 Add enabling bits for native Cygwin ctypes, and other newlib-based
3962 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3964 * mkc++config (OUT_H): Remove EOF in cygwin.
3965 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
3967 Tom Tromey <tromey@cygnus.com>
3968 * src/Makefile.am: Tweaks for installing multilibs.
3970 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
3973 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
3974 Add USE_LIBDIR bits here, not...
3975 * src/Makefile.in: Regenerate.
3976 * Makefile.am: ...here.
3977 * Makefile.in: Regenerate.
3979 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
3981 * acinclude.m4 (LIBS): Fix typos.
3982 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
3983 _GLIBCPP_BUGGY_COMPLEX for crosses.
3984 * src/Makefile.am (std_headers): Add libio.h as install include,
3986 * src/Makefile.in: Regenerate.
3988 * mkcheck.in: Add bits to set CXX to cross compiler.
3990 * src/complex_io.cc: Tweak.
3991 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
3992 * configure: Regenerate.
3994 * config/newlib/ctype.cc: Tweaks.
3995 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
3997 * src/complex_io.cc (operator>>(istream, complex): Define out if
4000 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4002 * config/newlib/bits/ctype_base.h: Correct _S_table.
4004 Reconfigure ctype support for "C" libraries that don't use arrays.
4005 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4006 basic ctype<char> functionality.
4007 * src/locale.cc: Move host-specific ctype functions that are not
4008 inlines to config/*/ctype.cc files.
4009 (ctype<char>::do_tolower): For instance.
4010 (ctype<char>::do_toupper): For instance.
4011 (ctype<wchar_t>::do_tolower): For instance.
4012 (ctype<wchar_t>::do_toupper): For instance.
4013 * config/gnu-linux/ctype.cc: Modify.
4014 * config/default/ctype.cc: Modify.
4015 * config/newlib/ctype.cc: Modify.
4016 * config/solaris/solaris2.6/ctype.cc: Modify.
4017 * config/solaris/solaris2.7/ctype.cc: Modify.
4019 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4021 (ctype<char>::scan_is): Here too.
4022 (ctype<char>::scan_not): Here too.
4023 Move out of line defs to config/*/bits/ctype_specializations.h.
4024 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4025 * config/default/bits/ctype_specializations.h: ...here. New file.
4026 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4027 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4028 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4029 * src/Makefile.am (headers): Add ctype_specializations.h.
4030 * src/Makefile.in: Regenerate.
4032 Aaron Weiss <weiss@clearway.com>
4033 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4034 CONFIG_NM for Solaris builds.
4035 * Makefile.in: Regenerate.
4037 * src/locale.cc: Tweak formatting.
4039 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4041 Jim Parsons <parsons@clearway.com>
4042 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4043 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4047 Michel Decima <michel.decima@cnet.francetelecom.fr>
4048 * testsuite/27_io/streambuf.cc: Add test.
4049 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4052 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4053 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4054 will work correctly, for instance.
4055 * src/Makefile.in: Regenerate.
4057 * bits/locale_facets.h: Fix merge error.
4058 (num_put::put(unsigned long long): And here.
4059 * mknumeric_limits (trait_name): Same.
4061 2000-02-15 Chip Salzenberg <chip@valinux.com>
4063 Support 'configure --enable-long-long'.
4064 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4065 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4066 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4067 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4068 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4070 * aclocal.m4: Regenerate.
4071 * config.h.in: Regenerate.
4072 * configure: Regenerate.
4074 2000-02-15 Chip Salzenberg <chip@valinux.com>
4076 Improve (complete?) 'long long' support.
4077 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4078 for {,unsigned} long long if the limits header declares them.
4079 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4080 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4081 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4082 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4083 (num_put<>::put(..., long long)): Likewise.
4084 (num_put<>::put(..., unsigned long long)): Likewise.
4085 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4086 Templatize last parameter to support 'long long'.
4087 (num_put<>::put(...)): Call _S_format with new name.
4088 (num_put<>::put(..., long long)): Define.
4089 (num_put<>::put(..., unsigned long long)): Likewise.
4090 * src/locale-inst.cc (_S_format): Instantiate under new name.
4092 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4094 * src/complex.cc (operator<<, operator>>): Moved from here...
4095 * src/complex_io.cc: ...to new file.
4096 (operator>>): Stub replaced by the real thing.
4097 * src/Makefile.am (sources): Inserted complex_io.cc.
4098 * src/Makefile.in: Regenerate.
4099 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4101 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4103 Add in ctype information for newlib "C" libraries.
4104 * config/newlib: New directory
4105 * config/newlib/bits/ctype_base.h: New file.
4106 * config/newlib/ctype.cc: New file.
4108 * ctype/config/linux/*: Rename, move to...
4109 * ctype/config/gnu-linux/*: Here.
4111 Finish off multilib work.
4112 * configure.in: Don't set CXX if not Canadian cross.
4113 * configure: Regenerate.
4114 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4115 * aclocal.m4: Regenerate.
4116 * config.h.in: Regenerate.
4118 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4119 the top-level gcc directory now.
4120 * mkinstalldirs: Remove.
4123 * ltmain.sh: Remove.
4124 * config.guess: Remove.
4125 * config.sub: Remove.
4127 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4129 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4130 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4131 * Makefile.in: Regenerate.
4132 * src/Makefile.am: Add multilib bits.
4133 * src/Makefile.in: Regenerate.
4135 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4137 * configure.in: Clean, add some multilib support.
4138 * configure: Regenerate.
4139 * configure.host: New file.
4141 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4142 roll a new function, checks for presence of libio.
4143 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4144 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4145 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4146 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4147 GLIBCPP_CHECK_LIBIO: Same.
4148 GLIBCPP_CHECK_CTYPE: Same.
4149 * aclocal.m4: Regenerate.
4150 * config.h.in: Regenerate.
4152 * Makefile.am: Tweaks.
4153 * Makefile.in: Regenerate.
4155 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4157 * configure.in: Make outputing the libio/Makefile
4158 conditional. Haha, yeah right. Anyway, we instead do this thing
4159 where if libio is found, then we build a null library, as there is
4160 no point in duplicating the found libio.
4161 * Makefile.am: Tweak.
4162 * Makefile: Regenerate.
4163 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4164 are happy happy happy.
4165 * libio/Makefile.am: Regenerate.
4166 * libio/gen-params: New file.
4167 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4168 null library if it's not needed. At least we are being consistent,
4169 if not as elegant as we could be.
4170 * src/Makefile: Regenerate.
4172 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4174 * Makefile.am (SUBDIRS): Add libio again.
4175 * Makefile.in: Regenerate.
4176 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4177 (AC_OUTPUT): Generate libio/Makefile again.
4178 * configure: Regnerate.
4179 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4180 libio.la is referring back to the libio subdir again.
4181 (LIBIO_INCLUDES): And here.
4182 * src/Makefile.in: Regenerate.
4184 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4186 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4188 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4190 * bits/valarray_array.h (<bits/std_new.h>): #include.
4191 (__valarray_get_memory): New function.
4192 (__valarray_release_memory): Likewise.
4193 (__valarray_default_construct): New functions.
4194 (__valarray_fill_construct): New function.
4195 (__valarray_copy_construct): New funstions.
4196 (__valarray_destroy_elements): New function.
4198 * bits/valarray_array.tcc (__valarray_copy_construct): New
4201 * bits/std_valarray.h (valarray<>::valarray): Use
4202 __valarray_get_memory and __valarray_fill_construct,
4203 __valarray_copy_construct, __valarray_default_construct to
4204 properly construct valarrays.
4205 (valarray<>::~valarray): Use __valarray_destroy_elements to
4206 destroy elements and __valarray_release_memory to return memory.
4207 (valarray<>::shift): Tweak.
4208 (valarray<>::cshift): Likewise.
4209 (valarray<>::resize): Robustify.
4211 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4213 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4214 * bits/limits_generic.h: New file, defaults.
4215 * src/limits_generic.cc: New file, defaults.
4216 * configure.in (LIBS): Run mknumeric_limits at configure time.
4217 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4218 HAVE_LC_MESSAGES, tidy, clean, etc.
4219 * src/Makefile.am (geberated_sources): Remove.
4221 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4222 (_IO_off_t, _IO_ssize_t)
4224 * src/complex.cc: Use glibc's <complex.h> if
4225 possible. . . apparently this was not being done before. Include
4227 (abs): Enable cabs if it's around, instead of mycabs.
4228 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4229 * src/complexl.cc (FCT): Same.
4230 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4231 (libmath_la_SOURCES): And here.
4232 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4233 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4234 * math/complex-stub.h: Move c_log declarations into. . .
4235 * math/mathconf.h: Here. This is because glibc's <complex.h>
4236 declares cclog, not c_log. The case of the dueling standards. . .
4237 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4238 * math/Makefile.am: Change.
4239 * math/nan.c (nan): Change signature.
4240 * math/mathconf.h (NAN): Same.
4241 * math/complex-stub.h (nan): And here.
4243 * Makefile.am (rebuild-stamp): Remove libio and libio
4244 dependancies. Plan to take out libio subdir and just merge with
4245 libio in top level gcc directory. Of course, this assumes there is
4246 a libio in the top level directory (ie ../src_dir). This will
4247 probably change the way this library is configured by default.
4250 2000-02-09 Chip Salzenberg <chip@valinux.com>
4252 * localefwd.h (locale): Make public: facet, id, category.
4254 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4256 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4258 * acinclude.m4: Patch only once!
4260 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4262 * testsuite/26_numerics/buggy_complex.cc: New file.
4264 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4266 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4267 on the 1999-11-21 entries by Mumit Khan.
4268 * configure.in: Use.
4269 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4270 * bits/std_complex.h: Use.
4272 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4274 * stl/bits/stl_algobase.h: Add traits based dispatch for
4275 __normal_iterator in the copy_backward()algorithm
4276 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4279 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4281 * src/gen-num-limits.cc (signal_handler): Work around signal
4282 handling problem on Cygwin.
4283 Thanks to Chris Faylor <cgf@cygnus.com>.
4285 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4287 * configure.in: Add (preliminary) support for cross compiles and
4289 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4290 compilation freaks on this.
4291 * configure: Regenerate.
4292 * src/Makefile.am: Add support for cross compiles.
4293 * src/Makefile: Regenerate.
4294 * Makefile.am: Add support for cross compiles.
4295 * Makefile.in: Regenerate.
4297 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4299 * configure.in (LIBS): Remove unused subdirs.
4300 * configure: Regenerate.
4301 * Makefile.am (SUBDIRS): And here.
4302 * Makefile.in: Regenerate.
4303 * src/Makefile.am (sources): And here.
4304 * src/Makefile.in: Regenerate.
4307 * generic/*: Remove.
4309 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4311 * libtool: Update to libtool-1.3.4.
4315 * config.guess: Same.
4317 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4318 Alexandre Petit-Bianco <apbianco@cygnus.com>
4320 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4321 namespace instead of polluting global namespace with duplicate
4323 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4325 (AC_OUTPUT_COMMANDS): Make it here.
4326 * configure: Regenerate.
4327 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4328 endif, as now we will add it manually.
4329 Move to this file. . .
4330 * bits/c++config.h: New file. Same as old c++config.h.in except
4331 the ending macro guard is now appended manually.
4333 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4334 * bits/std_cmath.h: Same here.
4335 * bits/std_cwchar.h: And here.
4336 * src/locale.cc: And here.
4337 * src/complexl.cc: And here.
4338 * math/mathconf.h: Change to include "config.h" instead of
4341 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4343 * configure.in: Add support for threads. Try a model closer to
4344 libjava, as hopefully if the thread bits are added carefully
4345 enough, the source code will not have gross hacks. Besides, the
4346 libstdc++-v2 model could be easily emulated without the necessity
4347 of linking files in (as currently done)--all that needs to be done
4348 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4349 new. . . and see if we arrive at a more elegant solution.
4350 * configure: Regenerated.
4351 * config/threads-no.h: New file.
4352 * config/threads-posix.h: New file.
4353 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4354 * src/Makefile.in: Regenerated.
4356 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4358 META-QUESTION: Can we just make a "header.html" file and a
4359 "footer.html" and just include them in all the doc sub-pages. The
4360 duplication of the header info is kind of gross, and weak
4361 considering that if you change order or layout then all this stuff
4362 has to be changed in all the sub-files.
4364 * docs/17_intro/contribute.html: Take out duplicate file info.
4365 * README: Should just contain a link to the docs/index.html
4366 page. Duplicate information removed.
4367 * docs/faq/index.html: Remove indexes into HOWTOS.
4368 * docs/17_intro/howto.html: Make intro and docs part more
4369 centralized. Move intro stuff to documentation.html.
4370 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4371 * docs/README.html: Move documentation files to
4372 documentation.html. Should this file be renamed
4373 "config_and_install.html" as that is what is apparently covered
4375 * docs/install.html: Yes. New file, moved and renamed README.html.
4376 * docs/documentation.html: New file. This is the index file for
4378 * docs/index.html: Edit sidebar order. Insert new link to new
4379 documentation spine, documentation.html.
4381 2000-01-31 Scott Snyder <snyder@fnal.gov>
4383 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4384 we don't extract any characters.
4385 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4387 2000-01-31 Anders Widell <awl@hem.passagen.se>
4389 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4390 step is a multiple of the word size.
4391 (_M_do_right_shift): Same.
4392 * testsuite/23_containers/bitset_shift.cc: New file.
4394 2000-01-31 Nathan Myers <ncm@zembu.com>
4396 * README (Documentation): Add path info, fix typos.
4398 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4400 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4401 crazy group checking for numpunct, for real this time. At some
4402 point, the local variable __grp should probably get replaced a
4403 char array, or something a bit more lightweight.
4404 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4405 parsed value unless err isn't failbit.
4406 (num_get::do_get(*)): Same, make consistent.
4408 Nathan Myers <ncm@zembu.com>
4409 Jim Parsons <parsons@clearway.com>
4410 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4411 more grouping tests, tweak, scold, wine.
4413 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4415 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4417 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4418 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4421 via <llewelly@198.dsl.xmission.com>
4422 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4423 out_of_range instead of range_error.
4425 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4427 * bits/std_iomanip.h (setw): Fix typo.
4429 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4431 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4432 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4433 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4435 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4437 * docs/README.html: Reformat, more installation instructions.
4438 * docs/gccrebuild.html: New file.
4439 * docs/faq/index.html: Update for new testsuite output filenames.
4440 * docs/faq/index.txt: Regenerate.
4442 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4444 * Makefile.am (rebuild-stamp, all-local): New targets.
4445 * Makefile.in: Regenerated.
4446 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4447 * aclocal.m4: Regenerated.
4448 * configure.in: Call new macro. Also do some sanity checks
4449 for combinations of --enable's that may not make sense.
4450 * configure: Regenerated.
4452 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4454 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4455 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4456 correctly for hex-formatted input.
4458 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4459 eofbit instead of eofbit | failbit.
4460 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4461 ifstreams now are opened or'd with ios_base::in (as is correct).
4462 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4463 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4465 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4467 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4468 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4470 (__basic_file::filepos_valid): Same.
4471 (__basic_file::filepos_beg): Same.
4472 (__baseic_file::get_fileno): New function.
4473 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4474 feedback from LWG 49.
4475 * src/ios.cc: Move definition here.
4476 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4478 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4479 output part of internal buffer based on string size, so that
4480 _M_out_end is set consistently with filebufs. Correct comments.
4481 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4482 * testsuite/27_io/stringbuf.cc: Changes.
4484 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4486 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4488 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4490 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4491 (ofstream::open): Add ios_base::out to openmode.
4493 * bits/locale_facets.tcc (_M_extract): Have consistency between
4494 istream::sentry and extractors, where failbit | eofbit is
4495 set. Don't change this, but instead change. . (do some formatting
4497 * bits/istream.tcc (istream::sentry): Only set eofbit.
4499 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4501 * testsuite/27_io/istringstream_members.cc: New file.
4503 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4505 * bits/istream.tcc (istream::sentry): Flush.
4507 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4508 * configure: Regenerate.
4509 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4510 that make clean will not delete it.
4511 * src/Makefile: Regenerate.
4513 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4515 * mkcheck.in: Use host-specific invocation of size(1);
4516 GNU binutils isn't necessarily there (more's the pity).
4518 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4520 * configure.in (LIBS): Better tests for solaris2.6.
4521 * configure: Regenerate.
4523 <vakatov@ncbi.nlm.nih.gov>
4524 * bits/std_sstream.h: As per libstdc++20.
4526 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4528 Break out configuration on solaris.
4529 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4530 * config/solaris/ctype.cc: Delete and move to proper version.
4531 * config/solaris/bits: Same.
4532 * config/solaris/solaris2.5: Add this directory, with subdir bits
4533 and file ctype.cc. Probably doesn't work.
4534 * config/solaris/solaris2.6: Same.
4535 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4537 * Makefile.am: Change paths to mkcheck.
4538 * Makefile: Regenerate.
4539 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4540 * configure: Regenerate.
4541 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4543 * mkcheck: Now autogenerated by configure and renamed. . .
4544 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4545 Have longer-style dates.
4546 Raja R Harinath <harinath@cs.umn.edu>
4547 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4549 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4550 general documentation need to be organized around each other, not
4551 fight against each other. . .
4553 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4554 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4556 * README: Add a note referring to README.html.
4557 * docs/README.html: New file from Nicolai.
4558 * docs/faq/index.html: Move "how to get a copy" to here.
4559 * docs/gentop/footchunk.html: Update.
4560 * docs/gentop/headchunk.html: New links according to
4561 bkoz's idea for "How to..." stuff.
4562 * docs/gentop/thanks: Actually put people here.
4563 * docs/download.html: Regenerated.
4564 * docs/index.html, docs/links.html, docs/mail.html,
4565 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4566 * docs/how.html: Ditto. (This file should go away soon.)
4568 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4570 * docs/gentop/status: Add snapshot version column, update
4572 * docs/status.html: Regenerated.
4574 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4576 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4577 from installation FAQ, and specify location of text files.
4578 * docs/faq/index.txt: Regenerated.
4580 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4582 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4583 * docs/download.html: Regenerated.
4585 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4587 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4588 clean up various links.
4589 * docs/faq/index.txt: Regenerated.
4590 * docs/gentop/gentop: Smarter regeneration script.
4591 * docs/gentop/{head,foot}chunk.html: Updated with new
4592 contributors link and mod date.
4593 * docs/gentop/index: Snapshot relase date.
4594 * docs/gentop/thanks: New contributors page added.
4595 * docs/{download,how,index,links,mail,status,thanks}.html:
4596 Regenerated from gentop; thanks.html created.
4598 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4600 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4601 * docs/index.html: Add correct information.
4603 * config/irix: New directory.
4604 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4605 * config/irix/bits/ctype_base.h: And here.
4607 * config/aix: New directory.
4608 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4609 * config/aix/bits/ctype_base.h: And here.
4611 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4613 * bits/basic_string.h: Add special case handling for integral
4615 * bits/std_string.h: include type_traits.h
4616 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4618 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4620 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4622 * bits/std_fstream.h (sync): And here.
4623 * testsuite/27_io/filebuf.cc: Revisions.
4624 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4625 at the end of the file.
4626 * testsuite/27_io/filebuf-3.tst: Correct.
4628 1999-12-21 Phil Edwards <pedwards@jaj.com>
4630 * docs/gentop/index: Hold off on .7 announcement date.
4631 * docs/index.html: Regenerate.
4633 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4635 * bits/std_fstream.h (sync): Move _M_file->sync() to
4636 _M_really_overflow().
4637 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4638 as to get the _M_file->sync action, which forces the external
4639 buffer to update itself.
4640 (underflow): Same here.
4642 1999-12-21 Phil Edwards <pedwards@jaj.com>
4644 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4645 * acconfig.h: ...to here.
4646 * config.h.in: Regenerate from aclocal.
4647 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4648 * aclocal.m4: Regenerate from acinclude.
4649 * configure.in: Use ENABLE macros here.
4650 * configure: Regenerate.
4651 * src/Makefile.am: Use results from ENABLE macros.
4652 * src/Makefile.in: Regenerate.
4654 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4656 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4657 check" and not "make check-install." Temporarily hack in linux
4660 * bits/std_streambuf.h: Tweaks.
4661 * bits/streambuf.tcc (xsgetn): Tweaks.
4662 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4663 * bits/fstream.tcc (filebuf::underflow): Simplify.
4664 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4665 checks for read position precisely implement the standard.
4666 * bits/basic_file.h (filepos_cur): Base this on _offset.
4667 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4668 * testsuite/27_io/filebuf.cc: Tweak.
4670 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4672 * docs/17_intro/RELEASE-NOTES: Fix typos.
4674 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4675 out platform-specific bits.
4676 * config/default/ctype.cc: And here.
4677 * config/defaults/bits/ctype_base.h: And here.
4678 * config/linux/ctype.cc: And here.
4679 * config/linux/bits/ctype_base.h (ctype_base): And here.
4680 * config/solaris/bits/ctype_base.h (ctype_base): Add
4681 __to_type. Comment, as it looks like this is for solaris2.6 and
4682 above: solaris2.5.1 doesn't seem to have the same definitions.
4683 * config/solaris/ctype.cc: And here.
4685 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4686 Ulrich Drepper <drepper@cygnus.com>
4688 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4690 * src/locale.cc: Take out platform-specific hacks.
4691 * config/linux/ctype.cc: Put here.
4692 * config/solaris/ctype.cc: Put here.
4693 * config/default/ctype.cc: Put here.
4695 * bits/locale_facets.h: Take out platform-specific hacks.
4696 * config/linux/bits/ctype_base.h: Put here.
4697 * config/solaris/bits/ctype_base.h: Put here.
4698 * config/default/bits/ctype_base.h: Put here.
4700 * configure.in: Bump version.
4701 Add tests for top-level config directory.
4702 * configure: Regenerated.
4703 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4704 * src/Makefile: Regenerate.
4706 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4707 Ulrich Drepper <drepper@cygnus.com>
4709 * bits/locale_facets.h: Hack in solaris support.
4710 * src/locale.cc: Here too.
4712 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4714 * docs/17_intro/TODO: Update
4715 * docs/17_intro/RELEASE-NOTES (New): Update.
4717 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4719 * bits/c++config.h.in (__GLIBCPP__): Bump.
4720 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4721 * docs/17_intro/TODO: Update.
4723 * bits/locale_facets.h: Touch this too.
4724 * bits/localefwd.h: Add typedefs for loooooong vector names.
4725 * bits/locale_facets.tcc (locale::operator()): Need parens.
4726 (has_facet): Simplify.
4727 * src/locale-inst.cc: Add instantiations.
4728 * src/locale.cc: Tweaks.
4730 * bits/std_streambuf.h: Move indeterminates into. .
4731 * bits/std_fstream.h: Here.
4732 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4734 * bits/sstream.tcc: Very minor formatting tweaks.
4735 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4736 input buffer, set _M_buf to offset.
4737 * bits/istream.tcc (std): Tweaks.
4738 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4740 * testsuite/27_io/filebuf.cc: Tweaks.
4742 1999-12-17 Phil Edwards <pedwards@jaj.com>
4744 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4745 * configure: Regenerate.
4746 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4747 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4748 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4750 1999-12-17 Phil Edwards <pedwards@jaj.com>
4752 * docs/21_strings/stringtok_std_h.txt: New algorithm
4753 suggested by Chris King.
4754 * docs/21_strings/howto.html: Link to new version.
4756 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4758 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4760 * docs/17_intro/TODO: Update.
4762 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4764 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4765 * docs/gentop/gentop: Ditto.
4766 * docs/gentop/headchunk.html: Ditto.
4767 * docs/*.html: Regenerated from gentop.
4768 * docs/*/howto.html: Updated as test.
4769 * docs/faq/index.html: Updated, fixed CRLFs.
4770 * docs/faq/index.txt: Regenerated.
4772 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4774 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4776 * bits/std_complex.h
4777 (complex<float>::complex(const complex<double>&),
4778 complex<float>::complex(const complex<long double>&)): Define.
4780 * docs/17_intro/TODO: Update.
4782 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4784 * bits/istream.tcc (seekg): Don't set _M_gcount.
4786 * bits/fstream.tcc (filebuf::underflow): Re-sync
4787 external byte sequence's input buffer only. . .
4788 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4789 tellg, seekg and filebufs.
4790 (test05): Same for stringbufs.
4791 * testsuite/27_io/istream_unformatted-2.tst: New file.
4792 * testsuite/27_io/istream_unformatted-1.tst: New file.
4793 * testsuite/27_io/istream_unformatted-1.txt: New file.
4794 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4797 1999-12-13 Phil Edwards <pedwards@jaj.com>
4799 * docs/gentop/*: New directory, containing bits for the homepages.
4800 * docs/*.html: Regenerated from gentop.
4801 * docs/*/*.html: Entries added and regenerated.
4803 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4805 Efforts to get -O2 to work with -Winline -Werrors.
4806 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4807 _Tp&): Remove inline declaration, as cannot be inlined and
4808 -Winline -Werror complains. An interesting question is why this
4809 cannot be inlined, as I can see no real reason to disqualify it.
4810 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4811 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4813 * docs/17_intro/TODO: Update.
4815 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4817 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4819 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4820 the resultant position.
4821 * bits/fstream.tcc (seekoff): Explicitly set return value to
4822 resultant external byte sequence position, not value returned from
4823 _M_file->seekoff. Need to make
4824 (seekpos): New definition.
4826 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4827 just istream. Necessary, or else tellg will give an invalid stream
4828 position, but seekg will return a valid stream position, which is
4829 not groovy: see testcase addition.
4830 * bits/ostream.tcc (seekp): Same.
4832 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4833 * bits/sstream.tcc: Tweaks.
4834 * bits/locale_facets.tcc: Tweaks.
4835 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4836 Re-write in a way that is easier for the inliner to work with.
4837 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4839 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4841 * bits/locale_facets.tcc: Tweaks.
4842 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4844 * bits/localefwd.h: And here.
4845 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4846 * bits/ostream.tcc: Put here.
4848 Frank Ch. Eigler <fche@cygnus.com>
4849 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4851 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4853 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4854 in and out buffers update independantly.
4856 * bits/basic_ios.h: Minor formatting.
4857 * bits/fstream.tcc (std): Fix indentation.
4859 1999-12-08 Chip Salzenberg <chip@valinux.com>
4861 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4862 after corresponding eof() functions, so they're easier for the
4864 * bits/locale_facets.h (money_base::__default_pattern): Move
4865 static variable out of inline functions.
4866 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4867 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4869 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4871 * bits/std_fstream.h (filebuf::open): Tweak.
4872 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4873 * bits/std_ios.h: Minor tweaks for headers.
4875 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4877 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4878 * src/string-inst.cc: Add guards . . .
4879 * src/misc-inst.cc: And here.
4880 * bits/std_sstream.h: And here.
4881 * bits/std_fstream.h: And here.
4882 * bits/std_streambuf.h: And here.
4883 * bits/std_istream.h: And here.
4884 * bits/std_ostream.h: And here.
4886 1999-12-06 Scott Snyder <snyder@fnal.gov>
4888 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4890 (basic_istream::readsome): And here as well.
4891 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4894 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4896 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4897 necessarily an `int'.
4899 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4901 * mknumeric_limits: Don't use $CXXFLAGS when building
4902 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4903 generally instructs the compiler not to emit template
4904 instantiations and we end up with undefined symbols. Sigh.
4906 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4908 * bits/locale_facets.tcc: Tweak.
4909 (_S_format_long): Adjust showpos formatting for hex and oct.
4910 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4911 and oct by formatting as unsigned.
4912 (operator<<(int)): Same here.
4913 * bits/ostream.tcc (operator<<(long)): Same.
4914 (operator<<(long long)): Same.
4915 (_S_pad_char): Actually treat ios_base::internal as something
4916 worth doing correctly. Remove const designation on ios argument.
4917 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4918 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4920 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4922 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4924 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4926 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4928 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4929 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4930 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4931 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4932 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4934 (ostream::operator<<(_CharT)): Fix.
4936 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4937 see if this will increase compile speed.
4938 * bits/std_ostream.h: Likewise. . .
4939 * bits/std_istream.h: And here.
4940 * bits/std_fstream.h: And here.
4941 * src/misc-inst.cc: Add relevant header file includes for
4942 instantiation purposes.
4943 * src/string-inst.cc: And here.
4944 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
4946 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
4948 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4949 * bits/istream.tcc (get(streambuf)): More fixes.
4950 (istream::ignore): Get specific about numeric_limits<int>::max()
4953 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
4954 (filebuf::close): Same.
4955 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
4957 1999-12-01 Phil Edwards <pedwards@jaj.com>
4959 * mkcheck: Support for compilation/execution timing.
4960 * testsuite/printnow.c: New file.
4962 1999-12-01 Phil Edwards <pedwards@jaj.com>
4964 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
4965 * configure.in: Test for presence of wchar.h before testing
4966 for any of its features.
4967 * configure: Regenerate.
4969 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
4971 Preliminary istream validations complete.
4972 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
4973 formatting more consistent. Removal of if-statements inside of for
4978 * bits/std_istream.h: Same.
4979 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
4980 * testsuite/27_io/stringbuf.cc: Tweak.
4981 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
4983 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
4984 failbit on failure, as per 27.6.2.5.2.
4986 * stl/bits/std_vector.h: Allow bool specializations. Should move
4987 ext/std_bvector to bits, not ext, maybe.
4989 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
4991 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
4992 * configure: Regenerate.
4994 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
4996 * bits/istream.tcc (get(streambuf, char)): Fix.
4997 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4999 1999-11-29 Scott Snyder <snyder@fnal.gov>
5001 * bits/basic_string.h (append(const _Char*, size_type)): The
5002 length of the appended string is given exactly by the second arg,
5003 regardless of the data in the character array.
5004 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5005 _Alloc&)): Likewise.
5006 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5007 of basic_string::append.
5009 1999-11-29 Chip Salzenberg <chip@valinux.com>
5011 * Makefile.in: Tweaks for CXXFLAGS.
5012 * */Makefile.in: Same.
5014 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5016 * conficd bgure.in: Check for wide character support.
5017 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5018 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5019 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5021 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5023 * acinclude.m4: Fix typo.
5024 * src/complex.cc: Fix macro line continuation.
5026 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5028 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5029 string literals in format, as used in locale-facets.tcc.
5031 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5033 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5034 * bits/istream.tcc (istream::get): Extract to argument minus one.
5035 Various tweaks and fixes.
5037 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5039 * bits/locale_facets.tcc: Workaround for compiler crash on
5042 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5044 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5045 * configure.in: Use.
5046 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5047 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5048 * bits/std_complex.h: Use.
5049 * src/complex.cc: Use.
5051 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5053 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5054 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5055 * testsuite/22_locale/ctype.cc: Likewise.
5056 * testsuite/23_containers/multiset.cc: Likewise.
5057 * testsuite/23_containers/vector_ctor.cc: Likewise.
5058 * testsuite/26_numerics/binary_closure.cc: Likewise.
5059 * testsuite/27_io/fpos.cc: Likewise.
5060 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5061 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5062 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5063 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5064 * testsuite/27_io/istream_sentry.cc: Likewise.
5065 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5066 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5067 * testsuite/27_io/streambuf.cc: Likewise.
5068 * testsuite/27_io/stringstream.cc: Likewise.
5070 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5072 * bits/valarray_meta.h: Don't forget to define tanh
5074 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5076 * src/stl-inst.cc: Use typedef to refer to iterator
5077 * stl/bits/stl_algobase.h: Add traits based dispatch for
5078 __normal_iterator in the copy()algorithm
5079 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5081 1999-11-18 Kevin Ediger <kediger@licor.com>
5083 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5084 constructors for locale::_Impl exception safe.
5086 1999-11-18 Scott Snyder <snyder@fnal.gov>
5088 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5089 _Sequence template argument of priority_queue<> as vector<>, not
5092 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5094 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5096 * bits/sstream.tcc: Adjust here too.
5098 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5100 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5101 * bits/istream.tcc (operator>>): Replace iostate(0) with
5102 iostate(ios_base::goodbit), which is the same thing, but hopefully
5104 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5105 libraries issue list 17.
5106 (do_gets): Don't set goodbit explicitly, instead only set on
5107 failures as good bit is the default setting.
5108 * bits/ios_base.h (setf): Set correctly.
5109 * bits/fstream.tcc: Tweak.
5110 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5111 in|out bufs that are empty. . .
5112 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5114 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5116 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5117 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5118 Add comments "all about _M_buf."
5119 (setg): Set _M_mode.
5121 1999-11-16 Kevin Ediger <kediger@licor.com>
5123 * bits/locale_facets.tcc (_S_build_float_format): New function.
5124 (_S_output_float): New function.
5125 (num_put::do_put(double)): Use 'em.
5126 (num_put::do_put(long double)): Use 'em.
5127 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5129 1999-11-15 Scott Snyder <snyder@fnal.gov>
5131 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5132 match how libio is calling us.
5133 * src/basic_file.cc (sys_seek): Likewise.
5134 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5136 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5138 * docs/17_intro/contribute.html: Add link to assignment form.
5139 * docs/17_intro/libstdc++-assign.txt: New file.
5141 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5144 * bits/std_streambuf.h (_M_buf_bump): New function.
5145 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5146 (xsputn): Here. Also add checks for output valid.
5147 (xsgetn): Add checks for input valid.
5149 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5150 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5151 Set _M_out_end to variable-length-end.
5152 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5155 * bits/fstream.tcc (std): Tweak formatting.
5156 (filebuf::overflow): Simplify.
5157 (filebuf::showmanyc): Same.
5158 (filebuf::underflow): Same.
5159 * testsuite/27_io/filebuf.cc: Fix.
5160 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5161 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5162 * testsuite/27_io/stringbuf.cc: Tweak.
5163 * testsuite/27_io/streambuf.cc: Tweak.
5164 * testsuite/27_io/istream_extractor_other.cc: Fix.
5166 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5168 * stl_deque.h: Use static_casts<size_type>(signed_type).
5170 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5172 Cleanups for callbacks, more regression hunting. Remaining
5173 failures (1) due to last unresolved stringstream issues, not
5175 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5176 killing 27_io/filebuf.cc tests. . . need another solution.
5178 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5179 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5181 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5182 foils all attempts at a graceful, minimal implementation.
5183 * bits/basic_ios.tcc: Tweaks.
5184 * bits/istream.tcc: Fix.
5185 * bits/ostream.tcc: Fix.
5186 * bits/std_istream.h: Fix.
5187 * bits/std_ostream.h: Fix.
5188 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5190 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5191 (_S_pad_numeric): Make comprehensible.
5193 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5195 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5196 (_S_ostream_fcache): New function.
5197 Move functions out-of-line.
5198 * bits/ostream.tcc: Put here.
5200 * bits/std_istream.h: Add callbacks for _M_fnumget.
5201 (_S_istream_fcache): New function.
5202 Move functions out-of-line.
5203 * bits/istream.tcc: Put here.
5205 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5206 _M_call_callbacks(), as ios_base::imbue does this already.
5207 * src/ios.cc (register_callback): Clean.
5208 (_M_call_callbacks): Same.
5209 * bits/ios_base.h: Callback work.
5210 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5212 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5213 Matthias Klose <doko@cs.tu-berlin.de>
5215 * stl/ext/stl_rope.h: Fix initialization order.
5217 1999-11-09 Scott Snyder <snyder@fnal.gov>
5219 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5220 _M_file->sync() so that redirection works correctly.
5222 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5224 * bits/istream.tcc: Re-order.
5225 * bits/std_istream.h: Fix getline problems.
5226 * testsuite/27_io/istream_unformatted.cc: New tests.
5228 Clean up regressions.
5229 * bits/std_sstream.h: Set initial stringbufs correctly.
5231 1999-11-09 Scott Snyder <snyder@fnal.gov>
5233 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5235 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5238 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5240 * src/Makefile.am (CXXFLAGS): Add -Winline.
5241 * src/Makefile.in: Regenerate.
5243 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5245 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5246 building meta-expressions don't forget to take the contained
5249 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5251 * configure: Regenerate.
5253 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5255 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5257 * bits/valarray_meta.h (min): Likewise.
5258 * bits/valarray_meta.h (max): Likewise.
5260 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5262 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5263 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5264 * bits/streambuf.tcc: Define.
5265 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5266 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5267 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5268 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5270 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5271 reported by Richard Atterer.
5272 * bits/char_traits.h: For consistency's sake, here too.
5274 * configure.in: Bump version to 2.90.7.
5276 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5278 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5279 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5280 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5282 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5283 writing into buffer.
5286 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5288 * bits/valarray_array.h (__valarray_sum): New function.
5289 * bits/valarray_array.h (__valarray_product): Same.
5291 * bits/std_valarray.h (valarray<T>::product): Comment out.
5292 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5293 instead of accumulate.
5295 * src/valarray-inst.cc: Remove explicit intantiation of
5296 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5297 * src/valarray-inst.cc (__valarray_product): Instantiate
5299 * src/valarray-inst.cc (__valarray_product(const
5300 valarray<size_t>&)): New function.
5301 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5302 valarray<size_t>::product. Use __valarray_product instead.
5305 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5307 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5308 (_S_pad_char): New function. Not done: ios_base::internal.
5309 * bits/ostream.tcc: Clean for above.
5310 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5311 specialization that was commented out, as ostreams now have to
5312 correctly deal with padding.
5313 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5315 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5316 from mailing list. This is a bug, and should be fixed.
5317 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5319 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5321 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5322 to avoid conflict with gcc name mangling.
5323 * stl/bits/stl_algo.h (__transform): Same.
5325 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5327 * bits/ios_base.h: Change argument names.
5328 * docs/17_intro/BADNAMES: Add __opr.
5330 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5332 Work on compilation slowdowns from 10-5 to 10-12, which are
5333 related to the _Callback_list inlining/merge-ifcation, which is
5334 still a pending issue, but this stuff is necessary cleanup anyway.
5336 * src/ios.cc: Re-arrange.
5337 * bits/ios_base.h: Tweak.
5338 * bits/basic_ios.tcc: Move out of line definitions here, move
5339 small out-of-line definitions inline.
5340 * bits/basic_ios.h: From here.
5342 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5343 * bits/std_streambuf.h: From here.
5345 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5347 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5348 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5349 * bits/istream.tcc (operator>>(istream&, string&): Remove
5350 vestigial issspace hacks and use ctype::is instead.
5351 (getline): Remove unnecessary loops, fortify and pasteurize.
5354 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5356 * bits/istream.tcc (operator>>): Tweak.
5357 * bits/std_istream.h: Fix according to library issues list 68.
5360 * bits/locale_facets.h: Fix table_size to be non-zero.
5362 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5364 * src/basic_file.cc: ifdef instead of comment for binary mode
5366 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5368 * bits/std_sstream.h: Stringbuf initialization based on actual,
5369 not allocated, size.
5370 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5373 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5375 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5376 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5378 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5380 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5382 * bits/std_istream.h: Tweaks.
5383 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5384 as per issues list addition--set failbit, eof on empty buffers.
5385 * testsuite/27_io/istream_sentry.cc: New file.
5387 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5389 * bits/std_cstdio.h: Remove Solaris hacks.
5391 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5393 * docs/index.html: Fix minor typos and tweaks.
5394 * docs/17_intro/contribute.html: Ditto.
5395 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5396 thread safety and binary I/O, links to external sites.
5397 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5400 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5402 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5403 ::fabs(double) rather than ::abs(int).
5405 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5407 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5408 *gptr(), not the result of underflow.
5409 (pbackfail): Conform to default behavior.
5411 * bits/streambuf.tcc: Add out-of-line streambuf members.
5414 * testsuite/27_io/streambuf.cc: New file.
5415 * testsuite/27_io/filebuf.cc: Correct test.
5417 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5419 * bits/std_cmath.h: Correctly cast int to double.
5420 * testsuite/26_numerics/c_math.cc: Add test.
5422 * mknumeric_limits (OUT_C): Tweaks.
5423 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5424 trying to instantiate type_traits<wchar_t>.
5425 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5426 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5427 * configure: Regenerate.
5429 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5431 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5432 (streambuf::xsputn): Put in break.
5433 Aiming for parity between these two (mostly) similar functions.
5434 Need to re-write tests.
5436 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5437 Make data members protected, not private.
5438 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5439 ios_base.h. As called only once, collapse into . . .
5440 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5441 (basic_ios::clear): Throw ios_base::failure on occasion.
5442 (basic_ios::exceptions): Fix.
5443 * testsuite/27_io/ios_members.cc (test02): Add tests.
5445 * bits/fpos.h: Default initialize.
5446 * testsuite/27_io/fpos.cc (test03): Add test.
5448 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5450 * src/basic_file.cc: Fix open modes.
5452 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5454 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5456 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5458 * bits/streambuf.tcc: Yea. Fix this for real.
5459 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5460 * src/Makefile.*: Regenerate.
5462 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5464 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5465 files so that stdtof and strtold will be declared. Some hacks
5466 already exits in bits/std_cctype.h -- these should all be removed
5468 * bits/locale_facets.tcc: Add cstring.h include.
5469 _S_format_long: Use long, not int.
5470 Add std_limits.h include, for numeric_limits.
5471 * testsuite/27_io/istream.cc: Make instantiations work when using
5473 * testsuite/27_io/ostream.cc: Same.
5475 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5477 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5478 a reference. Same for operators == and !=.
5479 * testsuite/27_io/fpos.cc: Add tests.
5481 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5483 * bits/valarray_array.h: Fix typo.
5485 * mknumeric_limits: Make sure we are regenerating things from
5486 scratch. Otherwise things get redefined. Not good.
5488 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5490 * bits/std_ostream.h: Fix typo.
5491 * bits/std_istream.h: Same.
5492 * bits/std_iomanip.h: Same.
5494 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5495 ostream, as happens with underflow anyway.
5496 * testsuite/27_io/istream.cc (main): New file.
5497 * testsuite/27_io/ostream.cc (main): New file.
5498 * testsuite/27_io/istream_unformatted.cc: Add tests.
5500 * src/Makefile.am (headers): Add new file.
5501 * src/Makefile.in (headers): Regenerated.
5503 * bits/basic_ios.h: Remove local-related files.
5504 * bits/basic_ios.tcc: New file, add locale-related items.
5505 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5506 * testsuite/27_io/ios_members_static.cc: Change to
5507 * testsuite/27_io/ios_base_members_static.cc: This.
5508 * testsuite/27_io/ios_members.cc: New file.
5509 * testsuite/27_io/stdios_basefield_manip: Change to
5510 * testsuite/27_io/ios_manip_basefield.cc: This.
5511 * testsuite/27_io/stdios_fmtflags_manip: Change to
5512 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5514 * bits/fpos.h: Fix discarding qualifiers on this when
5515 using _M_position with a const fpos.
5516 * bits/std_iosfwd.h: Tweak.
5517 * testsuite/27_io/fpos.cc: New file.
5519 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5521 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5522 * bits/ostream.tcc: Tweak.
5523 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5524 Add new regressions.
5526 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5528 * bits/basic_ios.h: Inline, tweak.
5529 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5530 pass back accurate return value to basic_filebuf::overflow.
5531 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5532 This fixes sstream problems reported in libstdc++/9, but screws up
5533 filebufs. That solution is pending.
5535 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5537 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5539 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5541 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5543 * bits/c++config.h.in: Add emacs hints.
5545 * stl/bits/stl_range_errors.h: Don't define here, for now define
5546 in stdexcept.cc along with string inlines __length_error, etc.
5547 * src/stdexcept.cc: Define here.
5548 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5549 at(size_t) will be declared/defined.
5550 (__STL_THREADS): Fix mess surrounding use of this, enable.
5552 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5554 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5555 * src/localename.cc: Tweak formatting, fix assignment to
5556 const compiler errors.
5558 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5560 * acconfig.h: Add absf, cosf.
5561 * configure.in (use_builtin_sinf): Same.
5562 * configure: Regenerate.
5563 * bits/std_cmath.h: Add mess of defines.
5564 * testsuite/26_numerics/modf_float.cc: Change to
5565 * testsuite/26_numerics/c_math.cc: This.
5567 * src/locale.cc: Change.
5568 * bits/locale_facets.h: Fix.
5569 * testsuite/22_locale/ctype.cc: Add temporary tests.
5571 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5573 * bits/fpos.h: Test.
5575 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5576 Fix database name for "libstdc++".
5578 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5580 * mknumeric_limits (numeric_limits): Add default definitions to
5582 * testsuite/18_support/numeric_limits.cc: New file.
5584 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5586 * bits/std_istream.h: Correct initialization.
5587 * bits/std_ostream.h: Likewise.
5588 * bits/std_sstream.h: Likewise.
5589 * bits/std_fstream.h: Likewise.
5590 * testsuite/27_io/stringstream.cc: Add test case.
5592 * bits/std_sstream.h: Replace ____string_type with __string_type.
5593 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5594 * bits/std_ostream.h: Tweak dtor.
5596 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5598 * src/Makefile.am (CXXFLAGS): Add -O2.
5599 * src/Makefile.in: Likewise.
5601 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5603 * mknumeric_limits (numeric_limits): Uglify.
5605 * bits/std_istream.h: Fix warnings.
5606 * bits/locale_facets.tcc: Collateral damage from
5607 char_traits<char>::int_type change.
5609 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5611 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5613 * docs/index.html: Add mailing list form.
5614 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5616 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5618 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5619 if overflow successfully allocates more space.
5620 * bits/std_sstream.h: Adjust comments.
5621 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5622 before overflow forces a resize.
5623 * testsuite/27_io/ostream_inserter_char.cc: New file.
5625 * bits/std_fstream.h: Remove declaration.
5626 * bits/fstream.tcc: Move uflow.
5627 * bits/std_streambuf.h: To here.
5628 * bits/streambuf.tcc: Make consistent.
5630 * src/Makefile.am (WERROR): Enable.
5631 * src/Makefile.in: Regenerate.
5632 * bits/sbuf_iter.h: Tweak.
5633 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5634 Use unsigned int as char_traits<char>::int_type.
5636 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5637 * testsuite/27_io/iostream_objects.cc: Terminate string.
5638 Move cin::operator>>(char*) test to extractor_char.cc.
5639 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5640 * bits/std_istream.h (basic_iostream): Make explicit definition
5642 * bits/std_sstream.h: Fix typos.
5643 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5644 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5645 initialized in a consistent manner, no matter if the underlying
5646 FILE/bit bucket is a tty or a text file or some other imaginary
5647 construct. This and setting _M_buf_size to 1 for cin allows
5648 istream::get(char) to work in a manner consistent with what others
5651 * docs/index.html: Link Stroustrup's C++ page.
5653 1999-08-12 Michael Cook <cook@sightpath.com>
5655 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5656 * bits/istream.tcc: ditto.
5657 * bits/sbuf_iter.h: ditto.
5658 * bits/std_istream.h: ditto.
5659 * src/Makefile.am: Add -Wall to CXXFLAGS.
5660 * src/Makefile.in: ditto.
5662 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5663 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5665 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5666 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5668 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5670 * testsuite/27_io/istream_unformatted.cc: New file.
5672 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5673 elaborate tests for int types with noskipws.
5675 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5676 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5677 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5678 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5679 * bits/istream.tcc: Fix operator>>(streambuf*).
5681 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5683 * docs/index.html: Remove references to egcs.
5684 * docs/17_intro/DESIGN: Same.
5685 * docs/17_intro/contribute.html: Same.
5686 * docs/17_intro/RELEASE-NOTES: Ditto.
5687 * docs/17_intro/howto.html: Same here.
5689 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5690 * stl/bits/stl_vector.h (_M_insert_aux):
5691 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5692 decimal/floating point support.
5693 * bits/locale_facets.h: Change _M_extract prototype.
5694 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5695 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5697 1999-08-10 Michael Cook <cook@sightpath.com>
5699 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5700 * bits/ios_base.h: ditto.
5701 * bits/istream.tcc: ditto.
5702 * bits/locale_facets.h: ditto.
5703 * bits/locale_facets.tcc: ditto.
5704 * bits/std_streambuf.h: ditto.
5705 * src/basic_file.cc: ditto.
5706 * src/locale.cc: ditto.
5707 * src/localename.cc: ditto.
5709 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5711 * bits/std_iomanip.h: Inline.
5713 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5715 * bits/std_streambuf.h: Correct member initialization order.
5716 * src/ios.cc: Add definitions for ios_base data members.
5718 1999-08-06 Phil Edwards <pedwards@ball.com>
5720 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5721 * docs/faq/index.html: Ditto. Removed bugs sections that have
5722 been fixed for a long time... Lots of "egcs" references still
5724 * docs/faq/index.txt: Regenerated.
5726 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5727 Andreas Amann <amann@physik.tu-berlin.de>
5729 * testsuite/26_numerics/binary_closure.cc (main): new test.
5731 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5733 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5736 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5738 * docs/index.html (host): Put in testing status.
5740 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5742 * docs/index.html: Update for libstdc++-2.90.6 release.
5743 * docs/17_intro/RELEASE-NOTES (New): Update.
5744 * docs/17_intro/BUGS: Update.
5745 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5746 * README (file): Update.
5748 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5750 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5752 ($(generated_headers)): Same.
5753 * src/gen-c++config.cc: Remove, rename to
5754 * bits/c++config.h.in: New file. Bump version number.
5755 * configure.in: Generate bits/c++config.h at configure time.
5756 * math/mathconf.h: include bits/c++config.h, not config.h.
5758 * bits/std_cmath.h: Fix remaining link error for solaris shared
5759 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5760 being, as on Solaris this silently calls sinf, which does not
5763 * src/complex.cc: More tweaks.
5765 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5767 * src/complex.cc: Same.
5768 * math/complex-stub.h: Change.
5769 * math/c_log10*.c: Change back to clog10*.c.
5771 * configure.in (NEED_C_LOG10): Delete.
5772 * configure: Regenerate.
5773 * math/Makefile.am: Change.
5775 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5777 * math/Makefile.am: Fix, for real.
5778 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5779 * math/clog.c: Move to c_log.c.
5780 * math/clog*: Ditto.
5781 * math/c_log10l.c (c_log10l): Change function name.
5782 * math/c_log10f.c (c_log10f): Change function name.
5783 * math/c_log10.c (c_log10): Change function name.
5785 * math/complex-stub.h: Change to c_log* variants.
5786 * src/complex.cc: And here.
5788 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5790 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5791 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5792 sequence, just the output sequence.
5793 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5794 the original string, all others use complicated heuristic.
5796 * src/complex.cc: Assume c_log10.
5797 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5798 symbols in shared libraries by making c_log/c_log10 part of the
5799 "must cmpile" sources. This may not work on solaris, must check.
5801 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5803 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5804 * bits/std_istream.h: Fix char extractors.
5805 * testsuite/27_io/istream_extractor_char.cc: Change.
5806 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5808 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5810 * bits/std_cctype.h: Fix for solaris2.6 builds.
5812 * bits/istream.tcc: Fix, thanks Alfred.
5813 * bits/std_istream.h: Formatting changes.
5815 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5816 _IO_cleanup will not be undefined.
5817 * libio/*: Regenerate.
5819 * bits/basic_string.h: More namespace-safety stuff.
5820 * testsuite/27_io/istream_extractor_char.cc: Fix.
5821 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5822 * testsuite/27_io/iostream_objects.cc: Fix.
5823 * testsuite/27_io/ios_ctor.cc: Fix.
5824 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5825 * testsuite/27_io/istream_extractor_other.cc: New file.
5827 * mkcheck (TESTS_FILE): Tweaks.
5829 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5831 * src/gen-c++config.cc: Note here, change version.
5832 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5833 * src/locale.cc: Used here.
5834 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5836 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5838 * bits/istream.tcc: Fix.
5839 * bits/std_istream.h: More changes to extractors.
5841 * testsuite/27_io/istream_extractor_char.cc: More.
5842 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5843 error in testsuite construction.
5845 * bits/std_istream.h: Partially revert.
5846 * bits/std_ostream.h: Same.
5847 * bits/std_sstream.h: Revert.
5849 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5851 * bits/std_sstream.h: Change initialization.
5852 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5853 * bits/std_istream.h: Same, also correct sentry args.
5854 * bits/istream.tcc: Add correct sentry args.
5856 * testsuite/27_io/istream_extractor_char.cc: New file.
5857 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5858 name changes making me dizzy.
5860 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5861 Benjamin Kosnik <bkoz@cygnus.com>
5863 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5866 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5868 * bits/std_complex.h: Tweak. Make the primary template class
5869 complex work with user-defined numerical types. Provide member
5870 definitions. Restructure.
5871 (class complex<float>): Uglify. Remove __value(). Rename __val
5872 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5873 private. Remove dependency on __value(). Fix various explicit
5874 specialization syntax. Declare a some functions friend. Now the
5875 implementation is nearly comforming.
5876 (class complex<double>): Likewise.
5877 (class complex<long double>): Likewise.
5879 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5880 (sin, sinh, tan, than): Fix call to corresponding C9x function
5883 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5885 * bits/istream.tcc (ws): Fix error with failbit being set.
5887 Disabled due to egcs/gcc-2_95 internal compiler errors.
5888 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5889 -fnew-exceptions. Compiling with namespaces enabled will now be
5891 * mkcheck (CXX_FLAG): Same.
5892 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5893 * bits/std_cctype.h: Not enough to just define in namespace std if
5894 ctype-isms are macros. Need to also define in namespace std:: if
5895 the C functions are just plain functions.
5897 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5899 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5901 * docs/18_support/howto.html: Start documentation. Need to keep
5902 track of the ongoing discussion in th LWG reflector.
5904 * src/gen-num-limits.cc: Tweak.
5905 (class predicate): New class.
5906 (class value): Likewise.
5907 Make the whole machinery more flexible. Add comments.
5909 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5911 * bits/ios_base.h: Move state/exception functions into basic_ios.
5912 * bits/basic_ios.h: Same.
5913 * src/ios.cc: And here. Callbacks don't attempt to reset
5916 * bits/std_streambuf.h: Separate ios and streambuf locale data
5917 members and cached facets. Using this convention: _M_locale_buf for
5918 the streambuf-related classes, and _M_locale_ios for the ios
5920 * bits/fstream.tcc: And here.
5921 * bits/basic_ios.h: And here. Also, add cached ctype.
5922 * src/ios.cc: Ditto.
5923 * bits/ios_base.h: Ditto.
5924 * bits/std_istream.h: Use cached ctype facet.
5925 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5928 * testsuite/27_io/ios_ctor.cc: New file.
5929 * src/ios.cc: Move _M_state init to basic_ios::init().
5930 * bits/basic_ios.h: To here.
5932 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5933 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5934 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5935 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5936 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5938 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5940 * src/ios.cc: Tweak initializations of standard iostream
5941 objects to closely match the standard. Tie cin/wcin, set flags on
5943 * bits/char_traits.h: Change from size_t to int_type, as per
5944 standard. As per wide streams.
5945 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
5946 for caching a bunch of ctype info. For instance, ctype_base::space
5947 info needs to be stored somewhere, somehow.
5948 * bits/std_istream.h: Also here.
5949 * bits/std_ostream.h: Ditto.
5950 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
5951 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
5954 * bits/istream.tcc (ws): Fix.
5955 * testsuite/27_io/istream_manip.cc: New file, test ws.
5956 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
5958 * bits/basic_string.h: Provide a specialized member function for
5959 _S_find<char> using strchr.
5960 * src/string-inst.cc: Put specializations here.
5961 * bits/string.tcc: Small fix for find, remove typo.
5962 * testsuite/21_strings/find.cc (test01): Add tests to catch this
5965 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5967 * bits/basic_ios.h: Put into basic_ios namespace.
5970 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5972 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
5973 adjust _M_*_cur pointers inside the function, so callee doesn't
5975 * bits/sstream.tcc (stringbuf::overflow): Tweak.
5977 * mkcheck: Tweak. Add execution time field, even though it is not
5978 implemented yet. Simplify pass/fail status notation.
5980 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
5982 * configure.in: Check for float.h and underscored version of
5984 * acconfig.h: Add @BOTTOM@ section for handling underscored
5986 * configure: Regenerate.
5987 * config.h.in: Regenerate.
5988 * math/mathconf.h (float.h): Include conditionally.
5989 (M_PI): Define conditionally.
5990 (INFINITE_P): Define for Mingw.
5991 * bits/locale_facets.tcc: Workaround for compiler crash on
5993 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
5994 * src/locale.cc (bits/std_istream.h): Include.
5995 (bits/std_ostream.h): Likewise.
5997 1999-07-18 Phil Edwards <pedwards@ball.com>
5999 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6000 * docs/faq/index.txt: Regenerated.
6002 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6004 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6006 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6007 newly-allocated buffer.
6008 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6009 overflow condition bits.
6011 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6013 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6014 _M_buf_size to initial _M_string.size(), even though for
6015 ostringstreams it is pretty pointless. It's necessary for
6017 (stringbuf::str()): Adjust.
6018 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6019 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6020 overflow's possible success.
6021 (streambuf::xsputn): Adjust.
6023 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6025 * testsuite/27_io/stringbuf.cc: Tweak.
6026 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6028 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6029 with other constructor tests to. . .
6030 * testsuite/23_containers/vector_ctor.cc: New file.
6032 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6034 * testsuite/*: Changes to make the testsuit compilable with
6035 -fhonor-std. Contains direct qualification of library names with
6038 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6040 * bits/streambuf.tcc: Tweaks.
6041 (streambuf::xsputn): Optimize, fix for sstreams.
6042 (streambuf::xsgetn): Same.
6043 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6044 correctly, handle overflow/reallocate conditions correctly.
6045 * bits/std_sstream.h: Fix typo.
6046 _M_init_stringbuf(): Fix _M_buf_size initialization.
6047 (stringbuf::str()): Construct return string if output has occurred.
6049 * bits/basic_string.h: Fix typo from yesterday's patch.
6051 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6053 * bits/string.tcc: _M_mutate - clear _M_state again.
6054 * bits/basic_string.h: In the three functions that return
6055 an iterator set _M_state to -1 before return.
6056 Also optimized two cases of operator+.
6058 1999-07-12 Phil Edwards <pedwards@ball.com>
6060 * docs/index.html: Expand egcs-1.1.2 notes/links.
6061 * docs/faq/index.html: And here. Add links to LWG issues-list.
6062 * docs/faq/index.txt: Regenerate. (lynx rocks)
6063 * docs/21_strings/howto.html: Fix notes on case conversion.
6064 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6065 * docs/23_containers/howto.html: Stub for bitmasks.
6066 * docs/27_io/howto.html: Add section on buffering, stub binary.
6068 1999-07-12 Nathan Myers <ncm@cantrip.org>
6070 * stl/bits/stl_tree.h (__black_count): Optimize.
6072 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6074 * src/basic_file.cc: Cleanup in __basic_file destructor.
6076 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6078 * bits/std_streambuf.h: Changes. . .
6079 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6080 basic_streambuf, to be used for both filebufs and streambufs.
6081 * bits/std_fstream.h (_M_init_filebuf): New function.
6082 Take out specialized xsputn, put into basic_streambuf.
6083 * bits/fstream.tcc: Define, call from both ctors.
6084 * bits/std_sstream.h (_M_init_stringbuf): New function.
6085 * bits/sstream.tcc: Tweak.
6087 * docs/27_io/iostreams_heirarchy.pdf: New file.
6089 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6090 acceptance. Wooo-hoo!
6092 * bits/char_traits.h: Change int_type for char_traits general
6093 template, so that 21_strings/capacity.cc will compile.
6094 * testsuite/21_strings/capacity.cc: Add operators.
6096 * bits/string.tcc (string::compare): Clean up, re-implement.
6097 * testsuite/21_strings/compare.cc: Tweak.
6099 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6100 _M_state, which means that whenever begin() or end() has been
6101 called, the string is unshareable, period. By doing this, insert
6102 and erase member functions that return iterators can remain
6103 footloose and fancy free.
6104 * testsuite/21_strings/invariants.cc: Update.
6106 * bits/basic_string.h (string::append): Fix self-referential
6107 problems, ie when "this" is also an argument to a member function.
6108 * bits/string.tcc: Tweak, same.
6109 * testsuite/21_strings/append.cc: New file.
6111 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6113 * bits/char_traits.h: Tweaks.
6114 * bits/basic_string.h: Tweak.
6115 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6117 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6119 * bits/std_streambuf.h: Absorb/acquire data members previously
6120 working in basic_filebuf.
6121 * bits/streambuf.tcc: Tweaks.
6122 * bits/fstream.tcc: Adjust.
6123 * bits/std_fstream.h: Move and rename the following functions:
6124 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6125 now declared and defined in the base class, basic_streambuf. Oh
6126 fuck it, move data members _M_buf, and _M_buf_size into
6127 basic_streambuf as well.
6129 * bits/ostream.tcc: Tweak.
6130 * bits/locale_facets.tcc: Fix typo in comments.
6132 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6133 state from good to not good, as eof() is set.
6135 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6137 * bits/char_traits.h (char_traits::compare). Fix.
6139 * config.guess, config.sub: Update.
6141 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6143 * bits/string.tcc: Check the __res_arg for a length error.
6145 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6147 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6148 and related functions into basic_streambuf, from basic_filebuf to
6149 take care of ostringstreams and empty strings. So that's groovy,
6151 * bits/std_istream.h: Tweaks.
6152 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6153 * bits/std_ostream.h: And here.
6154 * bits/ostream.tcc: Same.
6155 * src/misc-inst.cc: Add instantiations for ws.
6157 * src/string-inst.cc: Add instantiations for inserters and
6158 extractors (operators << and >>, getline).
6160 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6161 a testcase for getline and operators << and >>. Ostream tests are
6162 failing right now, but istream tests should work. . .
6164 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6165 * bits/std_sstream.h: Revert.
6167 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6168 istream, ostream, streambuf, fstream, sstream].cc: New files.
6170 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6172 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6175 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6176 specializations for _CharT*, iterator and const_iterator.
6177 * src/string-inst.cc: Remove explicit instantiation, as
6178 now explicitly specialized.
6180 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6181 a default value set to 0.
6182 * bits/string.tcc: In _M_clone by the call of _S_create add the
6183 value of the new parameter to _M_length. In reserve check
6184 _M_state and use _M_clone instead of _M_mutate.
6186 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6188 * bits/basic_string.h: Fix _S_max_size.
6189 * bits/string.tcc: Add def here.
6190 * testsuite/21_strings/insert.cc: Fix.
6192 * bits/sbuf_iter.h: Remove detritus.
6193 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6195 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6196 to resolve alpha-osf4 build problems.
6198 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6200 * bits/string.tcc: Fix signed/unsigned issues in compares.
6201 * stl/bits/stl_deque.h: And here.
6202 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6204 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6206 * bits/string.tcc: New implementation and interface of _M_mutate.
6207 Adapt the change in all functions that call _M_mutate.
6208 * bits/basic_string.h: And here.
6210 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6212 * testsuite/21_strings/capacity.cc (test01): Fix.
6214 1999-06-29 Phil Edwards <pedwards@ball.com>
6216 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6218 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6220 * stl/bits/stl_vector.h: Fix.
6221 * testsuite/23_containers/vector_cons.cc: Add.
6223 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6225 * mknumeric_limits (LDFLAGS): fix.
6227 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6229 * mknumeric_limits (LDFLAGS): set it according to the system.
6231 * math/mathconf.h (NAN): Check whether host is running under
6232 Cygwin and make the appropriate definition.
6233 * math/complex-stub.h (nan): protect declaration.
6235 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6237 * bits/sbuf_iter.h: Rename internal data structure to prevent
6238 confusion between basic_ios and istreambuf_iterators internal
6239 basic_streambuf data member.
6240 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6242 * bits/basic_string.h: Remove conditionals, add input_iterator
6243 version of S_construct again.
6244 * bits/string.tcc: Same.
6245 * src/string-inst.cc: And add explicit instantiation here.
6247 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6248 and __USE_GNU macro defines, as single __USE_GNU use leading to
6249 confusion on glibc2.1 systems (ie, RedHat 6.0).
6251 * src/Makefile.am (headers): Add std_utility to installed headers.
6253 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6255 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6257 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6259 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6261 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6263 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6264 macros to include _GLIBCPP as a distinct namespace.
6268 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6269 * bits/basic_string.h: Remove __get_c_string.
6270 * src/stdexcept.cc: Define ctor here.
6271 * bits/ios_base.h: And fix ios_base::failure as well.
6272 * src/ios.cc: Define here.
6274 * bits/std_streambuf.h: Add a private copy ctor and assignment
6275 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6276 * bits/ios_base.h: And here too.
6278 * bits/basic_string.h: Tweak.
6279 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6281 * src/valarray.cc: Rename to. . .
6282 * src/valarray-inst.cc: This.
6283 * src/Makefile.am (sources): Change here.
6284 * src/Makefile.in: Regenerated.
6286 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6288 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6291 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6292 Tom Tromey <tromey@cygnus.com>
6294 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6295 Use AM_CONDITIONAL to get us out of this jam. .
6296 * libio/Makefile.am: Same.
6297 * */Makefile: Regenerated.
6299 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6300 John Potter <jpotter@eagle.lhup.edu>
6302 * stl/bits/stl_tree.h (insert_equal): Fix.
6303 * testsuite/23_containers/multiset.cc: New file.
6305 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6307 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6308 this works correctly on glibc-2 systems. This should allow
6309 simplified linking on these systems, and successful linking on Red
6311 * configure, Makefile: Regenerate.
6313 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6315 * testsuite/ext: New directory.
6316 * testsuite/ext/headers.cc: New file.
6318 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6320 * stl/ext/hash_set: include missing headers
6321 * stl/ext/hash_map: Same
6322 * stl/ext/slist: Same
6324 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6326 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6328 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6330 * src/Makefile.am (sources): Regenerate.
6331 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6334 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6336 * src/string-inst.cc: Change _S_construct signature, to
6337 track requested allocation size versus valid input iterator range.
6338 * bits/basic_string.h: Here too.
6339 * bits/string.tcc: And here.
6341 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6343 * mkcheck (LOG_FILE): Correctly append errors.
6345 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6347 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6348 to clarify differences between basic_string::_M_data() calls and
6349 _Rep::_M_data() calls.
6350 * bits/std_string.h: Fix.
6351 Put in check for out_of_range in substr.
6352 * bits/string.tcc: Fix for _S_find.
6354 * testsuite/21_strings/compare.cc: Add tests.
6355 * testsuite/21_strings/find.cc: New file.
6356 * testsuite/21_strings/substr: New file.
6357 * testsuite/21_strings/replace.cc: New file.
6359 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6361 * bits/valarray_array.h: __restrict__ify pointers.
6363 * bits/std_valarray.h: Tweak.
6364 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6366 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6368 * bits/gslice.h: Tweak.
6369 (class gslice::_Indexer): new class.
6370 (gslice::gslice(const gslice&)): implement copy-ctor to support
6372 (gslice::operator=(const gslice&)): support ref-counted index.
6373 (gslice::_M_convert_to_index): delete.
6375 * src/valarray.cc: New file.
6376 (__gslice_to_index): turn a gslice into a valarray<size_t>
6377 (ctor gslice::_Indexer::_Indexer): implement.
6379 * src/Makefile.am (sources): add valarray.cc
6380 * src/Makefile.in: regenerate.
6382 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6384 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6385 ctor): Put in a const_cast.
6387 * testsuite/21_strings/invariants.cc: New file.
6389 * testsuite/21_strings/insert.cc: Add exception handling bits.
6390 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6392 * src/wstring-inst.cc: Add c++config.h include.
6394 * bits/basic_string.h: Fix const operator[] for size == pos.
6395 Add _M_leak for rbegin, non-const.
6396 Add _M_leak for rend, non-const.
6397 Make member function at standards conformant.
6398 Add _S_terminal to _Rep for operator[] const, add this into
6400 * bits/string.tcc: Add static member definition here,
6403 * testsuite/21_strings/element_access.cc: Add tests.
6405 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6407 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6410 1999-06-08 Phil Edwards <pedwards@ball.com>
6412 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6413 caused when __testinit is true.
6414 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6415 using rdbuf()->sputn rather than _M_fnumput->put.
6417 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6419 * testsuite/23_containers/bitset_ctor.cc: New file.
6420 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6422 1999-06-08 Phil Edwards <pedwards@ball.com>
6424 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6426 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6428 * testsuite/21_strings/element_access.cc: Finish off these tests.
6429 * testsuite/21_strings/insert.cc (test01): Uncomment.
6430 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6431 * bits/basic_string.h: Tweak, okay, fix for real this time.
6432 * bits/string.tcc: Same.
6433 * bits/char_traits.h: Tweak.
6435 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6437 * bits/std_cmath.h: Example of how to use the generated macro.
6438 * acconfig.h: Add macro for sinf here.
6439 * configure.in (LIBS): Add test for builtin math function sinf.
6440 * configure: Regenerated.
6442 * bits/basic_string.h: Fix _S_max_size.
6444 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6446 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6447 Remove _S_construct signature for forward_iterator_tag and
6450 * src/string-inst.cc: Same, tweaks.
6451 * bits/string.tcc: Same, tweaks.
6453 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6454 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6455 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6458 * src/locale.cc: Final separation for char/wchar_t bits.
6460 1999-06-05 Phil Edwards <pedwards@ball.com>
6462 * docs/index.html: Added link to book upon request'n'agreement.
6463 * docs/23_containers/wrappers_h.txt: Added.
6464 * docs/{23_containers,27_io}/howto.html: Added sections.
6466 * bits/std_fstream.h: Tweak.
6468 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6470 * src/ios.cc: Same here.
6471 * bits/std_iosfwd.h: More wchar_t defines.
6473 * bits/basic_string.h: Tweaks.
6474 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6475 when doing error checking, as per LWG defect #83.
6477 * src/gen-c++config.cc: Fix comment.
6479 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6481 * testsuite/21_strings/element_access.cc: New file, checks for
6482 operator[], at(...).
6483 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6484 * testsuite/21_strings/char_traits.cc: New file, tests
6485 for char_traits<char>.
6487 * bits/utility.h: Remove, again.
6488 * src/Makefile.am (std_headers): Remove utility.h.
6489 * src/Makefile.in (std_headers): Regenerate.
6491 Alfred Minarik <a8601248@unet.univie.ac.at>
6492 * bits/basic_string.h: Move __out_of_range and __length_error into
6495 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6497 * testsuite/26_numerics/modf_float.cc: New file.
6499 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6500 typo: use ::modff, not ::modf.
6502 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6504 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6506 * testsuite/21_strings/capacity.cc (test01): Test.
6508 1999-06-03 Phil Edwards <pedwards@ball.com>
6510 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6511 unused variables to within #if 0 blocks to do the same.
6512 * bits/std_fstream.h: Fix typos (one prevents compilation).
6514 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6516 * src/wstring-inst.cc: Fix.
6518 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6520 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6521 * stl/bits/stl_string_fwd.h: Same.
6522 * bits/locale_facets.h: Same.
6523 * bits/locale_facets.tcc: Same.
6524 * src/wstring-inst.cc: And here.
6526 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6527 problems on HPUX 10.20.
6528 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6529 here as a temporary hack till the compiler/host problems get
6532 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6533 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6534 converting "long double" to struct long_double. Probably should be
6535 done with one macro (HAVE_STRTOLD) at configure time.
6537 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6538 gives re-declaration under hpux10.20. Revert previous change, as
6539 kills linux/x86, solaris 2.7, hpux builds. These should be done
6540 using autoconf, see std_cctype.h and the solutions started in
6541 configure.in (see config.h for the generated file.)
6543 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6544 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6547 * docs/index.html: Add some useful links.
6548 * docs/17_intro/contribute.html: Fix broken links.
6550 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6552 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6553 paths. The rest of the world should be able to run this script
6556 * src/Makefile.am ($(generated_headers)): Remove comment.
6557 * Makefile*: Regenerate.
6559 * bits/std_locale.h: Remove detritus.
6560 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6563 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6565 * src/gen-c++config.cc: New file. Making c++config.h at configure
6566 time by catting this file (nee bits/config.h) with the build
6567 directories config.h. This is not a complete or perfect solution
6568 but is better than what was in place previously.
6569 * bits/c++config.h: Rename/move to above.
6570 * src/Makefile.am (headers): Remove c++config.h.
6571 (myinstallheaders). Add.
6572 * Makefile*: Regenerated.
6574 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6575 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6576 declared only if not present in the host's wchar.h.
6578 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6580 * bits/std_cmath.h: Define out, for the moment. Linux has no
6581 __buitin_fsqrtl? Probably need some kind of configure trickery
6584 * src/Makefile.*: Regenerate.
6585 * bits/c++config.h: Add config.h include.
6587 * bits/std_cwchar.h: Remove remaining #error guard.
6589 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6591 * configure.in (LIBS): Replace previous effort for mbstate_t and
6592 strtold/strtof with this implementation.
6594 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6596 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6599 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6601 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6602 for determining mbstate_t differences across various hosts not
6605 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6607 * bits/locale_facets.tcc: Change to ifdef.
6609 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6610 * bits/std_fstream.h (filebuf::setbuf): Same.
6612 * bits/std_istream.h: Add ws declaration.
6613 * bits/istream.tcc: Stub out definition.
6615 * docs/index.html: Fix broken link for design.txt.
6617 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6618 then set _G_NEED_MBSTATE_T.
6619 * configure: Regenerate.
6620 * bits/c++config.h: Move mbstate_t define.
6621 * bits/std_cwchar.h: To here.
6623 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6625 * bits/std_sstream.h:
6626 basic_stringbuf<>::basic_stringbuf: fix.
6627 basic_stringbuf<>::setbuf:
6628 remove the temporary __string_type object,
6629 remove the unnecessary dynymic_cast in the return value,
6630 change the type of the returned value from __streambuf_type*
6631 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6633 1999-05-25 Phil Edwards <pedwards@ball.com>
6635 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6637 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6639 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6640 in <math.h>. <cmath> still incomplete and incorrekt.
6642 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6644 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6646 1999-05-23 Phil Edwards <pedwards@ball.com>
6648 * docs/17_intro/howto.html: Added links to text docs,
6650 * docs/21_strings/howto.html: Updated sections and links.
6651 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6652 * docs/faq/index.html: Updated what-works for sixth
6653 snapshot. Also a number of "internal" links have been
6654 fixed, now that the web pages are the docs directory...
6655 * docs/faq/index.txt: Regenerated.
6657 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6659 * bits/basic_string.h: Add Nathan's documentation on the string class.
6661 * testsuite/27_io/ios_members_static.cc: New file, for testing
6662 ios_base::sync_with_stdio.
6664 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6666 * bits/std_locale.h: Simplify includes.
6667 * bits/loccore.h: Delete.
6668 * bits/localefwd.h: Renamed, trimmed.
6669 * bits/locfacets.h: Delete.
6670 * bits/locale_facets.h: Rename, expanded.
6671 * bits/loccore.tcc: Deleted.
6672 * bits/locfacets.tcc: Deleted.
6673 * bits/locale_facets.tcc: Resultant merge.
6674 * bits/std_fstream.h: Modify include.
6675 * bits/ostream.tcc: Same.
6676 * bits/istream.tcc: Same.
6678 * src/locale-inst.cc: And here.
6679 * src/locale.cc: Ditto.
6680 * src/Makefile.am: Updated.
6681 * src/Makefile.in: Rengenerated.
6683 * bits/std_istream.h: Move istream::sentry ctor definition.
6684 * bits/istream.tcc: Move istream::sentry ctor here.
6685 Add more detailed locale include here for ctype member functions.
6686 * bits/ostream.tcc (std): And here.
6688 * bits/sbuf_iter.h: Include std_streambuf.h
6690 * bits/locfacets.h: Start separating this into a localeimp.h file.
6691 * bits/loccore.h: Start separating this into a localefwd.h file.
6692 Add std_climits for CHAR_BIT.
6694 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6696 * bits/char_traits.h: Tweak.
6698 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6700 * bits/std_ostream.h: Remove c++config.h include.
6701 * bits/std_istream.h: Same.
6702 * bits/std_streambuf.h: Same.
6703 * bits/std_fstream.h: Same.
6704 * bits/std_sstream.h: And here.
6706 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6707 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6708 * bits/fpos.h: Tweak, format.
6710 * std/ciso646: New file.
6711 * bits/std_ciso646.h: New file.
6712 * src/Makefile.am (std_headers): Add ciso646.
6713 (headers): Add bits/std_ciso646.h.
6714 * src/Makefile.in: Regenerate.
6715 * testsuite/17_intro/header_ciso646.cc: New file, disable
6718 * bits/fpos.h: Remove libio.h include.
6719 * bits/basic_file.h: And here.
6720 * bits/std_ios.h: Put here.
6722 * src/ios.cc: Simplify includes, tweak.
6723 * bits/std_ios.h: Simplify include order.
6724 * bits/ios_base.h: Modify ios_base::failure.
6726 * stl/bits/std_numeric.h: Change include from stl_iterator to
6729 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6731 * std/iostream: Remove static member __ioint.
6732 * bits/std_iostream.h: Put here.
6734 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6735 * stl/bits/stl_algobase.h: Same.
6736 * testsuite/27_io/iostream_objects.cc: Regression tests.
6737 * testsuite/27_io/hello.cc: Remove, subset of above.
6739 1999-05-19 Phil Edwards <pedwards@ball.com>
6741 * docs/index.html: Tweak, update.
6743 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6745 * docs/17_intro/RELEASE-NOTES: remove outdated
6746 documentation about numeric_limits. Correct CXXINCLUDE setting
6749 1999-05-18 Phil Edwards <pedwards@ball.com>
6751 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6752 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6753 27_io}/howto.html: Created, with some initial entries.
6754 * docs/faq/index.html: Fixed some links.
6755 * docs/faq/index.txt: Regenerated.
6757 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6759 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6761 * docs/17_intro/RELEASE-NOTES: Update.
6762 * docs/index.html: Correct link to mailing list help page, update News.
6763 * docs/faq/index.html: Change fifth to sixth for snapshot.
6765 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6766 install $(top_builddir)/bits/std_limits.h into
6767 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6768 Makefile.am changes.
6769 * *Makefile*: Regenerate using automake.
6771 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6772 * testsuite/27_io/filebuf.cc: Same.
6774 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6776 * docs/17_intro/CHECKLIST: update.
6777 * docs/17_intro/TODO: update.
6779 1999-05-17 Phil Edwards <pedwards@ball.com>
6781 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6782 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6783 27_io}/howto.html: Created, with some initial entries.
6784 * docs/faq/index.html: Fixed some links.
6785 * docs/faq/index.txt: Regenerated.
6787 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6789 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6790 * Makefile.in*: Regenerate.
6792 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6794 * bits/std_streambuf.h: Same.
6796 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6797 * bits/locfacets.h (std): Same.
6798 * bits/sstream.tcc: Same.
6799 * testsuite/27_io/stringstream.cc: Tweak.
6801 * testsuite/27_io/filebuf.cc: Adjust.
6802 * testsuite/21_strings/capacity.cc (test01): Add more
6803 string::reserve tests.
6805 * bits/c++config.h: Remove broken CCTYPE.
6806 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6807 sequestered topper implementation.
6808 * bits/std_cwctype.h: Same.
6810 * bits/missing.h: Remove.
6811 * bits/std_locale.h: Remove missing.h include.
6813 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6815 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6816 INCLUDES: Add top_builddir.
6817 * src/Makefile.in: Regenerate.
6819 * Makefile.am: Add check and check-install as new targets.
6820 * testsuite/make_check_libfree++: Move to. . .
6822 * configure.in: Tweak versions.
6823 * mknumeric_limits: Set paths correctly.
6825 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6827 * src/Makefile.in (myinstallheaders): add rule to install
6830 * bits/slice.h (class slice): don't const-qualify data members
6831 since the copy and assignment operator is implicitly used. The
6832 valarray specification is definitively a bad one.
6834 * Makefile.in (generate-limits-sources): fix typo.
6836 * docs/text/TODO: update.
6837 * docs/text/CHECKLIST: update.
6839 * bits/gslice.h (gslice): fix bugglet.
6840 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6843 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6844 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6845 [Note: **/Makefile.in should be generated from the corresponding
6846 Makefile.am. The current situation is a litte chaotic. ]
6848 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6850 * mknumeric_limits: tweak.
6852 * Makefile.in (all): add target generate-limits-sources.
6853 (generate-limits-sources): make a directory bits/ in top_builddir
6854 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6855 directly under $(top_builddir)/src. Remains to put the appropriate
6856 rule for installing std_limits.h.
6858 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6859 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6860 now generated at build-time in the build directory
6861 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6862 * src/Makefile.am: reflect changes in src/Makefile.in
6864 1999-05-12 Phil Edwards <pedwards@ball.com>
6866 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6867 all but one empty entry. Add links for HOWTOs, but no files yet.
6868 (Corrected HOWTO links are for bkoz's new scheme.)
6869 * docs/faq/index.txt: Regenerated.
6871 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6873 * testsuite/17_intro/headers.cc: New file.
6874 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6875 * bits/std_cwctype.h: New file.
6877 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6879 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6881 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6882 Check __USE_MALLOC before defining specializations containing
6883 __default_alloc_template.
6884 * src/stl-inst.cc: Here too.
6886 * bits/basic_string.h: Change.
6888 * testsuite/make_check_libfree++: More tweaks.
6889 * testsuite/21/capacity.cc: New file.
6891 * src/string.cc: Rename to be consistent with other inst files.
6892 Rename to string-inst.cc.
6893 * src/string*.cc: Change include.
6894 * src/wstring.cc: Rename to wstring-inst.cc.
6895 * src/wstring*.cc: Ditto.
6896 * src/Makefile.in: Also here.
6897 * src/Makefile.am: Ditto.
6899 * src/traits.cc: Remove.
6900 * src/wtraits.cc: Same.
6902 Try a new way of organizing documentation, one with synchronicity
6903 between testsuites and docs subdirectories, and see who yelps.
6904 * docs/html: Remove, use chapter and subject specific directories
6905 instead of forcing things immediately into format of
6909 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6910 directory and sort by filename and extension.
6911 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6912 22_locale, 23_containers, 24_iterators, 25_algorithms,
6913 26_numerics, 27_io: Add.
6914 * docs/17_intro/*: Populate with all the text files. . .
6915 * docs/index.html: Construct.
6917 * testsuite/*: Update with same names as the docs subdir.
6918 * testsuite/results: Where to stash conformance results for the
6919 different snapshots, so that progress/size/speed issues can be
6922 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6924 * src/string.cc: Add _S_copy_chars instantiation, as well as
6925 string::binary operators !=, ==, etc.
6927 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6928 * src/Makefile.in (CXXFLAGS): Same here.
6929 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6931 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6933 * src/string.cc: Add missing member functions to instantiation list.
6935 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6937 * src/misc-inst.cc: Remove unused string instantiations.
6939 * bits/string.tcc: Tweak, fix.
6940 * bits/basic_string.h: Format. Fix reported error with c_str().
6942 * testsuite/make_check_libfree++: Tweak for shared builds.
6943 * testsuite/21/operations.cc: New file for testing c_str() etc.
6945 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
6946 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6948 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
6949 an iterator class. Delineate pointer versus iterator differences
6951 * 23/vector_capacity.cc: New file, tests for above.
6953 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6955 * mknumeric_limits: Fix typo. 'unsigned lont' should read
6957 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
6958 generated by mknumeric_limits to the list. Now std_limits.h is
6960 * src/Makefile.in (generate-numeric-limits): new target to handle
6961 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
6962 (all): add target generate-numeric-limits.
6963 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
6964 (libstdc___la_SOURCES): add limitsMEMBERS.cc
6966 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6969 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
6970 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
6971 * bits/locfacts.h: Here.
6973 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6974 Ulrich Drepper <drepper@cygnus.com>
6976 Solaris build issues.
6977 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
6980 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
6981 float overloads to use the above macros. Account for the lack of
6982 strtold on some systems, and revert back to using sscanf.
6984 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6986 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
6987 Use strtoul/strtoull for unsigned types. Check the ranges for
6988 short/unsigned short and if necessary for int/unsigned int.
6990 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
6992 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
6993 to generate bits/std_limits.h now, as the SGI std_limits.h is
6994 being depricated. Not done, but should be done immediately: need
6995 to make sure this script is run as part of the configuration
6996 process, because without it "make" in a configured build directory
6997 will fail. Also tweaked: added a space for float_round_style, and
6998 used static_cast of zero to default-initialize, which should be ok
6999 according to the standard. (see 8.5 p5 and 20.1.3).
7000 * mknumeric_limits (OUT_C): Need this for x86 long
7003 * bits/basic_file.h: Include libio.h, not libioP.h.
7004 * src/basic_file.cc: And add libioP.h include here, so that
7005 _IO_init, et. al are well-declared.
7007 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7008 headers, not source directory headers.
7010 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7011 for ext/*. Also add basic_file.h.
7012 * src/Makefile.in (headers): Same.
7014 * bits/std_string.h: Reduce dependencies for faster
7015 pre-processing. Move istream and ostream specific defines into
7016 istream.tcc and ostream.tcc respectively.
7017 * bits/string.tcc: And here.
7018 * bits/basic_string.h: Move getline inline out-of-line, and to
7020 * bits/istream.tcc: Move string::getline and operator>> here.
7021 * bits/ostream.tcc: And here too.
7023 * bits/utility.h: Remove, as clashes with a standard header. Put
7024 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7025 being, until this can be combined with SGI's approach.
7026 * bits/string.tcc: Add macros, as above.
7027 * bits/loccore.h: Add _Count_ones defines.
7028 * bits/std_string.h: And here too.
7029 * bits/std_locale.h: And here.
7030 * bits/std_ios.h: Take out include here.
7031 * src/Makefile.am (headers): Remove utility.h
7032 * src/Makefile.in (headers): Remove utility.h
7034 * stl/bits/*: Update to SGI STL 3.20.
7035 * stl/ext/pthread_alloc: Delete this file.
7037 1999-05-04 Phil Edwards <pedwards@ball.com>
7039 * docs/faq/html/index.html: Add more entries
7040 * docs/faq/html/index.txt: regenerated.
7042 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7044 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7046 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7048 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7049 from Ulrich and Nathan. Remove extraneous string class usage,
7050 tweak, clean, simplify and consolidate with a eye towards removing
7051 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7052 Not done: dealing with leading zeros, wchar_t work.
7053 * bits/locfacets.h: And here too.
7057 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7060 * docs/faq/: New directory.
7061 * docs/faq/html/: Likewise.
7062 * docs/faq/text/: Likewise.
7063 * docs/faq/html/index.html: New file.
7064 * docs/faq/html/index.txt: Likewise. Generated from
7065 docs/faq/html/index.html by lynx.
7067 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7068 Ryszard Kabatek and Branko Cibej
7070 * bits/locfacets.tcc: Modify.
7072 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7074 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7075 conformant to 14882, wrap non-standard extensions with
7076 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7077 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7079 * testsuite/27/istringstream_formatted.cc: Add tests.
7081 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7082 commenting, simplify.
7083 * bits/locfacets.tcc: Same.
7085 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7086 * bits/locfacets.tcc (num_get::do_get):
7087 Fix the sscanf format parameter
7088 for long long 'll' (as in C9X) instead of 'l'.
7089 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7090 Change the type of the local variable '__conv' from 'string'
7091 to 'const char*' and adapt the change.
7093 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7095 * bits/locfacets.h: Document _Format_cache, and name data members
7096 after the corresponding functions in numpunct. For instance:
7097 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7098 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7099 * bits/locfacets.tcc: Same.
7101 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7102 stop parsing--store for later analysis.
7103 * testsuite/27/istringstream_formatted.cc: Add cases.
7105 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7107 * bits/valarray_meta.h: tweak.
7108 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7109 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7110 happy -- boggus warning.
7111 * bits/std_valarray.h: Fix.
7112 (valarray<T>::shift): Fix. Update comment.
7113 (valarray<T>::cshift): Fix.
7115 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7117 * testsuite/27filebuf-2.txt: Delete.
7118 * testsuite/27/filebuf.cc: Put output files directly into the
7119 correct subdirectory (27).
7121 Alexandre Petit-Bianco <apbianco@cygnus.com>
7122 * testsuite/make_check_libfree++: Check generated (*.txt) file
7123 against stored results file (*.tst).
7125 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7127 * bits/locfacets.tcc: Fix.
7129 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7130 (filebuf::overflow): Simplify.
7131 (filebuf::xsputn): Correctly handle indeterminate state.
7133 * testsuite/27/istringstream_formatted.cc: Tweak.
7134 * testsuite/27/filebuf.cc: Tweak.
7135 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7136 results file, please use this in the future to guarantee filebuf
7137 positioning accuracy.
7138 * testsuite/27/filebuf-2.tst: Same.
7140 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7142 * bits/fstream.tcc (filebuf::xsputn): Add.
7143 * bits/std_fstream.h: Declare.
7145 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7146 calls using ios_base::trunc.
7148 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7150 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7151 * testsuite/27/27stringstream.cc: Same.
7152 * testsuite/27/27stringbuf.cc: More tweaks.
7153 * testsuite/27/27filebuf-2.txt: Remove.
7155 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7156 BUFSIZE so that overflows/underflow can be tested with default
7158 * testsuite/27/27filebuf-1.tst: Add.
7160 * testsuite/*/*: Remove pre-pended chapter names, as they
7161 duplicate the chapter info contained in the enclosing directory
7164 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7166 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7167 to sputc conditions.
7169 * bits/ios_base.h: Define here.
7170 * src/ios.cc (ios_base::_M_clear): Remove hack.
7171 * bits/basic_ios.h: Fix rdstate().
7173 * bits/sstream.tcc (streambuf::seekoff): Fix.
7174 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7176 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7177 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7178 * testsuite/27/27stringstream.cc: Same.
7179 * testsuite/27/27stringbuf.cc: Same.
7180 * testsuite/27/27istringstream_formatted.cc: Same.
7181 * testsuite/27/27filebuf.cc: Same.
7183 * bits/locfacets.h: Remove specializations for messages<char> and
7184 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7185 * src/locale.cc: Remove definitions for above.
7186 * src/misc-inst.cc: Revert, take out iomanip.h include.
7187 * bits/std_iomanip.h: Tweak, format.
7189 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7191 * bits/loccore.h: Format, move inline.
7192 * bits/locfacets.tcc: Same.
7193 * bits/locfacets.h: Same.
7195 Ulrich Drepper <drepper@cygnus.com>
7196 * aclocal.m4: Re-generate.
7197 * configure, configure.in: Same.
7198 * m4/lc_messages.m4: New file.
7200 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7202 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7203 * bits/sstream.tcc: Tweak.
7205 * std/iostream: Put __ioinit inside macro guards.
7207 * src/stlinst.cc: Delete and move to . . .
7208 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7209 * src/Makefile.in: Change.
7210 * src/Makefile.am: Same.
7211 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7213 * testsuite/make_check_libfree++: Efficiently format for minimal
7214 space. Enforce stricter execution tests by enabling
7217 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7219 * docs/text/RELEASE-NOTES: Fix include typo.
7221 * src/Makefile.am (headers): Add istream.tcc.
7222 * src/Makefile.in (headers): Add istream.tcc.
7224 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7226 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7228 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7229 * bits/locfacets.h (num_get::_M_extract): New functin:
7230 consolidate logic for do_get(...) members.
7232 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7233 * testsuite/27/27istringstream_formatted.cc: Add.
7235 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7237 * src/basic_file.cc (__basic_file::open): Fix thinko in
7238 _G_HAVE_IO_FILE_OPEN bits.
7239 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7240 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7241 * src/complex.cc (FCT): Qualify all functions with global namespace.
7242 * src/locale.cc: Don't qualify memcpy and setlocale.
7243 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7244 (__length_error): Likewise, for length_error.
7245 * src/stlinst.cc: Qualify instantiations with std::.
7247 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7249 * C++STYLE: Add ChangeLog guidelines for member functions.
7252 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7253 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7254 docs/text and made less strident.
7256 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7257 * bits/std_fstream.h: Same.
7260 * bits/locfacets.h: Touch.
7262 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7264 * math/cexp.c (cexp): Use NAN instead of nan("").
7265 Reported by joel reed <joelreed@yahoo.com>.
7267 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7268 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7269 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7270 instead of #if cascades.
7271 * libio/genops.c: Likewise.
7272 * libio/ioseekoff.c: Likewise.
7273 * libio/ioseekpos.c: Likewise.
7274 * libio/strops.c: Likewise.
7275 Patch by Chip Salzenberg <chip@perlsupport.com>.
7277 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7279 * docs: New directory.
7280 * docs/html: Likewise.
7281 * docs/text: Likewise.
7282 * docs/image: Likewise.
7284 * bits/std_cmath.h: Add new functions.
7285 (abs): overload for long and double.
7286 (div): overload for long.
7288 * bits/valarray_array.h: Fix.
7289 * bits/gslice.h: Adjust friend.
7290 * bits/slice_array.h: likewise.
7291 * bits/valarray_meta.h: likewise.
7293 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7295 * bits/locfacets.h: More changes, for num_get for insertion
7296 operators for integral types. Comment fields in _Format_cache.
7297 * bits/locfacets.tcc: And here too: add preliminary long version.
7298 * testsuite/27/27istringstream_formatted.cc: Add cases.
7300 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7302 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7303 AC_LC_MESSAGES macro.
7304 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7305 supports LC_MESSAGES.
7306 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7307 * src/locale.cc (locale::_S_normalize_category): Use the
7308 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7309 _G_NO_CLOCALE_HAS_MESSAGES.
7310 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7311 '?:' from '?:\\' so any path beginning with a drive name matches.
7313 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7315 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7317 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7319 * bits/locfacets.h: Tweak.
7320 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7322 * testsuite/21/21nonmember.cc: Same.
7323 * testsuite/21/21compare.cc: Fix license.
7324 * testsuite/27/27istringstream_formatted.cc: New file.
7326 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7328 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7329 _BinBase2: new template classes; put in there to work around a
7330 compiler limitation. The whole valarray architecture is now
7333 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7335 * bits/locfacets.tcc: Fix, format.
7336 * bits/locfacets.h: Fix.
7337 * src/locale.cc: Same, plus format.
7339 * bits/basic_string.h: Re-add definition here.
7340 * src/string.cc: Take out.
7342 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7344 * bits/std_valarray.h: tweak.
7345 * bits/valarray_array.h tweak. use _Expr.
7346 * bits/slice_array.h: likewise.
7347 * bits/gslice_array.h: likewise.
7348 * bits/mask_array.h: likewise.
7349 * bits/indirect_array.h: likewise.
7350 * bits/valarray_meta.h: tweak.
7351 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7352 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7353 _IClos: new template classes.
7354 _Meta: renamed to _Expr. Made template with args.
7355 _Constant: made template with two args.
7357 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7359 * bits/valarray_array.h: tweak.
7361 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7363 * bits/basic_string.h: Whoops--fix blip.
7365 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7367 Update to SGI STL 3.13
7368 * bits/basic_string.h: Add __get_c_string definition.
7369 * stl/bits/stl_range_errors.h: New file.
7370 * stl/bits/std_bvector.h: Same.
7371 * stl/bits/*: Update.
7373 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7375 * bits/slice_array.h: tweak.
7376 * bits/gslice_array.h: tweak.
7377 * bits/mask_array.h: tweak.
7378 * bits/indirect_array.h: tweak.
7379 * bits/valarray_array.h: tweak.
7380 (__valarray_copy): replace copy with memcpy.
7381 * bits/std_valarray.h: use __valarray_copy whenever possible.
7382 use __valarray_fill instead of fill.
7384 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7386 * src/gen-num-limits.cc: new file
7387 * mknumeric_limits: Ditto.
7389 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7391 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7393 * bits/locfacets.h: Add num_get::get methods overloaded for int
7394 and short, to resolve ambiguous overloads in istream insertion
7397 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7399 * bits/std_istream.h: Fix.
7400 * bits/istream.tcc: Fix.
7402 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7404 * testsuite/24/24iterator.cc: fix ++/-- tests
7406 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7408 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7409 * bits/ostream.tcc: Same.
7411 * bits/std_istream.h: Bring over ostream changes, implement member
7412 functions. Baseline.
7413 * bits/istream.tcc: New file.
7415 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7417 * bits/gslice.h (class gslice): fix friends template.
7419 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7421 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7423 * bits/ostream.tcc: Same.
7425 * bits/std_istream.h: Minor tweaks.
7427 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7429 * src/locale-inst.cc: Remove duplicate instantiations.
7430 * bits/locfacets.tcc: Tweak definitions of static member.
7432 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7434 * bits/std_fstream.h: Format: prepend "__" in front of
7435 non-standard typedefs.
7436 * bits/fstream.tcc: Match.
7437 * bits/std_streambuf.h: Format: prepend "__" in front of
7438 non-standard typedefs.
7440 * bits/sstream.tcc: Match.
7441 * bits/std_istream.h: Format.
7442 * src/locale-inst.cc: Add num_get instantiations.
7444 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7445 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7446 _M_streambuf instead. Make initializations sane. Fix
7447 allocation/deallocation of _M_streambuf.
7448 * bits/std_ostream.h: Fix initialization code.
7449 (ctor): Eliminate redundant this->init(), let base class initialize.
7450 (default ctor): New. Assume base classes already initialzed.
7451 * bits/std_istream.h: Parallel work to ostream.
7452 (ctor): Eliminate redundant this->init(), let base class initialize.
7453 (default ctor): New. Assume base classes already initialzed.
7454 Fix initialization of basic_iostream.
7456 * bits/std_fstream.h: While we're at it, make initializations sane
7457 here too. Now matches sstream.h.
7459 * bits/string.tcc: Fix crash in basic_string::compare.
7460 * bits/basic_string.h: And here.
7461 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7463 * testsuite/make_check_libfree++: Check shared as well.
7464 * testsuite/27/27stringstream.cc: Add bits.
7465 * testsuite/27/27boolfmt.cc: Add bits.
7466 * testsuite/27/27octfmt.cc: Add bits.
7468 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7470 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7472 * bits/locfacets.h: Fix errors that cause build problems
7473 with current egcs (template parameters have class scope).
7474 * bits/locfacets.tcc: Same.
7475 * src/locale-inst.cc: Same, clean.
7476 * src/misc-inst.cc: Same, clean.
7478 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7480 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7481 standard. Re-apply this previous patch.
7483 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7485 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7486 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7487 * bits/string.tcc: Ditto.
7488 * src/misc-inst.cc: Ditto.
7489 * src/locale-inst.cc: Ditto.
7490 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7491 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7492 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7495 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7497 * bits/locfacets.tcc: Remove macro hack.
7498 * bits/locfacets.h: Tweaks.
7499 * src/misc-inst.cc: Weed out locale-related instantiations.
7500 * src/locale-inst.cc: Same.
7502 * RELEASE-NOTES: Make more changes.
7503 * bits/c++config.h: Bump version number.
7505 * testsuite/make_check_libfree++: Collect diagnostics.
7507 * bits/std_ostream.h: Fix ostream initialization/destruction
7508 problem, related to dtor cleanup and new cached facets, agggggggh.
7509 * bits/ostream.tcc: Tweak.
7510 * bits/locfacets.h: Remove all friends of iostream classes.
7511 * bits/ios_base.h: Same.
7512 * bits/streambuf.tcc: Tweak.
7513 * bits/std_streambuf.h: Tweak.
7514 * bits/std_fstream.h: Tweak.
7515 * bits/fstream.tcc: Tweak.
7516 * src/stdstreams.cc: Tweak.
7517 * src/ios.cc: Close streams.
7519 * math/Makefile.in: Add missing files for shared link errors.
7520 * math/Makefile.am: Same.
7522 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7524 * src/locale-inst.cc: More wchar_t instantiations.
7525 * src/misc-inst.cc: Missed a few bits.
7526 * testsuite/make_check_libfree++: Add static and shared runs.
7527 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7529 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7531 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7532 facets. Resolve link errors.
7533 * bits/ostream.tcc: Same.
7534 * src/misc-inst.cc: Add ostream, wostream instantiations.
7535 * src/Makefile.am: Add missing bits for stdstreams.cc.
7536 * src/Makefile.in: Same.
7537 * bits/std_iosfwd.h: Format.
7538 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7539 num_put so that cached _M_fnumput pointer can be deleted in
7540 basic_ostream's dtor. Now everybody plays nice.
7542 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7544 * bits/gslice.h (class gslice): Make friends valarray,
7545 gslice_array and _GliceExpression.
7547 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7549 * RELEASE-NOTES: Update.
7550 * src/ios.cc: Use do proper init.
7551 * bits/std_streambuf.h: Tweak.
7552 * bits/std_iostream.h: Take out static member.
7553 * std/iostream: Put here.
7554 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7555 * bits/std_istream.h: Ditto.
7556 * bits/basic_ios.h: Format.
7557 * bits/ostream.tcc(write): Fix.
7558 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7559 initialization of the fstream class.
7560 * src/stdstreams.cc: I'm baaaaaaaack.
7562 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7564 * bits/ios_base.h: Correct comments. Add ios_base::init()
7565 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7566 * src/misc-inst.cc: Add instantiations here.
7567 * src/ios.cc: Clean.
7568 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7569 * src/stdstreams.cc: Delete this file, as now unnecessary.
7570 * bits/fstream.tcc: Add missing initialization bits for ctor.
7571 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7572 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7574 * bits/streambuf.tcc: Tweak.
7575 * bits/sstream.tcc: Here too.
7577 * bits/fstream.tcc: And change definition as well.
7578 * bits/std_fstream.h: Change ctor.
7579 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7580 * bits/basic_file.h: Add declarations.
7582 * testsuite/27/27hello.cc: New file.
7584 * bits/std_ostream.h: Move flush() inline.
7585 * bits/ostream.tcc: From here.
7587 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7588 * bits/std_ios.h: Change include libio to only when necessary.
7589 * bits/fpos.h: Like here.
7590 * ios_base.h: And here.
7592 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7593 * bits/locfacets.tcc: Same.
7594 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7595 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7597 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7599 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7601 * bits/std_streambuf.h: Clean, tweak.
7602 * bits/std_fstream.h: Same.
7603 * bits/std_sstream.h: Same.
7604 * bits/streambuf.tcc: Move most member functions out-of-line.
7605 * bits/fstream.tcc: Same.
7606 * bits/streambuf.tcc: Same.
7608 * bits/basic_file.h(filepos_cur): Set correctly.
7609 (filepos_beg): Same.
7610 (seekpos): Change to __c_streampos.
7611 * src/basic_file.cc (std): Change to __c_streampos.
7613 * testsuite/27/27filebuf.cc: Round one is finished.
7614 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7615 * testsuite/27/27filebuf-3.tst: Same.
7617 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7619 * bits/basic_file.h: Fix typo, add comments about what to expect
7620 from the various member functions in __basic_file.
7622 * bits/std_fstream.h: Re-do sync/underflow to work
7623 together. Change from sys_read to xsgetn and from sys_write to
7624 xsputn. As it should have been from the beginning. . .
7626 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7628 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7630 * bits/basic_file.h(file_beg): New function.
7633 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7634 * bits/std_fstream.h: More _M_mode refinements.
7635 (synch): Add bits for out mode only.
7636 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7637 * bits/std_sstream.h: Ditto.
7639 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7641 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7642 * testsuite/27/27filebuf.cc: Modify.
7643 * bits/c++config.h: Fix.
7645 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7647 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7648 code in place that diverges from the final standard, but has been
7649 brought up on the library mailing list.
7651 * bits/std_fstream.h(underflow): Position all three internal
7652 buffer pointers at the same initial position. Re-implement with
7653 basic_filebuf abstraction.
7657 * bits/std_sstream.h: Move _M_mode down into base class
7659 * bits/sstream.tcc: Ditto.
7660 * bits/std_streambuf.h: Ditto.
7662 * testsuite/27/27filebuf.cc: Tweak.
7664 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7666 * bits/std_sstream.h: Ditto.
7667 * bits/std_fstream.h: Fix blip.
7669 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7671 * C++STYLE: Add cases.
7672 * bits/std_fstream.h: Format.
7673 * bits/std_streambuf.h: Ditto.
7674 * bits/std_sstream.h: Ditto.
7676 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7677 return type for _IO_file_seek and __basic_file::seek the same size.
7678 * bits/basic_file.h: Ditto.
7680 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7682 * bits/fstream.tcc: Add include guards.
7683 * src/misc-inst.cc: Add instantiations for shared libes.
7684 * src/locale-inst.cc: Add instantiaions for use_facet.
7685 * bits/loccore.h: Remove specialization foward decls for
7686 use_facet<ctype>: perhaps add the whole lot of them later on.
7687 * bits/std_fstream.h: Fix.
7688 * bits/locfacets.h: Ditto.
7689 * src/stdstreams.cc: Disable wide streams for now.
7691 * src/Makefile.am (CXXFLAGS): Change up.
7692 * src/Makefile.in (CXXFLAGS): Ditto.
7694 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7696 * src/basic_file.cc: Change to ios_base::seekdir from int.
7697 * bits/basic_file.h: Ditto.
7698 * bits/locfacets.h : Fix blip with new guard macros.
7700 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7702 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7703 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7705 * amm1/locale: Remove unused defines.
7706 * generic/locale: Ditto.
7707 * src/ios.cc: Ditto.
7708 * src/locale.cc: Ditto.
7709 * src/locale-inst.cc: Ditto.
7710 * src/localename.cc: Ditto.
7711 * src/stdstreams.cc: And here.
7713 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7714 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7715 * bits/loccore.tcc: Ditto.
7716 * bits/locfacets.h: Ditto.
7717 * src/locale-inst.cc: Ditto.
7718 * bits/locfacets.tcc: Add do_put long long here.
7720 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7722 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7723 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7724 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7725 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7726 * bits/std_fstream.h: Tweak.
7728 * bits/char_traits.h: Remove fpos definitions from here. . .
7729 * bits/fpos.h: New file, put them here. Eventually, this may allow
7730 the severing of char_traits and fpos dependancies.
7731 * src/Makefile.in: Add fpos.h.
7732 * src/Makefile.am: Ditto.
7733 * bits/std_string.h: Add fpos.h include here.
7734 * bits/std_ios.h: And here.
7736 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7737 * bits/ios_base.h: Remove cstdio include.
7738 * bits/std_ios.h: ... Place here.
7740 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7742 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7743 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7745 * bits/basic_file.h: Comment, adjust arguments.
7746 * src/basic_file.cc: Ditto.
7748 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7749 type: check and convert accordingly. Re-interpet "resultant stream
7750 position" to indicate external byte sequence location, not internal
7753 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7755 * mkcshadow: And change copyright here.
7756 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7757 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7758 stl_thread.h, and stl_iterator_base.h.
7759 * src/Makefile.in (CXXFLAGS): Ditto.
7760 * stl/backward/pthread_alloc.h: Remove.
7762 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7764 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7766 * bits/std_fstream.h (pbackfail): Correct.
7768 (seekoff): Implement.
7770 * testsuite/27/27filebuf.cc: Add test cases.
7772 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7774 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7775 with the external buffers, and stop mucking around with setting
7776 and re-setting the external buf's pointers. Aka, clarity and
7777 simplicity rule the day.
7778 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7779 Remove partial result and support code.
7781 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7783 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7784 list of function which have to be replaced.
7785 Remove expf from list of functions to test for.
7786 Define USE_LONG_DOUBLE in case the libm has partial support for long
7788 * Makefile.in: Regenerated.
7789 * config.h.in: Likewise.
7790 * configure: Likewise.
7791 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7792 * libio/Makefile.in: Regenerated.
7793 * src/Makefile.in: Regenerated.
7794 * string/Makefile.in: Regenerated.
7795 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7796 atan2f.c, expf.c, and $(EXTRA_yes).
7797 (EXTRA_yes): Add signbitl.c mycabsl.c.
7798 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7799 (libmath_la_SOURCES): remove long double versions.
7800 * math/Makefile.in: Regnerated.
7801 * math/atan2f.c: New file.
7802 * math/copysignf.c: New file.
7803 * math/expf.c: New file.
7804 * math/hypot.c: New file.
7805 * math/hypotf.c: New file.
7806 * math/hypotl.c: New file.
7807 * math/cargf.c: Use correct function and macro names.
7808 * math/ccos.c: Likewise.
7809 * math/ccosh.c: Likewise.
7810 * math/ccoshf.c: Likewise.
7811 * math/ccoshl.c: Likewise.
7812 * math/cexp.c: Likewise.
7813 * math/cexpf.c: Likewise.
7814 * math/cexpl.c: Likewise.
7815 * math/clog.c: Likewise.
7816 * math/clog10.c: Likewise.
7817 * math/clog10f.c: Likewise.
7818 * math/clog10l.c: Likewise.
7819 * math/clogf.c: Likewise.
7820 * math/clogl.c: Likewise.
7821 * math/copysignf.c: Likewise.
7822 * math/csin.c: Likewise.
7823 * math/csinf.c: Likewise.
7824 * math/csinh.c: Likewise.
7825 * math/csinhf.c: Likewise.
7826 * math/csinhl.c: Likewise.
7827 * math/csinl.c: Likewise.
7828 * math/csqrt.c: Likewise.
7829 * math/csqrtf.c: Likewise.
7830 * math/csqrtl.c: Likewise.
7831 * math/ctan.c: Likewise.
7832 * math/ctanf.c: Likewise.
7833 * math/ctanh.c: Likewise.
7834 * math/ctanhf.c: Likewise.
7835 * math/ctanhl.c: Likewise.
7836 * math/ctanl.c: Likewise.
7838 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7840 * testsuite/27/27filebuf.cc: Add cases.
7841 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7842 * bits/std_streambuf.h: Simplify, always have one return statement.
7843 * bits/std_fstream.h: Tweak comments in underflow.
7845 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7847 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7848 * ltconfig: Likewise.
7850 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7852 * src/locale.cc: Fix assert.
7854 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7856 FIXME: Still need some kind of solution for undefined math symbols.
7857 * src/Makefile.in (locale-inst.lo): Compile with
7858 -fimplicit-templates to fix Solaris link problem.
7859 * src/Makefile.am: Ditto.
7860 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7861 * libio/Makefile.am: Ditto.
7862 * src/locale.cc: Provide some kind of def for _S_tolower.
7863 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7864 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7866 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7868 * bits/loccore.tcc: Move member-template ctor inline...
7869 * bits/loccore.h: ...here.
7870 * src/locale-inst.cc: Add instantiation here.
7872 * testsuite/27/27stringstream.cc: Tweak.
7874 * bits/ostream.tcc: Include sbuf_iter.h.
7876 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7877 passing to num_put, as num_put's first argument is an interator,
7880 * testsuite/make_check_libfree++: New file, runs through the
7881 existing test files in the testsuite directory and makes sure
7884 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7886 * testsuite/21/21compare.cc: Fix typo.
7887 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7888 Don't try to provide non-linux versions, since it's impossible to
7889 initialize their const references with the integer 0, no matter
7890 how we try to cast it.
7892 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7894 * bits/std_locale.h: Move std_vector.h dependency.
7895 * bits/std_ios.h: ...from here.
7896 * bits/std_string.h: ...and here.
7897 * src/locale.cc: ..to here.
7898 * bits/loccore.h: Ditto, add vector forward declaration,
7899 make locale::_Impl data members pointers not containers.
7900 * bits/loccore.tcc: Move out-of-line for now.
7901 * bits/locfacets.h: Move vector dependency from here...
7902 * bits/locfacets.tcc: ...to here.
7903 * src/localename.cc: ..and here.
7904 * src/locale-inst.cc: Add include of locfacets.tcc here.
7906 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7907 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7908 * bits/string.tcc: Tweak.
7909 * src/string.cc: And add __get_c_string def here.
7911 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7913 * src/stlinst.cc: Add include of stl_config.h.
7915 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7917 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7918 * stl/bits/stl_config.h: Tweak, update.
7919 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7921 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7922 * stl/bits/std_functional.h: Ditto.
7924 * stl/bits/stl_string.h: New file, SGI's string
7925 implementation. For reference only, corresponding to string in
7927 * stl/bits/stl_char_traits.h: As above.
7929 * stl/bits/pthread_allocimpl.h: New file corresponding to
7931 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7933 * stl/bits/stl_threads.h: New file.
7935 Note that SGI STL 3.12's file iterator.h is not used.
7936 * stl/bits/std_iterator.h: Ditto.
7937 * stl/bits/stl_iterator.h: Drop in replace.
7938 * stl/bits/stl_iterator_base.h: New file, drop in replace.
7940 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
7941 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
7942 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
7943 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
7944 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
7945 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
7946 preprocessor guards, but fixup include paths and names according
7947 to new directory layout).
7949 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
7951 * bits/std_fstream.h: Remove _M_open data member.
7952 * bits/fstream.tcc: Ditto.
7954 * src/locale.cc: Tweak.
7956 * bits/std_sstream.h: Simplify.
7958 * bits/std_streambuf.h: Simplify.
7959 (sputc): Use correct definition of "write area."
7961 * bits/std_fstream.h: Fix uflow.
7962 * src/basic_file.cc: Tweak.
7963 * testsuite/27/27filebuf.cc: Add tests.
7964 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
7966 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7968 * bits/ios_base.h: Make protected.
7970 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7972 * bits/ios_base.h: Changes in the class ios_base:
7973 Rename _M_exceptions member to _M_exceptions_data.
7974 Make the member functions rdstate(), clear(), exceptions()
7975 and exceptions(iostate) protected and add the "_M_" prefix.
7976 * src/ios.cc: Ditto.
7977 * bits/basic_ios.h: Adapt the changes from ios_base.
7979 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
7981 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
7982 * bits/fstream.tcc: Ditto.
7984 * bits/std_fstream.h (underflow): Resize deallocates memory and
7985 resets pointers in the internal cache according to new _M_buf. . dooh!
7986 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
7988 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7990 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7993 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
7995 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
7996 into account partial returns.
7997 (codecvt::do_out): Likewise.
7999 * bits/char_traits.h: Change streamsize to be a signed type, as
8000 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8001 * bits/std_streambuf.h: Make
8002 in_avail() and showmanyc() have streamsize as return types, so
8003 that showmanyc()'s return of eof won't underflow in_avail's return
8004 value and give a bogus result.
8005 * src/misc-inst.cc: And more changes. . .
8007 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8008 track of joint in/out pointers into the internal buffer.
8009 (sbumpc): Add check for _M_buf_unified.
8013 * testsuite/27/27filebuf.cc: Add cases.
8014 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8016 * bits/std_fstream.h (close): Fix logic error.
8017 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8018 (showmanyc): Add underflow component, to match the standard.
8020 * bits/fstream.tcc: Ditto.
8022 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8024 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8025 * src/basic_file.cc: Ditto.
8026 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8027 format for dealing with _IO_file in libio.
8029 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8031 * src/basic_file.cc: Include fcntl.h.
8033 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8035 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8037 * bits/std_streambuf.h: Redefine read posion.
8039 * bits/std_fstream.h: Temporary hack to get vtables working again.
8040 * bits/basic_file.h: Revert.
8041 * src/basic_file.cc: Ditto.
8042 * testsuite/27/27filebuf.cc: Tweak.
8044 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8046 * bits/basic_file.h: Add showmanyc, underflow. .
8047 * src/basic_file.cc: Ditto.
8049 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8052 * testsuite/27/27filebuf.cc: Add testcases.
8053 * src/basic_file.cc: Add O_CREAT to open calls with
8054 ios_base::trunc as part of the open mode.
8056 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8058 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8060 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8062 * src/ios.cc (clear): Correct typo.
8063 * bits/ios_base.h: Tweak spacing.
8065 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8067 * bits/basic_ios.h: fix basic_ios::fail()
8069 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8071 * bits/basic_file.h: Include libioP.h from libio instead of here.
8072 * bits/iolibio.h: Remove.
8073 * bits/libio.h: Remove.
8075 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8077 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8079 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8081 * Makefile.am (SUBDIRS): Add libio.
8082 * configure.in: Add rule to test for glibc2.
8084 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8085 (libstdc___la_LIBADD): Add libio.la.
8087 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8089 * bits/basic_file.h: Make new abstraction for underlying C library
8090 FILE, named __basic_file.
8091 * src/basic_file.cc: New file.
8092 * bits/os_raw.h: Delete.
8093 * src/os_raw.cc: Delete.
8094 * src/Makefile.in: Tweak.
8095 * src/Makefile.am: Tweak.
8096 * bits/iolibio.h: Add this here, for the time being.
8097 * bits/libioP.h: Ditto.
8099 * bits/ios_base.h: Delete unused defines.
8100 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8101 strcpy to copy between the two buffers.
8103 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8104 * testsuite/27/27filebuf.cc: New file.
8105 * testsuite/27/27filebuf-1.txt: Data file for above test.
8106 * testsuite/27/27filebuf-2.txt: Ditto.
8108 * bits/std_streambuf.h (uflow): Re-implement default.
8109 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8110 Re-implement virtual functions.
8111 * bits/fstream.tcc: Delete unused mf's.
8113 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8115 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8116 * bits/std_fstream.h: Ditto.
8117 * src/stdstreams.cc: Ditto.
8119 * math/cpowl.c: Fix header typo with last change.
8121 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8123 * COPYING: New file (GPL v 2).
8124 * LICENSE.STD: Remove.
8125 * ./*: Change license.
8127 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8129 * bits/std_streambuf.h (std): Remove static on _M_init.
8130 * bits/streambuf.tcc (std): Ditto.
8132 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8133 state_type and codecvt_type members, the allocation of an internal
8134 buffer, the streamlined codecvt calls, etc.
8136 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8138 * bits/std_sstream.h: Tweak.
8139 * bits/fstream.tcc: Remove unused stubs.
8140 * bits/std_fstream.h: Tweak.
8142 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8144 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8145 Remove unused _IO_* members, possibly put into filebuf, which may
8147 * bits/std_fstream.h: Add _M_flag.
8148 * bits/sbuf_iter.h: Tweak.
8150 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8151 * bits/ios_base.h: Use.
8153 * src/stdstreams.cc: Modify to reflect standard ctors for
8155 * src/misc-inst.cc: Ditto.
8157 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8158 underlying C library calls instead of the underlying unix
8160 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8161 string as per p.659.
8162 (_S_os_close): Model on fopen.
8163 (_S_os_read): Model on fread.
8164 (_S_os_write): Model on fwrite.
8165 (_S_os_seek): Model on fseek.
8167 * bits/ios_base.h: Tweak.
8168 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8169 * bits/std_sstream.h: Tweak.
8170 * bits/sstream.tcc: Remove old, uncalled code.
8171 * bits/std_fstream.h: Major reconstruction.
8172 * bits/fstream.tcc: Disable for the time being.
8174 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8176 * bits/basic_string.h: Fix insert method.
8177 * stl/bits/stl_iterator.h: Remove previous hack.
8178 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8179 * bits/std_sstream.h: Fix more regressions.
8180 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8182 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8184 * bits/basic_string.h: Tweak.
8186 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8187 that string::append can be instantiated. HACK--checkin
8188 basic_string::iterator class.
8190 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8192 * bits/std_sstream.h: Tweak.
8193 * bits/sstream.tcc: Tweak ctors.
8195 FIXME invalid friend defs. . WHERE ARE THEY??
8197 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8198 names for basic_streambuf data members.
8200 * bits/std_streambuf.h: Add getloc() initialization bits.
8201 basic_streambuf(): Initialize with global locale data.
8202 imbue(): Set _M_init.
8204 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8205 stream pos == pos_type(off_type(-1)).
8206 in_avail(): Complete default implementation.
8207 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8208 underflow, uflow, xsgetn, showmany, sync: Ditto.
8210 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8212 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8213 re-populate with in-line member functions that are too big. Add
8214 initialization for _M_init.
8216 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8218 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8219 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8222 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8224 * bits/c++config.h (_G_DEPRICATED): Add.
8225 (_G_USE_WCHAR_T): Add.
8226 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8227 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8228 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8229 * bits/std_fstream.h: Add comment for implementation.
8230 * src/streambuf.cc: Remove.
8231 * src/Makefile.in: Remove streambuf.lo.
8232 * src/misc-inst.cc: Tweak.
8234 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8236 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8237 * testsuite/27stringstream.C: Modify.
8239 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8241 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8242 (libstdc___la_SOURCES): Ditto.
8244 * bits/streambuf.tcc: Tweak.
8246 * src/streambuf.cc: New file, add out-of-line definitions for
8249 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8250 Comment out wchar_t versions of the buffer instantiations, for now.
8252 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8253 Remove template wrapper around _Streambuf_base.
8254 Move IO_* data members into _Streambuf_base.
8255 Move _Streambuf_base members into streambuf.tcc.
8257 * bits/c++config.h (_G_USE_LIBIO): Enable.
8259 1998-11-02 Nathan Myers <ncm@cantrip.org>
8261 * CHECKLIST: downgrade iterator implementations
8262 * DESIGN: fill out notes about unimplemented features
8264 1998-10-31 Nathan Myers <ncm@cantrip.org>
8266 * CHECKLIST: itemized list of all interfaces, and status of each.
8268 1998-10-30 Nathan Myers <ncm@cantrip.org>
8270 * RELEASE-NOTES: add notes about optional includes, linking, running
8271 * src/Makefile.am: handle header installs properly
8272 * src/Makefile.in: regenerate from new src/Makefile.am
8274 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8276 * bits/basic_string.h: Revert npos pending ciso646.
8277 * src/Makefile.am: Revert CXX flags for now.
8278 * src/Makefile.in: Ditto.
8280 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8282 * bits/std_sstream.h: Re-order ctors to put base before member
8285 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8287 * stl/bits/std_memory.h: Fix typo.
8289 1998-10-30 Nathan Myers <ncm@cantrip.org>
8291 * src/string[A-Z]+.cc: change back to include "string.cc".
8292 * src/Makefile.am: revert filename changes. We need a different
8293 way to keep filenames in std/ from confusing Make.
8294 * bits/basic_string.h: define _S_max_size right, return it from
8295 string::max_size(); churn definition of npos again.
8296 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8297 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8298 * BUGS: clear cruft.
8299 * C++STYLE: Touchup for release.
8300 * CHECKLIST: Touchup for release.
8302 * LICENSE.STD: Add requirement to retain copyrights and to provide
8303 the license with any copies.
8304 * README: Update for release.
8305 * TODO: Minor touchup for release.
8306 * RELEASE-NOTES: prepare for release
8308 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8310 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8312 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8314 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8315 CXX to generate the shared object.
8317 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8319 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8321 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8322 2, from npos, solving infinite loop problems.
8324 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8326 * src/Makefile.am: Add rules to install headers.
8328 1998-10-29 Nathan Myers <ncm@cantrip.org>
8330 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8331 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8334 * shadow/bits/wrap_libio.h:
8335 * shadow/bits/wrap_unistd.h: New files.
8337 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8339 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8340 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8342 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8344 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8345 is not compiled with -fno-implicit-templates in effect.
8347 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8348 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8349 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8351 * src/stringADDPS.cc: Likewise.
8352 * src/stringADDSC.cc: Likewise.
8353 * src/stringADDSP.cc: Likewise.
8354 * src/stringADDSS.cc: Likewise.
8355 * src/stringBIST.cc: Likewise.
8356 * src/stringBOST.cc: Likewise.
8357 * src/stringCHTR.cc: Likewise.
8358 * src/stringEQPS.cc: Likewise.
8359 * src/stringEQSP.cc: Likewise.
8360 * src/stringEQSS.cc: Likewise.
8361 * src/stringEXTRA.cc: Likewise.
8362 * src/stringGEPS.cc: Likewise.
8363 * src/stringGESP.cc: Likewise.
8364 * src/stringGESS.cc: Likewise.
8365 * src/stringGETLI.cc: Likewise.
8366 * src/stringGTPS.cc: Likewise.
8367 * src/stringGTSP.cc: Likewise.
8368 * src/stringGTSS.cc: Likewise.
8369 * src/stringINSER.cc: Likewise.
8370 * src/stringLEPS.cc: Likewise.
8371 * src/stringLESP.cc: Likewise.
8372 * src/stringLESS.cc: Likewise.
8373 * src/stringLTPS.cc: Likewise.
8374 * src/stringLTSP.cc: Likewise.
8375 * src/stringLTSS.cc: Likewise.
8376 * src/stringMAIN.cc: Likewise.
8377 * src/stringNEPS.cc: Likewise.
8378 * src/stringNESP.cc: Likewise.
8379 * src/stringNESS.cc: Likewise.
8380 * src/stringSCOPY.cc: Likewise.
8381 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8383 * src/wstringADDPS.cc: Likewise.
8384 * src/wstringADDSC.cc: Likewise.
8385 * src/wstringADDSP.cc: Likewise.
8386 * src/wstringADDSS.cc: Likewise.
8387 * src/wstringBIST.cc: Likewise.
8388 * src/wstringBOST.cc: Likewise.
8389 * src/wstringCHTR.cc: Likewise.
8390 * src/wstringEQPS.cc: Likewise.
8391 * src/wstringEQSP.cc: Likewise.
8392 * src/wstringEQSS.cc: Likewise.
8393 * src/wstringEXTRA.cc: Likewise.
8394 * src/wstringGEPS.cc: Likewise.
8395 * src/wstringGESP.cc: Likewise.
8396 * src/wstringGESS.cc: Likewise.
8397 * src/wstringGETLI.cc: Likewise.
8398 * src/wstringGTPS.cc: Likewise.
8399 * src/wstringGTSP.cc: Likewise.
8400 * src/wstringGTSS.cc: Likewise.
8401 * src/wstringINSER.cc: Likewise.
8402 * src/wstringLEPS.cc: Likewise.
8403 * src/wstringLESP.cc: Likewise.
8404 * src/wstringLESS.cc: Likewise.
8405 * src/wstringLTPS.cc: Likewise.
8406 * src/wstringLTSP.cc: Likewise.
8407 * src/wstringLTSS.cc: Likewise.
8408 * src/wstringMAIN.cc: Likewise.
8409 * src/wstringNEPS.cc: Likewise.
8410 * src/wstringNESP.cc: Likewise.
8411 * src/wstringNESS.cc: Likewise.
8412 * src/wstringSCOPY.cc: Likewise.
8413 * src/string.cc: Remove now unneeded #defines now.
8415 1998-10-29 Nathan Myers <ncm@cantrip.org>
8417 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8419 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8420 add definitions for double, long double, const void*.
8421 * bits/std_ostream.h: Move op<<'s back into class ostream,
8422 define some in-line.
8423 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8424 string construction from input iterators that Brendan reported.
8427 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8429 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8431 * bits/valarray_meta.h (class _Constant): Move declaration to the
8432 top, so the rest of the file can grok it.
8433 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8435 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8437 (basic_stringstream::str, both instances): Likewise.
8439 1998-10-28 Nathan Myers <ncm@cantrip.org>
8441 * bits/locfacets.h: fix num_put<>::falsename()
8442 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8443 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8444 * bits/locfacets.tcc: touch up _S_group_digits.
8445 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8447 1998-10-27 Nathan Myers <ncm@cantrip.org>
8449 * stl/bits/stl_config.h: Turn off long long support, for now.
8450 * src/locale-inst.cc: Instantiate num_put<> only for
8451 ostreambuf_iterator, num_get only for istreambuf_iterator.
8452 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8453 add lots of new instantiations for num_put support function templates;
8454 remove junk about __match_parallel for ostreambuf_iterator.
8456 1998-10-27 Nathan Myers <ncm@cantrip.org>
8458 * bits/locfacets.tcc: Make num_put's digit grouping work.
8459 * bits/string.tcc: More uglification.
8460 * src/ios.cc: initialize format cache right
8462 1998-10-26 Nathan Myers <ncm@cantrip.org>
8464 * bits/basic_string.h: Uglify more names.
8465 * bits/fstream.tcc: Rewrite some filebut output handling.
8466 * bits/ios_base.h: Cosmetic.
8467 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8468 Also, specialize its default ctor for optimal default case.
8469 #ifdef out "long long" prototypes for now.
8470 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8471 implementation for integer types. (Still needs optimized
8472 std::copy() applied to ostreambuf_iterator to be optimal.)
8473 * bits/ostream.tcc: Write operator<< for long, bool types.
8474 Make other operators<< non-members, per spec. (Many still
8475 not implemented.) Identify those that fail to create a sentry.
8476 * bits/sbuf_iter: Cosmetic.
8477 * bits/std_fstream.h: Add some filebuf members.
8478 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8479 * bits/std_ostream.h: Make member operators<< global, per spec.
8480 (Should do the same in std_istream.h.)
8481 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8482 * bits/string.tcc: Uglify names
8483 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8484 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8485 for optimal default behavior.
8487 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8489 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8491 1998-10-21 Nathan Myers <ncm@cantrip.org>
8493 * src/locale.cc: make ctype operations actually work for glibc
8494 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8495 checklist of stdlib facilities. Not filled in yet.
8497 1998-10-20 Nathan Myers <ncm@cantrip.org>
8499 * bits/string.tcc: fix patching NULs on string ends.
8501 1998-10-19 Nathan Myers <ncm@cantrip.org>
8503 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8504 iterator forward declarations
8505 * bits/sbuf_iter.h: eliminate default template argument definitions
8506 on streambuf iterators (rely on <iosfwd> decls).
8507 * TODO: add note about lazy facet construction
8508 * bits/basic_ios.h: hit operator void* again. This should be the
8509 last time we need to touch it.
8510 * bits/basic_ios.h: copyfmt now returns *this.
8511 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8512 * bits/basic_string.h: put back overloaded constructors; adjust
8513 behavior for default allocator on copy constructor.
8514 * bits/char_traits.h: make not_eof return correct type.
8515 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8516 cannot be in non-standard headers or we get include loops (bad)
8517 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8518 * bits/loccore.h: add apparatus to support lazy construction of
8520 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8521 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8522 locale use_facet<> failure.
8523 * bits/std_locale.h: same.
8524 * bits/std_string.h: same.
8525 * bits/std_stdexcept.h: change exception member __msg from a
8526 reference to a regular object.
8527 * bits/string.tcc: add pasting a NUL on the end of strings after
8528 each operation. We had already left room for it, but previously
8529 plugged it only on a call to c_str(), but the WG changed the
8530 requirement when I wasn't looking. (Can't leave them alone for
8531 a second without they break something else.)
8532 * bits/valarray_meta.h: add Gaby's changes from 981018.
8533 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8534 failure of use_facet<>().
8535 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8536 comment out leftover member definitions
8538 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8540 * string/Makefile.am: Revert last change.
8541 * math/Makefile.am: Likewise.
8543 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8545 * bits/std_sstream.h: Fix typo.
8547 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8549 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8551 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8552 * bits/std_stdexcept.h: Remove.
8554 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8556 * src/misc-inst.cc: Tweak again.
8558 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8559 * bits/sstream.tcc: New file.
8561 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8563 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8564 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8567 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8569 (INFINITE_P): Use IS_INF macro if available.
8571 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8573 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8575 * string/Makefile.am: Likewise.
8577 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8579 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8581 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8582 endianess is available run AC_C_BIGENDIAN.
8584 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8585 fixincludes is fixed.
8586 * math/clogl.c: Likewise.
8587 * math/csqrtl.c: Likewise.
8588 * math/mycabsl.c: Likewise.
8590 * math/mathconf.h: Include machine/endian.h if possible. If no
8591 header describing endianess is available rely on WORDS_BIGENDIAN
8593 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8594 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8597 * src/complex.cc (polar): Don't use sincos on OSF machines.
8599 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8601 * src/locale-inst.cc: Don't instantiate time_get for
8602 ostreambuf_iterators as time_get::do_get_weekday and
8603 time_get::do_get_monthname use __match_parallel, which is illegal
8604 for ostreambuf_iterators to use, as they don't have operator== or
8606 * bits/std_stdexcept.h: Add dtor definitions.
8607 Use stl/bits/std_stdexcept.h instead of this file?
8608 * bits/sbuf_iter.h : Tweak.
8609 * src/misc-inst.cc: Tweak.
8611 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8613 * bits/std_stdexcept.h: New file.
8614 * src/stdexcept.cc: Define the following:
8616 runtime_error::what()
8618 * src/misc-inst.cc: New file.
8619 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8620 (libstdc___la_OBJECTS): Add misc-inst.lo.
8622 * bits/basic_string.h: Disable non-standard ctor declarations.
8623 * bits/string.tcc: Disable definitions as well.
8624 * src/string.cc: Disable <ios> dependancies.
8625 * bits/sbuf_iter.h (std): Add default to template parameter for
8626 ostreambuf_iterator and istreambuf_iterator.
8627 * bits/std_iosfwd.h: Change istreambuf_iterator to
8628 basic_istreambuf_iterator. Likewise for ostreambuf.
8629 * bits/locfacets.tcc (__match_parallel): Fix typo.
8630 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8632 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8633 * bits/std_istream.h: Define the following:
8634 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8635 get (char_type* __s, streamsize __n, char_type __delim);
8636 getline (char_type* __s, streamsize __n, char_type __delim)
8637 * bits/loccore.h : FIXME friend template code for use_facet.
8638 Add std_stdexcept.h include so that range_error will be defined.
8639 Add explicit conversion to string for range_error throws. (HACK?)
8641 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8643 * configure.in: Check for sincos, sincosf, and sincosl.
8644 * src/complex.cc (polar): Use sincos if available.
8646 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8647 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8649 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8651 * math/cpow.c: Use c_log, not clog.
8652 * math/cpowf.c: Likewise.
8653 * math/cpowl.c: Likewise.
8655 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8658 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8659 isfinite macro if it is available.
8660 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8662 * math/ccosf.c: Use appropriate test macros for this type.
8663 * math/ccoshf.c: Likewise.
8664 * math/ccoshl.c: Likewise.
8665 * math/ccosl.c: Likewise.
8666 * math/cexpf.c: Likewise.
8667 * math/cexpl.c: Likewise.
8668 * math/clog10f.c: Likewise.
8669 * math/clog10l.c: Likewise.
8670 * math/clogf.c: Likewise.
8671 * math/clogl.c: Likewise.
8672 * math/csinf.c: Likewise.
8673 * math/csinhf.c: Likewise.
8674 * math/csinhl.c: Likewise.
8675 * math/csinl.c: Likewise.
8676 * math/csqrtf.c: Likewise.
8677 * math/csqrtl.c: Likewise.
8678 * math/ctanf.c: Likewise.
8679 * math/ctanhf.c: Likewise.
8680 * math/ctanhl.c: Likewise.
8681 * math/ctanl.c: Likewise.
8683 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8685 * bits/basic_ios.h: Fix previous change.
8687 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8689 * bits/basic_ios.h: Add const_cast<basic_ios&>
8690 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8692 * bits/char_traits.h: No _CharT for specialization, change to 0.
8693 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8694 constant-initializer.
8695 * bits/locfacets.tcc: Add template parameter to initialization list.
8697 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8699 * bits/basic_string.h: Should just be <, not <=.
8701 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8703 * bits/string.tcc (compare): Fix for strings that are similar, but
8704 not the same length.
8706 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8708 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8709 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8710 We can't check for __GLIBC__ here, since this header can be read
8711 before any system one (that would lead to features.h) being used.
8713 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8715 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8716 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8718 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8719 LONGLONG_{MIN,MAX} which I can't find the origin of.
8721 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8723 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8724 should this come from, if not iostream.h?
8725 (class istream_iterator): Make the new operator!= a friend also.
8727 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8728 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8729 _G_config.h like the egcs one does.
8731 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8733 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8735 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8736 _Expr1 (or _Expr_def if it's taken), and change definitions.
8737 Avoids redecl of the template parm.
8739 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8740 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8742 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8745 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8746 be a better way to do this.
8748 * src/stlinst.cc: New file.
8750 * BUGS: New file, with various discovered bugs that need to be
8753 * Makefile.in, math/Makefile.in, string/Makefile.in,
8754 src/Makefile.in: Reran automake.
8756 Workarounds, these may not all be the final fixes:
8758 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8759 not private, for basic_istream::get() in std_istream.h to be able
8761 (basic_ios::operator void*): Don't use static_cast for the false
8763 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8764 This appears to have been in sep94, but didn't get corrected
8767 * bits/basic_string.h (npos): Don't init here.
8768 * bits/string.tcc: Instead, do initialization here, to -1 instead
8769 of the size_type destructor.
8771 * src/traits.cc, src/wtraits.cc: New files.
8772 * bits/char_traits.h: For char_traits<char> and
8773 char_traits<wchar_t>, declare static, but define over in the src
8776 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8777 gslice_array, and _GsliceExpression.
8779 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8780 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8781 stdout, and stderr. Note we do get unresolved refs to stdin, but
8782 that'll get fixed by the "true" solution.
8784 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8785 definition of basic_streambuf.h, which is used in basic_ios.h to
8788 * bits/std_streambuf.h: Don't include libio.h for now.
8789 (class basic_streambuf): Define missing methods pubimbue and
8792 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8793 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8794 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8796 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8798 * src/locale.cc: Come up with munged versions of _S_toupper,
8799 _S_tolower, and _S_table instead of the glibc-specific ones, so
8800 they're at least defined, if not necessarily usable. The glibc
8801 ones on any other system will yield unresolved refs to
8802 __ctype_{b,toupper,tolower}.
8804 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8805 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8806 anymore cuz of the explicit specialization in char_traits.h.
8807 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8808 file for the details.
8810 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8811 * stl/bits/stl_iterator.h (__distance): Likewise.
8813 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8814 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8817 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8819 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8822 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8824 This should really be fixed with __asm__ directives renaming the
8825 symbol, but keeping the function.
8826 * math/clogf.c (c_logf): Renamed from `clogf'.
8827 * math/clogl.c (c_logl): Renamed from `clogl'.
8828 * math/complex-stub.h (c_logf, c_logl): Change decls.
8830 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8831 _CharT and _InIter parms, since they duplicate the enclosing ones.
8833 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8835 Deal with conflict of the iostreams `clog' and our internal
8836 complex number `clog'.
8837 * src/complex.cc: Call `c_log' instead of `clog'.
8838 * math/clog.c (c_log):: Renamed from clog.
8839 * math/complex-stub.h (c_log): Renamed from clog decl.
8841 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8843 (num_put::put): #if 0 long long version, since we don't declare or
8844 define the long long version of do_put.
8846 1998-08-18 Nathan Myers <ncm@cantrip.org>
8848 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8849 type of get_allocator (thanks to Ryszard Kabatek).
8850 * bits/char_traits.h: make init order of fpos<> members
8852 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8853 flags _S_fd_in etc. for special filebuf ctor.
8854 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8855 to work around problems in friend declarations.
8856 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8857 fix random type errors & typos
8858 * bits/std_fstream.h: major refitting to bypass libio (for now),
8859 instrument to use bits/fstream.tcc template definitions
8860 * bits/std_iosfwd.h: mess with wrappers
8861 * bits/std_istream.h: remove meaningless comment
8862 * bits/std_ostream.h: instrument to work with ostream.tcc.
8863 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8864 * bits/fstream.tcc: template defs for <fstream>
8865 * bits/ostream.tcc: template defs for <ostream>
8866 * bits/streambuf.tcc: template defs for <streambuf>
8867 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8868 * Delete .cc files, replace with bits/*.tcc
8874 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8875 src/stdstreams.cc: cout, cin, etc. definitions
8876 (these still need work: must be init'd before user statics.)
8879 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8881 Sent to SGI before checkin:
8882 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8883 operator>=): Define.
8884 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8885 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8886 operator>=): Define.
8887 (operator==, operator<): Add inline.
8888 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8889 operator>=): Define.
8890 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8891 operator>=): Define.
8892 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8893 operator>=): Define.
8894 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8895 operator>=): Define.
8896 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8897 operator>=): Define.
8899 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8902 1998-08-15 Nathan Myers <ncm@cantrip.org>
8904 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8905 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8906 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8907 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8908 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8909 * bits/std_sstream.h: formatting cleanups
8911 1998-08-14 Nathan Myers <ncm@cantrip.org>
8913 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8914 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8915 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8916 * bits/locfacets.h: fix missing argument in do_get_monthname
8917 (this is a bug in the standard, ref. 36 in my list.)
8918 * bits/locfacets.h: make month and day name caches mutable
8919 * bits/locfacets.tcc: various typos in get() functions
8920 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8921 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8923 1998-08-12 Nathan Myers <ncm@cantrip.org>
8924 * move streambuf iterators to bits/sbuf_iter.h
8925 * optimize streambuf iterators
8926 * begin generalizing streambuf
8927 * begin implementing num_get<>::get (starting with bool)
8928 * patch stl/bits/stl_config.h so that relops operators are
8929 contained properly, out of the way.
8931 1998-07-24 Nathan Myers <ncm@cantrip.org>
8932 * Fold in SGI 3.11 changes (uglified names, some algorithm
8933 improvements, very minor bug fixes.)
8934 * Uglify names elsewhere to match (s/_T/_Tp/).
8935 * Begin work on optimized streambuf
8936 * Put complex.cc in namespace std:: (thanks Martin)
8938 1998-07-17 Nathan Myers <ncm@cantrip.org>
8940 * bits/char_traits.h: add _Char_traits_match template.
8941 * bits/string.tcc: fix bugs in various find_last* members.
8942 * bits/basic_string.h: redeclare member _S_find.
8943 * stl/bits/stl_iterator.h: change member names in nonstandard
8944 templates bidirectional_reverse_iterator and
8945 random_access_reverse_iterator to match expected changes
8947 * src/string.cc: fix definitions of stream operators.
8949 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
8951 * Makefile.am (SUBDIRS): Add string.
8953 * configure.in: Test for long double functions separately. Test for
8954 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
8955 Generate string/Makefile.
8957 * bits/c++config.h: Define mbstate_t for Solaris.
8959 * bits/char_traits.h: Remove unused #if.
8961 * bits/std_cwchar.h: Declare wide char string functions.
8963 * m4/stringfcts.m4: New file.
8965 * math/complex-stub.h: Declare nan.
8966 * math/nan.c: New file.
8968 * math/mathconf.h: Hack around missing endian.h file.
8969 Handle missing NAN definition.
8970 Handle missing float math functions.
8972 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
8973 (libstdc___la_LDFLAGS): Set version information.
8975 * src/complexl.cc: Don't compile any code if no long double functions
8978 * string/Makefile.am: New file.
8979 * string/dummy.c: New file.
8980 * string/wmemchr.c: New file.
8981 * string/wmemcmp.c: New file.
8982 * string/wmemcpy.c: New file.
8983 * string/wmemmove.c: New file.
8984 * string/wmemset.c: New file.
8986 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
8988 * configure.in: Make it work.
8989 * install-sh: New file.
8990 * missing: New file.
8991 * mkinstalldirs: New file.
8992 * m4/mathfcts.m4: New file.
8993 * math/Makefile.am: New file.
8995 * bits/std_complex.h (conj): Mark specializations as inline.
8997 * math/carg.c: New file.
8998 * math/cargf.c: New file.
8999 * math/cargl.c: New file.
9000 * math/mycabs.c: New file.
9001 * math/mycabsf.c: New file.
9002 * math/mycabsl.c: New file.
9003 * math/signbit.c: New file.
9004 * math/signbitf.c: New file.
9005 * math/signbitl.c: New file.
9007 * math/ccos.c: Avoid ISO C 9x functionality.
9008 * math/ccosf.c: Likewise.
9009 * math/ccosh.c: Likewise.
9010 * math/ccoshf.c: Likewise.
9011 * math/ccoshl.c: Likewise.
9012 * math/ccosl.c: Likewise.
9013 * math/cexp.c: Likewise.
9014 * math/cexpf.c: Likewise.
9015 * math/cexpl.c: Likewise.
9016 * math/clog.c: Likewise.
9017 * math/clog10.c: Likewise.
9018 * math/clog10f.c: Likewise.
9019 * math/clog10l.c: Likewise.
9020 * math/clogf.c: Likewise.
9021 * math/clogl.c: Likewise.
9022 * math/cpow.c: Likewise.
9023 * math/cpowf.c: Likewise.
9024 * math/cpowl.c: Likewise.
9025 * math/csin.c: Likewise.
9026 * math/csinf.c: Likewise.
9027 * math/csinh.c: Likewise.
9028 * math/csinhf.c: Likewise.
9029 * math/csinhl.c: Likewise.
9030 * math/csinl.c: Likewise.
9031 * math/csqrt.c: Likewise.
9032 * math/csqrtf.c: Likewise.
9033 * math/csqrtl.c: Likewise.
9034 * math/ctan.c: Likewise.
9035 * math/ctanf.c: Likewise.
9036 * math/ctanh.c: Likewise.
9037 * math/ctanhf.c: Likewise.
9038 * math/ctanhl.c: Likewise.
9039 * math/ctanl.c: Likewise.
9041 * math/complex-stub.h: New file.
9043 * math/mathconf.h: New file.
9045 * src/Makefile.am: New file.
9047 * src/complex.cc: Use mathconf.h instead of complex.h.
9048 Don't use cabs, always use __mycabs.
9050 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9052 * iterator (class reverse_iterator): Do some tweaks to be in sync