1 2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3 * include/bits/stl_tree.h: Overload operators == and != to be able
4 to handle the case (const_iterator,iterator) and
5 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
6 * testsuite/23_containers/map_operators.cc (test02): New tests.
8 2000-11-17 Loren J. Rittle <ljrittle@acm.org>
10 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
11 to ``make --enable-cstdio=stdio the default''.
12 * libstdc++-v3/aclocal.m4: Rebuilt.
13 * libstdc++-v3/configure: Rebuilt.
15 2000-11-17 Phil Edwards <pme@sources.redhat.com>
17 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
19 * configure.target: ...here. Enable generic atomic ops, and warn.
20 * aclocal.m4: Regenerated.
23 * libio/Makefile.in: Ditto.
24 * libmath/Makefile.in: Ditto.
25 * libsupc++/Makefile.in: Ditto.
26 * src/Makefile.in: Ditto.
28 2000-11-16 Loren J. Rittle <ljrittle@acm.org>
30 * include/bits/locale_facets.tcc (num_get<_CharT,
31 _InIter>::do_get(...)): Add missing typename keyword.
33 2000-11-16 Mark Mitchell <mark@codesourcery.com>
35 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
36 --enable-cstdio=stdio the default. Disable wide character support
38 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
39 (GLIBCPP_ENABLE_CSTDIO).
40 * config/c_io_stdio.h: Don't include <libio.h>, don't define
42 * aclocal.m4: Regenerated.
43 * configure: Likewise.
44 * Makefile.in: Likewise.
45 * libio/Makefile.in: Likewise.
46 * libmath/Makefile.in: Likewise.
47 * libsupc++/Makefile.in: Likewise.
48 * src/Makefile.in: Likewise.
50 2000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
52 * config/c_io_stdio.h: Include stddef.h.
54 2000-11-16 Mark Mitchell <mark@codesourcery.com>
56 * config/c_io_stdio.h (streamsize): Make it a typedef for
58 (wstreamsize): Likewise.
60 * config/c_io_stdio.h: Include libio.h.
62 2000-11-15 Mark P Mitchell <mark@codesourcery.com>
64 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
65 * src/Makefile.am (libstdc___la_LIBADD): Use it.
66 * aclocal.m4: Regenerated.
67 * configure: Likewise.
68 * Makefile.in: Likewise.
69 * libio/Makefile.in: Likewise.
70 * libmath/Makefile.in: Likewise.
71 * libsupc++/Makefile.in: Likewise.
72 * src/Makfile.in: Likewise.
74 2000-11-15 Mark Mitchell <mark@codesourcery.com>
76 * mkcheckin.in: Move check for bash version 2 later in the file.
78 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
80 (basic_string::_Rep::_S_terminal): Likewise.
81 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
83 (basic_string::_Rep::_S_terminal): Likewise.
85 2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
87 * mkcheck.in: Add function size_command() for irix.
89 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
91 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
93 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
94 building a canadian cross. This should fix the remaining java
96 * aclocal.m4: Regenerate.
97 * configure: Regenerate.
99 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
101 2000-11-14 Phil Edwards <pme@sources.redhat.com>
103 * mkcheck.in: On a platform where we don't know how to extract
104 section sizes, just set them to zero. Use old method of reading
107 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
109 * config/c_io_stdio.h: Don't define __c_wfile_type
110 when _GLIBCPP_USE_WCHAR_T is not defined.
112 2000-11-13 Phil Edwards <pme@sources.redhat.com>
114 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
115 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
116 (GLIBCPP_CONFIGURE): Call new macro here.
117 * configure.host: Cleanup.
118 * configure.in: Remove those two macros.
119 * configure.target: New file.
120 * aclocal.m4: Regenerated.
122 * Makefile.in: Ditto.
123 * libio/Makefile.in: Ditto.
124 * libmath/Makefile.in: Ditto.
125 * libsupc++/Makefile.in: Ditto.
126 * src/Makefile.in: Ditto.
128 * mkcheck.in: Use libtool. Split things out into functions.
130 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
132 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
133 * Makefile.in: Regenerate.
135 2000-11-12 David Edelsohn <edelsohn@gnu.org>
137 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
138 libiconv.a providing wchar_t support functions.
139 * aclocal.m4: Regenerate.
141 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
143 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
144 * aclocal.m4, configure: Rebuilt.
146 2000-11-12 Brent Verner <brent@rcfile.org>
148 * include/c_std/bits/wrap_langinfo.h: New file.
149 * include/c_std/langinfo.h: New file.
150 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
151 CODESET from _C_legacy::CODESET if using shadow headers.
152 * src/Makefile.am: Add new files.
153 * src/Makefile.in: Regenerate.
155 2000-11-12 Mark Mitchell <mark@codesourcery.com>
157 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
158 of `abs (double)' to ...
161 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
164 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
166 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
167 when _GLIBCPP_USE_WCHAR_T is not defined.
169 2000-11-10 Phil Edwards <pme@sources.redhat.com>
171 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
172 courtesy of Alexandre Oliva, to handle const/non-const signatures.
173 (codecvt::do_out): Use.
174 (codecvt::do_in): And here.
176 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
178 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
180 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
182 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
183 _Count_ones<>::_S_count): Turn into enumerators.
185 2000-11-08 Mark Mitchell <mark@codesourcery.com>
187 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
188 (codecvt::do_in): Likewise.
190 2000-11-08 David Edelsohn <edelsohn@gnu.org>
192 * src/locale-inst.cc: Add explicit instantiations of
193 _M_fill_insert and fill_n<..., unsigned long,...> .
195 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
197 * include/bits/std_complex.h (conj): Undo double removal.
199 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
201 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
202 alternatives for CXX_libstdcxx, now that it is useless.
203 * aclocal.m4, configure: Rebuilt.
205 2000-11-04 Mark Mitchell <mark@codesourcery.com>
207 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
208 * aclocal.m4: Regenerated.
209 * configure: Likewise.
211 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
213 * aclocal.m4: Regenerated.
214 * configure: Likewise.
216 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
218 * acinclude.m4 (CXX): Prevent it from being cached.
219 * aclocal.m4, configure, */Makefile.in: Rebuilt.
221 2000-11-03 David Edelsohn <dje@watson.ibm.com>
223 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
224 flag based on multilib definition of $CXX.
225 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
226 based on multilib definition of $CXX.
227 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
229 2000-11-03 Phil Edwards <pme@sources.redhat.com>
231 * acinclude.m4: Cleanups.
232 * aclocal.m4: Regenerated.
234 * Makefile.in: Ditto.
235 * libio/Makefile.in: Ditto.
236 * libmath/Makefile.in: Ditto.
237 * libsupc++/Makefile.in: Ditto.
238 * src/Makefile.in: Ditto.
240 * docs/install.html: Removal of EGCS.
241 * docs/23_containers/wrappers_h.txt: Likewise.
242 * docs/faq/index.html: Likewise.
243 * docs/faq/index.txt: Regenerated.
244 * docs/thanks.html: More people.
246 2000-11-03 David Edelsohn <edelsohn@gnu.org>
248 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
249 with function name defined in this file.
251 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
253 * include/c/bits/std_cctype.h: Undefine macros that conflict
254 with function names defined in this file.
255 * include/c/bits/std_cstdio.h: Likewise.
257 2000-11-02 Mark Mitchell <mark@codesourcery.com>
259 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
261 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
263 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
264 * aclocal.m4: Regenerated.
265 * Makefile.in: Regenerated.
266 * libio/Makefile.in: Likewise.
267 * libmath/Makefile.in: Likewise.
268 * libsupc++/Makefile.in: Likewise.
269 * src/Makefile.in: Likewise.
270 * configure: Likewise.
271 * config/os/irix/bits/ctype_base.h: Revise.
272 * config/os/irix/bits/ctype_inline.h: Likewise.
273 * config/os/irix/bits/ctype_noninline.h: Likewise.
275 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
276 if not _GLIBCPP_USE_WCHAR_T.
277 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
278 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
279 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
281 * mkcheck.in: Fix echoing of -rpath option.
283 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
285 (__exchange_aand_add): Adjust accordingly.
286 (__atomic_add): Likewise.
288 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
290 * src/locale.cc: Match orderings for static members.
291 * include/bits/fstream.tcc: Fixes for cin.
293 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
295 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
296 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
297 (cos, cosh, sin, sinh): Define primary templates.
299 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
302 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
304 * bits/basic_file.h (_M_open_mode): Change signature, move
306 * config/c_io_libio.cc: ...here.
307 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
308 * aclocal.m4: Regenerate.
309 * configure: Regenerate.
310 * config/c_io_stdio.h: New file.
311 * config/c_io_stdio.cc: New file.
312 * docs/configopts.html: Modify documentation.
314 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
316 * include/c/bits/std_cwctype.h: Add more undefs.
318 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
320 * include/bits/std_complex.h (norm): Forward declare.
321 (complex<>): Comment out friend declaration of conj<>.
322 (conj<>): Comment out specialization.
323 (exp, log, log10): Define primary templates.
325 * src/complex.cc (exp<>, log<>, log10<>): Comment out
328 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
330 * include/bits/std_complex.h: Remove duplicate definition of conj.
331 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
333 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
335 * src/complex.cc (arg, polar): Comment out specializations.
337 * include/bits/std_complex.h (complex<>): Remove arg<> friend
339 (arg): Define primary template.
343 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
345 * include/c/bits/std_cwctype.h: #undef possible function-like
346 macro definitions of iswxxx functions, which might be brought in
347 by <wctype.h>. Those macro definitions prevent build on some
350 * include/bits/std_complex.h (complex<>): Comment out friend
351 declarations of abs<> specializations.
352 (abs): Define primary template.
354 * src/complex.cc (abs): Comment out specialization definition.
356 2000-10-30 Phil Edwards <pme@sources.redhat.com>
358 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
359 the default of 2 to 3.
360 * configure.in: Fix minor typos. SUBST the values of enable_shared
361 and enable_static so that mkcheck will be aware of them. Put the
362 test for gconv.h in with all the other header tests.
363 * aclocal.m4: Regenerate.
365 * Makefile.in: Ditto.
366 * libio/Makefile.in: Ditto.
367 * libmath/Makefile.in: Ditto.
368 * libsupc++/Makefile.in: Ditto.
369 * src/Makefile.in: Ditto.
371 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
372 _G_USING_THUNKS to 0.
374 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
376 * src/complex_io.cc : Remove ancient defines.
377 * config/os/gnu-linux/bits/os_defines.h: Add defines.
378 * libsupc++/tinfo2.cc: Change to cstddef.
380 * include/bits/codecvt.h: Add include of c++config.h, so that
381 __USE_GNU gets defined. (Important for alpha.)
383 * include/c/bits/std_cwctype.h: Same.
384 * include/c/bits/std_ctime.h: And here.
385 * include/c/bits/std_cstdarg.h: Same.
386 * include/c/bits/std_csignal.h: Same.
387 * include/c/bits/std_csetjmp.h: Same.
388 * include/c/bits/std_clocale.h: Same.
389 * include/c/bits/std_climits.h: Touch.
390 * include/c/bits/std_cfloat.h: Same.
391 * include/c/bits/std_cerrno.h: Same.
392 * include/c/bits/std_cwchar.h: Same.
393 * include/c/bits/std_cassert.h: Same.
394 * include/c/bits/std_cctype.h: Same.
395 * include/c/bits/std_cstddef.h: And here.
396 * include/c/bits/std_cstdlib.h: And here.
397 * include/c/bits/std_cstdio.h: Same.
398 * include/c/bits/std_cstring.h: Add names to namespace std::.
400 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
402 (_ISOC99_SOURCE): And this one....
403 * config/os/gnu-linux/bits/os_defines.h: ...to here.
405 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
406 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
408 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
409 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
411 2000-10-30 Steven King <sxking@uswest.net>
413 * include/bits/codecvt.h: Add cast.
414 * include/c_std/stdio.h: Re-add printf using declaration.
415 * include/c_std/bits/std_cstdio.h: Same
416 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
417 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
418 * testsuite/22_locale/facet.cc: Same.
419 * testsuite/22_locale/global_templates.cc: Same.
420 * testsuite/22_locale/operators.cc: Same.
421 * testsuite/22_locale/static_members.cc: Same.
422 * testsuite/26_numerics/c_math.cc: Same.
423 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
424 * testsuite/27_io/fpos.cc: Same.
425 * testsuite/27_io/istream_extractor_arith.cc: Same.
426 * testsuite/27_io/istream_unformatted.cc: Same.
427 * testsuite/27_io/ostream_inserter_arith.cc: Same.
428 * testsuite/27_io/streambuf.cc: Same.
430 2000-10-30 Mark Mitchell <mark@codesourcery.com>
432 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
433 for cabs, cabsf, and cabsl, too.
434 * aclocal.m4: Regenerated.
435 * config.h.in: Likewise.
436 * configure: Likewise.
437 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
439 * libmath/Makefile.in: Regenerated.
440 * libmath/complex-stub.h (cabs): Don't declare if the system
441 already provides this function.
444 * src/complex.cc (abs): Directly use `hypot' since we can't call
447 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
449 * acinclude.m4: Update URL on egcs.cygnus.com to point to
451 * aclocal.m4, configure: Regenerate.
452 * src/gen-num-limits.cc, include/bits/c++config,
453 include/bits/stl_config.h: Remove EGCS references.
455 2000-10-29 Mark Mitchell <mark@codesourcery.com>
457 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
458 building shared executables.
460 2000-10-29 Mark Harig <mharig@landmark.com>
462 * src/Makefile.am: Change logic for include dir options.
463 * src/Makefile.in: Regenerate.
464 * libsupc++/Makefile.am: Ditto.
465 * libsupc++/Makefile.in: Regenerate.
467 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
469 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
470 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
471 with libgcj build issues and improve consistency with the source
472 directory's include directory setup.
473 * configure: Regenerate.
474 * acinclude.m4: Same here.
475 * aclocal.m4: Regenerate.
476 * mknumeric_limits (OUT_H): Also change paths here.
477 * mkcheck.in (C_DIR): And here.
478 * mkc++config (OUT_H): And here.
479 * libmath/Makefile.am (INCLUDES): And here.
480 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
481 * libio/Makefile.am: Ditto.
482 * libsupc++/Makefile.am (INCLUDES): Ditto.
484 2000-10-29 Mark Mitchell <mark@codesourcery.com>
486 * config/c_io_libio.cc (basic_file<char>::__basic_file):
487 Don't pass a NULL _IO_wide_data to _IO_no_init when
488 _GLIBCPP_USE_WCHAR_T is not defined.
489 * config/c_io_libio.h (_IO_codecvt): Don't declare when
490 _GLIBCPP_USE_WCHAR_T is not defined.
491 * config/c_io_libio_codecvt.c: Don't compile it
492 when _GLIBCPP_USE_WCHAR_T is not defined.
493 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
494 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
496 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
497 include it when _GLIBCPP_USE_WCHAR_T is not defined.
498 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
499 when _GLIBCPP_USE_WCHAR_T is not defined.
500 * src/localename.cc (locale::_Impl::_M_construct_collate):
501 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
503 (locale::_Impl::_M_construct_ctype): Likewise.
504 (locale::_Impl::_M_construct_monetary): Likewise.
505 (locale::_Impl::_M_construct_numeric): Likewise.
506 (locale::_Impl::_M_construct_time): Likewise.
507 (locale::_Impl::_M_construct_messages): Likewise.
509 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
510 * aclocal.m4: Regenerated.
511 * configure: Likewise.
512 * config/os/irix/bits/atomicity.h: New file.
513 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
515 (__off64_t): Likewise.
516 (__ssize_t): Likewise.
517 (_G_USING_THUNKS): Define to zero.
519 2000-10-28 Mark Mitchell <mark@codesourcery.com>
521 * src/string-inst.cc (basic_string<C>::npos): Explicitly
524 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
526 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
528 Clean up naming, consistency in "C" library autoconf testing.
529 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
530 GLIBCPP_CHECK_CTYPE_SUPPORT.
531 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
532 * aclocal.m4: Regenerate.
533 * configure.in: And here.
534 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
535 * configure: Regenerate.
537 2000-10-26 David Edelsohn <edelsohn@gnu.org>
539 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
540 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
542 2000-10-26 Phil Edwards <pme@sources.redhat.com>
543 David Edelsohn <dje@watson.ibm.com>
545 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
546 --gc-sections stuff entirely to avoid misleading people.
547 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
548 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
550 * libio/libio.h: Simplify, make fewer assumptions. Define those
551 macros which must be defined.
552 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
555 2000-10-26 Mark Mitchell <mark@codesourcery.com>
557 * include/backward/streambuf.h: New file.
559 2000-10-26 David Edelsohn <dje@watson.ibm.com>
561 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
562 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
563 * config/os/aix/bits/os_defines.h: Add AIX defines.
565 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
567 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
568 * aclocal.m4: Regenerate.
569 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
570 * configure: Regenerate.
571 * docs/configopts.html: Remove.
572 * src/complexl.cc: Revert.
573 * config.h.in: Remove.
574 * include/c_std/bits/std_cmath.h: Remove guards based on
575 _GLIBCPP_USE_LONG_DOUBLE.
576 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
577 with respect to long double signatures.
579 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
581 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
582 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
583 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
584 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
585 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
587 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
589 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
590 Use __valarray_copy_construct only where appropriate.
592 2000-10-25 Mark Mitchell <mark@codesourcery.com>
594 * Makefile.in (check): Don't make mkcheck executable.
595 (check-install): Likewise.
596 * configure.in (AC_OUTPUT): Make mkcheck executable.
597 * mkcheck.in (top_srcdir): New variable.
598 (INC_PATH): Set the path to the backward and ext directories
601 2000-10-25 Phil Edwards <pme@sources.redhat.com>
603 * configure.in: Check for gconv.h.
604 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
606 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
607 * libio/_G_config.h: And here.
608 * libio/iofwide.c: And here.
609 * libio/libio.h: And here.
611 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
612 exception specification to match declaration.
613 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
615 2000-10-24 Mark Harig <mharig@landmark.com>
617 * docs/configopts.html: Added documentation for the
618 "--enable-version-specific-runtime-libs" and
619 "--with-gxx-include-dir" configuration switches.
621 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
623 * include/bits/stl_pair.h (make_pair): Add LWG solution.
625 * testsuite/21_strings/compare.cc (test01): Inject namespace std
628 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
631 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
633 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
635 2000-10-24 Phil Edwards <pme@sources.redhat.com>
637 * acconfig.h: List _GLIBCPP_USE_THREADS.
638 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
639 correction, etc. Add comments about following *real* changes
641 (GLIBCPP_ENABLE_C_MBCHAR): New test...
642 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
643 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
645 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
646 macro _GLIBCPP_USE_THREADS in c++config.h.
647 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
648 this is used in both makefiles and shell scripts (mkcheck).
649 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
651 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
652 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
653 something harmless, like int.
655 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
656 add comment/instructions.
657 * config/os/bsd/bits/os_defines.h: Ditto.
658 * config/os/generic/bits/os_defines.h: Ditto.
659 * config/os/gnu-linux/bits/os_defines.h: Ditto.
660 * config/os/irix/bits/os_defines.h: Ditto.
661 * config/os/newlib/bits/os_defines.h: Ditto.
662 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
663 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
665 * mkcheck.in: Limit the available heap size for testsuite
666 binaries, initially at 2MB.
668 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
670 * testsuite/21_strings/compare.cc (test01): Add using declarations.
672 * include/c_std/bits/std_cerrno.h: And here.
673 * include/c_std/bits/std_cassert.h: Tweaks.
675 * mkcheck.in: Simplify.
677 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
678 (GLIBCPP_ENABLE_LONG_LONG): Same.
679 * aclocal.m4: Regenerate.
681 * src/Makefile.am (c_shadow_headers): Add features.h,
682 bits/wrap_features.h.
683 * src/Makefile.in: Regenerate.
684 * include/c_std/features.h: New file.
685 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
686 file. Need to have c++config.h included before this file so
687 _ISOC99_SOURCE around.
689 * include/c_std/sys/cdefs.h: Hack.
690 * include/c_std/stdlib.h: Same, use c++config.h.
691 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
693 * include/c_std/bits/std_cassert.h: Fix.
694 * include/c_std/bits/std_cerrno.h: Make consistent.
696 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
697 declaration from ::_C_legacy to _C_legacy.
699 * include/c_std/bits/std_cstdio.h: same with printf.
700 * include/c_std/stdio.h: And here.
702 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
703 * include/c_std/stdlib.h: Same here.
705 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
707 * testsuite/21_strings/compare.cc (test01): Add using declarations.
709 * include/c_std/bits/std_cerrno.h: And here.
710 * include/c_std/bits/std_cassert.h: Tweaks.
712 * mkcheck.in: Simplify.
714 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
715 (GLIBCPP_ENABLE_LONG_LONG): Same.
716 * aclocal.m4: Regenerate.
718 * src/Makefile.am (c_shadow_headers): Add features.h,
719 bits/wrap_features.h.
720 * src/Makefile.in: Regenerate.
721 * include/c_std/features.h: New file.
722 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
723 file. Need to have c++config.h included before this file so
724 _ISOC99_SOURCE around.
726 * include/c_std/sys/cdefs.h: Hack.
727 * include/c_std/stdlib.h: Same, use c++config.h.
728 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
730 * include/c_std/bits/std_cassert.h: Fix.
731 * include/c_std/bits/std_cerrno.h: Make consistent.
733 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
734 declaration from ::_C_legacy to _C_legacy.
736 * include/c_std/bits/std_cstdio.h: same with printf.
737 * include/c_std/stdio.h: And here.
739 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
740 * include/c_std/stdlib.h: Same here.
742 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
744 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
745 * aclocal.m4: Regenerate.
746 * configure.in: Use it.
747 * configure: Regenerate.
748 * src/complexl.cc: Fixup.
749 * include/c_std/bits/std_cmath.h: Fixup.
750 * include/c/bits/std_cmath.h: Fixup.
751 * docs/configopts.html: Add docs.
753 * docs/links.html: Add links to defects list, standards FAQ.
755 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
756 with string creation that allocate huge ammounts of memory.
758 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
761 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
763 * libsupc++/exception.cc: Use namespace std.
764 * libsupc++/new: DITTO.
765 * libsupc++/new_op.cc: DITTO.
766 * libsupc++/new_opnt.cc: DITTO.
767 * libsupc++/new_opv.cc: DITTO.
768 * libsupc++/new_opvnt.cc: DITTO.
769 * libsupc++/tinfo.cc: DITTO.
770 * libsupc++/tinfo.h: DITTO.
771 * libsupc++/vec.cc: DITTO.
772 * libsupc++/Makefile.am: Blank lines removal.
774 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
776 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
777 docs/17_intro/howto.html, docs/18_support/howto.html,
778 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
779 docs/21_strings/howto.html, docs/22_locale/howto.html,
780 docs/23_containers/howto.html, docs/24_iterators/howto.html,
781 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
782 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
783 Remove many EGCS references; use current absolute URLs on
784 gcc.gnu.org or sources.redhat.com for messages in list archives.
785 * docs/faq/index.txt: Regenerate.
787 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
789 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
790 creation of state_type for unicode_codecvt to take into account
791 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
792 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
793 * include/bits/codecvt.h (__enc_traits): Add support for encodings
794 that need a byte order marker. Needed for correct unicode support.
796 * src/locale.cc: Remove explicit qualification std::.
797 (locale::locale(const char* __name)): Revert, as named locale
798 support not finished.
799 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
800 size_t __refs, bool __has_name = false, string __name): Move
802 * include/bits/localefwd.h: Here.
804 2000-10-18 Chip Salzenberg <chip@valinux.com>
806 * libio/libio.h (_IO_USER_LOCK): Define.
808 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
810 * libsupc++/Makefile.am (exception): Change exception.cc to
811 exception_support.cc.
812 (CXXLINK): Remove bogus --tag CC.
813 * libsupc++/Makefile.in: Regenerate.
814 * libsupc++/exception.cc: Move to...
815 * libsupc++/exception_support.cc: ...here.
817 * src/Makefile.am: Remove bogus --tag CC.
818 * src/Makefile.in: Regenerate.
820 * include/bits/locale_facets.tcc (use_facet): Simplify.
821 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
822 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
823 (use_facet<ctype<wchar_t> >): Same.
824 * src/locale-inst.cc: Remove explicit instantiation.
825 * src/locale.cc: Correct signature here too.
826 (_Bad_use_facet::what()): Correct error string.
827 * include/bits/localefwd.h: Correct comment.
829 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
831 2000-10-17 Martin Buchholz <martin@xemacs.org>
833 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
834 * testsuite/27_io/ostream_seeks.cc: Similarly.
836 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
838 via Alexandre Oliva <aoliva@redhat.com>
839 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
840 * libsupc++/Makefile.in: Regenerate.
841 * src/Makefile.am: Duplicate code.
842 * src/Makefile.in: Regenerate.
844 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
845 * aclocal.m4: Regenerate.
846 * configure.in: And here.
847 * configure: Regenerate.
849 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
850 test for SECTION_LDFLAGS.
852 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
854 Shadow headers would work if libsupc++ was strict about namespaces.
855 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
856 * include/c_std/assert.h: Add guards.
857 * include/c_std/bits/std_climits.h: Correct typo.
858 * include/c_std/ctype.h: Remove #error.
860 * libio/libioP.h: Break up extern "C" bits around includes.
861 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
863 * libio/libioP.h: Same here.
865 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
867 * include/c_std/unistd.h: Define some types only when defined in
868 the original unistd.h.
869 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
870 definition of size_t, ptrdiff_t and NULL.
871 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
873 2000-10-15 Phil Edwards <pme@sources.redhat.com>
875 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
877 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
878 Mark Harig <markh@landmark.com>
880 * src/Makefile.am (toolexeclibdir): Add support fo
881 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
882 * src/Makefile.in: Regenerate.
883 * libsupc++/Makefile.am: Same.
884 (glibcppinstalldir): Adjust.
885 * libsupc++/Makefile.in: Regenerate.
886 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
887 * Makefile.in: Regenerate.
888 * docs/configopts.html: Add descriptions of flags.
890 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
892 * libsupc++/Makefile.am: Use it.
893 * libio/Makefile.am: Use it.
894 * libmath/Makefile.am: Use it.
895 * src/Makefile.am: Use it.
896 * Makefile.am (AM_MAKEFLAGS): Remove includes.
898 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
899 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
900 * configure.in: Use it.
902 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
904 * src/Makefile.am (CXXCOMPILE): Remove.
905 * src/Makefile.in: Regenerate.
906 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
907 * libsupc++/Makefile.in: Regenerate.
909 * include/c_std/*: Merge with shadow.
910 * include/c_std/bits/*: Same.
912 * shadow: Remove directory.
913 * shadow/*: De-populate.
915 2000-10-11 Phil Edwards <pme@sources.redhat.com>
917 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
918 exception-throwing code for linker test.
919 * aclocal.m4: Regenerate.
920 * configure: Regenerate.
922 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
924 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
925 * libsupc++/include: Remove
926 * libsupc++/include/*: Move to ...
928 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
929 (glibcppinstalldir): New.
931 * src/Makefile.am (c_base_headers): New.
932 (c_shadow_headers): New
934 (myinstallheaders): Correct install issues.
935 * src/Makefile.in: Regenerate.
937 * Makefile.am (CSHADOW_INCLUDES): Simplify.
938 * Makefile.in: Regenerate.
939 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
940 * aclocal.m4: Regenerate.
941 * mkcheck.in (SRC_DIR): Use it.
943 * include/bits/std_stdexcept.h: And here.
944 * include/bits/std_ios.h: Change std_exception.h to exception.
945 * src/locale.cc: And here.
946 * src/locale-inst.cc: And here.
948 * include/bits/valarray_array.h: And here.
949 * include/bits/stl_alloc.h: And here.
950 * include/bits/stl_algobase.h: And here.
951 * include/bits/pthread_allocimpl.h: And here.
952 * include/bits/stl_construct.h: Change to std_new.h to new.
954 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
956 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
957 (headers): Remove duplicated headers.
958 (std_headers): And here.
959 * src/Makefile.in: Regenerate.
960 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
961 * libsupc++/Makefile.in: Regenerate.
962 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
963 (AM_MAKEFLAGS): And here.
964 * Makefile.in: Regenerate.
965 * include/bits/std_typeinfo.h: Remove.
966 * include/bits/std_new.h: Remove
967 * include/bits/std_exception.h: Remove.
969 * std/typeinfo: Remove.
970 * std/exception: Remove.
972 * libio/_G_config.h (__need_ptrdiff_t): Add.
974 * libsupc++/include/new: Change stddef.h to cstddef.
975 * libsupc++/tinfo.h: Change limits.h to climits.
976 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
977 renders the file uncompilable. Add copyright.
979 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
980 namespace, as it is a fundamental type.
982 2000-10-09 Richard Henderson <rth@cygnus.com>
984 * libsupc++/pure.cc: New file.
985 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
986 (sources): Add pure.cc.
987 * libsupc++/Makefile.in: Regenerate.
989 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
991 * docs/configopts.html: Edit.
993 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
994 * libio/Makefile.in: Regenerate.
995 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
996 * libmath/Makefile.in: Regenerate.
997 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
998 * libsupc++/Makefile.in: Regenerate.
1000 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1001 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1002 CSHADOW_INCLUDES up here.
1003 * Makefile.in: Regenerate.
1004 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1006 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1007 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1008 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1009 * src/Makefile.in: Regenerate.
1011 * include/c: New directory.
1012 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1013 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1014 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1015 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1016 std_cwchar.h, std_cwctype.h): Add, moving from...
1017 * include/bits: ...here.
1018 * include/c_std: New directory.
1019 * include/c_std/bits/*: Populate from...
1020 * shadow: ...here. Remove directory.
1022 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1024 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1025 (INCLUDES): Add glibcpp_includedir.
1026 * libsupc++/Makefile.in: Regenerate.
1028 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1029 * aclocal.m4: Regenerate.
1030 * config/os/*/bits/os_defintes: Adjust copyright dates.
1032 2000-10-08 Phil Edwards <pme@sources.redhat.com>
1034 * include/bits/c++config: Include <bits/os_defines.h>
1035 * config/os/aix/bits/os_defines.h: New file.
1036 * config/os/bsd/bits/os_defines.h: Ditto.
1037 * config/os/generic/bits/os_defines.h: Ditto.
1038 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1039 * config/os/irix/bits/os_defines.h: Ditto.
1040 * config/os/newlib/bits/os_defines.h: Ditto.
1041 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1042 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1043 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1045 2000-10-07 David Edelsohn <dje@watson.ibm.com>
1047 * config/os/aix/bits/atomicity.h: New file.
1049 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1051 * acinclude.m4: Remove CPU_FLAGS
1052 * libio/Makefile.am: Here too.
1053 * Makefile.am: Here too.
1055 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1056 (INCLUDES): Remove CONFIG_INCLUDES.
1057 (cpu_headers): Remove.
1058 (myinstallheaders): Remove cpu_headers.
1059 (generated_headers): Rename to build_headers.
1060 (build_headers): Add atomicity.h, ctype_base.h,
1061 ctype_specializations.h.
1063 * config/os: New directory.
1064 * config/aix: Move to...
1065 * config/bsd: Move to...
1066 * config/generic: Move to...
1067 * config/gnu-linux: Move to...
1068 * config/irix: Move to...
1069 * config/newlib: Move to...
1070 * config/solaris: Move to...
1071 * config/os/*: Here.
1073 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1075 * acinclude.m4: Remove CPU_FLAGS
1076 * libio/Makefile.am: Here too.
1077 * Makefile.am: Here too.
1079 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1080 (INCLUDES): Remove CONFIG_INCLUDES.
1081 (cpu_headers): Remove.
1082 (myinstallheaders): Remove cpu_headers.
1083 (generated_headers): Rename to build_headers.
1084 (build_headers): Add atomicity.h, ctype_base.h,
1085 ctype_specializations.h.
1087 * config/os: New directory.
1088 * config/aix: Move to...
1089 * config/bsd: Move to...
1090 * config/generic: Move to...
1091 * config/gnu-linux: Move to...
1092 * config/irix: Move to...
1093 * config/newlib: Move to...
1094 * config/solaris: Move to...
1095 * config/os/*: Here.
1097 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1099 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1100 CONFIG_CXXFLAGS from here, and move to...
1101 * src/Makefile.in: Regenerate.
1102 * Makefile.am: ... here. Clean.
1103 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1104 (WARN_CXXFLAGS): Same.
1105 (CONFIG_CXXFLAGS): Same.
1106 * Makefile.in: Regenerate.
1107 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1108 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1109 * libsupc++/Makefile.in: Regenerate.
1111 Change math to libmath.
1112 * math: Move to libmath, delete.
1113 * libmath: New directory.
1114 * libmath/*: Populate.
1115 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1116 (libstdc___la_LIBADD): Same.
1117 * src/Makefile.in: Regenerate.
1118 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1119 * configure: Regenerate.
1120 * Makefile.am (SUBDIRS): Add libmath.
1121 * Makefile.in: Regenerate.
1122 * README (file): Change name.
1124 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1125 Richard Henderson <rth@cygnus.com>
1126 Alexandre Oliva <aoliva@redhat.com>
1128 * libsupc++: New directory.
1129 * libsupc++/*: Populate.
1130 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1131 eh-common.h, gansidecl.h.
1132 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1133 * configure: Regenerate.
1134 * Makefile.am (SUBDIRS): Add libsupc++.
1135 * Makefile.in: Regenerate.
1136 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1137 * src/Makefile.in: Regenerate.
1138 * libio/Makefile.am: Remove extraneous, confusing bits.
1139 * libio/Makefile.in: Regenerate.
1141 2000-10-05 Brent Verner <brent@rcfile.org>
1143 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1144 test for _M_gcount < in_avail(), as in_avail() only reports info
1145 for current buffer, causing method to return at end of buffer.
1146 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1147 * testsuite/27_io/istream_unformatted-3.txt: New file.
1148 * testsuite/27_io/istream_unformatted-3.tst: New file.
1150 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1152 * README (file): Adjust directory structures.
1153 * mkcheck.in (INC_PATH): Adjust for header changes.
1155 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1157 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1158 for public relations purposes.
1159 * aclocal.m4: Regenerated.
1160 * configure: Regenerated.
1162 * docs/ext/howto.html: Additional explanation about hashing.
1164 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1166 * include: New directory.
1167 * include/backward: New directory.
1168 * include/bits: New directory.
1169 * include/ext: New directory.
1170 * include/std: New directory.
1171 * include/*/*: Populate.
1173 * backwards: Move to include/backwards, delete.
1174 * bits: Move to include/bits, delete.
1175 * ext: Move to include/ext, delete.
1176 * std: Move to include/std, delete.
1178 * src/complex.cc: Adjust include of mathconf.
1180 * mkc++config (BASE_H): Add include.
1182 * src/Makefile.am: Support for topleve sources include directory.
1183 (INCLUDES): Add LIBMATH_INCLUDE.
1184 * src/Makefile.in: Regenerate.
1185 * math/Makefile.am (INCLUDES): Append /include.
1186 * math/Makefile.in: Regenerate.
1187 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1188 * libio/Makefile.in: Regenerate.
1190 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1192 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1194 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1196 * docs/22_locale/howto.html: Add link to proto-documentation on
1198 * docs/documentation.html: Rename links for clarity.
1200 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1201 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1202 * src/Makefile.in: Regenerate.
1204 2000-10-02 Steven King <sxking@uswest.net>
1206 * mkcshadow: Fixed script to output proper include guard.
1207 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1208 * libio/_G_config.h: Hacked to make work with shadow heraders.
1209 * shadow/*: Hacked to make shadow headers work.
1211 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1213 Self-compile with shadow headers.
1214 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1215 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1216 it becomes the default way the library is built.
1217 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1218 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1219 * config/gnu-linux/ctype.cc (ctype): Use it.
1221 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1223 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1224 memset. This should not be necessary, but an ambiguous overload
1227 * shadow/bits/std_cwchar.h: Fix.
1228 * shadow/wchar.h: Fix.
1230 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1231 enums into namespace std:: for ctype_base enum. Other OS types
1232 will have to do this as well.
1233 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1234 namespace std, in particular __ctype_toupper, __ctype_tolower,
1237 * shadow/iolibio.h: New file.
1238 * shadow/bits/wrap_iolibio.h: New file.
1239 * shadow/libioP.h: New file.
1240 * shadow/bits/wrap_libioP.h: New file.
1241 * shadow/bits/wrap_fcntl.h: New file.
1242 * shadow/fcntl.h: New file.
1243 * shadow/iconv.h: New file. Inject iconv names into the global
1244 namespace, unmangled for the moment.
1245 * shadow/bits/wrap_iconv.h: New file.
1246 * shadow/unistd.h: Remove. Useless.
1247 * shadow/bits/wrap_unistd.h: Remove.
1249 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1250 * src/Makefile.in: Regenerate.
1252 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1254 * shadow/libio.h: Fix.
1255 * shadow/bits/wrap_libio.h: Fix.
1257 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1258 which will not compile.
1259 * shadow/bits/std_ctime.h: Same.
1261 * shadow/pthread.h: New file. Put pthreads types and functions
1262 into global scope, which is probably not the correct long-term
1263 solution but has to be done at the moment before libio wrappers
1264 can even be started.
1265 * shadow/bits/wrap_pthread.h: New file.
1267 * bits/std_ios.h: Formatting tweak.
1268 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1270 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1271 tests for compiler features.
1272 * aclocal.m4: Regenerate.
1273 * configure: Regenerate.
1275 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1277 * libio/libioP.h: Comment out fcntl.h include.
1279 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1281 * bits/c++config: Define _ISOC99_SOURCE.
1283 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1284 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1285 * aclocal.m4: Regenerate.
1286 * configure: Regenerate.
1287 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1288 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1289 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1290 std or shadow directories.
1291 (LTCXXCOMPILE): Same.
1292 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1293 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1294 * src/Makefile.in: Regenerate.
1296 * src/complex.cc (FCT): Change ::name to name.
1297 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1298 * src/complexf.cc (FCT): Same.
1300 * src/complexf.cc: Remove FCT define, as things are properly
1301 overloaded in the std namespace with the shadow headers.
1302 * src/complexl.cc: Same.
1303 * src/complex.cc: Same.
1305 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1307 * docs/documentation.html: Add link to...
1308 * docs/ext/howto.html: ...this. New dir/file, describing library
1309 extensions (both ours and SGI's).
1310 * docs/faq/index.html: Small updates.
1311 * docs/faq/index.txt: Regenerate.
1313 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1315 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1317 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1319 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1321 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1323 * src/localename.cc (locale::_Imp) : Remove typedefs.
1324 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1325 __f): Consistency check, call _Imp ctor with reference argument
1327 * bits/localefwd.h: Change _S_num_categories to
1328 _S_categories_num. Add new data member, _S_facets_num, which is
1329 the number of standard facets.
1331 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1333 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1335 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1337 * docs/thanks.html: More thanks.
1338 * docs/18_support/howto.html: Fix thinko.
1339 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1340 Redo the string transformation notes and link to...
1341 * docs/22_locale/howto.html: ...here.
1343 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1345 * src/locale-inst.cc: Add time_put_byname and
1346 time_get_byname instantiations.
1347 * bits/locale_facets.h: Correct default, private derivation to
1348 public derivation in _byname declarations.
1349 * src/locale.cc (locale::classic()): Simplify.
1350 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1351 const string& __name, category __cat, size_t __refs): Re-work for
1353 (_M_normalize_category_names): Remove.
1355 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1356 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1358 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1360 * bits/std_bitset.h (operator>>): Change to char_type.
1362 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1364 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1365 name setting. Add checks for NULL __name pointers. Remove calls to
1366 _S_initialize() as initial locale initialization can either be
1367 assumed, or needs to be made consistent throughout locale
1369 (locale::locale(const locale& __other, const char* __name,
1370 category __cat): Add checks for NULL name. Add checks for
1372 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1373 const string& __name, category __cat, size_t __refs)): Set correct
1374 name, has_name values.
1375 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1376 * docs/22_locale/locale.html: New file, more unfinished docs...
1378 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1380 * src/locale.cc (locale::name()): Implement.
1381 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1382 string __name = "*")): Change signature.
1383 (locale::classic): Initialize the "C" locale as a named locale.
1384 * bits/localefwd.h (locale): Change _M_num_references to
1385 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1387 * bits/localefwd.h: Tweaks.
1388 * src/localename.cc: Tweaks.
1389 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1392 * bits/basic_string.h: Consistency check, change _M_state ->
1395 2000-09-14 Brendan Kehoe <brendan@zen.org>
1397 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1400 * src/Makefile.an (headers): Also install backward/fstream.h.
1401 * src/Makefile.in: Regenerate.
1403 * bits/char_traits.h (char_traits<_CharT>::get_state,
1404 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1405 argument in by reference, not by value. Uglify to _S_get_state.
1406 (char_traits<*>::__eos): Uglify to _S_eos.
1407 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1408 Change __eos to _S_eos.
1410 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1412 * testsuite/22_locale/static_members.cc: New file.
1413 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1414 * src/locale.cc: Minor formatting tweaks.
1416 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1418 * testsuite/22_locale/global_templates.cc (test01): Add negative
1419 tests for use_facet.
1421 * bits/localefwd.h (locale::operator()): Minor tweaks.
1422 * bits/locale_facets.tcc (locale::operator()): Same.
1423 * testsuite/22_locale/operators.cc: New file.
1425 * testsuite/22_locale/facet.cc (output_iterator): Remove
1426 gnu_input_iterator, gnu_output_iterator.
1428 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1430 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1431 * aclocal.m4: Regenerate.
1432 * configure: Regenerate.
1434 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1435 snapshot release soon.
1436 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1437 is pretty much assumed.
1439 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1440 use_facet and has_facet.
1442 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1443 Modify/correct iconv signatures for glibc2.2.
1445 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1447 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1450 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1452 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1453 (locale): Make _Impl declaration public.
1455 2000-09-08 Felix Natter <fnatter@gmx.net>
1457 * docs/17_intro/porting-howto.html: New version.
1459 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1461 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1463 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1464 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1466 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1468 Add bits for --enable-maintainer-mode:
1469 - turns on enable_debug
1470 (doing "--enable-maint --disable-debug" will DTRT)
1471 - turns on -Werror, now off by default
1472 * acinclude.m4: Add bits.
1473 * aclocal.m4: Regenerate.
1474 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1475 * configure: Regenerate.
1477 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1479 * bits/std_cwctype.h: Remove yesterday's hacks.
1481 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1483 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1484 * testsuite/23_containers/set_operators.cc: New file. Should not
1486 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1488 2000-09-06 Richard Henderson <rth@cygnus.com>
1489 Benjamin Kosnik <bkoz@cygnus.com>
1491 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1492 * aclocal.m4: Regenerate.
1493 * configure: Regenerate.
1494 * config/cpu/ia64: New directory.
1495 * config/cpu/ia64/bits: New directory.
1496 * config/cpu/ia64/bits/atomicity.h: New file.
1498 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1500 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1501 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1503 * aclocal.m4: Regenerate.
1504 * configure: Regenerate.
1505 * */Makefile.in: Regenerate.
1507 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1508 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1510 * testsuite/23_containers/vector_element_access.cc: New file.
1511 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1513 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1515 * bits/string.tcc: Fix up more parameter names.
1517 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1519 * configure: Rebuilt with new libtool.m4.
1521 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1523 * src/locale-inst.cc: Remove pre-instantiation of unicode
1524 codecvt types. Now unnecessary, as locale header now correct.
1526 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1528 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1529 * src/locale.cc: Here.
1530 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1531 definition. Move specialization to ...
1532 * src/locale.cc: Here.
1533 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1534 * src/locale.cc: Here.
1535 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1536 * src/locale.cc: Here.
1538 * bits/std_locale.h: Note that locale_facets.tcc should be
1539 included here, for standards conformance. It may increase
1540 compile times though. For the time being, enable.
1541 * testsuite/22_locale/facet.cc: New file, some parts commented out
1544 * mkcheck.in: Append total time to test summary file.
1546 * bits/sbuf_iter.h : Formatting tweaks.
1548 Clean up static const data member definitions.
1549 * src/locale.cc: Add definitions for all missing locale,
1550 locale::_Imp, and locale::id static data members.
1551 (ctype<char>): Add table_size define.
1552 (money_base): Add _S_default_pattern, uglify.
1553 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1554 * bits/locale_facets.h: Tweaks.
1555 * bits/locale_facets.tcc: Tweaks.
1556 * bits/string.tcc: Add definition for npos.
1557 * bits/ios_base.h: Tweaks.
1558 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1560 * src/ios.cc: And here. Add _S_local_words definition.
1561 Add definitions for __ios_flags const static data.
1562 * src/codecvt.cc: Same for __enc_traits.
1563 * src/locale-inst.cc: Remove money_base data member definition
1566 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1568 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1570 * docs/22_locale/codecvt.html: Re-number.
1571 * docs/22_locale/howto.html: Add entry for ctype
1572 documentation. Add entry for Nathan's introduction to locales
1574 * docs/22_locale/ctype.html: New file. In progress...
1576 * docs/22_locale/codecvt.html: Formatting cleanups.
1577 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1579 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1581 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1582 tweaks for certain browsers.
1584 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1586 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1587 Add include for bits/std_cwctype.h, for wctype_t.
1588 * src/locale.cc (ctype<wchar_t>): Implement.
1589 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1590 typedef, instead name enum.
1591 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1592 * config/gnu-linux/ctype.cc: Tweak.
1593 * testsuite/22_locale/ctype.cc: Tweak.
1595 * bits/codecvt.h (__enc_traits): Uglify names.
1597 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1599 * docs/22_locale/codecvt.html: Add more bits, format.
1600 * bits/codecvt.h: Add copy ctor, rename types.
1601 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1603 * libio/iofwide.c: Tweak.
1605 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1607 * docs/configopts.html: Mention new options.
1608 * docs/install.html: Formatting changes for platform-specific
1609 pre-reqs, previously only Cygwin.
1610 * docs/mail.html: Fix new link.
1611 * docs/thanks.html: A couple more people.
1612 * docs/26_numerics/howto.html: Fix typo.
1614 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1616 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1617 * docs/22_locale/codecvt.html: New file. In progress.
1619 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1621 * acconfig.h: Revert.
1622 * acinclude.m4: Revert.
1623 * libio/_G_config.h: Revert.
1624 * libio/libio.h: Revert.
1626 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1628 * bits/codecvt.h: Tweaks.
1629 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1630 initial string literals for UCS4.
1632 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1634 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1635 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1636 definition as well, and some minor spelling/spacing fixes. If
1637 building libio, check for certain typedefs.
1638 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1639 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1640 will never be there.
1641 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1642 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1644 * configure.in: Update the cache a bit more often.
1646 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1648 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1650 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1651 __enc_traits> instantiations for has_facet and use_facet.
1652 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1653 testing two-byte unicode encodings converted to four-byte UCS4
1656 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1657 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1658 correct state/encoding information.
1660 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1661 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1663 Add checks for langinfo.h, nl_langinfo function call.
1664 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1666 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1668 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1669 ((unused)) to __attribute__ ((__unused__)).
1670 * config/cpu/arm/bits/atomicity.h: Same.
1671 * config/cpu/generic/bits/atomicity.h: Same.
1672 * config/cpu/i386/bits/atomicity.h: Same.
1673 * config/cpu/i486/bits/atomicity.h: Same.
1674 * config/cpu/powerpc/bits/atomicity.h: Same.
1675 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1676 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1678 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1680 * bits/basic_string.h: Fix up parameter names.
1682 2000-08-22 Brent Verner <brent@rcfile.org>
1684 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1686 * src/Makefile.in: Regenerate.
1688 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1690 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1691 up __enc_traits template so as to be marginally useful.
1692 * src/codecvt.cc: And here.
1693 * bits/char_traits: Tweak.
1694 * bits/locale_facets.h: Tweak.
1695 * bits/locale_facets.tcc: Tweak.
1696 * bits/localefwd.h: Tweak.
1697 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1698 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1699 * testsuite/22_locale/codecvt_char_char.cc: New file.
1700 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1702 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1704 * bits/std_cmath.h (std::abs): Overload for int and long.
1706 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1708 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1710 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1712 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1713 thinko. Diagnostic messages really need to be improved for
1714 template argument deduction.
1716 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1718 * bits/valarray_meta.h: Fix typos...
1720 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1722 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1723 _Expr<>::apply): Implement.
1725 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1727 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1729 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1732 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1734 * bits/localefwd.h (std::locale): Use explicit `class' specified
1735 when declaring friends.
1736 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1738 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1740 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1741 * src/Makefile.in: Regenerate.
1743 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1745 * bits/codecvt.h: New file.
1746 * src/codecvt.cc: New file.
1747 * bits/std_locale.h: Add include here.
1748 * src/Makefile.am (headers): Add codecvt.h
1749 (sources): Add codecvt.cc.
1750 * src/Makefile.in: Regenerate.
1751 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1752 __codecvt_abstract_base in an attempt to point some light this way...
1753 Move __enc_traits and codecvt bits to codecvt.h.
1754 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1755 explicit instantiation. Separate out codecvt instantations, simplify.
1756 * src/locale.cc: Move codecvt bits to codecvt.cc
1758 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1760 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1761 * src/Makefile.in: Regenerate.
1763 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1765 C/C++ io merge/sync.
1776 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1777 ((struct _IO_FILE_plus *) in ctors.
1778 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1779 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1780 * libio/cleanup.c: Remove.
1781 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1782 _IO_cleanup_registration_needed, even if not libc.
1784 * testsuite/27_io/stringstream.cc (test02): Fix.
1786 2000-08-14 Brent Verner <brent@rcfile.org>
1788 * testsuite/debug_assert.h: new file
1789 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1790 changed conditional #include <c?assert.?h?> to
1791 unconditional #include <debug_assert.h>
1792 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1793 for testsuite compile command.
1795 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1797 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1798 wofstream, filebuf, wfilebuf, fstream, wfstream.
1799 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1800 * bits/std_sstream.h: Same for stringstream and wstringstream.
1801 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1802 ostringstream, wostringstream.
1804 * testsuite/26_numerics/valarray.cc: Add test.
1806 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1808 * configure: Regenerate after change to ../libtool.m4.
1810 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1812 * bits/locale_facets.tcc: Formatting tweaks.
1813 * bits/locale_facets.h (__enc_traits): Start integrating this
1814 into codecvt, ctype. Formatting tweaks.
1816 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1818 Preliminary wchar_t implementation, with trivial encodings.
1819 * docs/configopts.html: Add bits about canonical configure option
1822 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1823 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1824 * testsuite/27_io/narrow_stream_objects.cc: New file.
1825 * testsuite/27_io/wide_stream_objects.cc: New file.
1827 * bits/fstream.tcc (underflow): Temporarily hack a solution
1828 together that writes from the external file to the internal
1829 buffers. This removes codecvt from the loop, and is incorrect.
1830 (_M_really_overflow): Same here.
1832 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1834 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1835 Ulrich Drepper <drepper@cygnus.com>
1837 * config/c_io_libio.h: Tweak.
1838 * config/c_io_libio_codecvt.c: New file.
1839 * libio/Makefile.am: Add c_codecvt.c.
1840 * libio/Makefile.in: Regenerate.
1841 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1842 stream is not orientated.
1844 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1845 encoding gets fleshed out.
1847 * bits/basic_file.h: Add specialization declarations.
1848 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1850 * config/c_io_libio.h: Add __c_wfile_type.
1851 * bits/basic_file.h: Add _M_wfile.
1853 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1854 streams without setting the orientation of the underlying FILE to
1855 either wide or narrow.
1856 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1858 2000-08-07 Felix Natter <fnatter@gmx.net>
1860 * docs/17_intro/porting-howto.html: New version.
1862 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1864 * bits/locale_facets.h (ctype::ctype): Don't name unused
1867 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1869 * docs/install.html: Edit bits about requiring a special version
1872 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1874 * libio/fileops.cc: Update to current glibc sources.
1875 * libio/genops.c: Same.
1876 * libio/iofwide.c: Same.
1877 * libio/libio.h: Same.
1878 * libio/libioP.h: Same.
1879 * libio/wfiledoalloc.c: Same.
1880 * libio/wgenops.c: Same.
1882 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1884 * acinclude.m4: Include ../libtool.m4.
1885 * aclocal.m4, configure: Rebuilt.
1887 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1889 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1890 before trying to use any of its options.
1891 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1892 * aclocal.m4: Regenerate.
1893 * configure.in: Having found GNU make, name it.
1894 * configure: Regenerate.
1895 * docs/install.html: Mention possible problems with caching.
1896 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1897 * src/Makefile.in: Regenerate.
1898 * libio/Makefile.in: Regenerate.
1899 * math/Makefile.in: Regenerate.
1900 * Makefile.in: Regenerate.
1902 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1904 * src/misc-inst.cc (std): Remove instantiations.
1906 * acinclude.m4: Add forward-looking bits for autoconf.
1907 * aclocal.m4: Regenerate.
1909 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1911 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1913 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1914 it back for current versions of maintainer-tools...
1915 * acinclude.m4: Some cleanups...
1916 * aclocal: Regenerated.
1917 * configure: Regenerated.
1919 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1920 optimizing/adapting the hash table using GNU ld.
1921 * src/Makefile.in: Regenerate.
1923 2000-07-24 H.J. Lu <hjl@gnu.org>
1925 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1926 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1927 files don't include private libio header files needed by
1929 * src/Makefile.in: Rebuild.
1931 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1933 * bits/std_fstream.h: Parameterize __basic_file.
1934 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1935 * bits/basic_file.h: Same here.
1937 * bits/istream.tcc (getline): Tweaks.
1939 * bits/fstream.tcc: Shorten __retval to __ret.
1940 * bits/ostream.tcc: Same.
1941 * bits/sbuf_iter.h: Same.
1942 * bits/sstream.tcc: Same.
1943 * bits/streambuf.tcc: Same.
1944 * bits/std_fstream.h: Same.
1945 * src/string-inst.cc: Same.
1947 * config/c_io_libio.cc: Same.
1948 * bits/string.tcc: Same.
1949 * bits/std_streambuf.h: Same.
1951 2000-07-23 Brent Verner <brent@rcfile.org>
1953 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1954 char_type) make compliant
1955 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1957 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1959 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1960 and srcdir used to define CSHADOW_INCLUDES..
1962 * configure.in: For consistency, change .sanity_warned to
1963 stamp-sanity-warned.
1965 * acinclude.m4: Tweak formatting.
1966 * Makefile.am (check): Call mkcheck with full pathname for build
1968 (check-install): And here.
1969 * Makefile.in: Regenerate.
1971 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1973 Line up with libstdc++-v2 version of valarray.
1974 * bits/valarray_array.h (__valarray_product): Make inline.
1975 * src/valarray-inst.cc (__valarray_product): Remove explicit
1978 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1980 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1983 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1984 Change return type to void.
1985 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1986 * testsuite/17_intro/header_ciso646.cc: Modify.
1987 * bits/locale_facets.h: Add return values for the generic cases.
1989 2000-07-21 H.J. Lu (hjl@gnu.org)
1991 * acinclude.m4: Include <features.h> for glibc testing.
1992 * aclocal.m4: Likewise.
1994 * configure: Rebuild.
1996 2000-07-20 H.J. Lu (hjl@gnu.org)
1998 * acinclude.m4: Change "#pragma system_header" to
1999 "#pragma GCC system_header".
2000 * aclocal.m4: Likewise.
2001 * bits/std_cmath.h: Likewise.
2002 * bits/std_cassert.h: Likewise.
2003 * bits/std_cctype.h: Likewise.
2004 * bits/std_cerrno.h: Likewise.
2005 * bits/std_cfloat.h: Likewise.
2006 * bits/std_climits.h: Likewise.
2007 * bits/std_clocale.h: Likewise.
2008 * bits/std_cwchar.h: Likewise.
2009 * bits/std_csetjmp.h: Likewise.
2010 * bits/std_csignal.h: Likewise.
2011 * bits/std_cstdarg.h: Likewise.
2012 * bits/std_cstddef.h: Likewise.
2013 * bits/std_cstdio.h: Likewise.
2014 * bits/std_cstdlib.h: Likewise.
2015 * bits/std_cstring.h: Likewise.
2016 * bits/std_ctime.h: Likewise.
2017 * bits/std_cwctype.h: Likewise.
2018 * bits/std_exception.h: Likewise.
2019 * bits/std_new.h: Likewise.
2020 * bits/std_typeinfo.h: Likewise.
2021 * shadow/bits/std_cassert.h: Likewise.
2022 * shadow/bits/std_cctype.h: Likewise.
2023 * shadow/bits/std_cerrno.h: Likewise.
2024 * shadow/bits/std_cfloat.h: Likewise.
2025 * shadow/bits/std_climits.h: Likewise.
2026 * shadow/bits/std_clocale.h: Likewise.
2027 * shadow/bits/std_cmath.h: Likewise.
2028 * shadow/bits/std_csetjmp.h: Likewise.
2029 * shadow/bits/std_csignal.h: Likewise.
2030 * shadow/bits/std_cstdarg.h: Likewise.
2031 * shadow/bits/std_cstddef.h: Likewise.
2032 * shadow/bits/std_cstdio.h: Likewise.
2033 * shadow/bits/std_cstdlib.h: Likewise.
2034 * shadow/bits/std_cstring.h: Likewise.
2035 * shadow/bits/std_ctime.h: Likewise.
2036 * shadow/bits/std_cwchar.h: Likewise.
2037 * shadow/bits/std_cwctype.h: Likewise.
2038 * shadow/bits/wrap_libio.h: Likewise.
2039 * shadow/bits/wrap_unistd.h: Likewise.
2040 * shadow/sys/cdefs.h: Likewise.
2042 * configure: Rebuild.
2044 2000-07-20 Jakub Jelinek <jakub@redhat.com>
2046 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2047 Use extended word instructions to match 64bit _Atomic_word.
2048 (__atomic_add): Likewise.
2049 * math/clog10l.c (clog10l): Use M_PIl if defined.
2050 * math/c_logl.c (c_logl): Likewise.
2051 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2052 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2053 (GET_LDOUBLE_MSW64): New define.
2055 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2057 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2058 in_avail, etc can use them.
2059 * bits/std_fstream.h: Ditto.
2060 * bits/fstream.tcc: Ditto.
2061 * testsuite/27_io/filebuf.cc: Tweaks.
2062 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2064 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2066 * src/localename.cc: Same.
2067 * src/locale.cc: Same.
2068 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2070 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2072 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2074 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2075 * bits/std_fstream.h: Same.
2077 * bits/basic_string.h: Tweaks.
2079 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2081 * docs/18_support/howto.html: Update.
2083 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2085 Internal consistency checks.....
2086 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2089 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2090 * bits/basic_ios.tcc: Same.
2092 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2093 Change _M_fctype_buf to _M_buf_fctype.
2094 * bits/fstream.tcc: Same.
2096 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2097 Change _M_locale_set to _M_buf_locale_init.
2098 * bits/streambuf.tcc: Same.
2099 * bits/sstream.tcc: Same.
2100 * bits/fstream.tcc: Same.
2102 * bits/std_streambuf.h: Make typedefs consistent.
2103 (_M_buf_bump): Be more careful with input sequence.
2105 * bits/std_sstream.h: Same.
2106 * bits/std_fstream.h: Same.
2108 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2110 * acinclude.m4: Tweaks.
2111 * config/c_io_libio.cc: Tweaks.
2112 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2113 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2114 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2115 * libio/iofclose.c iofopen.c, stdio.c: New files.
2116 * libio/Makefile.am: Add files, add flags, etc.
2117 * src/Makefile.am (sources): Add filebuf.cc.
2118 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2119 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2121 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2123 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2124 * configure.in: Use it. Also print reminders one time.
2125 * aclocal.m4: Regenerate.
2126 * configure: Regenerate.
2128 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2130 * bits/valarray_array.h (__valarray_get_storage): New function.
2131 (_Array<>::Array): Use it.
2132 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2133 (valarray<>::resize): Likewise. Tweak.
2134 * src/valarray-inst.cc (__valarray_product): Tweak.
2136 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2138 * docs: Update sourceware->sources in every HTML file. Minor updates.
2140 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2142 Clean up configure/build longstanding issues.
2143 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2144 (CXXLINK): Add here, instead.
2146 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2148 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2150 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2151 c_io_libio.cc instead of copying.
2152 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2154 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2155 c++threads.h instead of copying.
2156 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2159 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2160 * bits/basic_file.h: Declare.
2162 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2164 2000-07-07 brent verner <brent@rcfile.org>
2166 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2168 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2170 * bits/istream.tcc (istream::getline): Minor tweaks.
2172 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2174 * docs/download.html: Mention gcc_update.
2175 * docs/configopts.html: Minor updates.
2176 * docs/gccrebuild.html: Ditto.
2177 * docs/18_support/howto.html: More tips, explanations, and reminders.
2178 * docs/19_diagnostics/howto.html: Ditto.
2179 * docs/21_strings/howto.html: Ditto.
2180 * docs/24_iterators/howto.html: Ditto.
2181 * docs/25_algorithms/howto.html: Ditto.
2182 * docs/26_numerics/howto.html: Ditto.
2184 2000-07-05 brent verner <brent@rcfile.org>
2186 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2187 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2188 * config/c_io_libio.cc (__basic_file::open): Unset
2189 ~_IO_DELETE_DONT_CLOSE.
2191 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2193 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2194 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2195 Do not paste anything after 'operator' keyword.
2197 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2199 * bits/std_memory.h: Revert.
2201 2000-07-03 Brendan Kehoe <brendan@zen.org>
2203 * bits/std_complex.h: Fix parens. Format.
2205 2000-07-03 scott snyder <snyder@fnal.gov>
2207 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2208 from the input if base == 0.
2209 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2210 number with a leading `0' in hex mode.
2212 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2214 * mkinclosure: Change `==' to `=' in test.
2216 2000-07-03 Chip Salzenberg <chip@valinux.com>
2218 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2220 * src/Makefile.in: Regenerate.
2222 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2223 Ulrich Drepper <drepper@purist.soma.redhat.com>
2225 Sync libio to glibc-2.2 current CVS.
2226 * libio/_G_config.h: New file.
2227 * libio/wfileops.c: New file.
2228 * libio/wfiledoalloc.c: New file.
2229 * libio/wgenops.c: New file.
2230 * libio/iofwide.c: New file.
2231 * libio/Makefile.am: Tweaks.
2232 * libio/Makefile.in: Regenerate.
2233 * libio/gen-params: Remove. Generic replacement for this yet undone.
2234 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2235 libioP.h, stdfiles.c]: Update.
2236 * config/c_io_libio.cc: Tweaks.
2237 * acinclude.m4: Complete hacks to test wide io.
2238 * aclocal.m4: Regenerate.
2239 * configure: Regenerate.
2240 * src/Makefile.am: Update.
2241 * src/Makefile.in: Regenerate.
2243 * math/cargl.c: Remove underscores.
2245 * bits/locale_facets.h: Tweaks. Start adding iconv details
2247 * bits/locale_facets.tcc: Tweaks.
2248 * bits/std_cwchar.h: Tweaks.
2250 2000-06-29 scott snyder <snyder@fnal.gov>
2252 * bits/concept_checks.h
2253 (__less_then_comparable_requirement_violation): Only check for <.
2254 * testsuite/25_algorithms/lower_bound.cc: New file.
2256 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2258 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2259 * bits/ostream.tcc: Tweak.
2260 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2261 _M_buf_size_opt too.
2262 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2263 out _M_buf_size_opt.
2264 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2265 _M_buf_size_opt out here.
2266 * bits/char_traits.h (char_traits::eos): Non standard member
2267 function, uglify to __eos. Return char_type().
2268 * bits/std_ostream.h: Change.
2270 * testsuite/27_io/ostream_seeks.cc: New file.
2271 * testsuite/27_io/ostream_seeks-1.tst: New file.
2272 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2274 * testsuite/27_io/istream_seeks.cc: New file.
2276 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2278 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2279 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2280 (auto_ptr): _M_ptr changed to void*.
2281 (suto_ptr::get): Cast _M_ptr to element type.
2282 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2283 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2284 (auto_ptr::operator*): Likewise.
2285 (auto_ptr::operator->): Likewise.
2286 (auto_ptr::release): Likewise.
2287 (auto_ptr::reset): Likewise.
2288 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2289 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2290 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2291 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2293 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2295 * testsuite/27_io/filebuf.cc: Tweak.
2296 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2297 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2299 (__basic_file::basic_file): Clean, add calls similar to
2301 (__basic_file::open): Clean.
2302 (__basic_file::sys_open): Clean.
2304 * bits/std_fstream.h: Revert.
2305 * bits/fstream.tcc (filebuf::close()): Revert.
2306 (filebuf::basic_filebuf()): Revert.
2308 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2310 Update to SGI STL 3.3
2311 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2312 ext/stl_rope.h, ext/ropeimpl.h: Update.
2313 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2314 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2315 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2316 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2317 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2318 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2319 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2320 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2321 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2323 * src/Makefile.am (headers): Add new files.
2324 * src/Makefile.in: Regenerate.
2325 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2326 * bits/concept_checks.h: New file.
2327 * bits/container_concepts.h: New file.
2328 * bits/sequence_concepts.h: New file.
2330 2000-06-27 H.J. Lu <hjl@gnu.org>
2331 Loren J. Rittle <ljrittle@acm.org>
2333 * mkcheck.in: Add support to print standard flags needed to
2334 test g++ in build tree. Enhance command line error checking.
2336 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2338 * docs/install.html: Fix minor typo as reported.
2340 2000-06-26 Brent Verner <brent@rcfile.org>
2342 * bits/string.tcc (string::rfind): Fix.
2343 * testsuite/21_strings/rfind.cc: New file.
2345 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2347 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2349 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2351 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2353 * mkcheck.in: Make the *.txt and *.tst files writable after
2354 copying them to $TEST_DIR.
2356 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2357 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2358 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2360 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2362 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2363 (basic_filebuf::close): Use it.
2364 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2366 (basic_filebuf): Add _M_fileno_based data member.
2367 As reported by brent verner <brent@rcfile.org>
2368 * testsuite/27_io/filebuf_members.cc: New file.
2369 * testsuite/27_io/filebuf_members-1.tst: New file.
2371 * bits/std_fstream.h: Formatting tweaks.
2372 * testsuite/27_io/ofstream_members.cc: New file.
2373 * testsuite/27_io/ofstream_members-1.tst: New file.
2374 * testsuite/27_io/ifstream_members.cc: New file.
2375 * testsuite/27_io/ifstream_members-1.tst: New file.
2377 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2378 Ulrich Drepper <drepper@cygnus.com>
2380 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2381 that all the freaky stuff like sincos will be around...
2383 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2385 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2387 2000-06-22 Steven King <sxking@uswest.net>
2389 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2391 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2393 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2394 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2395 link against libm and don't use -fno-builtins...
2396 * math/mathconf.h: Change up builtin macros to new schema.
2397 * bits/std_cmath.h: And here. Wheee!
2398 * shadow/bits/std_cmath.h: And here.
2399 * acconfig.h: Change up builtin macros here.
2400 * math/cosf.c: Remove.
2401 * math/fabsf.c: Likewise.
2402 * math/sinf.c: Likewise.
2403 * math/sqrtf.c: Likewise.
2404 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2405 * math/Makefile.in: Regenerate.
2407 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2409 * testsuite/21_strings/find.cc: Patch.
2411 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2413 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2414 an easy way to get at g++ without having to link in libstdc++.
2416 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2418 Fix alpha, powerpc build failures.
2419 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2420 re-write. Need to check for both proper declaration when using a
2421 c++ compiler, and "C" linkage when linking. Do both, and if both
2422 exist, then define the HAVE_* bits in config.h.
2423 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2424 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2427 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2429 * bits/string.tcc: Fix find.
2430 * testsuite/21_strings/find.cc: Patch.
2432 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2434 * docs/install.html: Update where to get automake, where to get
2436 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2439 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2441 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2442 Add -Werror-implicit-function-declaration instead.
2444 Regenerate with fixed maintainer-tools.
2445 * aclocal.m4: Regenerate.
2446 * configure: Regenerate.
2447 * libio/Makefile.in: Regenerate.
2448 * src/Makefile.in: Regenerate.
2450 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2452 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2453 * bits/locale_factets.tcc: Tweak.
2455 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2457 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2458 be overridden on the command line for individual files.
2460 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2462 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2463 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2464 building. Use -x c++ instead, which does not attempt to link
2467 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2468 not coring when we hit a try/throw block, which was the problem
2469 with the linker support...
2471 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2473 * docs/documentation.html: Rename link to make more accurate and scary.
2474 * docs/gccrebuild.html: Edit for clarity as these are no longer
2476 * docs/install.html: Add bits about binutils for
2477 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2479 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2480 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2481 USE_COMPLEX_LONG_DOUBLE.
2482 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2483 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2484 Works around irregularies in powerpc "C" compiler, but a good idea
2487 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2488 New. Merge both old compiler bug checks for complex into this.
2490 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2492 * testsuite/21_strings/find.cc: Empty strings can be found at all
2493 positions. Modified.
2495 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2497 * testsuite/20_utilities: New directory.
2498 * testsuite/20_utilities/auto_ptr.cc: New file.
2500 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2502 * src/Makefile.am (string_sources): Simplify, assuming that with
2503 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2504 hacking is not necessary.
2505 (wstring_sources): Same.
2506 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2508 * src/string-inst.cc: Remove macro blocks.
2509 * mkcheck.in (CXX_FLAG): Add bits here.
2511 * src/string-inst.cc: Remove iostream-related string instantiations.
2512 * src/misc-inst.cc: Add here.
2514 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2516 * aclocal.m4: Regenerate.
2517 * configure.in: Change up.
2518 * configure: Regenerate.
2520 2000-06-13 Steven King <sxking@uswest.net>
2522 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2523 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2524 * acconfig.h: Add entries for fmod*.
2526 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2528 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2529 Test *_MODFF not *_MODF for modf(float, float*).
2530 (modf(float, float*)): Remove reference to _C_legacy.
2532 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2534 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2535 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2536 superset, and already defined at top level.
2537 * aclocal.m4: Regenerate.
2538 * configure: Regenerate.
2540 * docs/17_intro/contribute.html: Plead with people to use -cp.
2542 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2544 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2546 * testsuite/27_io/filebuf.cc: Changed calls to
2547 fpos<>._M_position() to implicit calls to operator streamoff().
2548 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2549 as not needed. Revert, as part of standard.
2550 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2551 call to numpunct<>._M_init() with overrides of the appropriate
2554 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2555 pointers from test01, so no need to call base(), which isn't
2556 guaranteed to be implemented as iterators may themselves be pointers
2557 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2558 _M_position() - use implicit conversion to streamoff instead
2560 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2562 * bits/stl_iterator.h: Added inline to operators == to >=.
2564 2000-06-13 Brent Verner <brent@rcfile.org>
2566 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2567 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2569 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2571 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2573 * src/locale.cc: Add cwchar include here. Remove incorrect
2574 definitions, and stub them out.
2575 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2576 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2577 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2578 * config/newlib/ctype.cc: Same.
2579 * config/gnu-linux/ctype.cc: Same.
2580 * config/bsd/ctype.cc: Same.
2581 * config/aix/ctype.cc: Same.
2583 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2585 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2586 towupper and towlower to convert wide characters.
2588 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2590 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2592 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2594 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2595 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2596 * aclocal.m4: Regenerate.
2597 * configure: Regenerate.
2598 * math/cosf.c: New file.
2599 * math/fabsf.c: Likewise.
2600 * math/sinf.c: Likewise.
2601 * math/sqrtf.c: Likewise.
2602 * math/Makefile.am (EXTRA_DIST): Add those four files.
2603 * math/Makefile.in: Regenerate.
2605 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2607 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2609 2000-06-06 Steven King <sxking@uswest.net>
2611 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2612 double and long double. Added defines for HAVE libm math functs for
2613 float and long double.
2614 * aclocal.m4: Added configure checks for builtin math funcs and libm
2615 support for float and long double versions of the math functions.
2616 * config.h.in: Added undefs for math functs.
2617 * configure: Regenerate.
2618 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2619 _GLIBCPP_HAVE_BUILTIN_*.
2620 * bits/std_cmath.h: Added long double support. Use builtins for
2621 float, double and long if available, otherwise, use libm versions if
2622 availible, otherwise, punt.
2623 * shadow/bits/std_cmath.h: ditto
2625 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2627 * bits/locale_facets.h: Tweak.
2628 * src/locale.cc (codecvt<wchar_t>): Tweak.
2630 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2631 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2633 * bits/basic_string.h: Move data member up.
2634 * src/string-inst.cc: Fix instantiations.
2635 * bits/string.tcc: Fix types.
2637 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2639 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2641 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2643 * bits/std_cwctype.h: Clean.
2644 * bits/std_cwchar.h: Clean, remove cruft.
2646 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2647 for beginning iconv support.
2648 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2650 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2651 * bits/limits_generic.h: Remove.
2652 * src/gen-num-limits.cc: Same.
2654 * src/locale.cc: Tweaks.
2656 * bits/char_traits.h: Tweaks.
2658 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2660 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2661 exponent, scientific formatting issues.
2662 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2664 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2666 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2667 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2669 2000-05-31 Nathan Myers <ncm@cantrip.org>
2671 * docs/thanks.html: edit own credits
2673 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2675 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2677 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2679 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2681 2000-05-31 Steven King <sxking@uswest.net>
2683 * shadow/time.h: fix typo
2684 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2685 * shadow/bits/std_cwchar.h: ditto
2686 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2689 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2691 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2692 available, force --disable. Need to flesh this out; make smarter.
2693 * aclocal.m4: Regenerate.
2694 * configure: Regenerate.
2696 * mkcheck.in: Minor tweaks.
2697 * docs/download.html: Fix typo.
2699 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2701 * inclosure: Change to...
2702 * mkinclosure: This.
2704 * mkcshadow: Fix paths to bash.
2706 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2707 * src/Makefile.in: Regnerate.
2708 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2709 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2710 * aclocal.m4: Regenerate.
2711 * mkcheck.in (INC_PATH): Tweak.
2713 * configure.in: Enable long long by default.
2714 * configure: Regenerate.
2716 * mkcheck.in (LIB_PATH): Revert.
2718 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2720 * config/cpu/i486: New directory.
2721 * config/cpu/i486/bits: New directory.
2722 * config/cpu/i486/bits/atomicity.h: New file.
2723 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2725 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2727 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2729 * backward/alloc.h (__default_alloc_template): Only expose
2730 implementation-specific symbol, if it exists in the
2732 * backward/iostream.h (ends): Expose symbol.
2733 * backward/strstream.h: New file.
2734 * backward/stream.h: New file.
2735 * backward/ostream.h: New file.
2736 * backward/istream.h: New file.
2737 * backward/fstream.h: New file.
2738 * backward/complex.h: New file.
2739 * backward/iomanip.h: New file.
2741 * mkcheck.in (LIB_PATH): Add -R bits.
2743 * math/carg.c (carg): Replace __atan2 with atan2.
2745 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2747 * Makefile.am (TAGS): Construct.
2748 * Makefile.in: Rengerate.
2749 * src/Makefile.am: Tweak.
2750 * src/Makefile.in: Tweak.
2751 * configure.in: Tweak.
2753 * bits/c++config.h: Rename to ...
2754 * bits/c++config: This.
2755 * mkc++config: Adjust.
2758 * m4/lc_message.m4: Merge into acinclude.m4.
2759 * m4/mathfcts.m4: Same.
2760 * m4/stringfcts.m4: Same.
2761 * acinclude.m4: Add here.
2762 * configure: Regnerate.
2764 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2765 OPTLEVEL. Add FMTFLAGS.
2766 * aclocal.m4: Regenerate.
2767 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2768 been disabled due to higher-level Makefiles running amuck over
2769 this bit, and add in FMTFLAGS so that formatting is clear.
2770 * src/Makefile.in: Regenerate.
2771 * configure: Regenerate.
2773 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2776 * docs/download.html: Remove references to Cygwin-specific bits,
2777 as this can now be built natively.
2778 Update with current information.
2780 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2782 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2783 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2784 enclose other tests in this macro, including future ones.
2785 * aclocal.m4: Regenerate.
2786 * configure: Regenerate.
2788 * docs/faq/index.html: Update location of libg++ FAQ.
2789 * docs/faq/index.txt: Regenerate.
2791 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2793 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2795 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2797 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2799 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2801 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2802 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2803 * aclocal.m4: Regenerate.
2804 * configure: Regenerate.
2806 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2808 * bits/generic_shadow.h: s/swamp/legacy/
2810 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2812 * acinclude.m4: Clean up comments on newer checks.
2813 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2814 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2815 * aclocal.m4: Regenerate.
2816 * configure: Regenerate.
2817 * Makefile.in: Regenerate.
2818 * libio/Makefile.in: Regenerate.
2819 * math/Makefile.in: Regenerate.
2820 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2821 * src/Makefile.in: Regenerate.
2822 * docs/configopts.html: Document changes to --enable names.
2824 2000-05-18 Chip Salzenberg <chip@valinux.com>
2826 * bits/ostream.tcc (_S_pad_char): Function template should not be
2828 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2829 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2831 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2833 * mkcshadow: Change C_Swamp to C_legacy.
2835 * shadow/bits/*: Same.
2836 s/C_Swamp/C_legacy/g
2840 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2842 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2844 * src/string-inst.cc (string::_S_find): Same.
2846 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2848 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2849 --enable-cshadow-headers. Add output messages.
2850 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2851 underscores (like the rest of the enable options.) Add output messages.
2852 * aclocal.m4: Regenerate.
2853 * configure: Regenerate.
2854 * configure.in: Touch.
2856 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2858 * mkcheck.in: Enable shared library testing.
2860 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2862 * bits/std_cmath.h: fix sqrt(float)
2864 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2866 * bits/std_cassert.h: Use system_header pragma.
2867 * bits/std_cctype.h: Likewise.
2868 * bits/std_cerrno.h: Likewise.
2869 * bits/std_cfloat.h: Likewise.
2870 * bits/std_climits.h: Likewise.
2871 * bits/std_clocale.h: Likewise.
2872 * bits/std_cmath.h: Likewise.
2873 * bits/std_csetjmp.h: Likewise.
2874 * bits/std_csignal.h: Likewise.
2875 * bits/std_cstdarg.h: Likewise.
2876 * bits/std_cstddef.h: Likewise.
2877 * bits/std_cstdio.h: Likewise.
2878 * bits/std_cstdlib.h: Likewise.
2879 * bits/std_cstring.h: Likewise.
2880 * bits/std_ctime.h: Likewise.
2881 * bits/std_cwchar.h: Likewise.
2882 * bits/std_cwctype.h: Likewise.
2883 * bits/std_exception.h: Likewise.
2884 * bits/std_new.h: Likewise.
2885 * bits/std_typeinfo.h: Likewise.
2886 * shadow/bits/std_cassert.h: Likewise.
2887 * shadow/bits/std_cctype.h: Likewise.
2888 * shadow/bits/std_cerrno.h: Likewise.
2889 * shadow/bits/std_cfloat.h: Likewise.
2890 * shadow/bits/std_climits.h: Likewise.
2891 * shadow/bits/std_clocale.h: Likewise.
2892 * shadow/bits/std_cmath.h: Likewise.
2893 * shadow/bits/std_csetjmp.h: Likewise.
2894 * shadow/bits/std_csignal.h: Likewise.
2895 * shadow/bits/std_cstdarg.h: Likewise.
2896 * shadow/bits/std_cstddef.h: Likewise.
2897 * shadow/bits/std_cstdio.h: Likewise.
2898 * shadow/bits/std_cstdlib.h: Likewise.
2899 * shadow/bits/std_cstring.h: Likewise.
2900 * shadow/bits/std_ctime.h: Likewise.
2901 * shadow/bits/std_cwchar.h: Likewise.
2902 * shadow/bits/std_cwctype.h: Likewise.
2903 * shadow/bits/wrap_libio.h: Likewise.
2904 * shadow/bits/wrap_unistd.h: Likewise.
2905 * shadow/sys/cdefs.h: Likewise.
2907 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2909 It appears that gcc-2.96 supports the keyword "and" now.
2910 * bits/std_ciso646.h: remove.
2912 * testsuite/17_intro/header_ciso646.c: enable testing.
2913 * src/Makefile.am, src/Makefile.in: remove mention of
2916 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2918 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2920 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2922 * acinclude.m4: Fix typo, switch to decaf...
2923 * aclocal.m4: Regenerate.
2924 * configure: Regenerate.
2926 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2928 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2929 * aclocal.m4: Regenerate.
2930 * configure.in: Call.
2931 * configure: Regenerate.
2932 * docs/configopts.html: Stub documentation.
2934 2000-05-14 Nathan Myers <ncm@cantrip.org>
2936 * mkcshadow: build in more-correct directory, create cshadow/
2937 directory if needed, report progress.
2939 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2941 * src/Makefile.am: Fix tr commands.
2942 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2943 * src/string-inst.cc: Remove extra instantiation of
2944 S::basic_string(S::size_type, C, S::allocator_type const&);
2945 * src/string-inst.cc: Remove extra template keyword.
2947 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2949 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2950 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2951 * aclocal.m4: Regenerate.
2952 * configure: Regenerate.
2953 * */Makefile.in: Regenerate.
2955 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2957 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2958 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2959 * aclocal.m4: Regenerate.
2960 * configure.in: Non-blank arguments break fewer Linuxes.
2961 * configure: Regenerate.
2962 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2963 * src/Makefile.in: Regenerate.
2965 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2967 * bits/std_cmath.h: Tweaks.
2968 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2969 (sqrtf): Define away iff !builtin and !in <math.h>.
2973 At some point this directory should be converted to c++, the
2974 autoconf tests should be run by the c++ compiler (not c), and
2975 <cmath> should be used instead of math.h.
2976 Move declaration of nan() here.
2977 * math/complex-stub.h (cabsl): Remove nan() declaration.
2979 Finish up FreeBSD4.0 support.
2980 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2981 * config/generic/ctype.cc: And here.
2982 * testsuite/21_strings/char_traits.cc (test02): Guard with
2983 _GLIBCPP_USE_WCHAR_T.
2985 via Phil Edwards <pme@sourceware.cygnus.com>
2986 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2987 * acconfig.h: And here.
2988 * acinclude.m4: Same.
2989 * testsuite/27_io/istream.cc: And here.
2990 * testsuite/27_io/ostream.cc: And here.
2992 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2994 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2996 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2998 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3001 * config/bsd: New directory.
3002 * config/bsd/ctype.cc: New.
3003 * config/bsd/bits/ctype_base.h (ctype_base): New.
3004 * config/bsd/bits/ctype_specializations.h: New.
3005 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3007 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3009 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3010 * configure.in: Call.
3011 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3012 * aclocal.m4: Regenerate.
3014 * src/Makefile.in: Ditto.
3015 * docs/configopts.html: Document.
3016 * docs/download.html: Fix typo (close quote).
3017 * docs/footer.html: Update.
3019 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
3021 * backward/iostream.h: Expose endl. Guard wide types.
3022 * src/Makefile.am (headers): Update list to match files.
3023 * src/Makefile.in: Regenerate.
3025 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
3026 Benjamin Kosnik <bkoz@gnu.org>
3027 Nathan Myers <ncm@cantrip.org>
3028 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3030 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3031 (basic_streambuf::xsputn): Make consistent.
3032 * testsuite/27_io/filebuf.cc: Add tests.
3034 2000-05-08 Steven King <sxking@uswest.net>
3036 * bits/char_traits.h: Use wchar_t utility functions for
3037 char_traits<wchar_t> methods.
3038 * testsuite/21_string/char_traits.cc: New (test02): test
3039 char_traits<wchar_t>
3041 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3043 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3045 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3046 _M_buf_size based on macro, instead use _M_buf_size_opt.
3047 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3048 (basic_streambuf()): Set _M_buf_size_opt.
3049 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3050 instead of _M_buf_size.
3052 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
3054 * src/complex_io.cc: Don't instantiate inserters and extractors
3055 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3057 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3058 Felix Natter <fnatter@gmx.net>
3060 * docs/footer.html: Update to see if it takes effect.
3061 * docs/thanks.html: More people.
3062 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3063 be seen from the web pages. Rename for browser-friendliness...
3064 * docs/17_intro/howto.html: ...and update here.
3065 * docs/17_intro/porting-howto.html: Changes from Felix.
3066 * docs/gccrebuild.html: Mention v3->egcs move.
3067 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3068 * docs/faq/index.txt: Regenerate.
3070 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3072 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3075 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3077 * bits/char_traits.h: Fix parameter types.
3078 * bits/string.tcc: Avoid traits_type::move.
3080 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3082 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3083 * src/Makefile.in: Regenerate.
3084 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3086 2000-04-30 Steven King <sxking@uswest.net>
3088 * bits/locale_facets.h: Fix syntax error.
3089 * bits/std_fstream.h: ditto
3091 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3093 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3095 * mknumeric_limits (trait_name): Fix copyright notice.
3096 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3097 round_error data members of struct value. This works around
3098 weak-linking issues on AIX, HPUX.
3100 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3102 * docs/download.html: Add link to list of mirror sites.
3104 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3106 * mkcheck.in: Rely on exit status instead of the presence of a
3107 core file. Added comments on how/where to save core and exe
3108 files. Move shell wildcards outside quotes and fix core path.
3110 2000-04-27 scott snyder <snyder@fnal.gov>
3112 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3115 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3117 * bits/basic_string.h: include <bits/atomicity.h> instead
3118 of <atomicity.h>, and use the uglified names.
3119 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3120 uglify names, eliminate dependence on <inttypes.h>.
3121 * src/Makefile.in, src/Makefile.am: refer to correct place
3122 for atomicity.h header.
3124 2000-04-25 Steven King <sxking@uswest.net>
3126 * bits/basic_string.h: Fix syntax error.
3128 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3130 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3132 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3133 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3134 versions to this as copysignl is needed anyway for these targets.
3135 * math/Makefile.in: Regenerate.
3137 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3138 * bits/fstream.tcc (underflow): Cast to libio types.
3139 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3140 * config/c_io_libio.cc (seekoff): And here.
3142 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3144 * mkcheck.in: Report compiler version used for test. Find
3145 the built _G_config.h instead of any old installed version.
3147 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3149 * config/generic/ctype.cc (do_toupper): Remove dependence on
3150 non-portable/non-existent lookup table.
3153 2000-04-24 Nathan Myers <ncm@cantrip.org>
3155 * src/string-inst.cc: More fixing.
3157 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3159 * bits/stl_iterator.h: Pedantic fixing.
3160 * bits/std_sstream.h: And here.
3161 * bits/string.tcc: And here.
3163 2000-04-24 Felix Natter <fnatter@gmx.net>
3165 * docs/17_intro/howto.html: Add bits.
3166 * docs/17_intro/porting-howto.html: New file.
3168 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3170 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3171 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3172 wchar_t, to empty string otherwise.
3173 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3174 (sources): Remove $(string_sources) and $(wstring_sources).
3175 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3176 (libstdc___la_DEPENDENCIES): New.
3177 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3179 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3181 * bits/std_sstream.h: Tweak formatting.
3182 * bits/std_fstream.h: Make types public.
3184 * testsuite/27_io/streambuf.cc: Fix for alpha.
3186 Brad Garcia <bgarcia@laurelnetworks.com>
3187 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3189 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3192 2000-04-19 Nathan Myers <ncm@cantrip.org>
3194 * src/string-inst: consolidate _S_create,
3195 destroy, leak, clone members into stringMAIN and stringMUTATE
3197 * src/Makefile.am: Above, and eliminate dependence on
3199 * src/wstring-inst.cc: Remove.
3201 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3203 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3204 Add flags for specialized rules dealing with instantiations.
3206 * src/string-inst.cc: Add instantiations missing from shared
3207 libraries--see stringEQ, stringCONSC.
3208 * src/Makefile.am (wstring_sources): Add.
3209 (string_sources): Same.
3210 * src/Makefile.in: Regenerate.
3212 * stl/*: Integrate contents of this directory into top-level
3214 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3215 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3216 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3217 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3218 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3219 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3220 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3221 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3222 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3223 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3224 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3225 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3226 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3227 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3228 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3229 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3230 stack.h tempbuf.h tree.h vector.h: Add.
3231 * README (file): Update.
3232 * docs/documentation.html: README not being found.
3233 * src/Makefile.am (sources): Take out stl directory.
3234 * mkcheck.in (SRC_DIR): And here.
3235 * src/Makefile.in: Regenerate.
3237 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3239 * stl/bits/stl_function.h: Add bits so that const and non-const
3242 2000-04-18 scott snyder <snyder@fnal.gov>
3244 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3245 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3246 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3247 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3248 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3250 2000-04-18 scott snyder <snyder@fnal.gov>
3252 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3255 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3256 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3257 * stl/ext/hash_set (class hash_set, class hash_multiset):
3259 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3260 constant_binary_fun): Likewise.
3261 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3262 * stl/bits/stl_stack.h (class stack): Likewise.
3263 * stl/bits/stl_set.h (class set): Likewise.
3264 * stl/bits/stl_multiset.h (class multiset): Likewise.
3266 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3267 class reverse_iterator): Get rid of use of
3268 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3270 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3273 * stl/bits/stl_deque.h (class deque): Get rid of use of
3274 __STL_DEFAULT_ALLOCATOR macro.
3275 * stl/bits/stl_list.h (class list): Likewise.
3276 * stl/bits/stl_multiset.h (class multiset): Likewise.
3277 * stl/bits/stl_set.h (class set): Likewise.
3278 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3279 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3280 * stl/bits/stl_vector.h (class vector): Likewise.
3281 * stl/ext/ropeimpl.h (rotate): Likewise.
3282 * stl/ext/hash_map (class hash_map, class hash_multimap):
3284 * stl/ext/hash_set (class hash_set, class hash_multiset):
3286 * stl/ext/slist (class slist): Likewise.
3287 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3288 * stl/ext/stl_rope.h (class rope): Likewise.
3289 * src/locale.cc (_Impl): Likewise.
3290 * src/localename.cc (_Impl): Likewise.
3291 * bits/localefwd.h (_Impl): Likewise.
3293 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3295 * docs/install.html: Cleanup, minor changes.
3296 * docs/17_intro/howto.html: Ditto.
3298 2000-04-18 Nathan Myers <ncm@cantrip.org>
3300 * bits/basic_string.h: Remove "inline" from member _S_find.
3302 * src/string-inst.cc: Rewrite to reflect non-inline template
3303 instantiations in string.tcc.
3305 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3306 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3307 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3308 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3309 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3310 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3311 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3312 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3313 stringNESS.cc, stringSCOPY.cc: Remove.
3314 * src/wstringADDCS.cc, etc: Remove.
3316 Benjamin Kosnik <bkoz@haight.constant.com>
3317 * src/Makefile.am: Modify to reflect above.
3318 * src/Makefile.in: Regenerate.
3320 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3322 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3324 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3326 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3327 io interface here instead of the libio particulars.
3329 * config/threads-posix.h: Consistency with stl_config.h.
3331 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3333 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3335 * mknumeric_limits: Rename generic type template parameter name
3337 * stl/bits/type_traits.h: Ditto.
3339 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3341 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3342 it is more useful for --enable-libstdcxx-v3. Use the built
3343 compilers with v3, instead of compilers in PATH, and don't
3344 re-include include directories for checking the install.
3346 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3348 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3349 by default when using --enable-libstdcxx-v3.
3350 * src/Makefile.in: Regenerate.
3351 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3352 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3353 * configure: Regenerate.
3354 * mkcheck.in: Deal with NAMESPACES.
3356 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3358 * src/cmath.cc: New file...
3359 (pow(*, int)): Define functions...
3360 * src/Makefile.am (sources): ...register file.
3361 * src/Makefile.in: Regenerate.
3362 * bits/std_cmath.h (pow): ...declare functions here, and remove
3365 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3367 * acinclude.m4 (GCC_OBJDIR): Tweaks
3369 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3371 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3372 * config/cpu/arm: New directory.
3374 Jesper Skov <jskov@redhat.com>
3375 * config/cpu/arm/atomicity.h: New file.
3377 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3379 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3380 Remove unused bits. Clean.
3382 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3384 * testsuite/25_algorithms: New directory.
3385 * testsuite/25_algorithms/min_max.cc: New file.
3387 2000-03-29 scott snyder <snyder@fnal.gov>
3389 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3390 precision beyond that which we get from numeric_limits::digits10.
3392 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3395 * testsuite/23_containers/bitset_shift.cc: Fix.
3397 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3398 temporary to imbue().
3400 * bits/std_fstream.h (sync): Resync libio's idea of the current
3401 file position with the external file.
3403 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3405 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3408 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3409 attempting calls to it.
3410 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3411 ctors. Instead, call _M_init_filebuf ...
3412 (open): Here, as suggested by 27.8.1.3.
3413 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3414 properly when initializing cout/cin/cerr.
3416 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3418 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3419 * testsuite/22_locale/ctype_char_members.cc: And here.
3420 * testsuite/27_io/streambuf.cc (streambuf): And here.
3421 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3422 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3423 * testsuite/27_io/istream_extractor_arith.cc: And here.
3424 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3425 * testsuite/27_io/ios_base_members_static.cc: And here.
3426 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3428 2000-03-27 Chris Faylor <cgf@cygnus.com>
3430 * configure.in: Remove setting of CXX if canadian cross.
3431 * configure: Regenerate.
3433 2000-03-27 Nathan Myers <ncm@zembu.com>
3435 * bits/sstream.tcc: Optimize.
3436 * bits/basic_string.h(string::append): Don't inline.
3437 * bits/string.tcc: Move out-of-line.
3439 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3441 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3442 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3443 * aclocal.m4: Regenerate.
3444 * configure: Regenerate.
3445 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3446 * src/Makefile.in: Regenerate.
3448 * docs/install.html: Almost complete rewrite.
3450 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3452 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3453 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3455 * docs/faq/index.txt: Regenerate.
3457 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3459 * src/Makefile.am (libio_headers_install): Fix.
3460 * src/Makefile.in: Regenerate.
3462 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3464 * docs/17_intro/RELEASE-NOTES: Fix typos.
3465 * docs/index.html: Update.
3466 * docs/17_intro/BUGS: Update.
3467 * docs/status.html: Update for 2.90.8 release.
3469 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3471 * Makefile.am: Better error message when missing libgcc2.ready.
3472 * Makefile.in: Regenerate.
3473 * acinclude.m4: Fastidious nitpicking reformatting.
3474 * aclocal.m4: Regenerate.
3475 * configure: Regenerate.
3476 * mkcheck.in: Must use same namespace settings as the library being
3477 tested. Also log ST_FLAG, since it's being passed.
3478 * docs/install.html: Add brief chunk on configuration.
3479 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3480 * docs/23_containers/howto.html: Mention MT-safe string.
3481 * docs/faq/index.html: Minor updates.
3482 * docs/faq/index.txt: Regerarate.
3484 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3486 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3488 * bits/fstream.tcc (seekoff): Sync.
3490 * testsuite/27_io/ostream_unformatted.cc: New file.
3491 * testsuite/27_io/stringbuf.cc: Fix.
3492 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3494 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3495 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3497 * src/complex_io.cc (operator>>complex): Tweak.
3499 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3500 <inttypes.h> does not exist.
3501 * config/cpu/sparc/sparc64/atomicity.h: Same.
3502 * config/cpu/sparc/sparc32/atomicity.h: Same.
3503 * config/cpu/powerpc/atomicity.h: Same.
3504 * config/cpu/i386/atomicity.h: Same.
3505 * config/cpu/generic/atomicity.h: Same.
3506 * configure.in: Check for inttypes.h.
3507 * configure: Regnerate.
3509 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3511 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3513 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3515 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3517 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3518 are compiling natively.
3520 * libio/*: Update to CVS libio from egcs.
3522 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3524 * docs/download.html: Document use of -z9 for CVS.
3525 * docs/index.html: Add target date (no link) for future snapshot.
3527 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3529 * bits/slice_array.h: Rename generic type template parameter name
3531 * bits/mask_array.h: Ditto
3533 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3535 * *: Change copyright holder from "Cygnus Solutions" to "Free
3536 Software Foundation, Inc."
3538 * docs/configopts.html: Explain what "hella versions" means.
3539 * docs/install.html: Some tweaks--nice job on this Phil.
3540 * docs/documentation.html: Add a direct link to configuration options.
3542 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3543 * docs/17_intro/RELEASE-NOTES (New): Add.
3544 * bits/c++config.h (__GLIBCPP__): Bump version.
3546 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3547 type to match prototype.
3549 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3551 * docs/install.html: Update for new funky build procedure. Move
3552 description of 'configure' options to...
3553 * docs/configopts.html: ...here. New file.
3554 * docs/17_intro/howto.html: Updates for new snapshot.
3555 * docs/20_util/howto.html: Ditto.
3556 * docs/21_strings/howto.html: Ditto.
3557 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3558 * docs/22_locale/howto.html: Ditto.
3559 * docs/23_containers/howto.html: Ditto.
3560 * docs/faq/index.html: Ditto.
3562 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3563 Benjamin Kosnik <bkoz@gnu.org>
3565 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3567 * aclocal.m4: Regenerate.
3568 * configure: Regenerate.
3570 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3571 scott snyder <sss@karma.fnal.gov>
3573 * config/c_io_libio.h: Add __c_lock.
3574 * config/threads-no.h: Same here.
3575 * config/threads-posix.h: Add __mutext_type typedef.
3576 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3577 * bits/basic_file.h: Ctor takes lock arg.
3578 * bits/std_fstream.h: Add _M_lock.
3579 * bits/fstream.tcc: Supply it to basic_file ctor.
3581 * mkcheck.in (resultstext): Change [[ to [.
3583 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3585 * bits/locale_facets.h: Tweak.
3587 * stl/bits/stl_config.h: Fix defines.
3589 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3591 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3593 * configure: Regenerate.
3594 * aclocal.m4: Regnerate.
3596 2000-03-16 Nathan Myers <ncm@zembu.com>
3598 * bits/string.tcc: Add MT support.
3599 * bits/basic_string.h: Same.
3601 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3603 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3605 * configure: Regenerate.
3607 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3609 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3611 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3612 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3613 any defaults passed in.
3614 * aclocal.m4: Regenerate.
3616 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3618 * mkcheck.in: Report total successes and failures.
3620 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3622 * config/cpu: New directory, intended to be used to provide
3623 cpu-specific configuration files. In particular, assembly language
3624 primitives for thread safety.
3625 * config/cpu/alpha: Populate.
3626 * config/cpu/alpha/atomicity.h: New file.
3627 * config/cpu/arm: Populate.
3628 * config/cpu/generic: Populate.
3629 * config/cpu/generic/atomicity.h: New file.
3630 * config/cpu/hppa: Populate.
3631 * config/cpu/i386: Populate.
3632 * config/cpu/i386/atomicity.h: New file, take from i486.
3633 * config/cpu/m68k: Populate.
3634 * config/cpu/mips: Populate.
3635 * config/cpu/powerpc: Populate.
3636 * config/cpu/powerpc/atomicity.h: New file.
3637 * config/cpu/sparc: Populate.
3638 * config/cpu/sparc/sparc32: Populate.
3639 * config/cpu/sparc/sparc64: Populate.
3640 * config/cpu/sparc/sparc32/atomicity.h: New file.
3641 * config/cpu/sparc/sparc64/atomicity.h: New file.
3643 * src/Makefile.am (myinstallheaders): Add install routines.
3644 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3646 * configure.in: Add.
3648 * config/default: Adopt glibc naming conventions, and so move to
3649 * config/generic: Here.
3650 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3652 2000-03-15 Bill Thompson <billt@toast.net>
3654 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3656 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3658 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3660 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3661 * aclocal.m4: Regenerate.
3662 * configure: Regenerate.
3664 2000-03-13 scott snyder <snyder@fnal.gov>
3665 Jason Merrill <jason@cygnus.com>
3667 * bits/locale_facets.h (class ctype, class ctype<char>, class
3668 ctype<wchar_t>): More mask fixes.
3669 * testsuite/22_locale/ctype.cc: Test for the problem.
3671 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3673 * acconfig.h: Add bits.
3674 * configure.in: Move AM_PROG_LIBTOOL up in file.
3675 Tweak cross compiling info.
3676 * configure: Regenerate.
3678 * mknumeric_limits (XCOMPILE): Echo compilation line for
3681 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3682 * aclocal.m4: Regenerate.
3683 * configure: Regenerate.
3684 * config/aix/ctype.cc (ctype): Tweak.
3685 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3686 * config/aix/bits/ctype_specializations.h: New file.
3688 2000-03-10 scott snyder <snyder@fnal.gov>
3690 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3692 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3693 regression test for the problem.
3695 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3697 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3698 * bits/fpos.h: And here.
3699 * bits/std_ostream.h: Same here.
3700 * bits/std_istream.h: Same here.
3701 * bits/basic_ios.h: Same here.
3702 * bits/std_fstream.h: Same here.
3703 * bits/sbuf_iter.h (std): Here too.
3704 * bits/std_sstream.h: Make types public.
3706 * src/misc-inst.cc: Use size_t instead of unsigned int.
3707 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3708 suppose this should be ctype::narrow... all the ctype<wchar_t>
3709 stuff needs to be cleaned up.
3711 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3713 * docs/gentop: Remove entire directory, finally.
3715 2000-03-09 scott snyder <snyder@fnal.gov>
3717 * bits/std_cmath.h (modf): Fix pointer overrun.
3718 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3719 test for the problem.
3721 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3723 Looks like changes to the #include'd files must be followed by a
3724 change to the #include'ing files to take effect. Caveat emptor.
3725 * docs/header.html: New file, for server-side include.
3726 * docs/footer.html: New file, for server-side include.
3727 * docs/documentation.html: Change to use SSI.
3728 * docs/download.html: Ditto.
3729 * docs/index.html: Ditto.
3730 * docs/mail.html: Ditto.
3731 * docs/status.html: Ditto.
3732 * docs/thanks.html: Ditto, plus minor updates.
3733 * docs/how.html: Remove.
3735 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3737 Preliminary alpha-linux support.
3738 * src/locale.cc (ctype<wchar_t>): Use correct types...
3739 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3740 (ctype<wchar_t>): Same.
3741 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3742 types match for table_size (size_t).
3744 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3745 as per char specialization.
3746 * config/*/ctype.cc: Same.
3748 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3750 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3751 _Ctype_nois<>. Template base classes are never examinated in
3752 first-phase name-lookup.
3754 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3756 Add Solaris 2.5.1 support.
3757 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3758 * config/solaris/solaris2.5/ctype.cc: Fixup.
3759 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3760 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3761 * aclocal.m4: Regenerate.
3762 * configure: Regenerate.
3764 * config/default/ctype.cc (ctype): Fixup.
3766 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3768 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3769 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3772 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3774 * bits/cpp_type_traits.h: Expand on this file purpose.
3776 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3778 * bits/locale_facets.h (ctype<char>): Remove static members, and
3779 re-work initialization code.
3780 (ctype<wchar_t>): Same.
3781 Move _S_touppper to _M_toupper and initialize in ctor.
3782 Move _S_tolower to _M_tolower and initialize in ctor.
3783 Move _S_table to _M_ctable and intialize in ctor.
3784 * bits/locale_facets.h (std): And here.
3785 * src/locale.cc (std): Tweak.
3786 * config/gnu-linux/ctype.cc: Change initialization here.
3787 * config/newlib/ctype.cc: And here.
3788 * config/solaris/solaris2.7/ctype.cc: And here.
3789 * config/solaris/solaris2.6/ctype.cc: And here.
3791 * bits/localefwd.h: Tweak.
3792 * bits/std_streambuf.h: Tweak formatting.
3794 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3796 2000-03-05 Chip Salzenberg <chip@valinux.com>
3798 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3800 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3801 Kevin Atkinson <kevinatk@home.com>
3803 Initial grab of SGI's strstream implementation with minor
3805 * src/strstream.cc: New file.
3806 * std/strstream: New file.
3807 * stl/bits/std_strstream.h: New file.
3808 * bits/std_streambuf.h: Add public access.
3809 * src/Makefile.am: Add strstream sources to list of dependancies.
3810 * src/Makefile.in: Regenerate.
3812 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3814 * bits/valarray_meta.h: Fix typo.
3816 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3817 Chip Salzenberg <chip@valinux.com>
3818 Petter Urkedal <petter@matfys.lth.se>
3820 * src/Makefile.am (myinstallheaders): Hack to avoid
3822 * src/Makefile.in: Regenerate.
3824 2000-03-02 Chip Salzenberg <chip@valinux.com>
3826 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3827 (LINK): Put quotes around "$(CC)" for libtool link mode,
3828 so libtool will use "-B" options during GCC bootstrap.
3829 * */Makefile.in: Regenerate.
3831 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3833 * config/c_io_libio.h: Enclose it all in ::std.
3834 * bits/basic_string.h (basic_string<>): Make types and
3836 * mkc++config: Truncate output file before writing.
3838 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3840 * math/cabsf.c (__mycabsf): Rename to cabsf.
3841 * math/cabs.c (__mycabs): Rename to cabs.
3843 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3845 * bits/basic_string.h: Move declarations of __out_of_range(),
3846 __length_error() and accompanying macros ...
3847 * bits/exception_support.h: here. (Newly created file).
3848 * bits/basic_string.h: #include <bits/exception_support.h>
3849 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3850 * src/Makefile.am (headers): Add.
3851 * src/Makefile.in: Regenerate.
3853 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3855 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3857 * bits/valarray_array.h: Synch. Fix typos.
3859 * libio/Makefile.am: Change to only compile source files that
3860 config/c_io_libio.cc actually needs.
3861 * libio/Makefile.in: Regnerate.
3862 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3863 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3864 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3865 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3866 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3867 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3868 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3869 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3870 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3871 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3872 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3873 strops.c strstream.h: Delete.
3875 * bits/basic_file.h: Stub out or delete unused bits in this
3877 (filepos_beg): Remove.
3878 (filepos_cur): Remove.
3879 (filepos_valid): Remove.
3880 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3882 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3884 * bits/cpp_type_traits.h: Correct typo.
3886 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3888 * bits/cpp_type_traits.h: New file.
3890 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3891 Improve array construction.
3892 (_Array_default_ctor): New dispatcher class.
3893 (__valarray_default_construct): New function.
3894 (_Array_copy_ctor): New dispatcher class.
3895 (__valarray_copy_construct): New function.
3896 (_Array<>::free_data): Remove.
3898 * src/Makefile.am (headers): Add cpp_type_traits.h
3899 * src/Makefile.in: Regenerate.
3901 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3903 Prune libio directory to match files in libio/Makefile.
3904 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3905 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3906 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3907 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3908 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3909 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3910 stdstreams.cc: Remove.
3911 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3912 * libio/iofflush_u.c: Remove.
3914 * libio/dbz: Remove.
3915 * libio/include: Remove.
3916 * libio/stdio: Remove.
3917 * libio/tests: Remove.
3918 * libio/testsuite: Remove.
3920 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3922 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3923 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3924 * configure: Regenerate.
3926 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3928 Abstract out the underlying "C" io bits.
3929 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3930 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3931 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3933 * stl/bits/stl_config.h: Don't include _G_config.h.
3935 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3936 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3937 * config/c_io_libio.cc: Tweak.
3939 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3940 * src/Makefile.in: Regenerate.
3941 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3942 prefix/include files will be picked up.
3943 * Makefile.in: Regenerate.
3944 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3945 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3947 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3948 * bits/fpos.h: And here.
3949 * bits/basic_file.h (get_fileno): Move definition from ...
3950 * src/basic_file.cc (std): To here.
3951 * bits/fpos.h: Move types for streamoff, streampos to..
3952 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3953 * config/c_io_libio.h: ...here.
3954 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3955 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3956 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3957 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3958 abstract out bits in ios_base.
3959 * bits/ios_base.h: Re-macrofy.
3960 * src/basic_file.cc : Rename, move to
3961 * config/c_io_libio.cc: Here.
3962 * config/c_io_libio.h: New file. Include libio.
3963 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3964 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3965 * configure: Regenerate.
3966 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3967 (generated_headers): Add c++io.h
3968 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3969 underlying "C" io library.
3970 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3971 GLIBCPP_ENABLE_CSTDIO.
3973 * configure.in: Add configure bits for cross compiling non-newlib
3975 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3976 target, as we assume g++ support is not the limiting factor.
3977 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3978 * configure: Regenerate.
3980 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3982 * Makefile.am (INTERFACE): Define.
3983 * Makefile.in: Regenerate.
3984 * libio/ChangeLog: Add entry.
3986 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3988 * docs/install.html: Update install directions.
3990 * docs/status.html: Fix sidebar to be consistent.
3991 * docs/thanks.html: Same.
3992 * docs/links.html: Same.
3993 * docs/mail.html: Same.
3994 * docs/download.html: Same.
3996 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3997 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3998 however, in the ctype_char_members.cc fail (for instance.)
3999 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4000 that do not have wchar_t enabled.
4001 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4003 * testsuite/27_io/iostream_objects.cc: And here.
4005 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4008 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4009 Tom Tromey <tromey@cygnus.com>
4011 * configure.in: Manually add MULTISUBDIR.
4012 * configure: Regenerate.
4013 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4014 "Eww" hacks to get multilib installs working correctly.
4015 ($(headers): Test for MULTISUBDIR before installing.
4016 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4017 have configure hack it in.
4018 * Makefile.in: Regenerate.
4019 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4020 Add enabling bits for native Cygwin ctypes, and other newlib-based
4023 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4025 * mkc++config (OUT_H): Remove EOF in cygwin.
4026 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4028 Tom Tromey <tromey@cygnus.com>
4029 * src/Makefile.am: Tweaks for installing multilibs.
4031 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4034 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4035 Add USE_LIBDIR bits here, not...
4036 * src/Makefile.in: Regenerate.
4037 * Makefile.am: ...here.
4038 * Makefile.in: Regenerate.
4040 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4042 * acinclude.m4 (LIBS): Fix typos.
4043 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4044 _GLIBCPP_BUGGY_COMPLEX for crosses.
4045 * src/Makefile.am (std_headers): Add libio.h as install include,
4047 * src/Makefile.in: Regenerate.
4049 * mkcheck.in: Add bits to set CXX to cross compiler.
4051 * src/complex_io.cc: Tweak.
4052 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4053 * configure: Regenerate.
4055 * config/newlib/ctype.cc: Tweaks.
4056 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4058 * src/complex_io.cc (operator>>(istream, complex): Define out if
4061 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4063 * config/newlib/bits/ctype_base.h: Correct _S_table.
4065 Reconfigure ctype support for "C" libraries that don't use arrays.
4066 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4067 basic ctype<char> functionality.
4068 * src/locale.cc: Move host-specific ctype functions that are not
4069 inlines to config/*/ctype.cc files.
4070 (ctype<char>::do_tolower): For instance.
4071 (ctype<char>::do_toupper): For instance.
4072 (ctype<wchar_t>::do_tolower): For instance.
4073 (ctype<wchar_t>::do_toupper): For instance.
4074 * config/gnu-linux/ctype.cc: Modify.
4075 * config/default/ctype.cc: Modify.
4076 * config/newlib/ctype.cc: Modify.
4077 * config/solaris/solaris2.6/ctype.cc: Modify.
4078 * config/solaris/solaris2.7/ctype.cc: Modify.
4080 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4082 (ctype<char>::scan_is): Here too.
4083 (ctype<char>::scan_not): Here too.
4084 Move out of line defs to config/*/bits/ctype_specializations.h.
4085 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4086 * config/default/bits/ctype_specializations.h: ...here. New file.
4087 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4088 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4089 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4090 * src/Makefile.am (headers): Add ctype_specializations.h.
4091 * src/Makefile.in: Regenerate.
4093 Aaron Weiss <weiss@clearway.com>
4094 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4095 CONFIG_NM for Solaris builds.
4096 * Makefile.in: Regenerate.
4098 * src/locale.cc: Tweak formatting.
4100 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4102 Jim Parsons <parsons@clearway.com>
4103 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4104 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4108 Michel Decima <michel.decima@cnet.francetelecom.fr>
4109 * testsuite/27_io/streambuf.cc: Add test.
4110 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4113 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4114 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4115 will work correctly, for instance.
4116 * src/Makefile.in: Regenerate.
4118 * bits/locale_facets.h: Fix merge error.
4119 (num_put::put(unsigned long long): And here.
4120 * mknumeric_limits (trait_name): Same.
4122 2000-02-15 Chip Salzenberg <chip@valinux.com>
4124 Support 'configure --enable-long-long'.
4125 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4126 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4127 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4128 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4129 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4131 * aclocal.m4: Regenerate.
4132 * config.h.in: Regenerate.
4133 * configure: Regenerate.
4135 2000-02-15 Chip Salzenberg <chip@valinux.com>
4137 Improve (complete?) 'long long' support.
4138 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4139 for {,unsigned} long long if the limits header declares them.
4140 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4141 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4142 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4143 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4144 (num_put<>::put(..., long long)): Likewise.
4145 (num_put<>::put(..., unsigned long long)): Likewise.
4146 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4147 Templatize last parameter to support 'long long'.
4148 (num_put<>::put(...)): Call _S_format with new name.
4149 (num_put<>::put(..., long long)): Define.
4150 (num_put<>::put(..., unsigned long long)): Likewise.
4151 * src/locale-inst.cc (_S_format): Instantiate under new name.
4153 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4155 * src/complex.cc (operator<<, operator>>): Moved from here...
4156 * src/complex_io.cc: ...to new file.
4157 (operator>>): Stub replaced by the real thing.
4158 * src/Makefile.am (sources): Inserted complex_io.cc.
4159 * src/Makefile.in: Regenerate.
4160 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4162 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4164 Add in ctype information for newlib "C" libraries.
4165 * config/newlib: New directory
4166 * config/newlib/bits/ctype_base.h: New file.
4167 * config/newlib/ctype.cc: New file.
4169 * ctype/config/linux/*: Rename, move to...
4170 * ctype/config/gnu-linux/*: Here.
4172 Finish off multilib work.
4173 * configure.in: Don't set CXX if not Canadian cross.
4174 * configure: Regenerate.
4175 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4176 * aclocal.m4: Regenerate.
4177 * config.h.in: Regenerate.
4179 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4180 the top-level gcc directory now.
4181 * mkinstalldirs: Remove.
4184 * ltmain.sh: Remove.
4185 * config.guess: Remove.
4186 * config.sub: Remove.
4188 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4190 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4191 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4192 * Makefile.in: Regenerate.
4193 * src/Makefile.am: Add multilib bits.
4194 * src/Makefile.in: Regenerate.
4196 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4198 * configure.in: Clean, add some multilib support.
4199 * configure: Regenerate.
4200 * configure.host: New file.
4202 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4203 roll a new function, checks for presence of libio.
4204 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4205 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4206 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4207 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4208 GLIBCPP_CHECK_LIBIO: Same.
4209 GLIBCPP_CHECK_CTYPE: Same.
4210 * aclocal.m4: Regenerate.
4211 * config.h.in: Regenerate.
4213 * Makefile.am: Tweaks.
4214 * Makefile.in: Regenerate.
4216 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4218 * configure.in: Make outputing the libio/Makefile
4219 conditional. Haha, yeah right. Anyway, we instead do this thing
4220 where if libio is found, then we build a null library, as there is
4221 no point in duplicating the found libio.
4222 * Makefile.am: Tweak.
4223 * Makefile: Regenerate.
4224 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4225 are happy happy happy.
4226 * libio/Makefile.am: Regenerate.
4227 * libio/gen-params: New file.
4228 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4229 null library if it's not needed. At least we are being consistent,
4230 if not as elegant as we could be.
4231 * src/Makefile: Regenerate.
4233 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4235 * Makefile.am (SUBDIRS): Add libio again.
4236 * Makefile.in: Regenerate.
4237 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4238 (AC_OUTPUT): Generate libio/Makefile again.
4239 * configure: Regnerate.
4240 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4241 libio.la is referring back to the libio subdir again.
4242 (LIBIO_INCLUDES): And here.
4243 * src/Makefile.in: Regenerate.
4245 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4247 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4249 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4251 * bits/valarray_array.h (<bits/std_new.h>): #include.
4252 (__valarray_get_memory): New function.
4253 (__valarray_release_memory): Likewise.
4254 (__valarray_default_construct): New functions.
4255 (__valarray_fill_construct): New function.
4256 (__valarray_copy_construct): New funstions.
4257 (__valarray_destroy_elements): New function.
4259 * bits/valarray_array.tcc (__valarray_copy_construct): New
4262 * bits/std_valarray.h (valarray<>::valarray): Use
4263 __valarray_get_memory and __valarray_fill_construct,
4264 __valarray_copy_construct, __valarray_default_construct to
4265 properly construct valarrays.
4266 (valarray<>::~valarray): Use __valarray_destroy_elements to
4267 destroy elements and __valarray_release_memory to return memory.
4268 (valarray<>::shift): Tweak.
4269 (valarray<>::cshift): Likewise.
4270 (valarray<>::resize): Robustify.
4272 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4274 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4275 * bits/limits_generic.h: New file, defaults.
4276 * src/limits_generic.cc: New file, defaults.
4277 * configure.in (LIBS): Run mknumeric_limits at configure time.
4278 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4279 HAVE_LC_MESSAGES, tidy, clean, etc.
4280 * src/Makefile.am (geberated_sources): Remove.
4282 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4283 (_IO_off_t, _IO_ssize_t)
4285 * src/complex.cc: Use glibc's <complex.h> if
4286 possible. . . apparently this was not being done before. Include
4288 (abs): Enable cabs if it's around, instead of mycabs.
4289 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4290 * src/complexl.cc (FCT): Same.
4291 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4292 (libmath_la_SOURCES): And here.
4293 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4294 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4295 * math/complex-stub.h: Move c_log declarations into. . .
4296 * math/mathconf.h: Here. This is because glibc's <complex.h>
4297 declares cclog, not c_log. The case of the dueling standards. . .
4298 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4299 * math/Makefile.am: Change.
4300 * math/nan.c (nan): Change signature.
4301 * math/mathconf.h (NAN): Same.
4302 * math/complex-stub.h (nan): And here.
4304 * Makefile.am (rebuild-stamp): Remove libio and libio
4305 dependancies. Plan to take out libio subdir and just merge with
4306 libio in top level gcc directory. Of course, this assumes there is
4307 a libio in the top level directory (ie ../src_dir). This will
4308 probably change the way this library is configured by default.
4311 2000-02-09 Chip Salzenberg <chip@valinux.com>
4313 * localefwd.h (locale): Make public: facet, id, category.
4315 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4317 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4319 * acinclude.m4: Patch only once!
4321 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4323 * testsuite/26_numerics/buggy_complex.cc: New file.
4325 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4327 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4328 on the 1999-11-21 entries by Mumit Khan.
4329 * configure.in: Use.
4330 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4331 * bits/std_complex.h: Use.
4333 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4335 * stl/bits/stl_algobase.h: Add traits based dispatch for
4336 __normal_iterator in the copy_backward()algorithm
4337 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4340 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4342 * src/gen-num-limits.cc (signal_handler): Work around signal
4343 handling problem on Cygwin.
4344 Thanks to Chris Faylor <cgf@cygnus.com>.
4346 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4348 * configure.in: Add (preliminary) support for cross compiles and
4350 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4351 compilation freaks on this.
4352 * configure: Regenerate.
4353 * src/Makefile.am: Add support for cross compiles.
4354 * src/Makefile: Regenerate.
4355 * Makefile.am: Add support for cross compiles.
4356 * Makefile.in: Regenerate.
4358 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4360 * configure.in (LIBS): Remove unused subdirs.
4361 * configure: Regenerate.
4362 * Makefile.am (SUBDIRS): And here.
4363 * Makefile.in: Regenerate.
4364 * src/Makefile.am (sources): And here.
4365 * src/Makefile.in: Regenerate.
4368 * generic/*: Remove.
4370 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4372 * libtool: Update to libtool-1.3.4.
4376 * config.guess: Same.
4378 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4379 Alexandre Petit-Bianco <apbianco@cygnus.com>
4381 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4382 namespace instead of polluting global namespace with duplicate
4384 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4386 (AC_OUTPUT_COMMANDS): Make it here.
4387 * configure: Regenerate.
4388 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4389 endif, as now we will add it manually.
4390 Move to this file. . .
4391 * bits/c++config.h: New file. Same as old c++config.h.in except
4392 the ending macro guard is now appended manually.
4394 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4395 * bits/std_cmath.h: Same here.
4396 * bits/std_cwchar.h: And here.
4397 * src/locale.cc: And here.
4398 * src/complexl.cc: And here.
4399 * math/mathconf.h: Change to include "config.h" instead of
4402 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4404 * configure.in: Add support for threads. Try a model closer to
4405 libjava, as hopefully if the thread bits are added carefully
4406 enough, the source code will not have gross hacks. Besides, the
4407 libstdc++-v2 model could be easily emulated without the necessity
4408 of linking files in (as currently done)--all that needs to be done
4409 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4410 new. . . and see if we arrive at a more elegant solution.
4411 * configure: Regenerated.
4412 * config/threads-no.h: New file.
4413 * config/threads-posix.h: New file.
4414 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4415 * src/Makefile.in: Regenerated.
4417 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4419 META-QUESTION: Can we just make a "header.html" file and a
4420 "footer.html" and just include them in all the doc sub-pages. The
4421 duplication of the header info is kind of gross, and weak
4422 considering that if you change order or layout then all this stuff
4423 has to be changed in all the sub-files.
4425 * docs/17_intro/contribute.html: Take out duplicate file info.
4426 * README: Should just contain a link to the docs/index.html
4427 page. Duplicate information removed.
4428 * docs/faq/index.html: Remove indexes into HOWTOS.
4429 * docs/17_intro/howto.html: Make intro and docs part more
4430 centralized. Move intro stuff to documentation.html.
4431 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4432 * docs/README.html: Move documentation files to
4433 documentation.html. Should this file be renamed
4434 "config_and_install.html" as that is what is apparently covered
4436 * docs/install.html: Yes. New file, moved and renamed README.html.
4437 * docs/documentation.html: New file. This is the index file for
4439 * docs/index.html: Edit sidebar order. Insert new link to new
4440 documentation spine, documentation.html.
4442 2000-01-31 Scott Snyder <snyder@fnal.gov>
4444 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4445 we don't extract any characters.
4446 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4448 2000-01-31 Anders Widell <awl@hem.passagen.se>
4450 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4451 step is a multiple of the word size.
4452 (_M_do_right_shift): Same.
4453 * testsuite/23_containers/bitset_shift.cc: New file.
4455 2000-01-31 Nathan Myers <ncm@zembu.com>
4457 * README (Documentation): Add path info, fix typos.
4459 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4461 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4462 crazy group checking for numpunct, for real this time. At some
4463 point, the local variable __grp should probably get replaced a
4464 char array, or something a bit more lightweight.
4465 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4466 parsed value unless err isn't failbit.
4467 (num_get::do_get(*)): Same, make consistent.
4469 Nathan Myers <ncm@zembu.com>
4470 Jim Parsons <parsons@clearway.com>
4471 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4472 more grouping tests, tweak, scold, wine.
4474 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4476 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4478 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4479 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4482 via <llewelly@198.dsl.xmission.com>
4483 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4484 out_of_range instead of range_error.
4486 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4488 * bits/std_iomanip.h (setw): Fix typo.
4490 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4492 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4493 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4494 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4496 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4498 * docs/README.html: Reformat, more installation instructions.
4499 * docs/gccrebuild.html: New file.
4500 * docs/faq/index.html: Update for new testsuite output filenames.
4501 * docs/faq/index.txt: Regenerate.
4503 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4505 * Makefile.am (rebuild-stamp, all-local): New targets.
4506 * Makefile.in: Regenerated.
4507 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4508 * aclocal.m4: Regenerated.
4509 * configure.in: Call new macro. Also do some sanity checks
4510 for combinations of --enable's that may not make sense.
4511 * configure: Regenerated.
4513 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4515 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4516 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4517 correctly for hex-formatted input.
4519 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4520 eofbit instead of eofbit | failbit.
4521 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4522 ifstreams now are opened or'd with ios_base::in (as is correct).
4523 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4524 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4526 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4528 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4529 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4531 (__basic_file::filepos_valid): Same.
4532 (__basic_file::filepos_beg): Same.
4533 (__baseic_file::get_fileno): New function.
4534 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4535 feedback from LWG 49.
4536 * src/ios.cc: Move definition here.
4537 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4539 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4540 output part of internal buffer based on string size, so that
4541 _M_out_end is set consistently with filebufs. Correct comments.
4542 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4543 * testsuite/27_io/stringbuf.cc: Changes.
4545 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4547 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4549 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4551 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4552 (ofstream::open): Add ios_base::out to openmode.
4554 * bits/locale_facets.tcc (_M_extract): Have consistency between
4555 istream::sentry and extractors, where failbit | eofbit is
4556 set. Don't change this, but instead change. . (do some formatting
4558 * bits/istream.tcc (istream::sentry): Only set eofbit.
4560 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4562 * testsuite/27_io/istringstream_members.cc: New file.
4564 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4566 * bits/istream.tcc (istream::sentry): Flush.
4568 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4569 * configure: Regenerate.
4570 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4571 that make clean will not delete it.
4572 * src/Makefile: Regenerate.
4574 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4576 * mkcheck.in: Use host-specific invocation of size(1);
4577 GNU binutils isn't necessarily there (more's the pity).
4579 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4581 * configure.in (LIBS): Better tests for solaris2.6.
4582 * configure: Regenerate.
4584 <vakatov@ncbi.nlm.nih.gov>
4585 * bits/std_sstream.h: As per libstdc++20.
4587 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4589 Break out configuration on solaris.
4590 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4591 * config/solaris/ctype.cc: Delete and move to proper version.
4592 * config/solaris/bits: Same.
4593 * config/solaris/solaris2.5: Add this directory, with subdir bits
4594 and file ctype.cc. Probably doesn't work.
4595 * config/solaris/solaris2.6: Same.
4596 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4598 * Makefile.am: Change paths to mkcheck.
4599 * Makefile: Regenerate.
4600 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4601 * configure: Regenerate.
4602 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4604 * mkcheck: Now autogenerated by configure and renamed. . .
4605 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4606 Have longer-style dates.
4607 Raja R Harinath <harinath@cs.umn.edu>
4608 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4610 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4611 general documentation need to be organized around each other, not
4612 fight against each other. . .
4614 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4615 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4617 * README: Add a note referring to README.html.
4618 * docs/README.html: New file from Nicolai.
4619 * docs/faq/index.html: Move "how to get a copy" to here.
4620 * docs/gentop/footchunk.html: Update.
4621 * docs/gentop/headchunk.html: New links according to
4622 bkoz's idea for "How to..." stuff.
4623 * docs/gentop/thanks: Actually put people here.
4624 * docs/download.html: Regenerated.
4625 * docs/index.html, docs/links.html, docs/mail.html,
4626 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4627 * docs/how.html: Ditto. (This file should go away soon.)
4629 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4631 * docs/gentop/status: Add snapshot version column, update
4633 * docs/status.html: Regenerated.
4635 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4637 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4638 from installation FAQ, and specify location of text files.
4639 * docs/faq/index.txt: Regenerated.
4641 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4643 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4644 * docs/download.html: Regenerated.
4646 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4648 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4649 clean up various links.
4650 * docs/faq/index.txt: Regenerated.
4651 * docs/gentop/gentop: Smarter regeneration script.
4652 * docs/gentop/{head,foot}chunk.html: Updated with new
4653 contributors link and mod date.
4654 * docs/gentop/index: Snapshot relase date.
4655 * docs/gentop/thanks: New contributors page added.
4656 * docs/{download,how,index,links,mail,status,thanks}.html:
4657 Regenerated from gentop; thanks.html created.
4659 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4661 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4662 * docs/index.html: Add correct information.
4664 * config/irix: New directory.
4665 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4666 * config/irix/bits/ctype_base.h: And here.
4668 * config/aix: New directory.
4669 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4670 * config/aix/bits/ctype_base.h: And here.
4672 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4674 * bits/basic_string.h: Add special case handling for integral
4676 * bits/std_string.h: include type_traits.h
4677 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4679 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4681 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4683 * bits/std_fstream.h (sync): And here.
4684 * testsuite/27_io/filebuf.cc: Revisions.
4685 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4686 at the end of the file.
4687 * testsuite/27_io/filebuf-3.tst: Correct.
4689 1999-12-21 Phil Edwards <pedwards@jaj.com>
4691 * docs/gentop/index: Hold off on .7 announcement date.
4692 * docs/index.html: Regenerate.
4694 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4696 * bits/std_fstream.h (sync): Move _M_file->sync() to
4697 _M_really_overflow().
4698 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4699 as to get the _M_file->sync action, which forces the external
4700 buffer to update itself.
4701 (underflow): Same here.
4703 1999-12-21 Phil Edwards <pedwards@jaj.com>
4705 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4706 * acconfig.h: ...to here.
4707 * config.h.in: Regenerate from aclocal.
4708 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4709 * aclocal.m4: Regenerate from acinclude.
4710 * configure.in: Use ENABLE macros here.
4711 * configure: Regenerate.
4712 * src/Makefile.am: Use results from ENABLE macros.
4713 * src/Makefile.in: Regenerate.
4715 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4717 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4718 check" and not "make check-install." Temporarily hack in linux
4721 * bits/std_streambuf.h: Tweaks.
4722 * bits/streambuf.tcc (xsgetn): Tweaks.
4723 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4724 * bits/fstream.tcc (filebuf::underflow): Simplify.
4725 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4726 checks for read position precisely implement the standard.
4727 * bits/basic_file.h (filepos_cur): Base this on _offset.
4728 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4729 * testsuite/27_io/filebuf.cc: Tweak.
4731 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4733 * docs/17_intro/RELEASE-NOTES: Fix typos.
4735 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4736 out platform-specific bits.
4737 * config/default/ctype.cc: And here.
4738 * config/defaults/bits/ctype_base.h: And here.
4739 * config/linux/ctype.cc: And here.
4740 * config/linux/bits/ctype_base.h (ctype_base): And here.
4741 * config/solaris/bits/ctype_base.h (ctype_base): Add
4742 __to_type. Comment, as it looks like this is for solaris2.6 and
4743 above: solaris2.5.1 doesn't seem to have the same definitions.
4744 * config/solaris/ctype.cc: And here.
4746 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4747 Ulrich Drepper <drepper@cygnus.com>
4749 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4751 * src/locale.cc: Take out platform-specific hacks.
4752 * config/linux/ctype.cc: Put here.
4753 * config/solaris/ctype.cc: Put here.
4754 * config/default/ctype.cc: Put here.
4756 * bits/locale_facets.h: Take out platform-specific hacks.
4757 * config/linux/bits/ctype_base.h: Put here.
4758 * config/solaris/bits/ctype_base.h: Put here.
4759 * config/default/bits/ctype_base.h: Put here.
4761 * configure.in: Bump version.
4762 Add tests for top-level config directory.
4763 * configure: Regenerated.
4764 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4765 * src/Makefile: Regenerate.
4767 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4768 Ulrich Drepper <drepper@cygnus.com>
4770 * bits/locale_facets.h: Hack in solaris support.
4771 * src/locale.cc: Here too.
4773 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4775 * docs/17_intro/TODO: Update
4776 * docs/17_intro/RELEASE-NOTES (New): Update.
4778 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4780 * bits/c++config.h.in (__GLIBCPP__): Bump.
4781 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4782 * docs/17_intro/TODO: Update.
4784 * bits/locale_facets.h: Touch this too.
4785 * bits/localefwd.h: Add typedefs for loooooong vector names.
4786 * bits/locale_facets.tcc (locale::operator()): Need parens.
4787 (has_facet): Simplify.
4788 * src/locale-inst.cc: Add instantiations.
4789 * src/locale.cc: Tweaks.
4791 * bits/std_streambuf.h: Move indeterminates into. .
4792 * bits/std_fstream.h: Here.
4793 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4795 * bits/sstream.tcc: Very minor formatting tweaks.
4796 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4797 input buffer, set _M_buf to offset.
4798 * bits/istream.tcc (std): Tweaks.
4799 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4801 * testsuite/27_io/filebuf.cc: Tweaks.
4803 1999-12-17 Phil Edwards <pedwards@jaj.com>
4805 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4806 * configure: Regenerate.
4807 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4808 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4809 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4811 1999-12-17 Phil Edwards <pedwards@jaj.com>
4813 * docs/21_strings/stringtok_std_h.txt: New algorithm
4814 suggested by Chris King.
4815 * docs/21_strings/howto.html: Link to new version.
4817 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4819 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4821 * docs/17_intro/TODO: Update.
4823 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4825 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4826 * docs/gentop/gentop: Ditto.
4827 * docs/gentop/headchunk.html: Ditto.
4828 * docs/*.html: Regenerated from gentop.
4829 * docs/*/howto.html: Updated as test.
4830 * docs/faq/index.html: Updated, fixed CRLFs.
4831 * docs/faq/index.txt: Regenerated.
4833 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4835 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4837 * bits/std_complex.h
4838 (complex<float>::complex(const complex<double>&),
4839 complex<float>::complex(const complex<long double>&)): Define.
4841 * docs/17_intro/TODO: Update.
4843 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4845 * bits/istream.tcc (seekg): Don't set _M_gcount.
4847 * bits/fstream.tcc (filebuf::underflow): Re-sync
4848 external byte sequence's input buffer only. . .
4849 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4850 tellg, seekg and filebufs.
4851 (test05): Same for stringbufs.
4852 * testsuite/27_io/istream_unformatted-2.tst: New file.
4853 * testsuite/27_io/istream_unformatted-1.tst: New file.
4854 * testsuite/27_io/istream_unformatted-1.txt: New file.
4855 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4858 1999-12-13 Phil Edwards <pedwards@jaj.com>
4860 * docs/gentop/*: New directory, containing bits for the homepages.
4861 * docs/*.html: Regenerated from gentop.
4862 * docs/*/*.html: Entries added and regenerated.
4864 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4866 Efforts to get -O2 to work with -Winline -Werrors.
4867 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4868 _Tp&): Remove inline declaration, as cannot be inlined and
4869 -Winline -Werror complains. An interesting question is why this
4870 cannot be inlined, as I can see no real reason to disqualify it.
4871 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4872 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4874 * docs/17_intro/TODO: Update.
4876 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4878 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4880 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4881 the resultant position.
4882 * bits/fstream.tcc (seekoff): Explicitly set return value to
4883 resultant external byte sequence position, not value returned from
4884 _M_file->seekoff. Need to make
4885 (seekpos): New definition.
4887 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4888 just istream. Necessary, or else tellg will give an invalid stream
4889 position, but seekg will return a valid stream position, which is
4890 not groovy: see testcase addition.
4891 * bits/ostream.tcc (seekp): Same.
4893 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4894 * bits/sstream.tcc: Tweaks.
4895 * bits/locale_facets.tcc: Tweaks.
4896 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4897 Re-write in a way that is easier for the inliner to work with.
4898 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4900 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4902 * bits/locale_facets.tcc: Tweaks.
4903 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4905 * bits/localefwd.h: And here.
4906 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4907 * bits/ostream.tcc: Put here.
4909 Frank Ch. Eigler <fche@cygnus.com>
4910 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4912 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4914 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4915 in and out buffers update independantly.
4917 * bits/basic_ios.h: Minor formatting.
4918 * bits/fstream.tcc (std): Fix indentation.
4920 1999-12-08 Chip Salzenberg <chip@valinux.com>
4922 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4923 after corresponding eof() functions, so they're easier for the
4925 * bits/locale_facets.h (money_base::__default_pattern): Move
4926 static variable out of inline functions.
4927 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4928 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4930 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4932 * bits/std_fstream.h (filebuf::open): Tweak.
4933 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4934 * bits/std_ios.h: Minor tweaks for headers.
4936 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4938 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4939 * src/string-inst.cc: Add guards . . .
4940 * src/misc-inst.cc: And here.
4941 * bits/std_sstream.h: And here.
4942 * bits/std_fstream.h: And here.
4943 * bits/std_streambuf.h: And here.
4944 * bits/std_istream.h: And here.
4945 * bits/std_ostream.h: And here.
4947 1999-12-06 Scott Snyder <snyder@fnal.gov>
4949 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4951 (basic_istream::readsome): And here as well.
4952 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4955 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4957 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4958 necessarily an `int'.
4960 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4962 * mknumeric_limits: Don't use $CXXFLAGS when building
4963 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4964 generally instructs the compiler not to emit template
4965 instantiations and we end up with undefined symbols. Sigh.
4967 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4969 * bits/locale_facets.tcc: Tweak.
4970 (_S_format_long): Adjust showpos formatting for hex and oct.
4971 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4972 and oct by formatting as unsigned.
4973 (operator<<(int)): Same here.
4974 * bits/ostream.tcc (operator<<(long)): Same.
4975 (operator<<(long long)): Same.
4976 (_S_pad_char): Actually treat ios_base::internal as something
4977 worth doing correctly. Remove const designation on ios argument.
4978 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4979 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4981 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4983 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4985 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4987 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4989 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4990 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4991 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4992 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4993 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4995 (ostream::operator<<(_CharT)): Fix.
4997 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4998 see if this will increase compile speed.
4999 * bits/std_ostream.h: Likewise. . .
5000 * bits/std_istream.h: And here.
5001 * bits/std_fstream.h: And here.
5002 * src/misc-inst.cc: Add relevant header file includes for
5003 instantiation purposes.
5004 * src/string-inst.cc: And here.
5005 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5007 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5009 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5010 * bits/istream.tcc (get(streambuf)): More fixes.
5011 (istream::ignore): Get specific about numeric_limits<int>::max()
5014 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5015 (filebuf::close): Same.
5016 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5018 1999-12-01 Phil Edwards <pedwards@jaj.com>
5020 * mkcheck: Support for compilation/execution timing.
5021 * testsuite/printnow.c: New file.
5023 1999-12-01 Phil Edwards <pedwards@jaj.com>
5025 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5026 * configure.in: Test for presence of wchar.h before testing
5027 for any of its features.
5028 * configure: Regenerate.
5030 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5032 Preliminary istream validations complete.
5033 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5034 formatting more consistent. Removal of if-statements inside of for
5039 * bits/std_istream.h: Same.
5040 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5041 * testsuite/27_io/stringbuf.cc: Tweak.
5042 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5044 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5045 failbit on failure, as per 27.6.2.5.2.
5047 * stl/bits/std_vector.h: Allow bool specializations. Should move
5048 ext/std_bvector to bits, not ext, maybe.
5050 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5052 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5053 * configure: Regenerate.
5055 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5057 * bits/istream.tcc (get(streambuf, char)): Fix.
5058 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5060 1999-11-29 Scott Snyder <snyder@fnal.gov>
5062 * bits/basic_string.h (append(const _Char*, size_type)): The
5063 length of the appended string is given exactly by the second arg,
5064 regardless of the data in the character array.
5065 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5066 _Alloc&)): Likewise.
5067 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5068 of basic_string::append.
5070 1999-11-29 Chip Salzenberg <chip@valinux.com>
5072 * Makefile.in: Tweaks for CXXFLAGS.
5073 * */Makefile.in: Same.
5075 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5077 * conficd bgure.in: Check for wide character support.
5078 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5079 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5080 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5082 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5084 * acinclude.m4: Fix typo.
5085 * src/complex.cc: Fix macro line continuation.
5087 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
5089 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5090 string literals in format, as used in locale-facets.tcc.
5092 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5094 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5095 * bits/istream.tcc (istream::get): Extract to argument minus one.
5096 Various tweaks and fixes.
5098 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5100 * bits/locale_facets.tcc: Workaround for compiler crash on
5103 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5105 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5106 * configure.in: Use.
5107 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5108 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5109 * bits/std_complex.h: Use.
5110 * src/complex.cc: Use.
5112 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5114 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5115 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5116 * testsuite/22_locale/ctype.cc: Likewise.
5117 * testsuite/23_containers/multiset.cc: Likewise.
5118 * testsuite/23_containers/vector_ctor.cc: Likewise.
5119 * testsuite/26_numerics/binary_closure.cc: Likewise.
5120 * testsuite/27_io/fpos.cc: Likewise.
5121 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5122 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5123 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5124 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5125 * testsuite/27_io/istream_sentry.cc: Likewise.
5126 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5127 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5128 * testsuite/27_io/streambuf.cc: Likewise.
5129 * testsuite/27_io/stringstream.cc: Likewise.
5131 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5133 * bits/valarray_meta.h: Don't forget to define tanh
5135 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5137 * src/stl-inst.cc: Use typedef to refer to iterator
5138 * stl/bits/stl_algobase.h: Add traits based dispatch for
5139 __normal_iterator in the copy()algorithm
5140 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5142 1999-11-18 Kevin Ediger <kediger@licor.com>
5144 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5145 constructors for locale::_Impl exception safe.
5147 1999-11-18 Scott Snyder <snyder@fnal.gov>
5149 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5150 _Sequence template argument of priority_queue<> as vector<>, not
5153 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5155 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5157 * bits/sstream.tcc: Adjust here too.
5159 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5161 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5162 * bits/istream.tcc (operator>>): Replace iostate(0) with
5163 iostate(ios_base::goodbit), which is the same thing, but hopefully
5165 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5166 libraries issue list 17.
5167 (do_gets): Don't set goodbit explicitly, instead only set on
5168 failures as good bit is the default setting.
5169 * bits/ios_base.h (setf): Set correctly.
5170 * bits/fstream.tcc: Tweak.
5171 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5172 in|out bufs that are empty. . .
5173 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5175 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5177 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5178 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5179 Add comments "all about _M_buf."
5180 (setg): Set _M_mode.
5182 1999-11-16 Kevin Ediger <kediger@licor.com>
5184 * bits/locale_facets.tcc (_S_build_float_format): New function.
5185 (_S_output_float): New function.
5186 (num_put::do_put(double)): Use 'em.
5187 (num_put::do_put(long double)): Use 'em.
5188 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5190 1999-11-15 Scott Snyder <snyder@fnal.gov>
5192 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5193 match how libio is calling us.
5194 * src/basic_file.cc (sys_seek): Likewise.
5195 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5197 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5199 * docs/17_intro/contribute.html: Add link to assignment form.
5200 * docs/17_intro/libstdc++-assign.txt: New file.
5202 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5205 * bits/std_streambuf.h (_M_buf_bump): New function.
5206 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5207 (xsputn): Here. Also add checks for output valid.
5208 (xsgetn): Add checks for input valid.
5210 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5211 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5212 Set _M_out_end to variable-length-end.
5213 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5216 * bits/fstream.tcc (std): Tweak formatting.
5217 (filebuf::overflow): Simplify.
5218 (filebuf::showmanyc): Same.
5219 (filebuf::underflow): Same.
5220 * testsuite/27_io/filebuf.cc: Fix.
5221 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5222 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5223 * testsuite/27_io/stringbuf.cc: Tweak.
5224 * testsuite/27_io/streambuf.cc: Tweak.
5225 * testsuite/27_io/istream_extractor_other.cc: Fix.
5227 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5229 * stl_deque.h: Use static_casts<size_type>(signed_type).
5231 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5233 Cleanups for callbacks, more regression hunting. Remaining
5234 failures (1) due to last unresolved stringstream issues, not
5236 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5237 killing 27_io/filebuf.cc tests. . . need another solution.
5239 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5240 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5242 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5243 foils all attempts at a graceful, minimal implementation.
5244 * bits/basic_ios.tcc: Tweaks.
5245 * bits/istream.tcc: Fix.
5246 * bits/ostream.tcc: Fix.
5247 * bits/std_istream.h: Fix.
5248 * bits/std_ostream.h: Fix.
5249 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5251 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5252 (_S_pad_numeric): Make comprehensible.
5254 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5256 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5257 (_S_ostream_fcache): New function.
5258 Move functions out-of-line.
5259 * bits/ostream.tcc: Put here.
5261 * bits/std_istream.h: Add callbacks for _M_fnumget.
5262 (_S_istream_fcache): New function.
5263 Move functions out-of-line.
5264 * bits/istream.tcc: Put here.
5266 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5267 _M_call_callbacks(), as ios_base::imbue does this already.
5268 * src/ios.cc (register_callback): Clean.
5269 (_M_call_callbacks): Same.
5270 * bits/ios_base.h: Callback work.
5271 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5273 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5274 Matthias Klose <doko@cs.tu-berlin.de>
5276 * stl/ext/stl_rope.h: Fix initialization order.
5278 1999-11-09 Scott Snyder <snyder@fnal.gov>
5280 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5281 _M_file->sync() so that redirection works correctly.
5283 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5285 * bits/istream.tcc: Re-order.
5286 * bits/std_istream.h: Fix getline problems.
5287 * testsuite/27_io/istream_unformatted.cc: New tests.
5289 Clean up regressions.
5290 * bits/std_sstream.h: Set initial stringbufs correctly.
5292 1999-11-09 Scott Snyder <snyder@fnal.gov>
5294 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5296 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5299 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5301 * src/Makefile.am (CXXFLAGS): Add -Winline.
5302 * src/Makefile.in: Regenerate.
5304 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5306 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5307 building meta-expressions don't forget to take the contained
5310 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5312 * configure: Regenerate.
5314 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5316 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5318 * bits/valarray_meta.h (min): Likewise.
5319 * bits/valarray_meta.h (max): Likewise.
5321 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5323 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5324 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5325 * bits/streambuf.tcc: Define.
5326 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5327 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5328 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5329 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5331 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5332 reported by Richard Atterer.
5333 * bits/char_traits.h: For consistency's sake, here too.
5335 * configure.in: Bump version to 2.90.7.
5337 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5339 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5340 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5341 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5343 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5344 writing into buffer.
5347 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5349 * bits/valarray_array.h (__valarray_sum): New function.
5350 * bits/valarray_array.h (__valarray_product): Same.
5352 * bits/std_valarray.h (valarray<T>::product): Comment out.
5353 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5354 instead of accumulate.
5356 * src/valarray-inst.cc: Remove explicit intantiation of
5357 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5358 * src/valarray-inst.cc (__valarray_product): Instantiate
5360 * src/valarray-inst.cc (__valarray_product(const
5361 valarray<size_t>&)): New function.
5362 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5363 valarray<size_t>::product. Use __valarray_product instead.
5366 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5368 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5369 (_S_pad_char): New function. Not done: ios_base::internal.
5370 * bits/ostream.tcc: Clean for above.
5371 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5372 specialization that was commented out, as ostreams now have to
5373 correctly deal with padding.
5374 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5376 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5377 from mailing list. This is a bug, and should be fixed.
5378 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5380 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5382 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5383 to avoid conflict with gcc name mangling.
5384 * stl/bits/stl_algo.h (__transform): Same.
5386 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5388 * bits/ios_base.h: Change argument names.
5389 * docs/17_intro/BADNAMES: Add __opr.
5391 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5393 Work on compilation slowdowns from 10-5 to 10-12, which are
5394 related to the _Callback_list inlining/merge-ifcation, which is
5395 still a pending issue, but this stuff is necessary cleanup anyway.
5397 * src/ios.cc: Re-arrange.
5398 * bits/ios_base.h: Tweak.
5399 * bits/basic_ios.tcc: Move out of line definitions here, move
5400 small out-of-line definitions inline.
5401 * bits/basic_ios.h: From here.
5403 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5404 * bits/std_streambuf.h: From here.
5406 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5408 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5409 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5410 * bits/istream.tcc (operator>>(istream&, string&): Remove
5411 vestigial issspace hacks and use ctype::is instead.
5412 (getline): Remove unnecessary loops, fortify and pasteurize.
5415 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5417 * bits/istream.tcc (operator>>): Tweak.
5418 * bits/std_istream.h: Fix according to library issues list 68.
5421 * bits/locale_facets.h: Fix table_size to be non-zero.
5423 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5425 * src/basic_file.cc: ifdef instead of comment for binary mode
5427 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5429 * bits/std_sstream.h: Stringbuf initialization based on actual,
5430 not allocated, size.
5431 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5434 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5436 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5437 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5439 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5441 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5443 * bits/std_istream.h: Tweaks.
5444 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5445 as per issues list addition--set failbit, eof on empty buffers.
5446 * testsuite/27_io/istream_sentry.cc: New file.
5448 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5450 * bits/std_cstdio.h: Remove Solaris hacks.
5452 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5454 * docs/index.html: Fix minor typos and tweaks.
5455 * docs/17_intro/contribute.html: Ditto.
5456 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5457 thread safety and binary I/O, links to external sites.
5458 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5461 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5463 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5464 ::fabs(double) rather than ::abs(int).
5466 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5468 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5469 *gptr(), not the result of underflow.
5470 (pbackfail): Conform to default behavior.
5472 * bits/streambuf.tcc: Add out-of-line streambuf members.
5475 * testsuite/27_io/streambuf.cc: New file.
5476 * testsuite/27_io/filebuf.cc: Correct test.
5478 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5480 * bits/std_cmath.h: Correctly cast int to double.
5481 * testsuite/26_numerics/c_math.cc: Add test.
5483 * mknumeric_limits (OUT_C): Tweaks.
5484 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5485 trying to instantiate type_traits<wchar_t>.
5486 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5487 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5488 * configure: Regenerate.
5490 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5492 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5493 (streambuf::xsputn): Put in break.
5494 Aiming for parity between these two (mostly) similar functions.
5495 Need to re-write tests.
5497 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5498 Make data members protected, not private.
5499 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5500 ios_base.h. As called only once, collapse into . . .
5501 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5502 (basic_ios::clear): Throw ios_base::failure on occasion.
5503 (basic_ios::exceptions): Fix.
5504 * testsuite/27_io/ios_members.cc (test02): Add tests.
5506 * bits/fpos.h: Default initialize.
5507 * testsuite/27_io/fpos.cc (test03): Add test.
5509 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5511 * src/basic_file.cc: Fix open modes.
5513 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5515 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5517 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5519 * bits/streambuf.tcc: Yea. Fix this for real.
5520 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5521 * src/Makefile.*: Regenerate.
5523 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5525 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5526 files so that stdtof and strtold will be declared. Some hacks
5527 already exits in bits/std_cctype.h -- these should all be removed
5529 * bits/locale_facets.tcc: Add cstring.h include.
5530 _S_format_long: Use long, not int.
5531 Add std_limits.h include, for numeric_limits.
5532 * testsuite/27_io/istream.cc: Make instantiations work when using
5534 * testsuite/27_io/ostream.cc: Same.
5536 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5538 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5539 a reference. Same for operators == and !=.
5540 * testsuite/27_io/fpos.cc: Add tests.
5542 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5544 * bits/valarray_array.h: Fix typo.
5546 * mknumeric_limits: Make sure we are regenerating things from
5547 scratch. Otherwise things get redefined. Not good.
5549 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5551 * bits/std_ostream.h: Fix typo.
5552 * bits/std_istream.h: Same.
5553 * bits/std_iomanip.h: Same.
5555 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5556 ostream, as happens with underflow anyway.
5557 * testsuite/27_io/istream.cc (main): New file.
5558 * testsuite/27_io/ostream.cc (main): New file.
5559 * testsuite/27_io/istream_unformatted.cc: Add tests.
5561 * src/Makefile.am (headers): Add new file.
5562 * src/Makefile.in (headers): Regenerated.
5564 * bits/basic_ios.h: Remove local-related files.
5565 * bits/basic_ios.tcc: New file, add locale-related items.
5566 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5567 * testsuite/27_io/ios_members_static.cc: Change to
5568 * testsuite/27_io/ios_base_members_static.cc: This.
5569 * testsuite/27_io/ios_members.cc: New file.
5570 * testsuite/27_io/stdios_basefield_manip: Change to
5571 * testsuite/27_io/ios_manip_basefield.cc: This.
5572 * testsuite/27_io/stdios_fmtflags_manip: Change to
5573 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5575 * bits/fpos.h: Fix discarding qualifiers on this when
5576 using _M_position with a const fpos.
5577 * bits/std_iosfwd.h: Tweak.
5578 * testsuite/27_io/fpos.cc: New file.
5580 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5582 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5583 * bits/ostream.tcc: Tweak.
5584 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5585 Add new regressions.
5587 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5589 * bits/basic_ios.h: Inline, tweak.
5590 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5591 pass back accurate return value to basic_filebuf::overflow.
5592 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5593 This fixes sstream problems reported in libstdc++/9, but screws up
5594 filebufs. That solution is pending.
5596 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5598 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5600 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5602 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5604 * bits/c++config.h.in: Add emacs hints.
5606 * stl/bits/stl_range_errors.h: Don't define here, for now define
5607 in stdexcept.cc along with string inlines __length_error, etc.
5608 * src/stdexcept.cc: Define here.
5609 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5610 at(size_t) will be declared/defined.
5611 (__STL_THREADS): Fix mess surrounding use of this, enable.
5613 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5615 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5616 * src/localename.cc: Tweak formatting, fix assignment to
5617 const compiler errors.
5619 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5621 * acconfig.h: Add absf, cosf.
5622 * configure.in (use_builtin_sinf): Same.
5623 * configure: Regenerate.
5624 * bits/std_cmath.h: Add mess of defines.
5625 * testsuite/26_numerics/modf_float.cc: Change to
5626 * testsuite/26_numerics/c_math.cc: This.
5628 * src/locale.cc: Change.
5629 * bits/locale_facets.h: Fix.
5630 * testsuite/22_locale/ctype.cc: Add temporary tests.
5632 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5634 * bits/fpos.h: Test.
5636 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5637 Fix database name for "libstdc++".
5639 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5641 * mknumeric_limits (numeric_limits): Add default definitions to
5643 * testsuite/18_support/numeric_limits.cc: New file.
5645 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5647 * bits/std_istream.h: Correct initialization.
5648 * bits/std_ostream.h: Likewise.
5649 * bits/std_sstream.h: Likewise.
5650 * bits/std_fstream.h: Likewise.
5651 * testsuite/27_io/stringstream.cc: Add test case.
5653 * bits/std_sstream.h: Replace ____string_type with __string_type.
5654 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5655 * bits/std_ostream.h: Tweak dtor.
5657 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5659 * src/Makefile.am (CXXFLAGS): Add -O2.
5660 * src/Makefile.in: Likewise.
5662 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5664 * mknumeric_limits (numeric_limits): Uglify.
5666 * bits/std_istream.h: Fix warnings.
5667 * bits/locale_facets.tcc: Collateral damage from
5668 char_traits<char>::int_type change.
5670 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5672 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5674 * docs/index.html: Add mailing list form.
5675 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5677 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5679 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5680 if overflow successfully allocates more space.
5681 * bits/std_sstream.h: Adjust comments.
5682 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5683 before overflow forces a resize.
5684 * testsuite/27_io/ostream_inserter_char.cc: New file.
5686 * bits/std_fstream.h: Remove declaration.
5687 * bits/fstream.tcc: Move uflow.
5688 * bits/std_streambuf.h: To here.
5689 * bits/streambuf.tcc: Make consistent.
5691 * src/Makefile.am (WERROR): Enable.
5692 * src/Makefile.in: Regenerate.
5693 * bits/sbuf_iter.h: Tweak.
5694 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5695 Use unsigned int as char_traits<char>::int_type.
5697 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5698 * testsuite/27_io/iostream_objects.cc: Terminate string.
5699 Move cin::operator>>(char*) test to extractor_char.cc.
5700 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5701 * bits/std_istream.h (basic_iostream): Make explicit definition
5703 * bits/std_sstream.h: Fix typos.
5704 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5705 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5706 initialized in a consistent manner, no matter if the underlying
5707 FILE/bit bucket is a tty or a text file or some other imaginary
5708 construct. This and setting _M_buf_size to 1 for cin allows
5709 istream::get(char) to work in a manner consistent with what others
5712 * docs/index.html: Link Stroustrup's C++ page.
5714 1999-08-12 Michael Cook <cook@sightpath.com>
5716 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5717 * bits/istream.tcc: ditto.
5718 * bits/sbuf_iter.h: ditto.
5719 * bits/std_istream.h: ditto.
5720 * src/Makefile.am: Add -Wall to CXXFLAGS.
5721 * src/Makefile.in: ditto.
5723 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5724 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5726 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5727 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5729 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5731 * testsuite/27_io/istream_unformatted.cc: New file.
5733 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5734 elaborate tests for int types with noskipws.
5736 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5737 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5738 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5739 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5740 * bits/istream.tcc: Fix operator>>(streambuf*).
5742 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5744 * docs/index.html: Remove references to egcs.
5745 * docs/17_intro/DESIGN: Same.
5746 * docs/17_intro/contribute.html: Same.
5747 * docs/17_intro/RELEASE-NOTES: Ditto.
5748 * docs/17_intro/howto.html: Same here.
5750 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5751 * stl/bits/stl_vector.h (_M_insert_aux):
5752 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5753 decimal/floating point support.
5754 * bits/locale_facets.h: Change _M_extract prototype.
5755 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5756 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5758 1999-08-10 Michael Cook <cook@sightpath.com>
5760 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5761 * bits/ios_base.h: ditto.
5762 * bits/istream.tcc: ditto.
5763 * bits/locale_facets.h: ditto.
5764 * bits/locale_facets.tcc: ditto.
5765 * bits/std_streambuf.h: ditto.
5766 * src/basic_file.cc: ditto.
5767 * src/locale.cc: ditto.
5768 * src/localename.cc: ditto.
5770 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5772 * bits/std_iomanip.h: Inline.
5774 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5776 * bits/std_streambuf.h: Correct member initialization order.
5777 * src/ios.cc: Add definitions for ios_base data members.
5779 1999-08-06 Phil Edwards <pedwards@ball.com>
5781 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5782 * docs/faq/index.html: Ditto. Removed bugs sections that have
5783 been fixed for a long time... Lots of "egcs" references still
5785 * docs/faq/index.txt: Regenerated.
5787 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5788 Andreas Amann <amann@physik.tu-berlin.de>
5790 * testsuite/26_numerics/binary_closure.cc (main): new test.
5792 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5794 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5797 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5799 * docs/index.html (host): Put in testing status.
5801 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5803 * docs/index.html: Update for libstdc++-2.90.6 release.
5804 * docs/17_intro/RELEASE-NOTES (New): Update.
5805 * docs/17_intro/BUGS: Update.
5806 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5807 * README (file): Update.
5809 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5811 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5813 ($(generated_headers)): Same.
5814 * src/gen-c++config.cc: Remove, rename to
5815 * bits/c++config.h.in: New file. Bump version number.
5816 * configure.in: Generate bits/c++config.h at configure time.
5817 * math/mathconf.h: include bits/c++config.h, not config.h.
5819 * bits/std_cmath.h: Fix remaining link error for solaris shared
5820 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5821 being, as on Solaris this silently calls sinf, which does not
5824 * src/complex.cc: More tweaks.
5826 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5828 * src/complex.cc: Same.
5829 * math/complex-stub.h: Change.
5830 * math/c_log10*.c: Change back to clog10*.c.
5832 * configure.in (NEED_C_LOG10): Delete.
5833 * configure: Regenerate.
5834 * math/Makefile.am: Change.
5836 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5838 * math/Makefile.am: Fix, for real.
5839 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5840 * math/clog.c: Move to c_log.c.
5841 * math/clog*: Ditto.
5842 * math/c_log10l.c (c_log10l): Change function name.
5843 * math/c_log10f.c (c_log10f): Change function name.
5844 * math/c_log10.c (c_log10): Change function name.
5846 * math/complex-stub.h: Change to c_log* variants.
5847 * src/complex.cc: And here.
5849 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5851 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5852 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5853 sequence, just the output sequence.
5854 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5855 the original string, all others use complicated heuristic.
5857 * src/complex.cc: Assume c_log10.
5858 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5859 symbols in shared libraries by making c_log/c_log10 part of the
5860 "must cmpile" sources. This may not work on solaris, must check.
5862 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5864 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5865 * bits/std_istream.h: Fix char extractors.
5866 * testsuite/27_io/istream_extractor_char.cc: Change.
5867 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5869 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5871 * bits/std_cctype.h: Fix for solaris2.6 builds.
5873 * bits/istream.tcc: Fix, thanks Alfred.
5874 * bits/std_istream.h: Formatting changes.
5876 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5877 _IO_cleanup will not be undefined.
5878 * libio/*: Regenerate.
5880 * bits/basic_string.h: More namespace-safety stuff.
5881 * testsuite/27_io/istream_extractor_char.cc: Fix.
5882 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5883 * testsuite/27_io/iostream_objects.cc: Fix.
5884 * testsuite/27_io/ios_ctor.cc: Fix.
5885 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5886 * testsuite/27_io/istream_extractor_other.cc: New file.
5888 * mkcheck (TESTS_FILE): Tweaks.
5890 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5892 * src/gen-c++config.cc: Note here, change version.
5893 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5894 * src/locale.cc: Used here.
5895 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5897 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5899 * bits/istream.tcc: Fix.
5900 * bits/std_istream.h: More changes to extractors.
5902 * testsuite/27_io/istream_extractor_char.cc: More.
5903 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5904 error in testsuite construction.
5906 * bits/std_istream.h: Partially revert.
5907 * bits/std_ostream.h: Same.
5908 * bits/std_sstream.h: Revert.
5910 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5912 * bits/std_sstream.h: Change initialization.
5913 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5914 * bits/std_istream.h: Same, also correct sentry args.
5915 * bits/istream.tcc: Add correct sentry args.
5917 * testsuite/27_io/istream_extractor_char.cc: New file.
5918 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5919 name changes making me dizzy.
5921 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5922 Benjamin Kosnik <bkoz@cygnus.com>
5924 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5927 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5929 * bits/std_complex.h: Tweak. Make the primary template class
5930 complex work with user-defined numerical types. Provide member
5931 definitions. Restructure.
5932 (class complex<float>): Uglify. Remove __value(). Rename __val
5933 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5934 private. Remove dependency on __value(). Fix various explicit
5935 specialization syntax. Declare a some functions friend. Now the
5936 implementation is nearly comforming.
5937 (class complex<double>): Likewise.
5938 (class complex<long double>): Likewise.
5940 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5941 (sin, sinh, tan, than): Fix call to corresponding C9x function
5944 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5946 * bits/istream.tcc (ws): Fix error with failbit being set.
5948 Disabled due to egcs/gcc-2_95 internal compiler errors.
5949 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5950 -fnew-exceptions. Compiling with namespaces enabled will now be
5952 * mkcheck (CXX_FLAG): Same.
5953 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5954 * bits/std_cctype.h: Not enough to just define in namespace std if
5955 ctype-isms are macros. Need to also define in namespace std:: if
5956 the C functions are just plain functions.
5958 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5960 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5962 * docs/18_support/howto.html: Start documentation. Need to keep
5963 track of the ongoing discussion in th LWG reflector.
5965 * src/gen-num-limits.cc: Tweak.
5966 (class predicate): New class.
5967 (class value): Likewise.
5968 Make the whole machinery more flexible. Add comments.
5970 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5972 * bits/ios_base.h: Move state/exception functions into basic_ios.
5973 * bits/basic_ios.h: Same.
5974 * src/ios.cc: And here. Callbacks don't attempt to reset
5977 * bits/std_streambuf.h: Separate ios and streambuf locale data
5978 members and cached facets. Using this convention: _M_locale_buf for
5979 the streambuf-related classes, and _M_locale_ios for the ios
5981 * bits/fstream.tcc: And here.
5982 * bits/basic_ios.h: And here. Also, add cached ctype.
5983 * src/ios.cc: Ditto.
5984 * bits/ios_base.h: Ditto.
5985 * bits/std_istream.h: Use cached ctype facet.
5986 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5989 * testsuite/27_io/ios_ctor.cc: New file.
5990 * src/ios.cc: Move _M_state init to basic_ios::init().
5991 * bits/basic_ios.h: To here.
5993 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5994 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5995 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5996 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5997 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5999 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6001 * src/ios.cc: Tweak initializations of standard iostream
6002 objects to closely match the standard. Tie cin/wcin, set flags on
6004 * bits/char_traits.h: Change from size_t to int_type, as per
6005 standard. As per wide streams.
6006 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6007 for caching a bunch of ctype info. For instance, ctype_base::space
6008 info needs to be stored somewhere, somehow.
6009 * bits/std_istream.h: Also here.
6010 * bits/std_ostream.h: Ditto.
6011 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6012 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6015 * bits/istream.tcc (ws): Fix.
6016 * testsuite/27_io/istream_manip.cc: New file, test ws.
6017 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6019 * bits/basic_string.h: Provide a specialized member function for
6020 _S_find<char> using strchr.
6021 * src/string-inst.cc: Put specializations here.
6022 * bits/string.tcc: Small fix for find, remove typo.
6023 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6026 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6028 * bits/basic_ios.h: Put into basic_ios namespace.
6031 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6033 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6034 adjust _M_*_cur pointers inside the function, so callee doesn't
6036 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6038 * mkcheck: Tweak. Add execution time field, even though it is not
6039 implemented yet. Simplify pass/fail status notation.
6041 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6043 * configure.in: Check for float.h and underscored version of
6045 * acconfig.h: Add @BOTTOM@ section for handling underscored
6047 * configure: Regenerate.
6048 * config.h.in: Regenerate.
6049 * math/mathconf.h (float.h): Include conditionally.
6050 (M_PI): Define conditionally.
6051 (INFINITE_P): Define for Mingw.
6052 * bits/locale_facets.tcc: Workaround for compiler crash on
6054 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6055 * src/locale.cc (bits/std_istream.h): Include.
6056 (bits/std_ostream.h): Likewise.
6058 1999-07-18 Phil Edwards <pedwards@ball.com>
6060 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6061 * docs/faq/index.txt: Regenerated.
6063 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6065 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6067 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6068 newly-allocated buffer.
6069 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6070 overflow condition bits.
6072 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6074 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6075 _M_buf_size to initial _M_string.size(), even though for
6076 ostringstreams it is pretty pointless. It's necessary for
6078 (stringbuf::str()): Adjust.
6079 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6080 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6081 overflow's possible success.
6082 (streambuf::xsputn): Adjust.
6084 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6086 * testsuite/27_io/stringbuf.cc: Tweak.
6087 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6089 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6090 with other constructor tests to. . .
6091 * testsuite/23_containers/vector_ctor.cc: New file.
6093 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6095 * testsuite/*: Changes to make the testsuit compilable with
6096 -fhonor-std. Contains direct qualification of library names with
6099 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6101 * bits/streambuf.tcc: Tweaks.
6102 (streambuf::xsputn): Optimize, fix for sstreams.
6103 (streambuf::xsgetn): Same.
6104 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6105 correctly, handle overflow/reallocate conditions correctly.
6106 * bits/std_sstream.h: Fix typo.
6107 _M_init_stringbuf(): Fix _M_buf_size initialization.
6108 (stringbuf::str()): Construct return string if output has occurred.
6110 * bits/basic_string.h: Fix typo from yesterday's patch.
6112 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6114 * bits/string.tcc: _M_mutate - clear _M_state again.
6115 * bits/basic_string.h: In the three functions that return
6116 an iterator set _M_state to -1 before return.
6117 Also optimized two cases of operator+.
6119 1999-07-12 Phil Edwards <pedwards@ball.com>
6121 * docs/index.html: Expand egcs-1.1.2 notes/links.
6122 * docs/faq/index.html: And here. Add links to LWG issues-list.
6123 * docs/faq/index.txt: Regenerate. (lynx rocks)
6124 * docs/21_strings/howto.html: Fix notes on case conversion.
6125 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6126 * docs/23_containers/howto.html: Stub for bitmasks.
6127 * docs/27_io/howto.html: Add section on buffering, stub binary.
6129 1999-07-12 Nathan Myers <ncm@cantrip.org>
6131 * stl/bits/stl_tree.h (__black_count): Optimize.
6133 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6135 * src/basic_file.cc: Cleanup in __basic_file destructor.
6137 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6139 * bits/std_streambuf.h: Changes. . .
6140 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6141 basic_streambuf, to be used for both filebufs and streambufs.
6142 * bits/std_fstream.h (_M_init_filebuf): New function.
6143 Take out specialized xsputn, put into basic_streambuf.
6144 * bits/fstream.tcc: Define, call from both ctors.
6145 * bits/std_sstream.h (_M_init_stringbuf): New function.
6146 * bits/sstream.tcc: Tweak.
6148 * docs/27_io/iostreams_heirarchy.pdf: New file.
6150 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6151 acceptance. Wooo-hoo!
6153 * bits/char_traits.h: Change int_type for char_traits general
6154 template, so that 21_strings/capacity.cc will compile.
6155 * testsuite/21_strings/capacity.cc: Add operators.
6157 * bits/string.tcc (string::compare): Clean up, re-implement.
6158 * testsuite/21_strings/compare.cc: Tweak.
6160 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6161 _M_state, which means that whenever begin() or end() has been
6162 called, the string is unshareable, period. By doing this, insert
6163 and erase member functions that return iterators can remain
6164 footloose and fancy free.
6165 * testsuite/21_strings/invariants.cc: Update.
6167 * bits/basic_string.h (string::append): Fix self-referential
6168 problems, ie when "this" is also an argument to a member function.
6169 * bits/string.tcc: Tweak, same.
6170 * testsuite/21_strings/append.cc: New file.
6172 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6174 * bits/char_traits.h: Tweaks.
6175 * bits/basic_string.h: Tweak.
6176 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6178 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6180 * bits/std_streambuf.h: Absorb/acquire data members previously
6181 working in basic_filebuf.
6182 * bits/streambuf.tcc: Tweaks.
6183 * bits/fstream.tcc: Adjust.
6184 * bits/std_fstream.h: Move and rename the following functions:
6185 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6186 now declared and defined in the base class, basic_streambuf. Oh
6187 fuck it, move data members _M_buf, and _M_buf_size into
6188 basic_streambuf as well.
6190 * bits/ostream.tcc: Tweak.
6191 * bits/locale_facets.tcc: Fix typo in comments.
6193 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6194 state from good to not good, as eof() is set.
6196 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6198 * bits/char_traits.h (char_traits::compare). Fix.
6200 * config.guess, config.sub: Update.
6202 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6204 * bits/string.tcc: Check the __res_arg for a length error.
6206 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6208 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6209 and related functions into basic_streambuf, from basic_filebuf to
6210 take care of ostringstreams and empty strings. So that's groovy,
6212 * bits/std_istream.h: Tweaks.
6213 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6214 * bits/std_ostream.h: And here.
6215 * bits/ostream.tcc: Same.
6216 * src/misc-inst.cc: Add instantiations for ws.
6218 * src/string-inst.cc: Add instantiations for inserters and
6219 extractors (operators << and >>, getline).
6221 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6222 a testcase for getline and operators << and >>. Ostream tests are
6223 failing right now, but istream tests should work. . .
6225 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6226 * bits/std_sstream.h: Revert.
6228 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6229 istream, ostream, streambuf, fstream, sstream].cc: New files.
6231 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6233 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6236 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6237 specializations for _CharT*, iterator and const_iterator.
6238 * src/string-inst.cc: Remove explicit instantiation, as
6239 now explicitly specialized.
6241 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6242 a default value set to 0.
6243 * bits/string.tcc: In _M_clone by the call of _S_create add the
6244 value of the new parameter to _M_length. In reserve check
6245 _M_state and use _M_clone instead of _M_mutate.
6247 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6249 * bits/basic_string.h: Fix _S_max_size.
6250 * bits/string.tcc: Add def here.
6251 * testsuite/21_strings/insert.cc: Fix.
6253 * bits/sbuf_iter.h: Remove detritus.
6254 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6256 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6257 to resolve alpha-osf4 build problems.
6259 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6261 * bits/string.tcc: Fix signed/unsigned issues in compares.
6262 * stl/bits/stl_deque.h: And here.
6263 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6265 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6267 * bits/string.tcc: New implementation and interface of _M_mutate.
6268 Adapt the change in all functions that call _M_mutate.
6269 * bits/basic_string.h: And here.
6271 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6273 * testsuite/21_strings/capacity.cc (test01): Fix.
6275 1999-06-29 Phil Edwards <pedwards@ball.com>
6277 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6279 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6281 * stl/bits/stl_vector.h: Fix.
6282 * testsuite/23_containers/vector_cons.cc: Add.
6284 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6286 * mknumeric_limits (LDFLAGS): fix.
6288 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6290 * mknumeric_limits (LDFLAGS): set it according to the system.
6292 * math/mathconf.h (NAN): Check whether host is running under
6293 Cygwin and make the appropriate definition.
6294 * math/complex-stub.h (nan): protect declaration.
6296 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6298 * bits/sbuf_iter.h: Rename internal data structure to prevent
6299 confusion between basic_ios and istreambuf_iterators internal
6300 basic_streambuf data member.
6301 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6303 * bits/basic_string.h: Remove conditionals, add input_iterator
6304 version of S_construct again.
6305 * bits/string.tcc: Same.
6306 * src/string-inst.cc: And add explicit instantiation here.
6308 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6309 and __USE_GNU macro defines, as single __USE_GNU use leading to
6310 confusion on glibc2.1 systems (ie, RedHat 6.0).
6312 * src/Makefile.am (headers): Add std_utility to installed headers.
6314 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6316 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6318 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6320 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6322 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6324 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6325 macros to include _GLIBCPP as a distinct namespace.
6329 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6330 * bits/basic_string.h: Remove __get_c_string.
6331 * src/stdexcept.cc: Define ctor here.
6332 * bits/ios_base.h: And fix ios_base::failure as well.
6333 * src/ios.cc: Define here.
6335 * bits/std_streambuf.h: Add a private copy ctor and assignment
6336 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6337 * bits/ios_base.h: And here too.
6339 * bits/basic_string.h: Tweak.
6340 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6342 * src/valarray.cc: Rename to. . .
6343 * src/valarray-inst.cc: This.
6344 * src/Makefile.am (sources): Change here.
6345 * src/Makefile.in: Regenerated.
6347 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6349 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6352 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6353 Tom Tromey <tromey@cygnus.com>
6355 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6356 Use AM_CONDITIONAL to get us out of this jam. .
6357 * libio/Makefile.am: Same.
6358 * */Makefile: Regenerated.
6360 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6361 John Potter <jpotter@eagle.lhup.edu>
6363 * stl/bits/stl_tree.h (insert_equal): Fix.
6364 * testsuite/23_containers/multiset.cc: New file.
6366 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6368 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6369 this works correctly on glibc-2 systems. This should allow
6370 simplified linking on these systems, and successful linking on Red
6372 * configure, Makefile: Regenerate.
6374 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6376 * testsuite/ext: New directory.
6377 * testsuite/ext/headers.cc: New file.
6379 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6381 * stl/ext/hash_set: include missing headers
6382 * stl/ext/hash_map: Same
6383 * stl/ext/slist: Same
6385 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6387 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6389 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6391 * src/Makefile.am (sources): Regenerate.
6392 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6395 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6397 * src/string-inst.cc: Change _S_construct signature, to
6398 track requested allocation size versus valid input iterator range.
6399 * bits/basic_string.h: Here too.
6400 * bits/string.tcc: And here.
6402 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6404 * mkcheck (LOG_FILE): Correctly append errors.
6406 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6408 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6409 to clarify differences between basic_string::_M_data() calls and
6410 _Rep::_M_data() calls.
6411 * bits/std_string.h: Fix.
6412 Put in check for out_of_range in substr.
6413 * bits/string.tcc: Fix for _S_find.
6415 * testsuite/21_strings/compare.cc: Add tests.
6416 * testsuite/21_strings/find.cc: New file.
6417 * testsuite/21_strings/substr: New file.
6418 * testsuite/21_strings/replace.cc: New file.
6420 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6422 * bits/valarray_array.h: __restrict__ify pointers.
6424 * bits/std_valarray.h: Tweak.
6425 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6427 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6429 * bits/gslice.h: Tweak.
6430 (class gslice::_Indexer): new class.
6431 (gslice::gslice(const gslice&)): implement copy-ctor to support
6433 (gslice::operator=(const gslice&)): support ref-counted index.
6434 (gslice::_M_convert_to_index): delete.
6436 * src/valarray.cc: New file.
6437 (__gslice_to_index): turn a gslice into a valarray<size_t>
6438 (ctor gslice::_Indexer::_Indexer): implement.
6440 * src/Makefile.am (sources): add valarray.cc
6441 * src/Makefile.in: regenerate.
6443 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6445 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6446 ctor): Put in a const_cast.
6448 * testsuite/21_strings/invariants.cc: New file.
6450 * testsuite/21_strings/insert.cc: Add exception handling bits.
6451 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6453 * src/wstring-inst.cc: Add c++config.h include.
6455 * bits/basic_string.h: Fix const operator[] for size == pos.
6456 Add _M_leak for rbegin, non-const.
6457 Add _M_leak for rend, non-const.
6458 Make member function at standards conformant.
6459 Add _S_terminal to _Rep for operator[] const, add this into
6461 * bits/string.tcc: Add static member definition here,
6464 * testsuite/21_strings/element_access.cc: Add tests.
6466 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6468 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6471 1999-06-08 Phil Edwards <pedwards@ball.com>
6473 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6474 caused when __testinit is true.
6475 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6476 using rdbuf()->sputn rather than _M_fnumput->put.
6478 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6480 * testsuite/23_containers/bitset_ctor.cc: New file.
6481 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6483 1999-06-08 Phil Edwards <pedwards@ball.com>
6485 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6487 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6489 * testsuite/21_strings/element_access.cc: Finish off these tests.
6490 * testsuite/21_strings/insert.cc (test01): Uncomment.
6491 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6492 * bits/basic_string.h: Tweak, okay, fix for real this time.
6493 * bits/string.tcc: Same.
6494 * bits/char_traits.h: Tweak.
6496 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6498 * bits/std_cmath.h: Example of how to use the generated macro.
6499 * acconfig.h: Add macro for sinf here.
6500 * configure.in (LIBS): Add test for builtin math function sinf.
6501 * configure: Regenerated.
6503 * bits/basic_string.h: Fix _S_max_size.
6505 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6507 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6508 Remove _S_construct signature for forward_iterator_tag and
6511 * src/string-inst.cc: Same, tweaks.
6512 * bits/string.tcc: Same, tweaks.
6514 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6515 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6516 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6519 * src/locale.cc: Final separation for char/wchar_t bits.
6521 1999-06-05 Phil Edwards <pedwards@ball.com>
6523 * docs/index.html: Added link to book upon request'n'agreement.
6524 * docs/23_containers/wrappers_h.txt: Added.
6525 * docs/{23_containers,27_io}/howto.html: Added sections.
6527 * bits/std_fstream.h: Tweak.
6529 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6531 * src/ios.cc: Same here.
6532 * bits/std_iosfwd.h: More wchar_t defines.
6534 * bits/basic_string.h: Tweaks.
6535 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6536 when doing error checking, as per LWG defect #83.
6538 * src/gen-c++config.cc: Fix comment.
6540 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6542 * testsuite/21_strings/element_access.cc: New file, checks for
6543 operator[], at(...).
6544 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6545 * testsuite/21_strings/char_traits.cc: New file, tests
6546 for char_traits<char>.
6548 * bits/utility.h: Remove, again.
6549 * src/Makefile.am (std_headers): Remove utility.h.
6550 * src/Makefile.in (std_headers): Regenerate.
6552 Alfred Minarik <a8601248@unet.univie.ac.at>
6553 * bits/basic_string.h: Move __out_of_range and __length_error into
6556 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6558 * testsuite/26_numerics/modf_float.cc: New file.
6560 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6561 typo: use ::modff, not ::modf.
6563 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6565 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6567 * testsuite/21_strings/capacity.cc (test01): Test.
6569 1999-06-03 Phil Edwards <pedwards@ball.com>
6571 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6572 unused variables to within #if 0 blocks to do the same.
6573 * bits/std_fstream.h: Fix typos (one prevents compilation).
6575 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6577 * src/wstring-inst.cc: Fix.
6579 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6581 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6582 * stl/bits/stl_string_fwd.h: Same.
6583 * bits/locale_facets.h: Same.
6584 * bits/locale_facets.tcc: Same.
6585 * src/wstring-inst.cc: And here.
6587 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6588 problems on HPUX 10.20.
6589 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6590 here as a temporary hack till the compiler/host problems get
6593 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6594 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6595 converting "long double" to struct long_double. Probably should be
6596 done with one macro (HAVE_STRTOLD) at configure time.
6598 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6599 gives re-declaration under hpux10.20. Revert previous change, as
6600 kills linux/x86, solaris 2.7, hpux builds. These should be done
6601 using autoconf, see std_cctype.h and the solutions started in
6602 configure.in (see config.h for the generated file.)
6604 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6605 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6608 * docs/index.html: Add some useful links.
6609 * docs/17_intro/contribute.html: Fix broken links.
6611 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6613 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6614 paths. The rest of the world should be able to run this script
6617 * src/Makefile.am ($(generated_headers)): Remove comment.
6618 * Makefile*: Regenerate.
6620 * bits/std_locale.h: Remove detritus.
6621 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6624 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6626 * src/gen-c++config.cc: New file. Making c++config.h at configure
6627 time by catting this file (nee bits/config.h) with the build
6628 directories config.h. This is not a complete or perfect solution
6629 but is better than what was in place previously.
6630 * bits/c++config.h: Rename/move to above.
6631 * src/Makefile.am (headers): Remove c++config.h.
6632 (myinstallheaders). Add.
6633 * Makefile*: Regenerated.
6635 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6636 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6637 declared only if not present in the host's wchar.h.
6639 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6641 * bits/std_cmath.h: Define out, for the moment. Linux has no
6642 __buitin_fsqrtl? Probably need some kind of configure trickery
6645 * src/Makefile.*: Regenerate.
6646 * bits/c++config.h: Add config.h include.
6648 * bits/std_cwchar.h: Remove remaining #error guard.
6650 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6652 * configure.in (LIBS): Replace previous effort for mbstate_t and
6653 strtold/strtof with this implementation.
6655 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6657 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6660 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6662 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6663 for determining mbstate_t differences across various hosts not
6666 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6668 * bits/locale_facets.tcc: Change to ifdef.
6670 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6671 * bits/std_fstream.h (filebuf::setbuf): Same.
6673 * bits/std_istream.h: Add ws declaration.
6674 * bits/istream.tcc: Stub out definition.
6676 * docs/index.html: Fix broken link for design.txt.
6678 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6679 then set _G_NEED_MBSTATE_T.
6680 * configure: Regenerate.
6681 * bits/c++config.h: Move mbstate_t define.
6682 * bits/std_cwchar.h: To here.
6684 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6686 * bits/std_sstream.h:
6687 basic_stringbuf<>::basic_stringbuf: fix.
6688 basic_stringbuf<>::setbuf:
6689 remove the temporary __string_type object,
6690 remove the unnecessary dynymic_cast in the return value,
6691 change the type of the returned value from __streambuf_type*
6692 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6694 1999-05-25 Phil Edwards <pedwards@ball.com>
6696 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6698 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6700 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6701 in <math.h>. <cmath> still incomplete and incorrekt.
6703 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6705 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6707 1999-05-23 Phil Edwards <pedwards@ball.com>
6709 * docs/17_intro/howto.html: Added links to text docs,
6711 * docs/21_strings/howto.html: Updated sections and links.
6712 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6713 * docs/faq/index.html: Updated what-works for sixth
6714 snapshot. Also a number of "internal" links have been
6715 fixed, now that the web pages are the docs directory...
6716 * docs/faq/index.txt: Regenerated.
6718 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6720 * bits/basic_string.h: Add Nathan's documentation on the string class.
6722 * testsuite/27_io/ios_members_static.cc: New file, for testing
6723 ios_base::sync_with_stdio.
6725 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6727 * bits/std_locale.h: Simplify includes.
6728 * bits/loccore.h: Delete.
6729 * bits/localefwd.h: Renamed, trimmed.
6730 * bits/locfacets.h: Delete.
6731 * bits/locale_facets.h: Rename, expanded.
6732 * bits/loccore.tcc: Deleted.
6733 * bits/locfacets.tcc: Deleted.
6734 * bits/locale_facets.tcc: Resultant merge.
6735 * bits/std_fstream.h: Modify include.
6736 * bits/ostream.tcc: Same.
6737 * bits/istream.tcc: Same.
6739 * src/locale-inst.cc: And here.
6740 * src/locale.cc: Ditto.
6741 * src/Makefile.am: Updated.
6742 * src/Makefile.in: Rengenerated.
6744 * bits/std_istream.h: Move istream::sentry ctor definition.
6745 * bits/istream.tcc: Move istream::sentry ctor here.
6746 Add more detailed locale include here for ctype member functions.
6747 * bits/ostream.tcc (std): And here.
6749 * bits/sbuf_iter.h: Include std_streambuf.h
6751 * bits/locfacets.h: Start separating this into a localeimp.h file.
6752 * bits/loccore.h: Start separating this into a localefwd.h file.
6753 Add std_climits for CHAR_BIT.
6755 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6757 * bits/char_traits.h: Tweak.
6759 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6761 * bits/std_ostream.h: Remove c++config.h include.
6762 * bits/std_istream.h: Same.
6763 * bits/std_streambuf.h: Same.
6764 * bits/std_fstream.h: Same.
6765 * bits/std_sstream.h: And here.
6767 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6768 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6769 * bits/fpos.h: Tweak, format.
6771 * std/ciso646: New file.
6772 * bits/std_ciso646.h: New file.
6773 * src/Makefile.am (std_headers): Add ciso646.
6774 (headers): Add bits/std_ciso646.h.
6775 * src/Makefile.in: Regenerate.
6776 * testsuite/17_intro/header_ciso646.cc: New file, disable
6779 * bits/fpos.h: Remove libio.h include.
6780 * bits/basic_file.h: And here.
6781 * bits/std_ios.h: Put here.
6783 * src/ios.cc: Simplify includes, tweak.
6784 * bits/std_ios.h: Simplify include order.
6785 * bits/ios_base.h: Modify ios_base::failure.
6787 * stl/bits/std_numeric.h: Change include from stl_iterator to
6790 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6792 * std/iostream: Remove static member __ioint.
6793 * bits/std_iostream.h: Put here.
6795 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6796 * stl/bits/stl_algobase.h: Same.
6797 * testsuite/27_io/iostream_objects.cc: Regression tests.
6798 * testsuite/27_io/hello.cc: Remove, subset of above.
6800 1999-05-19 Phil Edwards <pedwards@ball.com>
6802 * docs/index.html: Tweak, update.
6804 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6806 * docs/17_intro/RELEASE-NOTES: remove outdated
6807 documentation about numeric_limits. Correct CXXINCLUDE setting
6810 1999-05-18 Phil Edwards <pedwards@ball.com>
6812 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6813 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6814 27_io}/howto.html: Created, with some initial entries.
6815 * docs/faq/index.html: Fixed some links.
6816 * docs/faq/index.txt: Regenerated.
6818 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6820 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6822 * docs/17_intro/RELEASE-NOTES: Update.
6823 * docs/index.html: Correct link to mailing list help page, update News.
6824 * docs/faq/index.html: Change fifth to sixth for snapshot.
6826 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6827 install $(top_builddir)/bits/std_limits.h into
6828 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6829 Makefile.am changes.
6830 * *Makefile*: Regenerate using automake.
6832 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6833 * testsuite/27_io/filebuf.cc: Same.
6835 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6837 * docs/17_intro/CHECKLIST: update.
6838 * docs/17_intro/TODO: update.
6840 1999-05-17 Phil Edwards <pedwards@ball.com>
6842 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6843 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6844 27_io}/howto.html: Created, with some initial entries.
6845 * docs/faq/index.html: Fixed some links.
6846 * docs/faq/index.txt: Regenerated.
6848 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6850 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6851 * Makefile.in*: Regenerate.
6853 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6855 * bits/std_streambuf.h: Same.
6857 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6858 * bits/locfacets.h (std): Same.
6859 * bits/sstream.tcc: Same.
6860 * testsuite/27_io/stringstream.cc: Tweak.
6862 * testsuite/27_io/filebuf.cc: Adjust.
6863 * testsuite/21_strings/capacity.cc (test01): Add more
6864 string::reserve tests.
6866 * bits/c++config.h: Remove broken CCTYPE.
6867 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6868 sequestered topper implementation.
6869 * bits/std_cwctype.h: Same.
6871 * bits/missing.h: Remove.
6872 * bits/std_locale.h: Remove missing.h include.
6874 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6876 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6877 INCLUDES: Add top_builddir.
6878 * src/Makefile.in: Regenerate.
6880 * Makefile.am: Add check and check-install as new targets.
6881 * testsuite/make_check_libfree++: Move to. . .
6883 * configure.in: Tweak versions.
6884 * mknumeric_limits: Set paths correctly.
6886 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6888 * src/Makefile.in (myinstallheaders): add rule to install
6891 * bits/slice.h (class slice): don't const-qualify data members
6892 since the copy and assignment operator is implicitly used. The
6893 valarray specification is definitively a bad one.
6895 * Makefile.in (generate-limits-sources): fix typo.
6897 * docs/text/TODO: update.
6898 * docs/text/CHECKLIST: update.
6900 * bits/gslice.h (gslice): fix bugglet.
6901 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6904 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6905 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6906 [Note: **/Makefile.in should be generated from the corresponding
6907 Makefile.am. The current situation is a litte chaotic. ]
6909 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6911 * mknumeric_limits: tweak.
6913 * Makefile.in (all): add target generate-limits-sources.
6914 (generate-limits-sources): make a directory bits/ in top_builddir
6915 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6916 directly under $(top_builddir)/src. Remains to put the appropriate
6917 rule for installing std_limits.h.
6919 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6920 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6921 now generated at build-time in the build directory
6922 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6923 * src/Makefile.am: reflect changes in src/Makefile.in
6925 1999-05-12 Phil Edwards <pedwards@ball.com>
6927 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6928 all but one empty entry. Add links for HOWTOs, but no files yet.
6929 (Corrected HOWTO links are for bkoz's new scheme.)
6930 * docs/faq/index.txt: Regenerated.
6932 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6934 * testsuite/17_intro/headers.cc: New file.
6935 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6936 * bits/std_cwctype.h: New file.
6938 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6940 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6942 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6943 Check __USE_MALLOC before defining specializations containing
6944 __default_alloc_template.
6945 * src/stl-inst.cc: Here too.
6947 * bits/basic_string.h: Change.
6949 * testsuite/make_check_libfree++: More tweaks.
6950 * testsuite/21/capacity.cc: New file.
6952 * src/string.cc: Rename to be consistent with other inst files.
6953 Rename to string-inst.cc.
6954 * src/string*.cc: Change include.
6955 * src/wstring.cc: Rename to wstring-inst.cc.
6956 * src/wstring*.cc: Ditto.
6957 * src/Makefile.in: Also here.
6958 * src/Makefile.am: Ditto.
6960 * src/traits.cc: Remove.
6961 * src/wtraits.cc: Same.
6963 Try a new way of organizing documentation, one with synchronicity
6964 between testsuites and docs subdirectories, and see who yelps.
6965 * docs/html: Remove, use chapter and subject specific directories
6966 instead of forcing things immediately into format of
6970 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6971 directory and sort by filename and extension.
6972 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6973 22_locale, 23_containers, 24_iterators, 25_algorithms,
6974 26_numerics, 27_io: Add.
6975 * docs/17_intro/*: Populate with all the text files. . .
6976 * docs/index.html: Construct.
6978 * testsuite/*: Update with same names as the docs subdir.
6979 * testsuite/results: Where to stash conformance results for the
6980 different snapshots, so that progress/size/speed issues can be
6983 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6985 * src/string.cc: Add _S_copy_chars instantiation, as well as
6986 string::binary operators !=, ==, etc.
6988 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6989 * src/Makefile.in (CXXFLAGS): Same here.
6990 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6992 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6994 * src/string.cc: Add missing member functions to instantiation list.
6996 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6998 * src/misc-inst.cc: Remove unused string instantiations.
7000 * bits/string.tcc: Tweak, fix.
7001 * bits/basic_string.h: Format. Fix reported error with c_str().
7003 * testsuite/make_check_libfree++: Tweak for shared builds.
7004 * testsuite/21/operations.cc: New file for testing c_str() etc.
7006 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7007 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7009 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7010 an iterator class. Delineate pointer versus iterator differences
7012 * 23/vector_capacity.cc: New file, tests for above.
7014 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7016 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7018 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7019 generated by mknumeric_limits to the list. Now std_limits.h is
7021 * src/Makefile.in (generate-numeric-limits): new target to handle
7022 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7023 (all): add target generate-numeric-limits.
7024 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7025 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7027 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7030 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7031 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7032 * bits/locfacts.h: Here.
7034 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7035 Ulrich Drepper <drepper@cygnus.com>
7037 Solaris build issues.
7038 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7041 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7042 float overloads to use the above macros. Account for the lack of
7043 strtold on some systems, and revert back to using sscanf.
7045 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7047 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7048 Use strtoul/strtoull for unsigned types. Check the ranges for
7049 short/unsigned short and if necessary for int/unsigned int.
7051 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7053 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7054 to generate bits/std_limits.h now, as the SGI std_limits.h is
7055 being depricated. Not done, but should be done immediately: need
7056 to make sure this script is run as part of the configuration
7057 process, because without it "make" in a configured build directory
7058 will fail. Also tweaked: added a space for float_round_style, and
7059 used static_cast of zero to default-initialize, which should be ok
7060 according to the standard. (see 8.5 p5 and 20.1.3).
7061 * mknumeric_limits (OUT_C): Need this for x86 long
7064 * bits/basic_file.h: Include libio.h, not libioP.h.
7065 * src/basic_file.cc: And add libioP.h include here, so that
7066 _IO_init, et. al are well-declared.
7068 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7069 headers, not source directory headers.
7071 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7072 for ext/*. Also add basic_file.h.
7073 * src/Makefile.in (headers): Same.
7075 * bits/std_string.h: Reduce dependencies for faster
7076 pre-processing. Move istream and ostream specific defines into
7077 istream.tcc and ostream.tcc respectively.
7078 * bits/string.tcc: And here.
7079 * bits/basic_string.h: Move getline inline out-of-line, and to
7081 * bits/istream.tcc: Move string::getline and operator>> here.
7082 * bits/ostream.tcc: And here too.
7084 * bits/utility.h: Remove, as clashes with a standard header. Put
7085 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7086 being, until this can be combined with SGI's approach.
7087 * bits/string.tcc: Add macros, as above.
7088 * bits/loccore.h: Add _Count_ones defines.
7089 * bits/std_string.h: And here too.
7090 * bits/std_locale.h: And here.
7091 * bits/std_ios.h: Take out include here.
7092 * src/Makefile.am (headers): Remove utility.h
7093 * src/Makefile.in (headers): Remove utility.h
7095 * stl/bits/*: Update to SGI STL 3.20.
7096 * stl/ext/pthread_alloc: Delete this file.
7098 1999-05-04 Phil Edwards <pedwards@ball.com>
7100 * docs/faq/html/index.html: Add more entries
7101 * docs/faq/html/index.txt: regenerated.
7103 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7105 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7107 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7109 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7110 from Ulrich and Nathan. Remove extraneous string class usage,
7111 tweak, clean, simplify and consolidate with a eye towards removing
7112 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7113 Not done: dealing with leading zeros, wchar_t work.
7114 * bits/locfacets.h: And here too.
7118 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7121 * docs/faq/: New directory.
7122 * docs/faq/html/: Likewise.
7123 * docs/faq/text/: Likewise.
7124 * docs/faq/html/index.html: New file.
7125 * docs/faq/html/index.txt: Likewise. Generated from
7126 docs/faq/html/index.html by lynx.
7128 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7129 Ryszard Kabatek and Branko Cibej
7131 * bits/locfacets.tcc: Modify.
7133 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7135 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7136 conformant to 14882, wrap non-standard extensions with
7137 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7138 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7140 * testsuite/27/istringstream_formatted.cc: Add tests.
7142 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7143 commenting, simplify.
7144 * bits/locfacets.tcc: Same.
7146 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7147 * bits/locfacets.tcc (num_get::do_get):
7148 Fix the sscanf format parameter
7149 for long long 'll' (as in C9X) instead of 'l'.
7150 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7151 Change the type of the local variable '__conv' from 'string'
7152 to 'const char*' and adapt the change.
7154 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7156 * bits/locfacets.h: Document _Format_cache, and name data members
7157 after the corresponding functions in numpunct. For instance:
7158 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7159 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7160 * bits/locfacets.tcc: Same.
7162 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7163 stop parsing--store for later analysis.
7164 * testsuite/27/istringstream_formatted.cc: Add cases.
7166 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7168 * bits/valarray_meta.h: tweak.
7169 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7170 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7171 happy -- boggus warning.
7172 * bits/std_valarray.h: Fix.
7173 (valarray<T>::shift): Fix. Update comment.
7174 (valarray<T>::cshift): Fix.
7176 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7178 * testsuite/27filebuf-2.txt: Delete.
7179 * testsuite/27/filebuf.cc: Put output files directly into the
7180 correct subdirectory (27).
7182 Alexandre Petit-Bianco <apbianco@cygnus.com>
7183 * testsuite/make_check_libfree++: Check generated (*.txt) file
7184 against stored results file (*.tst).
7186 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7188 * bits/locfacets.tcc: Fix.
7190 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7191 (filebuf::overflow): Simplify.
7192 (filebuf::xsputn): Correctly handle indeterminate state.
7194 * testsuite/27/istringstream_formatted.cc: Tweak.
7195 * testsuite/27/filebuf.cc: Tweak.
7196 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7197 results file, please use this in the future to guarantee filebuf
7198 positioning accuracy.
7199 * testsuite/27/filebuf-2.tst: Same.
7201 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7203 * bits/fstream.tcc (filebuf::xsputn): Add.
7204 * bits/std_fstream.h: Declare.
7206 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7207 calls using ios_base::trunc.
7209 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7211 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7212 * testsuite/27/27stringstream.cc: Same.
7213 * testsuite/27/27stringbuf.cc: More tweaks.
7214 * testsuite/27/27filebuf-2.txt: Remove.
7216 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7217 BUFSIZE so that overflows/underflow can be tested with default
7219 * testsuite/27/27filebuf-1.tst: Add.
7221 * testsuite/*/*: Remove pre-pended chapter names, as they
7222 duplicate the chapter info contained in the enclosing directory
7225 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7227 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7228 to sputc conditions.
7230 * bits/ios_base.h: Define here.
7231 * src/ios.cc (ios_base::_M_clear): Remove hack.
7232 * bits/basic_ios.h: Fix rdstate().
7234 * bits/sstream.tcc (streambuf::seekoff): Fix.
7235 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7237 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7238 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7239 * testsuite/27/27stringstream.cc: Same.
7240 * testsuite/27/27stringbuf.cc: Same.
7241 * testsuite/27/27istringstream_formatted.cc: Same.
7242 * testsuite/27/27filebuf.cc: Same.
7244 * bits/locfacets.h: Remove specializations for messages<char> and
7245 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7246 * src/locale.cc: Remove definitions for above.
7247 * src/misc-inst.cc: Revert, take out iomanip.h include.
7248 * bits/std_iomanip.h: Tweak, format.
7250 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7252 * bits/loccore.h: Format, move inline.
7253 * bits/locfacets.tcc: Same.
7254 * bits/locfacets.h: Same.
7256 Ulrich Drepper <drepper@cygnus.com>
7257 * aclocal.m4: Re-generate.
7258 * configure, configure.in: Same.
7259 * m4/lc_messages.m4: New file.
7261 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7263 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7264 * bits/sstream.tcc: Tweak.
7266 * std/iostream: Put __ioinit inside macro guards.
7268 * src/stlinst.cc: Delete and move to . . .
7269 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7270 * src/Makefile.in: Change.
7271 * src/Makefile.am: Same.
7272 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7274 * testsuite/make_check_libfree++: Efficiently format for minimal
7275 space. Enforce stricter execution tests by enabling
7278 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7280 * docs/text/RELEASE-NOTES: Fix include typo.
7282 * src/Makefile.am (headers): Add istream.tcc.
7283 * src/Makefile.in (headers): Add istream.tcc.
7285 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7287 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7289 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7290 * bits/locfacets.h (num_get::_M_extract): New functin:
7291 consolidate logic for do_get(...) members.
7293 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7294 * testsuite/27/27istringstream_formatted.cc: Add.
7296 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7298 * src/basic_file.cc (__basic_file::open): Fix thinko in
7299 _G_HAVE_IO_FILE_OPEN bits.
7300 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7301 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7302 * src/complex.cc (FCT): Qualify all functions with global namespace.
7303 * src/locale.cc: Don't qualify memcpy and setlocale.
7304 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7305 (__length_error): Likewise, for length_error.
7306 * src/stlinst.cc: Qualify instantiations with std::.
7308 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7310 * C++STYLE: Add ChangeLog guidelines for member functions.
7313 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7314 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7315 docs/text and made less strident.
7317 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7318 * bits/std_fstream.h: Same.
7321 * bits/locfacets.h: Touch.
7323 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7325 * math/cexp.c (cexp): Use NAN instead of nan("").
7326 Reported by joel reed <joelreed@yahoo.com>.
7328 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7329 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7330 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7331 instead of #if cascades.
7332 * libio/genops.c: Likewise.
7333 * libio/ioseekoff.c: Likewise.
7334 * libio/ioseekpos.c: Likewise.
7335 * libio/strops.c: Likewise.
7336 Patch by Chip Salzenberg <chip@perlsupport.com>.
7338 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7340 * docs: New directory.
7341 * docs/html: Likewise.
7342 * docs/text: Likewise.
7343 * docs/image: Likewise.
7345 * bits/std_cmath.h: Add new functions.
7346 (abs): overload for long and double.
7347 (div): overload for long.
7349 * bits/valarray_array.h: Fix.
7350 * bits/gslice.h: Adjust friend.
7351 * bits/slice_array.h: likewise.
7352 * bits/valarray_meta.h: likewise.
7354 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7356 * bits/locfacets.h: More changes, for num_get for insertion
7357 operators for integral types. Comment fields in _Format_cache.
7358 * bits/locfacets.tcc: And here too: add preliminary long version.
7359 * testsuite/27/27istringstream_formatted.cc: Add cases.
7361 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7363 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7364 AC_LC_MESSAGES macro.
7365 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7366 supports LC_MESSAGES.
7367 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7368 * src/locale.cc (locale::_S_normalize_category): Use the
7369 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7370 _G_NO_CLOCALE_HAS_MESSAGES.
7371 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7372 '?:' from '?:\\' so any path beginning with a drive name matches.
7374 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7376 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7378 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7380 * bits/locfacets.h: Tweak.
7381 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7383 * testsuite/21/21nonmember.cc: Same.
7384 * testsuite/21/21compare.cc: Fix license.
7385 * testsuite/27/27istringstream_formatted.cc: New file.
7387 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7389 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7390 _BinBase2: new template classes; put in there to work around a
7391 compiler limitation. The whole valarray architecture is now
7394 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7396 * bits/locfacets.tcc: Fix, format.
7397 * bits/locfacets.h: Fix.
7398 * src/locale.cc: Same, plus format.
7400 * bits/basic_string.h: Re-add definition here.
7401 * src/string.cc: Take out.
7403 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7405 * bits/std_valarray.h: tweak.
7406 * bits/valarray_array.h tweak. use _Expr.
7407 * bits/slice_array.h: likewise.
7408 * bits/gslice_array.h: likewise.
7409 * bits/mask_array.h: likewise.
7410 * bits/indirect_array.h: likewise.
7411 * bits/valarray_meta.h: tweak.
7412 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7413 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7414 _IClos: new template classes.
7415 _Meta: renamed to _Expr. Made template with args.
7416 _Constant: made template with two args.
7418 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7420 * bits/valarray_array.h: tweak.
7422 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7424 * bits/basic_string.h: Whoops--fix blip.
7426 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7428 Update to SGI STL 3.13
7429 * bits/basic_string.h: Add __get_c_string definition.
7430 * stl/bits/stl_range_errors.h: New file.
7431 * stl/bits/std_bvector.h: Same.
7432 * stl/bits/*: Update.
7434 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7436 * bits/slice_array.h: tweak.
7437 * bits/gslice_array.h: tweak.
7438 * bits/mask_array.h: tweak.
7439 * bits/indirect_array.h: tweak.
7440 * bits/valarray_array.h: tweak.
7441 (__valarray_copy): replace copy with memcpy.
7442 * bits/std_valarray.h: use __valarray_copy whenever possible.
7443 use __valarray_fill instead of fill.
7445 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7447 * src/gen-num-limits.cc: new file
7448 * mknumeric_limits: Ditto.
7450 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7452 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7454 * bits/locfacets.h: Add num_get::get methods overloaded for int
7455 and short, to resolve ambiguous overloads in istream insertion
7458 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7460 * bits/std_istream.h: Fix.
7461 * bits/istream.tcc: Fix.
7463 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7465 * testsuite/24/24iterator.cc: fix ++/-- tests
7467 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7469 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7470 * bits/ostream.tcc: Same.
7472 * bits/std_istream.h: Bring over ostream changes, implement member
7473 functions. Baseline.
7474 * bits/istream.tcc: New file.
7476 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7478 * bits/gslice.h (class gslice): fix friends template.
7480 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7482 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7484 * bits/ostream.tcc: Same.
7486 * bits/std_istream.h: Minor tweaks.
7488 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7490 * src/locale-inst.cc: Remove duplicate instantiations.
7491 * bits/locfacets.tcc: Tweak definitions of static member.
7493 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7495 * bits/std_fstream.h: Format: prepend "__" in front of
7496 non-standard typedefs.
7497 * bits/fstream.tcc: Match.
7498 * bits/std_streambuf.h: Format: prepend "__" in front of
7499 non-standard typedefs.
7501 * bits/sstream.tcc: Match.
7502 * bits/std_istream.h: Format.
7503 * src/locale-inst.cc: Add num_get instantiations.
7505 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7506 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7507 _M_streambuf instead. Make initializations sane. Fix
7508 allocation/deallocation of _M_streambuf.
7509 * bits/std_ostream.h: Fix initialization code.
7510 (ctor): Eliminate redundant this->init(), let base class initialize.
7511 (default ctor): New. Assume base classes already initialzed.
7512 * bits/std_istream.h: Parallel work to ostream.
7513 (ctor): Eliminate redundant this->init(), let base class initialize.
7514 (default ctor): New. Assume base classes already initialzed.
7515 Fix initialization of basic_iostream.
7517 * bits/std_fstream.h: While we're at it, make initializations sane
7518 here too. Now matches sstream.h.
7520 * bits/string.tcc: Fix crash in basic_string::compare.
7521 * bits/basic_string.h: And here.
7522 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7524 * testsuite/make_check_libfree++: Check shared as well.
7525 * testsuite/27/27stringstream.cc: Add bits.
7526 * testsuite/27/27boolfmt.cc: Add bits.
7527 * testsuite/27/27octfmt.cc: Add bits.
7529 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7531 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7533 * bits/locfacets.h: Fix errors that cause build problems
7534 with current egcs (template parameters have class scope).
7535 * bits/locfacets.tcc: Same.
7536 * src/locale-inst.cc: Same, clean.
7537 * src/misc-inst.cc: Same, clean.
7539 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7541 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7542 standard. Re-apply this previous patch.
7544 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7546 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7547 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7548 * bits/string.tcc: Ditto.
7549 * src/misc-inst.cc: Ditto.
7550 * src/locale-inst.cc: Ditto.
7551 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7552 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7553 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7556 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7558 * bits/locfacets.tcc: Remove macro hack.
7559 * bits/locfacets.h: Tweaks.
7560 * src/misc-inst.cc: Weed out locale-related instantiations.
7561 * src/locale-inst.cc: Same.
7563 * RELEASE-NOTES: Make more changes.
7564 * bits/c++config.h: Bump version number.
7566 * testsuite/make_check_libfree++: Collect diagnostics.
7568 * bits/std_ostream.h: Fix ostream initialization/destruction
7569 problem, related to dtor cleanup and new cached facets, agggggggh.
7570 * bits/ostream.tcc: Tweak.
7571 * bits/locfacets.h: Remove all friends of iostream classes.
7572 * bits/ios_base.h: Same.
7573 * bits/streambuf.tcc: Tweak.
7574 * bits/std_streambuf.h: Tweak.
7575 * bits/std_fstream.h: Tweak.
7576 * bits/fstream.tcc: Tweak.
7577 * src/stdstreams.cc: Tweak.
7578 * src/ios.cc: Close streams.
7580 * math/Makefile.in: Add missing files for shared link errors.
7581 * math/Makefile.am: Same.
7583 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7585 * src/locale-inst.cc: More wchar_t instantiations.
7586 * src/misc-inst.cc: Missed a few bits.
7587 * testsuite/make_check_libfree++: Add static and shared runs.
7588 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7590 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7592 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7593 facets. Resolve link errors.
7594 * bits/ostream.tcc: Same.
7595 * src/misc-inst.cc: Add ostream, wostream instantiations.
7596 * src/Makefile.am: Add missing bits for stdstreams.cc.
7597 * src/Makefile.in: Same.
7598 * bits/std_iosfwd.h: Format.
7599 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7600 num_put so that cached _M_fnumput pointer can be deleted in
7601 basic_ostream's dtor. Now everybody plays nice.
7603 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7605 * bits/gslice.h (class gslice): Make friends valarray,
7606 gslice_array and _GliceExpression.
7608 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7610 * RELEASE-NOTES: Update.
7611 * src/ios.cc: Use do proper init.
7612 * bits/std_streambuf.h: Tweak.
7613 * bits/std_iostream.h: Take out static member.
7614 * std/iostream: Put here.
7615 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7616 * bits/std_istream.h: Ditto.
7617 * bits/basic_ios.h: Format.
7618 * bits/ostream.tcc(write): Fix.
7619 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7620 initialization of the fstream class.
7621 * src/stdstreams.cc: I'm baaaaaaaack.
7623 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7625 * bits/ios_base.h: Correct comments. Add ios_base::init()
7626 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7627 * src/misc-inst.cc: Add instantiations here.
7628 * src/ios.cc: Clean.
7629 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7630 * src/stdstreams.cc: Delete this file, as now unnecessary.
7631 * bits/fstream.tcc: Add missing initialization bits for ctor.
7632 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7633 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7635 * bits/streambuf.tcc: Tweak.
7636 * bits/sstream.tcc: Here too.
7638 * bits/fstream.tcc: And change definition as well.
7639 * bits/std_fstream.h: Change ctor.
7640 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7641 * bits/basic_file.h: Add declarations.
7643 * testsuite/27/27hello.cc: New file.
7645 * bits/std_ostream.h: Move flush() inline.
7646 * bits/ostream.tcc: From here.
7648 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7649 * bits/std_ios.h: Change include libio to only when necessary.
7650 * bits/fpos.h: Like here.
7651 * ios_base.h: And here.
7653 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7654 * bits/locfacets.tcc: Same.
7655 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7656 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7658 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7660 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7662 * bits/std_streambuf.h: Clean, tweak.
7663 * bits/std_fstream.h: Same.
7664 * bits/std_sstream.h: Same.
7665 * bits/streambuf.tcc: Move most member functions out-of-line.
7666 * bits/fstream.tcc: Same.
7667 * bits/streambuf.tcc: Same.
7669 * bits/basic_file.h(filepos_cur): Set correctly.
7670 (filepos_beg): Same.
7671 (seekpos): Change to __c_streampos.
7672 * src/basic_file.cc (std): Change to __c_streampos.
7674 * testsuite/27/27filebuf.cc: Round one is finished.
7675 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7676 * testsuite/27/27filebuf-3.tst: Same.
7678 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7680 * bits/basic_file.h: Fix typo, add comments about what to expect
7681 from the various member functions in __basic_file.
7683 * bits/std_fstream.h: Re-do sync/underflow to work
7684 together. Change from sys_read to xsgetn and from sys_write to
7685 xsputn. As it should have been from the beginning. . .
7687 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7689 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7691 * bits/basic_file.h(file_beg): New function.
7694 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7695 * bits/std_fstream.h: More _M_mode refinements.
7696 (synch): Add bits for out mode only.
7697 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7698 * bits/std_sstream.h: Ditto.
7700 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7702 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7703 * testsuite/27/27filebuf.cc: Modify.
7704 * bits/c++config.h: Fix.
7706 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7708 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7709 code in place that diverges from the final standard, but has been
7710 brought up on the library mailing list.
7712 * bits/std_fstream.h(underflow): Position all three internal
7713 buffer pointers at the same initial position. Re-implement with
7714 basic_filebuf abstraction.
7718 * bits/std_sstream.h: Move _M_mode down into base class
7720 * bits/sstream.tcc: Ditto.
7721 * bits/std_streambuf.h: Ditto.
7723 * testsuite/27/27filebuf.cc: Tweak.
7725 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7727 * bits/std_sstream.h: Ditto.
7728 * bits/std_fstream.h: Fix blip.
7730 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7732 * C++STYLE: Add cases.
7733 * bits/std_fstream.h: Format.
7734 * bits/std_streambuf.h: Ditto.
7735 * bits/std_sstream.h: Ditto.
7737 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7738 return type for _IO_file_seek and __basic_file::seek the same size.
7739 * bits/basic_file.h: Ditto.
7741 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7743 * bits/fstream.tcc: Add include guards.
7744 * src/misc-inst.cc: Add instantiations for shared libes.
7745 * src/locale-inst.cc: Add instantiaions for use_facet.
7746 * bits/loccore.h: Remove specialization foward decls for
7747 use_facet<ctype>: perhaps add the whole lot of them later on.
7748 * bits/std_fstream.h: Fix.
7749 * bits/locfacets.h: Ditto.
7750 * src/stdstreams.cc: Disable wide streams for now.
7752 * src/Makefile.am (CXXFLAGS): Change up.
7753 * src/Makefile.in (CXXFLAGS): Ditto.
7755 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7757 * src/basic_file.cc: Change to ios_base::seekdir from int.
7758 * bits/basic_file.h: Ditto.
7759 * bits/locfacets.h : Fix blip with new guard macros.
7761 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7763 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7764 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7766 * amm1/locale: Remove unused defines.
7767 * generic/locale: Ditto.
7768 * src/ios.cc: Ditto.
7769 * src/locale.cc: Ditto.
7770 * src/locale-inst.cc: Ditto.
7771 * src/localename.cc: Ditto.
7772 * src/stdstreams.cc: And here.
7774 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7775 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7776 * bits/loccore.tcc: Ditto.
7777 * bits/locfacets.h: Ditto.
7778 * src/locale-inst.cc: Ditto.
7779 * bits/locfacets.tcc: Add do_put long long here.
7781 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7783 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7784 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7785 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7786 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7787 * bits/std_fstream.h: Tweak.
7789 * bits/char_traits.h: Remove fpos definitions from here. . .
7790 * bits/fpos.h: New file, put them here. Eventually, this may allow
7791 the severing of char_traits and fpos dependancies.
7792 * src/Makefile.in: Add fpos.h.
7793 * src/Makefile.am: Ditto.
7794 * bits/std_string.h: Add fpos.h include here.
7795 * bits/std_ios.h: And here.
7797 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7798 * bits/ios_base.h: Remove cstdio include.
7799 * bits/std_ios.h: ... Place here.
7801 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7803 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7804 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7806 * bits/basic_file.h: Comment, adjust arguments.
7807 * src/basic_file.cc: Ditto.
7809 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7810 type: check and convert accordingly. Re-interpet "resultant stream
7811 position" to indicate external byte sequence location, not internal
7814 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7816 * mkcshadow: And change copyright here.
7817 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7818 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7819 stl_thread.h, and stl_iterator_base.h.
7820 * src/Makefile.in (CXXFLAGS): Ditto.
7821 * stl/backward/pthread_alloc.h: Remove.
7823 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7825 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7827 * bits/std_fstream.h (pbackfail): Correct.
7829 (seekoff): Implement.
7831 * testsuite/27/27filebuf.cc: Add test cases.
7833 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7835 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7836 with the external buffers, and stop mucking around with setting
7837 and re-setting the external buf's pointers. Aka, clarity and
7838 simplicity rule the day.
7839 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7840 Remove partial result and support code.
7842 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7844 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7845 list of function which have to be replaced.
7846 Remove expf from list of functions to test for.
7847 Define USE_LONG_DOUBLE in case the libm has partial support for long
7849 * Makefile.in: Regenerated.
7850 * config.h.in: Likewise.
7851 * configure: Likewise.
7852 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7853 * libio/Makefile.in: Regenerated.
7854 * src/Makefile.in: Regenerated.
7855 * string/Makefile.in: Regenerated.
7856 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7857 atan2f.c, expf.c, and $(EXTRA_yes).
7858 (EXTRA_yes): Add signbitl.c mycabsl.c.
7859 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7860 (libmath_la_SOURCES): remove long double versions.
7861 * math/Makefile.in: Regnerated.
7862 * math/atan2f.c: New file.
7863 * math/copysignf.c: New file.
7864 * math/expf.c: New file.
7865 * math/hypot.c: New file.
7866 * math/hypotf.c: New file.
7867 * math/hypotl.c: New file.
7868 * math/cargf.c: Use correct function and macro names.
7869 * math/ccos.c: Likewise.
7870 * math/ccosh.c: Likewise.
7871 * math/ccoshf.c: Likewise.
7872 * math/ccoshl.c: Likewise.
7873 * math/cexp.c: Likewise.
7874 * math/cexpf.c: Likewise.
7875 * math/cexpl.c: Likewise.
7876 * math/clog.c: Likewise.
7877 * math/clog10.c: Likewise.
7878 * math/clog10f.c: Likewise.
7879 * math/clog10l.c: Likewise.
7880 * math/clogf.c: Likewise.
7881 * math/clogl.c: Likewise.
7882 * math/copysignf.c: Likewise.
7883 * math/csin.c: Likewise.
7884 * math/csinf.c: Likewise.
7885 * math/csinh.c: Likewise.
7886 * math/csinhf.c: Likewise.
7887 * math/csinhl.c: Likewise.
7888 * math/csinl.c: Likewise.
7889 * math/csqrt.c: Likewise.
7890 * math/csqrtf.c: Likewise.
7891 * math/csqrtl.c: Likewise.
7892 * math/ctan.c: Likewise.
7893 * math/ctanf.c: Likewise.
7894 * math/ctanh.c: Likewise.
7895 * math/ctanhf.c: Likewise.
7896 * math/ctanhl.c: Likewise.
7897 * math/ctanl.c: Likewise.
7899 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7901 * testsuite/27/27filebuf.cc: Add cases.
7902 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7903 * bits/std_streambuf.h: Simplify, always have one return statement.
7904 * bits/std_fstream.h: Tweak comments in underflow.
7906 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7908 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7909 * ltconfig: Likewise.
7911 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7913 * src/locale.cc: Fix assert.
7915 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7917 FIXME: Still need some kind of solution for undefined math symbols.
7918 * src/Makefile.in (locale-inst.lo): Compile with
7919 -fimplicit-templates to fix Solaris link problem.
7920 * src/Makefile.am: Ditto.
7921 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7922 * libio/Makefile.am: Ditto.
7923 * src/locale.cc: Provide some kind of def for _S_tolower.
7924 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7925 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7927 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7929 * bits/loccore.tcc: Move member-template ctor inline...
7930 * bits/loccore.h: ...here.
7931 * src/locale-inst.cc: Add instantiation here.
7933 * testsuite/27/27stringstream.cc: Tweak.
7935 * bits/ostream.tcc: Include sbuf_iter.h.
7937 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7938 passing to num_put, as num_put's first argument is an interator,
7941 * testsuite/make_check_libfree++: New file, runs through the
7942 existing test files in the testsuite directory and makes sure
7945 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7947 * testsuite/21/21compare.cc: Fix typo.
7948 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7949 Don't try to provide non-linux versions, since it's impossible to
7950 initialize their const references with the integer 0, no matter
7951 how we try to cast it.
7953 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7955 * bits/std_locale.h: Move std_vector.h dependency.
7956 * bits/std_ios.h: ...from here.
7957 * bits/std_string.h: ...and here.
7958 * src/locale.cc: ..to here.
7959 * bits/loccore.h: Ditto, add vector forward declaration,
7960 make locale::_Impl data members pointers not containers.
7961 * bits/loccore.tcc: Move out-of-line for now.
7962 * bits/locfacets.h: Move vector dependency from here...
7963 * bits/locfacets.tcc: ...to here.
7964 * src/localename.cc: ..and here.
7965 * src/locale-inst.cc: Add include of locfacets.tcc here.
7967 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7968 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7969 * bits/string.tcc: Tweak.
7970 * src/string.cc: And add __get_c_string def here.
7972 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7974 * src/stlinst.cc: Add include of stl_config.h.
7976 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7978 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7979 * stl/bits/stl_config.h: Tweak, update.
7980 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7982 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7983 * stl/bits/std_functional.h: Ditto.
7985 * stl/bits/stl_string.h: New file, SGI's string
7986 implementation. For reference only, corresponding to string in
7988 * stl/bits/stl_char_traits.h: As above.
7990 * stl/bits/pthread_allocimpl.h: New file corresponding to
7992 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7994 * stl/bits/stl_threads.h: New file.
7996 Note that SGI STL 3.12's file iterator.h is not used.
7997 * stl/bits/std_iterator.h: Ditto.
7998 * stl/bits/stl_iterator.h: Drop in replace.
7999 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8001 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8002 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8003 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8004 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8005 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8006 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8007 preprocessor guards, but fixup include paths and names according
8008 to new directory layout).
8010 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8012 * bits/std_fstream.h: Remove _M_open data member.
8013 * bits/fstream.tcc: Ditto.
8015 * src/locale.cc: Tweak.
8017 * bits/std_sstream.h: Simplify.
8019 * bits/std_streambuf.h: Simplify.
8020 (sputc): Use correct definition of "write area."
8022 * bits/std_fstream.h: Fix uflow.
8023 * src/basic_file.cc: Tweak.
8024 * testsuite/27/27filebuf.cc: Add tests.
8025 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8027 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8029 * bits/ios_base.h: Make protected.
8031 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8033 * bits/ios_base.h: Changes in the class ios_base:
8034 Rename _M_exceptions member to _M_exceptions_data.
8035 Make the member functions rdstate(), clear(), exceptions()
8036 and exceptions(iostate) protected and add the "_M_" prefix.
8037 * src/ios.cc: Ditto.
8038 * bits/basic_ios.h: Adapt the changes from ios_base.
8040 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8042 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8043 * bits/fstream.tcc: Ditto.
8045 * bits/std_fstream.h (underflow): Resize deallocates memory and
8046 resets pointers in the internal cache according to new _M_buf. . dooh!
8047 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8049 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8051 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8054 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8056 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8057 into account partial returns.
8058 (codecvt::do_out): Likewise.
8060 * bits/char_traits.h: Change streamsize to be a signed type, as
8061 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8062 * bits/std_streambuf.h: Make
8063 in_avail() and showmanyc() have streamsize as return types, so
8064 that showmanyc()'s return of eof won't underflow in_avail's return
8065 value and give a bogus result.
8066 * src/misc-inst.cc: And more changes. . .
8068 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8069 track of joint in/out pointers into the internal buffer.
8070 (sbumpc): Add check for _M_buf_unified.
8074 * testsuite/27/27filebuf.cc: Add cases.
8075 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8077 * bits/std_fstream.h (close): Fix logic error.
8078 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8079 (showmanyc): Add underflow component, to match the standard.
8081 * bits/fstream.tcc: Ditto.
8083 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8085 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8086 * src/basic_file.cc: Ditto.
8087 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8088 format for dealing with _IO_file in libio.
8090 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
8092 * src/basic_file.cc: Include fcntl.h.
8094 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8096 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8098 * bits/std_streambuf.h: Redefine read posion.
8100 * bits/std_fstream.h: Temporary hack to get vtables working again.
8101 * bits/basic_file.h: Revert.
8102 * src/basic_file.cc: Ditto.
8103 * testsuite/27/27filebuf.cc: Tweak.
8105 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8107 * bits/basic_file.h: Add showmanyc, underflow. .
8108 * src/basic_file.cc: Ditto.
8110 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8113 * testsuite/27/27filebuf.cc: Add testcases.
8114 * src/basic_file.cc: Add O_CREAT to open calls with
8115 ios_base::trunc as part of the open mode.
8117 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8119 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8121 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8123 * src/ios.cc (clear): Correct typo.
8124 * bits/ios_base.h: Tweak spacing.
8126 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8128 * bits/basic_ios.h: fix basic_ios::fail()
8130 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8132 * bits/basic_file.h: Include libioP.h from libio instead of here.
8133 * bits/iolibio.h: Remove.
8134 * bits/libio.h: Remove.
8136 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8138 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8140 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8142 * Makefile.am (SUBDIRS): Add libio.
8143 * configure.in: Add rule to test for glibc2.
8145 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8146 (libstdc___la_LIBADD): Add libio.la.
8148 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8150 * bits/basic_file.h: Make new abstraction for underlying C library
8151 FILE, named __basic_file.
8152 * src/basic_file.cc: New file.
8153 * bits/os_raw.h: Delete.
8154 * src/os_raw.cc: Delete.
8155 * src/Makefile.in: Tweak.
8156 * src/Makefile.am: Tweak.
8157 * bits/iolibio.h: Add this here, for the time being.
8158 * bits/libioP.h: Ditto.
8160 * bits/ios_base.h: Delete unused defines.
8161 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8162 strcpy to copy between the two buffers.
8164 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8165 * testsuite/27/27filebuf.cc: New file.
8166 * testsuite/27/27filebuf-1.txt: Data file for above test.
8167 * testsuite/27/27filebuf-2.txt: Ditto.
8169 * bits/std_streambuf.h (uflow): Re-implement default.
8170 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8171 Re-implement virtual functions.
8172 * bits/fstream.tcc: Delete unused mf's.
8174 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8176 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8177 * bits/std_fstream.h: Ditto.
8178 * src/stdstreams.cc: Ditto.
8180 * math/cpowl.c: Fix header typo with last change.
8182 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8184 * COPYING: New file (GPL v 2).
8185 * LICENSE.STD: Remove.
8186 * ./*: Change license.
8188 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8190 * bits/std_streambuf.h (std): Remove static on _M_init.
8191 * bits/streambuf.tcc (std): Ditto.
8193 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8194 state_type and codecvt_type members, the allocation of an internal
8195 buffer, the streamlined codecvt calls, etc.
8197 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8199 * bits/std_sstream.h: Tweak.
8200 * bits/fstream.tcc: Remove unused stubs.
8201 * bits/std_fstream.h: Tweak.
8203 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8205 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8206 Remove unused _IO_* members, possibly put into filebuf, which may
8208 * bits/std_fstream.h: Add _M_flag.
8209 * bits/sbuf_iter.h: Tweak.
8211 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8212 * bits/ios_base.h: Use.
8214 * src/stdstreams.cc: Modify to reflect standard ctors for
8216 * src/misc-inst.cc: Ditto.
8218 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8219 underlying C library calls instead of the underlying unix
8221 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8222 string as per p.659.
8223 (_S_os_close): Model on fopen.
8224 (_S_os_read): Model on fread.
8225 (_S_os_write): Model on fwrite.
8226 (_S_os_seek): Model on fseek.
8228 * bits/ios_base.h: Tweak.
8229 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8230 * bits/std_sstream.h: Tweak.
8231 * bits/sstream.tcc: Remove old, uncalled code.
8232 * bits/std_fstream.h: Major reconstruction.
8233 * bits/fstream.tcc: Disable for the time being.
8235 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8237 * bits/basic_string.h: Fix insert method.
8238 * stl/bits/stl_iterator.h: Remove previous hack.
8239 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8240 * bits/std_sstream.h: Fix more regressions.
8241 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8243 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8245 * bits/basic_string.h: Tweak.
8247 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8248 that string::append can be instantiated. HACK--checkin
8249 basic_string::iterator class.
8251 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8253 * bits/std_sstream.h: Tweak.
8254 * bits/sstream.tcc: Tweak ctors.
8256 FIXME invalid friend defs. . WHERE ARE THEY??
8258 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8259 names for basic_streambuf data members.
8261 * bits/std_streambuf.h: Add getloc() initialization bits.
8262 basic_streambuf(): Initialize with global locale data.
8263 imbue(): Set _M_init.
8265 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8266 stream pos == pos_type(off_type(-1)).
8267 in_avail(): Complete default implementation.
8268 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8269 underflow, uflow, xsgetn, showmany, sync: Ditto.
8271 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8273 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8274 re-populate with in-line member functions that are too big. Add
8275 initialization for _M_init.
8277 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8279 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8280 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8283 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8285 * bits/c++config.h (_G_DEPRICATED): Add.
8286 (_G_USE_WCHAR_T): Add.
8287 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8288 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8289 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8290 * bits/std_fstream.h: Add comment for implementation.
8291 * src/streambuf.cc: Remove.
8292 * src/Makefile.in: Remove streambuf.lo.
8293 * src/misc-inst.cc: Tweak.
8295 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8297 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8298 * testsuite/27stringstream.C: Modify.
8300 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8302 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8303 (libstdc___la_SOURCES): Ditto.
8305 * bits/streambuf.tcc: Tweak.
8307 * src/streambuf.cc: New file, add out-of-line definitions for
8310 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8311 Comment out wchar_t versions of the buffer instantiations, for now.
8313 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8314 Remove template wrapper around _Streambuf_base.
8315 Move IO_* data members into _Streambuf_base.
8316 Move _Streambuf_base members into streambuf.tcc.
8318 * bits/c++config.h (_G_USE_LIBIO): Enable.
8320 1998-11-02 Nathan Myers <ncm@cantrip.org>
8322 * CHECKLIST: downgrade iterator implementations
8323 * DESIGN: fill out notes about unimplemented features
8325 1998-10-31 Nathan Myers <ncm@cantrip.org>
8327 * CHECKLIST: itemized list of all interfaces, and status of each.
8329 1998-10-30 Nathan Myers <ncm@cantrip.org>
8331 * RELEASE-NOTES: add notes about optional includes, linking, running
8332 * src/Makefile.am: handle header installs properly
8333 * src/Makefile.in: regenerate from new src/Makefile.am
8335 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8337 * bits/basic_string.h: Revert npos pending ciso646.
8338 * src/Makefile.am: Revert CXX flags for now.
8339 * src/Makefile.in: Ditto.
8341 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8343 * bits/std_sstream.h: Re-order ctors to put base before member
8346 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8348 * stl/bits/std_memory.h: Fix typo.
8350 1998-10-30 Nathan Myers <ncm@cantrip.org>
8352 * src/string[A-Z]+.cc: change back to include "string.cc".
8353 * src/Makefile.am: revert filename changes. We need a different
8354 way to keep filenames in std/ from confusing Make.
8355 * bits/basic_string.h: define _S_max_size right, return it from
8356 string::max_size(); churn definition of npos again.
8357 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8358 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8359 * BUGS: clear cruft.
8360 * C++STYLE: Touchup for release.
8361 * CHECKLIST: Touchup for release.
8363 * LICENSE.STD: Add requirement to retain copyrights and to provide
8364 the license with any copies.
8365 * README: Update for release.
8366 * TODO: Minor touchup for release.
8367 * RELEASE-NOTES: prepare for release
8369 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8371 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8373 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8375 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8376 CXX to generate the shared object.
8378 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8380 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8382 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8383 2, from npos, solving infinite loop problems.
8385 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8387 * src/Makefile.am: Add rules to install headers.
8389 1998-10-29 Nathan Myers <ncm@cantrip.org>
8391 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8392 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8395 * shadow/bits/wrap_libio.h:
8396 * shadow/bits/wrap_unistd.h: New files.
8398 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8400 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8401 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8403 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8405 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8406 is not compiled with -fno-implicit-templates in effect.
8408 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8409 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8410 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8412 * src/stringADDPS.cc: Likewise.
8413 * src/stringADDSC.cc: Likewise.
8414 * src/stringADDSP.cc: Likewise.
8415 * src/stringADDSS.cc: Likewise.
8416 * src/stringBIST.cc: Likewise.
8417 * src/stringBOST.cc: Likewise.
8418 * src/stringCHTR.cc: Likewise.
8419 * src/stringEQPS.cc: Likewise.
8420 * src/stringEQSP.cc: Likewise.
8421 * src/stringEQSS.cc: Likewise.
8422 * src/stringEXTRA.cc: Likewise.
8423 * src/stringGEPS.cc: Likewise.
8424 * src/stringGESP.cc: Likewise.
8425 * src/stringGESS.cc: Likewise.
8426 * src/stringGETLI.cc: Likewise.
8427 * src/stringGTPS.cc: Likewise.
8428 * src/stringGTSP.cc: Likewise.
8429 * src/stringGTSS.cc: Likewise.
8430 * src/stringINSER.cc: Likewise.
8431 * src/stringLEPS.cc: Likewise.
8432 * src/stringLESP.cc: Likewise.
8433 * src/stringLESS.cc: Likewise.
8434 * src/stringLTPS.cc: Likewise.
8435 * src/stringLTSP.cc: Likewise.
8436 * src/stringLTSS.cc: Likewise.
8437 * src/stringMAIN.cc: Likewise.
8438 * src/stringNEPS.cc: Likewise.
8439 * src/stringNESP.cc: Likewise.
8440 * src/stringNESS.cc: Likewise.
8441 * src/stringSCOPY.cc: Likewise.
8442 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8444 * src/wstringADDPS.cc: Likewise.
8445 * src/wstringADDSC.cc: Likewise.
8446 * src/wstringADDSP.cc: Likewise.
8447 * src/wstringADDSS.cc: Likewise.
8448 * src/wstringBIST.cc: Likewise.
8449 * src/wstringBOST.cc: Likewise.
8450 * src/wstringCHTR.cc: Likewise.
8451 * src/wstringEQPS.cc: Likewise.
8452 * src/wstringEQSP.cc: Likewise.
8453 * src/wstringEQSS.cc: Likewise.
8454 * src/wstringEXTRA.cc: Likewise.
8455 * src/wstringGEPS.cc: Likewise.
8456 * src/wstringGESP.cc: Likewise.
8457 * src/wstringGESS.cc: Likewise.
8458 * src/wstringGETLI.cc: Likewise.
8459 * src/wstringGTPS.cc: Likewise.
8460 * src/wstringGTSP.cc: Likewise.
8461 * src/wstringGTSS.cc: Likewise.
8462 * src/wstringINSER.cc: Likewise.
8463 * src/wstringLEPS.cc: Likewise.
8464 * src/wstringLESP.cc: Likewise.
8465 * src/wstringLESS.cc: Likewise.
8466 * src/wstringLTPS.cc: Likewise.
8467 * src/wstringLTSP.cc: Likewise.
8468 * src/wstringLTSS.cc: Likewise.
8469 * src/wstringMAIN.cc: Likewise.
8470 * src/wstringNEPS.cc: Likewise.
8471 * src/wstringNESP.cc: Likewise.
8472 * src/wstringNESS.cc: Likewise.
8473 * src/wstringSCOPY.cc: Likewise.
8474 * src/string.cc: Remove now unneeded #defines now.
8476 1998-10-29 Nathan Myers <ncm@cantrip.org>
8478 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8480 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8481 add definitions for double, long double, const void*.
8482 * bits/std_ostream.h: Move op<<'s back into class ostream,
8483 define some in-line.
8484 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8485 string construction from input iterators that Brendan reported.
8488 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8490 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8492 * bits/valarray_meta.h (class _Constant): Move declaration to the
8493 top, so the rest of the file can grok it.
8494 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8496 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8498 (basic_stringstream::str, both instances): Likewise.
8500 1998-10-28 Nathan Myers <ncm@cantrip.org>
8502 * bits/locfacets.h: fix num_put<>::falsename()
8503 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8504 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8505 * bits/locfacets.tcc: touch up _S_group_digits.
8506 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8508 1998-10-27 Nathan Myers <ncm@cantrip.org>
8510 * stl/bits/stl_config.h: Turn off long long support, for now.
8511 * src/locale-inst.cc: Instantiate num_put<> only for
8512 ostreambuf_iterator, num_get only for istreambuf_iterator.
8513 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8514 add lots of new instantiations for num_put support function templates;
8515 remove junk about __match_parallel for ostreambuf_iterator.
8517 1998-10-27 Nathan Myers <ncm@cantrip.org>
8519 * bits/locfacets.tcc: Make num_put's digit grouping work.
8520 * bits/string.tcc: More uglification.
8521 * src/ios.cc: initialize format cache right
8523 1998-10-26 Nathan Myers <ncm@cantrip.org>
8525 * bits/basic_string.h: Uglify more names.
8526 * bits/fstream.tcc: Rewrite some filebut output handling.
8527 * bits/ios_base.h: Cosmetic.
8528 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8529 Also, specialize its default ctor for optimal default case.
8530 #ifdef out "long long" prototypes for now.
8531 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8532 implementation for integer types. (Still needs optimized
8533 std::copy() applied to ostreambuf_iterator to be optimal.)
8534 * bits/ostream.tcc: Write operator<< for long, bool types.
8535 Make other operators<< non-members, per spec. (Many still
8536 not implemented.) Identify those that fail to create a sentry.
8537 * bits/sbuf_iter: Cosmetic.
8538 * bits/std_fstream.h: Add some filebuf members.
8539 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8540 * bits/std_ostream.h: Make member operators<< global, per spec.
8541 (Should do the same in std_istream.h.)
8542 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8543 * bits/string.tcc: Uglify names
8544 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8545 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8546 for optimal default behavior.
8548 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8550 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8552 1998-10-21 Nathan Myers <ncm@cantrip.org>
8554 * src/locale.cc: make ctype operations actually work for glibc
8555 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8556 checklist of stdlib facilities. Not filled in yet.
8558 1998-10-20 Nathan Myers <ncm@cantrip.org>
8560 * bits/string.tcc: fix patching NULs on string ends.
8562 1998-10-19 Nathan Myers <ncm@cantrip.org>
8564 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8565 iterator forward declarations
8566 * bits/sbuf_iter.h: eliminate default template argument definitions
8567 on streambuf iterators (rely on <iosfwd> decls).
8568 * TODO: add note about lazy facet construction
8569 * bits/basic_ios.h: hit operator void* again. This should be the
8570 last time we need to touch it.
8571 * bits/basic_ios.h: copyfmt now returns *this.
8572 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8573 * bits/basic_string.h: put back overloaded constructors; adjust
8574 behavior for default allocator on copy constructor.
8575 * bits/char_traits.h: make not_eof return correct type.
8576 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8577 cannot be in non-standard headers or we get include loops (bad)
8578 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8579 * bits/loccore.h: add apparatus to support lazy construction of
8581 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8582 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8583 locale use_facet<> failure.
8584 * bits/std_locale.h: same.
8585 * bits/std_string.h: same.
8586 * bits/std_stdexcept.h: change exception member __msg from a
8587 reference to a regular object.
8588 * bits/string.tcc: add pasting a NUL on the end of strings after
8589 each operation. We had already left room for it, but previously
8590 plugged it only on a call to c_str(), but the WG changed the
8591 requirement when I wasn't looking. (Can't leave them alone for
8592 a second without they break something else.)
8593 * bits/valarray_meta.h: add Gaby's changes from 981018.
8594 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8595 failure of use_facet<>().
8596 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8597 comment out leftover member definitions
8599 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8601 * string/Makefile.am: Revert last change.
8602 * math/Makefile.am: Likewise.
8604 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8606 * bits/std_sstream.h: Fix typo.
8608 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8610 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8612 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8613 * bits/std_stdexcept.h: Remove.
8615 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8617 * src/misc-inst.cc: Tweak again.
8619 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8620 * bits/sstream.tcc: New file.
8622 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8624 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8625 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8628 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8630 (INFINITE_P): Use IS_INF macro if available.
8632 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8634 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8636 * string/Makefile.am: Likewise.
8638 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8640 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8642 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8643 endianess is available run AC_C_BIGENDIAN.
8645 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8646 fixincludes is fixed.
8647 * math/clogl.c: Likewise.
8648 * math/csqrtl.c: Likewise.
8649 * math/mycabsl.c: Likewise.
8651 * math/mathconf.h: Include machine/endian.h if possible. If no
8652 header describing endianess is available rely on WORDS_BIGENDIAN
8654 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8655 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8658 * src/complex.cc (polar): Don't use sincos on OSF machines.
8660 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8662 * src/locale-inst.cc: Don't instantiate time_get for
8663 ostreambuf_iterators as time_get::do_get_weekday and
8664 time_get::do_get_monthname use __match_parallel, which is illegal
8665 for ostreambuf_iterators to use, as they don't have operator== or
8667 * bits/std_stdexcept.h: Add dtor definitions.
8668 Use stl/bits/std_stdexcept.h instead of this file?
8669 * bits/sbuf_iter.h : Tweak.
8670 * src/misc-inst.cc: Tweak.
8672 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8674 * bits/std_stdexcept.h: New file.
8675 * src/stdexcept.cc: Define the following:
8677 runtime_error::what()
8679 * src/misc-inst.cc: New file.
8680 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8681 (libstdc___la_OBJECTS): Add misc-inst.lo.
8683 * bits/basic_string.h: Disable non-standard ctor declarations.
8684 * bits/string.tcc: Disable definitions as well.
8685 * src/string.cc: Disable <ios> dependancies.
8686 * bits/sbuf_iter.h (std): Add default to template parameter for
8687 ostreambuf_iterator and istreambuf_iterator.
8688 * bits/std_iosfwd.h: Change istreambuf_iterator to
8689 basic_istreambuf_iterator. Likewise for ostreambuf.
8690 * bits/locfacets.tcc (__match_parallel): Fix typo.
8691 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8693 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8694 * bits/std_istream.h: Define the following:
8695 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8696 get (char_type* __s, streamsize __n, char_type __delim);
8697 getline (char_type* __s, streamsize __n, char_type __delim)
8698 * bits/loccore.h : FIXME friend template code for use_facet.
8699 Add std_stdexcept.h include so that range_error will be defined.
8700 Add explicit conversion to string for range_error throws. (HACK?)
8702 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8704 * configure.in: Check for sincos, sincosf, and sincosl.
8705 * src/complex.cc (polar): Use sincos if available.
8707 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8708 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8710 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8712 * math/cpow.c: Use c_log, not clog.
8713 * math/cpowf.c: Likewise.
8714 * math/cpowl.c: Likewise.
8716 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8719 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8720 isfinite macro if it is available.
8721 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8723 * math/ccosf.c: Use appropriate test macros for this type.
8724 * math/ccoshf.c: Likewise.
8725 * math/ccoshl.c: Likewise.
8726 * math/ccosl.c: Likewise.
8727 * math/cexpf.c: Likewise.
8728 * math/cexpl.c: Likewise.
8729 * math/clog10f.c: Likewise.
8730 * math/clog10l.c: Likewise.
8731 * math/clogf.c: Likewise.
8732 * math/clogl.c: Likewise.
8733 * math/csinf.c: Likewise.
8734 * math/csinhf.c: Likewise.
8735 * math/csinhl.c: Likewise.
8736 * math/csinl.c: Likewise.
8737 * math/csqrtf.c: Likewise.
8738 * math/csqrtl.c: Likewise.
8739 * math/ctanf.c: Likewise.
8740 * math/ctanhf.c: Likewise.
8741 * math/ctanhl.c: Likewise.
8742 * math/ctanl.c: Likewise.
8744 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8746 * bits/basic_ios.h: Fix previous change.
8748 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8750 * bits/basic_ios.h: Add const_cast<basic_ios&>
8751 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8753 * bits/char_traits.h: No _CharT for specialization, change to 0.
8754 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8755 constant-initializer.
8756 * bits/locfacets.tcc: Add template parameter to initialization list.
8758 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8760 * bits/basic_string.h: Should just be <, not <=.
8762 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8764 * bits/string.tcc (compare): Fix for strings that are similar, but
8765 not the same length.
8767 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8769 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8770 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8771 We can't check for __GLIBC__ here, since this header can be read
8772 before any system one (that would lead to features.h) being used.
8774 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8776 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8777 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8779 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8780 LONGLONG_{MIN,MAX} which I can't find the origin of.
8782 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8784 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8785 should this come from, if not iostream.h?
8786 (class istream_iterator): Make the new operator!= a friend also.
8788 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8789 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8790 _G_config.h like the egcs one does.
8792 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8794 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8796 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8797 _Expr1 (or _Expr_def if it's taken), and change definitions.
8798 Avoids redecl of the template parm.
8800 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8801 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8803 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8806 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8807 be a better way to do this.
8809 * src/stlinst.cc: New file.
8811 * BUGS: New file, with various discovered bugs that need to be
8814 * Makefile.in, math/Makefile.in, string/Makefile.in,
8815 src/Makefile.in: Reran automake.
8817 Workarounds, these may not all be the final fixes:
8819 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8820 not private, for basic_istream::get() in std_istream.h to be able
8822 (basic_ios::operator void*): Don't use static_cast for the false
8824 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8825 This appears to have been in sep94, but didn't get corrected
8828 * bits/basic_string.h (npos): Don't init here.
8829 * bits/string.tcc: Instead, do initialization here, to -1 instead
8830 of the size_type destructor.
8832 * src/traits.cc, src/wtraits.cc: New files.
8833 * bits/char_traits.h: For char_traits<char> and
8834 char_traits<wchar_t>, declare static, but define over in the src
8837 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8838 gslice_array, and _GsliceExpression.
8840 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8841 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8842 stdout, and stderr. Note we do get unresolved refs to stdin, but
8843 that'll get fixed by the "true" solution.
8845 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8846 definition of basic_streambuf.h, which is used in basic_ios.h to
8849 * bits/std_streambuf.h: Don't include libio.h for now.
8850 (class basic_streambuf): Define missing methods pubimbue and
8853 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8854 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8855 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8857 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8859 * src/locale.cc: Come up with munged versions of _S_toupper,
8860 _S_tolower, and _S_table instead of the glibc-specific ones, so
8861 they're at least defined, if not necessarily usable. The glibc
8862 ones on any other system will yield unresolved refs to
8863 __ctype_{b,toupper,tolower}.
8865 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8866 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8867 anymore cuz of the explicit specialization in char_traits.h.
8868 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8869 file for the details.
8871 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8872 * stl/bits/stl_iterator.h (__distance): Likewise.
8874 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8875 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8878 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8880 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8883 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8885 This should really be fixed with __asm__ directives renaming the
8886 symbol, but keeping the function.
8887 * math/clogf.c (c_logf): Renamed from `clogf'.
8888 * math/clogl.c (c_logl): Renamed from `clogl'.
8889 * math/complex-stub.h (c_logf, c_logl): Change decls.
8891 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8892 _CharT and _InIter parms, since they duplicate the enclosing ones.
8894 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8896 Deal with conflict of the iostreams `clog' and our internal
8897 complex number `clog'.
8898 * src/complex.cc: Call `c_log' instead of `clog'.
8899 * math/clog.c (c_log):: Renamed from clog.
8900 * math/complex-stub.h (c_log): Renamed from clog decl.
8902 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8904 (num_put::put): #if 0 long long version, since we don't declare or
8905 define the long long version of do_put.
8907 1998-08-18 Nathan Myers <ncm@cantrip.org>
8909 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8910 type of get_allocator (thanks to Ryszard Kabatek).
8911 * bits/char_traits.h: make init order of fpos<> members
8913 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8914 flags _S_fd_in etc. for special filebuf ctor.
8915 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8916 to work around problems in friend declarations.
8917 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8918 fix random type errors & typos
8919 * bits/std_fstream.h: major refitting to bypass libio (for now),
8920 instrument to use bits/fstream.tcc template definitions
8921 * bits/std_iosfwd.h: mess with wrappers
8922 * bits/std_istream.h: remove meaningless comment
8923 * bits/std_ostream.h: instrument to work with ostream.tcc.
8924 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8925 * bits/fstream.tcc: template defs for <fstream>
8926 * bits/ostream.tcc: template defs for <ostream>
8927 * bits/streambuf.tcc: template defs for <streambuf>
8928 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8929 * Delete .cc files, replace with bits/*.tcc
8935 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8936 src/stdstreams.cc: cout, cin, etc. definitions
8937 (these still need work: must be init'd before user statics.)
8940 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8942 Sent to SGI before checkin:
8943 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8944 operator>=): Define.
8945 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8946 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8947 operator>=): Define.
8948 (operator==, operator<): Add inline.
8949 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8950 operator>=): Define.
8951 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8952 operator>=): Define.
8953 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8954 operator>=): Define.
8955 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8956 operator>=): Define.
8957 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8958 operator>=): Define.
8960 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8963 1998-08-15 Nathan Myers <ncm@cantrip.org>
8965 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8966 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8967 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8968 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8969 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8970 * bits/std_sstream.h: formatting cleanups
8972 1998-08-14 Nathan Myers <ncm@cantrip.org>
8974 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8975 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8976 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8977 * bits/locfacets.h: fix missing argument in do_get_monthname
8978 (this is a bug in the standard, ref. 36 in my list.)
8979 * bits/locfacets.h: make month and day name caches mutable
8980 * bits/locfacets.tcc: various typos in get() functions
8981 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8982 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8984 1998-08-12 Nathan Myers <ncm@cantrip.org>
8985 * move streambuf iterators to bits/sbuf_iter.h
8986 * optimize streambuf iterators
8987 * begin generalizing streambuf
8988 * begin implementing num_get<>::get (starting with bool)
8989 * patch stl/bits/stl_config.h so that relops operators are
8990 contained properly, out of the way.
8992 1998-07-24 Nathan Myers <ncm@cantrip.org>
8993 * Fold in SGI 3.11 changes (uglified names, some algorithm
8994 improvements, very minor bug fixes.)
8995 * Uglify names elsewhere to match (s/_T/_Tp/).
8996 * Begin work on optimized streambuf
8997 * Put complex.cc in namespace std:: (thanks Martin)
8999 1998-07-17 Nathan Myers <ncm@cantrip.org>
9001 * bits/char_traits.h: add _Char_traits_match template.
9002 * bits/string.tcc: fix bugs in various find_last* members.
9003 * bits/basic_string.h: redeclare member _S_find.
9004 * stl/bits/stl_iterator.h: change member names in nonstandard
9005 templates bidirectional_reverse_iterator and
9006 random_access_reverse_iterator to match expected changes
9008 * src/string.cc: fix definitions of stream operators.
9010 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9012 * Makefile.am (SUBDIRS): Add string.
9014 * configure.in: Test for long double functions separately. Test for
9015 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9016 Generate string/Makefile.
9018 * bits/c++config.h: Define mbstate_t for Solaris.
9020 * bits/char_traits.h: Remove unused #if.
9022 * bits/std_cwchar.h: Declare wide char string functions.
9024 * m4/stringfcts.m4: New file.
9026 * math/complex-stub.h: Declare nan.
9027 * math/nan.c: New file.
9029 * math/mathconf.h: Hack around missing endian.h file.
9030 Handle missing NAN definition.
9031 Handle missing float math functions.
9033 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9034 (libstdc___la_LDFLAGS): Set version information.
9036 * src/complexl.cc: Don't compile any code if no long double functions
9039 * string/Makefile.am: New file.
9040 * string/dummy.c: New file.
9041 * string/wmemchr.c: New file.
9042 * string/wmemcmp.c: New file.
9043 * string/wmemcpy.c: New file.
9044 * string/wmemmove.c: New file.
9045 * string/wmemset.c: New file.
9047 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9049 * configure.in: Make it work.
9050 * install-sh: New file.
9051 * missing: New file.
9052 * mkinstalldirs: New file.
9053 * m4/mathfcts.m4: New file.
9054 * math/Makefile.am: New file.
9056 * bits/std_complex.h (conj): Mark specializations as inline.
9058 * math/carg.c: New file.
9059 * math/cargf.c: New file.
9060 * math/cargl.c: New file.
9061 * math/mycabs.c: New file.
9062 * math/mycabsf.c: New file.
9063 * math/mycabsl.c: New file.
9064 * math/signbit.c: New file.
9065 * math/signbitf.c: New file.
9066 * math/signbitl.c: New file.
9068 * math/ccos.c: Avoid ISO C 9x functionality.
9069 * math/ccosf.c: Likewise.
9070 * math/ccosh.c: Likewise.
9071 * math/ccoshf.c: Likewise.
9072 * math/ccoshl.c: Likewise.
9073 * math/ccosl.c: Likewise.
9074 * math/cexp.c: Likewise.
9075 * math/cexpf.c: Likewise.
9076 * math/cexpl.c: Likewise.
9077 * math/clog.c: Likewise.
9078 * math/clog10.c: Likewise.
9079 * math/clog10f.c: Likewise.
9080 * math/clog10l.c: Likewise.
9081 * math/clogf.c: Likewise.
9082 * math/clogl.c: Likewise.
9083 * math/cpow.c: Likewise.
9084 * math/cpowf.c: Likewise.
9085 * math/cpowl.c: Likewise.
9086 * math/csin.c: Likewise.
9087 * math/csinf.c: Likewise.
9088 * math/csinh.c: Likewise.
9089 * math/csinhf.c: Likewise.
9090 * math/csinhl.c: Likewise.
9091 * math/csinl.c: Likewise.
9092 * math/csqrt.c: Likewise.
9093 * math/csqrtf.c: Likewise.
9094 * math/csqrtl.c: Likewise.
9095 * math/ctan.c: Likewise.
9096 * math/ctanf.c: Likewise.
9097 * math/ctanh.c: Likewise.
9098 * math/ctanhf.c: Likewise.
9099 * math/ctanhl.c: Likewise.
9100 * math/ctanl.c: Likewise.
9102 * math/complex-stub.h: New file.
9104 * math/mathconf.h: New file.
9106 * src/Makefile.am: New file.
9108 * src/complex.cc: Use mathconf.h instead of complex.h.
9109 Don't use cabs, always use __mycabs.
9111 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9113 * iterator (class reverse_iterator): Do some tweaks to be in sync