1 2000-11-21 Branko Cibej <brankoe@xbc.nu>
3 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
4 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
5 __off64_t and __ssize_t.
6 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
7 same configuration as above.
9 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
11 * libsupc++/new.h: Add using declarations for bad_alloc,
12 nothrow_t, and nothrow.
13 * include/backward/new.h: Remove duplicate file, as libsupc++ has it.
15 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
16 * aclocal.m4: Regenerate.
17 * configure: Renerate.
19 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
21 * mkcheck.in (explanation): Don't paste output of passing compiles
22 into log file. Use -static. Get version info.
24 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
26 2000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
28 * include/bits/std_complex.h (complex<double>): Constructor
29 complex<double>::complex(const complex<float>&) is not explicit;
30 since it is a promotion.
31 (complex<long double>): Constructors taking complex<float> and
32 complex<double> are not explicit.
34 2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
36 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
37 * src/complex.cc: Remove cmath include, formatting tweaks, remove
39 * include/c/bits/std_cmath.h: Formatting tweaks.
40 * testsuite/26_numerics/complex_value.cc: New file, for catching
41 bits gleaned from libstdc++/106.
43 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
46 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
48 * include/bits/c++config, include/bits/ios_base.h,
49 include/bits/std_streambuf.h: Correct spelling of "deprecated".
51 2000-11-19 Mark Mitchell <mark@codesourcery.com>
53 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
54 __cxa_bad_cast under the new ABI.
55 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
56 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
59 2000-11-18 Mark Mitchell <mark@codesourcery.com>
61 * libsupc++/exception_support.h: New header file.
62 * libsupc++/vec.cc: Include it.
63 (__cxa_vec_new2): Recatch exceptions before rethrows.
64 (__cxa_vec_new3): Likewise.
65 (__cxa_vec_ctor): Likewise.
66 (__cxa_vec_cctor): Likewise.
67 (__cxa_vec_dtor): Likewise.
68 (__cxa_vec_delete2): Likewise.
69 (__cxa_vec_delete3): Likewise.
71 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
73 * include/bits/stl_tree.h: Overload operators == and != to be able
74 to handle the case (const_iterator,iterator) and
75 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
76 * testsuite/23_containers/map_operators.cc (test02): New tests.
78 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
80 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
81 to ``make --enable-cstdio=stdio the default''.
82 * libstdc++-v3/aclocal.m4: Rebuilt.
83 * libstdc++-v3/configure: Rebuilt.
85 2000-11-17 Phil Edwards <pme@sources.redhat.com>
87 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
89 * configure.target: ...here. Enable generic atomic ops, and warn.
90 * aclocal.m4: Regenerated.
93 * libio/Makefile.in: Ditto.
94 * libmath/Makefile.in: Ditto.
95 * libsupc++/Makefile.in: Ditto.
96 * src/Makefile.in: Ditto.
98 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
100 * include/bits/locale_facets.tcc (num_get<_CharT,
101 _InIter>::do_get(...)): Add missing typename keyword.
103 2000-11-16 Mark Mitchell <mark@codesourcery.com>
105 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
106 --enable-cstdio=stdio the default. Disable wide character support
108 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
109 (GLIBCPP_ENABLE_CSTDIO).
110 * config/c_io_stdio.h: Don't include <libio.h>, don't define
112 * aclocal.m4: Regenerated.
113 * configure: Likewise.
114 * Makefile.in: Likewise.
115 * libio/Makefile.in: Likewise.
116 * libmath/Makefile.in: Likewise.
117 * libsupc++/Makefile.in: Likewise.
118 * src/Makefile.in: Likewise.
120 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
122 * config/c_io_stdio.h: Include stddef.h.
124 2000-11-16 Mark Mitchell <mark@codesourcery.com>
126 * config/c_io_stdio.h (streamsize): Make it a typedef for
128 (wstreamsize): Likewise.
130 * config/c_io_stdio.h: Include libio.h.
132 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
134 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
135 * src/Makefile.am (libstdc___la_LIBADD): Use it.
136 * aclocal.m4: Regenerated.
137 * configure: Likewise.
138 * Makefile.in: Likewise.
139 * libio/Makefile.in: Likewise.
140 * libmath/Makefile.in: Likewise.
141 * libsupc++/Makefile.in: Likewise.
142 * src/Makfile.in: Likewise.
144 2000-11-15 Mark Mitchell <mark@codesourcery.com>
146 * mkcheckin.in: Move check for bash version 2 later in the file.
148 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
150 (basic_string::_Rep::_S_terminal): Likewise.
151 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
153 (basic_string::_Rep::_S_terminal): Likewise.
155 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
157 * mkcheck.in: Add function size_command() for irix.
159 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
161 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
163 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
164 building a canadian cross. This should fix the remaining java
166 * aclocal.m4: Regenerate.
167 * configure: Regenerate.
169 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
171 2000-11-14 Phil Edwards <pme@sources.redhat.com>
173 * mkcheck.in: On a platform where we don't know how to extract
174 section sizes, just set them to zero. Use old method of reading
177 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
179 * config/c_io_stdio.h: Don't define __c_wfile_type
180 when _GLIBCPP_USE_WCHAR_T is not defined.
182 2000-11-13 Phil Edwards <pme@sources.redhat.com>
184 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
185 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
186 (GLIBCPP_CONFIGURE): Call new macro here.
187 * configure.host: Cleanup.
188 * configure.in: Remove those two macros.
189 * configure.target: New file.
190 * aclocal.m4: Regenerated.
192 * Makefile.in: Ditto.
193 * libio/Makefile.in: Ditto.
194 * libmath/Makefile.in: Ditto.
195 * libsupc++/Makefile.in: Ditto.
196 * src/Makefile.in: Ditto.
198 * mkcheck.in: Use libtool. Split things out into functions.
200 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
202 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
203 * Makefile.in: Regenerate.
205 2000-11-12 David Edelsohn <edelsohn@gnu.org>
207 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
208 libiconv.a providing wchar_t support functions.
209 * aclocal.m4: Regenerate.
211 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
213 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
214 * aclocal.m4, configure: Rebuilt.
216 2000-11-12 Brent Verner <brent@rcfile.org>
218 * include/c_std/bits/wrap_langinfo.h: New file.
219 * include/c_std/langinfo.h: New file.
220 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
221 CODESET from _C_legacy::CODESET if using shadow headers.
222 * src/Makefile.am: Add new files.
223 * src/Makefile.in: Regenerate.
225 2000-11-12 Mark Mitchell <mark@codesourcery.com>
227 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
228 of `abs (double)' to ...
231 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
234 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
236 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
237 when _GLIBCPP_USE_WCHAR_T is not defined.
239 2000-11-10 Phil Edwards <pme@sources.redhat.com>
241 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
242 courtesy of Alexandre Oliva, to handle const/non-const signatures.
243 (codecvt::do_out): Use.
244 (codecvt::do_in): And here.
246 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
248 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
250 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
252 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
253 _Count_ones<>::_S_count): Turn into enumerators.
255 2000-11-08 Mark Mitchell <mark@codesourcery.com>
257 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
258 (codecvt::do_in): Likewise.
260 2000-11-08 David Edelsohn <edelsohn@gnu.org>
262 * src/locale-inst.cc: Add explicit instantiations of
263 _M_fill_insert and fill_n<..., unsigned long,...> .
265 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
267 * include/bits/std_complex.h (conj): Undo double removal.
269 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
271 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
272 alternatives for CXX_libstdcxx, now that it is useless.
273 * aclocal.m4, configure: Rebuilt.
275 2000-11-04 Mark Mitchell <mark@codesourcery.com>
277 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
278 * aclocal.m4: Regenerated.
279 * configure: Likewise.
281 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
283 * aclocal.m4: Regenerated.
284 * configure: Likewise.
286 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
288 * acinclude.m4 (CXX): Prevent it from being cached.
289 * aclocal.m4, configure, */Makefile.in: Rebuilt.
291 2000-11-03 David Edelsohn <dje@watson.ibm.com>
293 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
294 flag based on multilib definition of $CXX.
295 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
296 based on multilib definition of $CXX.
297 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
299 2000-11-03 Phil Edwards <pme@sources.redhat.com>
301 * acinclude.m4: Cleanups.
302 * aclocal.m4: Regenerated.
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 * docs/install.html: Removal of EGCS.
311 * docs/23_containers/wrappers_h.txt: Likewise.
312 * docs/faq/index.html: Likewise.
313 * docs/faq/index.txt: Regenerated.
314 * docs/thanks.html: More people.
316 2000-11-03 David Edelsohn <edelsohn@gnu.org>
318 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
319 with function name defined in this file.
321 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
323 * include/c/bits/std_cctype.h: Undefine macros that conflict
324 with function names defined in this file.
325 * include/c/bits/std_cstdio.h: Likewise.
327 2000-11-02 Mark Mitchell <mark@codesourcery.com>
329 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
331 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
333 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
334 * aclocal.m4: Regenerated.
335 * Makefile.in: Regenerated.
336 * libio/Makefile.in: Likewise.
337 * libmath/Makefile.in: Likewise.
338 * libsupc++/Makefile.in: Likewise.
339 * src/Makefile.in: Likewise.
340 * configure: Likewise.
341 * config/os/irix/bits/ctype_base.h: Revise.
342 * config/os/irix/bits/ctype_inline.h: Likewise.
343 * config/os/irix/bits/ctype_noninline.h: Likewise.
345 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
346 if not _GLIBCPP_USE_WCHAR_T.
347 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
348 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
349 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
351 * mkcheck.in: Fix echoing of -rpath option.
353 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
355 (__exchange_aand_add): Adjust accordingly.
356 (__atomic_add): Likewise.
358 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
360 * src/locale.cc: Match orderings for static members.
361 * include/bits/fstream.tcc: Fixes for cin.
363 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
365 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
366 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
367 (cos, cosh, sin, sinh): Define primary templates.
369 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
372 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
374 * bits/basic_file.h (_M_open_mode): Change signature, move
376 * config/c_io_libio.cc: ...here.
377 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
378 * aclocal.m4: Regenerate.
379 * configure: Regenerate.
380 * config/c_io_stdio.h: New file.
381 * config/c_io_stdio.cc: New file.
382 * docs/configopts.html: Modify documentation.
384 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
386 * include/c/bits/std_cwctype.h: Add more undefs.
388 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
390 * include/bits/std_complex.h (norm): Forward declare.
391 (complex<>): Comment out friend declaration of conj<>.
392 (conj<>): Comment out specialization.
393 (exp, log, log10): Define primary templates.
395 * src/complex.cc (exp<>, log<>, log10<>): Comment out
398 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
400 * include/bits/std_complex.h: Remove duplicate definition of conj.
401 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
403 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
405 * src/complex.cc (arg, polar): Comment out specializations.
407 * include/bits/std_complex.h (complex<>): Remove arg<> friend
409 (arg): Define primary template.
413 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
415 * include/c/bits/std_cwctype.h: #undef possible function-like
416 macro definitions of iswxxx functions, which might be brought in
417 by <wctype.h>. Those macro definitions prevent build on some
420 * include/bits/std_complex.h (complex<>): Comment out friend
421 declarations of abs<> specializations.
422 (abs): Define primary template.
424 * src/complex.cc (abs): Comment out specialization definition.
426 2000-10-30 Phil Edwards <pme@sources.redhat.com>
428 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
429 the default of 2 to 3.
430 * configure.in: Fix minor typos. SUBST the values of enable_shared
431 and enable_static so that mkcheck will be aware of them. Put the
432 test for gconv.h in with all the other header tests.
433 * aclocal.m4: Regenerate.
435 * Makefile.in: Ditto.
436 * libio/Makefile.in: Ditto.
437 * libmath/Makefile.in: Ditto.
438 * libsupc++/Makefile.in: Ditto.
439 * src/Makefile.in: Ditto.
441 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
442 _G_USING_THUNKS to 0.
444 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
446 * src/complex_io.cc : Remove ancient defines.
447 * config/os/gnu-linux/bits/os_defines.h: Add defines.
448 * libsupc++/tinfo2.cc: Change to cstddef.
450 * include/bits/codecvt.h: Add include of c++config.h, so that
451 __USE_GNU gets defined. (Important for alpha.)
453 * include/c/bits/std_cwctype.h: Same.
454 * include/c/bits/std_ctime.h: And here.
455 * include/c/bits/std_cstdarg.h: Same.
456 * include/c/bits/std_csignal.h: Same.
457 * include/c/bits/std_csetjmp.h: Same.
458 * include/c/bits/std_clocale.h: Same.
459 * include/c/bits/std_climits.h: Touch.
460 * include/c/bits/std_cfloat.h: Same.
461 * include/c/bits/std_cerrno.h: Same.
462 * include/c/bits/std_cwchar.h: Same.
463 * include/c/bits/std_cassert.h: Same.
464 * include/c/bits/std_cctype.h: Same.
465 * include/c/bits/std_cstddef.h: And here.
466 * include/c/bits/std_cstdlib.h: And here.
467 * include/c/bits/std_cstdio.h: Same.
468 * include/c/bits/std_cstring.h: Add names to namespace std::.
470 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
472 (_ISOC99_SOURCE): And this one....
473 * config/os/gnu-linux/bits/os_defines.h: ...to here.
475 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
476 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
478 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
479 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
481 2000-10-30 Steven King <sxking@uswest.net>
483 * include/bits/codecvt.h: Add cast.
484 * include/c_std/stdio.h: Re-add printf using declaration.
485 * include/c_std/bits/std_cstdio.h: Same
486 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
487 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
488 * testsuite/22_locale/facet.cc: Same.
489 * testsuite/22_locale/global_templates.cc: Same.
490 * testsuite/22_locale/operators.cc: Same.
491 * testsuite/22_locale/static_members.cc: Same.
492 * testsuite/26_numerics/c_math.cc: Same.
493 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
494 * testsuite/27_io/fpos.cc: Same.
495 * testsuite/27_io/istream_extractor_arith.cc: Same.
496 * testsuite/27_io/istream_unformatted.cc: Same.
497 * testsuite/27_io/ostream_inserter_arith.cc: Same.
498 * testsuite/27_io/streambuf.cc: Same.
500 2000-10-30 Mark Mitchell <mark@codesourcery.com>
502 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
503 for cabs, cabsf, and cabsl, too.
504 * aclocal.m4: Regenerated.
505 * config.h.in: Likewise.
506 * configure: Likewise.
507 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
509 * libmath/Makefile.in: Regenerated.
510 * libmath/complex-stub.h (cabs): Don't declare if the system
511 already provides this function.
514 * src/complex.cc (abs): Directly use `hypot' since we can't call
517 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
519 * acinclude.m4: Update URL on egcs.cygnus.com to point to
521 * aclocal.m4, configure: Regenerate.
522 * src/gen-num-limits.cc, include/bits/c++config,
523 include/bits/stl_config.h: Remove EGCS references.
525 2000-10-29 Mark Mitchell <mark@codesourcery.com>
527 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
528 building shared executables.
530 2000-10-29 Mark Harig <mharig@landmark.com>
532 * src/Makefile.am: Change logic for include dir options.
533 * src/Makefile.in: Regenerate.
534 * libsupc++/Makefile.am: Ditto.
535 * libsupc++/Makefile.in: Regenerate.
537 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
539 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
540 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
541 with libgcj build issues and improve consistency with the source
542 directory's include directory setup.
543 * configure: Regenerate.
544 * acinclude.m4: Same here.
545 * aclocal.m4: Regenerate.
546 * mknumeric_limits (OUT_H): Also change paths here.
547 * mkcheck.in (C_DIR): And here.
548 * mkc++config (OUT_H): And here.
549 * libmath/Makefile.am (INCLUDES): And here.
550 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
551 * libio/Makefile.am: Ditto.
552 * libsupc++/Makefile.am (INCLUDES): Ditto.
554 2000-10-29 Mark Mitchell <mark@codesourcery.com>
556 * config/c_io_libio.cc (basic_file<char>::__basic_file):
557 Don't pass a NULL _IO_wide_data to _IO_no_init when
558 _GLIBCPP_USE_WCHAR_T is not defined.
559 * config/c_io_libio.h (_IO_codecvt): Don't declare when
560 _GLIBCPP_USE_WCHAR_T is not defined.
561 * config/c_io_libio_codecvt.c: Don't compile it
562 when _GLIBCPP_USE_WCHAR_T is not defined.
563 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
564 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
566 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
567 include it when _GLIBCPP_USE_WCHAR_T is not defined.
568 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
569 when _GLIBCPP_USE_WCHAR_T is not defined.
570 * src/localename.cc (locale::_Impl::_M_construct_collate):
571 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
573 (locale::_Impl::_M_construct_ctype): Likewise.
574 (locale::_Impl::_M_construct_monetary): Likewise.
575 (locale::_Impl::_M_construct_numeric): Likewise.
576 (locale::_Impl::_M_construct_time): Likewise.
577 (locale::_Impl::_M_construct_messages): Likewise.
579 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
580 * aclocal.m4: Regenerated.
581 * configure: Likewise.
582 * config/os/irix/bits/atomicity.h: New file.
583 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
585 (__off64_t): Likewise.
586 (__ssize_t): Likewise.
587 (_G_USING_THUNKS): Define to zero.
589 2000-10-28 Mark Mitchell <mark@codesourcery.com>
591 * src/string-inst.cc (basic_string<C>::npos): Explicitly
594 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
596 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
598 Clean up naming, consistency in "C" library autoconf testing.
599 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
600 GLIBCPP_CHECK_CTYPE_SUPPORT.
601 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
602 * aclocal.m4: Regenerate.
603 * configure.in: And here.
604 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
605 * configure: Regenerate.
607 2000-10-26 David Edelsohn <edelsohn@gnu.org>
609 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
610 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
612 2000-10-26 Phil Edwards <pme@sources.redhat.com>
613 David Edelsohn <dje@watson.ibm.com>
615 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
616 --gc-sections stuff entirely to avoid misleading people.
617 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
618 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
620 * libio/libio.h: Simplify, make fewer assumptions. Define those
621 macros which must be defined.
622 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
625 2000-10-26 Mark Mitchell <mark@codesourcery.com>
627 * include/backward/streambuf.h: New file.
629 2000-10-26 David Edelsohn <dje@watson.ibm.com>
631 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
632 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
633 * config/os/aix/bits/os_defines.h: Add AIX defines.
635 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
637 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
638 * aclocal.m4: Regenerate.
639 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
640 * configure: Regenerate.
641 * docs/configopts.html: Remove.
642 * src/complexl.cc: Revert.
643 * config.h.in: Remove.
644 * include/c_std/bits/std_cmath.h: Remove guards based on
645 _GLIBCPP_USE_LONG_DOUBLE.
646 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
647 with respect to long double signatures.
649 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
651 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
652 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
653 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
654 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
655 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
657 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
659 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
660 Use __valarray_copy_construct only where appropriate.
662 2000-10-25 Mark Mitchell <mark@codesourcery.com>
664 * Makefile.in (check): Don't make mkcheck executable.
665 (check-install): Likewise.
666 * configure.in (AC_OUTPUT): Make mkcheck executable.
667 * mkcheck.in (top_srcdir): New variable.
668 (INC_PATH): Set the path to the backward and ext directories
671 2000-10-25 Phil Edwards <pme@sources.redhat.com>
673 * configure.in: Check for gconv.h.
674 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
676 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
677 * libio/_G_config.h: And here.
678 * libio/iofwide.c: And here.
679 * libio/libio.h: And here.
681 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
682 exception specification to match declaration.
683 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
685 2000-10-24 Mark Harig <mharig@landmark.com>
687 * docs/configopts.html: Added documentation for the
688 "--enable-version-specific-runtime-libs" and
689 "--with-gxx-include-dir" configuration switches.
691 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
693 * include/bits/stl_pair.h (make_pair): Add LWG solution.
695 * testsuite/21_strings/compare.cc (test01): Inject namespace std
698 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
701 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
703 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
705 2000-10-24 Phil Edwards <pme@sources.redhat.com>
707 * acconfig.h: List _GLIBCPP_USE_THREADS.
708 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
709 correction, etc. Add comments about following *real* changes
711 (GLIBCPP_ENABLE_C_MBCHAR): New test...
712 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
713 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
715 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
716 macro _GLIBCPP_USE_THREADS in c++config.h.
717 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
718 this is used in both makefiles and shell scripts (mkcheck).
719 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
721 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
722 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
723 something harmless, like int.
725 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
726 add comment/instructions.
727 * config/os/bsd/bits/os_defines.h: Ditto.
728 * config/os/generic/bits/os_defines.h: Ditto.
729 * config/os/gnu-linux/bits/os_defines.h: Ditto.
730 * config/os/irix/bits/os_defines.h: Ditto.
731 * config/os/newlib/bits/os_defines.h: Ditto.
732 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
733 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
735 * mkcheck.in: Limit the available heap size for testsuite
736 binaries, initially at 2MB.
738 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
740 * testsuite/21_strings/compare.cc (test01): Add using declarations.
742 * include/c_std/bits/std_cerrno.h: And here.
743 * include/c_std/bits/std_cassert.h: Tweaks.
745 * mkcheck.in: Simplify.
747 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
748 (GLIBCPP_ENABLE_LONG_LONG): Same.
749 * aclocal.m4: Regenerate.
751 * src/Makefile.am (c_shadow_headers): Add features.h,
752 bits/wrap_features.h.
753 * src/Makefile.in: Regenerate.
754 * include/c_std/features.h: New file.
755 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
756 file. Need to have c++config.h included before this file so
757 _ISOC99_SOURCE around.
759 * include/c_std/sys/cdefs.h: Hack.
760 * include/c_std/stdlib.h: Same, use c++config.h.
761 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
763 * include/c_std/bits/std_cassert.h: Fix.
764 * include/c_std/bits/std_cerrno.h: Make consistent.
766 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
767 declaration from ::_C_legacy to _C_legacy.
769 * include/c_std/bits/std_cstdio.h: same with printf.
770 * include/c_std/stdio.h: And here.
772 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
773 * include/c_std/stdlib.h: Same here.
775 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
777 * testsuite/21_strings/compare.cc (test01): Add using declarations.
779 * include/c_std/bits/std_cerrno.h: And here.
780 * include/c_std/bits/std_cassert.h: Tweaks.
782 * mkcheck.in: Simplify.
784 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
785 (GLIBCPP_ENABLE_LONG_LONG): Same.
786 * aclocal.m4: Regenerate.
788 * src/Makefile.am (c_shadow_headers): Add features.h,
789 bits/wrap_features.h.
790 * src/Makefile.in: Regenerate.
791 * include/c_std/features.h: New file.
792 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
793 file. Need to have c++config.h included before this file so
794 _ISOC99_SOURCE around.
796 * include/c_std/sys/cdefs.h: Hack.
797 * include/c_std/stdlib.h: Same, use c++config.h.
798 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
800 * include/c_std/bits/std_cassert.h: Fix.
801 * include/c_std/bits/std_cerrno.h: Make consistent.
803 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
804 declaration from ::_C_legacy to _C_legacy.
806 * include/c_std/bits/std_cstdio.h: same with printf.
807 * include/c_std/stdio.h: And here.
809 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
810 * include/c_std/stdlib.h: Same here.
812 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
814 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
815 * aclocal.m4: Regenerate.
816 * configure.in: Use it.
817 * configure: Regenerate.
818 * src/complexl.cc: Fixup.
819 * include/c_std/bits/std_cmath.h: Fixup.
820 * include/c/bits/std_cmath.h: Fixup.
821 * docs/configopts.html: Add docs.
823 * docs/links.html: Add links to defects list, standards FAQ.
825 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
826 with string creation that allocate huge ammounts of memory.
828 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
831 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
833 * libsupc++/exception.cc: Use namespace std.
834 * libsupc++/new: DITTO.
835 * libsupc++/new_op.cc: DITTO.
836 * libsupc++/new_opnt.cc: DITTO.
837 * libsupc++/new_opv.cc: DITTO.
838 * libsupc++/new_opvnt.cc: DITTO.
839 * libsupc++/tinfo.cc: DITTO.
840 * libsupc++/tinfo.h: DITTO.
841 * libsupc++/vec.cc: DITTO.
842 * libsupc++/Makefile.am: Blank lines removal.
844 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
846 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
847 docs/17_intro/howto.html, docs/18_support/howto.html,
848 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
849 docs/21_strings/howto.html, docs/22_locale/howto.html,
850 docs/23_containers/howto.html, docs/24_iterators/howto.html,
851 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
852 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
853 Remove many EGCS references; use current absolute URLs on
854 gcc.gnu.org or sources.redhat.com for messages in list archives.
855 * docs/faq/index.txt: Regenerate.
857 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
859 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
860 creation of state_type for unicode_codecvt to take into account
861 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
862 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
863 * include/bits/codecvt.h (__enc_traits): Add support for encodings
864 that need a byte order marker. Needed for correct unicode support.
866 * src/locale.cc: Remove explicit qualification std::.
867 (locale::locale(const char* __name)): Revert, as named locale
868 support not finished.
869 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
870 size_t __refs, bool __has_name = false, string __name): Move
872 * include/bits/localefwd.h: Here.
874 2000-10-18 Chip Salzenberg <chip@valinux.com>
876 * libio/libio.h (_IO_USER_LOCK): Define.
878 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
880 * libsupc++/Makefile.am (exception): Change exception.cc to
881 exception_support.cc.
882 (CXXLINK): Remove bogus --tag CC.
883 * libsupc++/Makefile.in: Regenerate.
884 * libsupc++/exception.cc: Move to...
885 * libsupc++/exception_support.cc: ...here.
887 * src/Makefile.am: Remove bogus --tag CC.
888 * src/Makefile.in: Regenerate.
890 * include/bits/locale_facets.tcc (use_facet): Simplify.
891 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
892 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
893 (use_facet<ctype<wchar_t> >): Same.
894 * src/locale-inst.cc: Remove explicit instantiation.
895 * src/locale.cc: Correct signature here too.
896 (_Bad_use_facet::what()): Correct error string.
897 * include/bits/localefwd.h: Correct comment.
899 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
901 2000-10-17 Martin Buchholz <martin@xemacs.org>
903 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
904 * testsuite/27_io/ostream_seeks.cc: Similarly.
906 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
908 via Alexandre Oliva <aoliva@redhat.com>
909 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
910 * libsupc++/Makefile.in: Regenerate.
911 * src/Makefile.am: Duplicate code.
912 * src/Makefile.in: Regenerate.
914 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
915 * aclocal.m4: Regenerate.
916 * configure.in: And here.
917 * configure: Regenerate.
919 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
920 test for SECTION_LDFLAGS.
922 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
924 Shadow headers would work if libsupc++ was strict about namespaces.
925 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
926 * include/c_std/assert.h: Add guards.
927 * include/c_std/bits/std_climits.h: Correct typo.
928 * include/c_std/ctype.h: Remove #error.
930 * libio/libioP.h: Break up extern "C" bits around includes.
931 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
933 * libio/libioP.h: Same here.
935 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
937 * include/c_std/unistd.h: Define some types only when defined in
938 the original unistd.h.
939 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
940 definition of size_t, ptrdiff_t and NULL.
941 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
943 2000-10-15 Phil Edwards <pme@sources.redhat.com>
945 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
947 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
948 Mark Harig <markh@landmark.com>
950 * src/Makefile.am (toolexeclibdir): Add support fo
951 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
952 * src/Makefile.in: Regenerate.
953 * libsupc++/Makefile.am: Same.
954 (glibcppinstalldir): Adjust.
955 * libsupc++/Makefile.in: Regenerate.
956 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
957 * Makefile.in: Regenerate.
958 * docs/configopts.html: Add descriptions of flags.
960 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
962 * libsupc++/Makefile.am: Use it.
963 * libio/Makefile.am: Use it.
964 * libmath/Makefile.am: Use it.
965 * src/Makefile.am: Use it.
966 * Makefile.am (AM_MAKEFLAGS): Remove includes.
968 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
969 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
970 * configure.in: Use it.
972 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
974 * src/Makefile.am (CXXCOMPILE): Remove.
975 * src/Makefile.in: Regenerate.
976 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
977 * libsupc++/Makefile.in: Regenerate.
979 * include/c_std/*: Merge with shadow.
980 * include/c_std/bits/*: Same.
982 * shadow: Remove directory.
983 * shadow/*: De-populate.
985 2000-10-11 Phil Edwards <pme@sources.redhat.com>
987 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
988 exception-throwing code for linker test.
989 * aclocal.m4: Regenerate.
990 * configure: Regenerate.
992 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
994 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
995 * libsupc++/include: Remove
996 * libsupc++/include/*: Move to ...
998 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
999 (glibcppinstalldir): New.
1001 * src/Makefile.am (c_base_headers): New.
1002 (c_shadow_headers): New
1004 (myinstallheaders): Correct install issues.
1005 * src/Makefile.in: Regenerate.
1007 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1008 * Makefile.in: Regenerate.
1009 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1010 * aclocal.m4: Regenerate.
1011 * mkcheck.in (SRC_DIR): Use it.
1013 * include/bits/std_stdexcept.h: And here.
1014 * include/bits/std_ios.h: Change std_exception.h to exception.
1015 * src/locale.cc: And here.
1016 * src/locale-inst.cc: And here.
1018 * include/bits/valarray_array.h: And here.
1019 * include/bits/stl_alloc.h: And here.
1020 * include/bits/stl_algobase.h: And here.
1021 * include/bits/pthread_allocimpl.h: And here.
1022 * include/bits/stl_construct.h: Change to std_new.h to new.
1024 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1026 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1027 (headers): Remove duplicated headers.
1028 (std_headers): And here.
1029 * src/Makefile.in: Regenerate.
1030 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1031 * libsupc++/Makefile.in: Regenerate.
1032 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1033 (AM_MAKEFLAGS): And here.
1034 * Makefile.in: Regenerate.
1035 * include/bits/std_typeinfo.h: Remove.
1036 * include/bits/std_new.h: Remove
1037 * include/bits/std_exception.h: Remove.
1039 * std/typeinfo: Remove.
1040 * std/exception: Remove.
1042 * libio/_G_config.h (__need_ptrdiff_t): Add.
1044 * libsupc++/include/new: Change stddef.h to cstddef.
1045 * libsupc++/tinfo.h: Change limits.h to climits.
1046 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1047 renders the file uncompilable. Add copyright.
1049 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1050 namespace, as it is a fundamental type.
1052 2000-10-09 Richard Henderson <rth@cygnus.com>
1054 * libsupc++/pure.cc: New file.
1055 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1056 (sources): Add pure.cc.
1057 * libsupc++/Makefile.in: Regenerate.
1059 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1061 * docs/configopts.html: Edit.
1063 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1064 * libio/Makefile.in: Regenerate.
1065 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1066 * libmath/Makefile.in: Regenerate.
1067 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1068 * libsupc++/Makefile.in: Regenerate.
1070 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1071 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1072 CSHADOW_INCLUDES up here.
1073 * Makefile.in: Regenerate.
1074 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1076 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1077 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1078 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1079 * src/Makefile.in: Regenerate.
1081 * include/c: New directory.
1082 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1083 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1084 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1085 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1086 std_cwchar.h, std_cwctype.h): Add, moving from...
1087 * include/bits: ...here.
1088 * include/c_std: New directory.
1089 * include/c_std/bits/*: Populate from...
1090 * shadow: ...here. Remove directory.
1092 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1094 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1095 (INCLUDES): Add glibcpp_includedir.
1096 * libsupc++/Makefile.in: Regenerate.
1098 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1099 * aclocal.m4: Regenerate.
1100 * config/os/*/bits/os_defintes: Adjust copyright dates.
1102 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1104 * include/bits/c++config: Include <bits/os_defines.h>
1105 * config/os/aix/bits/os_defines.h: New file.
1106 * config/os/bsd/bits/os_defines.h: Ditto.
1107 * config/os/generic/bits/os_defines.h: Ditto.
1108 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1109 * config/os/irix/bits/os_defines.h: Ditto.
1110 * config/os/newlib/bits/os_defines.h: Ditto.
1111 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1112 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1113 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1115 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1117 * config/os/aix/bits/atomicity.h: New file.
1119 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1121 * acinclude.m4: Remove CPU_FLAGS
1122 * libio/Makefile.am: Here too.
1123 * Makefile.am: Here too.
1125 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1126 (INCLUDES): Remove CONFIG_INCLUDES.
1127 (cpu_headers): Remove.
1128 (myinstallheaders): Remove cpu_headers.
1129 (generated_headers): Rename to build_headers.
1130 (build_headers): Add atomicity.h, ctype_base.h,
1131 ctype_specializations.h.
1133 * config/os: New directory.
1134 * config/aix: Move to...
1135 * config/bsd: Move to...
1136 * config/generic: Move to...
1137 * config/gnu-linux: Move to...
1138 * config/irix: Move to...
1139 * config/newlib: Move to...
1140 * config/solaris: Move to...
1141 * config/os/*: Here.
1143 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1145 * acinclude.m4: Remove CPU_FLAGS
1146 * libio/Makefile.am: Here too.
1147 * Makefile.am: Here too.
1149 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1150 (INCLUDES): Remove CONFIG_INCLUDES.
1151 (cpu_headers): Remove.
1152 (myinstallheaders): Remove cpu_headers.
1153 (generated_headers): Rename to build_headers.
1154 (build_headers): Add atomicity.h, ctype_base.h,
1155 ctype_specializations.h.
1157 * config/os: New directory.
1158 * config/aix: Move to...
1159 * config/bsd: Move to...
1160 * config/generic: Move to...
1161 * config/gnu-linux: Move to...
1162 * config/irix: Move to...
1163 * config/newlib: Move to...
1164 * config/solaris: Move to...
1165 * config/os/*: Here.
1167 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1169 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1170 CONFIG_CXXFLAGS from here, and move to...
1171 * src/Makefile.in: Regenerate.
1172 * Makefile.am: ... here. Clean.
1173 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1174 (WARN_CXXFLAGS): Same.
1175 (CONFIG_CXXFLAGS): Same.
1176 * Makefile.in: Regenerate.
1177 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1178 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1179 * libsupc++/Makefile.in: Regenerate.
1181 Change math to libmath.
1182 * math: Move to libmath, delete.
1183 * libmath: New directory.
1184 * libmath/*: Populate.
1185 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1186 (libstdc___la_LIBADD): Same.
1187 * src/Makefile.in: Regenerate.
1188 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1189 * configure: Regenerate.
1190 * Makefile.am (SUBDIRS): Add libmath.
1191 * Makefile.in: Regenerate.
1192 * README (file): Change name.
1194 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1195 Richard Henderson <rth@cygnus.com>
1196 Alexandre Oliva <aoliva@redhat.com>
1198 * libsupc++: New directory.
1199 * libsupc++/*: Populate.
1200 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1201 eh-common.h, gansidecl.h.
1202 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1203 * configure: Regenerate.
1204 * Makefile.am (SUBDIRS): Add libsupc++.
1205 * Makefile.in: Regenerate.
1206 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1207 * src/Makefile.in: Regenerate.
1208 * libio/Makefile.am: Remove extraneous, confusing bits.
1209 * libio/Makefile.in: Regenerate.
1211 2000-10-05 Brent Verner <brent@rcfile.org>
1213 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1214 test for _M_gcount < in_avail(), as in_avail() only reports info
1215 for current buffer, causing method to return at end of buffer.
1216 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1217 * testsuite/27_io/istream_unformatted-3.txt: New file.
1218 * testsuite/27_io/istream_unformatted-3.tst: New file.
1220 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1222 * README (file): Adjust directory structures.
1223 * mkcheck.in (INC_PATH): Adjust for header changes.
1225 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1227 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1228 for public relations purposes.
1229 * aclocal.m4: Regenerated.
1230 * configure: Regenerated.
1232 * docs/ext/howto.html: Additional explanation about hashing.
1234 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1236 * include: New directory.
1237 * include/backward: New directory.
1238 * include/bits: New directory.
1239 * include/ext: New directory.
1240 * include/std: New directory.
1241 * include/*/*: Populate.
1243 * backwards: Move to include/backwards, delete.
1244 * bits: Move to include/bits, delete.
1245 * ext: Move to include/ext, delete.
1246 * std: Move to include/std, delete.
1248 * src/complex.cc: Adjust include of mathconf.
1250 * mkc++config (BASE_H): Add include.
1252 * src/Makefile.am: Support for topleve sources include directory.
1253 (INCLUDES): Add LIBMATH_INCLUDE.
1254 * src/Makefile.in: Regenerate.
1255 * math/Makefile.am (INCLUDES): Append /include.
1256 * math/Makefile.in: Regenerate.
1257 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1258 * libio/Makefile.in: Regenerate.
1260 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1262 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1264 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1266 * docs/22_locale/howto.html: Add link to proto-documentation on
1268 * docs/documentation.html: Rename links for clarity.
1270 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1271 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1272 * src/Makefile.in: Regenerate.
1274 2000-10-02 Steven King <sxking@uswest.net>
1276 * mkcshadow: Fixed script to output proper include guard.
1277 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1278 * libio/_G_config.h: Hacked to make work with shadow heraders.
1279 * shadow/*: Hacked to make shadow headers work.
1281 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1283 Self-compile with shadow headers.
1284 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1285 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1286 it becomes the default way the library is built.
1287 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1288 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1289 * config/gnu-linux/ctype.cc (ctype): Use it.
1291 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1293 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1294 memset. This should not be necessary, but an ambiguous overload
1297 * shadow/bits/std_cwchar.h: Fix.
1298 * shadow/wchar.h: Fix.
1300 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1301 enums into namespace std:: for ctype_base enum. Other OS types
1302 will have to do this as well.
1303 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1304 namespace std, in particular __ctype_toupper, __ctype_tolower,
1307 * shadow/iolibio.h: New file.
1308 * shadow/bits/wrap_iolibio.h: New file.
1309 * shadow/libioP.h: New file.
1310 * shadow/bits/wrap_libioP.h: New file.
1311 * shadow/bits/wrap_fcntl.h: New file.
1312 * shadow/fcntl.h: New file.
1313 * shadow/iconv.h: New file. Inject iconv names into the global
1314 namespace, unmangled for the moment.
1315 * shadow/bits/wrap_iconv.h: New file.
1316 * shadow/unistd.h: Remove. Useless.
1317 * shadow/bits/wrap_unistd.h: Remove.
1319 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1320 * src/Makefile.in: Regenerate.
1322 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1324 * shadow/libio.h: Fix.
1325 * shadow/bits/wrap_libio.h: Fix.
1327 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1328 which will not compile.
1329 * shadow/bits/std_ctime.h: Same.
1331 * shadow/pthread.h: New file. Put pthreads types and functions
1332 into global scope, which is probably not the correct long-term
1333 solution but has to be done at the moment before libio wrappers
1334 can even be started.
1335 * shadow/bits/wrap_pthread.h: New file.
1337 * bits/std_ios.h: Formatting tweak.
1338 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1340 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1341 tests for compiler features.
1342 * aclocal.m4: Regenerate.
1343 * configure: Regenerate.
1345 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1347 * libio/libioP.h: Comment out fcntl.h include.
1349 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1351 * bits/c++config: Define _ISOC99_SOURCE.
1353 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1354 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1355 * aclocal.m4: Regenerate.
1356 * configure: Regenerate.
1357 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1358 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1359 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1360 std or shadow directories.
1361 (LTCXXCOMPILE): Same.
1362 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1363 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1364 * src/Makefile.in: Regenerate.
1366 * src/complex.cc (FCT): Change ::name to name.
1367 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1368 * src/complexf.cc (FCT): Same.
1370 * src/complexf.cc: Remove FCT define, as things are properly
1371 overloaded in the std namespace with the shadow headers.
1372 * src/complexl.cc: Same.
1373 * src/complex.cc: Same.
1375 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1377 * docs/documentation.html: Add link to...
1378 * docs/ext/howto.html: ...this. New dir/file, describing library
1379 extensions (both ours and SGI's).
1380 * docs/faq/index.html: Small updates.
1381 * docs/faq/index.txt: Regenerate.
1383 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1385 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1387 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1389 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1391 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1393 * src/localename.cc (locale::_Imp) : Remove typedefs.
1394 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1395 __f): Consistency check, call _Imp ctor with reference argument
1397 * bits/localefwd.h: Change _S_num_categories to
1398 _S_categories_num. Add new data member, _S_facets_num, which is
1399 the number of standard facets.
1401 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1403 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1405 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1407 * docs/thanks.html: More thanks.
1408 * docs/18_support/howto.html: Fix thinko.
1409 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1410 Redo the string transformation notes and link to...
1411 * docs/22_locale/howto.html: ...here.
1413 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1415 * src/locale-inst.cc: Add time_put_byname and
1416 time_get_byname instantiations.
1417 * bits/locale_facets.h: Correct default, private derivation to
1418 public derivation in _byname declarations.
1419 * src/locale.cc (locale::classic()): Simplify.
1420 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1421 const string& __name, category __cat, size_t __refs): Re-work for
1423 (_M_normalize_category_names): Remove.
1425 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1426 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1428 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1430 * bits/std_bitset.h (operator>>): Change to char_type.
1432 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1434 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1435 name setting. Add checks for NULL __name pointers. Remove calls to
1436 _S_initialize() as initial locale initialization can either be
1437 assumed, or needs to be made consistent throughout locale
1439 (locale::locale(const locale& __other, const char* __name,
1440 category __cat): Add checks for NULL name. Add checks for
1442 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1443 const string& __name, category __cat, size_t __refs)): Set correct
1444 name, has_name values.
1445 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1446 * docs/22_locale/locale.html: New file, more unfinished docs...
1448 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1450 * src/locale.cc (locale::name()): Implement.
1451 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1452 string __name = "*")): Change signature.
1453 (locale::classic): Initialize the "C" locale as a named locale.
1454 * bits/localefwd.h (locale): Change _M_num_references to
1455 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1457 * bits/localefwd.h: Tweaks.
1458 * src/localename.cc: Tweaks.
1459 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1462 * bits/basic_string.h: Consistency check, change _M_state ->
1465 2000-09-14 Brendan Kehoe <brendan@zen.org>
1467 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1470 * src/Makefile.an (headers): Also install backward/fstream.h.
1471 * src/Makefile.in: Regenerate.
1473 * bits/char_traits.h (char_traits<_CharT>::get_state,
1474 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1475 argument in by reference, not by value. Uglify to _S_get_state.
1476 (char_traits<*>::__eos): Uglify to _S_eos.
1477 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1478 Change __eos to _S_eos.
1480 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1482 * testsuite/22_locale/static_members.cc: New file.
1483 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1484 * src/locale.cc: Minor formatting tweaks.
1486 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1488 * testsuite/22_locale/global_templates.cc (test01): Add negative
1489 tests for use_facet.
1491 * bits/localefwd.h (locale::operator()): Minor tweaks.
1492 * bits/locale_facets.tcc (locale::operator()): Same.
1493 * testsuite/22_locale/operators.cc: New file.
1495 * testsuite/22_locale/facet.cc (output_iterator): Remove
1496 gnu_input_iterator, gnu_output_iterator.
1498 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1500 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1501 * aclocal.m4: Regenerate.
1502 * configure: Regenerate.
1504 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1505 snapshot release soon.
1506 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1507 is pretty much assumed.
1509 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1510 use_facet and has_facet.
1512 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1513 Modify/correct iconv signatures for glibc2.2.
1515 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1517 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1520 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1522 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1523 (locale): Make _Impl declaration public.
1525 2000-09-08 Felix Natter <fnatter@gmx.net>
1527 * docs/17_intro/porting-howto.html: New version.
1529 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1531 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1533 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1534 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1536 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1538 Add bits for --enable-maintainer-mode:
1539 - turns on enable_debug
1540 (doing "--enable-maint --disable-debug" will DTRT)
1541 - turns on -Werror, now off by default
1542 * acinclude.m4: Add bits.
1543 * aclocal.m4: Regenerate.
1544 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1545 * configure: Regenerate.
1547 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1549 * bits/std_cwctype.h: Remove yesterday's hacks.
1551 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1553 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1554 * testsuite/23_containers/set_operators.cc: New file. Should not
1556 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1558 2000-09-06 Richard Henderson <rth@cygnus.com>
1559 Benjamin Kosnik <bkoz@cygnus.com>
1561 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1562 * aclocal.m4: Regenerate.
1563 * configure: Regenerate.
1564 * config/cpu/ia64: New directory.
1565 * config/cpu/ia64/bits: New directory.
1566 * config/cpu/ia64/bits/atomicity.h: New file.
1568 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1570 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1571 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1573 * aclocal.m4: Regenerate.
1574 * configure: Regenerate.
1575 * */Makefile.in: Regenerate.
1577 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1578 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1580 * testsuite/23_containers/vector_element_access.cc: New file.
1581 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1583 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1585 * bits/string.tcc: Fix up more parameter names.
1587 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1589 * configure: Rebuilt with new libtool.m4.
1591 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1593 * src/locale-inst.cc: Remove pre-instantiation of unicode
1594 codecvt types. Now unnecessary, as locale header now correct.
1596 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1598 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1599 * src/locale.cc: Here.
1600 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1601 definition. Move specialization to ...
1602 * src/locale.cc: Here.
1603 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1604 * src/locale.cc: Here.
1605 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1606 * src/locale.cc: Here.
1608 * bits/std_locale.h: Note that locale_facets.tcc should be
1609 included here, for standards conformance. It may increase
1610 compile times though. For the time being, enable.
1611 * testsuite/22_locale/facet.cc: New file, some parts commented out
1614 * mkcheck.in: Append total time to test summary file.
1616 * bits/sbuf_iter.h : Formatting tweaks.
1618 Clean up static const data member definitions.
1619 * src/locale.cc: Add definitions for all missing locale,
1620 locale::_Imp, and locale::id static data members.
1621 (ctype<char>): Add table_size define.
1622 (money_base): Add _S_default_pattern, uglify.
1623 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1624 * bits/locale_facets.h: Tweaks.
1625 * bits/locale_facets.tcc: Tweaks.
1626 * bits/string.tcc: Add definition for npos.
1627 * bits/ios_base.h: Tweaks.
1628 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1630 * src/ios.cc: And here. Add _S_local_words definition.
1631 Add definitions for __ios_flags const static data.
1632 * src/codecvt.cc: Same for __enc_traits.
1633 * src/locale-inst.cc: Remove money_base data member definition
1636 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1638 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1640 * docs/22_locale/codecvt.html: Re-number.
1641 * docs/22_locale/howto.html: Add entry for ctype
1642 documentation. Add entry for Nathan's introduction to locales
1644 * docs/22_locale/ctype.html: New file. In progress...
1646 * docs/22_locale/codecvt.html: Formatting cleanups.
1647 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1649 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1651 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1652 tweaks for certain browsers.
1654 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1656 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1657 Add include for bits/std_cwctype.h, for wctype_t.
1658 * src/locale.cc (ctype<wchar_t>): Implement.
1659 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1660 typedef, instead name enum.
1661 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1662 * config/gnu-linux/ctype.cc: Tweak.
1663 * testsuite/22_locale/ctype.cc: Tweak.
1665 * bits/codecvt.h (__enc_traits): Uglify names.
1667 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1669 * docs/22_locale/codecvt.html: Add more bits, format.
1670 * bits/codecvt.h: Add copy ctor, rename types.
1671 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1673 * libio/iofwide.c: Tweak.
1675 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1677 * docs/configopts.html: Mention new options.
1678 * docs/install.html: Formatting changes for platform-specific
1679 pre-reqs, previously only Cygwin.
1680 * docs/mail.html: Fix new link.
1681 * docs/thanks.html: A couple more people.
1682 * docs/26_numerics/howto.html: Fix typo.
1684 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1686 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1687 * docs/22_locale/codecvt.html: New file. In progress.
1689 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1691 * acconfig.h: Revert.
1692 * acinclude.m4: Revert.
1693 * libio/_G_config.h: Revert.
1694 * libio/libio.h: Revert.
1696 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1698 * bits/codecvt.h: Tweaks.
1699 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1700 initial string literals for UCS4.
1702 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1704 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1705 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1706 definition as well, and some minor spelling/spacing fixes. If
1707 building libio, check for certain typedefs.
1708 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1709 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1710 will never be there.
1711 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1712 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1714 * configure.in: Update the cache a bit more often.
1716 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1718 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1720 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1721 __enc_traits> instantiations for has_facet and use_facet.
1722 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1723 testing two-byte unicode encodings converted to four-byte UCS4
1726 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1727 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1728 correct state/encoding information.
1730 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1731 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1733 Add checks for langinfo.h, nl_langinfo function call.
1734 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1736 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1738 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1739 ((unused)) to __attribute__ ((__unused__)).
1740 * config/cpu/arm/bits/atomicity.h: Same.
1741 * config/cpu/generic/bits/atomicity.h: Same.
1742 * config/cpu/i386/bits/atomicity.h: Same.
1743 * config/cpu/i486/bits/atomicity.h: Same.
1744 * config/cpu/powerpc/bits/atomicity.h: Same.
1745 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1746 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1748 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1750 * bits/basic_string.h: Fix up parameter names.
1752 2000-08-22 Brent Verner <brent@rcfile.org>
1754 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1756 * src/Makefile.in: Regenerate.
1758 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1760 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1761 up __enc_traits template so as to be marginally useful.
1762 * src/codecvt.cc: And here.
1763 * bits/char_traits: Tweak.
1764 * bits/locale_facets.h: Tweak.
1765 * bits/locale_facets.tcc: Tweak.
1766 * bits/localefwd.h: Tweak.
1767 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1768 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1769 * testsuite/22_locale/codecvt_char_char.cc: New file.
1770 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1772 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1774 * bits/std_cmath.h (std::abs): Overload for int and long.
1776 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1778 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1780 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1782 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1783 thinko. Diagnostic messages really need to be improved for
1784 template argument deduction.
1786 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1788 * bits/valarray_meta.h: Fix typos...
1790 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1792 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1793 _Expr<>::apply): Implement.
1795 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1797 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1799 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1802 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1804 * bits/localefwd.h (std::locale): Use explicit `class' specified
1805 when declaring friends.
1806 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1808 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1810 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1811 * src/Makefile.in: Regenerate.
1813 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1815 * bits/codecvt.h: New file.
1816 * src/codecvt.cc: New file.
1817 * bits/std_locale.h: Add include here.
1818 * src/Makefile.am (headers): Add codecvt.h
1819 (sources): Add codecvt.cc.
1820 * src/Makefile.in: Regenerate.
1821 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1822 __codecvt_abstract_base in an attempt to point some light this way...
1823 Move __enc_traits and codecvt bits to codecvt.h.
1824 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1825 explicit instantiation. Separate out codecvt instantations, simplify.
1826 * src/locale.cc: Move codecvt bits to codecvt.cc
1828 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1830 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1831 * src/Makefile.in: Regenerate.
1833 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1835 C/C++ io merge/sync.
1846 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1847 ((struct _IO_FILE_plus *) in ctors.
1848 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1849 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1850 * libio/cleanup.c: Remove.
1851 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1852 _IO_cleanup_registration_needed, even if not libc.
1854 * testsuite/27_io/stringstream.cc (test02): Fix.
1856 2000-08-14 Brent Verner <brent@rcfile.org>
1858 * testsuite/debug_assert.h: new file
1859 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1860 changed conditional #include <c?assert.?h?> to
1861 unconditional #include <debug_assert.h>
1862 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1863 for testsuite compile command.
1865 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1867 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1868 wofstream, filebuf, wfilebuf, fstream, wfstream.
1869 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1870 * bits/std_sstream.h: Same for stringstream and wstringstream.
1871 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1872 ostringstream, wostringstream.
1874 * testsuite/26_numerics/valarray.cc: Add test.
1876 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1878 * configure: Regenerate after change to ../libtool.m4.
1880 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1882 * bits/locale_facets.tcc: Formatting tweaks.
1883 * bits/locale_facets.h (__enc_traits): Start integrating this
1884 into codecvt, ctype. Formatting tweaks.
1886 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1888 Preliminary wchar_t implementation, with trivial encodings.
1889 * docs/configopts.html: Add bits about canonical configure option
1892 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1893 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1894 * testsuite/27_io/narrow_stream_objects.cc: New file.
1895 * testsuite/27_io/wide_stream_objects.cc: New file.
1897 * bits/fstream.tcc (underflow): Temporarily hack a solution
1898 together that writes from the external file to the internal
1899 buffers. This removes codecvt from the loop, and is incorrect.
1900 (_M_really_overflow): Same here.
1902 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1904 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1905 Ulrich Drepper <drepper@cygnus.com>
1907 * config/c_io_libio.h: Tweak.
1908 * config/c_io_libio_codecvt.c: New file.
1909 * libio/Makefile.am: Add c_codecvt.c.
1910 * libio/Makefile.in: Regenerate.
1911 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1912 stream is not orientated.
1914 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1915 encoding gets fleshed out.
1917 * bits/basic_file.h: Add specialization declarations.
1918 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1920 * config/c_io_libio.h: Add __c_wfile_type.
1921 * bits/basic_file.h: Add _M_wfile.
1923 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1924 streams without setting the orientation of the underlying FILE to
1925 either wide or narrow.
1926 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1928 2000-08-07 Felix Natter <fnatter@gmx.net>
1930 * docs/17_intro/porting-howto.html: New version.
1932 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1934 * bits/locale_facets.h (ctype::ctype): Don't name unused
1937 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1939 * docs/install.html: Edit bits about requiring a special version
1942 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1944 * libio/fileops.cc: Update to current glibc sources.
1945 * libio/genops.c: Same.
1946 * libio/iofwide.c: Same.
1947 * libio/libio.h: Same.
1948 * libio/libioP.h: Same.
1949 * libio/wfiledoalloc.c: Same.
1950 * libio/wgenops.c: Same.
1952 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1954 * acinclude.m4: Include ../libtool.m4.
1955 * aclocal.m4, configure: Rebuilt.
1957 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1959 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1960 before trying to use any of its options.
1961 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1962 * aclocal.m4: Regenerate.
1963 * configure.in: Having found GNU make, name it.
1964 * configure: Regenerate.
1965 * docs/install.html: Mention possible problems with caching.
1966 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1967 * src/Makefile.in: Regenerate.
1968 * libio/Makefile.in: Regenerate.
1969 * math/Makefile.in: Regenerate.
1970 * Makefile.in: Regenerate.
1972 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1974 * src/misc-inst.cc (std): Remove instantiations.
1976 * acinclude.m4: Add forward-looking bits for autoconf.
1977 * aclocal.m4: Regenerate.
1979 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1981 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1983 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1984 it back for current versions of maintainer-tools...
1985 * acinclude.m4: Some cleanups...
1986 * aclocal: Regenerated.
1987 * configure: Regenerated.
1989 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1990 optimizing/adapting the hash table using GNU ld.
1991 * src/Makefile.in: Regenerate.
1993 2000-07-24 H.J. Lu <hjl@gnu.org>
1995 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1996 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1997 files don't include private libio header files needed by
1999 * src/Makefile.in: Rebuild.
2001 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2003 * bits/std_fstream.h: Parameterize __basic_file.
2004 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2005 * bits/basic_file.h: Same here.
2007 * bits/istream.tcc (getline): Tweaks.
2009 * bits/fstream.tcc: Shorten __retval to __ret.
2010 * bits/ostream.tcc: Same.
2011 * bits/sbuf_iter.h: Same.
2012 * bits/sstream.tcc: Same.
2013 * bits/streambuf.tcc: Same.
2014 * bits/std_fstream.h: Same.
2015 * src/string-inst.cc: Same.
2017 * config/c_io_libio.cc: Same.
2018 * bits/string.tcc: Same.
2019 * bits/std_streambuf.h: Same.
2021 2000-07-23 Brent Verner <brent@rcfile.org>
2023 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2024 char_type) make compliant
2025 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2027 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2029 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2030 and srcdir used to define CSHADOW_INCLUDES..
2032 * configure.in: For consistency, change .sanity_warned to
2033 stamp-sanity-warned.
2035 * acinclude.m4: Tweak formatting.
2036 * Makefile.am (check): Call mkcheck with full pathname for build
2038 (check-install): And here.
2039 * Makefile.in: Regenerate.
2041 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2043 Line up with libstdc++-v2 version of valarray.
2044 * bits/valarray_array.h (__valarray_product): Make inline.
2045 * src/valarray-inst.cc (__valarray_product): Remove explicit
2048 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2050 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2053 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2054 Change return type to void.
2055 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2056 * testsuite/17_intro/header_ciso646.cc: Modify.
2057 * bits/locale_facets.h: Add return values for the generic cases.
2059 2000-07-21 H.J. Lu (hjl@gnu.org)
2061 * acinclude.m4: Include <features.h> for glibc testing.
2062 * aclocal.m4: Likewise.
2064 * configure: Rebuild.
2066 2000-07-20 H.J. Lu (hjl@gnu.org)
2068 * acinclude.m4: Change "#pragma system_header" to
2069 "#pragma GCC system_header".
2070 * aclocal.m4: Likewise.
2071 * bits/std_cmath.h: Likewise.
2072 * bits/std_cassert.h: Likewise.
2073 * bits/std_cctype.h: Likewise.
2074 * bits/std_cerrno.h: Likewise.
2075 * bits/std_cfloat.h: Likewise.
2076 * bits/std_climits.h: Likewise.
2077 * bits/std_clocale.h: Likewise.
2078 * bits/std_cwchar.h: Likewise.
2079 * bits/std_csetjmp.h: Likewise.
2080 * bits/std_csignal.h: Likewise.
2081 * bits/std_cstdarg.h: Likewise.
2082 * bits/std_cstddef.h: Likewise.
2083 * bits/std_cstdio.h: Likewise.
2084 * bits/std_cstdlib.h: Likewise.
2085 * bits/std_cstring.h: Likewise.
2086 * bits/std_ctime.h: Likewise.
2087 * bits/std_cwctype.h: Likewise.
2088 * bits/std_exception.h: Likewise.
2089 * bits/std_new.h: Likewise.
2090 * bits/std_typeinfo.h: Likewise.
2091 * shadow/bits/std_cassert.h: Likewise.
2092 * shadow/bits/std_cctype.h: Likewise.
2093 * shadow/bits/std_cerrno.h: Likewise.
2094 * shadow/bits/std_cfloat.h: Likewise.
2095 * shadow/bits/std_climits.h: Likewise.
2096 * shadow/bits/std_clocale.h: Likewise.
2097 * shadow/bits/std_cmath.h: Likewise.
2098 * shadow/bits/std_csetjmp.h: Likewise.
2099 * shadow/bits/std_csignal.h: Likewise.
2100 * shadow/bits/std_cstdarg.h: Likewise.
2101 * shadow/bits/std_cstddef.h: Likewise.
2102 * shadow/bits/std_cstdio.h: Likewise.
2103 * shadow/bits/std_cstdlib.h: Likewise.
2104 * shadow/bits/std_cstring.h: Likewise.
2105 * shadow/bits/std_ctime.h: Likewise.
2106 * shadow/bits/std_cwchar.h: Likewise.
2107 * shadow/bits/std_cwctype.h: Likewise.
2108 * shadow/bits/wrap_libio.h: Likewise.
2109 * shadow/bits/wrap_unistd.h: Likewise.
2110 * shadow/sys/cdefs.h: Likewise.
2112 * configure: Rebuild.
2114 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2116 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2117 Use extended word instructions to match 64bit _Atomic_word.
2118 (__atomic_add): Likewise.
2119 * math/clog10l.c (clog10l): Use M_PIl if defined.
2120 * math/c_logl.c (c_logl): Likewise.
2121 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2122 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2123 (GET_LDOUBLE_MSW64): New define.
2125 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2127 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2128 in_avail, etc can use them.
2129 * bits/std_fstream.h: Ditto.
2130 * bits/fstream.tcc: Ditto.
2131 * testsuite/27_io/filebuf.cc: Tweaks.
2132 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2134 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2136 * src/localename.cc: Same.
2137 * src/locale.cc: Same.
2138 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2140 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2142 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2144 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2145 * bits/std_fstream.h: Same.
2147 * bits/basic_string.h: Tweaks.
2149 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2151 * docs/18_support/howto.html: Update.
2153 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2155 Internal consistency checks.....
2156 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2159 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2160 * bits/basic_ios.tcc: Same.
2162 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2163 Change _M_fctype_buf to _M_buf_fctype.
2164 * bits/fstream.tcc: Same.
2166 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2167 Change _M_locale_set to _M_buf_locale_init.
2168 * bits/streambuf.tcc: Same.
2169 * bits/sstream.tcc: Same.
2170 * bits/fstream.tcc: Same.
2172 * bits/std_streambuf.h: Make typedefs consistent.
2173 (_M_buf_bump): Be more careful with input sequence.
2175 * bits/std_sstream.h: Same.
2176 * bits/std_fstream.h: Same.
2178 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2180 * acinclude.m4: Tweaks.
2181 * config/c_io_libio.cc: Tweaks.
2182 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2183 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2184 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2185 * libio/iofclose.c iofopen.c, stdio.c: New files.
2186 * libio/Makefile.am: Add files, add flags, etc.
2187 * src/Makefile.am (sources): Add filebuf.cc.
2188 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2189 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2191 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2193 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2194 * configure.in: Use it. Also print reminders one time.
2195 * aclocal.m4: Regenerate.
2196 * configure: Regenerate.
2198 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2200 * bits/valarray_array.h (__valarray_get_storage): New function.
2201 (_Array<>::Array): Use it.
2202 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2203 (valarray<>::resize): Likewise. Tweak.
2204 * src/valarray-inst.cc (__valarray_product): Tweak.
2206 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2208 * docs: Update sourceware->sources in every HTML file. Minor updates.
2210 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2212 Clean up configure/build longstanding issues.
2213 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2214 (CXXLINK): Add here, instead.
2216 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2218 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2220 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2221 c_io_libio.cc instead of copying.
2222 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2224 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2225 c++threads.h instead of copying.
2226 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2229 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2230 * bits/basic_file.h: Declare.
2232 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2234 2000-07-07 brent verner <brent@rcfile.org>
2236 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2238 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2240 * bits/istream.tcc (istream::getline): Minor tweaks.
2242 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2244 * docs/download.html: Mention gcc_update.
2245 * docs/configopts.html: Minor updates.
2246 * docs/gccrebuild.html: Ditto.
2247 * docs/18_support/howto.html: More tips, explanations, and reminders.
2248 * docs/19_diagnostics/howto.html: Ditto.
2249 * docs/21_strings/howto.html: Ditto.
2250 * docs/24_iterators/howto.html: Ditto.
2251 * docs/25_algorithms/howto.html: Ditto.
2252 * docs/26_numerics/howto.html: Ditto.
2254 2000-07-05 brent verner <brent@rcfile.org>
2256 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2257 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2258 * config/c_io_libio.cc (__basic_file::open): Unset
2259 ~_IO_DELETE_DONT_CLOSE.
2261 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2263 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2264 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2265 Do not paste anything after 'operator' keyword.
2267 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2269 * bits/std_memory.h: Revert.
2271 2000-07-03 Brendan Kehoe <brendan@zen.org>
2273 * bits/std_complex.h: Fix parens. Format.
2275 2000-07-03 scott snyder <snyder@fnal.gov>
2277 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2278 from the input if base == 0.
2279 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2280 number with a leading `0' in hex mode.
2282 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2284 * mkinclosure: Change `==' to `=' in test.
2286 2000-07-03 Chip Salzenberg <chip@valinux.com>
2288 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2290 * src/Makefile.in: Regenerate.
2292 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2293 Ulrich Drepper <drepper@purist.soma.redhat.com>
2295 Sync libio to glibc-2.2 current CVS.
2296 * libio/_G_config.h: New file.
2297 * libio/wfileops.c: New file.
2298 * libio/wfiledoalloc.c: New file.
2299 * libio/wgenops.c: New file.
2300 * libio/iofwide.c: New file.
2301 * libio/Makefile.am: Tweaks.
2302 * libio/Makefile.in: Regenerate.
2303 * libio/gen-params: Remove. Generic replacement for this yet undone.
2304 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2305 libioP.h, stdfiles.c]: Update.
2306 * config/c_io_libio.cc: Tweaks.
2307 * acinclude.m4: Complete hacks to test wide io.
2308 * aclocal.m4: Regenerate.
2309 * configure: Regenerate.
2310 * src/Makefile.am: Update.
2311 * src/Makefile.in: Regenerate.
2313 * math/cargl.c: Remove underscores.
2315 * bits/locale_facets.h: Tweaks. Start adding iconv details
2317 * bits/locale_facets.tcc: Tweaks.
2318 * bits/std_cwchar.h: Tweaks.
2320 2000-06-29 scott snyder <snyder@fnal.gov>
2322 * bits/concept_checks.h
2323 (__less_then_comparable_requirement_violation): Only check for <.
2324 * testsuite/25_algorithms/lower_bound.cc: New file.
2326 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2328 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2329 * bits/ostream.tcc: Tweak.
2330 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2331 _M_buf_size_opt too.
2332 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2333 out _M_buf_size_opt.
2334 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2335 _M_buf_size_opt out here.
2336 * bits/char_traits.h (char_traits::eos): Non standard member
2337 function, uglify to __eos. Return char_type().
2338 * bits/std_ostream.h: Change.
2340 * testsuite/27_io/ostream_seeks.cc: New file.
2341 * testsuite/27_io/ostream_seeks-1.tst: New file.
2342 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2344 * testsuite/27_io/istream_seeks.cc: New file.
2346 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2348 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2349 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2350 (auto_ptr): _M_ptr changed to void*.
2351 (suto_ptr::get): Cast _M_ptr to element type.
2352 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2353 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2354 (auto_ptr::operator*): Likewise.
2355 (auto_ptr::operator->): Likewise.
2356 (auto_ptr::release): Likewise.
2357 (auto_ptr::reset): Likewise.
2358 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2359 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2360 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2361 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2363 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2365 * testsuite/27_io/filebuf.cc: Tweak.
2366 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2367 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2369 (__basic_file::basic_file): Clean, add calls similar to
2371 (__basic_file::open): Clean.
2372 (__basic_file::sys_open): Clean.
2374 * bits/std_fstream.h: Revert.
2375 * bits/fstream.tcc (filebuf::close()): Revert.
2376 (filebuf::basic_filebuf()): Revert.
2378 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2380 Update to SGI STL 3.3
2381 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2382 ext/stl_rope.h, ext/ropeimpl.h: Update.
2383 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2384 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2385 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2386 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2387 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2388 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2389 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2390 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2391 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2393 * src/Makefile.am (headers): Add new files.
2394 * src/Makefile.in: Regenerate.
2395 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2396 * bits/concept_checks.h: New file.
2397 * bits/container_concepts.h: New file.
2398 * bits/sequence_concepts.h: New file.
2400 2000-06-27 H.J. Lu <hjl@gnu.org>
2401 Loren J. Rittle <ljrittle@acm.org>
2403 * mkcheck.in: Add support to print standard flags needed to
2404 test g++ in build tree. Enhance command line error checking.
2406 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2408 * docs/install.html: Fix minor typo as reported.
2410 2000-06-26 Brent Verner <brent@rcfile.org>
2412 * bits/string.tcc (string::rfind): Fix.
2413 * testsuite/21_strings/rfind.cc: New file.
2415 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2417 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2419 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2421 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2423 * mkcheck.in: Make the *.txt and *.tst files writable after
2424 copying them to $TEST_DIR.
2426 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2427 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2428 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2430 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2432 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2433 (basic_filebuf::close): Use it.
2434 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2436 (basic_filebuf): Add _M_fileno_based data member.
2437 As reported by brent verner <brent@rcfile.org>
2438 * testsuite/27_io/filebuf_members.cc: New file.
2439 * testsuite/27_io/filebuf_members-1.tst: New file.
2441 * bits/std_fstream.h: Formatting tweaks.
2442 * testsuite/27_io/ofstream_members.cc: New file.
2443 * testsuite/27_io/ofstream_members-1.tst: New file.
2444 * testsuite/27_io/ifstream_members.cc: New file.
2445 * testsuite/27_io/ifstream_members-1.tst: New file.
2447 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2448 Ulrich Drepper <drepper@cygnus.com>
2450 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2451 that all the freaky stuff like sincos will be around...
2453 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2455 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2457 2000-06-22 Steven King <sxking@uswest.net>
2459 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2461 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2463 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2464 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2465 link against libm and don't use -fno-builtins...
2466 * math/mathconf.h: Change up builtin macros to new schema.
2467 * bits/std_cmath.h: And here. Wheee!
2468 * shadow/bits/std_cmath.h: And here.
2469 * acconfig.h: Change up builtin macros here.
2470 * math/cosf.c: Remove.
2471 * math/fabsf.c: Likewise.
2472 * math/sinf.c: Likewise.
2473 * math/sqrtf.c: Likewise.
2474 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2475 * math/Makefile.in: Regenerate.
2477 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2479 * testsuite/21_strings/find.cc: Patch.
2481 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2483 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2484 an easy way to get at g++ without having to link in libstdc++.
2486 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2488 Fix alpha, powerpc build failures.
2489 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2490 re-write. Need to check for both proper declaration when using a
2491 c++ compiler, and "C" linkage when linking. Do both, and if both
2492 exist, then define the HAVE_* bits in config.h.
2493 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2494 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2497 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2499 * bits/string.tcc: Fix find.
2500 * testsuite/21_strings/find.cc: Patch.
2502 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2504 * docs/install.html: Update where to get automake, where to get
2506 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2509 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2511 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2512 Add -Werror-implicit-function-declaration instead.
2514 Regenerate with fixed maintainer-tools.
2515 * aclocal.m4: Regenerate.
2516 * configure: Regenerate.
2517 * libio/Makefile.in: Regenerate.
2518 * src/Makefile.in: Regenerate.
2520 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2522 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2523 * bits/locale_factets.tcc: Tweak.
2525 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2527 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2528 be overridden on the command line for individual files.
2530 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2532 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2533 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2534 building. Use -x c++ instead, which does not attempt to link
2537 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2538 not coring when we hit a try/throw block, which was the problem
2539 with the linker support...
2541 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2543 * docs/documentation.html: Rename link to make more accurate and scary.
2544 * docs/gccrebuild.html: Edit for clarity as these are no longer
2546 * docs/install.html: Add bits about binutils for
2547 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2549 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2550 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2551 USE_COMPLEX_LONG_DOUBLE.
2552 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2553 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2554 Works around irregularies in powerpc "C" compiler, but a good idea
2557 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2558 New. Merge both old compiler bug checks for complex into this.
2560 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2562 * testsuite/21_strings/find.cc: Empty strings can be found at all
2563 positions. Modified.
2565 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2567 * testsuite/20_utilities: New directory.
2568 * testsuite/20_utilities/auto_ptr.cc: New file.
2570 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2572 * src/Makefile.am (string_sources): Simplify, assuming that with
2573 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2574 hacking is not necessary.
2575 (wstring_sources): Same.
2576 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2578 * src/string-inst.cc: Remove macro blocks.
2579 * mkcheck.in (CXX_FLAG): Add bits here.
2581 * src/string-inst.cc: Remove iostream-related string instantiations.
2582 * src/misc-inst.cc: Add here.
2584 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2586 * aclocal.m4: Regenerate.
2587 * configure.in: Change up.
2588 * configure: Regenerate.
2590 2000-06-13 Steven King <sxking@uswest.net>
2592 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2593 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2594 * acconfig.h: Add entries for fmod*.
2596 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2598 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2599 Test *_MODFF not *_MODF for modf(float, float*).
2600 (modf(float, float*)): Remove reference to _C_legacy.
2602 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2604 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2605 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2606 superset, and already defined at top level.
2607 * aclocal.m4: Regenerate.
2608 * configure: Regenerate.
2610 * docs/17_intro/contribute.html: Plead with people to use -cp.
2612 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2614 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2616 * testsuite/27_io/filebuf.cc: Changed calls to
2617 fpos<>._M_position() to implicit calls to operator streamoff().
2618 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2619 as not needed. Revert, as part of standard.
2620 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2621 call to numpunct<>._M_init() with overrides of the appropriate
2624 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2625 pointers from test01, so no need to call base(), which isn't
2626 guaranteed to be implemented as iterators may themselves be pointers
2627 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2628 _M_position() - use implicit conversion to streamoff instead
2630 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2632 * bits/stl_iterator.h: Added inline to operators == to >=.
2634 2000-06-13 Brent Verner <brent@rcfile.org>
2636 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2637 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2639 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2641 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2643 * src/locale.cc: Add cwchar include here. Remove incorrect
2644 definitions, and stub them out.
2645 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2646 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2647 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2648 * config/newlib/ctype.cc: Same.
2649 * config/gnu-linux/ctype.cc: Same.
2650 * config/bsd/ctype.cc: Same.
2651 * config/aix/ctype.cc: Same.
2653 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2655 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2656 towupper and towlower to convert wide characters.
2658 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2660 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2662 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2664 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2665 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2666 * aclocal.m4: Regenerate.
2667 * configure: Regenerate.
2668 * math/cosf.c: New file.
2669 * math/fabsf.c: Likewise.
2670 * math/sinf.c: Likewise.
2671 * math/sqrtf.c: Likewise.
2672 * math/Makefile.am (EXTRA_DIST): Add those four files.
2673 * math/Makefile.in: Regenerate.
2675 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2677 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2679 2000-06-06 Steven King <sxking@uswest.net>
2681 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2682 double and long double. Added defines for HAVE libm math functs for
2683 float and long double.
2684 * aclocal.m4: Added configure checks for builtin math funcs and libm
2685 support for float and long double versions of the math functions.
2686 * config.h.in: Added undefs for math functs.
2687 * configure: Regenerate.
2688 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2689 _GLIBCPP_HAVE_BUILTIN_*.
2690 * bits/std_cmath.h: Added long double support. Use builtins for
2691 float, double and long if available, otherwise, use libm versions if
2692 availible, otherwise, punt.
2693 * shadow/bits/std_cmath.h: ditto
2695 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2697 * bits/locale_facets.h: Tweak.
2698 * src/locale.cc (codecvt<wchar_t>): Tweak.
2700 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2701 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2703 * bits/basic_string.h: Move data member up.
2704 * src/string-inst.cc: Fix instantiations.
2705 * bits/string.tcc: Fix types.
2707 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2709 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2711 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2713 * bits/std_cwctype.h: Clean.
2714 * bits/std_cwchar.h: Clean, remove cruft.
2716 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2717 for beginning iconv support.
2718 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2720 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2721 * bits/limits_generic.h: Remove.
2722 * src/gen-num-limits.cc: Same.
2724 * src/locale.cc: Tweaks.
2726 * bits/char_traits.h: Tweaks.
2728 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2730 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2731 exponent, scientific formatting issues.
2732 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2734 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2736 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2737 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2739 2000-05-31 Nathan Myers <ncm@cantrip.org>
2741 * docs/thanks.html: edit own credits
2743 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2745 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2747 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2749 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2751 2000-05-31 Steven King <sxking@uswest.net>
2753 * shadow/time.h: fix typo
2754 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2755 * shadow/bits/std_cwchar.h: ditto
2756 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2759 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2761 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2762 available, force --disable. Need to flesh this out; make smarter.
2763 * aclocal.m4: Regenerate.
2764 * configure: Regenerate.
2766 * mkcheck.in: Minor tweaks.
2767 * docs/download.html: Fix typo.
2769 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2771 * inclosure: Change to...
2772 * mkinclosure: This.
2774 * mkcshadow: Fix paths to bash.
2776 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2777 * src/Makefile.in: Regnerate.
2778 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2779 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2780 * aclocal.m4: Regenerate.
2781 * mkcheck.in (INC_PATH): Tweak.
2783 * configure.in: Enable long long by default.
2784 * configure: Regenerate.
2786 * mkcheck.in (LIB_PATH): Revert.
2788 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2790 * config/cpu/i486: New directory.
2791 * config/cpu/i486/bits: New directory.
2792 * config/cpu/i486/bits/atomicity.h: New file.
2793 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2795 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2797 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2799 * backward/alloc.h (__default_alloc_template): Only expose
2800 implementation-specific symbol, if it exists in the
2802 * backward/iostream.h (ends): Expose symbol.
2803 * backward/strstream.h: New file.
2804 * backward/stream.h: New file.
2805 * backward/ostream.h: New file.
2806 * backward/istream.h: New file.
2807 * backward/fstream.h: New file.
2808 * backward/complex.h: New file.
2809 * backward/iomanip.h: New file.
2811 * mkcheck.in (LIB_PATH): Add -R bits.
2813 * math/carg.c (carg): Replace __atan2 with atan2.
2815 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2817 * Makefile.am (TAGS): Construct.
2818 * Makefile.in: Rengerate.
2819 * src/Makefile.am: Tweak.
2820 * src/Makefile.in: Tweak.
2821 * configure.in: Tweak.
2823 * bits/c++config.h: Rename to ...
2824 * bits/c++config: This.
2825 * mkc++config: Adjust.
2828 * m4/lc_message.m4: Merge into acinclude.m4.
2829 * m4/mathfcts.m4: Same.
2830 * m4/stringfcts.m4: Same.
2831 * acinclude.m4: Add here.
2832 * configure: Regnerate.
2834 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2835 OPTLEVEL. Add FMTFLAGS.
2836 * aclocal.m4: Regenerate.
2837 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2838 been disabled due to higher-level Makefiles running amuck over
2839 this bit, and add in FMTFLAGS so that formatting is clear.
2840 * src/Makefile.in: Regenerate.
2841 * configure: Regenerate.
2843 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2846 * docs/download.html: Remove references to Cygwin-specific bits,
2847 as this can now be built natively.
2848 Update with current information.
2850 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2852 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2853 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2854 enclose other tests in this macro, including future ones.
2855 * aclocal.m4: Regenerate.
2856 * configure: Regenerate.
2858 * docs/faq/index.html: Update location of libg++ FAQ.
2859 * docs/faq/index.txt: Regenerate.
2861 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2863 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2865 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2867 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2869 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2871 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2872 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2873 * aclocal.m4: Regenerate.
2874 * configure: Regenerate.
2876 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2878 * bits/generic_shadow.h: s/swamp/legacy/
2880 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2882 * acinclude.m4: Clean up comments on newer checks.
2883 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2884 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2885 * aclocal.m4: Regenerate.
2886 * configure: Regenerate.
2887 * Makefile.in: Regenerate.
2888 * libio/Makefile.in: Regenerate.
2889 * math/Makefile.in: Regenerate.
2890 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2891 * src/Makefile.in: Regenerate.
2892 * docs/configopts.html: Document changes to --enable names.
2894 2000-05-18 Chip Salzenberg <chip@valinux.com>
2896 * bits/ostream.tcc (_S_pad_char): Function template should not be
2898 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2899 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2901 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2903 * mkcshadow: Change C_Swamp to C_legacy.
2905 * shadow/bits/*: Same.
2906 s/C_Swamp/C_legacy/g
2910 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2912 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2914 * src/string-inst.cc (string::_S_find): Same.
2916 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2918 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2919 --enable-cshadow-headers. Add output messages.
2920 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2921 underscores (like the rest of the enable options.) Add output messages.
2922 * aclocal.m4: Regenerate.
2923 * configure: Regenerate.
2924 * configure.in: Touch.
2926 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2928 * mkcheck.in: Enable shared library testing.
2930 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2932 * bits/std_cmath.h: fix sqrt(float)
2934 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2936 * bits/std_cassert.h: Use system_header pragma.
2937 * bits/std_cctype.h: Likewise.
2938 * bits/std_cerrno.h: Likewise.
2939 * bits/std_cfloat.h: Likewise.
2940 * bits/std_climits.h: Likewise.
2941 * bits/std_clocale.h: Likewise.
2942 * bits/std_cmath.h: Likewise.
2943 * bits/std_csetjmp.h: Likewise.
2944 * bits/std_csignal.h: Likewise.
2945 * bits/std_cstdarg.h: Likewise.
2946 * bits/std_cstddef.h: Likewise.
2947 * bits/std_cstdio.h: Likewise.
2948 * bits/std_cstdlib.h: Likewise.
2949 * bits/std_cstring.h: Likewise.
2950 * bits/std_ctime.h: Likewise.
2951 * bits/std_cwchar.h: Likewise.
2952 * bits/std_cwctype.h: Likewise.
2953 * bits/std_exception.h: Likewise.
2954 * bits/std_new.h: Likewise.
2955 * bits/std_typeinfo.h: Likewise.
2956 * shadow/bits/std_cassert.h: Likewise.
2957 * shadow/bits/std_cctype.h: Likewise.
2958 * shadow/bits/std_cerrno.h: Likewise.
2959 * shadow/bits/std_cfloat.h: Likewise.
2960 * shadow/bits/std_climits.h: Likewise.
2961 * shadow/bits/std_clocale.h: Likewise.
2962 * shadow/bits/std_cmath.h: Likewise.
2963 * shadow/bits/std_csetjmp.h: Likewise.
2964 * shadow/bits/std_csignal.h: Likewise.
2965 * shadow/bits/std_cstdarg.h: Likewise.
2966 * shadow/bits/std_cstddef.h: Likewise.
2967 * shadow/bits/std_cstdio.h: Likewise.
2968 * shadow/bits/std_cstdlib.h: Likewise.
2969 * shadow/bits/std_cstring.h: Likewise.
2970 * shadow/bits/std_ctime.h: Likewise.
2971 * shadow/bits/std_cwchar.h: Likewise.
2972 * shadow/bits/std_cwctype.h: Likewise.
2973 * shadow/bits/wrap_libio.h: Likewise.
2974 * shadow/bits/wrap_unistd.h: Likewise.
2975 * shadow/sys/cdefs.h: Likewise.
2977 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2979 It appears that gcc-2.96 supports the keyword "and" now.
2980 * bits/std_ciso646.h: remove.
2982 * testsuite/17_intro/header_ciso646.c: enable testing.
2983 * src/Makefile.am, src/Makefile.in: remove mention of
2986 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2988 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2990 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2992 * acinclude.m4: Fix typo, switch to decaf...
2993 * aclocal.m4: Regenerate.
2994 * configure: Regenerate.
2996 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2998 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2999 * aclocal.m4: Regenerate.
3000 * configure.in: Call.
3001 * configure: Regenerate.
3002 * docs/configopts.html: Stub documentation.
3004 2000-05-14 Nathan Myers <ncm@cantrip.org>
3006 * mkcshadow: build in more-correct directory, create cshadow/
3007 directory if needed, report progress.
3009 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3011 * src/Makefile.am: Fix tr commands.
3012 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3013 * src/string-inst.cc: Remove extra instantiation of
3014 S::basic_string(S::size_type, C, S::allocator_type const&);
3015 * src/string-inst.cc: Remove extra template keyword.
3017 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
3019 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3020 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3021 * aclocal.m4: Regenerate.
3022 * configure: Regenerate.
3023 * */Makefile.in: Regenerate.
3025 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3027 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3028 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3029 * aclocal.m4: Regenerate.
3030 * configure.in: Non-blank arguments break fewer Linuxes.
3031 * configure: Regenerate.
3032 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3033 * src/Makefile.in: Regenerate.
3035 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3037 * bits/std_cmath.h: Tweaks.
3038 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3039 (sqrtf): Define away iff !builtin and !in <math.h>.
3043 At some point this directory should be converted to c++, the
3044 autoconf tests should be run by the c++ compiler (not c), and
3045 <cmath> should be used instead of math.h.
3046 Move declaration of nan() here.
3047 * math/complex-stub.h (cabsl): Remove nan() declaration.
3049 Finish up FreeBSD4.0 support.
3050 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3051 * config/generic/ctype.cc: And here.
3052 * testsuite/21_strings/char_traits.cc (test02): Guard with
3053 _GLIBCPP_USE_WCHAR_T.
3055 via Phil Edwards <pme@sourceware.cygnus.com>
3056 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3057 * acconfig.h: And here.
3058 * acinclude.m4: Same.
3059 * testsuite/27_io/istream.cc: And here.
3060 * testsuite/27_io/ostream.cc: And here.
3062 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3064 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3066 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3068 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3071 * config/bsd: New directory.
3072 * config/bsd/ctype.cc: New.
3073 * config/bsd/bits/ctype_base.h (ctype_base): New.
3074 * config/bsd/bits/ctype_specializations.h: New.
3075 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3077 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3079 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3080 * configure.in: Call.
3081 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3082 * aclocal.m4: Regenerate.
3084 * src/Makefile.in: Ditto.
3085 * docs/configopts.html: Document.
3086 * docs/download.html: Fix typo (close quote).
3087 * docs/footer.html: Update.
3089 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3091 * backward/iostream.h: Expose endl. Guard wide types.
3092 * src/Makefile.am (headers): Update list to match files.
3093 * src/Makefile.in: Regenerate.
3095 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3096 Benjamin Kosnik <bkoz@gnu.org>
3097 Nathan Myers <ncm@cantrip.org>
3098 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3100 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3101 (basic_streambuf::xsputn): Make consistent.
3102 * testsuite/27_io/filebuf.cc: Add tests.
3104 2000-05-08 Steven King <sxking@uswest.net>
3106 * bits/char_traits.h: Use wchar_t utility functions for
3107 char_traits<wchar_t> methods.
3108 * testsuite/21_string/char_traits.cc: New (test02): test
3109 char_traits<wchar_t>
3111 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3113 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3115 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3116 _M_buf_size based on macro, instead use _M_buf_size_opt.
3117 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3118 (basic_streambuf()): Set _M_buf_size_opt.
3119 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3120 instead of _M_buf_size.
3122 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3124 * src/complex_io.cc: Don't instantiate inserters and extractors
3125 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3127 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3128 Felix Natter <fnatter@gmx.net>
3130 * docs/footer.html: Update to see if it takes effect.
3131 * docs/thanks.html: More people.
3132 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3133 be seen from the web pages. Rename for browser-friendliness...
3134 * docs/17_intro/howto.html: ...and update here.
3135 * docs/17_intro/porting-howto.html: Changes from Felix.
3136 * docs/gccrebuild.html: Mention v3->egcs move.
3137 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3138 * docs/faq/index.txt: Regenerate.
3140 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3142 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3145 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3147 * bits/char_traits.h: Fix parameter types.
3148 * bits/string.tcc: Avoid traits_type::move.
3150 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3152 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3153 * src/Makefile.in: Regenerate.
3154 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3156 2000-04-30 Steven King <sxking@uswest.net>
3158 * bits/locale_facets.h: Fix syntax error.
3159 * bits/std_fstream.h: ditto
3161 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3163 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3165 * mknumeric_limits (trait_name): Fix copyright notice.
3166 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3167 round_error data members of struct value. This works around
3168 weak-linking issues on AIX, HPUX.
3170 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3172 * docs/download.html: Add link to list of mirror sites.
3174 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3176 * mkcheck.in: Rely on exit status instead of the presence of a
3177 core file. Added comments on how/where to save core and exe
3178 files. Move shell wildcards outside quotes and fix core path.
3180 2000-04-27 scott snyder <snyder@fnal.gov>
3182 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3185 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3187 * bits/basic_string.h: include <bits/atomicity.h> instead
3188 of <atomicity.h>, and use the uglified names.
3189 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3190 uglify names, eliminate dependence on <inttypes.h>.
3191 * src/Makefile.in, src/Makefile.am: refer to correct place
3192 for atomicity.h header.
3194 2000-04-25 Steven King <sxking@uswest.net>
3196 * bits/basic_string.h: Fix syntax error.
3198 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3200 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3202 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3203 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3204 versions to this as copysignl is needed anyway for these targets.
3205 * math/Makefile.in: Regenerate.
3207 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3208 * bits/fstream.tcc (underflow): Cast to libio types.
3209 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3210 * config/c_io_libio.cc (seekoff): And here.
3212 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3214 * mkcheck.in: Report compiler version used for test. Find
3215 the built _G_config.h instead of any old installed version.
3217 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3219 * config/generic/ctype.cc (do_toupper): Remove dependence on
3220 non-portable/non-existent lookup table.
3223 2000-04-24 Nathan Myers <ncm@cantrip.org>
3225 * src/string-inst.cc: More fixing.
3227 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3229 * bits/stl_iterator.h: Pedantic fixing.
3230 * bits/std_sstream.h: And here.
3231 * bits/string.tcc: And here.
3233 2000-04-24 Felix Natter <fnatter@gmx.net>
3235 * docs/17_intro/howto.html: Add bits.
3236 * docs/17_intro/porting-howto.html: New file.
3238 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3240 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3241 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3242 wchar_t, to empty string otherwise.
3243 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3244 (sources): Remove $(string_sources) and $(wstring_sources).
3245 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3246 (libstdc___la_DEPENDENCIES): New.
3247 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3249 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3251 * bits/std_sstream.h: Tweak formatting.
3252 * bits/std_fstream.h: Make types public.
3254 * testsuite/27_io/streambuf.cc: Fix for alpha.
3256 Brad Garcia <bgarcia@laurelnetworks.com>
3257 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3259 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3262 2000-04-19 Nathan Myers <ncm@cantrip.org>
3264 * src/string-inst: consolidate _S_create,
3265 destroy, leak, clone members into stringMAIN and stringMUTATE
3267 * src/Makefile.am: Above, and eliminate dependence on
3269 * src/wstring-inst.cc: Remove.
3271 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3273 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3274 Add flags for specialized rules dealing with instantiations.
3276 * src/string-inst.cc: Add instantiations missing from shared
3277 libraries--see stringEQ, stringCONSC.
3278 * src/Makefile.am (wstring_sources): Add.
3279 (string_sources): Same.
3280 * src/Makefile.in: Regenerate.
3282 * stl/*: Integrate contents of this directory into top-level
3284 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3285 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3286 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3287 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3288 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3289 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3290 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3291 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3292 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3293 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3294 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3295 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3296 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3297 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3298 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3299 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3300 stack.h tempbuf.h tree.h vector.h: Add.
3301 * README (file): Update.
3302 * docs/documentation.html: README not being found.
3303 * src/Makefile.am (sources): Take out stl directory.
3304 * mkcheck.in (SRC_DIR): And here.
3305 * src/Makefile.in: Regenerate.
3307 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3309 * stl/bits/stl_function.h: Add bits so that const and non-const
3312 2000-04-18 scott snyder <snyder@fnal.gov>
3314 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3315 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3316 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3317 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3318 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3320 2000-04-18 scott snyder <snyder@fnal.gov>
3322 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3325 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3326 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3327 * stl/ext/hash_set (class hash_set, class hash_multiset):
3329 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3330 constant_binary_fun): Likewise.
3331 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3332 * stl/bits/stl_stack.h (class stack): Likewise.
3333 * stl/bits/stl_set.h (class set): Likewise.
3334 * stl/bits/stl_multiset.h (class multiset): Likewise.
3336 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3337 class reverse_iterator): Get rid of use of
3338 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3340 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3343 * stl/bits/stl_deque.h (class deque): Get rid of use of
3344 __STL_DEFAULT_ALLOCATOR macro.
3345 * stl/bits/stl_list.h (class list): Likewise.
3346 * stl/bits/stl_multiset.h (class multiset): Likewise.
3347 * stl/bits/stl_set.h (class set): Likewise.
3348 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3349 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3350 * stl/bits/stl_vector.h (class vector): Likewise.
3351 * stl/ext/ropeimpl.h (rotate): Likewise.
3352 * stl/ext/hash_map (class hash_map, class hash_multimap):
3354 * stl/ext/hash_set (class hash_set, class hash_multiset):
3356 * stl/ext/slist (class slist): Likewise.
3357 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3358 * stl/ext/stl_rope.h (class rope): Likewise.
3359 * src/locale.cc (_Impl): Likewise.
3360 * src/localename.cc (_Impl): Likewise.
3361 * bits/localefwd.h (_Impl): Likewise.
3363 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3365 * docs/install.html: Cleanup, minor changes.
3366 * docs/17_intro/howto.html: Ditto.
3368 2000-04-18 Nathan Myers <ncm@cantrip.org>
3370 * bits/basic_string.h: Remove "inline" from member _S_find.
3372 * src/string-inst.cc: Rewrite to reflect non-inline template
3373 instantiations in string.tcc.
3375 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3376 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3377 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3378 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3379 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3380 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3381 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3382 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3383 stringNESS.cc, stringSCOPY.cc: Remove.
3384 * src/wstringADDCS.cc, etc: Remove.
3386 Benjamin Kosnik <bkoz@haight.constant.com>
3387 * src/Makefile.am: Modify to reflect above.
3388 * src/Makefile.in: Regenerate.
3390 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3392 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3394 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3396 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3397 io interface here instead of the libio particulars.
3399 * config/threads-posix.h: Consistency with stl_config.h.
3401 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3403 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3405 * mknumeric_limits: Rename generic type template parameter name
3407 * stl/bits/type_traits.h: Ditto.
3409 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3411 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3412 it is more useful for --enable-libstdcxx-v3. Use the built
3413 compilers with v3, instead of compilers in PATH, and don't
3414 re-include include directories for checking the install.
3416 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3418 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3419 by default when using --enable-libstdcxx-v3.
3420 * src/Makefile.in: Regenerate.
3421 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3422 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3423 * configure: Regenerate.
3424 * mkcheck.in: Deal with NAMESPACES.
3426 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3428 * src/cmath.cc: New file...
3429 (pow(*, int)): Define functions...
3430 * src/Makefile.am (sources): ...register file.
3431 * src/Makefile.in: Regenerate.
3432 * bits/std_cmath.h (pow): ...declare functions here, and remove
3435 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3437 * acinclude.m4 (GCC_OBJDIR): Tweaks
3439 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3441 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3442 * config/cpu/arm: New directory.
3444 Jesper Skov <jskov@redhat.com>
3445 * config/cpu/arm/atomicity.h: New file.
3447 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3449 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3450 Remove unused bits. Clean.
3452 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3454 * testsuite/25_algorithms: New directory.
3455 * testsuite/25_algorithms/min_max.cc: New file.
3457 2000-03-29 scott snyder <snyder@fnal.gov>
3459 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3460 precision beyond that which we get from numeric_limits::digits10.
3462 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3465 * testsuite/23_containers/bitset_shift.cc: Fix.
3467 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3468 temporary to imbue().
3470 * bits/std_fstream.h (sync): Resync libio's idea of the current
3471 file position with the external file.
3473 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3475 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3478 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3479 attempting calls to it.
3480 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3481 ctors. Instead, call _M_init_filebuf ...
3482 (open): Here, as suggested by 27.8.1.3.
3483 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3484 properly when initializing cout/cin/cerr.
3486 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3488 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3489 * testsuite/22_locale/ctype_char_members.cc: And here.
3490 * testsuite/27_io/streambuf.cc (streambuf): And here.
3491 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3492 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3493 * testsuite/27_io/istream_extractor_arith.cc: And here.
3494 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3495 * testsuite/27_io/ios_base_members_static.cc: And here.
3496 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3498 2000-03-27 Chris Faylor <cgf@cygnus.com>
3500 * configure.in: Remove setting of CXX if canadian cross.
3501 * configure: Regenerate.
3503 2000-03-27 Nathan Myers <ncm@zembu.com>
3505 * bits/sstream.tcc: Optimize.
3506 * bits/basic_string.h(string::append): Don't inline.
3507 * bits/string.tcc: Move out-of-line.
3509 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3511 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3512 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3513 * aclocal.m4: Regenerate.
3514 * configure: Regenerate.
3515 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3516 * src/Makefile.in: Regenerate.
3518 * docs/install.html: Almost complete rewrite.
3520 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3522 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3523 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3525 * docs/faq/index.txt: Regenerate.
3527 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3529 * src/Makefile.am (libio_headers_install): Fix.
3530 * src/Makefile.in: Regenerate.
3532 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3534 * docs/17_intro/RELEASE-NOTES: Fix typos.
3535 * docs/index.html: Update.
3536 * docs/17_intro/BUGS: Update.
3537 * docs/status.html: Update for 2.90.8 release.
3539 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3541 * Makefile.am: Better error message when missing libgcc2.ready.
3542 * Makefile.in: Regenerate.
3543 * acinclude.m4: Fastidious nitpicking reformatting.
3544 * aclocal.m4: Regenerate.
3545 * configure: Regenerate.
3546 * mkcheck.in: Must use same namespace settings as the library being
3547 tested. Also log ST_FLAG, since it's being passed.
3548 * docs/install.html: Add brief chunk on configuration.
3549 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3550 * docs/23_containers/howto.html: Mention MT-safe string.
3551 * docs/faq/index.html: Minor updates.
3552 * docs/faq/index.txt: Regerarate.
3554 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3556 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3558 * bits/fstream.tcc (seekoff): Sync.
3560 * testsuite/27_io/ostream_unformatted.cc: New file.
3561 * testsuite/27_io/stringbuf.cc: Fix.
3562 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3564 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3565 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3567 * src/complex_io.cc (operator>>complex): Tweak.
3569 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3570 <inttypes.h> does not exist.
3571 * config/cpu/sparc/sparc64/atomicity.h: Same.
3572 * config/cpu/sparc/sparc32/atomicity.h: Same.
3573 * config/cpu/powerpc/atomicity.h: Same.
3574 * config/cpu/i386/atomicity.h: Same.
3575 * config/cpu/generic/atomicity.h: Same.
3576 * configure.in: Check for inttypes.h.
3577 * configure: Regnerate.
3579 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3581 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3583 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3585 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3587 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3588 are compiling natively.
3590 * libio/*: Update to CVS libio from egcs.
3592 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3594 * docs/download.html: Document use of -z9 for CVS.
3595 * docs/index.html: Add target date (no link) for future snapshot.
3597 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3599 * bits/slice_array.h: Rename generic type template parameter name
3601 * bits/mask_array.h: Ditto
3603 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3605 * *: Change copyright holder from "Cygnus Solutions" to "Free
3606 Software Foundation, Inc."
3608 * docs/configopts.html: Explain what "hella versions" means.
3609 * docs/install.html: Some tweaks--nice job on this Phil.
3610 * docs/documentation.html: Add a direct link to configuration options.
3612 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3613 * docs/17_intro/RELEASE-NOTES (New): Add.
3614 * bits/c++config.h (__GLIBCPP__): Bump version.
3616 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3617 type to match prototype.
3619 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3621 * docs/install.html: Update for new funky build procedure. Move
3622 description of 'configure' options to...
3623 * docs/configopts.html: ...here. New file.
3624 * docs/17_intro/howto.html: Updates for new snapshot.
3625 * docs/20_util/howto.html: Ditto.
3626 * docs/21_strings/howto.html: Ditto.
3627 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3628 * docs/22_locale/howto.html: Ditto.
3629 * docs/23_containers/howto.html: Ditto.
3630 * docs/faq/index.html: Ditto.
3632 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3633 Benjamin Kosnik <bkoz@gnu.org>
3635 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3637 * aclocal.m4: Regenerate.
3638 * configure: Regenerate.
3640 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3641 scott snyder <sss@karma.fnal.gov>
3643 * config/c_io_libio.h: Add __c_lock.
3644 * config/threads-no.h: Same here.
3645 * config/threads-posix.h: Add __mutext_type typedef.
3646 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3647 * bits/basic_file.h: Ctor takes lock arg.
3648 * bits/std_fstream.h: Add _M_lock.
3649 * bits/fstream.tcc: Supply it to basic_file ctor.
3651 * mkcheck.in (resultstext): Change [[ to [.
3653 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3655 * bits/locale_facets.h: Tweak.
3657 * stl/bits/stl_config.h: Fix defines.
3659 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3661 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3663 * configure: Regenerate.
3664 * aclocal.m4: Regnerate.
3666 2000-03-16 Nathan Myers <ncm@zembu.com>
3668 * bits/string.tcc: Add MT support.
3669 * bits/basic_string.h: Same.
3671 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3673 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3675 * configure: Regenerate.
3677 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3679 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3681 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3682 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3683 any defaults passed in.
3684 * aclocal.m4: Regenerate.
3686 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3688 * mkcheck.in: Report total successes and failures.
3690 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3692 * config/cpu: New directory, intended to be used to provide
3693 cpu-specific configuration files. In particular, assembly language
3694 primitives for thread safety.
3695 * config/cpu/alpha: Populate.
3696 * config/cpu/alpha/atomicity.h: New file.
3697 * config/cpu/arm: Populate.
3698 * config/cpu/generic: Populate.
3699 * config/cpu/generic/atomicity.h: New file.
3700 * config/cpu/hppa: Populate.
3701 * config/cpu/i386: Populate.
3702 * config/cpu/i386/atomicity.h: New file, take from i486.
3703 * config/cpu/m68k: Populate.
3704 * config/cpu/mips: Populate.
3705 * config/cpu/powerpc: Populate.
3706 * config/cpu/powerpc/atomicity.h: New file.
3707 * config/cpu/sparc: Populate.
3708 * config/cpu/sparc/sparc32: Populate.
3709 * config/cpu/sparc/sparc64: Populate.
3710 * config/cpu/sparc/sparc32/atomicity.h: New file.
3711 * config/cpu/sparc/sparc64/atomicity.h: New file.
3713 * src/Makefile.am (myinstallheaders): Add install routines.
3714 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3716 * configure.in: Add.
3718 * config/default: Adopt glibc naming conventions, and so move to
3719 * config/generic: Here.
3720 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3722 2000-03-15 Bill Thompson <billt@toast.net>
3724 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3726 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3728 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3730 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3731 * aclocal.m4: Regenerate.
3732 * configure: Regenerate.
3734 2000-03-13 scott snyder <snyder@fnal.gov>
3735 Jason Merrill <jason@cygnus.com>
3737 * bits/locale_facets.h (class ctype, class ctype<char>, class
3738 ctype<wchar_t>): More mask fixes.
3739 * testsuite/22_locale/ctype.cc: Test for the problem.
3741 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3743 * acconfig.h: Add bits.
3744 * configure.in: Move AM_PROG_LIBTOOL up in file.
3745 Tweak cross compiling info.
3746 * configure: Regenerate.
3748 * mknumeric_limits (XCOMPILE): Echo compilation line for
3751 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3752 * aclocal.m4: Regenerate.
3753 * configure: Regenerate.
3754 * config/aix/ctype.cc (ctype): Tweak.
3755 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3756 * config/aix/bits/ctype_specializations.h: New file.
3758 2000-03-10 scott snyder <snyder@fnal.gov>
3760 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3762 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3763 regression test for the problem.
3765 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3767 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3768 * bits/fpos.h: And here.
3769 * bits/std_ostream.h: Same here.
3770 * bits/std_istream.h: Same here.
3771 * bits/basic_ios.h: Same here.
3772 * bits/std_fstream.h: Same here.
3773 * bits/sbuf_iter.h (std): Here too.
3774 * bits/std_sstream.h: Make types public.
3776 * src/misc-inst.cc: Use size_t instead of unsigned int.
3777 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3778 suppose this should be ctype::narrow... all the ctype<wchar_t>
3779 stuff needs to be cleaned up.
3781 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3783 * docs/gentop: Remove entire directory, finally.
3785 2000-03-09 scott snyder <snyder@fnal.gov>
3787 * bits/std_cmath.h (modf): Fix pointer overrun.
3788 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3789 test for the problem.
3791 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3793 Looks like changes to the #include'd files must be followed by a
3794 change to the #include'ing files to take effect. Caveat emptor.
3795 * docs/header.html: New file, for server-side include.
3796 * docs/footer.html: New file, for server-side include.
3797 * docs/documentation.html: Change to use SSI.
3798 * docs/download.html: Ditto.
3799 * docs/index.html: Ditto.
3800 * docs/mail.html: Ditto.
3801 * docs/status.html: Ditto.
3802 * docs/thanks.html: Ditto, plus minor updates.
3803 * docs/how.html: Remove.
3805 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3807 Preliminary alpha-linux support.
3808 * src/locale.cc (ctype<wchar_t>): Use correct types...
3809 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3810 (ctype<wchar_t>): Same.
3811 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3812 types match for table_size (size_t).
3814 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3815 as per char specialization.
3816 * config/*/ctype.cc: Same.
3818 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3820 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3821 _Ctype_nois<>. Template base classes are never examinated in
3822 first-phase name-lookup.
3824 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3826 Add Solaris 2.5.1 support.
3827 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3828 * config/solaris/solaris2.5/ctype.cc: Fixup.
3829 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3830 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3831 * aclocal.m4: Regenerate.
3832 * configure: Regenerate.
3834 * config/default/ctype.cc (ctype): Fixup.
3836 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3838 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3839 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3842 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3844 * bits/cpp_type_traits.h: Expand on this file purpose.
3846 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3848 * bits/locale_facets.h (ctype<char>): Remove static members, and
3849 re-work initialization code.
3850 (ctype<wchar_t>): Same.
3851 Move _S_touppper to _M_toupper and initialize in ctor.
3852 Move _S_tolower to _M_tolower and initialize in ctor.
3853 Move _S_table to _M_ctable and intialize in ctor.
3854 * bits/locale_facets.h (std): And here.
3855 * src/locale.cc (std): Tweak.
3856 * config/gnu-linux/ctype.cc: Change initialization here.
3857 * config/newlib/ctype.cc: And here.
3858 * config/solaris/solaris2.7/ctype.cc: And here.
3859 * config/solaris/solaris2.6/ctype.cc: And here.
3861 * bits/localefwd.h: Tweak.
3862 * bits/std_streambuf.h: Tweak formatting.
3864 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3866 2000-03-05 Chip Salzenberg <chip@valinux.com>
3868 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3870 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3871 Kevin Atkinson <kevinatk@home.com>
3873 Initial grab of SGI's strstream implementation with minor
3875 * src/strstream.cc: New file.
3876 * std/strstream: New file.
3877 * stl/bits/std_strstream.h: New file.
3878 * bits/std_streambuf.h: Add public access.
3879 * src/Makefile.am: Add strstream sources to list of dependancies.
3880 * src/Makefile.in: Regenerate.
3882 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3884 * bits/valarray_meta.h: Fix typo.
3886 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3887 Chip Salzenberg <chip@valinux.com>
3888 Petter Urkedal <petter@matfys.lth.se>
3890 * src/Makefile.am (myinstallheaders): Hack to avoid
3892 * src/Makefile.in: Regenerate.
3894 2000-03-02 Chip Salzenberg <chip@valinux.com>
3896 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3897 (LINK): Put quotes around "$(CC)" for libtool link mode,
3898 so libtool will use "-B" options during GCC bootstrap.
3899 * */Makefile.in: Regenerate.
3901 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3903 * config/c_io_libio.h: Enclose it all in ::std.
3904 * bits/basic_string.h (basic_string<>): Make types and
3906 * mkc++config: Truncate output file before writing.
3908 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3910 * math/cabsf.c (__mycabsf): Rename to cabsf.
3911 * math/cabs.c (__mycabs): Rename to cabs.
3913 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3915 * bits/basic_string.h: Move declarations of __out_of_range(),
3916 __length_error() and accompanying macros ...
3917 * bits/exception_support.h: here. (Newly created file).
3918 * bits/basic_string.h: #include <bits/exception_support.h>
3919 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3920 * src/Makefile.am (headers): Add.
3921 * src/Makefile.in: Regenerate.
3923 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3925 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3927 * bits/valarray_array.h: Synch. Fix typos.
3929 * libio/Makefile.am: Change to only compile source files that
3930 config/c_io_libio.cc actually needs.
3931 * libio/Makefile.in: Regnerate.
3932 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3933 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3934 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3935 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3936 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3937 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3938 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3939 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3940 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3941 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3942 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3943 strops.c strstream.h: Delete.
3945 * bits/basic_file.h: Stub out or delete unused bits in this
3947 (filepos_beg): Remove.
3948 (filepos_cur): Remove.
3949 (filepos_valid): Remove.
3950 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3952 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3954 * bits/cpp_type_traits.h: Correct typo.
3956 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3958 * bits/cpp_type_traits.h: New file.
3960 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3961 Improve array construction.
3962 (_Array_default_ctor): New dispatcher class.
3963 (__valarray_default_construct): New function.
3964 (_Array_copy_ctor): New dispatcher class.
3965 (__valarray_copy_construct): New function.
3966 (_Array<>::free_data): Remove.
3968 * src/Makefile.am (headers): Add cpp_type_traits.h
3969 * src/Makefile.in: Regenerate.
3971 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3973 Prune libio directory to match files in libio/Makefile.
3974 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3975 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3976 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3977 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3978 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3979 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3980 stdstreams.cc: Remove.
3981 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3982 * libio/iofflush_u.c: Remove.
3984 * libio/dbz: Remove.
3985 * libio/include: Remove.
3986 * libio/stdio: Remove.
3987 * libio/tests: Remove.
3988 * libio/testsuite: Remove.
3990 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3992 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3993 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3994 * configure: Regenerate.
3996 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3998 Abstract out the underlying "C" io bits.
3999 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4000 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4001 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4003 * stl/bits/stl_config.h: Don't include _G_config.h.
4005 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4006 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4007 * config/c_io_libio.cc: Tweak.
4009 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4010 * src/Makefile.in: Regenerate.
4011 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4012 prefix/include files will be picked up.
4013 * Makefile.in: Regenerate.
4014 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4015 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4017 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4018 * bits/fpos.h: And here.
4019 * bits/basic_file.h (get_fileno): Move definition from ...
4020 * src/basic_file.cc (std): To here.
4021 * bits/fpos.h: Move types for streamoff, streampos to..
4022 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4023 * config/c_io_libio.h: ...here.
4024 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4025 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4026 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4027 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4028 abstract out bits in ios_base.
4029 * bits/ios_base.h: Re-macrofy.
4030 * src/basic_file.cc : Rename, move to
4031 * config/c_io_libio.cc: Here.
4032 * config/c_io_libio.h: New file. Include libio.
4033 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4034 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4035 * configure: Regenerate.
4036 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4037 (generated_headers): Add c++io.h
4038 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4039 underlying "C" io library.
4040 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4041 GLIBCPP_ENABLE_CSTDIO.
4043 * configure.in: Add configure bits for cross compiling non-newlib
4045 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4046 target, as we assume g++ support is not the limiting factor.
4047 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4048 * configure: Regenerate.
4050 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4052 * Makefile.am (INTERFACE): Define.
4053 * Makefile.in: Regenerate.
4054 * libio/ChangeLog: Add entry.
4056 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4058 * docs/install.html: Update install directions.
4060 * docs/status.html: Fix sidebar to be consistent.
4061 * docs/thanks.html: Same.
4062 * docs/links.html: Same.
4063 * docs/mail.html: Same.
4064 * docs/download.html: Same.
4066 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4067 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4068 however, in the ctype_char_members.cc fail (for instance.)
4069 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4070 that do not have wchar_t enabled.
4071 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4073 * testsuite/27_io/iostream_objects.cc: And here.
4075 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4078 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4079 Tom Tromey <tromey@cygnus.com>
4081 * configure.in: Manually add MULTISUBDIR.
4082 * configure: Regenerate.
4083 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4084 "Eww" hacks to get multilib installs working correctly.
4085 ($(headers): Test for MULTISUBDIR before installing.
4086 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4087 have configure hack it in.
4088 * Makefile.in: Regenerate.
4089 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4090 Add enabling bits for native Cygwin ctypes, and other newlib-based
4093 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4095 * mkc++config (OUT_H): Remove EOF in cygwin.
4096 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4098 Tom Tromey <tromey@cygnus.com>
4099 * src/Makefile.am: Tweaks for installing multilibs.
4101 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4104 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4105 Add USE_LIBDIR bits here, not...
4106 * src/Makefile.in: Regenerate.
4107 * Makefile.am: ...here.
4108 * Makefile.in: Regenerate.
4110 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4112 * acinclude.m4 (LIBS): Fix typos.
4113 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4114 _GLIBCPP_BUGGY_COMPLEX for crosses.
4115 * src/Makefile.am (std_headers): Add libio.h as install include,
4117 * src/Makefile.in: Regenerate.
4119 * mkcheck.in: Add bits to set CXX to cross compiler.
4121 * src/complex_io.cc: Tweak.
4122 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4123 * configure: Regenerate.
4125 * config/newlib/ctype.cc: Tweaks.
4126 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4128 * src/complex_io.cc (operator>>(istream, complex): Define out if
4131 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4133 * config/newlib/bits/ctype_base.h: Correct _S_table.
4135 Reconfigure ctype support for "C" libraries that don't use arrays.
4136 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4137 basic ctype<char> functionality.
4138 * src/locale.cc: Move host-specific ctype functions that are not
4139 inlines to config/*/ctype.cc files.
4140 (ctype<char>::do_tolower): For instance.
4141 (ctype<char>::do_toupper): For instance.
4142 (ctype<wchar_t>::do_tolower): For instance.
4143 (ctype<wchar_t>::do_toupper): For instance.
4144 * config/gnu-linux/ctype.cc: Modify.
4145 * config/default/ctype.cc: Modify.
4146 * config/newlib/ctype.cc: Modify.
4147 * config/solaris/solaris2.6/ctype.cc: Modify.
4148 * config/solaris/solaris2.7/ctype.cc: Modify.
4150 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4152 (ctype<char>::scan_is): Here too.
4153 (ctype<char>::scan_not): Here too.
4154 Move out of line defs to config/*/bits/ctype_specializations.h.
4155 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4156 * config/default/bits/ctype_specializations.h: ...here. New file.
4157 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4158 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4159 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4160 * src/Makefile.am (headers): Add ctype_specializations.h.
4161 * src/Makefile.in: Regenerate.
4163 Aaron Weiss <weiss@clearway.com>
4164 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4165 CONFIG_NM for Solaris builds.
4166 * Makefile.in: Regenerate.
4168 * src/locale.cc: Tweak formatting.
4170 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4172 Jim Parsons <parsons@clearway.com>
4173 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4174 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4178 Michel Decima <michel.decima@cnet.francetelecom.fr>
4179 * testsuite/27_io/streambuf.cc: Add test.
4180 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4183 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4184 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4185 will work correctly, for instance.
4186 * src/Makefile.in: Regenerate.
4188 * bits/locale_facets.h: Fix merge error.
4189 (num_put::put(unsigned long long): And here.
4190 * mknumeric_limits (trait_name): Same.
4192 2000-02-15 Chip Salzenberg <chip@valinux.com>
4194 Support 'configure --enable-long-long'.
4195 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4196 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4197 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4198 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4199 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4201 * aclocal.m4: Regenerate.
4202 * config.h.in: Regenerate.
4203 * configure: Regenerate.
4205 2000-02-15 Chip Salzenberg <chip@valinux.com>
4207 Improve (complete?) 'long long' support.
4208 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4209 for {,unsigned} long long if the limits header declares them.
4210 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4211 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4212 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4213 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4214 (num_put<>::put(..., long long)): Likewise.
4215 (num_put<>::put(..., unsigned long long)): Likewise.
4216 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4217 Templatize last parameter to support 'long long'.
4218 (num_put<>::put(...)): Call _S_format with new name.
4219 (num_put<>::put(..., long long)): Define.
4220 (num_put<>::put(..., unsigned long long)): Likewise.
4221 * src/locale-inst.cc (_S_format): Instantiate under new name.
4223 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4225 * src/complex.cc (operator<<, operator>>): Moved from here...
4226 * src/complex_io.cc: ...to new file.
4227 (operator>>): Stub replaced by the real thing.
4228 * src/Makefile.am (sources): Inserted complex_io.cc.
4229 * src/Makefile.in: Regenerate.
4230 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4232 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4234 Add in ctype information for newlib "C" libraries.
4235 * config/newlib: New directory
4236 * config/newlib/bits/ctype_base.h: New file.
4237 * config/newlib/ctype.cc: New file.
4239 * ctype/config/linux/*: Rename, move to...
4240 * ctype/config/gnu-linux/*: Here.
4242 Finish off multilib work.
4243 * configure.in: Don't set CXX if not Canadian cross.
4244 * configure: Regenerate.
4245 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4246 * aclocal.m4: Regenerate.
4247 * config.h.in: Regenerate.
4249 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4250 the top-level gcc directory now.
4251 * mkinstalldirs: Remove.
4254 * ltmain.sh: Remove.
4255 * config.guess: Remove.
4256 * config.sub: Remove.
4258 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4260 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4261 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4262 * Makefile.in: Regenerate.
4263 * src/Makefile.am: Add multilib bits.
4264 * src/Makefile.in: Regenerate.
4266 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4268 * configure.in: Clean, add some multilib support.
4269 * configure: Regenerate.
4270 * configure.host: New file.
4272 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4273 roll a new function, checks for presence of libio.
4274 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4275 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4276 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4277 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4278 GLIBCPP_CHECK_LIBIO: Same.
4279 GLIBCPP_CHECK_CTYPE: Same.
4280 * aclocal.m4: Regenerate.
4281 * config.h.in: Regenerate.
4283 * Makefile.am: Tweaks.
4284 * Makefile.in: Regenerate.
4286 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4288 * configure.in: Make outputing the libio/Makefile
4289 conditional. Haha, yeah right. Anyway, we instead do this thing
4290 where if libio is found, then we build a null library, as there is
4291 no point in duplicating the found libio.
4292 * Makefile.am: Tweak.
4293 * Makefile: Regenerate.
4294 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4295 are happy happy happy.
4296 * libio/Makefile.am: Regenerate.
4297 * libio/gen-params: New file.
4298 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4299 null library if it's not needed. At least we are being consistent,
4300 if not as elegant as we could be.
4301 * src/Makefile: Regenerate.
4303 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4305 * Makefile.am (SUBDIRS): Add libio again.
4306 * Makefile.in: Regenerate.
4307 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4308 (AC_OUTPUT): Generate libio/Makefile again.
4309 * configure: Regnerate.
4310 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4311 libio.la is referring back to the libio subdir again.
4312 (LIBIO_INCLUDES): And here.
4313 * src/Makefile.in: Regenerate.
4315 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4317 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4319 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4321 * bits/valarray_array.h (<bits/std_new.h>): #include.
4322 (__valarray_get_memory): New function.
4323 (__valarray_release_memory): Likewise.
4324 (__valarray_default_construct): New functions.
4325 (__valarray_fill_construct): New function.
4326 (__valarray_copy_construct): New funstions.
4327 (__valarray_destroy_elements): New function.
4329 * bits/valarray_array.tcc (__valarray_copy_construct): New
4332 * bits/std_valarray.h (valarray<>::valarray): Use
4333 __valarray_get_memory and __valarray_fill_construct,
4334 __valarray_copy_construct, __valarray_default_construct to
4335 properly construct valarrays.
4336 (valarray<>::~valarray): Use __valarray_destroy_elements to
4337 destroy elements and __valarray_release_memory to return memory.
4338 (valarray<>::shift): Tweak.
4339 (valarray<>::cshift): Likewise.
4340 (valarray<>::resize): Robustify.
4342 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4344 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4345 * bits/limits_generic.h: New file, defaults.
4346 * src/limits_generic.cc: New file, defaults.
4347 * configure.in (LIBS): Run mknumeric_limits at configure time.
4348 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4349 HAVE_LC_MESSAGES, tidy, clean, etc.
4350 * src/Makefile.am (geberated_sources): Remove.
4352 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4353 (_IO_off_t, _IO_ssize_t)
4355 * src/complex.cc: Use glibc's <complex.h> if
4356 possible. . . apparently this was not being done before. Include
4358 (abs): Enable cabs if it's around, instead of mycabs.
4359 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4360 * src/complexl.cc (FCT): Same.
4361 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4362 (libmath_la_SOURCES): And here.
4363 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4364 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4365 * math/complex-stub.h: Move c_log declarations into. . .
4366 * math/mathconf.h: Here. This is because glibc's <complex.h>
4367 declares cclog, not c_log. The case of the dueling standards. . .
4368 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4369 * math/Makefile.am: Change.
4370 * math/nan.c (nan): Change signature.
4371 * math/mathconf.h (NAN): Same.
4372 * math/complex-stub.h (nan): And here.
4374 * Makefile.am (rebuild-stamp): Remove libio and libio
4375 dependancies. Plan to take out libio subdir and just merge with
4376 libio in top level gcc directory. Of course, this assumes there is
4377 a libio in the top level directory (ie ../src_dir). This will
4378 probably change the way this library is configured by default.
4381 2000-02-09 Chip Salzenberg <chip@valinux.com>
4383 * localefwd.h (locale): Make public: facet, id, category.
4385 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4387 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4389 * acinclude.m4: Patch only once!
4391 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4393 * testsuite/26_numerics/buggy_complex.cc: New file.
4395 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4397 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4398 on the 1999-11-21 entries by Mumit Khan.
4399 * configure.in: Use.
4400 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4401 * bits/std_complex.h: Use.
4403 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4405 * stl/bits/stl_algobase.h: Add traits based dispatch for
4406 __normal_iterator in the copy_backward()algorithm
4407 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4410 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4412 * src/gen-num-limits.cc (signal_handler): Work around signal
4413 handling problem on Cygwin.
4414 Thanks to Chris Faylor <cgf@cygnus.com>.
4416 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4418 * configure.in: Add (preliminary) support for cross compiles and
4420 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4421 compilation freaks on this.
4422 * configure: Regenerate.
4423 * src/Makefile.am: Add support for cross compiles.
4424 * src/Makefile: Regenerate.
4425 * Makefile.am: Add support for cross compiles.
4426 * Makefile.in: Regenerate.
4428 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4430 * configure.in (LIBS): Remove unused subdirs.
4431 * configure: Regenerate.
4432 * Makefile.am (SUBDIRS): And here.
4433 * Makefile.in: Regenerate.
4434 * src/Makefile.am (sources): And here.
4435 * src/Makefile.in: Regenerate.
4438 * generic/*: Remove.
4440 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4442 * libtool: Update to libtool-1.3.4.
4446 * config.guess: Same.
4448 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4449 Alexandre Petit-Bianco <apbianco@cygnus.com>
4451 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4452 namespace instead of polluting global namespace with duplicate
4454 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4456 (AC_OUTPUT_COMMANDS): Make it here.
4457 * configure: Regenerate.
4458 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4459 endif, as now we will add it manually.
4460 Move to this file. . .
4461 * bits/c++config.h: New file. Same as old c++config.h.in except
4462 the ending macro guard is now appended manually.
4464 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4465 * bits/std_cmath.h: Same here.
4466 * bits/std_cwchar.h: And here.
4467 * src/locale.cc: And here.
4468 * src/complexl.cc: And here.
4469 * math/mathconf.h: Change to include "config.h" instead of
4472 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4474 * configure.in: Add support for threads. Try a model closer to
4475 libjava, as hopefully if the thread bits are added carefully
4476 enough, the source code will not have gross hacks. Besides, the
4477 libstdc++-v2 model could be easily emulated without the necessity
4478 of linking files in (as currently done)--all that needs to be done
4479 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4480 new. . . and see if we arrive at a more elegant solution.
4481 * configure: Regenerated.
4482 * config/threads-no.h: New file.
4483 * config/threads-posix.h: New file.
4484 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4485 * src/Makefile.in: Regenerated.
4487 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4489 META-QUESTION: Can we just make a "header.html" file and a
4490 "footer.html" and just include them in all the doc sub-pages. The
4491 duplication of the header info is kind of gross, and weak
4492 considering that if you change order or layout then all this stuff
4493 has to be changed in all the sub-files.
4495 * docs/17_intro/contribute.html: Take out duplicate file info.
4496 * README: Should just contain a link to the docs/index.html
4497 page. Duplicate information removed.
4498 * docs/faq/index.html: Remove indexes into HOWTOS.
4499 * docs/17_intro/howto.html: Make intro and docs part more
4500 centralized. Move intro stuff to documentation.html.
4501 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4502 * docs/README.html: Move documentation files to
4503 documentation.html. Should this file be renamed
4504 "config_and_install.html" as that is what is apparently covered
4506 * docs/install.html: Yes. New file, moved and renamed README.html.
4507 * docs/documentation.html: New file. This is the index file for
4509 * docs/index.html: Edit sidebar order. Insert new link to new
4510 documentation spine, documentation.html.
4512 2000-01-31 Scott Snyder <snyder@fnal.gov>
4514 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4515 we don't extract any characters.
4516 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4518 2000-01-31 Anders Widell <awl@hem.passagen.se>
4520 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4521 step is a multiple of the word size.
4522 (_M_do_right_shift): Same.
4523 * testsuite/23_containers/bitset_shift.cc: New file.
4525 2000-01-31 Nathan Myers <ncm@zembu.com>
4527 * README (Documentation): Add path info, fix typos.
4529 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4531 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4532 crazy group checking for numpunct, for real this time. At some
4533 point, the local variable __grp should probably get replaced a
4534 char array, or something a bit more lightweight.
4535 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4536 parsed value unless err isn't failbit.
4537 (num_get::do_get(*)): Same, make consistent.
4539 Nathan Myers <ncm@zembu.com>
4540 Jim Parsons <parsons@clearway.com>
4541 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4542 more grouping tests, tweak, scold, wine.
4544 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4546 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4548 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4549 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4552 via <llewelly@198.dsl.xmission.com>
4553 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4554 out_of_range instead of range_error.
4556 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4558 * bits/std_iomanip.h (setw): Fix typo.
4560 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4562 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4563 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4564 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4566 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4568 * docs/README.html: Reformat, more installation instructions.
4569 * docs/gccrebuild.html: New file.
4570 * docs/faq/index.html: Update for new testsuite output filenames.
4571 * docs/faq/index.txt: Regenerate.
4573 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4575 * Makefile.am (rebuild-stamp, all-local): New targets.
4576 * Makefile.in: Regenerated.
4577 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4578 * aclocal.m4: Regenerated.
4579 * configure.in: Call new macro. Also do some sanity checks
4580 for combinations of --enable's that may not make sense.
4581 * configure: Regenerated.
4583 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4585 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4586 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4587 correctly for hex-formatted input.
4589 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4590 eofbit instead of eofbit | failbit.
4591 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4592 ifstreams now are opened or'd with ios_base::in (as is correct).
4593 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4594 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4596 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4598 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4599 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4601 (__basic_file::filepos_valid): Same.
4602 (__basic_file::filepos_beg): Same.
4603 (__baseic_file::get_fileno): New function.
4604 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4605 feedback from LWG 49.
4606 * src/ios.cc: Move definition here.
4607 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4609 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4610 output part of internal buffer based on string size, so that
4611 _M_out_end is set consistently with filebufs. Correct comments.
4612 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4613 * testsuite/27_io/stringbuf.cc: Changes.
4615 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4617 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4619 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4621 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4622 (ofstream::open): Add ios_base::out to openmode.
4624 * bits/locale_facets.tcc (_M_extract): Have consistency between
4625 istream::sentry and extractors, where failbit | eofbit is
4626 set. Don't change this, but instead change. . (do some formatting
4628 * bits/istream.tcc (istream::sentry): Only set eofbit.
4630 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4632 * testsuite/27_io/istringstream_members.cc: New file.
4634 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4636 * bits/istream.tcc (istream::sentry): Flush.
4638 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4639 * configure: Regenerate.
4640 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4641 that make clean will not delete it.
4642 * src/Makefile: Regenerate.
4644 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4646 * mkcheck.in: Use host-specific invocation of size(1);
4647 GNU binutils isn't necessarily there (more's the pity).
4649 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4651 * configure.in (LIBS): Better tests for solaris2.6.
4652 * configure: Regenerate.
4654 <vakatov@ncbi.nlm.nih.gov>
4655 * bits/std_sstream.h: As per libstdc++20.
4657 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4659 Break out configuration on solaris.
4660 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4661 * config/solaris/ctype.cc: Delete and move to proper version.
4662 * config/solaris/bits: Same.
4663 * config/solaris/solaris2.5: Add this directory, with subdir bits
4664 and file ctype.cc. Probably doesn't work.
4665 * config/solaris/solaris2.6: Same.
4666 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4668 * Makefile.am: Change paths to mkcheck.
4669 * Makefile: Regenerate.
4670 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4671 * configure: Regenerate.
4672 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4674 * mkcheck: Now autogenerated by configure and renamed. . .
4675 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4676 Have longer-style dates.
4677 Raja R Harinath <harinath@cs.umn.edu>
4678 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4680 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4681 general documentation need to be organized around each other, not
4682 fight against each other. . .
4684 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4685 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4687 * README: Add a note referring to README.html.
4688 * docs/README.html: New file from Nicolai.
4689 * docs/faq/index.html: Move "how to get a copy" to here.
4690 * docs/gentop/footchunk.html: Update.
4691 * docs/gentop/headchunk.html: New links according to
4692 bkoz's idea for "How to..." stuff.
4693 * docs/gentop/thanks: Actually put people here.
4694 * docs/download.html: Regenerated.
4695 * docs/index.html, docs/links.html, docs/mail.html,
4696 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4697 * docs/how.html: Ditto. (This file should go away soon.)
4699 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4701 * docs/gentop/status: Add snapshot version column, update
4703 * docs/status.html: Regenerated.
4705 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4707 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4708 from installation FAQ, and specify location of text files.
4709 * docs/faq/index.txt: Regenerated.
4711 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4713 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4714 * docs/download.html: Regenerated.
4716 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4718 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4719 clean up various links.
4720 * docs/faq/index.txt: Regenerated.
4721 * docs/gentop/gentop: Smarter regeneration script.
4722 * docs/gentop/{head,foot}chunk.html: Updated with new
4723 contributors link and mod date.
4724 * docs/gentop/index: Snapshot relase date.
4725 * docs/gentop/thanks: New contributors page added.
4726 * docs/{download,how,index,links,mail,status,thanks}.html:
4727 Regenerated from gentop; thanks.html created.
4729 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4731 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4732 * docs/index.html: Add correct information.
4734 * config/irix: New directory.
4735 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4736 * config/irix/bits/ctype_base.h: And here.
4738 * config/aix: New directory.
4739 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4740 * config/aix/bits/ctype_base.h: And here.
4742 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4744 * bits/basic_string.h: Add special case handling for integral
4746 * bits/std_string.h: include type_traits.h
4747 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4749 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4751 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4753 * bits/std_fstream.h (sync): And here.
4754 * testsuite/27_io/filebuf.cc: Revisions.
4755 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4756 at the end of the file.
4757 * testsuite/27_io/filebuf-3.tst: Correct.
4759 1999-12-21 Phil Edwards <pedwards@jaj.com>
4761 * docs/gentop/index: Hold off on .7 announcement date.
4762 * docs/index.html: Regenerate.
4764 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4766 * bits/std_fstream.h (sync): Move _M_file->sync() to
4767 _M_really_overflow().
4768 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4769 as to get the _M_file->sync action, which forces the external
4770 buffer to update itself.
4771 (underflow): Same here.
4773 1999-12-21 Phil Edwards <pedwards@jaj.com>
4775 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4776 * acconfig.h: ...to here.
4777 * config.h.in: Regenerate from aclocal.
4778 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4779 * aclocal.m4: Regenerate from acinclude.
4780 * configure.in: Use ENABLE macros here.
4781 * configure: Regenerate.
4782 * src/Makefile.am: Use results from ENABLE macros.
4783 * src/Makefile.in: Regenerate.
4785 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4787 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4788 check" and not "make check-install." Temporarily hack in linux
4791 * bits/std_streambuf.h: Tweaks.
4792 * bits/streambuf.tcc (xsgetn): Tweaks.
4793 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4794 * bits/fstream.tcc (filebuf::underflow): Simplify.
4795 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4796 checks for read position precisely implement the standard.
4797 * bits/basic_file.h (filepos_cur): Base this on _offset.
4798 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4799 * testsuite/27_io/filebuf.cc: Tweak.
4801 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4803 * docs/17_intro/RELEASE-NOTES: Fix typos.
4805 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4806 out platform-specific bits.
4807 * config/default/ctype.cc: And here.
4808 * config/defaults/bits/ctype_base.h: And here.
4809 * config/linux/ctype.cc: And here.
4810 * config/linux/bits/ctype_base.h (ctype_base): And here.
4811 * config/solaris/bits/ctype_base.h (ctype_base): Add
4812 __to_type. Comment, as it looks like this is for solaris2.6 and
4813 above: solaris2.5.1 doesn't seem to have the same definitions.
4814 * config/solaris/ctype.cc: And here.
4816 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4817 Ulrich Drepper <drepper@cygnus.com>
4819 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4821 * src/locale.cc: Take out platform-specific hacks.
4822 * config/linux/ctype.cc: Put here.
4823 * config/solaris/ctype.cc: Put here.
4824 * config/default/ctype.cc: Put here.
4826 * bits/locale_facets.h: Take out platform-specific hacks.
4827 * config/linux/bits/ctype_base.h: Put here.
4828 * config/solaris/bits/ctype_base.h: Put here.
4829 * config/default/bits/ctype_base.h: Put here.
4831 * configure.in: Bump version.
4832 Add tests for top-level config directory.
4833 * configure: Regenerated.
4834 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4835 * src/Makefile: Regenerate.
4837 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4838 Ulrich Drepper <drepper@cygnus.com>
4840 * bits/locale_facets.h: Hack in solaris support.
4841 * src/locale.cc: Here too.
4843 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4845 * docs/17_intro/TODO: Update
4846 * docs/17_intro/RELEASE-NOTES (New): Update.
4848 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4850 * bits/c++config.h.in (__GLIBCPP__): Bump.
4851 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4852 * docs/17_intro/TODO: Update.
4854 * bits/locale_facets.h: Touch this too.
4855 * bits/localefwd.h: Add typedefs for loooooong vector names.
4856 * bits/locale_facets.tcc (locale::operator()): Need parens.
4857 (has_facet): Simplify.
4858 * src/locale-inst.cc: Add instantiations.
4859 * src/locale.cc: Tweaks.
4861 * bits/std_streambuf.h: Move indeterminates into. .
4862 * bits/std_fstream.h: Here.
4863 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4865 * bits/sstream.tcc: Very minor formatting tweaks.
4866 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4867 input buffer, set _M_buf to offset.
4868 * bits/istream.tcc (std): Tweaks.
4869 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4871 * testsuite/27_io/filebuf.cc: Tweaks.
4873 1999-12-17 Phil Edwards <pedwards@jaj.com>
4875 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4876 * configure: Regenerate.
4877 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4878 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4879 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4881 1999-12-17 Phil Edwards <pedwards@jaj.com>
4883 * docs/21_strings/stringtok_std_h.txt: New algorithm
4884 suggested by Chris King.
4885 * docs/21_strings/howto.html: Link to new version.
4887 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4889 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4891 * docs/17_intro/TODO: Update.
4893 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4895 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4896 * docs/gentop/gentop: Ditto.
4897 * docs/gentop/headchunk.html: Ditto.
4898 * docs/*.html: Regenerated from gentop.
4899 * docs/*/howto.html: Updated as test.
4900 * docs/faq/index.html: Updated, fixed CRLFs.
4901 * docs/faq/index.txt: Regenerated.
4903 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4905 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4907 * bits/std_complex.h
4908 (complex<float>::complex(const complex<double>&),
4909 complex<float>::complex(const complex<long double>&)): Define.
4911 * docs/17_intro/TODO: Update.
4913 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4915 * bits/istream.tcc (seekg): Don't set _M_gcount.
4917 * bits/fstream.tcc (filebuf::underflow): Re-sync
4918 external byte sequence's input buffer only. . .
4919 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4920 tellg, seekg and filebufs.
4921 (test05): Same for stringbufs.
4922 * testsuite/27_io/istream_unformatted-2.tst: New file.
4923 * testsuite/27_io/istream_unformatted-1.tst: New file.
4924 * testsuite/27_io/istream_unformatted-1.txt: New file.
4925 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4928 1999-12-13 Phil Edwards <pedwards@jaj.com>
4930 * docs/gentop/*: New directory, containing bits for the homepages.
4931 * docs/*.html: Regenerated from gentop.
4932 * docs/*/*.html: Entries added and regenerated.
4934 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4936 Efforts to get -O2 to work with -Winline -Werrors.
4937 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4938 _Tp&): Remove inline declaration, as cannot be inlined and
4939 -Winline -Werror complains. An interesting question is why this
4940 cannot be inlined, as I can see no real reason to disqualify it.
4941 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4942 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4944 * docs/17_intro/TODO: Update.
4946 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4948 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4950 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4951 the resultant position.
4952 * bits/fstream.tcc (seekoff): Explicitly set return value to
4953 resultant external byte sequence position, not value returned from
4954 _M_file->seekoff. Need to make
4955 (seekpos): New definition.
4957 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4958 just istream. Necessary, or else tellg will give an invalid stream
4959 position, but seekg will return a valid stream position, which is
4960 not groovy: see testcase addition.
4961 * bits/ostream.tcc (seekp): Same.
4963 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4964 * bits/sstream.tcc: Tweaks.
4965 * bits/locale_facets.tcc: Tweaks.
4966 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4967 Re-write in a way that is easier for the inliner to work with.
4968 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4970 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4972 * bits/locale_facets.tcc: Tweaks.
4973 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4975 * bits/localefwd.h: And here.
4976 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4977 * bits/ostream.tcc: Put here.
4979 Frank Ch. Eigler <fche@cygnus.com>
4980 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4982 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4984 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4985 in and out buffers update independantly.
4987 * bits/basic_ios.h: Minor formatting.
4988 * bits/fstream.tcc (std): Fix indentation.
4990 1999-12-08 Chip Salzenberg <chip@valinux.com>
4992 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4993 after corresponding eof() functions, so they're easier for the
4995 * bits/locale_facets.h (money_base::__default_pattern): Move
4996 static variable out of inline functions.
4997 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4998 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5000 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5002 * bits/std_fstream.h (filebuf::open): Tweak.
5003 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5004 * bits/std_ios.h: Minor tweaks for headers.
5006 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5008 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5009 * src/string-inst.cc: Add guards . . .
5010 * src/misc-inst.cc: And here.
5011 * bits/std_sstream.h: And here.
5012 * bits/std_fstream.h: And here.
5013 * bits/std_streambuf.h: And here.
5014 * bits/std_istream.h: And here.
5015 * bits/std_ostream.h: And here.
5017 1999-12-06 Scott Snyder <snyder@fnal.gov>
5019 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5021 (basic_istream::readsome): And here as well.
5022 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5025 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5027 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5028 necessarily an `int'.
5030 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5032 * mknumeric_limits: Don't use $CXXFLAGS when building
5033 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5034 generally instructs the compiler not to emit template
5035 instantiations and we end up with undefined symbols. Sigh.
5037 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5039 * bits/locale_facets.tcc: Tweak.
5040 (_S_format_long): Adjust showpos formatting for hex and oct.
5041 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5042 and oct by formatting as unsigned.
5043 (operator<<(int)): Same here.
5044 * bits/ostream.tcc (operator<<(long)): Same.
5045 (operator<<(long long)): Same.
5046 (_S_pad_char): Actually treat ios_base::internal as something
5047 worth doing correctly. Remove const designation on ios argument.
5048 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5049 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5051 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5053 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5055 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5057 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5059 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5060 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5061 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5062 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5063 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5065 (ostream::operator<<(_CharT)): Fix.
5067 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5068 see if this will increase compile speed.
5069 * bits/std_ostream.h: Likewise. . .
5070 * bits/std_istream.h: And here.
5071 * bits/std_fstream.h: And here.
5072 * src/misc-inst.cc: Add relevant header file includes for
5073 instantiation purposes.
5074 * src/string-inst.cc: And here.
5075 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5077 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5079 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5080 * bits/istream.tcc (get(streambuf)): More fixes.
5081 (istream::ignore): Get specific about numeric_limits<int>::max()
5084 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5085 (filebuf::close): Same.
5086 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5088 1999-12-01 Phil Edwards <pedwards@jaj.com>
5090 * mkcheck: Support for compilation/execution timing.
5091 * testsuite/printnow.c: New file.
5093 1999-12-01 Phil Edwards <pedwards@jaj.com>
5095 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5096 * configure.in: Test for presence of wchar.h before testing
5097 for any of its features.
5098 * configure: Regenerate.
5100 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5102 Preliminary istream validations complete.
5103 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5104 formatting more consistent. Removal of if-statements inside of for
5109 * bits/std_istream.h: Same.
5110 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5111 * testsuite/27_io/stringbuf.cc: Tweak.
5112 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5114 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5115 failbit on failure, as per 27.6.2.5.2.
5117 * stl/bits/std_vector.h: Allow bool specializations. Should move
5118 ext/std_bvector to bits, not ext, maybe.
5120 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5122 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5123 * configure: Regenerate.
5125 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5127 * bits/istream.tcc (get(streambuf, char)): Fix.
5128 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5130 1999-11-29 Scott Snyder <snyder@fnal.gov>
5132 * bits/basic_string.h (append(const _Char*, size_type)): The
5133 length of the appended string is given exactly by the second arg,
5134 regardless of the data in the character array.
5135 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5136 _Alloc&)): Likewise.
5137 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5138 of basic_string::append.
5140 1999-11-29 Chip Salzenberg <chip@valinux.com>
5142 * Makefile.in: Tweaks for CXXFLAGS.
5143 * */Makefile.in: Same.
5145 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5147 * conficd bgure.in: Check for wide character support.
5148 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5149 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5150 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5152 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5154 * acinclude.m4: Fix typo.
5155 * src/complex.cc: Fix macro line continuation.
5157 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5159 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5160 string literals in format, as used in locale-facets.tcc.
5162 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5164 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5165 * bits/istream.tcc (istream::get): Extract to argument minus one.
5166 Various tweaks and fixes.
5168 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5170 * bits/locale_facets.tcc: Workaround for compiler crash on
5173 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5175 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5176 * configure.in: Use.
5177 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5178 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5179 * bits/std_complex.h: Use.
5180 * src/complex.cc: Use.
5182 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5184 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5185 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5186 * testsuite/22_locale/ctype.cc: Likewise.
5187 * testsuite/23_containers/multiset.cc: Likewise.
5188 * testsuite/23_containers/vector_ctor.cc: Likewise.
5189 * testsuite/26_numerics/binary_closure.cc: Likewise.
5190 * testsuite/27_io/fpos.cc: Likewise.
5191 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5192 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5193 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5194 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5195 * testsuite/27_io/istream_sentry.cc: Likewise.
5196 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5197 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5198 * testsuite/27_io/streambuf.cc: Likewise.
5199 * testsuite/27_io/stringstream.cc: Likewise.
5201 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5203 * bits/valarray_meta.h: Don't forget to define tanh
5205 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5207 * src/stl-inst.cc: Use typedef to refer to iterator
5208 * stl/bits/stl_algobase.h: Add traits based dispatch for
5209 __normal_iterator in the copy()algorithm
5210 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5212 1999-11-18 Kevin Ediger <kediger@licor.com>
5214 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5215 constructors for locale::_Impl exception safe.
5217 1999-11-18 Scott Snyder <snyder@fnal.gov>
5219 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5220 _Sequence template argument of priority_queue<> as vector<>, not
5223 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5225 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5227 * bits/sstream.tcc: Adjust here too.
5229 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5231 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5232 * bits/istream.tcc (operator>>): Replace iostate(0) with
5233 iostate(ios_base::goodbit), which is the same thing, but hopefully
5235 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5236 libraries issue list 17.
5237 (do_gets): Don't set goodbit explicitly, instead only set on
5238 failures as good bit is the default setting.
5239 * bits/ios_base.h (setf): Set correctly.
5240 * bits/fstream.tcc: Tweak.
5241 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5242 in|out bufs that are empty. . .
5243 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5245 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5247 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5248 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5249 Add comments "all about _M_buf."
5250 (setg): Set _M_mode.
5252 1999-11-16 Kevin Ediger <kediger@licor.com>
5254 * bits/locale_facets.tcc (_S_build_float_format): New function.
5255 (_S_output_float): New function.
5256 (num_put::do_put(double)): Use 'em.
5257 (num_put::do_put(long double)): Use 'em.
5258 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5260 1999-11-15 Scott Snyder <snyder@fnal.gov>
5262 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5263 match how libio is calling us.
5264 * src/basic_file.cc (sys_seek): Likewise.
5265 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5267 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5269 * docs/17_intro/contribute.html: Add link to assignment form.
5270 * docs/17_intro/libstdc++-assign.txt: New file.
5272 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5275 * bits/std_streambuf.h (_M_buf_bump): New function.
5276 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5277 (xsputn): Here. Also add checks for output valid.
5278 (xsgetn): Add checks for input valid.
5280 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5281 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5282 Set _M_out_end to variable-length-end.
5283 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5286 * bits/fstream.tcc (std): Tweak formatting.
5287 (filebuf::overflow): Simplify.
5288 (filebuf::showmanyc): Same.
5289 (filebuf::underflow): Same.
5290 * testsuite/27_io/filebuf.cc: Fix.
5291 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5292 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5293 * testsuite/27_io/stringbuf.cc: Tweak.
5294 * testsuite/27_io/streambuf.cc: Tweak.
5295 * testsuite/27_io/istream_extractor_other.cc: Fix.
5297 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5299 * stl_deque.h: Use static_casts<size_type>(signed_type).
5301 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5303 Cleanups for callbacks, more regression hunting. Remaining
5304 failures (1) due to last unresolved stringstream issues, not
5306 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5307 killing 27_io/filebuf.cc tests. . . need another solution.
5309 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5310 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5312 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5313 foils all attempts at a graceful, minimal implementation.
5314 * bits/basic_ios.tcc: Tweaks.
5315 * bits/istream.tcc: Fix.
5316 * bits/ostream.tcc: Fix.
5317 * bits/std_istream.h: Fix.
5318 * bits/std_ostream.h: Fix.
5319 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5321 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5322 (_S_pad_numeric): Make comprehensible.
5324 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5326 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5327 (_S_ostream_fcache): New function.
5328 Move functions out-of-line.
5329 * bits/ostream.tcc: Put here.
5331 * bits/std_istream.h: Add callbacks for _M_fnumget.
5332 (_S_istream_fcache): New function.
5333 Move functions out-of-line.
5334 * bits/istream.tcc: Put here.
5336 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5337 _M_call_callbacks(), as ios_base::imbue does this already.
5338 * src/ios.cc (register_callback): Clean.
5339 (_M_call_callbacks): Same.
5340 * bits/ios_base.h: Callback work.
5341 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5343 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5344 Matthias Klose <doko@cs.tu-berlin.de>
5346 * stl/ext/stl_rope.h: Fix initialization order.
5348 1999-11-09 Scott Snyder <snyder@fnal.gov>
5350 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5351 _M_file->sync() so that redirection works correctly.
5353 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5355 * bits/istream.tcc: Re-order.
5356 * bits/std_istream.h: Fix getline problems.
5357 * testsuite/27_io/istream_unformatted.cc: New tests.
5359 Clean up regressions.
5360 * bits/std_sstream.h: Set initial stringbufs correctly.
5362 1999-11-09 Scott Snyder <snyder@fnal.gov>
5364 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5366 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5369 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5371 * src/Makefile.am (CXXFLAGS): Add -Winline.
5372 * src/Makefile.in: Regenerate.
5374 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5376 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5377 building meta-expressions don't forget to take the contained
5380 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5382 * configure: Regenerate.
5384 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5386 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5388 * bits/valarray_meta.h (min): Likewise.
5389 * bits/valarray_meta.h (max): Likewise.
5391 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5393 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5394 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5395 * bits/streambuf.tcc: Define.
5396 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5397 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5398 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5399 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5401 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5402 reported by Richard Atterer.
5403 * bits/char_traits.h: For consistency's sake, here too.
5405 * configure.in: Bump version to 2.90.7.
5407 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5409 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5410 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5411 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5413 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5414 writing into buffer.
5417 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5419 * bits/valarray_array.h (__valarray_sum): New function.
5420 * bits/valarray_array.h (__valarray_product): Same.
5422 * bits/std_valarray.h (valarray<T>::product): Comment out.
5423 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5424 instead of accumulate.
5426 * src/valarray-inst.cc: Remove explicit intantiation of
5427 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5428 * src/valarray-inst.cc (__valarray_product): Instantiate
5430 * src/valarray-inst.cc (__valarray_product(const
5431 valarray<size_t>&)): New function.
5432 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5433 valarray<size_t>::product. Use __valarray_product instead.
5436 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5438 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5439 (_S_pad_char): New function. Not done: ios_base::internal.
5440 * bits/ostream.tcc: Clean for above.
5441 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5442 specialization that was commented out, as ostreams now have to
5443 correctly deal with padding.
5444 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5446 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5447 from mailing list. This is a bug, and should be fixed.
5448 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5450 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5452 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5453 to avoid conflict with gcc name mangling.
5454 * stl/bits/stl_algo.h (__transform): Same.
5456 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5458 * bits/ios_base.h: Change argument names.
5459 * docs/17_intro/BADNAMES: Add __opr.
5461 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5463 Work on compilation slowdowns from 10-5 to 10-12, which are
5464 related to the _Callback_list inlining/merge-ifcation, which is
5465 still a pending issue, but this stuff is necessary cleanup anyway.
5467 * src/ios.cc: Re-arrange.
5468 * bits/ios_base.h: Tweak.
5469 * bits/basic_ios.tcc: Move out of line definitions here, move
5470 small out-of-line definitions inline.
5471 * bits/basic_ios.h: From here.
5473 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5474 * bits/std_streambuf.h: From here.
5476 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5478 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5479 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5480 * bits/istream.tcc (operator>>(istream&, string&): Remove
5481 vestigial issspace hacks and use ctype::is instead.
5482 (getline): Remove unnecessary loops, fortify and pasteurize.
5485 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5487 * bits/istream.tcc (operator>>): Tweak.
5488 * bits/std_istream.h: Fix according to library issues list 68.
5491 * bits/locale_facets.h: Fix table_size to be non-zero.
5493 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5495 * src/basic_file.cc: ifdef instead of comment for binary mode
5497 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5499 * bits/std_sstream.h: Stringbuf initialization based on actual,
5500 not allocated, size.
5501 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5504 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5506 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5507 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5509 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5511 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5513 * bits/std_istream.h: Tweaks.
5514 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5515 as per issues list addition--set failbit, eof on empty buffers.
5516 * testsuite/27_io/istream_sentry.cc: New file.
5518 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5520 * bits/std_cstdio.h: Remove Solaris hacks.
5522 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5524 * docs/index.html: Fix minor typos and tweaks.
5525 * docs/17_intro/contribute.html: Ditto.
5526 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5527 thread safety and binary I/O, links to external sites.
5528 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5531 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5533 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5534 ::fabs(double) rather than ::abs(int).
5536 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5538 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5539 *gptr(), not the result of underflow.
5540 (pbackfail): Conform to default behavior.
5542 * bits/streambuf.tcc: Add out-of-line streambuf members.
5545 * testsuite/27_io/streambuf.cc: New file.
5546 * testsuite/27_io/filebuf.cc: Correct test.
5548 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5550 * bits/std_cmath.h: Correctly cast int to double.
5551 * testsuite/26_numerics/c_math.cc: Add test.
5553 * mknumeric_limits (OUT_C): Tweaks.
5554 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5555 trying to instantiate type_traits<wchar_t>.
5556 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5557 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5558 * configure: Regenerate.
5560 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5562 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5563 (streambuf::xsputn): Put in break.
5564 Aiming for parity between these two (mostly) similar functions.
5565 Need to re-write tests.
5567 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5568 Make data members protected, not private.
5569 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5570 ios_base.h. As called only once, collapse into . . .
5571 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5572 (basic_ios::clear): Throw ios_base::failure on occasion.
5573 (basic_ios::exceptions): Fix.
5574 * testsuite/27_io/ios_members.cc (test02): Add tests.
5576 * bits/fpos.h: Default initialize.
5577 * testsuite/27_io/fpos.cc (test03): Add test.
5579 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5581 * src/basic_file.cc: Fix open modes.
5583 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5585 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5587 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5589 * bits/streambuf.tcc: Yea. Fix this for real.
5590 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5591 * src/Makefile.*: Regenerate.
5593 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5595 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5596 files so that stdtof and strtold will be declared. Some hacks
5597 already exits in bits/std_cctype.h -- these should all be removed
5599 * bits/locale_facets.tcc: Add cstring.h include.
5600 _S_format_long: Use long, not int.
5601 Add std_limits.h include, for numeric_limits.
5602 * testsuite/27_io/istream.cc: Make instantiations work when using
5604 * testsuite/27_io/ostream.cc: Same.
5606 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5608 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5609 a reference. Same for operators == and !=.
5610 * testsuite/27_io/fpos.cc: Add tests.
5612 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5614 * bits/valarray_array.h: Fix typo.
5616 * mknumeric_limits: Make sure we are regenerating things from
5617 scratch. Otherwise things get redefined. Not good.
5619 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5621 * bits/std_ostream.h: Fix typo.
5622 * bits/std_istream.h: Same.
5623 * bits/std_iomanip.h: Same.
5625 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5626 ostream, as happens with underflow anyway.
5627 * testsuite/27_io/istream.cc (main): New file.
5628 * testsuite/27_io/ostream.cc (main): New file.
5629 * testsuite/27_io/istream_unformatted.cc: Add tests.
5631 * src/Makefile.am (headers): Add new file.
5632 * src/Makefile.in (headers): Regenerated.
5634 * bits/basic_ios.h: Remove local-related files.
5635 * bits/basic_ios.tcc: New file, add locale-related items.
5636 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5637 * testsuite/27_io/ios_members_static.cc: Change to
5638 * testsuite/27_io/ios_base_members_static.cc: This.
5639 * testsuite/27_io/ios_members.cc: New file.
5640 * testsuite/27_io/stdios_basefield_manip: Change to
5641 * testsuite/27_io/ios_manip_basefield.cc: This.
5642 * testsuite/27_io/stdios_fmtflags_manip: Change to
5643 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5645 * bits/fpos.h: Fix discarding qualifiers on this when
5646 using _M_position with a const fpos.
5647 * bits/std_iosfwd.h: Tweak.
5648 * testsuite/27_io/fpos.cc: New file.
5650 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5652 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5653 * bits/ostream.tcc: Tweak.
5654 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5655 Add new regressions.
5657 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5659 * bits/basic_ios.h: Inline, tweak.
5660 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5661 pass back accurate return value to basic_filebuf::overflow.
5662 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5663 This fixes sstream problems reported in libstdc++/9, but screws up
5664 filebufs. That solution is pending.
5666 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5668 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5670 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5672 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5674 * bits/c++config.h.in: Add emacs hints.
5676 * stl/bits/stl_range_errors.h: Don't define here, for now define
5677 in stdexcept.cc along with string inlines __length_error, etc.
5678 * src/stdexcept.cc: Define here.
5679 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5680 at(size_t) will be declared/defined.
5681 (__STL_THREADS): Fix mess surrounding use of this, enable.
5683 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5685 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5686 * src/localename.cc: Tweak formatting, fix assignment to
5687 const compiler errors.
5689 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5691 * acconfig.h: Add absf, cosf.
5692 * configure.in (use_builtin_sinf): Same.
5693 * configure: Regenerate.
5694 * bits/std_cmath.h: Add mess of defines.
5695 * testsuite/26_numerics/modf_float.cc: Change to
5696 * testsuite/26_numerics/c_math.cc: This.
5698 * src/locale.cc: Change.
5699 * bits/locale_facets.h: Fix.
5700 * testsuite/22_locale/ctype.cc: Add temporary tests.
5702 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5704 * bits/fpos.h: Test.
5706 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5707 Fix database name for "libstdc++".
5709 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5711 * mknumeric_limits (numeric_limits): Add default definitions to
5713 * testsuite/18_support/numeric_limits.cc: New file.
5715 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5717 * bits/std_istream.h: Correct initialization.
5718 * bits/std_ostream.h: Likewise.
5719 * bits/std_sstream.h: Likewise.
5720 * bits/std_fstream.h: Likewise.
5721 * testsuite/27_io/stringstream.cc: Add test case.
5723 * bits/std_sstream.h: Replace ____string_type with __string_type.
5724 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5725 * bits/std_ostream.h: Tweak dtor.
5727 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5729 * src/Makefile.am (CXXFLAGS): Add -O2.
5730 * src/Makefile.in: Likewise.
5732 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5734 * mknumeric_limits (numeric_limits): Uglify.
5736 * bits/std_istream.h: Fix warnings.
5737 * bits/locale_facets.tcc: Collateral damage from
5738 char_traits<char>::int_type change.
5740 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5742 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5744 * docs/index.html: Add mailing list form.
5745 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5747 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5749 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5750 if overflow successfully allocates more space.
5751 * bits/std_sstream.h: Adjust comments.
5752 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5753 before overflow forces a resize.
5754 * testsuite/27_io/ostream_inserter_char.cc: New file.
5756 * bits/std_fstream.h: Remove declaration.
5757 * bits/fstream.tcc: Move uflow.
5758 * bits/std_streambuf.h: To here.
5759 * bits/streambuf.tcc: Make consistent.
5761 * src/Makefile.am (WERROR): Enable.
5762 * src/Makefile.in: Regenerate.
5763 * bits/sbuf_iter.h: Tweak.
5764 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5765 Use unsigned int as char_traits<char>::int_type.
5767 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5768 * testsuite/27_io/iostream_objects.cc: Terminate string.
5769 Move cin::operator>>(char*) test to extractor_char.cc.
5770 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5771 * bits/std_istream.h (basic_iostream): Make explicit definition
5773 * bits/std_sstream.h: Fix typos.
5774 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5775 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5776 initialized in a consistent manner, no matter if the underlying
5777 FILE/bit bucket is a tty or a text file or some other imaginary
5778 construct. This and setting _M_buf_size to 1 for cin allows
5779 istream::get(char) to work in a manner consistent with what others
5782 * docs/index.html: Link Stroustrup's C++ page.
5784 1999-08-12 Michael Cook <cook@sightpath.com>
5786 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5787 * bits/istream.tcc: ditto.
5788 * bits/sbuf_iter.h: ditto.
5789 * bits/std_istream.h: ditto.
5790 * src/Makefile.am: Add -Wall to CXXFLAGS.
5791 * src/Makefile.in: ditto.
5793 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5794 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5796 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5797 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5799 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5801 * testsuite/27_io/istream_unformatted.cc: New file.
5803 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5804 elaborate tests for int types with noskipws.
5806 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5807 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5808 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5809 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5810 * bits/istream.tcc: Fix operator>>(streambuf*).
5812 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5814 * docs/index.html: Remove references to egcs.
5815 * docs/17_intro/DESIGN: Same.
5816 * docs/17_intro/contribute.html: Same.
5817 * docs/17_intro/RELEASE-NOTES: Ditto.
5818 * docs/17_intro/howto.html: Same here.
5820 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5821 * stl/bits/stl_vector.h (_M_insert_aux):
5822 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5823 decimal/floating point support.
5824 * bits/locale_facets.h: Change _M_extract prototype.
5825 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5826 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5828 1999-08-10 Michael Cook <cook@sightpath.com>
5830 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5831 * bits/ios_base.h: ditto.
5832 * bits/istream.tcc: ditto.
5833 * bits/locale_facets.h: ditto.
5834 * bits/locale_facets.tcc: ditto.
5835 * bits/std_streambuf.h: ditto.
5836 * src/basic_file.cc: ditto.
5837 * src/locale.cc: ditto.
5838 * src/localename.cc: ditto.
5840 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5842 * bits/std_iomanip.h: Inline.
5844 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5846 * bits/std_streambuf.h: Correct member initialization order.
5847 * src/ios.cc: Add definitions for ios_base data members.
5849 1999-08-06 Phil Edwards <pedwards@ball.com>
5851 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5852 * docs/faq/index.html: Ditto. Removed bugs sections that have
5853 been fixed for a long time... Lots of "egcs" references still
5855 * docs/faq/index.txt: Regenerated.
5857 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5858 Andreas Amann <amann@physik.tu-berlin.de>
5860 * testsuite/26_numerics/binary_closure.cc (main): new test.
5862 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5864 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5867 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5869 * docs/index.html (host): Put in testing status.
5871 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5873 * docs/index.html: Update for libstdc++-2.90.6 release.
5874 * docs/17_intro/RELEASE-NOTES (New): Update.
5875 * docs/17_intro/BUGS: Update.
5876 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5877 * README (file): Update.
5879 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5881 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5883 ($(generated_headers)): Same.
5884 * src/gen-c++config.cc: Remove, rename to
5885 * bits/c++config.h.in: New file. Bump version number.
5886 * configure.in: Generate bits/c++config.h at configure time.
5887 * math/mathconf.h: include bits/c++config.h, not config.h.
5889 * bits/std_cmath.h: Fix remaining link error for solaris shared
5890 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5891 being, as on Solaris this silently calls sinf, which does not
5894 * src/complex.cc: More tweaks.
5896 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5898 * src/complex.cc: Same.
5899 * math/complex-stub.h: Change.
5900 * math/c_log10*.c: Change back to clog10*.c.
5902 * configure.in (NEED_C_LOG10): Delete.
5903 * configure: Regenerate.
5904 * math/Makefile.am: Change.
5906 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5908 * math/Makefile.am: Fix, for real.
5909 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5910 * math/clog.c: Move to c_log.c.
5911 * math/clog*: Ditto.
5912 * math/c_log10l.c (c_log10l): Change function name.
5913 * math/c_log10f.c (c_log10f): Change function name.
5914 * math/c_log10.c (c_log10): Change function name.
5916 * math/complex-stub.h: Change to c_log* variants.
5917 * src/complex.cc: And here.
5919 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5921 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5922 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5923 sequence, just the output sequence.
5924 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5925 the original string, all others use complicated heuristic.
5927 * src/complex.cc: Assume c_log10.
5928 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5929 symbols in shared libraries by making c_log/c_log10 part of the
5930 "must cmpile" sources. This may not work on solaris, must check.
5932 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5934 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5935 * bits/std_istream.h: Fix char extractors.
5936 * testsuite/27_io/istream_extractor_char.cc: Change.
5937 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5939 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5941 * bits/std_cctype.h: Fix for solaris2.6 builds.
5943 * bits/istream.tcc: Fix, thanks Alfred.
5944 * bits/std_istream.h: Formatting changes.
5946 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5947 _IO_cleanup will not be undefined.
5948 * libio/*: Regenerate.
5950 * bits/basic_string.h: More namespace-safety stuff.
5951 * testsuite/27_io/istream_extractor_char.cc: Fix.
5952 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5953 * testsuite/27_io/iostream_objects.cc: Fix.
5954 * testsuite/27_io/ios_ctor.cc: Fix.
5955 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5956 * testsuite/27_io/istream_extractor_other.cc: New file.
5958 * mkcheck (TESTS_FILE): Tweaks.
5960 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5962 * src/gen-c++config.cc: Note here, change version.
5963 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5964 * src/locale.cc: Used here.
5965 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5967 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5969 * bits/istream.tcc: Fix.
5970 * bits/std_istream.h: More changes to extractors.
5972 * testsuite/27_io/istream_extractor_char.cc: More.
5973 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5974 error in testsuite construction.
5976 * bits/std_istream.h: Partially revert.
5977 * bits/std_ostream.h: Same.
5978 * bits/std_sstream.h: Revert.
5980 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5982 * bits/std_sstream.h: Change initialization.
5983 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5984 * bits/std_istream.h: Same, also correct sentry args.
5985 * bits/istream.tcc: Add correct sentry args.
5987 * testsuite/27_io/istream_extractor_char.cc: New file.
5988 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5989 name changes making me dizzy.
5991 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5992 Benjamin Kosnik <bkoz@cygnus.com>
5994 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5997 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5999 * bits/std_complex.h: Tweak. Make the primary template class
6000 complex work with user-defined numerical types. Provide member
6001 definitions. Restructure.
6002 (class complex<float>): Uglify. Remove __value(). Rename __val
6003 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6004 private. Remove dependency on __value(). Fix various explicit
6005 specialization syntax. Declare a some functions friend. Now the
6006 implementation is nearly comforming.
6007 (class complex<double>): Likewise.
6008 (class complex<long double>): Likewise.
6010 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6011 (sin, sinh, tan, than): Fix call to corresponding C9x function
6014 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6016 * bits/istream.tcc (ws): Fix error with failbit being set.
6018 Disabled due to egcs/gcc-2_95 internal compiler errors.
6019 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6020 -fnew-exceptions. Compiling with namespaces enabled will now be
6022 * mkcheck (CXX_FLAG): Same.
6023 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6024 * bits/std_cctype.h: Not enough to just define in namespace std if
6025 ctype-isms are macros. Need to also define in namespace std:: if
6026 the C functions are just plain functions.
6028 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6030 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6032 * docs/18_support/howto.html: Start documentation. Need to keep
6033 track of the ongoing discussion in th LWG reflector.
6035 * src/gen-num-limits.cc: Tweak.
6036 (class predicate): New class.
6037 (class value): Likewise.
6038 Make the whole machinery more flexible. Add comments.
6040 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6042 * bits/ios_base.h: Move state/exception functions into basic_ios.
6043 * bits/basic_ios.h: Same.
6044 * src/ios.cc: And here. Callbacks don't attempt to reset
6047 * bits/std_streambuf.h: Separate ios and streambuf locale data
6048 members and cached facets. Using this convention: _M_locale_buf for
6049 the streambuf-related classes, and _M_locale_ios for the ios
6051 * bits/fstream.tcc: And here.
6052 * bits/basic_ios.h: And here. Also, add cached ctype.
6053 * src/ios.cc: Ditto.
6054 * bits/ios_base.h: Ditto.
6055 * bits/std_istream.h: Use cached ctype facet.
6056 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6059 * testsuite/27_io/ios_ctor.cc: New file.
6060 * src/ios.cc: Move _M_state init to basic_ios::init().
6061 * bits/basic_ios.h: To here.
6063 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6064 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6065 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6066 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6067 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6069 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6071 * src/ios.cc: Tweak initializations of standard iostream
6072 objects to closely match the standard. Tie cin/wcin, set flags on
6074 * bits/char_traits.h: Change from size_t to int_type, as per
6075 standard. As per wide streams.
6076 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6077 for caching a bunch of ctype info. For instance, ctype_base::space
6078 info needs to be stored somewhere, somehow.
6079 * bits/std_istream.h: Also here.
6080 * bits/std_ostream.h: Ditto.
6081 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6082 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6085 * bits/istream.tcc (ws): Fix.
6086 * testsuite/27_io/istream_manip.cc: New file, test ws.
6087 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6089 * bits/basic_string.h: Provide a specialized member function for
6090 _S_find<char> using strchr.
6091 * src/string-inst.cc: Put specializations here.
6092 * bits/string.tcc: Small fix for find, remove typo.
6093 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6096 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6098 * bits/basic_ios.h: Put into basic_ios namespace.
6101 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6103 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6104 adjust _M_*_cur pointers inside the function, so callee doesn't
6106 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6108 * mkcheck: Tweak. Add execution time field, even though it is not
6109 implemented yet. Simplify pass/fail status notation.
6111 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6113 * configure.in: Check for float.h and underscored version of
6115 * acconfig.h: Add @BOTTOM@ section for handling underscored
6117 * configure: Regenerate.
6118 * config.h.in: Regenerate.
6119 * math/mathconf.h (float.h): Include conditionally.
6120 (M_PI): Define conditionally.
6121 (INFINITE_P): Define for Mingw.
6122 * bits/locale_facets.tcc: Workaround for compiler crash on
6124 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6125 * src/locale.cc (bits/std_istream.h): Include.
6126 (bits/std_ostream.h): Likewise.
6128 1999-07-18 Phil Edwards <pedwards@ball.com>
6130 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6131 * docs/faq/index.txt: Regenerated.
6133 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6135 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6137 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6138 newly-allocated buffer.
6139 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6140 overflow condition bits.
6142 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6144 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6145 _M_buf_size to initial _M_string.size(), even though for
6146 ostringstreams it is pretty pointless. It's necessary for
6148 (stringbuf::str()): Adjust.
6149 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6150 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6151 overflow's possible success.
6152 (streambuf::xsputn): Adjust.
6154 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6156 * testsuite/27_io/stringbuf.cc: Tweak.
6157 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6159 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6160 with other constructor tests to. . .
6161 * testsuite/23_containers/vector_ctor.cc: New file.
6163 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6165 * testsuite/*: Changes to make the testsuit compilable with
6166 -fhonor-std. Contains direct qualification of library names with
6169 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6171 * bits/streambuf.tcc: Tweaks.
6172 (streambuf::xsputn): Optimize, fix for sstreams.
6173 (streambuf::xsgetn): Same.
6174 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6175 correctly, handle overflow/reallocate conditions correctly.
6176 * bits/std_sstream.h: Fix typo.
6177 _M_init_stringbuf(): Fix _M_buf_size initialization.
6178 (stringbuf::str()): Construct return string if output has occurred.
6180 * bits/basic_string.h: Fix typo from yesterday's patch.
6182 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6184 * bits/string.tcc: _M_mutate - clear _M_state again.
6185 * bits/basic_string.h: In the three functions that return
6186 an iterator set _M_state to -1 before return.
6187 Also optimized two cases of operator+.
6189 1999-07-12 Phil Edwards <pedwards@ball.com>
6191 * docs/index.html: Expand egcs-1.1.2 notes/links.
6192 * docs/faq/index.html: And here. Add links to LWG issues-list.
6193 * docs/faq/index.txt: Regenerate. (lynx rocks)
6194 * docs/21_strings/howto.html: Fix notes on case conversion.
6195 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6196 * docs/23_containers/howto.html: Stub for bitmasks.
6197 * docs/27_io/howto.html: Add section on buffering, stub binary.
6199 1999-07-12 Nathan Myers <ncm@cantrip.org>
6201 * stl/bits/stl_tree.h (__black_count): Optimize.
6203 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6205 * src/basic_file.cc: Cleanup in __basic_file destructor.
6207 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6209 * bits/std_streambuf.h: Changes. . .
6210 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6211 basic_streambuf, to be used for both filebufs and streambufs.
6212 * bits/std_fstream.h (_M_init_filebuf): New function.
6213 Take out specialized xsputn, put into basic_streambuf.
6214 * bits/fstream.tcc: Define, call from both ctors.
6215 * bits/std_sstream.h (_M_init_stringbuf): New function.
6216 * bits/sstream.tcc: Tweak.
6218 * docs/27_io/iostreams_heirarchy.pdf: New file.
6220 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6221 acceptance. Wooo-hoo!
6223 * bits/char_traits.h: Change int_type for char_traits general
6224 template, so that 21_strings/capacity.cc will compile.
6225 * testsuite/21_strings/capacity.cc: Add operators.
6227 * bits/string.tcc (string::compare): Clean up, re-implement.
6228 * testsuite/21_strings/compare.cc: Tweak.
6230 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6231 _M_state, which means that whenever begin() or end() has been
6232 called, the string is unshareable, period. By doing this, insert
6233 and erase member functions that return iterators can remain
6234 footloose and fancy free.
6235 * testsuite/21_strings/invariants.cc: Update.
6237 * bits/basic_string.h (string::append): Fix self-referential
6238 problems, ie when "this" is also an argument to a member function.
6239 * bits/string.tcc: Tweak, same.
6240 * testsuite/21_strings/append.cc: New file.
6242 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6244 * bits/char_traits.h: Tweaks.
6245 * bits/basic_string.h: Tweak.
6246 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6248 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6250 * bits/std_streambuf.h: Absorb/acquire data members previously
6251 working in basic_filebuf.
6252 * bits/streambuf.tcc: Tweaks.
6253 * bits/fstream.tcc: Adjust.
6254 * bits/std_fstream.h: Move and rename the following functions:
6255 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6256 now declared and defined in the base class, basic_streambuf. Oh
6257 fuck it, move data members _M_buf, and _M_buf_size into
6258 basic_streambuf as well.
6260 * bits/ostream.tcc: Tweak.
6261 * bits/locale_facets.tcc: Fix typo in comments.
6263 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6264 state from good to not good, as eof() is set.
6266 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6268 * bits/char_traits.h (char_traits::compare). Fix.
6270 * config.guess, config.sub: Update.
6272 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6274 * bits/string.tcc: Check the __res_arg for a length error.
6276 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6278 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6279 and related functions into basic_streambuf, from basic_filebuf to
6280 take care of ostringstreams and empty strings. So that's groovy,
6282 * bits/std_istream.h: Tweaks.
6283 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6284 * bits/std_ostream.h: And here.
6285 * bits/ostream.tcc: Same.
6286 * src/misc-inst.cc: Add instantiations for ws.
6288 * src/string-inst.cc: Add instantiations for inserters and
6289 extractors (operators << and >>, getline).
6291 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6292 a testcase for getline and operators << and >>. Ostream tests are
6293 failing right now, but istream tests should work. . .
6295 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6296 * bits/std_sstream.h: Revert.
6298 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6299 istream, ostream, streambuf, fstream, sstream].cc: New files.
6301 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6303 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6306 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6307 specializations for _CharT*, iterator and const_iterator.
6308 * src/string-inst.cc: Remove explicit instantiation, as
6309 now explicitly specialized.
6311 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6312 a default value set to 0.
6313 * bits/string.tcc: In _M_clone by the call of _S_create add the
6314 value of the new parameter to _M_length. In reserve check
6315 _M_state and use _M_clone instead of _M_mutate.
6317 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6319 * bits/basic_string.h: Fix _S_max_size.
6320 * bits/string.tcc: Add def here.
6321 * testsuite/21_strings/insert.cc: Fix.
6323 * bits/sbuf_iter.h: Remove detritus.
6324 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6326 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6327 to resolve alpha-osf4 build problems.
6329 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6331 * bits/string.tcc: Fix signed/unsigned issues in compares.
6332 * stl/bits/stl_deque.h: And here.
6333 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6335 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6337 * bits/string.tcc: New implementation and interface of _M_mutate.
6338 Adapt the change in all functions that call _M_mutate.
6339 * bits/basic_string.h: And here.
6341 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6343 * testsuite/21_strings/capacity.cc (test01): Fix.
6345 1999-06-29 Phil Edwards <pedwards@ball.com>
6347 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6349 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6351 * stl/bits/stl_vector.h: Fix.
6352 * testsuite/23_containers/vector_cons.cc: Add.
6354 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6356 * mknumeric_limits (LDFLAGS): fix.
6358 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6360 * mknumeric_limits (LDFLAGS): set it according to the system.
6362 * math/mathconf.h (NAN): Check whether host is running under
6363 Cygwin and make the appropriate definition.
6364 * math/complex-stub.h (nan): protect declaration.
6366 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6368 * bits/sbuf_iter.h: Rename internal data structure to prevent
6369 confusion between basic_ios and istreambuf_iterators internal
6370 basic_streambuf data member.
6371 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6373 * bits/basic_string.h: Remove conditionals, add input_iterator
6374 version of S_construct again.
6375 * bits/string.tcc: Same.
6376 * src/string-inst.cc: And add explicit instantiation here.
6378 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6379 and __USE_GNU macro defines, as single __USE_GNU use leading to
6380 confusion on glibc2.1 systems (ie, RedHat 6.0).
6382 * src/Makefile.am (headers): Add std_utility to installed headers.
6384 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6386 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6388 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6390 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6392 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6394 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6395 macros to include _GLIBCPP as a distinct namespace.
6399 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6400 * bits/basic_string.h: Remove __get_c_string.
6401 * src/stdexcept.cc: Define ctor here.
6402 * bits/ios_base.h: And fix ios_base::failure as well.
6403 * src/ios.cc: Define here.
6405 * bits/std_streambuf.h: Add a private copy ctor and assignment
6406 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6407 * bits/ios_base.h: And here too.
6409 * bits/basic_string.h: Tweak.
6410 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6412 * src/valarray.cc: Rename to. . .
6413 * src/valarray-inst.cc: This.
6414 * src/Makefile.am (sources): Change here.
6415 * src/Makefile.in: Regenerated.
6417 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6419 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6422 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6423 Tom Tromey <tromey@cygnus.com>
6425 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6426 Use AM_CONDITIONAL to get us out of this jam. .
6427 * libio/Makefile.am: Same.
6428 * */Makefile: Regenerated.
6430 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6431 John Potter <jpotter@eagle.lhup.edu>
6433 * stl/bits/stl_tree.h (insert_equal): Fix.
6434 * testsuite/23_containers/multiset.cc: New file.
6436 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6438 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6439 this works correctly on glibc-2 systems. This should allow
6440 simplified linking on these systems, and successful linking on Red
6442 * configure, Makefile: Regenerate.
6444 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6446 * testsuite/ext: New directory.
6447 * testsuite/ext/headers.cc: New file.
6449 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6451 * stl/ext/hash_set: include missing headers
6452 * stl/ext/hash_map: Same
6453 * stl/ext/slist: Same
6455 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6457 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6459 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6461 * src/Makefile.am (sources): Regenerate.
6462 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6465 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6467 * src/string-inst.cc: Change _S_construct signature, to
6468 track requested allocation size versus valid input iterator range.
6469 * bits/basic_string.h: Here too.
6470 * bits/string.tcc: And here.
6472 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6474 * mkcheck (LOG_FILE): Correctly append errors.
6476 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6478 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6479 to clarify differences between basic_string::_M_data() calls and
6480 _Rep::_M_data() calls.
6481 * bits/std_string.h: Fix.
6482 Put in check for out_of_range in substr.
6483 * bits/string.tcc: Fix for _S_find.
6485 * testsuite/21_strings/compare.cc: Add tests.
6486 * testsuite/21_strings/find.cc: New file.
6487 * testsuite/21_strings/substr: New file.
6488 * testsuite/21_strings/replace.cc: New file.
6490 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6492 * bits/valarray_array.h: __restrict__ify pointers.
6494 * bits/std_valarray.h: Tweak.
6495 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6497 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6499 * bits/gslice.h: Tweak.
6500 (class gslice::_Indexer): new class.
6501 (gslice::gslice(const gslice&)): implement copy-ctor to support
6503 (gslice::operator=(const gslice&)): support ref-counted index.
6504 (gslice::_M_convert_to_index): delete.
6506 * src/valarray.cc: New file.
6507 (__gslice_to_index): turn a gslice into a valarray<size_t>
6508 (ctor gslice::_Indexer::_Indexer): implement.
6510 * src/Makefile.am (sources): add valarray.cc
6511 * src/Makefile.in: regenerate.
6513 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6515 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6516 ctor): Put in a const_cast.
6518 * testsuite/21_strings/invariants.cc: New file.
6520 * testsuite/21_strings/insert.cc: Add exception handling bits.
6521 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6523 * src/wstring-inst.cc: Add c++config.h include.
6525 * bits/basic_string.h: Fix const operator[] for size == pos.
6526 Add _M_leak for rbegin, non-const.
6527 Add _M_leak for rend, non-const.
6528 Make member function at standards conformant.
6529 Add _S_terminal to _Rep for operator[] const, add this into
6531 * bits/string.tcc: Add static member definition here,
6534 * testsuite/21_strings/element_access.cc: Add tests.
6536 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6538 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6541 1999-06-08 Phil Edwards <pedwards@ball.com>
6543 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6544 caused when __testinit is true.
6545 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6546 using rdbuf()->sputn rather than _M_fnumput->put.
6548 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6550 * testsuite/23_containers/bitset_ctor.cc: New file.
6551 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6553 1999-06-08 Phil Edwards <pedwards@ball.com>
6555 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6557 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6559 * testsuite/21_strings/element_access.cc: Finish off these tests.
6560 * testsuite/21_strings/insert.cc (test01): Uncomment.
6561 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6562 * bits/basic_string.h: Tweak, okay, fix for real this time.
6563 * bits/string.tcc: Same.
6564 * bits/char_traits.h: Tweak.
6566 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6568 * bits/std_cmath.h: Example of how to use the generated macro.
6569 * acconfig.h: Add macro for sinf here.
6570 * configure.in (LIBS): Add test for builtin math function sinf.
6571 * configure: Regenerated.
6573 * bits/basic_string.h: Fix _S_max_size.
6575 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6577 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6578 Remove _S_construct signature for forward_iterator_tag and
6581 * src/string-inst.cc: Same, tweaks.
6582 * bits/string.tcc: Same, tweaks.
6584 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6585 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6586 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6589 * src/locale.cc: Final separation for char/wchar_t bits.
6591 1999-06-05 Phil Edwards <pedwards@ball.com>
6593 * docs/index.html: Added link to book upon request'n'agreement.
6594 * docs/23_containers/wrappers_h.txt: Added.
6595 * docs/{23_containers,27_io}/howto.html: Added sections.
6597 * bits/std_fstream.h: Tweak.
6599 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6601 * src/ios.cc: Same here.
6602 * bits/std_iosfwd.h: More wchar_t defines.
6604 * bits/basic_string.h: Tweaks.
6605 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6606 when doing error checking, as per LWG defect #83.
6608 * src/gen-c++config.cc: Fix comment.
6610 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6612 * testsuite/21_strings/element_access.cc: New file, checks for
6613 operator[], at(...).
6614 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6615 * testsuite/21_strings/char_traits.cc: New file, tests
6616 for char_traits<char>.
6618 * bits/utility.h: Remove, again.
6619 * src/Makefile.am (std_headers): Remove utility.h.
6620 * src/Makefile.in (std_headers): Regenerate.
6622 Alfred Minarik <a8601248@unet.univie.ac.at>
6623 * bits/basic_string.h: Move __out_of_range and __length_error into
6626 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6628 * testsuite/26_numerics/modf_float.cc: New file.
6630 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6631 typo: use ::modff, not ::modf.
6633 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6635 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6637 * testsuite/21_strings/capacity.cc (test01): Test.
6639 1999-06-03 Phil Edwards <pedwards@ball.com>
6641 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6642 unused variables to within #if 0 blocks to do the same.
6643 * bits/std_fstream.h: Fix typos (one prevents compilation).
6645 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6647 * src/wstring-inst.cc: Fix.
6649 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6651 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6652 * stl/bits/stl_string_fwd.h: Same.
6653 * bits/locale_facets.h: Same.
6654 * bits/locale_facets.tcc: Same.
6655 * src/wstring-inst.cc: And here.
6657 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6658 problems on HPUX 10.20.
6659 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6660 here as a temporary hack till the compiler/host problems get
6663 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6664 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6665 converting "long double" to struct long_double. Probably should be
6666 done with one macro (HAVE_STRTOLD) at configure time.
6668 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6669 gives re-declaration under hpux10.20. Revert previous change, as
6670 kills linux/x86, solaris 2.7, hpux builds. These should be done
6671 using autoconf, see std_cctype.h and the solutions started in
6672 configure.in (see config.h for the generated file.)
6674 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6675 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6678 * docs/index.html: Add some useful links.
6679 * docs/17_intro/contribute.html: Fix broken links.
6681 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6683 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6684 paths. The rest of the world should be able to run this script
6687 * src/Makefile.am ($(generated_headers)): Remove comment.
6688 * Makefile*: Regenerate.
6690 * bits/std_locale.h: Remove detritus.
6691 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6694 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6696 * src/gen-c++config.cc: New file. Making c++config.h at configure
6697 time by catting this file (nee bits/config.h) with the build
6698 directories config.h. This is not a complete or perfect solution
6699 but is better than what was in place previously.
6700 * bits/c++config.h: Rename/move to above.
6701 * src/Makefile.am (headers): Remove c++config.h.
6702 (myinstallheaders). Add.
6703 * Makefile*: Regenerated.
6705 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6706 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6707 declared only if not present in the host's wchar.h.
6709 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6711 * bits/std_cmath.h: Define out, for the moment. Linux has no
6712 __buitin_fsqrtl? Probably need some kind of configure trickery
6715 * src/Makefile.*: Regenerate.
6716 * bits/c++config.h: Add config.h include.
6718 * bits/std_cwchar.h: Remove remaining #error guard.
6720 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6722 * configure.in (LIBS): Replace previous effort for mbstate_t and
6723 strtold/strtof with this implementation.
6725 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6727 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6730 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6732 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6733 for determining mbstate_t differences across various hosts not
6736 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6738 * bits/locale_facets.tcc: Change to ifdef.
6740 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6741 * bits/std_fstream.h (filebuf::setbuf): Same.
6743 * bits/std_istream.h: Add ws declaration.
6744 * bits/istream.tcc: Stub out definition.
6746 * docs/index.html: Fix broken link for design.txt.
6748 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6749 then set _G_NEED_MBSTATE_T.
6750 * configure: Regenerate.
6751 * bits/c++config.h: Move mbstate_t define.
6752 * bits/std_cwchar.h: To here.
6754 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6756 * bits/std_sstream.h:
6757 basic_stringbuf<>::basic_stringbuf: fix.
6758 basic_stringbuf<>::setbuf:
6759 remove the temporary __string_type object,
6760 remove the unnecessary dynymic_cast in the return value,
6761 change the type of the returned value from __streambuf_type*
6762 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6764 1999-05-25 Phil Edwards <pedwards@ball.com>
6766 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6768 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6770 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6771 in <math.h>. <cmath> still incomplete and incorrekt.
6773 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6775 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6777 1999-05-23 Phil Edwards <pedwards@ball.com>
6779 * docs/17_intro/howto.html: Added links to text docs,
6781 * docs/21_strings/howto.html: Updated sections and links.
6782 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6783 * docs/faq/index.html: Updated what-works for sixth
6784 snapshot. Also a number of "internal" links have been
6785 fixed, now that the web pages are the docs directory...
6786 * docs/faq/index.txt: Regenerated.
6788 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6790 * bits/basic_string.h: Add Nathan's documentation on the string class.
6792 * testsuite/27_io/ios_members_static.cc: New file, for testing
6793 ios_base::sync_with_stdio.
6795 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6797 * bits/std_locale.h: Simplify includes.
6798 * bits/loccore.h: Delete.
6799 * bits/localefwd.h: Renamed, trimmed.
6800 * bits/locfacets.h: Delete.
6801 * bits/locale_facets.h: Rename, expanded.
6802 * bits/loccore.tcc: Deleted.
6803 * bits/locfacets.tcc: Deleted.
6804 * bits/locale_facets.tcc: Resultant merge.
6805 * bits/std_fstream.h: Modify include.
6806 * bits/ostream.tcc: Same.
6807 * bits/istream.tcc: Same.
6809 * src/locale-inst.cc: And here.
6810 * src/locale.cc: Ditto.
6811 * src/Makefile.am: Updated.
6812 * src/Makefile.in: Rengenerated.
6814 * bits/std_istream.h: Move istream::sentry ctor definition.
6815 * bits/istream.tcc: Move istream::sentry ctor here.
6816 Add more detailed locale include here for ctype member functions.
6817 * bits/ostream.tcc (std): And here.
6819 * bits/sbuf_iter.h: Include std_streambuf.h
6821 * bits/locfacets.h: Start separating this into a localeimp.h file.
6822 * bits/loccore.h: Start separating this into a localefwd.h file.
6823 Add std_climits for CHAR_BIT.
6825 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6827 * bits/char_traits.h: Tweak.
6829 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6831 * bits/std_ostream.h: Remove c++config.h include.
6832 * bits/std_istream.h: Same.
6833 * bits/std_streambuf.h: Same.
6834 * bits/std_fstream.h: Same.
6835 * bits/std_sstream.h: And here.
6837 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6838 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6839 * bits/fpos.h: Tweak, format.
6841 * std/ciso646: New file.
6842 * bits/std_ciso646.h: New file.
6843 * src/Makefile.am (std_headers): Add ciso646.
6844 (headers): Add bits/std_ciso646.h.
6845 * src/Makefile.in: Regenerate.
6846 * testsuite/17_intro/header_ciso646.cc: New file, disable
6849 * bits/fpos.h: Remove libio.h include.
6850 * bits/basic_file.h: And here.
6851 * bits/std_ios.h: Put here.
6853 * src/ios.cc: Simplify includes, tweak.
6854 * bits/std_ios.h: Simplify include order.
6855 * bits/ios_base.h: Modify ios_base::failure.
6857 * stl/bits/std_numeric.h: Change include from stl_iterator to
6860 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6862 * std/iostream: Remove static member __ioint.
6863 * bits/std_iostream.h: Put here.
6865 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6866 * stl/bits/stl_algobase.h: Same.
6867 * testsuite/27_io/iostream_objects.cc: Regression tests.
6868 * testsuite/27_io/hello.cc: Remove, subset of above.
6870 1999-05-19 Phil Edwards <pedwards@ball.com>
6872 * docs/index.html: Tweak, update.
6874 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6876 * docs/17_intro/RELEASE-NOTES: remove outdated
6877 documentation about numeric_limits. Correct CXXINCLUDE setting
6880 1999-05-18 Phil Edwards <pedwards@ball.com>
6882 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6883 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6884 27_io}/howto.html: Created, with some initial entries.
6885 * docs/faq/index.html: Fixed some links.
6886 * docs/faq/index.txt: Regenerated.
6888 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6890 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6892 * docs/17_intro/RELEASE-NOTES: Update.
6893 * docs/index.html: Correct link to mailing list help page, update News.
6894 * docs/faq/index.html: Change fifth to sixth for snapshot.
6896 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6897 install $(top_builddir)/bits/std_limits.h into
6898 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6899 Makefile.am changes.
6900 * *Makefile*: Regenerate using automake.
6902 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6903 * testsuite/27_io/filebuf.cc: Same.
6905 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6907 * docs/17_intro/CHECKLIST: update.
6908 * docs/17_intro/TODO: update.
6910 1999-05-17 Phil Edwards <pedwards@ball.com>
6912 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6913 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6914 27_io}/howto.html: Created, with some initial entries.
6915 * docs/faq/index.html: Fixed some links.
6916 * docs/faq/index.txt: Regenerated.
6918 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6920 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6921 * Makefile.in*: Regenerate.
6923 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6925 * bits/std_streambuf.h: Same.
6927 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6928 * bits/locfacets.h (std): Same.
6929 * bits/sstream.tcc: Same.
6930 * testsuite/27_io/stringstream.cc: Tweak.
6932 * testsuite/27_io/filebuf.cc: Adjust.
6933 * testsuite/21_strings/capacity.cc (test01): Add more
6934 string::reserve tests.
6936 * bits/c++config.h: Remove broken CCTYPE.
6937 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6938 sequestered topper implementation.
6939 * bits/std_cwctype.h: Same.
6941 * bits/missing.h: Remove.
6942 * bits/std_locale.h: Remove missing.h include.
6944 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6946 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6947 INCLUDES: Add top_builddir.
6948 * src/Makefile.in: Regenerate.
6950 * Makefile.am: Add check and check-install as new targets.
6951 * testsuite/make_check_libfree++: Move to. . .
6953 * configure.in: Tweak versions.
6954 * mknumeric_limits: Set paths correctly.
6956 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6958 * src/Makefile.in (myinstallheaders): add rule to install
6961 * bits/slice.h (class slice): don't const-qualify data members
6962 since the copy and assignment operator is implicitly used. The
6963 valarray specification is definitively a bad one.
6965 * Makefile.in (generate-limits-sources): fix typo.
6967 * docs/text/TODO: update.
6968 * docs/text/CHECKLIST: update.
6970 * bits/gslice.h (gslice): fix bugglet.
6971 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6974 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6975 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6976 [Note: **/Makefile.in should be generated from the corresponding
6977 Makefile.am. The current situation is a litte chaotic. ]
6979 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6981 * mknumeric_limits: tweak.
6983 * Makefile.in (all): add target generate-limits-sources.
6984 (generate-limits-sources): make a directory bits/ in top_builddir
6985 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6986 directly under $(top_builddir)/src. Remains to put the appropriate
6987 rule for installing std_limits.h.
6989 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6990 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6991 now generated at build-time in the build directory
6992 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6993 * src/Makefile.am: reflect changes in src/Makefile.in
6995 1999-05-12 Phil Edwards <pedwards@ball.com>
6997 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6998 all but one empty entry. Add links for HOWTOs, but no files yet.
6999 (Corrected HOWTO links are for bkoz's new scheme.)
7000 * docs/faq/index.txt: Regenerated.
7002 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7004 * testsuite/17_intro/headers.cc: New file.
7005 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7006 * bits/std_cwctype.h: New file.
7008 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7010 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7012 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7013 Check __USE_MALLOC before defining specializations containing
7014 __default_alloc_template.
7015 * src/stl-inst.cc: Here too.
7017 * bits/basic_string.h: Change.
7019 * testsuite/make_check_libfree++: More tweaks.
7020 * testsuite/21/capacity.cc: New file.
7022 * src/string.cc: Rename to be consistent with other inst files.
7023 Rename to string-inst.cc.
7024 * src/string*.cc: Change include.
7025 * src/wstring.cc: Rename to wstring-inst.cc.
7026 * src/wstring*.cc: Ditto.
7027 * src/Makefile.in: Also here.
7028 * src/Makefile.am: Ditto.
7030 * src/traits.cc: Remove.
7031 * src/wtraits.cc: Same.
7033 Try a new way of organizing documentation, one with synchronicity
7034 between testsuites and docs subdirectories, and see who yelps.
7035 * docs/html: Remove, use chapter and subject specific directories
7036 instead of forcing things immediately into format of
7040 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7041 directory and sort by filename and extension.
7042 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7043 22_locale, 23_containers, 24_iterators, 25_algorithms,
7044 26_numerics, 27_io: Add.
7045 * docs/17_intro/*: Populate with all the text files. . .
7046 * docs/index.html: Construct.
7048 * testsuite/*: Update with same names as the docs subdir.
7049 * testsuite/results: Where to stash conformance results for the
7050 different snapshots, so that progress/size/speed issues can be
7053 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7055 * src/string.cc: Add _S_copy_chars instantiation, as well as
7056 string::binary operators !=, ==, etc.
7058 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7059 * src/Makefile.in (CXXFLAGS): Same here.
7060 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7062 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7064 * src/string.cc: Add missing member functions to instantiation list.
7066 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7068 * src/misc-inst.cc: Remove unused string instantiations.
7070 * bits/string.tcc: Tweak, fix.
7071 * bits/basic_string.h: Format. Fix reported error with c_str().
7073 * testsuite/make_check_libfree++: Tweak for shared builds.
7074 * testsuite/21/operations.cc: New file for testing c_str() etc.
7076 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7077 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7079 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7080 an iterator class. Delineate pointer versus iterator differences
7082 * 23/vector_capacity.cc: New file, tests for above.
7084 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7086 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7088 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7089 generated by mknumeric_limits to the list. Now std_limits.h is
7091 * src/Makefile.in (generate-numeric-limits): new target to handle
7092 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7093 (all): add target generate-numeric-limits.
7094 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7095 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7097 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7100 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7101 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7102 * bits/locfacts.h: Here.
7104 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7105 Ulrich Drepper <drepper@cygnus.com>
7107 Solaris build issues.
7108 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7111 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7112 float overloads to use the above macros. Account for the lack of
7113 strtold on some systems, and revert back to using sscanf.
7115 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7117 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7118 Use strtoul/strtoull for unsigned types. Check the ranges for
7119 short/unsigned short and if necessary for int/unsigned int.
7121 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7123 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7124 to generate bits/std_limits.h now, as the SGI std_limits.h is
7125 being depricated. Not done, but should be done immediately: need
7126 to make sure this script is run as part of the configuration
7127 process, because without it "make" in a configured build directory
7128 will fail. Also tweaked: added a space for float_round_style, and
7129 used static_cast of zero to default-initialize, which should be ok
7130 according to the standard. (see 8.5 p5 and 20.1.3).
7131 * mknumeric_limits (OUT_C): Need this for x86 long
7134 * bits/basic_file.h: Include libio.h, not libioP.h.
7135 * src/basic_file.cc: And add libioP.h include here, so that
7136 _IO_init, et. al are well-declared.
7138 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7139 headers, not source directory headers.
7141 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7142 for ext/*. Also add basic_file.h.
7143 * src/Makefile.in (headers): Same.
7145 * bits/std_string.h: Reduce dependencies for faster
7146 pre-processing. Move istream and ostream specific defines into
7147 istream.tcc and ostream.tcc respectively.
7148 * bits/string.tcc: And here.
7149 * bits/basic_string.h: Move getline inline out-of-line, and to
7151 * bits/istream.tcc: Move string::getline and operator>> here.
7152 * bits/ostream.tcc: And here too.
7154 * bits/utility.h: Remove, as clashes with a standard header. Put
7155 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7156 being, until this can be combined with SGI's approach.
7157 * bits/string.tcc: Add macros, as above.
7158 * bits/loccore.h: Add _Count_ones defines.
7159 * bits/std_string.h: And here too.
7160 * bits/std_locale.h: And here.
7161 * bits/std_ios.h: Take out include here.
7162 * src/Makefile.am (headers): Remove utility.h
7163 * src/Makefile.in (headers): Remove utility.h
7165 * stl/bits/*: Update to SGI STL 3.20.
7166 * stl/ext/pthread_alloc: Delete this file.
7168 1999-05-04 Phil Edwards <pedwards@ball.com>
7170 * docs/faq/html/index.html: Add more entries
7171 * docs/faq/html/index.txt: regenerated.
7173 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7175 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7177 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7179 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7180 from Ulrich and Nathan. Remove extraneous string class usage,
7181 tweak, clean, simplify and consolidate with a eye towards removing
7182 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7183 Not done: dealing with leading zeros, wchar_t work.
7184 * bits/locfacets.h: And here too.
7188 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7191 * docs/faq/: New directory.
7192 * docs/faq/html/: Likewise.
7193 * docs/faq/text/: Likewise.
7194 * docs/faq/html/index.html: New file.
7195 * docs/faq/html/index.txt: Likewise. Generated from
7196 docs/faq/html/index.html by lynx.
7198 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7199 Ryszard Kabatek and Branko Cibej
7201 * bits/locfacets.tcc: Modify.
7203 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7205 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7206 conformant to 14882, wrap non-standard extensions with
7207 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7208 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7210 * testsuite/27/istringstream_formatted.cc: Add tests.
7212 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7213 commenting, simplify.
7214 * bits/locfacets.tcc: Same.
7216 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7217 * bits/locfacets.tcc (num_get::do_get):
7218 Fix the sscanf format parameter
7219 for long long 'll' (as in C9X) instead of 'l'.
7220 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7221 Change the type of the local variable '__conv' from 'string'
7222 to 'const char*' and adapt the change.
7224 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7226 * bits/locfacets.h: Document _Format_cache, and name data members
7227 after the corresponding functions in numpunct. For instance:
7228 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7229 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7230 * bits/locfacets.tcc: Same.
7232 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7233 stop parsing--store for later analysis.
7234 * testsuite/27/istringstream_formatted.cc: Add cases.
7236 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7238 * bits/valarray_meta.h: tweak.
7239 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7240 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7241 happy -- boggus warning.
7242 * bits/std_valarray.h: Fix.
7243 (valarray<T>::shift): Fix. Update comment.
7244 (valarray<T>::cshift): Fix.
7246 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7248 * testsuite/27filebuf-2.txt: Delete.
7249 * testsuite/27/filebuf.cc: Put output files directly into the
7250 correct subdirectory (27).
7252 Alexandre Petit-Bianco <apbianco@cygnus.com>
7253 * testsuite/make_check_libfree++: Check generated (*.txt) file
7254 against stored results file (*.tst).
7256 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7258 * bits/locfacets.tcc: Fix.
7260 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7261 (filebuf::overflow): Simplify.
7262 (filebuf::xsputn): Correctly handle indeterminate state.
7264 * testsuite/27/istringstream_formatted.cc: Tweak.
7265 * testsuite/27/filebuf.cc: Tweak.
7266 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7267 results file, please use this in the future to guarantee filebuf
7268 positioning accuracy.
7269 * testsuite/27/filebuf-2.tst: Same.
7271 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7273 * bits/fstream.tcc (filebuf::xsputn): Add.
7274 * bits/std_fstream.h: Declare.
7276 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7277 calls using ios_base::trunc.
7279 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7281 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7282 * testsuite/27/27stringstream.cc: Same.
7283 * testsuite/27/27stringbuf.cc: More tweaks.
7284 * testsuite/27/27filebuf-2.txt: Remove.
7286 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7287 BUFSIZE so that overflows/underflow can be tested with default
7289 * testsuite/27/27filebuf-1.tst: Add.
7291 * testsuite/*/*: Remove pre-pended chapter names, as they
7292 duplicate the chapter info contained in the enclosing directory
7295 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7297 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7298 to sputc conditions.
7300 * bits/ios_base.h: Define here.
7301 * src/ios.cc (ios_base::_M_clear): Remove hack.
7302 * bits/basic_ios.h: Fix rdstate().
7304 * bits/sstream.tcc (streambuf::seekoff): Fix.
7305 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7307 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7308 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7309 * testsuite/27/27stringstream.cc: Same.
7310 * testsuite/27/27stringbuf.cc: Same.
7311 * testsuite/27/27istringstream_formatted.cc: Same.
7312 * testsuite/27/27filebuf.cc: Same.
7314 * bits/locfacets.h: Remove specializations for messages<char> and
7315 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7316 * src/locale.cc: Remove definitions for above.
7317 * src/misc-inst.cc: Revert, take out iomanip.h include.
7318 * bits/std_iomanip.h: Tweak, format.
7320 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7322 * bits/loccore.h: Format, move inline.
7323 * bits/locfacets.tcc: Same.
7324 * bits/locfacets.h: Same.
7326 Ulrich Drepper <drepper@cygnus.com>
7327 * aclocal.m4: Re-generate.
7328 * configure, configure.in: Same.
7329 * m4/lc_messages.m4: New file.
7331 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7333 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7334 * bits/sstream.tcc: Tweak.
7336 * std/iostream: Put __ioinit inside macro guards.
7338 * src/stlinst.cc: Delete and move to . . .
7339 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7340 * src/Makefile.in: Change.
7341 * src/Makefile.am: Same.
7342 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7344 * testsuite/make_check_libfree++: Efficiently format for minimal
7345 space. Enforce stricter execution tests by enabling
7348 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7350 * docs/text/RELEASE-NOTES: Fix include typo.
7352 * src/Makefile.am (headers): Add istream.tcc.
7353 * src/Makefile.in (headers): Add istream.tcc.
7355 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7357 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7359 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7360 * bits/locfacets.h (num_get::_M_extract): New functin:
7361 consolidate logic for do_get(...) members.
7363 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7364 * testsuite/27/27istringstream_formatted.cc: Add.
7366 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7368 * src/basic_file.cc (__basic_file::open): Fix thinko in
7369 _G_HAVE_IO_FILE_OPEN bits.
7370 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7371 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7372 * src/complex.cc (FCT): Qualify all functions with global namespace.
7373 * src/locale.cc: Don't qualify memcpy and setlocale.
7374 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7375 (__length_error): Likewise, for length_error.
7376 * src/stlinst.cc: Qualify instantiations with std::.
7378 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7380 * C++STYLE: Add ChangeLog guidelines for member functions.
7383 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7384 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7385 docs/text and made less strident.
7387 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7388 * bits/std_fstream.h: Same.
7391 * bits/locfacets.h: Touch.
7393 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7395 * math/cexp.c (cexp): Use NAN instead of nan("").
7396 Reported by joel reed <joelreed@yahoo.com>.
7398 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7399 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7400 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7401 instead of #if cascades.
7402 * libio/genops.c: Likewise.
7403 * libio/ioseekoff.c: Likewise.
7404 * libio/ioseekpos.c: Likewise.
7405 * libio/strops.c: Likewise.
7406 Patch by Chip Salzenberg <chip@perlsupport.com>.
7408 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7410 * docs: New directory.
7411 * docs/html: Likewise.
7412 * docs/text: Likewise.
7413 * docs/image: Likewise.
7415 * bits/std_cmath.h: Add new functions.
7416 (abs): overload for long and double.
7417 (div): overload for long.
7419 * bits/valarray_array.h: Fix.
7420 * bits/gslice.h: Adjust friend.
7421 * bits/slice_array.h: likewise.
7422 * bits/valarray_meta.h: likewise.
7424 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7426 * bits/locfacets.h: More changes, for num_get for insertion
7427 operators for integral types. Comment fields in _Format_cache.
7428 * bits/locfacets.tcc: And here too: add preliminary long version.
7429 * testsuite/27/27istringstream_formatted.cc: Add cases.
7431 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7433 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7434 AC_LC_MESSAGES macro.
7435 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7436 supports LC_MESSAGES.
7437 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7438 * src/locale.cc (locale::_S_normalize_category): Use the
7439 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7440 _G_NO_CLOCALE_HAS_MESSAGES.
7441 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7442 '?:' from '?:\\' so any path beginning with a drive name matches.
7444 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7446 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7448 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7450 * bits/locfacets.h: Tweak.
7451 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7453 * testsuite/21/21nonmember.cc: Same.
7454 * testsuite/21/21compare.cc: Fix license.
7455 * testsuite/27/27istringstream_formatted.cc: New file.
7457 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7459 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7460 _BinBase2: new template classes; put in there to work around a
7461 compiler limitation. The whole valarray architecture is now
7464 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7466 * bits/locfacets.tcc: Fix, format.
7467 * bits/locfacets.h: Fix.
7468 * src/locale.cc: Same, plus format.
7470 * bits/basic_string.h: Re-add definition here.
7471 * src/string.cc: Take out.
7473 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7475 * bits/std_valarray.h: tweak.
7476 * bits/valarray_array.h tweak. use _Expr.
7477 * bits/slice_array.h: likewise.
7478 * bits/gslice_array.h: likewise.
7479 * bits/mask_array.h: likewise.
7480 * bits/indirect_array.h: likewise.
7481 * bits/valarray_meta.h: tweak.
7482 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7483 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7484 _IClos: new template classes.
7485 _Meta: renamed to _Expr. Made template with args.
7486 _Constant: made template with two args.
7488 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7490 * bits/valarray_array.h: tweak.
7492 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7494 * bits/basic_string.h: Whoops--fix blip.
7496 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7498 Update to SGI STL 3.13
7499 * bits/basic_string.h: Add __get_c_string definition.
7500 * stl/bits/stl_range_errors.h: New file.
7501 * stl/bits/std_bvector.h: Same.
7502 * stl/bits/*: Update.
7504 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7506 * bits/slice_array.h: tweak.
7507 * bits/gslice_array.h: tweak.
7508 * bits/mask_array.h: tweak.
7509 * bits/indirect_array.h: tweak.
7510 * bits/valarray_array.h: tweak.
7511 (__valarray_copy): replace copy with memcpy.
7512 * bits/std_valarray.h: use __valarray_copy whenever possible.
7513 use __valarray_fill instead of fill.
7515 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7517 * src/gen-num-limits.cc: new file
7518 * mknumeric_limits: Ditto.
7520 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7522 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7524 * bits/locfacets.h: Add num_get::get methods overloaded for int
7525 and short, to resolve ambiguous overloads in istream insertion
7528 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7530 * bits/std_istream.h: Fix.
7531 * bits/istream.tcc: Fix.
7533 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7535 * testsuite/24/24iterator.cc: fix ++/-- tests
7537 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7539 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7540 * bits/ostream.tcc: Same.
7542 * bits/std_istream.h: Bring over ostream changes, implement member
7543 functions. Baseline.
7544 * bits/istream.tcc: New file.
7546 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7548 * bits/gslice.h (class gslice): fix friends template.
7550 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7552 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7554 * bits/ostream.tcc: Same.
7556 * bits/std_istream.h: Minor tweaks.
7558 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7560 * src/locale-inst.cc: Remove duplicate instantiations.
7561 * bits/locfacets.tcc: Tweak definitions of static member.
7563 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7565 * bits/std_fstream.h: Format: prepend "__" in front of
7566 non-standard typedefs.
7567 * bits/fstream.tcc: Match.
7568 * bits/std_streambuf.h: Format: prepend "__" in front of
7569 non-standard typedefs.
7571 * bits/sstream.tcc: Match.
7572 * bits/std_istream.h: Format.
7573 * src/locale-inst.cc: Add num_get instantiations.
7575 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7576 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7577 _M_streambuf instead. Make initializations sane. Fix
7578 allocation/deallocation of _M_streambuf.
7579 * bits/std_ostream.h: Fix initialization code.
7580 (ctor): Eliminate redundant this->init(), let base class initialize.
7581 (default ctor): New. Assume base classes already initialzed.
7582 * bits/std_istream.h: Parallel work to ostream.
7583 (ctor): Eliminate redundant this->init(), let base class initialize.
7584 (default ctor): New. Assume base classes already initialzed.
7585 Fix initialization of basic_iostream.
7587 * bits/std_fstream.h: While we're at it, make initializations sane
7588 here too. Now matches sstream.h.
7590 * bits/string.tcc: Fix crash in basic_string::compare.
7591 * bits/basic_string.h: And here.
7592 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7594 * testsuite/make_check_libfree++: Check shared as well.
7595 * testsuite/27/27stringstream.cc: Add bits.
7596 * testsuite/27/27boolfmt.cc: Add bits.
7597 * testsuite/27/27octfmt.cc: Add bits.
7599 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7601 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7603 * bits/locfacets.h: Fix errors that cause build problems
7604 with current egcs (template parameters have class scope).
7605 * bits/locfacets.tcc: Same.
7606 * src/locale-inst.cc: Same, clean.
7607 * src/misc-inst.cc: Same, clean.
7609 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7611 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7612 standard. Re-apply this previous patch.
7614 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7616 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7617 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7618 * bits/string.tcc: Ditto.
7619 * src/misc-inst.cc: Ditto.
7620 * src/locale-inst.cc: Ditto.
7621 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7622 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7623 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7626 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7628 * bits/locfacets.tcc: Remove macro hack.
7629 * bits/locfacets.h: Tweaks.
7630 * src/misc-inst.cc: Weed out locale-related instantiations.
7631 * src/locale-inst.cc: Same.
7633 * RELEASE-NOTES: Make more changes.
7634 * bits/c++config.h: Bump version number.
7636 * testsuite/make_check_libfree++: Collect diagnostics.
7638 * bits/std_ostream.h: Fix ostream initialization/destruction
7639 problem, related to dtor cleanup and new cached facets, agggggggh.
7640 * bits/ostream.tcc: Tweak.
7641 * bits/locfacets.h: Remove all friends of iostream classes.
7642 * bits/ios_base.h: Same.
7643 * bits/streambuf.tcc: Tweak.
7644 * bits/std_streambuf.h: Tweak.
7645 * bits/std_fstream.h: Tweak.
7646 * bits/fstream.tcc: Tweak.
7647 * src/stdstreams.cc: Tweak.
7648 * src/ios.cc: Close streams.
7650 * math/Makefile.in: Add missing files for shared link errors.
7651 * math/Makefile.am: Same.
7653 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7655 * src/locale-inst.cc: More wchar_t instantiations.
7656 * src/misc-inst.cc: Missed a few bits.
7657 * testsuite/make_check_libfree++: Add static and shared runs.
7658 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7660 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7662 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7663 facets. Resolve link errors.
7664 * bits/ostream.tcc: Same.
7665 * src/misc-inst.cc: Add ostream, wostream instantiations.
7666 * src/Makefile.am: Add missing bits for stdstreams.cc.
7667 * src/Makefile.in: Same.
7668 * bits/std_iosfwd.h: Format.
7669 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7670 num_put so that cached _M_fnumput pointer can be deleted in
7671 basic_ostream's dtor. Now everybody plays nice.
7673 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7675 * bits/gslice.h (class gslice): Make friends valarray,
7676 gslice_array and _GliceExpression.
7678 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7680 * RELEASE-NOTES: Update.
7681 * src/ios.cc: Use do proper init.
7682 * bits/std_streambuf.h: Tweak.
7683 * bits/std_iostream.h: Take out static member.
7684 * std/iostream: Put here.
7685 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7686 * bits/std_istream.h: Ditto.
7687 * bits/basic_ios.h: Format.
7688 * bits/ostream.tcc(write): Fix.
7689 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7690 initialization of the fstream class.
7691 * src/stdstreams.cc: I'm baaaaaaaack.
7693 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7695 * bits/ios_base.h: Correct comments. Add ios_base::init()
7696 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7697 * src/misc-inst.cc: Add instantiations here.
7698 * src/ios.cc: Clean.
7699 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7700 * src/stdstreams.cc: Delete this file, as now unnecessary.
7701 * bits/fstream.tcc: Add missing initialization bits for ctor.
7702 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7703 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7705 * bits/streambuf.tcc: Tweak.
7706 * bits/sstream.tcc: Here too.
7708 * bits/fstream.tcc: And change definition as well.
7709 * bits/std_fstream.h: Change ctor.
7710 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7711 * bits/basic_file.h: Add declarations.
7713 * testsuite/27/27hello.cc: New file.
7715 * bits/std_ostream.h: Move flush() inline.
7716 * bits/ostream.tcc: From here.
7718 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7719 * bits/std_ios.h: Change include libio to only when necessary.
7720 * bits/fpos.h: Like here.
7721 * ios_base.h: And here.
7723 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7724 * bits/locfacets.tcc: Same.
7725 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7726 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7728 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7730 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7732 * bits/std_streambuf.h: Clean, tweak.
7733 * bits/std_fstream.h: Same.
7734 * bits/std_sstream.h: Same.
7735 * bits/streambuf.tcc: Move most member functions out-of-line.
7736 * bits/fstream.tcc: Same.
7737 * bits/streambuf.tcc: Same.
7739 * bits/basic_file.h(filepos_cur): Set correctly.
7740 (filepos_beg): Same.
7741 (seekpos): Change to __c_streampos.
7742 * src/basic_file.cc (std): Change to __c_streampos.
7744 * testsuite/27/27filebuf.cc: Round one is finished.
7745 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7746 * testsuite/27/27filebuf-3.tst: Same.
7748 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7750 * bits/basic_file.h: Fix typo, add comments about what to expect
7751 from the various member functions in __basic_file.
7753 * bits/std_fstream.h: Re-do sync/underflow to work
7754 together. Change from sys_read to xsgetn and from sys_write to
7755 xsputn. As it should have been from the beginning. . .
7757 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7759 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7761 * bits/basic_file.h(file_beg): New function.
7764 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7765 * bits/std_fstream.h: More _M_mode refinements.
7766 (synch): Add bits for out mode only.
7767 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7768 * bits/std_sstream.h: Ditto.
7770 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7772 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7773 * testsuite/27/27filebuf.cc: Modify.
7774 * bits/c++config.h: Fix.
7776 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7778 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7779 code in place that diverges from the final standard, but has been
7780 brought up on the library mailing list.
7782 * bits/std_fstream.h(underflow): Position all three internal
7783 buffer pointers at the same initial position. Re-implement with
7784 basic_filebuf abstraction.
7788 * bits/std_sstream.h: Move _M_mode down into base class
7790 * bits/sstream.tcc: Ditto.
7791 * bits/std_streambuf.h: Ditto.
7793 * testsuite/27/27filebuf.cc: Tweak.
7795 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7797 * bits/std_sstream.h: Ditto.
7798 * bits/std_fstream.h: Fix blip.
7800 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7802 * C++STYLE: Add cases.
7803 * bits/std_fstream.h: Format.
7804 * bits/std_streambuf.h: Ditto.
7805 * bits/std_sstream.h: Ditto.
7807 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7808 return type for _IO_file_seek and __basic_file::seek the same size.
7809 * bits/basic_file.h: Ditto.
7811 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7813 * bits/fstream.tcc: Add include guards.
7814 * src/misc-inst.cc: Add instantiations for shared libes.
7815 * src/locale-inst.cc: Add instantiaions for use_facet.
7816 * bits/loccore.h: Remove specialization foward decls for
7817 use_facet<ctype>: perhaps add the whole lot of them later on.
7818 * bits/std_fstream.h: Fix.
7819 * bits/locfacets.h: Ditto.
7820 * src/stdstreams.cc: Disable wide streams for now.
7822 * src/Makefile.am (CXXFLAGS): Change up.
7823 * src/Makefile.in (CXXFLAGS): Ditto.
7825 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7827 * src/basic_file.cc: Change to ios_base::seekdir from int.
7828 * bits/basic_file.h: Ditto.
7829 * bits/locfacets.h : Fix blip with new guard macros.
7831 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7833 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7834 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7836 * amm1/locale: Remove unused defines.
7837 * generic/locale: Ditto.
7838 * src/ios.cc: Ditto.
7839 * src/locale.cc: Ditto.
7840 * src/locale-inst.cc: Ditto.
7841 * src/localename.cc: Ditto.
7842 * src/stdstreams.cc: And here.
7844 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7845 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7846 * bits/loccore.tcc: Ditto.
7847 * bits/locfacets.h: Ditto.
7848 * src/locale-inst.cc: Ditto.
7849 * bits/locfacets.tcc: Add do_put long long here.
7851 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7853 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7854 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7855 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7856 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7857 * bits/std_fstream.h: Tweak.
7859 * bits/char_traits.h: Remove fpos definitions from here. . .
7860 * bits/fpos.h: New file, put them here. Eventually, this may allow
7861 the severing of char_traits and fpos dependancies.
7862 * src/Makefile.in: Add fpos.h.
7863 * src/Makefile.am: Ditto.
7864 * bits/std_string.h: Add fpos.h include here.
7865 * bits/std_ios.h: And here.
7867 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7868 * bits/ios_base.h: Remove cstdio include.
7869 * bits/std_ios.h: ... Place here.
7871 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7873 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7874 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7876 * bits/basic_file.h: Comment, adjust arguments.
7877 * src/basic_file.cc: Ditto.
7879 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7880 type: check and convert accordingly. Re-interpet "resultant stream
7881 position" to indicate external byte sequence location, not internal
7884 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7886 * mkcshadow: And change copyright here.
7887 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7888 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7889 stl_thread.h, and stl_iterator_base.h.
7890 * src/Makefile.in (CXXFLAGS): Ditto.
7891 * stl/backward/pthread_alloc.h: Remove.
7893 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7895 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7897 * bits/std_fstream.h (pbackfail): Correct.
7899 (seekoff): Implement.
7901 * testsuite/27/27filebuf.cc: Add test cases.
7903 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7905 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7906 with the external buffers, and stop mucking around with setting
7907 and re-setting the external buf's pointers. Aka, clarity and
7908 simplicity rule the day.
7909 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7910 Remove partial result and support code.
7912 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7914 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7915 list of function which have to be replaced.
7916 Remove expf from list of functions to test for.
7917 Define USE_LONG_DOUBLE in case the libm has partial support for long
7919 * Makefile.in: Regenerated.
7920 * config.h.in: Likewise.
7921 * configure: Likewise.
7922 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7923 * libio/Makefile.in: Regenerated.
7924 * src/Makefile.in: Regenerated.
7925 * string/Makefile.in: Regenerated.
7926 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7927 atan2f.c, expf.c, and $(EXTRA_yes).
7928 (EXTRA_yes): Add signbitl.c mycabsl.c.
7929 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7930 (libmath_la_SOURCES): remove long double versions.
7931 * math/Makefile.in: Regnerated.
7932 * math/atan2f.c: New file.
7933 * math/copysignf.c: New file.
7934 * math/expf.c: New file.
7935 * math/hypot.c: New file.
7936 * math/hypotf.c: New file.
7937 * math/hypotl.c: New file.
7938 * math/cargf.c: Use correct function and macro names.
7939 * math/ccos.c: Likewise.
7940 * math/ccosh.c: Likewise.
7941 * math/ccoshf.c: Likewise.
7942 * math/ccoshl.c: Likewise.
7943 * math/cexp.c: Likewise.
7944 * math/cexpf.c: Likewise.
7945 * math/cexpl.c: Likewise.
7946 * math/clog.c: Likewise.
7947 * math/clog10.c: Likewise.
7948 * math/clog10f.c: Likewise.
7949 * math/clog10l.c: Likewise.
7950 * math/clogf.c: Likewise.
7951 * math/clogl.c: Likewise.
7952 * math/copysignf.c: Likewise.
7953 * math/csin.c: Likewise.
7954 * math/csinf.c: Likewise.
7955 * math/csinh.c: Likewise.
7956 * math/csinhf.c: Likewise.
7957 * math/csinhl.c: Likewise.
7958 * math/csinl.c: Likewise.
7959 * math/csqrt.c: Likewise.
7960 * math/csqrtf.c: Likewise.
7961 * math/csqrtl.c: Likewise.
7962 * math/ctan.c: Likewise.
7963 * math/ctanf.c: Likewise.
7964 * math/ctanh.c: Likewise.
7965 * math/ctanhf.c: Likewise.
7966 * math/ctanhl.c: Likewise.
7967 * math/ctanl.c: Likewise.
7969 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7971 * testsuite/27/27filebuf.cc: Add cases.
7972 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7973 * bits/std_streambuf.h: Simplify, always have one return statement.
7974 * bits/std_fstream.h: Tweak comments in underflow.
7976 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7978 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7979 * ltconfig: Likewise.
7981 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7983 * src/locale.cc: Fix assert.
7985 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7987 FIXME: Still need some kind of solution for undefined math symbols.
7988 * src/Makefile.in (locale-inst.lo): Compile with
7989 -fimplicit-templates to fix Solaris link problem.
7990 * src/Makefile.am: Ditto.
7991 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7992 * libio/Makefile.am: Ditto.
7993 * src/locale.cc: Provide some kind of def for _S_tolower.
7994 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7995 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7997 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7999 * bits/loccore.tcc: Move member-template ctor inline...
8000 * bits/loccore.h: ...here.
8001 * src/locale-inst.cc: Add instantiation here.
8003 * testsuite/27/27stringstream.cc: Tweak.
8005 * bits/ostream.tcc: Include sbuf_iter.h.
8007 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8008 passing to num_put, as num_put's first argument is an interator,
8011 * testsuite/make_check_libfree++: New file, runs through the
8012 existing test files in the testsuite directory and makes sure
8015 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
8017 * testsuite/21/21compare.cc: Fix typo.
8018 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8019 Don't try to provide non-linux versions, since it's impossible to
8020 initialize their const references with the integer 0, no matter
8021 how we try to cast it.
8023 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8025 * bits/std_locale.h: Move std_vector.h dependency.
8026 * bits/std_ios.h: ...from here.
8027 * bits/std_string.h: ...and here.
8028 * src/locale.cc: ..to here.
8029 * bits/loccore.h: Ditto, add vector forward declaration,
8030 make locale::_Impl data members pointers not containers.
8031 * bits/loccore.tcc: Move out-of-line for now.
8032 * bits/locfacets.h: Move vector dependency from here...
8033 * bits/locfacets.tcc: ...to here.
8034 * src/localename.cc: ..and here.
8035 * src/locale-inst.cc: Add include of locfacets.tcc here.
8037 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8038 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8039 * bits/string.tcc: Tweak.
8040 * src/string.cc: And add __get_c_string def here.
8042 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8044 * src/stlinst.cc: Add include of stl_config.h.
8046 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8048 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8049 * stl/bits/stl_config.h: Tweak, update.
8050 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8052 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8053 * stl/bits/std_functional.h: Ditto.
8055 * stl/bits/stl_string.h: New file, SGI's string
8056 implementation. For reference only, corresponding to string in
8058 * stl/bits/stl_char_traits.h: As above.
8060 * stl/bits/pthread_allocimpl.h: New file corresponding to
8062 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8064 * stl/bits/stl_threads.h: New file.
8066 Note that SGI STL 3.12's file iterator.h is not used.
8067 * stl/bits/std_iterator.h: Ditto.
8068 * stl/bits/stl_iterator.h: Drop in replace.
8069 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8071 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8072 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8073 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8074 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8075 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8076 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8077 preprocessor guards, but fixup include paths and names according
8078 to new directory layout).
8080 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8082 * bits/std_fstream.h: Remove _M_open data member.
8083 * bits/fstream.tcc: Ditto.
8085 * src/locale.cc: Tweak.
8087 * bits/std_sstream.h: Simplify.
8089 * bits/std_streambuf.h: Simplify.
8090 (sputc): Use correct definition of "write area."
8092 * bits/std_fstream.h: Fix uflow.
8093 * src/basic_file.cc: Tweak.
8094 * testsuite/27/27filebuf.cc: Add tests.
8095 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8097 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8099 * bits/ios_base.h: Make protected.
8101 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8103 * bits/ios_base.h: Changes in the class ios_base:
8104 Rename _M_exceptions member to _M_exceptions_data.
8105 Make the member functions rdstate(), clear(), exceptions()
8106 and exceptions(iostate) protected and add the "_M_" prefix.
8107 * src/ios.cc: Ditto.
8108 * bits/basic_ios.h: Adapt the changes from ios_base.
8110 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8112 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8113 * bits/fstream.tcc: Ditto.
8115 * bits/std_fstream.h (underflow): Resize deallocates memory and
8116 resets pointers in the internal cache according to new _M_buf. . dooh!
8117 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8119 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8121 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8124 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8126 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8127 into account partial returns.
8128 (codecvt::do_out): Likewise.
8130 * bits/char_traits.h: Change streamsize to be a signed type, as
8131 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8132 * bits/std_streambuf.h: Make
8133 in_avail() and showmanyc() have streamsize as return types, so
8134 that showmanyc()'s return of eof won't underflow in_avail's return
8135 value and give a bogus result.
8136 * src/misc-inst.cc: And more changes. . .
8138 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8139 track of joint in/out pointers into the internal buffer.
8140 (sbumpc): Add check for _M_buf_unified.
8144 * testsuite/27/27filebuf.cc: Add cases.
8145 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8147 * bits/std_fstream.h (close): Fix logic error.
8148 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8149 (showmanyc): Add underflow component, to match the standard.
8151 * bits/fstream.tcc: Ditto.
8153 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8155 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8156 * src/basic_file.cc: Ditto.
8157 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8158 format for dealing with _IO_file in libio.
8160 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8162 * src/basic_file.cc: Include fcntl.h.
8164 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8166 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8168 * bits/std_streambuf.h: Redefine read posion.
8170 * bits/std_fstream.h: Temporary hack to get vtables working again.
8171 * bits/basic_file.h: Revert.
8172 * src/basic_file.cc: Ditto.
8173 * testsuite/27/27filebuf.cc: Tweak.
8175 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8177 * bits/basic_file.h: Add showmanyc, underflow. .
8178 * src/basic_file.cc: Ditto.
8180 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8183 * testsuite/27/27filebuf.cc: Add testcases.
8184 * src/basic_file.cc: Add O_CREAT to open calls with
8185 ios_base::trunc as part of the open mode.
8187 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8189 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8191 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8193 * src/ios.cc (clear): Correct typo.
8194 * bits/ios_base.h: Tweak spacing.
8196 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8198 * bits/basic_ios.h: fix basic_ios::fail()
8200 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8202 * bits/basic_file.h: Include libioP.h from libio instead of here.
8203 * bits/iolibio.h: Remove.
8204 * bits/libio.h: Remove.
8206 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8208 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8210 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8212 * Makefile.am (SUBDIRS): Add libio.
8213 * configure.in: Add rule to test for glibc2.
8215 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8216 (libstdc___la_LIBADD): Add libio.la.
8218 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8220 * bits/basic_file.h: Make new abstraction for underlying C library
8221 FILE, named __basic_file.
8222 * src/basic_file.cc: New file.
8223 * bits/os_raw.h: Delete.
8224 * src/os_raw.cc: Delete.
8225 * src/Makefile.in: Tweak.
8226 * src/Makefile.am: Tweak.
8227 * bits/iolibio.h: Add this here, for the time being.
8228 * bits/libioP.h: Ditto.
8230 * bits/ios_base.h: Delete unused defines.
8231 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8232 strcpy to copy between the two buffers.
8234 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8235 * testsuite/27/27filebuf.cc: New file.
8236 * testsuite/27/27filebuf-1.txt: Data file for above test.
8237 * testsuite/27/27filebuf-2.txt: Ditto.
8239 * bits/std_streambuf.h (uflow): Re-implement default.
8240 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8241 Re-implement virtual functions.
8242 * bits/fstream.tcc: Delete unused mf's.
8244 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8246 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8247 * bits/std_fstream.h: Ditto.
8248 * src/stdstreams.cc: Ditto.
8250 * math/cpowl.c: Fix header typo with last change.
8252 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8254 * COPYING: New file (GPL v 2).
8255 * LICENSE.STD: Remove.
8256 * ./*: Change license.
8258 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8260 * bits/std_streambuf.h (std): Remove static on _M_init.
8261 * bits/streambuf.tcc (std): Ditto.
8263 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8264 state_type and codecvt_type members, the allocation of an internal
8265 buffer, the streamlined codecvt calls, etc.
8267 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8269 * bits/std_sstream.h: Tweak.
8270 * bits/fstream.tcc: Remove unused stubs.
8271 * bits/std_fstream.h: Tweak.
8273 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8275 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8276 Remove unused _IO_* members, possibly put into filebuf, which may
8278 * bits/std_fstream.h: Add _M_flag.
8279 * bits/sbuf_iter.h: Tweak.
8281 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8282 * bits/ios_base.h: Use.
8284 * src/stdstreams.cc: Modify to reflect standard ctors for
8286 * src/misc-inst.cc: Ditto.
8288 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8289 underlying C library calls instead of the underlying unix
8291 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8292 string as per p.659.
8293 (_S_os_close): Model on fopen.
8294 (_S_os_read): Model on fread.
8295 (_S_os_write): Model on fwrite.
8296 (_S_os_seek): Model on fseek.
8298 * bits/ios_base.h: Tweak.
8299 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8300 * bits/std_sstream.h: Tweak.
8301 * bits/sstream.tcc: Remove old, uncalled code.
8302 * bits/std_fstream.h: Major reconstruction.
8303 * bits/fstream.tcc: Disable for the time being.
8305 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8307 * bits/basic_string.h: Fix insert method.
8308 * stl/bits/stl_iterator.h: Remove previous hack.
8309 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8310 * bits/std_sstream.h: Fix more regressions.
8311 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8313 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8315 * bits/basic_string.h: Tweak.
8317 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8318 that string::append can be instantiated. HACK--checkin
8319 basic_string::iterator class.
8321 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8323 * bits/std_sstream.h: Tweak.
8324 * bits/sstream.tcc: Tweak ctors.
8326 FIXME invalid friend defs. . WHERE ARE THEY??
8328 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8329 names for basic_streambuf data members.
8331 * bits/std_streambuf.h: Add getloc() initialization bits.
8332 basic_streambuf(): Initialize with global locale data.
8333 imbue(): Set _M_init.
8335 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8336 stream pos == pos_type(off_type(-1)).
8337 in_avail(): Complete default implementation.
8338 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8339 underflow, uflow, xsgetn, showmany, sync: Ditto.
8341 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8343 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8344 re-populate with in-line member functions that are too big. Add
8345 initialization for _M_init.
8347 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8349 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8350 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8353 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8355 * bits/c++config.h (_G_DEPRICATED): Add.
8356 (_G_USE_WCHAR_T): Add.
8357 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8358 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8359 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8360 * bits/std_fstream.h: Add comment for implementation.
8361 * src/streambuf.cc: Remove.
8362 * src/Makefile.in: Remove streambuf.lo.
8363 * src/misc-inst.cc: Tweak.
8365 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8367 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8368 * testsuite/27stringstream.C: Modify.
8370 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8372 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8373 (libstdc___la_SOURCES): Ditto.
8375 * bits/streambuf.tcc: Tweak.
8377 * src/streambuf.cc: New file, add out-of-line definitions for
8380 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8381 Comment out wchar_t versions of the buffer instantiations, for now.
8383 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8384 Remove template wrapper around _Streambuf_base.
8385 Move IO_* data members into _Streambuf_base.
8386 Move _Streambuf_base members into streambuf.tcc.
8388 * bits/c++config.h (_G_USE_LIBIO): Enable.
8390 1998-11-02 Nathan Myers <ncm@cantrip.org>
8392 * CHECKLIST: downgrade iterator implementations
8393 * DESIGN: fill out notes about unimplemented features
8395 1998-10-31 Nathan Myers <ncm@cantrip.org>
8397 * CHECKLIST: itemized list of all interfaces, and status of each.
8399 1998-10-30 Nathan Myers <ncm@cantrip.org>
8401 * RELEASE-NOTES: add notes about optional includes, linking, running
8402 * src/Makefile.am: handle header installs properly
8403 * src/Makefile.in: regenerate from new src/Makefile.am
8405 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8407 * bits/basic_string.h: Revert npos pending ciso646.
8408 * src/Makefile.am: Revert CXX flags for now.
8409 * src/Makefile.in: Ditto.
8411 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8413 * bits/std_sstream.h: Re-order ctors to put base before member
8416 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8418 * stl/bits/std_memory.h: Fix typo.
8420 1998-10-30 Nathan Myers <ncm@cantrip.org>
8422 * src/string[A-Z]+.cc: change back to include "string.cc".
8423 * src/Makefile.am: revert filename changes. We need a different
8424 way to keep filenames in std/ from confusing Make.
8425 * bits/basic_string.h: define _S_max_size right, return it from
8426 string::max_size(); churn definition of npos again.
8427 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8428 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8429 * BUGS: clear cruft.
8430 * C++STYLE: Touchup for release.
8431 * CHECKLIST: Touchup for release.
8433 * LICENSE.STD: Add requirement to retain copyrights and to provide
8434 the license with any copies.
8435 * README: Update for release.
8436 * TODO: Minor touchup for release.
8437 * RELEASE-NOTES: prepare for release
8439 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8441 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8443 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8445 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8446 CXX to generate the shared object.
8448 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8450 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8452 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8453 2, from npos, solving infinite loop problems.
8455 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8457 * src/Makefile.am: Add rules to install headers.
8459 1998-10-29 Nathan Myers <ncm@cantrip.org>
8461 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8462 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8465 * shadow/bits/wrap_libio.h:
8466 * shadow/bits/wrap_unistd.h: New files.
8468 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8470 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8471 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8473 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8475 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8476 is not compiled with -fno-implicit-templates in effect.
8478 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8479 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8480 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8482 * src/stringADDPS.cc: Likewise.
8483 * src/stringADDSC.cc: Likewise.
8484 * src/stringADDSP.cc: Likewise.
8485 * src/stringADDSS.cc: Likewise.
8486 * src/stringBIST.cc: Likewise.
8487 * src/stringBOST.cc: Likewise.
8488 * src/stringCHTR.cc: Likewise.
8489 * src/stringEQPS.cc: Likewise.
8490 * src/stringEQSP.cc: Likewise.
8491 * src/stringEQSS.cc: Likewise.
8492 * src/stringEXTRA.cc: Likewise.
8493 * src/stringGEPS.cc: Likewise.
8494 * src/stringGESP.cc: Likewise.
8495 * src/stringGESS.cc: Likewise.
8496 * src/stringGETLI.cc: Likewise.
8497 * src/stringGTPS.cc: Likewise.
8498 * src/stringGTSP.cc: Likewise.
8499 * src/stringGTSS.cc: Likewise.
8500 * src/stringINSER.cc: Likewise.
8501 * src/stringLEPS.cc: Likewise.
8502 * src/stringLESP.cc: Likewise.
8503 * src/stringLESS.cc: Likewise.
8504 * src/stringLTPS.cc: Likewise.
8505 * src/stringLTSP.cc: Likewise.
8506 * src/stringLTSS.cc: Likewise.
8507 * src/stringMAIN.cc: Likewise.
8508 * src/stringNEPS.cc: Likewise.
8509 * src/stringNESP.cc: Likewise.
8510 * src/stringNESS.cc: Likewise.
8511 * src/stringSCOPY.cc: Likewise.
8512 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8514 * src/wstringADDPS.cc: Likewise.
8515 * src/wstringADDSC.cc: Likewise.
8516 * src/wstringADDSP.cc: Likewise.
8517 * src/wstringADDSS.cc: Likewise.
8518 * src/wstringBIST.cc: Likewise.
8519 * src/wstringBOST.cc: Likewise.
8520 * src/wstringCHTR.cc: Likewise.
8521 * src/wstringEQPS.cc: Likewise.
8522 * src/wstringEQSP.cc: Likewise.
8523 * src/wstringEQSS.cc: Likewise.
8524 * src/wstringEXTRA.cc: Likewise.
8525 * src/wstringGEPS.cc: Likewise.
8526 * src/wstringGESP.cc: Likewise.
8527 * src/wstringGESS.cc: Likewise.
8528 * src/wstringGETLI.cc: Likewise.
8529 * src/wstringGTPS.cc: Likewise.
8530 * src/wstringGTSP.cc: Likewise.
8531 * src/wstringGTSS.cc: Likewise.
8532 * src/wstringINSER.cc: Likewise.
8533 * src/wstringLEPS.cc: Likewise.
8534 * src/wstringLESP.cc: Likewise.
8535 * src/wstringLESS.cc: Likewise.
8536 * src/wstringLTPS.cc: Likewise.
8537 * src/wstringLTSP.cc: Likewise.
8538 * src/wstringLTSS.cc: Likewise.
8539 * src/wstringMAIN.cc: Likewise.
8540 * src/wstringNEPS.cc: Likewise.
8541 * src/wstringNESP.cc: Likewise.
8542 * src/wstringNESS.cc: Likewise.
8543 * src/wstringSCOPY.cc: Likewise.
8544 * src/string.cc: Remove now unneeded #defines now.
8546 1998-10-29 Nathan Myers <ncm@cantrip.org>
8548 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8550 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8551 add definitions for double, long double, const void*.
8552 * bits/std_ostream.h: Move op<<'s back into class ostream,
8553 define some in-line.
8554 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8555 string construction from input iterators that Brendan reported.
8558 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8560 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8562 * bits/valarray_meta.h (class _Constant): Move declaration to the
8563 top, so the rest of the file can grok it.
8564 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8566 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8568 (basic_stringstream::str, both instances): Likewise.
8570 1998-10-28 Nathan Myers <ncm@cantrip.org>
8572 * bits/locfacets.h: fix num_put<>::falsename()
8573 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8574 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8575 * bits/locfacets.tcc: touch up _S_group_digits.
8576 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8578 1998-10-27 Nathan Myers <ncm@cantrip.org>
8580 * stl/bits/stl_config.h: Turn off long long support, for now.
8581 * src/locale-inst.cc: Instantiate num_put<> only for
8582 ostreambuf_iterator, num_get only for istreambuf_iterator.
8583 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8584 add lots of new instantiations for num_put support function templates;
8585 remove junk about __match_parallel for ostreambuf_iterator.
8587 1998-10-27 Nathan Myers <ncm@cantrip.org>
8589 * bits/locfacets.tcc: Make num_put's digit grouping work.
8590 * bits/string.tcc: More uglification.
8591 * src/ios.cc: initialize format cache right
8593 1998-10-26 Nathan Myers <ncm@cantrip.org>
8595 * bits/basic_string.h: Uglify more names.
8596 * bits/fstream.tcc: Rewrite some filebut output handling.
8597 * bits/ios_base.h: Cosmetic.
8598 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8599 Also, specialize its default ctor for optimal default case.
8600 #ifdef out "long long" prototypes for now.
8601 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8602 implementation for integer types. (Still needs optimized
8603 std::copy() applied to ostreambuf_iterator to be optimal.)
8604 * bits/ostream.tcc: Write operator<< for long, bool types.
8605 Make other operators<< non-members, per spec. (Many still
8606 not implemented.) Identify those that fail to create a sentry.
8607 * bits/sbuf_iter: Cosmetic.
8608 * bits/std_fstream.h: Add some filebuf members.
8609 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8610 * bits/std_ostream.h: Make member operators<< global, per spec.
8611 (Should do the same in std_istream.h.)
8612 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8613 * bits/string.tcc: Uglify names
8614 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8615 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8616 for optimal default behavior.
8618 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8620 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8622 1998-10-21 Nathan Myers <ncm@cantrip.org>
8624 * src/locale.cc: make ctype operations actually work for glibc
8625 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8626 checklist of stdlib facilities. Not filled in yet.
8628 1998-10-20 Nathan Myers <ncm@cantrip.org>
8630 * bits/string.tcc: fix patching NULs on string ends.
8632 1998-10-19 Nathan Myers <ncm@cantrip.org>
8634 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8635 iterator forward declarations
8636 * bits/sbuf_iter.h: eliminate default template argument definitions
8637 on streambuf iterators (rely on <iosfwd> decls).
8638 * TODO: add note about lazy facet construction
8639 * bits/basic_ios.h: hit operator void* again. This should be the
8640 last time we need to touch it.
8641 * bits/basic_ios.h: copyfmt now returns *this.
8642 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8643 * bits/basic_string.h: put back overloaded constructors; adjust
8644 behavior for default allocator on copy constructor.
8645 * bits/char_traits.h: make not_eof return correct type.
8646 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8647 cannot be in non-standard headers or we get include loops (bad)
8648 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8649 * bits/loccore.h: add apparatus to support lazy construction of
8651 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8652 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8653 locale use_facet<> failure.
8654 * bits/std_locale.h: same.
8655 * bits/std_string.h: same.
8656 * bits/std_stdexcept.h: change exception member __msg from a
8657 reference to a regular object.
8658 * bits/string.tcc: add pasting a NUL on the end of strings after
8659 each operation. We had already left room for it, but previously
8660 plugged it only on a call to c_str(), but the WG changed the
8661 requirement when I wasn't looking. (Can't leave them alone for
8662 a second without they break something else.)
8663 * bits/valarray_meta.h: add Gaby's changes from 981018.
8664 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8665 failure of use_facet<>().
8666 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8667 comment out leftover member definitions
8669 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8671 * string/Makefile.am: Revert last change.
8672 * math/Makefile.am: Likewise.
8674 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8676 * bits/std_sstream.h: Fix typo.
8678 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8680 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8682 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8683 * bits/std_stdexcept.h: Remove.
8685 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8687 * src/misc-inst.cc: Tweak again.
8689 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8690 * bits/sstream.tcc: New file.
8692 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8694 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8695 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8698 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8700 (INFINITE_P): Use IS_INF macro if available.
8702 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8704 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8706 * string/Makefile.am: Likewise.
8708 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8710 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8712 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8713 endianess is available run AC_C_BIGENDIAN.
8715 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8716 fixincludes is fixed.
8717 * math/clogl.c: Likewise.
8718 * math/csqrtl.c: Likewise.
8719 * math/mycabsl.c: Likewise.
8721 * math/mathconf.h: Include machine/endian.h if possible. If no
8722 header describing endianess is available rely on WORDS_BIGENDIAN
8724 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8725 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8728 * src/complex.cc (polar): Don't use sincos on OSF machines.
8730 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8732 * src/locale-inst.cc: Don't instantiate time_get for
8733 ostreambuf_iterators as time_get::do_get_weekday and
8734 time_get::do_get_monthname use __match_parallel, which is illegal
8735 for ostreambuf_iterators to use, as they don't have operator== or
8737 * bits/std_stdexcept.h: Add dtor definitions.
8738 Use stl/bits/std_stdexcept.h instead of this file?
8739 * bits/sbuf_iter.h : Tweak.
8740 * src/misc-inst.cc: Tweak.
8742 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8744 * bits/std_stdexcept.h: New file.
8745 * src/stdexcept.cc: Define the following:
8747 runtime_error::what()
8749 * src/misc-inst.cc: New file.
8750 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8751 (libstdc___la_OBJECTS): Add misc-inst.lo.
8753 * bits/basic_string.h: Disable non-standard ctor declarations.
8754 * bits/string.tcc: Disable definitions as well.
8755 * src/string.cc: Disable <ios> dependancies.
8756 * bits/sbuf_iter.h (std): Add default to template parameter for
8757 ostreambuf_iterator and istreambuf_iterator.
8758 * bits/std_iosfwd.h: Change istreambuf_iterator to
8759 basic_istreambuf_iterator. Likewise for ostreambuf.
8760 * bits/locfacets.tcc (__match_parallel): Fix typo.
8761 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8763 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8764 * bits/std_istream.h: Define the following:
8765 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8766 get (char_type* __s, streamsize __n, char_type __delim);
8767 getline (char_type* __s, streamsize __n, char_type __delim)
8768 * bits/loccore.h : FIXME friend template code for use_facet.
8769 Add std_stdexcept.h include so that range_error will be defined.
8770 Add explicit conversion to string for range_error throws. (HACK?)
8772 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8774 * configure.in: Check for sincos, sincosf, and sincosl.
8775 * src/complex.cc (polar): Use sincos if available.
8777 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8778 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8780 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8782 * math/cpow.c: Use c_log, not clog.
8783 * math/cpowf.c: Likewise.
8784 * math/cpowl.c: Likewise.
8786 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8789 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8790 isfinite macro if it is available.
8791 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8793 * math/ccosf.c: Use appropriate test macros for this type.
8794 * math/ccoshf.c: Likewise.
8795 * math/ccoshl.c: Likewise.
8796 * math/ccosl.c: Likewise.
8797 * math/cexpf.c: Likewise.
8798 * math/cexpl.c: Likewise.
8799 * math/clog10f.c: Likewise.
8800 * math/clog10l.c: Likewise.
8801 * math/clogf.c: Likewise.
8802 * math/clogl.c: Likewise.
8803 * math/csinf.c: Likewise.
8804 * math/csinhf.c: Likewise.
8805 * math/csinhl.c: Likewise.
8806 * math/csinl.c: Likewise.
8807 * math/csqrtf.c: Likewise.
8808 * math/csqrtl.c: Likewise.
8809 * math/ctanf.c: Likewise.
8810 * math/ctanhf.c: Likewise.
8811 * math/ctanhl.c: Likewise.
8812 * math/ctanl.c: Likewise.
8814 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8816 * bits/basic_ios.h: Fix previous change.
8818 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8820 * bits/basic_ios.h: Add const_cast<basic_ios&>
8821 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8823 * bits/char_traits.h: No _CharT for specialization, change to 0.
8824 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8825 constant-initializer.
8826 * bits/locfacets.tcc: Add template parameter to initialization list.
8828 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8830 * bits/basic_string.h: Should just be <, not <=.
8832 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8834 * bits/string.tcc (compare): Fix for strings that are similar, but
8835 not the same length.
8837 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8839 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8840 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8841 We can't check for __GLIBC__ here, since this header can be read
8842 before any system one (that would lead to features.h) being used.
8844 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8846 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8847 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8849 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8850 LONGLONG_{MIN,MAX} which I can't find the origin of.
8852 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8854 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8855 should this come from, if not iostream.h?
8856 (class istream_iterator): Make the new operator!= a friend also.
8858 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8859 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8860 _G_config.h like the egcs one does.
8862 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8864 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8866 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8867 _Expr1 (or _Expr_def if it's taken), and change definitions.
8868 Avoids redecl of the template parm.
8870 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8871 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8873 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8876 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8877 be a better way to do this.
8879 * src/stlinst.cc: New file.
8881 * BUGS: New file, with various discovered bugs that need to be
8884 * Makefile.in, math/Makefile.in, string/Makefile.in,
8885 src/Makefile.in: Reran automake.
8887 Workarounds, these may not all be the final fixes:
8889 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8890 not private, for basic_istream::get() in std_istream.h to be able
8892 (basic_ios::operator void*): Don't use static_cast for the false
8894 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8895 This appears to have been in sep94, but didn't get corrected
8898 * bits/basic_string.h (npos): Don't init here.
8899 * bits/string.tcc: Instead, do initialization here, to -1 instead
8900 of the size_type destructor.
8902 * src/traits.cc, src/wtraits.cc: New files.
8903 * bits/char_traits.h: For char_traits<char> and
8904 char_traits<wchar_t>, declare static, but define over in the src
8907 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8908 gslice_array, and _GsliceExpression.
8910 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8911 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8912 stdout, and stderr. Note we do get unresolved refs to stdin, but
8913 that'll get fixed by the "true" solution.
8915 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8916 definition of basic_streambuf.h, which is used in basic_ios.h to
8919 * bits/std_streambuf.h: Don't include libio.h for now.
8920 (class basic_streambuf): Define missing methods pubimbue and
8923 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8924 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8925 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8927 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8929 * src/locale.cc: Come up with munged versions of _S_toupper,
8930 _S_tolower, and _S_table instead of the glibc-specific ones, so
8931 they're at least defined, if not necessarily usable. The glibc
8932 ones on any other system will yield unresolved refs to
8933 __ctype_{b,toupper,tolower}.
8935 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8936 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8937 anymore cuz of the explicit specialization in char_traits.h.
8938 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8939 file for the details.
8941 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8942 * stl/bits/stl_iterator.h (__distance): Likewise.
8944 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8945 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8948 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8950 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8953 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8955 This should really be fixed with __asm__ directives renaming the
8956 symbol, but keeping the function.
8957 * math/clogf.c (c_logf): Renamed from `clogf'.
8958 * math/clogl.c (c_logl): Renamed from `clogl'.
8959 * math/complex-stub.h (c_logf, c_logl): Change decls.
8961 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8962 _CharT and _InIter parms, since they duplicate the enclosing ones.
8964 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8966 Deal with conflict of the iostreams `clog' and our internal
8967 complex number `clog'.
8968 * src/complex.cc: Call `c_log' instead of `clog'.
8969 * math/clog.c (c_log):: Renamed from clog.
8970 * math/complex-stub.h (c_log): Renamed from clog decl.
8972 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8974 (num_put::put): #if 0 long long version, since we don't declare or
8975 define the long long version of do_put.
8977 1998-08-18 Nathan Myers <ncm@cantrip.org>
8979 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8980 type of get_allocator (thanks to Ryszard Kabatek).
8981 * bits/char_traits.h: make init order of fpos<> members
8983 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8984 flags _S_fd_in etc. for special filebuf ctor.
8985 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8986 to work around problems in friend declarations.
8987 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8988 fix random type errors & typos
8989 * bits/std_fstream.h: major refitting to bypass libio (for now),
8990 instrument to use bits/fstream.tcc template definitions
8991 * bits/std_iosfwd.h: mess with wrappers
8992 * bits/std_istream.h: remove meaningless comment
8993 * bits/std_ostream.h: instrument to work with ostream.tcc.
8994 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8995 * bits/fstream.tcc: template defs for <fstream>
8996 * bits/ostream.tcc: template defs for <ostream>
8997 * bits/streambuf.tcc: template defs for <streambuf>
8998 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8999 * Delete .cc files, replace with bits/*.tcc
9005 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9006 src/stdstreams.cc: cout, cin, etc. definitions
9007 (these still need work: must be init'd before user statics.)
9010 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
9012 Sent to SGI before checkin:
9013 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9014 operator>=): Define.
9015 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9016 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9017 operator>=): Define.
9018 (operator==, operator<): Add inline.
9019 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9020 operator>=): Define.
9021 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9022 operator>=): Define.
9023 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9024 operator>=): Define.
9025 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9026 operator>=): Define.
9027 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9028 operator>=): Define.
9030 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9033 1998-08-15 Nathan Myers <ncm@cantrip.org>
9035 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9036 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9037 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9038 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9039 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9040 * bits/std_sstream.h: formatting cleanups
9042 1998-08-14 Nathan Myers <ncm@cantrip.org>
9044 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9045 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9046 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9047 * bits/locfacets.h: fix missing argument in do_get_monthname
9048 (this is a bug in the standard, ref. 36 in my list.)
9049 * bits/locfacets.h: make month and day name caches mutable
9050 * bits/locfacets.tcc: various typos in get() functions
9051 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9052 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9054 1998-08-12 Nathan Myers <ncm@cantrip.org>
9055 * move streambuf iterators to bits/sbuf_iter.h
9056 * optimize streambuf iterators
9057 * begin generalizing streambuf
9058 * begin implementing num_get<>::get (starting with bool)
9059 * patch stl/bits/stl_config.h so that relops operators are
9060 contained properly, out of the way.
9062 1998-07-24 Nathan Myers <ncm@cantrip.org>
9063 * Fold in SGI 3.11 changes (uglified names, some algorithm
9064 improvements, very minor bug fixes.)
9065 * Uglify names elsewhere to match (s/_T/_Tp/).
9066 * Begin work on optimized streambuf
9067 * Put complex.cc in namespace std:: (thanks Martin)
9069 1998-07-17 Nathan Myers <ncm@cantrip.org>
9071 * bits/char_traits.h: add _Char_traits_match template.
9072 * bits/string.tcc: fix bugs in various find_last* members.
9073 * bits/basic_string.h: redeclare member _S_find.
9074 * stl/bits/stl_iterator.h: change member names in nonstandard
9075 templates bidirectional_reverse_iterator and
9076 random_access_reverse_iterator to match expected changes
9078 * src/string.cc: fix definitions of stream operators.
9080 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9082 * Makefile.am (SUBDIRS): Add string.
9084 * configure.in: Test for long double functions separately. Test for
9085 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9086 Generate string/Makefile.
9088 * bits/c++config.h: Define mbstate_t for Solaris.
9090 * bits/char_traits.h: Remove unused #if.
9092 * bits/std_cwchar.h: Declare wide char string functions.
9094 * m4/stringfcts.m4: New file.
9096 * math/complex-stub.h: Declare nan.
9097 * math/nan.c: New file.
9099 * math/mathconf.h: Hack around missing endian.h file.
9100 Handle missing NAN definition.
9101 Handle missing float math functions.
9103 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9104 (libstdc___la_LDFLAGS): Set version information.
9106 * src/complexl.cc: Don't compile any code if no long double functions
9109 * string/Makefile.am: New file.
9110 * string/dummy.c: New file.
9111 * string/wmemchr.c: New file.
9112 * string/wmemcmp.c: New file.
9113 * string/wmemcpy.c: New file.
9114 * string/wmemmove.c: New file.
9115 * string/wmemset.c: New file.
9117 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9119 * configure.in: Make it work.
9120 * install-sh: New file.
9121 * missing: New file.
9122 * mkinstalldirs: New file.
9123 * m4/mathfcts.m4: New file.
9124 * math/Makefile.am: New file.
9126 * bits/std_complex.h (conj): Mark specializations as inline.
9128 * math/carg.c: New file.
9129 * math/cargf.c: New file.
9130 * math/cargl.c: New file.
9131 * math/mycabs.c: New file.
9132 * math/mycabsf.c: New file.
9133 * math/mycabsl.c: New file.
9134 * math/signbit.c: New file.
9135 * math/signbitf.c: New file.
9136 * math/signbitl.c: New file.
9138 * math/ccos.c: Avoid ISO C 9x functionality.
9139 * math/ccosf.c: Likewise.
9140 * math/ccosh.c: Likewise.
9141 * math/ccoshf.c: Likewise.
9142 * math/ccoshl.c: Likewise.
9143 * math/ccosl.c: Likewise.
9144 * math/cexp.c: Likewise.
9145 * math/cexpf.c: Likewise.
9146 * math/cexpl.c: Likewise.
9147 * math/clog.c: Likewise.
9148 * math/clog10.c: Likewise.
9149 * math/clog10f.c: Likewise.
9150 * math/clog10l.c: Likewise.
9151 * math/clogf.c: Likewise.
9152 * math/clogl.c: Likewise.
9153 * math/cpow.c: Likewise.
9154 * math/cpowf.c: Likewise.
9155 * math/cpowl.c: Likewise.
9156 * math/csin.c: Likewise.
9157 * math/csinf.c: Likewise.
9158 * math/csinh.c: Likewise.
9159 * math/csinhf.c: Likewise.
9160 * math/csinhl.c: Likewise.
9161 * math/csinl.c: Likewise.
9162 * math/csqrt.c: Likewise.
9163 * math/csqrtf.c: Likewise.
9164 * math/csqrtl.c: Likewise.
9165 * math/ctan.c: Likewise.
9166 * math/ctanf.c: Likewise.
9167 * math/ctanh.c: Likewise.
9168 * math/ctanhf.c: Likewise.
9169 * math/ctanhl.c: Likewise.
9170 * math/ctanl.c: Likewise.
9172 * math/complex-stub.h: New file.
9174 * math/mathconf.h: New file.
9176 * src/Makefile.am: New file.
9178 * src/complex.cc: Use mathconf.h instead of complex.h.
9179 Don't use cabs, always use __mycabs.
9181 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9183 * iterator (class reverse_iterator): Do some tweaks to be in sync