1 2000-11-14 Phil Edwards <pme@sources.redhat.com>
3 * mkcheck.in: On a platform where we don't know how to extract
4 section sizes, just set them to zero. Use old method of reading
7 2000-11-13 Loren J. Rittle <ljrittle@acm.org>
8 * config/c_io_stdio.h: Don't define __c_wfile_type
9 when _GLIBCPP_USE_WCHAR_T is not defined.
11 2000-11-13 Phil Edwards <pme@sources.redhat.com>
13 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
14 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
15 (GLIBCPP_CONFIGURE): Call new macro here.
16 * configure.host: Cleanup.
17 * configure.in: Remove those two macros.
18 * configure.target: New file.
19 * aclocal.m4: Regenerated.
22 * libio/Makefile.in: Ditto.
23 * libmath/Makefile.in: Ditto.
24 * libsupc++/Makefile.in: Ditto.
25 * src/Makefile.in: Ditto.
27 * mkcheck.in: Use libtool. Split things out into functions.
29 2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
31 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
32 * Makefile.in: Regenerate.
34 2000-11-12 David Edelsohn <edelsohn@gnu.org>
36 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
37 libiconv.a providing wchar_t support functions.
38 * aclocal.m4: Regenerate.
40 2000-11-12 Loren J. Rittle <ljrittle@acm.org>
42 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
43 * aclocal.m4, configure: Rebuilt.
45 2000-11-12 Brent Verner <brent@rcfile.org>
47 * include/c_std/bits/wrap_langinfo.h: New file.
48 * include/c_std/langinfo.h: New file.
49 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
50 CODESET from _C_legacy::CODESET if using shadow headers.
51 * src/Makefile.am: Add new files.
52 * src/Makefile.in: Regenerate.
54 2000-11-12 Mark Mitchell <mark@codesourcery.com>
56 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
57 of `abs (double)' to ...
60 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
63 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
65 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
66 when _GLIBCPP_USE_WCHAR_T is not defined.
68 2000-11-10 Phil Edwards <pme@sources.redhat.com>
70 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
71 courtesy of Alexandre Oliva, to handle const/non-const signatures.
72 (codecvt::do_out): Use.
73 (codecvt::do_in): And here.
75 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
77 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
79 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
81 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
82 _Count_ones<>::_S_count): Turn into enumerators.
84 2000-11-08 Mark Mitchell <mark@codesourcery.com>
86 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
87 (codecvt::do_in): Likewise.
89 2000-11-08 David Edelsohn <edelsohn@gnu.org>
91 * src/locale-inst.cc: Add explicit instantiations of
92 _M_fill_insert and fill_n<..., unsigned long,...> .
94 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
96 * include/bits/std_complex.h (conj): Undo double removal.
98 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
100 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
101 alternatives for CXX_libstdcxx, now that it is useless.
102 * aclocal.m4, configure: Rebuilt.
104 2000-11-04 Mark Mitchell <mark@codesourcery.com>
106 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
107 * aclocal.m4: Regenerated.
108 * configure: Likewise.
110 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
112 * aclocal.m4: Regenerated.
113 * configure: Likewise.
115 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
117 * acinclude.m4 (CXX): Prevent it from being cached.
118 * aclocal.m4, configure, */Makefile.in: Rebuilt.
120 2000-11-03 David Edelsohn <dje@watson.ibm.com>
122 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
123 flag based on multilib definition of $CXX.
124 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
125 based on multilib definition of $CXX.
126 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
128 2000-11-03 Phil Edwards <pme@sources.redhat.com>
130 * acinclude.m4: Cleanups.
131 * aclocal.m4: Regenerated.
133 * Makefile.in: Ditto.
134 * libio/Makefile.in: Ditto.
135 * libmath/Makefile.in: Ditto.
136 * libsupc++/Makefile.in: Ditto.
137 * src/Makefile.in: Ditto.
139 * docs/install.html: Removal of EGCS.
140 * docs/23_containers/wrappers_h.txt: Likewise.
141 * docs/faq/index.html: Likewise.
142 * docs/faq/index.txt: Regenerated.
143 * docs/thanks.html: More people.
145 2000-11-03 David Edelsohn <edelsohn@gnu.org>
147 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
148 with function name defined in this file.
150 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
152 * include/c/bits/std_cctype.h: Undefine macros that conflict
153 with function names defined in this file.
154 * include/c/bits/std_cstdio.h: Likewise.
156 2000-11-02 Mark Mitchell <mark@codesourcery.com>
158 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
160 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
162 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
163 * aclocal.m4: Regenerated.
164 * Makefile.in: Regenerated.
165 * libio/Makefile.in: Likewise.
166 * libmath/Makefile.in: Likewise.
167 * libsupc++/Makefile.in: Likewise.
168 * src/Makefile.in: Likewise.
169 * configure: Likewise.
170 * config/os/irix/bits/ctype_base.h: Revise.
171 * config/os/irix/bits/ctype_inline.h: Likewise.
172 * config/os/irix/bits/ctype_noninline.h: Likewise.
174 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
175 if not _GLIBCPP_USE_WCHAR_T.
176 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
177 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
178 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
180 * mkcheck.in: Fix echoing of -rpath option.
182 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
184 (__exchange_aand_add): Adjust accordingly.
185 (__atomic_add): Likewise.
187 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
189 * src/locale.cc: Match orderings for static members.
190 * include/bits/fstream.tcc: Fixes for cin.
192 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
194 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
195 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
196 (cos, cosh, sin, sinh): Define primary templates.
198 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
201 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
203 * bits/basic_file.h (_M_open_mode): Change signature, move
205 * config/c_io_libio.cc: ...here.
206 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
207 * aclocal.m4: Regenerate.
208 * configure: Regenerate.
209 * config/c_io_stdio.h: New file.
210 * config/c_io_stdio.cc: New file.
211 * docs/configopts.html: Modify documentation.
213 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
215 * include/c/bits/std_cwctype.h: Add more undefs.
217 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
219 * include/bits/std_complex.h (norm): Forward declare.
220 (complex<>): Comment out friend declaration of conj<>.
221 (conj<>): Comment out specialization.
222 (exp, log, log10): Define primary templates.
224 * src/complex.cc (exp<>, log<>, log10<>): Comment out
227 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
229 * include/bits/std_complex.h: Remove duplicate definition of conj.
230 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
232 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
234 * src/complex.cc (arg, polar): Comment out specializations.
236 * include/bits/std_complex.h (complex<>): Remove arg<> friend
238 (arg): Define primary template.
242 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
244 * include/c/bits/std_cwctype.h: #undef possible function-like
245 macro definitions of iswxxx functions, which might be brought in
246 by <wctype.h>. Those macro definitions prevent build on some
249 * include/bits/std_complex.h (complex<>): Comment out friend
250 declarations of abs<> specializations.
251 (abs): Define primary template.
253 * src/complex.cc (abs): Comment out specialization definition.
255 2000-10-30 Phil Edwards <pme@sources.redhat.com>
257 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
258 the default of 2 to 3.
259 * configure.in: Fix minor typos. SUBST the values of enable_shared
260 and enable_static so that mkcheck will be aware of them. Put the
261 test for gconv.h in with all the other header tests.
262 * aclocal.m4: Regenerate.
264 * Makefile.in: Ditto.
265 * libio/Makefile.in: Ditto.
266 * libmath/Makefile.in: Ditto.
267 * libsupc++/Makefile.in: Ditto.
268 * src/Makefile.in: Ditto.
270 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
271 _G_USING_THUNKS to 0.
273 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
275 * src/complex_io.cc : Remove ancient defines.
276 * config/os/gnu-linux/bits/os_defines.h: Add defines.
277 * libsupc++/tinfo2.cc: Change to cstddef.
279 * include/bits/codecvt.h: Add include of c++config.h, so that
280 __USE_GNU gets defined. (Important for alpha.)
282 * include/c/bits/std_cwctype.h: Same.
283 * include/c/bits/std_ctime.h: And here.
284 * include/c/bits/std_cstdarg.h: Same.
285 * include/c/bits/std_csignal.h: Same.
286 * include/c/bits/std_csetjmp.h: Same.
287 * include/c/bits/std_clocale.h: Same.
288 * include/c/bits/std_climits.h: Touch.
289 * include/c/bits/std_cfloat.h: Same.
290 * include/c/bits/std_cerrno.h: Same.
291 * include/c/bits/std_cwchar.h: Same.
292 * include/c/bits/std_cassert.h: Same.
293 * include/c/bits/std_cctype.h: Same.
294 * include/c/bits/std_cstddef.h: And here.
295 * include/c/bits/std_cstdlib.h: And here.
296 * include/c/bits/std_cstdio.h: Same.
297 * include/c/bits/std_cstring.h: Add names to namespace std::.
299 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
301 (_ISOC99_SOURCE): And this one....
302 * config/os/gnu-linux/bits/os_defines.h: ...to here.
304 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
305 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
307 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
308 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
310 2000-10-30 Steven King <sxking@uswest.net>
312 * include/bits/codecvt.h: Add cast.
313 * include/c_std/stdio.h: Re-add printf using declaration.
314 * include/c_std/bits/std_cstdio.h: Same
315 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
316 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
317 * testsuite/22_locale/facet.cc: Same.
318 * testsuite/22_locale/global_templates.cc: Same.
319 * testsuite/22_locale/operators.cc: Same.
320 * testsuite/22_locale/static_members.cc: Same.
321 * testsuite/26_numerics/c_math.cc: Same.
322 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
323 * testsuite/27_io/fpos.cc: Same.
324 * testsuite/27_io/istream_extractor_arith.cc: Same.
325 * testsuite/27_io/istream_unformatted.cc: Same.
326 * testsuite/27_io/ostream_inserter_arith.cc: Same.
327 * testsuite/27_io/streambuf.cc: Same.
329 2000-10-30 Mark Mitchell <mark@codesourcery.com>
331 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
332 for cabs, cabsf, and cabsl, too.
333 * aclocal.m4: Regenerated.
334 * config.h.in: Likewise.
335 * configure: Likewise.
336 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
338 * libmath/Makefile.in: Regenerated.
339 * libmath/complex-stub.h (cabs): Don't declare if the system
340 already provides this function.
343 * src/complex.cc (abs): Directly use `hypot' since we can't call
346 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
348 * acinclude.m4: Update URL on egcs.cygnus.com to point to
350 * aclocal.m4, configure: Regenerate.
351 * src/gen-num-limits.cc, include/bits/c++config,
352 include/bits/stl_config.h: Remove EGCS references.
354 2000-10-29 Mark Mitchell <mark@codesourcery.com>
356 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
357 building shared executables.
359 2000-10-29 Mark Harig <mharig@landmark.com>
361 * src/Makefile.am: Change logic for include dir options.
362 * src/Makefile.in: Regenerate.
363 * libsupc++/Makefile.am: Ditto.
364 * libsupc++/Makefile.in: Regenerate.
366 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
368 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
369 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
370 with libgcj build issues and improve consistency with the source
371 directory's include directory setup.
372 * configure: Regenerate.
373 * acinclude.m4: Same here.
374 * aclocal.m4: Regenerate.
375 * mknumeric_limits (OUT_H): Also change paths here.
376 * mkcheck.in (C_DIR): And here.
377 * mkc++config (OUT_H): And here.
378 * libmath/Makefile.am (INCLUDES): And here.
379 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
380 * libio/Makefile.am: Ditto.
381 * libsupc++/Makefile.am (INCLUDES): Ditto.
383 2000-10-29 Mark Mitchell <mark@codesourcery.com>
385 * config/c_io_libio.cc (basic_file<char>::__basic_file):
386 Don't pass a NULL _IO_wide_data to _IO_no_init when
387 _GLIBCPP_USE_WCHAR_T is not defined.
388 * config/c_io_libio.h (_IO_codecvt): Don't declare when
389 _GLIBCPP_USE_WCHAR_T is not defined.
390 * config/c_io_libio_codecvt.c: Don't compile it
391 when _GLIBCPP_USE_WCHAR_T is not defined.
392 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
393 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
395 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
396 include it when _GLIBCPP_USE_WCHAR_T is not defined.
397 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
398 when _GLIBCPP_USE_WCHAR_T is not defined.
399 * src/localename.cc (locale::_Impl::_M_construct_collate):
400 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
402 (locale::_Impl::_M_construct_ctype): Likewise.
403 (locale::_Impl::_M_construct_monetary): Likewise.
404 (locale::_Impl::_M_construct_numeric): Likewise.
405 (locale::_Impl::_M_construct_time): Likewise.
406 (locale::_Impl::_M_construct_messages): Likewise.
408 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
409 * aclocal.m4: Regenerated.
410 * configure: Likewise.
411 * config/os/irix/bits/atomicity.h: New file.
412 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
414 (__off64_t): Likewise.
415 (__ssize_t): Likewise.
416 (_G_USING_THUNKS): Define to zero.
418 2000-10-28 Mark Mitchell <mark@codesourcery.com>
420 * src/string-inst.cc (basic_string<C>::npos): Explicitly
423 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
425 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
427 Clean up naming, consistency in "C" library autoconf testing.
428 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
429 GLIBCPP_CHECK_CTYPE_SUPPORT.
430 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
431 * aclocal.m4: Regenerate.
432 * configure.in: And here.
433 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
434 * configure: Regenerate.
436 2000-10-26 David Edelsohn <edelsohn@gnu.org>
438 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
439 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
441 2000-10-26 Phil Edwards <pme@sources.redhat.com>
442 David Edelsohn <dje@watson.ibm.com>
444 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
445 --gc-sections stuff entirely to avoid misleading people.
446 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
447 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
449 * libio/libio.h: Simplify, make fewer assumptions. Define those
450 macros which must be defined.
451 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
454 2000-10-26 Mark Mitchell <mark@codesourcery.com>
456 * include/backward/streambuf.h: New file.
458 2000-10-26 David Edelsohn <dje@watson.ibm.com>
460 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
461 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
462 * config/os/aix/bits/os_defines.h: Add AIX defines.
464 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
466 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
467 * aclocal.m4: Regenerate.
468 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
469 * configure: Regenerate.
470 * docs/configopts.html: Remove.
471 * src/complexl.cc: Revert.
472 * config.h.in: Remove.
473 * include/c_std/bits/std_cmath.h: Remove guards based on
474 _GLIBCPP_USE_LONG_DOUBLE.
475 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
476 with respect to long double signatures.
478 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
480 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
481 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
482 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
483 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
484 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
486 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
488 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
489 Use __valarray_copy_construct only where appropriate.
491 2000-10-25 Mark Mitchell <mark@codesourcery.com>
493 * Makefile.in (check): Don't make mkcheck executable.
494 (check-install): Likewise.
495 * configure.in (AC_OUTPUT): Make mkcheck executable.
496 * mkcheck.in (top_srcdir): New variable.
497 (INC_PATH): Set the path to the backward and ext directories
500 2000-10-25 Phil Edwards <pme@sources.redhat.com>
502 * configure.in: Check for gconv.h.
503 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
505 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
506 * libio/_G_config.h: And here.
507 * libio/iofwide.c: And here.
508 * libio/libio.h: And here.
510 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
511 exception specification to match declaration.
512 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
514 2000-10-24 Mark Harig <mharig@landmark.com>
516 * docs/configopts.html: Added documentation for the
517 "--enable-version-specific-runtime-libs" and
518 "--with-gxx-include-dir" configuration switches.
520 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
522 * include/bits/stl_pair.h (make_pair): Add LWG solution.
524 * testsuite/21_strings/compare.cc (test01): Inject namespace std
527 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
530 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
532 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
534 2000-10-24 Phil Edwards <pme@sources.redhat.com>
536 * acconfig.h: List _GLIBCPP_USE_THREADS.
537 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
538 correction, etc. Add comments about following *real* changes
540 (GLIBCPP_ENABLE_C_MBCHAR): New test...
541 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
542 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
544 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
545 macro _GLIBCPP_USE_THREADS in c++config.h.
546 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
547 this is used in both makefiles and shell scripts (mkcheck).
548 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
550 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
551 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
552 something harmless, like int.
554 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
555 add comment/instructions.
556 * config/os/bsd/bits/os_defines.h: Ditto.
557 * config/os/generic/bits/os_defines.h: Ditto.
558 * config/os/gnu-linux/bits/os_defines.h: Ditto.
559 * config/os/irix/bits/os_defines.h: Ditto.
560 * config/os/newlib/bits/os_defines.h: Ditto.
561 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
562 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
564 * mkcheck.in: Limit the available heap size for testsuite
565 binaries, initially at 2MB.
567 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
569 * testsuite/21_strings/compare.cc (test01): Add using declarations.
571 * include/c_std/bits/std_cerrno.h: And here.
572 * include/c_std/bits/std_cassert.h: Tweaks.
574 * mkcheck.in: Simplify.
576 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
577 (GLIBCPP_ENABLE_LONG_LONG): Same.
578 * aclocal.m4: Regenerate.
580 * src/Makefile.am (c_shadow_headers): Add features.h,
581 bits/wrap_features.h.
582 * src/Makefile.in: Regenerate.
583 * include/c_std/features.h: New file.
584 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
585 file. Need to have c++config.h included before this file so
586 _ISOC99_SOURCE around.
588 * include/c_std/sys/cdefs.h: Hack.
589 * include/c_std/stdlib.h: Same, use c++config.h.
590 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
592 * include/c_std/bits/std_cassert.h: Fix.
593 * include/c_std/bits/std_cerrno.h: Make consistent.
595 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
596 declaration from ::_C_legacy to _C_legacy.
598 * include/c_std/bits/std_cstdio.h: same with printf.
599 * include/c_std/stdio.h: And here.
601 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
602 * include/c_std/stdlib.h: Same here.
604 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
606 * testsuite/21_strings/compare.cc (test01): Add using declarations.
608 * include/c_std/bits/std_cerrno.h: And here.
609 * include/c_std/bits/std_cassert.h: Tweaks.
611 * mkcheck.in: Simplify.
613 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
614 (GLIBCPP_ENABLE_LONG_LONG): Same.
615 * aclocal.m4: Regenerate.
617 * src/Makefile.am (c_shadow_headers): Add features.h,
618 bits/wrap_features.h.
619 * src/Makefile.in: Regenerate.
620 * include/c_std/features.h: New file.
621 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
622 file. Need to have c++config.h included before this file so
623 _ISOC99_SOURCE around.
625 * include/c_std/sys/cdefs.h: Hack.
626 * include/c_std/stdlib.h: Same, use c++config.h.
627 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
629 * include/c_std/bits/std_cassert.h: Fix.
630 * include/c_std/bits/std_cerrno.h: Make consistent.
632 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
633 declaration from ::_C_legacy to _C_legacy.
635 * include/c_std/bits/std_cstdio.h: same with printf.
636 * include/c_std/stdio.h: And here.
638 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
639 * include/c_std/stdlib.h: Same here.
641 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
643 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
644 * aclocal.m4: Regenerate.
645 * configure.in: Use it.
646 * configure: Regenerate.
647 * src/complexl.cc: Fixup.
648 * include/c_std/bits/std_cmath.h: Fixup.
649 * include/c/bits/std_cmath.h: Fixup.
650 * docs/configopts.html: Add docs.
652 * docs/links.html: Add links to defects list, standards FAQ.
654 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
655 with string creation that allocate huge ammounts of memory.
657 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
660 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
662 * libsupc++/exception.cc: Use namespace std.
663 * libsupc++/new: DITTO.
664 * libsupc++/new_op.cc: DITTO.
665 * libsupc++/new_opnt.cc: DITTO.
666 * libsupc++/new_opv.cc: DITTO.
667 * libsupc++/new_opvnt.cc: DITTO.
668 * libsupc++/tinfo.cc: DITTO.
669 * libsupc++/tinfo.h: DITTO.
670 * libsupc++/vec.cc: DITTO.
671 * libsupc++/Makefile.am: Blank lines removal.
673 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
675 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
676 docs/17_intro/howto.html, docs/18_support/howto.html,
677 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
678 docs/21_strings/howto.html, docs/22_locale/howto.html,
679 docs/23_containers/howto.html, docs/24_iterators/howto.html,
680 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
681 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
682 Remove many EGCS references; use current absolute URLs on
683 gcc.gnu.org or sources.redhat.com for messages in list archives.
684 * docs/faq/index.txt: Regenerate.
686 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
688 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
689 creation of state_type for unicode_codecvt to take into account
690 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
691 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
692 * include/bits/codecvt.h (__enc_traits): Add support for encodings
693 that need a byte order marker. Needed for correct unicode support.
695 * src/locale.cc: Remove explicit qualification std::.
696 (locale::locale(const char* __name)): Revert, as named locale
697 support not finished.
698 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
699 size_t __refs, bool __has_name = false, string __name): Move
701 * include/bits/localefwd.h: Here.
703 2000-10-18 Chip Salzenberg <chip@valinux.com>
705 * libio/libio.h (_IO_USER_LOCK): Define.
707 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
709 * libsupc++/Makefile.am (exception): Change exception.cc to
710 exception_support.cc.
711 (CXXLINK): Remove bogus --tag CC.
712 * libsupc++/Makefile.in: Regenerate.
713 * libsupc++/exception.cc: Move to...
714 * libsupc++/exception_support.cc: ...here.
716 * src/Makefile.am: Remove bogus --tag CC.
717 * src/Makefile.in: Regenerate.
719 * include/bits/locale_facets.tcc (use_facet): Simplify.
720 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
721 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
722 (use_facet<ctype<wchar_t> >): Same.
723 * src/locale-inst.cc: Remove explicit instantiation.
724 * src/locale.cc: Correct signature here too.
725 (_Bad_use_facet::what()): Correct error string.
726 * include/bits/localefwd.h: Correct comment.
728 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
730 2000-10-17 Martin Buchholz <martin@xemacs.org>
732 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
733 * testsuite/27_io/ostream_seeks.cc: Similarly.
735 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
737 via Alexandre Oliva <aoliva@redhat.com>
738 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
739 * libsupc++/Makefile.in: Regenerate.
740 * src/Makefile.am: Duplicate code.
741 * src/Makefile.in: Regenerate.
743 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
744 * aclocal.m4: Regenerate.
745 * configure.in: And here.
746 * configure: Regenerate.
748 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
749 test for SECTION_LDFLAGS.
751 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
753 Shadow headers would work if libsupc++ was strict about namespaces.
754 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
755 * include/c_std/assert.h: Add guards.
756 * include/c_std/bits/std_climits.h: Correct typo.
757 * include/c_std/ctype.h: Remove #error.
759 * libio/libioP.h: Break up extern "C" bits around includes.
760 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
762 * libio/libioP.h: Same here.
764 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
766 * include/c_std/unistd.h: Define some types only when defined in
767 the original unistd.h.
768 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
769 definition of size_t, ptrdiff_t and NULL.
770 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
772 2000-10-15 Phil Edwards <pme@sources.redhat.com>
774 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
776 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
777 Mark Harig <markh@landmark.com>
779 * src/Makefile.am (toolexeclibdir): Add support fo
780 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
781 * src/Makefile.in: Regenerate.
782 * libsupc++/Makefile.am: Same.
783 (glibcppinstalldir): Adjust.
784 * libsupc++/Makefile.in: Regenerate.
785 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
786 * Makefile.in: Regenerate.
787 * docs/configopts.html: Add descriptions of flags.
789 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
791 * libsupc++/Makefile.am: Use it.
792 * libio/Makefile.am: Use it.
793 * libmath/Makefile.am: Use it.
794 * src/Makefile.am: Use it.
795 * Makefile.am (AM_MAKEFLAGS): Remove includes.
797 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
798 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
799 * configure.in: Use it.
801 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
803 * src/Makefile.am (CXXCOMPILE): Remove.
804 * src/Makefile.in: Regenerate.
805 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
806 * libsupc++/Makefile.in: Regenerate.
808 * include/c_std/*: Merge with shadow.
809 * include/c_std/bits/*: Same.
811 * shadow: Remove directory.
812 * shadow/*: De-populate.
814 2000-10-11 Phil Edwards <pme@sources.redhat.com>
816 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
817 exception-throwing code for linker test.
818 * aclocal.m4: Regenerate.
819 * configure: Regenerate.
821 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
823 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
824 * libsupc++/include: Remove
825 * libsupc++/include/*: Move to ...
827 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
828 (glibcppinstalldir): New.
830 * src/Makefile.am (c_base_headers): New.
831 (c_shadow_headers): New
833 (myinstallheaders): Correct install issues.
834 * src/Makefile.in: Regenerate.
836 * Makefile.am (CSHADOW_INCLUDES): Simplify.
837 * Makefile.in: Regenerate.
838 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
839 * aclocal.m4: Regenerate.
840 * mkcheck.in (SRC_DIR): Use it.
842 * include/bits/std_stdexcept.h: And here.
843 * include/bits/std_ios.h: Change std_exception.h to exception.
844 * src/locale.cc: And here.
845 * src/locale-inst.cc: And here.
847 * include/bits/valarray_array.h: And here.
848 * include/bits/stl_alloc.h: And here.
849 * include/bits/stl_algobase.h: And here.
850 * include/bits/pthread_allocimpl.h: And here.
851 * include/bits/stl_construct.h: Change to std_new.h to new.
853 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
855 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
856 (headers): Remove duplicated headers.
857 (std_headers): And here.
858 * src/Makefile.in: Regenerate.
859 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
860 * libsupc++/Makefile.in: Regenerate.
861 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
862 (AM_MAKEFLAGS): And here.
863 * Makefile.in: Regenerate.
864 * include/bits/std_typeinfo.h: Remove.
865 * include/bits/std_new.h: Remove
866 * include/bits/std_exception.h: Remove.
868 * std/typeinfo: Remove.
869 * std/exception: Remove.
871 * libio/_G_config.h (__need_ptrdiff_t): Add.
873 * libsupc++/include/new: Change stddef.h to cstddef.
874 * libsupc++/tinfo.h: Change limits.h to climits.
875 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
876 renders the file uncompilable. Add copyright.
878 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
879 namespace, as it is a fundamental type.
881 2000-10-09 Richard Henderson <rth@cygnus.com>
883 * libsupc++/pure.cc: New file.
884 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
885 (sources): Add pure.cc.
886 * libsupc++/Makefile.in: Regenerate.
888 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
890 * docs/configopts.html: Edit.
892 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
893 * libio/Makefile.in: Regenerate.
894 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
895 * libmath/Makefile.in: Regenerate.
896 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
897 * libsupc++/Makefile.in: Regenerate.
899 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
900 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
901 CSHADOW_INCLUDES up here.
902 * Makefile.in: Regenerate.
903 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
905 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
906 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
907 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
908 * src/Makefile.in: Regenerate.
910 * include/c: New directory.
911 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
912 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
913 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
914 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
915 std_cwchar.h, std_cwctype.h): Add, moving from...
916 * include/bits: ...here.
917 * include/c_std: New directory.
918 * include/c_std/bits/*: Populate from...
919 * shadow: ...here. Remove directory.
921 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
923 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
924 (INCLUDES): Add glibcpp_includedir.
925 * libsupc++/Makefile.in: Regenerate.
927 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
928 * aclocal.m4: Regenerate.
929 * config/os/*/bits/os_defintes: Adjust copyright dates.
931 2000-10-08 Phil Edwards <pme@sources.redhat.com>
933 * include/bits/c++config: Include <bits/os_defines.h>
934 * config/os/aix/bits/os_defines.h: New file.
935 * config/os/bsd/bits/os_defines.h: Ditto.
936 * config/os/generic/bits/os_defines.h: Ditto.
937 * config/os/gnu-linux/bits/os_defines.h: Ditto.
938 * config/os/irix/bits/os_defines.h: Ditto.
939 * config/os/newlib/bits/os_defines.h: Ditto.
940 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
941 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
942 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
944 2000-10-07 David Edelsohn <dje@watson.ibm.com>
946 * config/os/aix/bits/atomicity.h: New file.
948 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
950 * acinclude.m4: Remove CPU_FLAGS
951 * libio/Makefile.am: Here too.
952 * Makefile.am: Here too.
954 * src/Makefile.am (CONFIG_INCLUDES): Remove.
955 (INCLUDES): Remove CONFIG_INCLUDES.
956 (cpu_headers): Remove.
957 (myinstallheaders): Remove cpu_headers.
958 (generated_headers): Rename to build_headers.
959 (build_headers): Add atomicity.h, ctype_base.h,
960 ctype_specializations.h.
962 * config/os: New directory.
963 * config/aix: Move to...
964 * config/bsd: Move to...
965 * config/generic: Move to...
966 * config/gnu-linux: Move to...
967 * config/irix: Move to...
968 * config/newlib: Move to...
969 * config/solaris: Move to...
972 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
974 * acinclude.m4: Remove CPU_FLAGS
975 * libio/Makefile.am: Here too.
976 * Makefile.am: Here too.
978 * src/Makefile.am (CONFIG_INCLUDES): Remove.
979 (INCLUDES): Remove CONFIG_INCLUDES.
980 (cpu_headers): Remove.
981 (myinstallheaders): Remove cpu_headers.
982 (generated_headers): Rename to build_headers.
983 (build_headers): Add atomicity.h, ctype_base.h,
984 ctype_specializations.h.
986 * config/os: New directory.
987 * config/aix: Move to...
988 * config/bsd: Move to...
989 * config/generic: Move to...
990 * config/gnu-linux: Move to...
991 * config/irix: Move to...
992 * config/newlib: Move to...
993 * config/solaris: Move to...
996 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
998 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
999 CONFIG_CXXFLAGS from here, and move to...
1000 * src/Makefile.in: Regenerate.
1001 * Makefile.am: ... here. Clean.
1002 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1003 (WARN_CXXFLAGS): Same.
1004 (CONFIG_CXXFLAGS): Same.
1005 * Makefile.in: Regenerate.
1006 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1007 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1008 * libsupc++/Makefile.in: Regenerate.
1010 Change math to libmath.
1011 * math: Move to libmath, delete.
1012 * libmath: New directory.
1013 * libmath/*: Populate.
1014 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1015 (libstdc___la_LIBADD): Same.
1016 * src/Makefile.in: Regenerate.
1017 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1018 * configure: Regenerate.
1019 * Makefile.am (SUBDIRS): Add libmath.
1020 * Makefile.in: Regenerate.
1021 * README (file): Change name.
1023 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1024 Richard Henderson <rth@cygnus.com>
1025 Alexandre Oliva <aoliva@redhat.com>
1027 * libsupc++: New directory.
1028 * libsupc++/*: Populate.
1029 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1030 eh-common.h, gansidecl.h.
1031 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1032 * configure: Regenerate.
1033 * Makefile.am (SUBDIRS): Add libsupc++.
1034 * Makefile.in: Regenerate.
1035 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1036 * src/Makefile.in: Regenerate.
1037 * libio/Makefile.am: Remove extraneous, confusing bits.
1038 * libio/Makefile.in: Regenerate.
1040 2000-10-05 Brent Verner <brent@rcfile.org>
1042 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1043 test for _M_gcount < in_avail(), as in_avail() only reports info
1044 for current buffer, causing method to return at end of buffer.
1045 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1046 * testsuite/27_io/istream_unformatted-3.txt: New file.
1047 * testsuite/27_io/istream_unformatted-3.tst: New file.
1049 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1051 * README (file): Adjust directory structures.
1052 * mkcheck.in (INC_PATH): Adjust for header changes.
1054 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1056 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1057 for public relations purposes.
1058 * aclocal.m4: Regenerated.
1059 * configure: Regenerated.
1061 * docs/ext/howto.html: Additional explanation about hashing.
1063 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1065 * include: New directory.
1066 * include/backward: New directory.
1067 * include/bits: New directory.
1068 * include/ext: New directory.
1069 * include/std: New directory.
1070 * include/*/*: Populate.
1072 * backwards: Move to include/backwards, delete.
1073 * bits: Move to include/bits, delete.
1074 * ext: Move to include/ext, delete.
1075 * std: Move to include/std, delete.
1077 * src/complex.cc: Adjust include of mathconf.
1079 * mkc++config (BASE_H): Add include.
1081 * src/Makefile.am: Support for topleve sources include directory.
1082 (INCLUDES): Add LIBMATH_INCLUDE.
1083 * src/Makefile.in: Regenerate.
1084 * math/Makefile.am (INCLUDES): Append /include.
1085 * math/Makefile.in: Regenerate.
1086 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1087 * libio/Makefile.in: Regenerate.
1089 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1091 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1093 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1095 * docs/22_locale/howto.html: Add link to proto-documentation on
1097 * docs/documentation.html: Rename links for clarity.
1099 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1100 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1101 * src/Makefile.in: Regenerate.
1103 2000-10-02 Steven King <sxking@uswest.net>
1105 * mkcshadow: Fixed script to output proper include guard.
1106 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1107 * libio/_G_config.h: Hacked to make work with shadow heraders.
1108 * shadow/*: Hacked to make shadow headers work.
1110 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1112 Self-compile with shadow headers.
1113 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1114 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1115 it becomes the default way the library is built.
1116 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1117 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1118 * config/gnu-linux/ctype.cc (ctype): Use it.
1120 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1122 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1123 memset. This should not be necessary, but an ambiguous overload
1126 * shadow/bits/std_cwchar.h: Fix.
1127 * shadow/wchar.h: Fix.
1129 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1130 enums into namespace std:: for ctype_base enum. Other OS types
1131 will have to do this as well.
1132 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1133 namespace std, in particular __ctype_toupper, __ctype_tolower,
1136 * shadow/iolibio.h: New file.
1137 * shadow/bits/wrap_iolibio.h: New file.
1138 * shadow/libioP.h: New file.
1139 * shadow/bits/wrap_libioP.h: New file.
1140 * shadow/bits/wrap_fcntl.h: New file.
1141 * shadow/fcntl.h: New file.
1142 * shadow/iconv.h: New file. Inject iconv names into the global
1143 namespace, unmangled for the moment.
1144 * shadow/bits/wrap_iconv.h: New file.
1145 * shadow/unistd.h: Remove. Useless.
1146 * shadow/bits/wrap_unistd.h: Remove.
1148 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1149 * src/Makefile.in: Regenerate.
1151 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1153 * shadow/libio.h: Fix.
1154 * shadow/bits/wrap_libio.h: Fix.
1156 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1157 which will not compile.
1158 * shadow/bits/std_ctime.h: Same.
1160 * shadow/pthread.h: New file. Put pthreads types and functions
1161 into global scope, which is probably not the correct long-term
1162 solution but has to be done at the moment before libio wrappers
1163 can even be started.
1164 * shadow/bits/wrap_pthread.h: New file.
1166 * bits/std_ios.h: Formatting tweak.
1167 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1169 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1170 tests for compiler features.
1171 * aclocal.m4: Regenerate.
1172 * configure: Regenerate.
1174 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1176 * libio/libioP.h: Comment out fcntl.h include.
1178 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1180 * bits/c++config: Define _ISOC99_SOURCE.
1182 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1183 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1184 * aclocal.m4: Regenerate.
1185 * configure: Regenerate.
1186 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1187 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1188 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1189 std or shadow directories.
1190 (LTCXXCOMPILE): Same.
1191 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1192 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1193 * src/Makefile.in: Regenerate.
1195 * src/complex.cc (FCT): Change ::name to name.
1196 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1197 * src/complexf.cc (FCT): Same.
1199 * src/complexf.cc: Remove FCT define, as things are properly
1200 overloaded in the std namespace with the shadow headers.
1201 * src/complexl.cc: Same.
1202 * src/complex.cc: Same.
1204 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1206 * docs/documentation.html: Add link to...
1207 * docs/ext/howto.html: ...this. New dir/file, describing library
1208 extensions (both ours and SGI's).
1209 * docs/faq/index.html: Small updates.
1210 * docs/faq/index.txt: Regenerate.
1212 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1214 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1216 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1218 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1220 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1222 * src/localename.cc (locale::_Imp) : Remove typedefs.
1223 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1224 __f): Consistency check, call _Imp ctor with reference argument
1226 * bits/localefwd.h: Change _S_num_categories to
1227 _S_categories_num. Add new data member, _S_facets_num, which is
1228 the number of standard facets.
1230 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1232 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1234 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1236 * docs/thanks.html: More thanks.
1237 * docs/18_support/howto.html: Fix thinko.
1238 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1239 Redo the string transformation notes and link to...
1240 * docs/22_locale/howto.html: ...here.
1242 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1244 * src/locale-inst.cc: Add time_put_byname and
1245 time_get_byname instantiations.
1246 * bits/locale_facets.h: Correct default, private derivation to
1247 public derivation in _byname declarations.
1248 * src/locale.cc (locale::classic()): Simplify.
1249 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1250 const string& __name, category __cat, size_t __refs): Re-work for
1252 (_M_normalize_category_names): Remove.
1254 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1255 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1257 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1259 * bits/std_bitset.h (operator>>): Change to char_type.
1261 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1263 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1264 name setting. Add checks for NULL __name pointers. Remove calls to
1265 _S_initialize() as initial locale initialization can either be
1266 assumed, or needs to be made consistent throughout locale
1268 (locale::locale(const locale& __other, const char* __name,
1269 category __cat): Add checks for NULL name. Add checks for
1271 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1272 const string& __name, category __cat, size_t __refs)): Set correct
1273 name, has_name values.
1274 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1275 * docs/22_locale/locale.html: New file, more unfinished docs...
1277 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1279 * src/locale.cc (locale::name()): Implement.
1280 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1281 string __name = "*")): Change signature.
1282 (locale::classic): Initialize the "C" locale as a named locale.
1283 * bits/localefwd.h (locale): Change _M_num_references to
1284 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1286 * bits/localefwd.h: Tweaks.
1287 * src/localename.cc: Tweaks.
1288 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1291 * bits/basic_string.h: Consistency check, change _M_state ->
1294 2000-09-14 Brendan Kehoe <brendan@zen.org>
1296 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1299 * src/Makefile.an (headers): Also install backward/fstream.h.
1300 * src/Makefile.in: Regenerate.
1302 * bits/char_traits.h (char_traits<_CharT>::get_state,
1303 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1304 argument in by reference, not by value. Uglify to _S_get_state.
1305 (char_traits<*>::__eos): Uglify to _S_eos.
1306 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1307 Change __eos to _S_eos.
1309 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1311 * testsuite/22_locale/static_members.cc: New file.
1312 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1313 * src/locale.cc: Minor formatting tweaks.
1315 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1317 * testsuite/22_locale/global_templates.cc (test01): Add negative
1318 tests for use_facet.
1320 * bits/localefwd.h (locale::operator()): Minor tweaks.
1321 * bits/locale_facets.tcc (locale::operator()): Same.
1322 * testsuite/22_locale/operators.cc: New file.
1324 * testsuite/22_locale/facet.cc (output_iterator): Remove
1325 gnu_input_iterator, gnu_output_iterator.
1327 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1329 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1330 * aclocal.m4: Regenerate.
1331 * configure: Regenerate.
1333 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1334 snapshot release soon.
1335 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1336 is pretty much assumed.
1338 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1339 use_facet and has_facet.
1341 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1342 Modify/correct iconv signatures for glibc2.2.
1344 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1346 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1349 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1351 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1352 (locale): Make _Impl declaration public.
1354 2000-09-08 Felix Natter <fnatter@gmx.net>
1356 * docs/17_intro/porting-howto.html: New version.
1358 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1360 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1362 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1363 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1365 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1367 Add bits for --enable-maintainer-mode:
1368 - turns on enable_debug
1369 (doing "--enable-maint --disable-debug" will DTRT)
1370 - turns on -Werror, now off by default
1371 * acinclude.m4: Add bits.
1372 * aclocal.m4: Regenerate.
1373 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1374 * configure: Regenerate.
1376 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1378 * bits/std_cwctype.h: Remove yesterday's hacks.
1380 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1382 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1383 * testsuite/23_containers/set_operators.cc: New file. Should not
1385 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1387 2000-09-06 Richard Henderson <rth@cygnus.com>
1388 Benjamin Kosnik <bkoz@cygnus.com>
1390 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1391 * aclocal.m4: Regenerate.
1392 * configure: Regenerate.
1393 * config/cpu/ia64: New directory.
1394 * config/cpu/ia64/bits: New directory.
1395 * config/cpu/ia64/bits/atomicity.h: New file.
1397 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1399 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1400 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1402 * aclocal.m4: Regenerate.
1403 * configure: Regenerate.
1404 * */Makefile.in: Regenerate.
1406 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1407 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1409 * testsuite/23_containers/vector_element_access.cc: New file.
1410 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1412 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1414 * bits/string.tcc: Fix up more parameter names.
1416 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1418 * configure: Rebuilt with new libtool.m4.
1420 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1422 * src/locale-inst.cc: Remove pre-instantiation of unicode
1423 codecvt types. Now unnecessary, as locale header now correct.
1425 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1427 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1428 * src/locale.cc: Here.
1429 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1430 definition. Move specialization to ...
1431 * src/locale.cc: Here.
1432 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1433 * src/locale.cc: Here.
1434 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1435 * src/locale.cc: Here.
1437 * bits/std_locale.h: Note that locale_facets.tcc should be
1438 included here, for standards conformance. It may increase
1439 compile times though. For the time being, enable.
1440 * testsuite/22_locale/facet.cc: New file, some parts commented out
1443 * mkcheck.in: Append total time to test summary file.
1445 * bits/sbuf_iter.h : Formatting tweaks.
1447 Clean up static const data member definitions.
1448 * src/locale.cc: Add definitions for all missing locale,
1449 locale::_Imp, and locale::id static data members.
1450 (ctype<char>): Add table_size define.
1451 (money_base): Add _S_default_pattern, uglify.
1452 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1453 * bits/locale_facets.h: Tweaks.
1454 * bits/locale_facets.tcc: Tweaks.
1455 * bits/string.tcc: Add definition for npos.
1456 * bits/ios_base.h: Tweaks.
1457 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1459 * src/ios.cc: And here. Add _S_local_words definition.
1460 Add definitions for __ios_flags const static data.
1461 * src/codecvt.cc: Same for __enc_traits.
1462 * src/locale-inst.cc: Remove money_base data member definition
1465 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1467 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1469 * docs/22_locale/codecvt.html: Re-number.
1470 * docs/22_locale/howto.html: Add entry for ctype
1471 documentation. Add entry for Nathan's introduction to locales
1473 * docs/22_locale/ctype.html: New file. In progress...
1475 * docs/22_locale/codecvt.html: Formatting cleanups.
1476 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1478 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1480 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1481 tweaks for certain browsers.
1483 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1485 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1486 Add include for bits/std_cwctype.h, for wctype_t.
1487 * src/locale.cc (ctype<wchar_t>): Implement.
1488 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1489 typedef, instead name enum.
1490 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1491 * config/gnu-linux/ctype.cc: Tweak.
1492 * testsuite/22_locale/ctype.cc: Tweak.
1494 * bits/codecvt.h (__enc_traits): Uglify names.
1496 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1498 * docs/22_locale/codecvt.html: Add more bits, format.
1499 * bits/codecvt.h: Add copy ctor, rename types.
1500 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1502 * libio/iofwide.c: Tweak.
1504 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1506 * docs/configopts.html: Mention new options.
1507 * docs/install.html: Formatting changes for platform-specific
1508 pre-reqs, previously only Cygwin.
1509 * docs/mail.html: Fix new link.
1510 * docs/thanks.html: A couple more people.
1511 * docs/26_numerics/howto.html: Fix typo.
1513 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1515 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1516 * docs/22_locale/codecvt.html: New file. In progress.
1518 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1520 * acconfig.h: Revert.
1521 * acinclude.m4: Revert.
1522 * libio/_G_config.h: Revert.
1523 * libio/libio.h: Revert.
1525 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1527 * bits/codecvt.h: Tweaks.
1528 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1529 initial string literals for UCS4.
1531 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1533 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1534 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1535 definition as well, and some minor spelling/spacing fixes. If
1536 building libio, check for certain typedefs.
1537 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1538 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1539 will never be there.
1540 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1541 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1543 * configure.in: Update the cache a bit more often.
1545 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1547 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1549 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1550 __enc_traits> instantiations for has_facet and use_facet.
1551 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1552 testing two-byte unicode encodings converted to four-byte UCS4
1555 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1556 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1557 correct state/encoding information.
1559 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1560 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1562 Add checks for langinfo.h, nl_langinfo function call.
1563 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1565 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1567 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1568 ((unused)) to __attribute__ ((__unused__)).
1569 * config/cpu/arm/bits/atomicity.h: Same.
1570 * config/cpu/generic/bits/atomicity.h: Same.
1571 * config/cpu/i386/bits/atomicity.h: Same.
1572 * config/cpu/i486/bits/atomicity.h: Same.
1573 * config/cpu/powerpc/bits/atomicity.h: Same.
1574 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1575 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1577 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1579 * bits/basic_string.h: Fix up parameter names.
1581 2000-08-22 Brent Verner <brent@rcfile.org>
1583 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1585 * src/Makefile.in: Regenerate.
1587 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1589 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1590 up __enc_traits template so as to be marginally useful.
1591 * src/codecvt.cc: And here.
1592 * bits/char_traits: Tweak.
1593 * bits/locale_facets.h: Tweak.
1594 * bits/locale_facets.tcc: Tweak.
1595 * bits/localefwd.h: Tweak.
1596 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1597 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1598 * testsuite/22_locale/codecvt_char_char.cc: New file.
1599 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1601 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1603 * bits/std_cmath.h (std::abs): Overload for int and long.
1605 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1607 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1609 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1611 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1612 thinko. Diagnostic messages really need to be improved for
1613 template argument deduction.
1615 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1617 * bits/valarray_meta.h: Fix typos...
1619 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1621 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1622 _Expr<>::apply): Implement.
1624 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1626 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1628 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1631 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1633 * bits/localefwd.h (std::locale): Use explicit `class' specified
1634 when declaring friends.
1635 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1637 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1639 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1640 * src/Makefile.in: Regenerate.
1642 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1644 * bits/codecvt.h: New file.
1645 * src/codecvt.cc: New file.
1646 * bits/std_locale.h: Add include here.
1647 * src/Makefile.am (headers): Add codecvt.h
1648 (sources): Add codecvt.cc.
1649 * src/Makefile.in: Regenerate.
1650 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1651 __codecvt_abstract_base in an attempt to point some light this way...
1652 Move __enc_traits and codecvt bits to codecvt.h.
1653 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1654 explicit instantiation. Separate out codecvt instantations, simplify.
1655 * src/locale.cc: Move codecvt bits to codecvt.cc
1657 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1659 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1660 * src/Makefile.in: Regenerate.
1662 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1664 C/C++ io merge/sync.
1675 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1676 ((struct _IO_FILE_plus *) in ctors.
1677 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1678 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1679 * libio/cleanup.c: Remove.
1680 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1681 _IO_cleanup_registration_needed, even if not libc.
1683 * testsuite/27_io/stringstream.cc (test02): Fix.
1685 2000-08-14 Brent Verner <brent@rcfile.org>
1687 * testsuite/debug_assert.h: new file
1688 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1689 changed conditional #include <c?assert.?h?> to
1690 unconditional #include <debug_assert.h>
1691 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1692 for testsuite compile command.
1694 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1696 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1697 wofstream, filebuf, wfilebuf, fstream, wfstream.
1698 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1699 * bits/std_sstream.h: Same for stringstream and wstringstream.
1700 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1701 ostringstream, wostringstream.
1703 * testsuite/26_numerics/valarray.cc: Add test.
1705 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1707 * configure: Regenerate after change to ../libtool.m4.
1709 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1711 * bits/locale_facets.tcc: Formatting tweaks.
1712 * bits/locale_facets.h (__enc_traits): Start integrating this
1713 into codecvt, ctype. Formatting tweaks.
1715 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1717 Preliminary wchar_t implementation, with trivial encodings.
1718 * docs/configopts.html: Add bits about canonical configure option
1721 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1722 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1723 * testsuite/27_io/narrow_stream_objects.cc: New file.
1724 * testsuite/27_io/wide_stream_objects.cc: New file.
1726 * bits/fstream.tcc (underflow): Temporarily hack a solution
1727 together that writes from the external file to the internal
1728 buffers. This removes codecvt from the loop, and is incorrect.
1729 (_M_really_overflow): Same here.
1731 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1733 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1734 Ulrich Drepper <drepper@cygnus.com>
1736 * config/c_io_libio.h: Tweak.
1737 * config/c_io_libio_codecvt.c: New file.
1738 * libio/Makefile.am: Add c_codecvt.c.
1739 * libio/Makefile.in: Regenerate.
1740 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1741 stream is not orientated.
1743 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1744 encoding gets fleshed out.
1746 * bits/basic_file.h: Add specialization declarations.
1747 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1749 * config/c_io_libio.h: Add __c_wfile_type.
1750 * bits/basic_file.h: Add _M_wfile.
1752 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1753 streams without setting the orientation of the underlying FILE to
1754 either wide or narrow.
1755 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1757 2000-08-07 Felix Natter <fnatter@gmx.net>
1759 * docs/17_intro/porting-howto.html: New version.
1761 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1763 * bits/locale_facets.h (ctype::ctype): Don't name unused
1766 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1768 * docs/install.html: Edit bits about requiring a special version
1771 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1773 * libio/fileops.cc: Update to current glibc sources.
1774 * libio/genops.c: Same.
1775 * libio/iofwide.c: Same.
1776 * libio/libio.h: Same.
1777 * libio/libioP.h: Same.
1778 * libio/wfiledoalloc.c: Same.
1779 * libio/wgenops.c: Same.
1781 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1783 * acinclude.m4: Include ../libtool.m4.
1784 * aclocal.m4, configure: Rebuilt.
1786 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1788 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1789 before trying to use any of its options.
1790 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1791 * aclocal.m4: Regenerate.
1792 * configure.in: Having found GNU make, name it.
1793 * configure: Regenerate.
1794 * docs/install.html: Mention possible problems with caching.
1795 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1796 * src/Makefile.in: Regenerate.
1797 * libio/Makefile.in: Regenerate.
1798 * math/Makefile.in: Regenerate.
1799 * Makefile.in: Regenerate.
1801 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1803 * src/misc-inst.cc (std): Remove instantiations.
1805 * acinclude.m4: Add forward-looking bits for autoconf.
1806 * aclocal.m4: Regenerate.
1808 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1810 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1812 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1813 it back for current versions of maintainer-tools...
1814 * acinclude.m4: Some cleanups...
1815 * aclocal: Regenerated.
1816 * configure: Regenerated.
1818 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1819 optimizing/adapting the hash table using GNU ld.
1820 * src/Makefile.in: Regenerate.
1822 2000-07-24 H.J. Lu <hjl@gnu.org>
1824 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1825 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1826 files don't include private libio header files needed by
1828 * src/Makefile.in: Rebuild.
1830 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1832 * bits/std_fstream.h: Parameterize __basic_file.
1833 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1834 * bits/basic_file.h: Same here.
1836 * bits/istream.tcc (getline): Tweaks.
1838 * bits/fstream.tcc: Shorten __retval to __ret.
1839 * bits/ostream.tcc: Same.
1840 * bits/sbuf_iter.h: Same.
1841 * bits/sstream.tcc: Same.
1842 * bits/streambuf.tcc: Same.
1843 * bits/std_fstream.h: Same.
1844 * src/string-inst.cc: Same.
1846 * config/c_io_libio.cc: Same.
1847 * bits/string.tcc: Same.
1848 * bits/std_streambuf.h: Same.
1850 2000-07-23 Brent Verner <brent@rcfile.org>
1852 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1853 char_type) make compliant
1854 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1856 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1858 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1859 and srcdir used to define CSHADOW_INCLUDES..
1861 * configure.in: For consistency, change .sanity_warned to
1862 stamp-sanity-warned.
1864 * acinclude.m4: Tweak formatting.
1865 * Makefile.am (check): Call mkcheck with full pathname for build
1867 (check-install): And here.
1868 * Makefile.in: Regenerate.
1870 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1872 Line up with libstdc++-v2 version of valarray.
1873 * bits/valarray_array.h (__valarray_product): Make inline.
1874 * src/valarray-inst.cc (__valarray_product): Remove explicit
1877 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1879 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1882 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1883 Change return type to void.
1884 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1885 * testsuite/17_intro/header_ciso646.cc: Modify.
1886 * bits/locale_facets.h: Add return values for the generic cases.
1888 2000-07-21 H.J. Lu (hjl@gnu.org)
1890 * acinclude.m4: Include <features.h> for glibc testing.
1891 * aclocal.m4: Likewise.
1893 * configure: Rebuild.
1895 2000-07-20 H.J. Lu (hjl@gnu.org)
1897 * acinclude.m4: Change "#pragma system_header" to
1898 "#pragma GCC system_header".
1899 * aclocal.m4: Likewise.
1900 * bits/std_cmath.h: Likewise.
1901 * bits/std_cassert.h: Likewise.
1902 * bits/std_cctype.h: Likewise.
1903 * bits/std_cerrno.h: Likewise.
1904 * bits/std_cfloat.h: Likewise.
1905 * bits/std_climits.h: Likewise.
1906 * bits/std_clocale.h: Likewise.
1907 * bits/std_cwchar.h: Likewise.
1908 * bits/std_csetjmp.h: Likewise.
1909 * bits/std_csignal.h: Likewise.
1910 * bits/std_cstdarg.h: Likewise.
1911 * bits/std_cstddef.h: Likewise.
1912 * bits/std_cstdio.h: Likewise.
1913 * bits/std_cstdlib.h: Likewise.
1914 * bits/std_cstring.h: Likewise.
1915 * bits/std_ctime.h: Likewise.
1916 * bits/std_cwctype.h: Likewise.
1917 * bits/std_exception.h: Likewise.
1918 * bits/std_new.h: Likewise.
1919 * bits/std_typeinfo.h: Likewise.
1920 * shadow/bits/std_cassert.h: Likewise.
1921 * shadow/bits/std_cctype.h: Likewise.
1922 * shadow/bits/std_cerrno.h: Likewise.
1923 * shadow/bits/std_cfloat.h: Likewise.
1924 * shadow/bits/std_climits.h: Likewise.
1925 * shadow/bits/std_clocale.h: Likewise.
1926 * shadow/bits/std_cmath.h: Likewise.
1927 * shadow/bits/std_csetjmp.h: Likewise.
1928 * shadow/bits/std_csignal.h: Likewise.
1929 * shadow/bits/std_cstdarg.h: Likewise.
1930 * shadow/bits/std_cstddef.h: Likewise.
1931 * shadow/bits/std_cstdio.h: Likewise.
1932 * shadow/bits/std_cstdlib.h: Likewise.
1933 * shadow/bits/std_cstring.h: Likewise.
1934 * shadow/bits/std_ctime.h: Likewise.
1935 * shadow/bits/std_cwchar.h: Likewise.
1936 * shadow/bits/std_cwctype.h: Likewise.
1937 * shadow/bits/wrap_libio.h: Likewise.
1938 * shadow/bits/wrap_unistd.h: Likewise.
1939 * shadow/sys/cdefs.h: Likewise.
1941 * configure: Rebuild.
1943 2000-07-20 Jakub Jelinek <jakub@redhat.com>
1945 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
1946 Use extended word instructions to match 64bit _Atomic_word.
1947 (__atomic_add): Likewise.
1948 * math/clog10l.c (clog10l): Use M_PIl if defined.
1949 * math/c_logl.c (c_logl): Likewise.
1950 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
1951 * math/mathconf.h (ieee_quad_double_shape_type): New type.
1952 (GET_LDOUBLE_MSW64): New define.
1954 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
1956 * bits/std_streambuf.h: Add bits for pback buffers here, so that
1957 in_avail, etc can use them.
1958 * bits/std_fstream.h: Ditto.
1959 * bits/fstream.tcc: Ditto.
1960 * testsuite/27_io/filebuf.cc: Tweaks.
1961 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
1963 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
1965 * src/localename.cc: Same.
1966 * src/locale.cc: Same.
1967 * bits/localefwd.h: _M_init_facet to _M_facet_init.
1969 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
1971 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
1973 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
1974 * bits/std_fstream.h: Same.
1976 * bits/basic_string.h: Tweaks.
1978 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
1980 * docs/18_support/howto.html: Update.
1982 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1984 Internal consistency checks.....
1985 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
1988 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
1989 * bits/basic_ios.tcc: Same.
1991 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
1992 Change _M_fctype_buf to _M_buf_fctype.
1993 * bits/fstream.tcc: Same.
1995 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
1996 Change _M_locale_set to _M_buf_locale_init.
1997 * bits/streambuf.tcc: Same.
1998 * bits/sstream.tcc: Same.
1999 * bits/fstream.tcc: Same.
2001 * bits/std_streambuf.h: Make typedefs consistent.
2002 (_M_buf_bump): Be more careful with input sequence.
2004 * bits/std_sstream.h: Same.
2005 * bits/std_fstream.h: Same.
2007 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2009 * acinclude.m4: Tweaks.
2010 * config/c_io_libio.cc: Tweaks.
2011 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2012 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2013 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2014 * libio/iofclose.c iofopen.c, stdio.c: New files.
2015 * libio/Makefile.am: Add files, add flags, etc.
2016 * src/Makefile.am (sources): Add filebuf.cc.
2017 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2018 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2020 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2022 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2023 * configure.in: Use it. Also print reminders one time.
2024 * aclocal.m4: Regenerate.
2025 * configure: Regenerate.
2027 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2029 * bits/valarray_array.h (__valarray_get_storage): New function.
2030 (_Array<>::Array): Use it.
2031 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2032 (valarray<>::resize): Likewise. Tweak.
2033 * src/valarray-inst.cc (__valarray_product): Tweak.
2035 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2037 * docs: Update sourceware->sources in every HTML file. Minor updates.
2039 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2041 Clean up configure/build longstanding issues.
2042 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2043 (CXXLINK): Add here, instead.
2045 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2047 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2049 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2050 c_io_libio.cc instead of copying.
2051 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2053 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2054 c++threads.h instead of copying.
2055 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2058 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2059 * bits/basic_file.h: Declare.
2061 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2063 2000-07-07 brent verner <brent@rcfile.org>
2065 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2067 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2069 * bits/istream.tcc (istream::getline): Minor tweaks.
2071 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2073 * docs/download.html: Mention gcc_update.
2074 * docs/configopts.html: Minor updates.
2075 * docs/gccrebuild.html: Ditto.
2076 * docs/18_support/howto.html: More tips, explanations, and reminders.
2077 * docs/19_diagnostics/howto.html: Ditto.
2078 * docs/21_strings/howto.html: Ditto.
2079 * docs/24_iterators/howto.html: Ditto.
2080 * docs/25_algorithms/howto.html: Ditto.
2081 * docs/26_numerics/howto.html: Ditto.
2083 2000-07-05 brent verner <brent@rcfile.org>
2085 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2086 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2087 * config/c_io_libio.cc (__basic_file::open): Unset
2088 ~_IO_DELETE_DONT_CLOSE.
2090 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2092 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2093 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2094 Do not paste anything after 'operator' keyword.
2096 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2098 * bits/std_memory.h: Revert.
2100 2000-07-03 Brendan Kehoe <brendan@zen.org>
2102 * bits/std_complex.h: Fix parens. Format.
2104 2000-07-03 scott snyder <snyder@fnal.gov>
2106 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2107 from the input if base == 0.
2108 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2109 number with a leading `0' in hex mode.
2111 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2113 * mkinclosure: Change `==' to `=' in test.
2115 2000-07-03 Chip Salzenberg <chip@valinux.com>
2117 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2119 * src/Makefile.in: Regenerate.
2121 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2122 Ulrich Drepper <drepper@purist.soma.redhat.com>
2124 Sync libio to glibc-2.2 current CVS.
2125 * libio/_G_config.h: New file.
2126 * libio/wfileops.c: New file.
2127 * libio/wfiledoalloc.c: New file.
2128 * libio/wgenops.c: New file.
2129 * libio/iofwide.c: New file.
2130 * libio/Makefile.am: Tweaks.
2131 * libio/Makefile.in: Regenerate.
2132 * libio/gen-params: Remove. Generic replacement for this yet undone.
2133 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2134 libioP.h, stdfiles.c]: Update.
2135 * config/c_io_libio.cc: Tweaks.
2136 * acinclude.m4: Complete hacks to test wide io.
2137 * aclocal.m4: Regenerate.
2138 * configure: Regenerate.
2139 * src/Makefile.am: Update.
2140 * src/Makefile.in: Regenerate.
2142 * math/cargl.c: Remove underscores.
2144 * bits/locale_facets.h: Tweaks. Start adding iconv details
2146 * bits/locale_facets.tcc: Tweaks.
2147 * bits/std_cwchar.h: Tweaks.
2149 2000-06-29 scott snyder <snyder@fnal.gov>
2151 * bits/concept_checks.h
2152 (__less_then_comparable_requirement_violation): Only check for <.
2153 * testsuite/25_algorithms/lower_bound.cc: New file.
2155 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2157 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2158 * bits/ostream.tcc: Tweak.
2159 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2160 _M_buf_size_opt too.
2161 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2162 out _M_buf_size_opt.
2163 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2164 _M_buf_size_opt out here.
2165 * bits/char_traits.h (char_traits::eos): Non standard member
2166 function, uglify to __eos. Return char_type().
2167 * bits/std_ostream.h: Change.
2169 * testsuite/27_io/ostream_seeks.cc: New file.
2170 * testsuite/27_io/ostream_seeks-1.tst: New file.
2171 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2173 * testsuite/27_io/istream_seeks.cc: New file.
2175 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2177 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2178 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2179 (auto_ptr): _M_ptr changed to void*.
2180 (suto_ptr::get): Cast _M_ptr to element type.
2181 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2182 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2183 (auto_ptr::operator*): Likewise.
2184 (auto_ptr::operator->): Likewise.
2185 (auto_ptr::release): Likewise.
2186 (auto_ptr::reset): Likewise.
2187 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2188 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2189 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2190 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2192 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2194 * testsuite/27_io/filebuf.cc: Tweak.
2195 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2196 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2198 (__basic_file::basic_file): Clean, add calls similar to
2200 (__basic_file::open): Clean.
2201 (__basic_file::sys_open): Clean.
2203 * bits/std_fstream.h: Revert.
2204 * bits/fstream.tcc (filebuf::close()): Revert.
2205 (filebuf::basic_filebuf()): Revert.
2207 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2209 Update to SGI STL 3.3
2210 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2211 ext/stl_rope.h, ext/ropeimpl.h: Update.
2212 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2213 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2214 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2215 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2216 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2217 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2218 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2219 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2220 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2222 * src/Makefile.am (headers): Add new files.
2223 * src/Makefile.in: Regenerate.
2224 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2225 * bits/concept_checks.h: New file.
2226 * bits/container_concepts.h: New file.
2227 * bits/sequence_concepts.h: New file.
2229 2000-06-27 H.J. Lu <hjl@gnu.org>
2230 Loren J. Rittle <ljrittle@acm.org>
2232 * mkcheck.in: Add support to print standard flags needed to
2233 test g++ in build tree. Enhance command line error checking.
2235 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2237 * docs/install.html: Fix minor typo as reported.
2239 2000-06-26 Brent Verner <brent@rcfile.org>
2241 * bits/string.tcc (string::rfind): Fix.
2242 * testsuite/21_strings/rfind.cc: New file.
2244 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2246 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2248 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2250 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2252 * mkcheck.in: Make the *.txt and *.tst files writable after
2253 copying them to $TEST_DIR.
2255 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2256 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2257 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2259 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2261 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2262 (basic_filebuf::close): Use it.
2263 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2265 (basic_filebuf): Add _M_fileno_based data member.
2266 As reported by brent verner <brent@rcfile.org>
2267 * testsuite/27_io/filebuf_members.cc: New file.
2268 * testsuite/27_io/filebuf_members-1.tst: New file.
2270 * bits/std_fstream.h: Formatting tweaks.
2271 * testsuite/27_io/ofstream_members.cc: New file.
2272 * testsuite/27_io/ofstream_members-1.tst: New file.
2273 * testsuite/27_io/ifstream_members.cc: New file.
2274 * testsuite/27_io/ifstream_members-1.tst: New file.
2276 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2277 Ulrich Drepper <drepper@cygnus.com>
2279 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2280 that all the freaky stuff like sincos will be around...
2282 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2284 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2286 2000-06-22 Steven King <sxking@uswest.net>
2288 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2290 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2292 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2293 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2294 link against libm and don't use -fno-builtins...
2295 * math/mathconf.h: Change up builtin macros to new schema.
2296 * bits/std_cmath.h: And here. Wheee!
2297 * shadow/bits/std_cmath.h: And here.
2298 * acconfig.h: Change up builtin macros here.
2299 * math/cosf.c: Remove.
2300 * math/fabsf.c: Likewise.
2301 * math/sinf.c: Likewise.
2302 * math/sqrtf.c: Likewise.
2303 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2304 * math/Makefile.in: Regenerate.
2306 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2308 * testsuite/21_strings/find.cc: Patch.
2310 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2312 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2313 an easy way to get at g++ without having to link in libstdc++.
2315 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2317 Fix alpha, powerpc build failures.
2318 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2319 re-write. Need to check for both proper declaration when using a
2320 c++ compiler, and "C" linkage when linking. Do both, and if both
2321 exist, then define the HAVE_* bits in config.h.
2322 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2323 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2326 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2328 * bits/string.tcc: Fix find.
2329 * testsuite/21_strings/find.cc: Patch.
2331 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2333 * docs/install.html: Update where to get automake, where to get
2335 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2338 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2340 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2341 Add -Werror-implicit-function-declaration instead.
2343 Regenerate with fixed maintainer-tools.
2344 * aclocal.m4: Regenerate.
2345 * configure: Regenerate.
2346 * libio/Makefile.in: Regenerate.
2347 * src/Makefile.in: Regenerate.
2349 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2351 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2352 * bits/locale_factets.tcc: Tweak.
2354 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2356 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2357 be overridden on the command line for individual files.
2359 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2361 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2362 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2363 building. Use -x c++ instead, which does not attempt to link
2366 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2367 not coring when we hit a try/throw block, which was the problem
2368 with the linker support...
2370 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2372 * docs/documentation.html: Rename link to make more accurate and scary.
2373 * docs/gccrebuild.html: Edit for clarity as these are no longer
2375 * docs/install.html: Add bits about binutils for
2376 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2378 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2379 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2380 USE_COMPLEX_LONG_DOUBLE.
2381 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2382 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2383 Works around irregularies in powerpc "C" compiler, but a good idea
2386 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2387 New. Merge both old compiler bug checks for complex into this.
2389 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2391 * testsuite/21_strings/find.cc: Empty strings can be found at all
2392 positions. Modified.
2394 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2396 * testsuite/20_utilities: New directory.
2397 * testsuite/20_utilities/auto_ptr.cc: New file.
2399 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2401 * src/Makefile.am (string_sources): Simplify, assuming that with
2402 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2403 hacking is not necessary.
2404 (wstring_sources): Same.
2405 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2407 * src/string-inst.cc: Remove macro blocks.
2408 * mkcheck.in (CXX_FLAG): Add bits here.
2410 * src/string-inst.cc: Remove iostream-related string instantiations.
2411 * src/misc-inst.cc: Add here.
2413 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2415 * aclocal.m4: Regenerate.
2416 * configure.in: Change up.
2417 * configure: Regenerate.
2419 2000-06-13 Steven King <sxking@uswest.net>
2421 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2422 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2423 * acconfig.h: Add entries for fmod*.
2425 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2427 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2428 Test *_MODFF not *_MODF for modf(float, float*).
2429 (modf(float, float*)): Remove reference to _C_legacy.
2431 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2433 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2434 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2435 superset, and already defined at top level.
2436 * aclocal.m4: Regenerate.
2437 * configure: Regenerate.
2439 * docs/17_intro/contribute.html: Plead with people to use -cp.
2441 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2443 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2445 * testsuite/27_io/filebuf.cc: Changed calls to
2446 fpos<>._M_position() to implicit calls to operator streamoff().
2447 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2448 as not needed. Revert, as part of standard.
2449 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2450 call to numpunct<>._M_init() with overrides of the appropriate
2453 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2454 pointers from test01, so no need to call base(), which isn't
2455 guaranteed to be implemented as iterators may themselves be pointers
2456 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2457 _M_position() - use implicit conversion to streamoff instead
2459 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2461 * bits/stl_iterator.h: Added inline to operators == to >=.
2463 2000-06-13 Brent Verner <brent@rcfile.org>
2465 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2466 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2468 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2470 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2472 * src/locale.cc: Add cwchar include here. Remove incorrect
2473 definitions, and stub them out.
2474 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2475 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2476 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2477 * config/newlib/ctype.cc: Same.
2478 * config/gnu-linux/ctype.cc: Same.
2479 * config/bsd/ctype.cc: Same.
2480 * config/aix/ctype.cc: Same.
2482 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2484 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2485 towupper and towlower to convert wide characters.
2487 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2489 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2491 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2493 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2494 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2495 * aclocal.m4: Regenerate.
2496 * configure: Regenerate.
2497 * math/cosf.c: New file.
2498 * math/fabsf.c: Likewise.
2499 * math/sinf.c: Likewise.
2500 * math/sqrtf.c: Likewise.
2501 * math/Makefile.am (EXTRA_DIST): Add those four files.
2502 * math/Makefile.in: Regenerate.
2504 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2506 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2508 2000-06-06 Steven King <sxking@uswest.net>
2510 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2511 double and long double. Added defines for HAVE libm math functs for
2512 float and long double.
2513 * aclocal.m4: Added configure checks for builtin math funcs and libm
2514 support for float and long double versions of the math functions.
2515 * config.h.in: Added undefs for math functs.
2516 * configure: Regenerate.
2517 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2518 _GLIBCPP_HAVE_BUILTIN_*.
2519 * bits/std_cmath.h: Added long double support. Use builtins for
2520 float, double and long if available, otherwise, use libm versions if
2521 availible, otherwise, punt.
2522 * shadow/bits/std_cmath.h: ditto
2524 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2526 * bits/locale_facets.h: Tweak.
2527 * src/locale.cc (codecvt<wchar_t>): Tweak.
2529 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2530 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2532 * bits/basic_string.h: Move data member up.
2533 * src/string-inst.cc: Fix instantiations.
2534 * bits/string.tcc: Fix types.
2536 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2538 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2540 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2542 * bits/std_cwctype.h: Clean.
2543 * bits/std_cwchar.h: Clean, remove cruft.
2545 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2546 for beginning iconv support.
2547 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2549 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2550 * bits/limits_generic.h: Remove.
2551 * src/gen-num-limits.cc: Same.
2553 * src/locale.cc: Tweaks.
2555 * bits/char_traits.h: Tweaks.
2557 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2559 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2560 exponent, scientific formatting issues.
2561 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2563 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2565 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2566 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2568 2000-05-31 Nathan Myers <ncm@cantrip.org>
2570 * docs/thanks.html: edit own credits
2572 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2574 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2576 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2578 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2580 2000-05-31 Steven King <sxking@uswest.net>
2582 * shadow/time.h: fix typo
2583 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2584 * shadow/bits/std_cwchar.h: ditto
2585 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2588 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2590 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2591 available, force --disable. Need to flesh this out; make smarter.
2592 * aclocal.m4: Regenerate.
2593 * configure: Regenerate.
2595 * mkcheck.in: Minor tweaks.
2596 * docs/download.html: Fix typo.
2598 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2600 * inclosure: Change to...
2601 * mkinclosure: This.
2603 * mkcshadow: Fix paths to bash.
2605 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2606 * src/Makefile.in: Regnerate.
2607 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2608 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2609 * aclocal.m4: Regenerate.
2610 * mkcheck.in (INC_PATH): Tweak.
2612 * configure.in: Enable long long by default.
2613 * configure: Regenerate.
2615 * mkcheck.in (LIB_PATH): Revert.
2617 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2619 * config/cpu/i486: New directory.
2620 * config/cpu/i486/bits: New directory.
2621 * config/cpu/i486/bits/atomicity.h: New file.
2622 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2624 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2626 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2628 * backward/alloc.h (__default_alloc_template): Only expose
2629 implementation-specific symbol, if it exists in the
2631 * backward/iostream.h (ends): Expose symbol.
2632 * backward/strstream.h: New file.
2633 * backward/stream.h: New file.
2634 * backward/ostream.h: New file.
2635 * backward/istream.h: New file.
2636 * backward/fstream.h: New file.
2637 * backward/complex.h: New file.
2638 * backward/iomanip.h: New file.
2640 * mkcheck.in (LIB_PATH): Add -R bits.
2642 * math/carg.c (carg): Replace __atan2 with atan2.
2644 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2646 * Makefile.am (TAGS): Construct.
2647 * Makefile.in: Rengerate.
2648 * src/Makefile.am: Tweak.
2649 * src/Makefile.in: Tweak.
2650 * configure.in: Tweak.
2652 * bits/c++config.h: Rename to ...
2653 * bits/c++config: This.
2654 * mkc++config: Adjust.
2657 * m4/lc_message.m4: Merge into acinclude.m4.
2658 * m4/mathfcts.m4: Same.
2659 * m4/stringfcts.m4: Same.
2660 * acinclude.m4: Add here.
2661 * configure: Regnerate.
2663 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2664 OPTLEVEL. Add FMTFLAGS.
2665 * aclocal.m4: Regenerate.
2666 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2667 been disabled due to higher-level Makefiles running amuck over
2668 this bit, and add in FMTFLAGS so that formatting is clear.
2669 * src/Makefile.in: Regenerate.
2670 * configure: Regenerate.
2672 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2675 * docs/download.html: Remove references to Cygwin-specific bits,
2676 as this can now be built natively.
2677 Update with current information.
2679 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2681 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2682 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2683 enclose other tests in this macro, including future ones.
2684 * aclocal.m4: Regenerate.
2685 * configure: Regenerate.
2687 * docs/faq/index.html: Update location of libg++ FAQ.
2688 * docs/faq/index.txt: Regenerate.
2690 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2692 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2694 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2696 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2698 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2700 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2701 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2702 * aclocal.m4: Regenerate.
2703 * configure: Regenerate.
2705 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2707 * bits/generic_shadow.h: s/swamp/legacy/
2709 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2711 * acinclude.m4: Clean up comments on newer checks.
2712 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2713 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2714 * aclocal.m4: Regenerate.
2715 * configure: Regenerate.
2716 * Makefile.in: Regenerate.
2717 * libio/Makefile.in: Regenerate.
2718 * math/Makefile.in: Regenerate.
2719 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2720 * src/Makefile.in: Regenerate.
2721 * docs/configopts.html: Document changes to --enable names.
2723 2000-05-18 Chip Salzenberg <chip@valinux.com>
2725 * bits/ostream.tcc (_S_pad_char): Function template should not be
2727 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2728 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2730 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2732 * mkcshadow: Change C_Swamp to C_legacy.
2734 * shadow/bits/*: Same.
2735 s/C_Swamp/C_legacy/g
2739 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2741 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2743 * src/string-inst.cc (string::_S_find): Same.
2745 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2747 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2748 --enable-cshadow-headers. Add output messages.
2749 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2750 underscores (like the rest of the enable options.) Add output messages.
2751 * aclocal.m4: Regenerate.
2752 * configure: Regenerate.
2753 * configure.in: Touch.
2755 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2757 * mkcheck.in: Enable shared library testing.
2759 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2761 * bits/std_cmath.h: fix sqrt(float)
2763 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2765 * bits/std_cassert.h: Use system_header pragma.
2766 * bits/std_cctype.h: Likewise.
2767 * bits/std_cerrno.h: Likewise.
2768 * bits/std_cfloat.h: Likewise.
2769 * bits/std_climits.h: Likewise.
2770 * bits/std_clocale.h: Likewise.
2771 * bits/std_cmath.h: Likewise.
2772 * bits/std_csetjmp.h: Likewise.
2773 * bits/std_csignal.h: Likewise.
2774 * bits/std_cstdarg.h: Likewise.
2775 * bits/std_cstddef.h: Likewise.
2776 * bits/std_cstdio.h: Likewise.
2777 * bits/std_cstdlib.h: Likewise.
2778 * bits/std_cstring.h: Likewise.
2779 * bits/std_ctime.h: Likewise.
2780 * bits/std_cwchar.h: Likewise.
2781 * bits/std_cwctype.h: Likewise.
2782 * bits/std_exception.h: Likewise.
2783 * bits/std_new.h: Likewise.
2784 * bits/std_typeinfo.h: Likewise.
2785 * shadow/bits/std_cassert.h: Likewise.
2786 * shadow/bits/std_cctype.h: Likewise.
2787 * shadow/bits/std_cerrno.h: Likewise.
2788 * shadow/bits/std_cfloat.h: Likewise.
2789 * shadow/bits/std_climits.h: Likewise.
2790 * shadow/bits/std_clocale.h: Likewise.
2791 * shadow/bits/std_cmath.h: Likewise.
2792 * shadow/bits/std_csetjmp.h: Likewise.
2793 * shadow/bits/std_csignal.h: Likewise.
2794 * shadow/bits/std_cstdarg.h: Likewise.
2795 * shadow/bits/std_cstddef.h: Likewise.
2796 * shadow/bits/std_cstdio.h: Likewise.
2797 * shadow/bits/std_cstdlib.h: Likewise.
2798 * shadow/bits/std_cstring.h: Likewise.
2799 * shadow/bits/std_ctime.h: Likewise.
2800 * shadow/bits/std_cwchar.h: Likewise.
2801 * shadow/bits/std_cwctype.h: Likewise.
2802 * shadow/bits/wrap_libio.h: Likewise.
2803 * shadow/bits/wrap_unistd.h: Likewise.
2804 * shadow/sys/cdefs.h: Likewise.
2806 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2808 It appears that gcc-2.96 supports the keyword "and" now.
2809 * bits/std_ciso646.h: remove.
2811 * testsuite/17_intro/header_ciso646.c: enable testing.
2812 * src/Makefile.am, src/Makefile.in: remove mention of
2815 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2817 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2819 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2821 * acinclude.m4: Fix typo, switch to decaf...
2822 * aclocal.m4: Regenerate.
2823 * configure: Regenerate.
2825 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2827 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2828 * aclocal.m4: Regenerate.
2829 * configure.in: Call.
2830 * configure: Regenerate.
2831 * docs/configopts.html: Stub documentation.
2833 2000-05-14 Nathan Myers <ncm@cantrip.org>
2835 * mkcshadow: build in more-correct directory, create cshadow/
2836 directory if needed, report progress.
2838 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2840 * src/Makefile.am: Fix tr commands.
2841 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2842 * src/string-inst.cc: Remove extra instantiation of
2843 S::basic_string(S::size_type, C, S::allocator_type const&);
2844 * src/string-inst.cc: Remove extra template keyword.
2846 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2848 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2849 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2850 * aclocal.m4: Regenerate.
2851 * configure: Regenerate.
2852 * */Makefile.in: Regenerate.
2854 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2856 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2857 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2858 * aclocal.m4: Regenerate.
2859 * configure.in: Non-blank arguments break fewer Linuxes.
2860 * configure: Regenerate.
2861 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2862 * src/Makefile.in: Regenerate.
2864 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2866 * bits/std_cmath.h: Tweaks.
2867 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2868 (sqrtf): Define away iff !builtin and !in <math.h>.
2872 At some point this directory should be converted to c++, the
2873 autoconf tests should be run by the c++ compiler (not c), and
2874 <cmath> should be used instead of math.h.
2875 Move declaration of nan() here.
2876 * math/complex-stub.h (cabsl): Remove nan() declaration.
2878 Finish up FreeBSD4.0 support.
2879 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2880 * config/generic/ctype.cc: And here.
2881 * testsuite/21_strings/char_traits.cc (test02): Guard with
2882 _GLIBCPP_USE_WCHAR_T.
2884 via Phil Edwards <pme@sourceware.cygnus.com>
2885 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2886 * acconfig.h: And here.
2887 * acinclude.m4: Same.
2888 * testsuite/27_io/istream.cc: And here.
2889 * testsuite/27_io/ostream.cc: And here.
2891 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2893 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2895 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2897 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
2900 * config/bsd: New directory.
2901 * config/bsd/ctype.cc: New.
2902 * config/bsd/bits/ctype_base.h (ctype_base): New.
2903 * config/bsd/bits/ctype_specializations.h: New.
2904 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
2906 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
2908 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
2909 * configure.in: Call.
2910 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
2911 * aclocal.m4: Regenerate.
2913 * src/Makefile.in: Ditto.
2914 * docs/configopts.html: Document.
2915 * docs/download.html: Fix typo (close quote).
2916 * docs/footer.html: Update.
2918 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
2920 * backward/iostream.h: Expose endl. Guard wide types.
2921 * src/Makefile.am (headers): Update list to match files.
2922 * src/Makefile.in: Regenerate.
2924 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
2925 Benjamin Kosnik <bkoz@gnu.org>
2926 Nathan Myers <ncm@cantrip.org>
2927 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
2929 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
2930 (basic_streambuf::xsputn): Make consistent.
2931 * testsuite/27_io/filebuf.cc: Add tests.
2933 2000-05-08 Steven King <sxking@uswest.net>
2935 * bits/char_traits.h: Use wchar_t utility functions for
2936 char_traits<wchar_t> methods.
2937 * testsuite/21_string/char_traits.cc: New (test02): test
2938 char_traits<wchar_t>
2940 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
2942 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
2944 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
2945 _M_buf_size based on macro, instead use _M_buf_size_opt.
2946 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
2947 (basic_streambuf()): Set _M_buf_size_opt.
2948 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
2949 instead of _M_buf_size.
2951 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
2953 * src/complex_io.cc: Don't instantiate inserters and extractors
2954 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2956 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
2957 Felix Natter <fnatter@gmx.net>
2959 * docs/footer.html: Update to see if it takes effect.
2960 * docs/thanks.html: More people.
2961 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
2962 be seen from the web pages. Rename for browser-friendliness...
2963 * docs/17_intro/howto.html: ...and update here.
2964 * docs/17_intro/porting-howto.html: Changes from Felix.
2965 * docs/gccrebuild.html: Mention v3->egcs move.
2966 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
2967 * docs/faq/index.txt: Regenerate.
2969 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
2971 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
2974 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
2976 * bits/char_traits.h: Fix parameter types.
2977 * bits/string.tcc: Avoid traits_type::move.
2979 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
2981 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
2982 * src/Makefile.in: Regenerate.
2983 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
2985 2000-04-30 Steven King <sxking@uswest.net>
2987 * bits/locale_facets.h: Fix syntax error.
2988 * bits/std_fstream.h: ditto
2990 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
2992 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
2994 * mknumeric_limits (trait_name): Fix copyright notice.
2995 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
2996 round_error data members of struct value. This works around
2997 weak-linking issues on AIX, HPUX.
2999 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3001 * docs/download.html: Add link to list of mirror sites.
3003 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
3005 * mkcheck.in: Rely on exit status instead of the presence of a
3006 core file. Added comments on how/where to save core and exe
3007 files. Move shell wildcards outside quotes and fix core path.
3009 2000-04-27 scott snyder <snyder@fnal.gov>
3011 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3014 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
3016 * bits/basic_string.h: include <bits/atomicity.h> instead
3017 of <atomicity.h>, and use the uglified names.
3018 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3019 uglify names, eliminate dependence on <inttypes.h>.
3020 * src/Makefile.in, src/Makefile.am: refer to correct place
3021 for atomicity.h header.
3023 2000-04-25 Steven King <sxking@uswest.net>
3025 * bits/basic_string.h: Fix syntax error.
3027 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3029 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3031 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3032 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3033 versions to this as copysignl is needed anyway for these targets.
3034 * math/Makefile.in: Regenerate.
3036 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3037 * bits/fstream.tcc (underflow): Cast to libio types.
3038 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3039 * config/c_io_libio.cc (seekoff): And here.
3041 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3043 * mkcheck.in: Report compiler version used for test. Find
3044 the built _G_config.h instead of any old installed version.
3046 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3048 * config/generic/ctype.cc (do_toupper): Remove dependence on
3049 non-portable/non-existent lookup table.
3052 2000-04-24 Nathan Myers <ncm@cantrip.org>
3054 * src/string-inst.cc: More fixing.
3056 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3058 * bits/stl_iterator.h: Pedantic fixing.
3059 * bits/std_sstream.h: And here.
3060 * bits/string.tcc: And here.
3062 2000-04-24 Felix Natter <fnatter@gmx.net>
3064 * docs/17_intro/howto.html: Add bits.
3065 * docs/17_intro/porting-howto.html: New file.
3067 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3069 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3070 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3071 wchar_t, to empty string otherwise.
3072 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3073 (sources): Remove $(string_sources) and $(wstring_sources).
3074 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3075 (libstdc___la_DEPENDENCIES): New.
3076 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3078 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3080 * bits/std_sstream.h: Tweak formatting.
3081 * bits/std_fstream.h: Make types public.
3083 * testsuite/27_io/streambuf.cc: Fix for alpha.
3085 Brad Garcia <bgarcia@laurelnetworks.com>
3086 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3088 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3091 2000-04-19 Nathan Myers <ncm@cantrip.org>
3093 * src/string-inst: consolidate _S_create,
3094 destroy, leak, clone members into stringMAIN and stringMUTATE
3096 * src/Makefile.am: Above, and eliminate dependence on
3098 * src/wstring-inst.cc: Remove.
3100 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3102 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3103 Add flags for specialized rules dealing with instantiations.
3105 * src/string-inst.cc: Add instantiations missing from shared
3106 libraries--see stringEQ, stringCONSC.
3107 * src/Makefile.am (wstring_sources): Add.
3108 (string_sources): Same.
3109 * src/Makefile.in: Regenerate.
3111 * stl/*: Integrate contents of this directory into top-level
3113 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3114 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3115 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3116 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3117 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3118 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3119 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3120 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3121 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3122 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3123 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3124 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3125 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3126 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3127 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3128 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3129 stack.h tempbuf.h tree.h vector.h: Add.
3130 * README (file): Update.
3131 * docs/documentation.html: README not being found.
3132 * src/Makefile.am (sources): Take out stl directory.
3133 * mkcheck.in (SRC_DIR): And here.
3134 * src/Makefile.in: Regenerate.
3136 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3138 * stl/bits/stl_function.h: Add bits so that const and non-const
3141 2000-04-18 scott snyder <snyder@fnal.gov>
3143 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3144 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3145 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3146 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3147 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3149 2000-04-18 scott snyder <snyder@fnal.gov>
3151 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3154 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3155 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3156 * stl/ext/hash_set (class hash_set, class hash_multiset):
3158 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3159 constant_binary_fun): Likewise.
3160 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3161 * stl/bits/stl_stack.h (class stack): Likewise.
3162 * stl/bits/stl_set.h (class set): Likewise.
3163 * stl/bits/stl_multiset.h (class multiset): Likewise.
3165 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3166 class reverse_iterator): Get rid of use of
3167 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3169 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3172 * stl/bits/stl_deque.h (class deque): Get rid of use of
3173 __STL_DEFAULT_ALLOCATOR macro.
3174 * stl/bits/stl_list.h (class list): Likewise.
3175 * stl/bits/stl_multiset.h (class multiset): Likewise.
3176 * stl/bits/stl_set.h (class set): Likewise.
3177 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3178 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3179 * stl/bits/stl_vector.h (class vector): Likewise.
3180 * stl/ext/ropeimpl.h (rotate): Likewise.
3181 * stl/ext/hash_map (class hash_map, class hash_multimap):
3183 * stl/ext/hash_set (class hash_set, class hash_multiset):
3185 * stl/ext/slist (class slist): Likewise.
3186 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3187 * stl/ext/stl_rope.h (class rope): Likewise.
3188 * src/locale.cc (_Impl): Likewise.
3189 * src/localename.cc (_Impl): Likewise.
3190 * bits/localefwd.h (_Impl): Likewise.
3192 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3194 * docs/install.html: Cleanup, minor changes.
3195 * docs/17_intro/howto.html: Ditto.
3197 2000-04-18 Nathan Myers <ncm@cantrip.org>
3199 * bits/basic_string.h: Remove "inline" from member _S_find.
3201 * src/string-inst.cc: Rewrite to reflect non-inline template
3202 instantiations in string.tcc.
3204 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3205 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3206 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3207 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3208 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3209 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3210 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3211 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3212 stringNESS.cc, stringSCOPY.cc: Remove.
3213 * src/wstringADDCS.cc, etc: Remove.
3215 Benjamin Kosnik <bkoz@haight.constant.com>
3216 * src/Makefile.am: Modify to reflect above.
3217 * src/Makefile.in: Regenerate.
3219 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3221 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3223 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3225 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3226 io interface here instead of the libio particulars.
3228 * config/threads-posix.h: Consistency with stl_config.h.
3230 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3232 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3234 * mknumeric_limits: Rename generic type template parameter name
3236 * stl/bits/type_traits.h: Ditto.
3238 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3240 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3241 it is more useful for --enable-libstdcxx-v3. Use the built
3242 compilers with v3, instead of compilers in PATH, and don't
3243 re-include include directories for checking the install.
3245 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3247 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3248 by default when using --enable-libstdcxx-v3.
3249 * src/Makefile.in: Regenerate.
3250 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3251 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3252 * configure: Regenerate.
3253 * mkcheck.in: Deal with NAMESPACES.
3255 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3257 * src/cmath.cc: New file...
3258 (pow(*, int)): Define functions...
3259 * src/Makefile.am (sources): ...register file.
3260 * src/Makefile.in: Regenerate.
3261 * bits/std_cmath.h (pow): ...declare functions here, and remove
3264 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3266 * acinclude.m4 (GCC_OBJDIR): Tweaks
3268 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3270 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3271 * config/cpu/arm: New directory.
3273 Jesper Skov <jskov@redhat.com>
3274 * config/cpu/arm/atomicity.h: New file.
3276 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3278 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3279 Remove unused bits. Clean.
3281 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3283 * testsuite/25_algorithms: New directory.
3284 * testsuite/25_algorithms/min_max.cc: New file.
3286 2000-03-29 scott snyder <snyder@fnal.gov>
3288 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3289 precision beyond that which we get from numeric_limits::digits10.
3291 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3294 * testsuite/23_containers/bitset_shift.cc: Fix.
3296 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3297 temporary to imbue().
3299 * bits/std_fstream.h (sync): Resync libio's idea of the current
3300 file position with the external file.
3302 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3304 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3307 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3308 attempting calls to it.
3309 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3310 ctors. Instead, call _M_init_filebuf ...
3311 (open): Here, as suggested by 27.8.1.3.
3312 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3313 properly when initializing cout/cin/cerr.
3315 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3317 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3318 * testsuite/22_locale/ctype_char_members.cc: And here.
3319 * testsuite/27_io/streambuf.cc (streambuf): And here.
3320 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3321 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3322 * testsuite/27_io/istream_extractor_arith.cc: And here.
3323 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3324 * testsuite/27_io/ios_base_members_static.cc: And here.
3325 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3327 2000-03-27 Chris Faylor <cgf@cygnus.com>
3329 * configure.in: Remove setting of CXX if canadian cross.
3330 * configure: Regenerate.
3332 2000-03-27 Nathan Myers <ncm@zembu.com>
3334 * bits/sstream.tcc: Optimize.
3335 * bits/basic_string.h(string::append): Don't inline.
3336 * bits/string.tcc: Move out-of-line.
3338 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3340 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3341 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3342 * aclocal.m4: Regenerate.
3343 * configure: Regenerate.
3344 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3345 * src/Makefile.in: Regenerate.
3347 * docs/install.html: Almost complete rewrite.
3349 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3351 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3352 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3354 * docs/faq/index.txt: Regenerate.
3356 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3358 * src/Makefile.am (libio_headers_install): Fix.
3359 * src/Makefile.in: Regenerate.
3361 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3363 * docs/17_intro/RELEASE-NOTES: Fix typos.
3364 * docs/index.html: Update.
3365 * docs/17_intro/BUGS: Update.
3366 * docs/status.html: Update for 2.90.8 release.
3368 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3370 * Makefile.am: Better error message when missing libgcc2.ready.
3371 * Makefile.in: Regenerate.
3372 * acinclude.m4: Fastidious nitpicking reformatting.
3373 * aclocal.m4: Regenerate.
3374 * configure: Regenerate.
3375 * mkcheck.in: Must use same namespace settings as the library being
3376 tested. Also log ST_FLAG, since it's being passed.
3377 * docs/install.html: Add brief chunk on configuration.
3378 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3379 * docs/23_containers/howto.html: Mention MT-safe string.
3380 * docs/faq/index.html: Minor updates.
3381 * docs/faq/index.txt: Regerarate.
3383 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3385 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3387 * bits/fstream.tcc (seekoff): Sync.
3389 * testsuite/27_io/ostream_unformatted.cc: New file.
3390 * testsuite/27_io/stringbuf.cc: Fix.
3391 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3393 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3394 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3396 * src/complex_io.cc (operator>>complex): Tweak.
3398 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3399 <inttypes.h> does not exist.
3400 * config/cpu/sparc/sparc64/atomicity.h: Same.
3401 * config/cpu/sparc/sparc32/atomicity.h: Same.
3402 * config/cpu/powerpc/atomicity.h: Same.
3403 * config/cpu/i386/atomicity.h: Same.
3404 * config/cpu/generic/atomicity.h: Same.
3405 * configure.in: Check for inttypes.h.
3406 * configure: Regnerate.
3408 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3410 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3412 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3414 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3416 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3417 are compiling natively.
3419 * libio/*: Update to CVS libio from egcs.
3421 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3423 * docs/download.html: Document use of -z9 for CVS.
3424 * docs/index.html: Add target date (no link) for future snapshot.
3426 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3428 * bits/slice_array.h: Rename generic type template parameter name
3430 * bits/mask_array.h: Ditto
3432 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3434 * *: Change copyright holder from "Cygnus Solutions" to "Free
3435 Software Foundation, Inc."
3437 * docs/configopts.html: Explain what "hella versions" means.
3438 * docs/install.html: Some tweaks--nice job on this Phil.
3439 * docs/documentation.html: Add a direct link to configuration options.
3441 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3442 * docs/17_intro/RELEASE-NOTES (New): Add.
3443 * bits/c++config.h (__GLIBCPP__): Bump version.
3445 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3446 type to match prototype.
3448 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3450 * docs/install.html: Update for new funky build procedure. Move
3451 description of 'configure' options to...
3452 * docs/configopts.html: ...here. New file.
3453 * docs/17_intro/howto.html: Updates for new snapshot.
3454 * docs/20_util/howto.html: Ditto.
3455 * docs/21_strings/howto.html: Ditto.
3456 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3457 * docs/22_locale/howto.html: Ditto.
3458 * docs/23_containers/howto.html: Ditto.
3459 * docs/faq/index.html: Ditto.
3461 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3462 Benjamin Kosnik <bkoz@gnu.org>
3464 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3466 * aclocal.m4: Regenerate.
3467 * configure: Regenerate.
3469 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3470 scott snyder <sss@karma.fnal.gov>
3472 * config/c_io_libio.h: Add __c_lock.
3473 * config/threads-no.h: Same here.
3474 * config/threads-posix.h: Add __mutext_type typedef.
3475 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3476 * bits/basic_file.h: Ctor takes lock arg.
3477 * bits/std_fstream.h: Add _M_lock.
3478 * bits/fstream.tcc: Supply it to basic_file ctor.
3480 * mkcheck.in (resultstext): Change [[ to [.
3482 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3484 * bits/locale_facets.h: Tweak.
3486 * stl/bits/stl_config.h: Fix defines.
3488 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3490 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3492 * configure: Regenerate.
3493 * aclocal.m4: Regnerate.
3495 2000-03-16 Nathan Myers <ncm@zembu.com>
3497 * bits/string.tcc: Add MT support.
3498 * bits/basic_string.h: Same.
3500 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3502 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3504 * configure: Regenerate.
3506 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3508 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3510 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3511 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3512 any defaults passed in.
3513 * aclocal.m4: Regenerate.
3515 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3517 * mkcheck.in: Report total successes and failures.
3519 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3521 * config/cpu: New directory, intended to be used to provide
3522 cpu-specific configuration files. In particular, assembly language
3523 primitives for thread safety.
3524 * config/cpu/alpha: Populate.
3525 * config/cpu/alpha/atomicity.h: New file.
3526 * config/cpu/arm: Populate.
3527 * config/cpu/generic: Populate.
3528 * config/cpu/generic/atomicity.h: New file.
3529 * config/cpu/hppa: Populate.
3530 * config/cpu/i386: Populate.
3531 * config/cpu/i386/atomicity.h: New file, take from i486.
3532 * config/cpu/m68k: Populate.
3533 * config/cpu/mips: Populate.
3534 * config/cpu/powerpc: Populate.
3535 * config/cpu/powerpc/atomicity.h: New file.
3536 * config/cpu/sparc: Populate.
3537 * config/cpu/sparc/sparc32: Populate.
3538 * config/cpu/sparc/sparc64: Populate.
3539 * config/cpu/sparc/sparc32/atomicity.h: New file.
3540 * config/cpu/sparc/sparc64/atomicity.h: New file.
3542 * src/Makefile.am (myinstallheaders): Add install routines.
3543 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3545 * configure.in: Add.
3547 * config/default: Adopt glibc naming conventions, and so move to
3548 * config/generic: Here.
3549 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3551 2000-03-15 Bill Thompson <billt@toast.net>
3553 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3555 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3557 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3559 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3560 * aclocal.m4: Regenerate.
3561 * configure: Regenerate.
3563 2000-03-13 scott snyder <snyder@fnal.gov>
3564 Jason Merrill <jason@cygnus.com>
3566 * bits/locale_facets.h (class ctype, class ctype<char>, class
3567 ctype<wchar_t>): More mask fixes.
3568 * testsuite/22_locale/ctype.cc: Test for the problem.
3570 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3572 * acconfig.h: Add bits.
3573 * configure.in: Move AM_PROG_LIBTOOL up in file.
3574 Tweak cross compiling info.
3575 * configure: Regenerate.
3577 * mknumeric_limits (XCOMPILE): Echo compilation line for
3580 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3581 * aclocal.m4: Regenerate.
3582 * configure: Regenerate.
3583 * config/aix/ctype.cc (ctype): Tweak.
3584 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3585 * config/aix/bits/ctype_specializations.h: New file.
3587 2000-03-10 scott snyder <snyder@fnal.gov>
3589 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3591 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3592 regression test for the problem.
3594 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3596 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3597 * bits/fpos.h: And here.
3598 * bits/std_ostream.h: Same here.
3599 * bits/std_istream.h: Same here.
3600 * bits/basic_ios.h: Same here.
3601 * bits/std_fstream.h: Same here.
3602 * bits/sbuf_iter.h (std): Here too.
3603 * bits/std_sstream.h: Make types public.
3605 * src/misc-inst.cc: Use size_t instead of unsigned int.
3606 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3607 suppose this should be ctype::narrow... all the ctype<wchar_t>
3608 stuff needs to be cleaned up.
3610 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3612 * docs/gentop: Remove entire directory, finally.
3614 2000-03-09 scott snyder <snyder@fnal.gov>
3616 * bits/std_cmath.h (modf): Fix pointer overrun.
3617 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3618 test for the problem.
3620 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3622 Looks like changes to the #include'd files must be followed by a
3623 change to the #include'ing files to take effect. Caveat emptor.
3624 * docs/header.html: New file, for server-side include.
3625 * docs/footer.html: New file, for server-side include.
3626 * docs/documentation.html: Change to use SSI.
3627 * docs/download.html: Ditto.
3628 * docs/index.html: Ditto.
3629 * docs/mail.html: Ditto.
3630 * docs/status.html: Ditto.
3631 * docs/thanks.html: Ditto, plus minor updates.
3632 * docs/how.html: Remove.
3634 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3636 Preliminary alpha-linux support.
3637 * src/locale.cc (ctype<wchar_t>): Use correct types...
3638 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3639 (ctype<wchar_t>): Same.
3640 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3641 types match for table_size (size_t).
3643 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3644 as per char specialization.
3645 * config/*/ctype.cc: Same.
3647 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3649 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3650 _Ctype_nois<>. Template base classes are never examinated in
3651 first-phase name-lookup.
3653 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3655 Add Solaris 2.5.1 support.
3656 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3657 * config/solaris/solaris2.5/ctype.cc: Fixup.
3658 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3659 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3660 * aclocal.m4: Regenerate.
3661 * configure: Regenerate.
3663 * config/default/ctype.cc (ctype): Fixup.
3665 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3667 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3668 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3671 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3673 * bits/cpp_type_traits.h: Expand on this file purpose.
3675 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3677 * bits/locale_facets.h (ctype<char>): Remove static members, and
3678 re-work initialization code.
3679 (ctype<wchar_t>): Same.
3680 Move _S_touppper to _M_toupper and initialize in ctor.
3681 Move _S_tolower to _M_tolower and initialize in ctor.
3682 Move _S_table to _M_ctable and intialize in ctor.
3683 * bits/locale_facets.h (std): And here.
3684 * src/locale.cc (std): Tweak.
3685 * config/gnu-linux/ctype.cc: Change initialization here.
3686 * config/newlib/ctype.cc: And here.
3687 * config/solaris/solaris2.7/ctype.cc: And here.
3688 * config/solaris/solaris2.6/ctype.cc: And here.
3690 * bits/localefwd.h: Tweak.
3691 * bits/std_streambuf.h: Tweak formatting.
3693 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3695 2000-03-05 Chip Salzenberg <chip@valinux.com>
3697 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3699 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3700 Kevin Atkinson <kevinatk@home.com>
3702 Initial grab of SGI's strstream implementation with minor
3704 * src/strstream.cc: New file.
3705 * std/strstream: New file.
3706 * stl/bits/std_strstream.h: New file.
3707 * bits/std_streambuf.h: Add public access.
3708 * src/Makefile.am: Add strstream sources to list of dependancies.
3709 * src/Makefile.in: Regenerate.
3711 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3713 * bits/valarray_meta.h: Fix typo.
3715 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3716 Chip Salzenberg <chip@valinux.com>
3717 Petter Urkedal <petter@matfys.lth.se>
3719 * src/Makefile.am (myinstallheaders): Hack to avoid
3721 * src/Makefile.in: Regenerate.
3723 2000-03-02 Chip Salzenberg <chip@valinux.com>
3725 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3726 (LINK): Put quotes around "$(CC)" for libtool link mode,
3727 so libtool will use "-B" options during GCC bootstrap.
3728 * */Makefile.in: Regenerate.
3730 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3732 * config/c_io_libio.h: Enclose it all in ::std.
3733 * bits/basic_string.h (basic_string<>): Make types and
3735 * mkc++config: Truncate output file before writing.
3737 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3739 * math/cabsf.c (__mycabsf): Rename to cabsf.
3740 * math/cabs.c (__mycabs): Rename to cabs.
3742 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3744 * bits/basic_string.h: Move declarations of __out_of_range(),
3745 __length_error() and accompanying macros ...
3746 * bits/exception_support.h: here. (Newly created file).
3747 * bits/basic_string.h: #include <bits/exception_support.h>
3748 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3749 * src/Makefile.am (headers): Add.
3750 * src/Makefile.in: Regenerate.
3752 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3754 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3756 * bits/valarray_array.h: Synch. Fix typos.
3758 * libio/Makefile.am: Change to only compile source files that
3759 config/c_io_libio.cc actually needs.
3760 * libio/Makefile.in: Regnerate.
3761 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3762 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3763 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3764 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3765 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3766 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3767 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3768 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3769 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3770 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3771 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3772 strops.c strstream.h: Delete.
3774 * bits/basic_file.h: Stub out or delete unused bits in this
3776 (filepos_beg): Remove.
3777 (filepos_cur): Remove.
3778 (filepos_valid): Remove.
3779 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3781 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3783 * bits/cpp_type_traits.h: Correct typo.
3785 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3787 * bits/cpp_type_traits.h: New file.
3789 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3790 Improve array construction.
3791 (_Array_default_ctor): New dispatcher class.
3792 (__valarray_default_construct): New function.
3793 (_Array_copy_ctor): New dispatcher class.
3794 (__valarray_copy_construct): New function.
3795 (_Array<>::free_data): Remove.
3797 * src/Makefile.am (headers): Add cpp_type_traits.h
3798 * src/Makefile.in: Regenerate.
3800 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3802 Prune libio directory to match files in libio/Makefile.
3803 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3804 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3805 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3806 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3807 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3808 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3809 stdstreams.cc: Remove.
3810 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3811 * libio/iofflush_u.c: Remove.
3813 * libio/dbz: Remove.
3814 * libio/include: Remove.
3815 * libio/stdio: Remove.
3816 * libio/tests: Remove.
3817 * libio/testsuite: Remove.
3819 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3821 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3822 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3823 * configure: Regenerate.
3825 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3827 Abstract out the underlying "C" io bits.
3828 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3829 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3830 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3832 * stl/bits/stl_config.h: Don't include _G_config.h.
3834 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3835 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3836 * config/c_io_libio.cc: Tweak.
3838 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3839 * src/Makefile.in: Regenerate.
3840 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3841 prefix/include files will be picked up.
3842 * Makefile.in: Regenerate.
3843 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3844 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3846 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3847 * bits/fpos.h: And here.
3848 * bits/basic_file.h (get_fileno): Move definition from ...
3849 * src/basic_file.cc (std): To here.
3850 * bits/fpos.h: Move types for streamoff, streampos to..
3851 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3852 * config/c_io_libio.h: ...here.
3853 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3854 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3855 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3856 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3857 abstract out bits in ios_base.
3858 * bits/ios_base.h: Re-macrofy.
3859 * src/basic_file.cc : Rename, move to
3860 * config/c_io_libio.cc: Here.
3861 * config/c_io_libio.h: New file. Include libio.
3862 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3863 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3864 * configure: Regenerate.
3865 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3866 (generated_headers): Add c++io.h
3867 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3868 underlying "C" io library.
3869 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3870 GLIBCPP_ENABLE_CSTDIO.
3872 * configure.in: Add configure bits for cross compiling non-newlib
3874 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3875 target, as we assume g++ support is not the limiting factor.
3876 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3877 * configure: Regenerate.
3879 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3881 * Makefile.am (INTERFACE): Define.
3882 * Makefile.in: Regenerate.
3883 * libio/ChangeLog: Add entry.
3885 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3887 * docs/install.html: Update install directions.
3889 * docs/status.html: Fix sidebar to be consistent.
3890 * docs/thanks.html: Same.
3891 * docs/links.html: Same.
3892 * docs/mail.html: Same.
3893 * docs/download.html: Same.
3895 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3896 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3897 however, in the ctype_char_members.cc fail (for instance.)
3898 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
3899 that do not have wchar_t enabled.
3900 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
3902 * testsuite/27_io/iostream_objects.cc: And here.
3904 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
3907 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
3908 Tom Tromey <tromey@cygnus.com>
3910 * configure.in: Manually add MULTISUBDIR.
3911 * configure: Regenerate.
3912 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
3913 "Eww" hacks to get multilib installs working correctly.
3914 ($(headers): Test for MULTISUBDIR before installing.
3915 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
3916 have configure hack it in.
3917 * Makefile.in: Regenerate.
3918 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
3919 Add enabling bits for native Cygwin ctypes, and other newlib-based
3922 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3924 * mkc++config (OUT_H): Remove EOF in cygwin.
3925 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
3927 Tom Tromey <tromey@cygnus.com>
3928 * src/Makefile.am: Tweaks for installing multilibs.
3930 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
3933 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
3934 Add USE_LIBDIR bits here, not...
3935 * src/Makefile.in: Regenerate.
3936 * Makefile.am: ...here.
3937 * Makefile.in: Regenerate.
3939 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
3941 * acinclude.m4 (LIBS): Fix typos.
3942 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
3943 _GLIBCPP_BUGGY_COMPLEX for crosses.
3944 * src/Makefile.am (std_headers): Add libio.h as install include,
3946 * src/Makefile.in: Regenerate.
3948 * mkcheck.in: Add bits to set CXX to cross compiler.
3950 * src/complex_io.cc: Tweak.
3951 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
3952 * configure: Regenerate.
3954 * config/newlib/ctype.cc: Tweaks.
3955 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
3957 * src/complex_io.cc (operator>>(istream, complex): Define out if
3960 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
3962 * config/newlib/bits/ctype_base.h: Correct _S_table.
3964 Reconfigure ctype support for "C" libraries that don't use arrays.
3965 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
3966 basic ctype<char> functionality.
3967 * src/locale.cc: Move host-specific ctype functions that are not
3968 inlines to config/*/ctype.cc files.
3969 (ctype<char>::do_tolower): For instance.
3970 (ctype<char>::do_toupper): For instance.
3971 (ctype<wchar_t>::do_tolower): For instance.
3972 (ctype<wchar_t>::do_toupper): For instance.
3973 * config/gnu-linux/ctype.cc: Modify.
3974 * config/default/ctype.cc: Modify.
3975 * config/newlib/ctype.cc: Modify.
3976 * config/solaris/solaris2.6/ctype.cc: Modify.
3977 * config/solaris/solaris2.7/ctype.cc: Modify.
3979 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
3981 (ctype<char>::scan_is): Here too.
3982 (ctype<char>::scan_not): Here too.
3983 Move out of line defs to config/*/bits/ctype_specializations.h.
3984 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
3985 * config/default/bits/ctype_specializations.h: ...here. New file.
3986 * config/newlib/bits/ctype_specializations.h: ...here. New file.
3987 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
3988 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
3989 * src/Makefile.am (headers): Add ctype_specializations.h.
3990 * src/Makefile.in: Regenerate.
3992 Aaron Weiss <weiss@clearway.com>
3993 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
3994 CONFIG_NM for Solaris builds.
3995 * Makefile.in: Regenerate.
3997 * src/locale.cc: Tweak formatting.
3999 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4001 Jim Parsons <parsons@clearway.com>
4002 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4003 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4007 Michel Decima <michel.decima@cnet.francetelecom.fr>
4008 * testsuite/27_io/streambuf.cc: Add test.
4009 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4012 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4013 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4014 will work correctly, for instance.
4015 * src/Makefile.in: Regenerate.
4017 * bits/locale_facets.h: Fix merge error.
4018 (num_put::put(unsigned long long): And here.
4019 * mknumeric_limits (trait_name): Same.
4021 2000-02-15 Chip Salzenberg <chip@valinux.com>
4023 Support 'configure --enable-long-long'.
4024 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4025 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4026 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4027 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4028 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4030 * aclocal.m4: Regenerate.
4031 * config.h.in: Regenerate.
4032 * configure: Regenerate.
4034 2000-02-15 Chip Salzenberg <chip@valinux.com>
4036 Improve (complete?) 'long long' support.
4037 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4038 for {,unsigned} long long if the limits header declares them.
4039 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4040 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4041 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4042 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4043 (num_put<>::put(..., long long)): Likewise.
4044 (num_put<>::put(..., unsigned long long)): Likewise.
4045 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4046 Templatize last parameter to support 'long long'.
4047 (num_put<>::put(...)): Call _S_format with new name.
4048 (num_put<>::put(..., long long)): Define.
4049 (num_put<>::put(..., unsigned long long)): Likewise.
4050 * src/locale-inst.cc (_S_format): Instantiate under new name.
4052 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4054 * src/complex.cc (operator<<, operator>>): Moved from here...
4055 * src/complex_io.cc: ...to new file.
4056 (operator>>): Stub replaced by the real thing.
4057 * src/Makefile.am (sources): Inserted complex_io.cc.
4058 * src/Makefile.in: Regenerate.
4059 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4061 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4063 Add in ctype information for newlib "C" libraries.
4064 * config/newlib: New directory
4065 * config/newlib/bits/ctype_base.h: New file.
4066 * config/newlib/ctype.cc: New file.
4068 * ctype/config/linux/*: Rename, move to...
4069 * ctype/config/gnu-linux/*: Here.
4071 Finish off multilib work.
4072 * configure.in: Don't set CXX if not Canadian cross.
4073 * configure: Regenerate.
4074 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4075 * aclocal.m4: Regenerate.
4076 * config.h.in: Regenerate.
4078 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4079 the top-level gcc directory now.
4080 * mkinstalldirs: Remove.
4083 * ltmain.sh: Remove.
4084 * config.guess: Remove.
4085 * config.sub: Remove.
4087 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4089 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4090 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4091 * Makefile.in: Regenerate.
4092 * src/Makefile.am: Add multilib bits.
4093 * src/Makefile.in: Regenerate.
4095 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4097 * configure.in: Clean, add some multilib support.
4098 * configure: Regenerate.
4099 * configure.host: New file.
4101 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4102 roll a new function, checks for presence of libio.
4103 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4104 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4105 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4106 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4107 GLIBCPP_CHECK_LIBIO: Same.
4108 GLIBCPP_CHECK_CTYPE: Same.
4109 * aclocal.m4: Regenerate.
4110 * config.h.in: Regenerate.
4112 * Makefile.am: Tweaks.
4113 * Makefile.in: Regenerate.
4115 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4117 * configure.in: Make outputing the libio/Makefile
4118 conditional. Haha, yeah right. Anyway, we instead do this thing
4119 where if libio is found, then we build a null library, as there is
4120 no point in duplicating the found libio.
4121 * Makefile.am: Tweak.
4122 * Makefile: Regenerate.
4123 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4124 are happy happy happy.
4125 * libio/Makefile.am: Regenerate.
4126 * libio/gen-params: New file.
4127 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4128 null library if it's not needed. At least we are being consistent,
4129 if not as elegant as we could be.
4130 * src/Makefile: Regenerate.
4132 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4134 * Makefile.am (SUBDIRS): Add libio again.
4135 * Makefile.in: Regenerate.
4136 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4137 (AC_OUTPUT): Generate libio/Makefile again.
4138 * configure: Regnerate.
4139 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4140 libio.la is referring back to the libio subdir again.
4141 (LIBIO_INCLUDES): And here.
4142 * src/Makefile.in: Regenerate.
4144 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4146 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4148 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4150 * bits/valarray_array.h (<bits/std_new.h>): #include.
4151 (__valarray_get_memory): New function.
4152 (__valarray_release_memory): Likewise.
4153 (__valarray_default_construct): New functions.
4154 (__valarray_fill_construct): New function.
4155 (__valarray_copy_construct): New funstions.
4156 (__valarray_destroy_elements): New function.
4158 * bits/valarray_array.tcc (__valarray_copy_construct): New
4161 * bits/std_valarray.h (valarray<>::valarray): Use
4162 __valarray_get_memory and __valarray_fill_construct,
4163 __valarray_copy_construct, __valarray_default_construct to
4164 properly construct valarrays.
4165 (valarray<>::~valarray): Use __valarray_destroy_elements to
4166 destroy elements and __valarray_release_memory to return memory.
4167 (valarray<>::shift): Tweak.
4168 (valarray<>::cshift): Likewise.
4169 (valarray<>::resize): Robustify.
4171 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4173 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4174 * bits/limits_generic.h: New file, defaults.
4175 * src/limits_generic.cc: New file, defaults.
4176 * configure.in (LIBS): Run mknumeric_limits at configure time.
4177 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4178 HAVE_LC_MESSAGES, tidy, clean, etc.
4179 * src/Makefile.am (geberated_sources): Remove.
4181 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4182 (_IO_off_t, _IO_ssize_t)
4184 * src/complex.cc: Use glibc's <complex.h> if
4185 possible. . . apparently this was not being done before. Include
4187 (abs): Enable cabs if it's around, instead of mycabs.
4188 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4189 * src/complexl.cc (FCT): Same.
4190 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4191 (libmath_la_SOURCES): And here.
4192 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4193 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4194 * math/complex-stub.h: Move c_log declarations into. . .
4195 * math/mathconf.h: Here. This is because glibc's <complex.h>
4196 declares cclog, not c_log. The case of the dueling standards. . .
4197 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4198 * math/Makefile.am: Change.
4199 * math/nan.c (nan): Change signature.
4200 * math/mathconf.h (NAN): Same.
4201 * math/complex-stub.h (nan): And here.
4203 * Makefile.am (rebuild-stamp): Remove libio and libio
4204 dependancies. Plan to take out libio subdir and just merge with
4205 libio in top level gcc directory. Of course, this assumes there is
4206 a libio in the top level directory (ie ../src_dir). This will
4207 probably change the way this library is configured by default.
4210 2000-02-09 Chip Salzenberg <chip@valinux.com>
4212 * localefwd.h (locale): Make public: facet, id, category.
4214 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4216 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4218 * acinclude.m4: Patch only once!
4220 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4222 * testsuite/26_numerics/buggy_complex.cc: New file.
4224 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4226 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4227 on the 1999-11-21 entries by Mumit Khan.
4228 * configure.in: Use.
4229 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4230 * bits/std_complex.h: Use.
4232 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4234 * stl/bits/stl_algobase.h: Add traits based dispatch for
4235 __normal_iterator in the copy_backward()algorithm
4236 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4239 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4241 * src/gen-num-limits.cc (signal_handler): Work around signal
4242 handling problem on Cygwin.
4243 Thanks to Chris Faylor <cgf@cygnus.com>.
4245 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4247 * configure.in: Add (preliminary) support for cross compiles and
4249 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4250 compilation freaks on this.
4251 * configure: Regenerate.
4252 * src/Makefile.am: Add support for cross compiles.
4253 * src/Makefile: Regenerate.
4254 * Makefile.am: Add support for cross compiles.
4255 * Makefile.in: Regenerate.
4257 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4259 * configure.in (LIBS): Remove unused subdirs.
4260 * configure: Regenerate.
4261 * Makefile.am (SUBDIRS): And here.
4262 * Makefile.in: Regenerate.
4263 * src/Makefile.am (sources): And here.
4264 * src/Makefile.in: Regenerate.
4267 * generic/*: Remove.
4269 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4271 * libtool: Update to libtool-1.3.4.
4275 * config.guess: Same.
4277 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4278 Alexandre Petit-Bianco <apbianco@cygnus.com>
4280 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4281 namespace instead of polluting global namespace with duplicate
4283 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4285 (AC_OUTPUT_COMMANDS): Make it here.
4286 * configure: Regenerate.
4287 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4288 endif, as now we will add it manually.
4289 Move to this file. . .
4290 * bits/c++config.h: New file. Same as old c++config.h.in except
4291 the ending macro guard is now appended manually.
4293 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4294 * bits/std_cmath.h: Same here.
4295 * bits/std_cwchar.h: And here.
4296 * src/locale.cc: And here.
4297 * src/complexl.cc: And here.
4298 * math/mathconf.h: Change to include "config.h" instead of
4301 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4303 * configure.in: Add support for threads. Try a model closer to
4304 libjava, as hopefully if the thread bits are added carefully
4305 enough, the source code will not have gross hacks. Besides, the
4306 libstdc++-v2 model could be easily emulated without the necessity
4307 of linking files in (as currently done)--all that needs to be done
4308 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4309 new. . . and see if we arrive at a more elegant solution.
4310 * configure: Regenerated.
4311 * config/threads-no.h: New file.
4312 * config/threads-posix.h: New file.
4313 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4314 * src/Makefile.in: Regenerated.
4316 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4318 META-QUESTION: Can we just make a "header.html" file and a
4319 "footer.html" and just include them in all the doc sub-pages. The
4320 duplication of the header info is kind of gross, and weak
4321 considering that if you change order or layout then all this stuff
4322 has to be changed in all the sub-files.
4324 * docs/17_intro/contribute.html: Take out duplicate file info.
4325 * README: Should just contain a link to the docs/index.html
4326 page. Duplicate information removed.
4327 * docs/faq/index.html: Remove indexes into HOWTOS.
4328 * docs/17_intro/howto.html: Make intro and docs part more
4329 centralized. Move intro stuff to documentation.html.
4330 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4331 * docs/README.html: Move documentation files to
4332 documentation.html. Should this file be renamed
4333 "config_and_install.html" as that is what is apparently covered
4335 * docs/install.html: Yes. New file, moved and renamed README.html.
4336 * docs/documentation.html: New file. This is the index file for
4338 * docs/index.html: Edit sidebar order. Insert new link to new
4339 documentation spine, documentation.html.
4341 2000-01-31 Scott Snyder <snyder@fnal.gov>
4343 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4344 we don't extract any characters.
4345 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4347 2000-01-31 Anders Widell <awl@hem.passagen.se>
4349 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4350 step is a multiple of the word size.
4351 (_M_do_right_shift): Same.
4352 * testsuite/23_containers/bitset_shift.cc: New file.
4354 2000-01-31 Nathan Myers <ncm@zembu.com>
4356 * README (Documentation): Add path info, fix typos.
4358 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4360 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4361 crazy group checking for numpunct, for real this time. At some
4362 point, the local variable __grp should probably get replaced a
4363 char array, or something a bit more lightweight.
4364 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4365 parsed value unless err isn't failbit.
4366 (num_get::do_get(*)): Same, make consistent.
4368 Nathan Myers <ncm@zembu.com>
4369 Jim Parsons <parsons@clearway.com>
4370 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4371 more grouping tests, tweak, scold, wine.
4373 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4375 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4377 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4378 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4381 via <llewelly@198.dsl.xmission.com>
4382 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4383 out_of_range instead of range_error.
4385 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4387 * bits/std_iomanip.h (setw): Fix typo.
4389 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4391 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4392 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4393 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4395 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4397 * docs/README.html: Reformat, more installation instructions.
4398 * docs/gccrebuild.html: New file.
4399 * docs/faq/index.html: Update for new testsuite output filenames.
4400 * docs/faq/index.txt: Regenerate.
4402 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4404 * Makefile.am (rebuild-stamp, all-local): New targets.
4405 * Makefile.in: Regenerated.
4406 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4407 * aclocal.m4: Regenerated.
4408 * configure.in: Call new macro. Also do some sanity checks
4409 for combinations of --enable's that may not make sense.
4410 * configure: Regenerated.
4412 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4414 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4415 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4416 correctly for hex-formatted input.
4418 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4419 eofbit instead of eofbit | failbit.
4420 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4421 ifstreams now are opened or'd with ios_base::in (as is correct).
4422 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4423 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4425 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4427 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4428 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4430 (__basic_file::filepos_valid): Same.
4431 (__basic_file::filepos_beg): Same.
4432 (__baseic_file::get_fileno): New function.
4433 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4434 feedback from LWG 49.
4435 * src/ios.cc: Move definition here.
4436 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4438 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4439 output part of internal buffer based on string size, so that
4440 _M_out_end is set consistently with filebufs. Correct comments.
4441 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4442 * testsuite/27_io/stringbuf.cc: Changes.
4444 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4446 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4448 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4450 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4451 (ofstream::open): Add ios_base::out to openmode.
4453 * bits/locale_facets.tcc (_M_extract): Have consistency between
4454 istream::sentry and extractors, where failbit | eofbit is
4455 set. Don't change this, but instead change. . (do some formatting
4457 * bits/istream.tcc (istream::sentry): Only set eofbit.
4459 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4461 * testsuite/27_io/istringstream_members.cc: New file.
4463 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4465 * bits/istream.tcc (istream::sentry): Flush.
4467 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4468 * configure: Regenerate.
4469 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4470 that make clean will not delete it.
4471 * src/Makefile: Regenerate.
4473 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4475 * mkcheck.in: Use host-specific invocation of size(1);
4476 GNU binutils isn't necessarily there (more's the pity).
4478 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4480 * configure.in (LIBS): Better tests for solaris2.6.
4481 * configure: Regenerate.
4483 <vakatov@ncbi.nlm.nih.gov>
4484 * bits/std_sstream.h: As per libstdc++20.
4486 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4488 Break out configuration on solaris.
4489 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4490 * config/solaris/ctype.cc: Delete and move to proper version.
4491 * config/solaris/bits: Same.
4492 * config/solaris/solaris2.5: Add this directory, with subdir bits
4493 and file ctype.cc. Probably doesn't work.
4494 * config/solaris/solaris2.6: Same.
4495 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4497 * Makefile.am: Change paths to mkcheck.
4498 * Makefile: Regenerate.
4499 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4500 * configure: Regenerate.
4501 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4503 * mkcheck: Now autogenerated by configure and renamed. . .
4504 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4505 Have longer-style dates.
4506 Raja R Harinath <harinath@cs.umn.edu>
4507 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4509 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4510 general documentation need to be organized around each other, not
4511 fight against each other. . .
4513 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4514 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4516 * README: Add a note referring to README.html.
4517 * docs/README.html: New file from Nicolai.
4518 * docs/faq/index.html: Move "how to get a copy" to here.
4519 * docs/gentop/footchunk.html: Update.
4520 * docs/gentop/headchunk.html: New links according to
4521 bkoz's idea for "How to..." stuff.
4522 * docs/gentop/thanks: Actually put people here.
4523 * docs/download.html: Regenerated.
4524 * docs/index.html, docs/links.html, docs/mail.html,
4525 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4526 * docs/how.html: Ditto. (This file should go away soon.)
4528 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4530 * docs/gentop/status: Add snapshot version column, update
4532 * docs/status.html: Regenerated.
4534 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4536 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4537 from installation FAQ, and specify location of text files.
4538 * docs/faq/index.txt: Regenerated.
4540 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4542 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4543 * docs/download.html: Regenerated.
4545 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4547 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4548 clean up various links.
4549 * docs/faq/index.txt: Regenerated.
4550 * docs/gentop/gentop: Smarter regeneration script.
4551 * docs/gentop/{head,foot}chunk.html: Updated with new
4552 contributors link and mod date.
4553 * docs/gentop/index: Snapshot relase date.
4554 * docs/gentop/thanks: New contributors page added.
4555 * docs/{download,how,index,links,mail,status,thanks}.html:
4556 Regenerated from gentop; thanks.html created.
4558 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4560 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4561 * docs/index.html: Add correct information.
4563 * config/irix: New directory.
4564 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4565 * config/irix/bits/ctype_base.h: And here.
4567 * config/aix: New directory.
4568 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4569 * config/aix/bits/ctype_base.h: And here.
4571 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4573 * bits/basic_string.h: Add special case handling for integral
4575 * bits/std_string.h: include type_traits.h
4576 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4578 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4580 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4582 * bits/std_fstream.h (sync): And here.
4583 * testsuite/27_io/filebuf.cc: Revisions.
4584 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4585 at the end of the file.
4586 * testsuite/27_io/filebuf-3.tst: Correct.
4588 1999-12-21 Phil Edwards <pedwards@jaj.com>
4590 * docs/gentop/index: Hold off on .7 announcement date.
4591 * docs/index.html: Regenerate.
4593 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4595 * bits/std_fstream.h (sync): Move _M_file->sync() to
4596 _M_really_overflow().
4597 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4598 as to get the _M_file->sync action, which forces the external
4599 buffer to update itself.
4600 (underflow): Same here.
4602 1999-12-21 Phil Edwards <pedwards@jaj.com>
4604 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4605 * acconfig.h: ...to here.
4606 * config.h.in: Regenerate from aclocal.
4607 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4608 * aclocal.m4: Regenerate from acinclude.
4609 * configure.in: Use ENABLE macros here.
4610 * configure: Regenerate.
4611 * src/Makefile.am: Use results from ENABLE macros.
4612 * src/Makefile.in: Regenerate.
4614 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4616 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4617 check" and not "make check-install." Temporarily hack in linux
4620 * bits/std_streambuf.h: Tweaks.
4621 * bits/streambuf.tcc (xsgetn): Tweaks.
4622 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4623 * bits/fstream.tcc (filebuf::underflow): Simplify.
4624 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4625 checks for read position precisely implement the standard.
4626 * bits/basic_file.h (filepos_cur): Base this on _offset.
4627 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4628 * testsuite/27_io/filebuf.cc: Tweak.
4630 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4632 * docs/17_intro/RELEASE-NOTES: Fix typos.
4634 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4635 out platform-specific bits.
4636 * config/default/ctype.cc: And here.
4637 * config/defaults/bits/ctype_base.h: And here.
4638 * config/linux/ctype.cc: And here.
4639 * config/linux/bits/ctype_base.h (ctype_base): And here.
4640 * config/solaris/bits/ctype_base.h (ctype_base): Add
4641 __to_type. Comment, as it looks like this is for solaris2.6 and
4642 above: solaris2.5.1 doesn't seem to have the same definitions.
4643 * config/solaris/ctype.cc: And here.
4645 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4646 Ulrich Drepper <drepper@cygnus.com>
4648 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4650 * src/locale.cc: Take out platform-specific hacks.
4651 * config/linux/ctype.cc: Put here.
4652 * config/solaris/ctype.cc: Put here.
4653 * config/default/ctype.cc: Put here.
4655 * bits/locale_facets.h: Take out platform-specific hacks.
4656 * config/linux/bits/ctype_base.h: Put here.
4657 * config/solaris/bits/ctype_base.h: Put here.
4658 * config/default/bits/ctype_base.h: Put here.
4660 * configure.in: Bump version.
4661 Add tests for top-level config directory.
4662 * configure: Regenerated.
4663 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4664 * src/Makefile: Regenerate.
4666 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4667 Ulrich Drepper <drepper@cygnus.com>
4669 * bits/locale_facets.h: Hack in solaris support.
4670 * src/locale.cc: Here too.
4672 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4674 * docs/17_intro/TODO: Update
4675 * docs/17_intro/RELEASE-NOTES (New): Update.
4677 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4679 * bits/c++config.h.in (__GLIBCPP__): Bump.
4680 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4681 * docs/17_intro/TODO: Update.
4683 * bits/locale_facets.h: Touch this too.
4684 * bits/localefwd.h: Add typedefs for loooooong vector names.
4685 * bits/locale_facets.tcc (locale::operator()): Need parens.
4686 (has_facet): Simplify.
4687 * src/locale-inst.cc: Add instantiations.
4688 * src/locale.cc: Tweaks.
4690 * bits/std_streambuf.h: Move indeterminates into. .
4691 * bits/std_fstream.h: Here.
4692 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4694 * bits/sstream.tcc: Very minor formatting tweaks.
4695 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4696 input buffer, set _M_buf to offset.
4697 * bits/istream.tcc (std): Tweaks.
4698 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4700 * testsuite/27_io/filebuf.cc: Tweaks.
4702 1999-12-17 Phil Edwards <pedwards@jaj.com>
4704 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4705 * configure: Regenerate.
4706 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4707 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4708 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4710 1999-12-17 Phil Edwards <pedwards@jaj.com>
4712 * docs/21_strings/stringtok_std_h.txt: New algorithm
4713 suggested by Chris King.
4714 * docs/21_strings/howto.html: Link to new version.
4716 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4718 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4720 * docs/17_intro/TODO: Update.
4722 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4724 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4725 * docs/gentop/gentop: Ditto.
4726 * docs/gentop/headchunk.html: Ditto.
4727 * docs/*.html: Regenerated from gentop.
4728 * docs/*/howto.html: Updated as test.
4729 * docs/faq/index.html: Updated, fixed CRLFs.
4730 * docs/faq/index.txt: Regenerated.
4732 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4734 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4736 * bits/std_complex.h
4737 (complex<float>::complex(const complex<double>&),
4738 complex<float>::complex(const complex<long double>&)): Define.
4740 * docs/17_intro/TODO: Update.
4742 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4744 * bits/istream.tcc (seekg): Don't set _M_gcount.
4746 * bits/fstream.tcc (filebuf::underflow): Re-sync
4747 external byte sequence's input buffer only. . .
4748 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4749 tellg, seekg and filebufs.
4750 (test05): Same for stringbufs.
4751 * testsuite/27_io/istream_unformatted-2.tst: New file.
4752 * testsuite/27_io/istream_unformatted-1.tst: New file.
4753 * testsuite/27_io/istream_unformatted-1.txt: New file.
4754 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4757 1999-12-13 Phil Edwards <pedwards@jaj.com>
4759 * docs/gentop/*: New directory, containing bits for the homepages.
4760 * docs/*.html: Regenerated from gentop.
4761 * docs/*/*.html: Entries added and regenerated.
4763 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4765 Efforts to get -O2 to work with -Winline -Werrors.
4766 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4767 _Tp&): Remove inline declaration, as cannot be inlined and
4768 -Winline -Werror complains. An interesting question is why this
4769 cannot be inlined, as I can see no real reason to disqualify it.
4770 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4771 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4773 * docs/17_intro/TODO: Update.
4775 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4777 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4779 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4780 the resultant position.
4781 * bits/fstream.tcc (seekoff): Explicitly set return value to
4782 resultant external byte sequence position, not value returned from
4783 _M_file->seekoff. Need to make
4784 (seekpos): New definition.
4786 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4787 just istream. Necessary, or else tellg will give an invalid stream
4788 position, but seekg will return a valid stream position, which is
4789 not groovy: see testcase addition.
4790 * bits/ostream.tcc (seekp): Same.
4792 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4793 * bits/sstream.tcc: Tweaks.
4794 * bits/locale_facets.tcc: Tweaks.
4795 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4796 Re-write in a way that is easier for the inliner to work with.
4797 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4799 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4801 * bits/locale_facets.tcc: Tweaks.
4802 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4804 * bits/localefwd.h: And here.
4805 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4806 * bits/ostream.tcc: Put here.
4808 Frank Ch. Eigler <fche@cygnus.com>
4809 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4811 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4813 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4814 in and out buffers update independantly.
4816 * bits/basic_ios.h: Minor formatting.
4817 * bits/fstream.tcc (std): Fix indentation.
4819 1999-12-08 Chip Salzenberg <chip@valinux.com>
4821 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4822 after corresponding eof() functions, so they're easier for the
4824 * bits/locale_facets.h (money_base::__default_pattern): Move
4825 static variable out of inline functions.
4826 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4827 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4829 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4831 * bits/std_fstream.h (filebuf::open): Tweak.
4832 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4833 * bits/std_ios.h: Minor tweaks for headers.
4835 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4837 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4838 * src/string-inst.cc: Add guards . . .
4839 * src/misc-inst.cc: And here.
4840 * bits/std_sstream.h: And here.
4841 * bits/std_fstream.h: And here.
4842 * bits/std_streambuf.h: And here.
4843 * bits/std_istream.h: And here.
4844 * bits/std_ostream.h: And here.
4846 1999-12-06 Scott Snyder <snyder@fnal.gov>
4848 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4850 (basic_istream::readsome): And here as well.
4851 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4854 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4856 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4857 necessarily an `int'.
4859 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4861 * mknumeric_limits: Don't use $CXXFLAGS when building
4862 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4863 generally instructs the compiler not to emit template
4864 instantiations and we end up with undefined symbols. Sigh.
4866 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4868 * bits/locale_facets.tcc: Tweak.
4869 (_S_format_long): Adjust showpos formatting for hex and oct.
4870 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4871 and oct by formatting as unsigned.
4872 (operator<<(int)): Same here.
4873 * bits/ostream.tcc (operator<<(long)): Same.
4874 (operator<<(long long)): Same.
4875 (_S_pad_char): Actually treat ios_base::internal as something
4876 worth doing correctly. Remove const designation on ios argument.
4877 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4878 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4880 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4882 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4884 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4886 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4888 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4889 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4890 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4891 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4892 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4894 (ostream::operator<<(_CharT)): Fix.
4896 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4897 see if this will increase compile speed.
4898 * bits/std_ostream.h: Likewise. . .
4899 * bits/std_istream.h: And here.
4900 * bits/std_fstream.h: And here.
4901 * src/misc-inst.cc: Add relevant header file includes for
4902 instantiation purposes.
4903 * src/string-inst.cc: And here.
4904 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
4906 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
4908 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4909 * bits/istream.tcc (get(streambuf)): More fixes.
4910 (istream::ignore): Get specific about numeric_limits<int>::max()
4913 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
4914 (filebuf::close): Same.
4915 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
4917 1999-12-01 Phil Edwards <pedwards@jaj.com>
4919 * mkcheck: Support for compilation/execution timing.
4920 * testsuite/printnow.c: New file.
4922 1999-12-01 Phil Edwards <pedwards@jaj.com>
4924 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
4925 * configure.in: Test for presence of wchar.h before testing
4926 for any of its features.
4927 * configure: Regenerate.
4929 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
4931 Preliminary istream validations complete.
4932 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
4933 formatting more consistent. Removal of if-statements inside of for
4938 * bits/std_istream.h: Same.
4939 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
4940 * testsuite/27_io/stringbuf.cc: Tweak.
4941 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
4943 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
4944 failbit on failure, as per 27.6.2.5.2.
4946 * stl/bits/std_vector.h: Allow bool specializations. Should move
4947 ext/std_bvector to bits, not ext, maybe.
4949 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
4951 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
4952 * configure: Regenerate.
4954 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
4956 * bits/istream.tcc (get(streambuf, char)): Fix.
4957 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4959 1999-11-29 Scott Snyder <snyder@fnal.gov>
4961 * bits/basic_string.h (append(const _Char*, size_type)): The
4962 length of the appended string is given exactly by the second arg,
4963 regardless of the data in the character array.
4964 * bits/string.tcc (basic_string(const _CharT*, size_type, const
4965 _Alloc&)): Likewise.
4966 * testsuite/21_strings/append.cc (test01): Remove erroneous test
4967 of basic_string::append.
4969 1999-11-29 Chip Salzenberg <chip@valinux.com>
4971 * Makefile.in: Tweaks for CXXFLAGS.
4972 * */Makefile.in: Same.
4974 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4976 * conficd bgure.in: Check for wide character support.
4977 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
4978 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
4979 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
4981 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4983 * acinclude.m4: Fix typo.
4984 * src/complex.cc: Fix macro line continuation.
4986 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
4988 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
4989 string literals in format, as used in locale-facets.tcc.
4991 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
4993 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4994 * bits/istream.tcc (istream::get): Extract to argument minus one.
4995 Various tweaks and fixes.
4997 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
4999 * bits/locale_facets.tcc: Workaround for compiler crash on
5002 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5004 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5005 * configure.in: Use.
5006 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5007 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5008 * bits/std_complex.h: Use.
5009 * src/complex.cc: Use.
5011 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5013 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5014 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5015 * testsuite/22_locale/ctype.cc: Likewise.
5016 * testsuite/23_containers/multiset.cc: Likewise.
5017 * testsuite/23_containers/vector_ctor.cc: Likewise.
5018 * testsuite/26_numerics/binary_closure.cc: Likewise.
5019 * testsuite/27_io/fpos.cc: Likewise.
5020 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5021 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5022 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5023 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5024 * testsuite/27_io/istream_sentry.cc: Likewise.
5025 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5026 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5027 * testsuite/27_io/streambuf.cc: Likewise.
5028 * testsuite/27_io/stringstream.cc: Likewise.
5030 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5032 * bits/valarray_meta.h: Don't forget to define tanh
5034 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5036 * src/stl-inst.cc: Use typedef to refer to iterator
5037 * stl/bits/stl_algobase.h: Add traits based dispatch for
5038 __normal_iterator in the copy()algorithm
5039 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5041 1999-11-18 Kevin Ediger <kediger@licor.com>
5043 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5044 constructors for locale::_Impl exception safe.
5046 1999-11-18 Scott Snyder <snyder@fnal.gov>
5048 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5049 _Sequence template argument of priority_queue<> as vector<>, not
5052 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5054 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5056 * bits/sstream.tcc: Adjust here too.
5058 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5060 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5061 * bits/istream.tcc (operator>>): Replace iostate(0) with
5062 iostate(ios_base::goodbit), which is the same thing, but hopefully
5064 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5065 libraries issue list 17.
5066 (do_gets): Don't set goodbit explicitly, instead only set on
5067 failures as good bit is the default setting.
5068 * bits/ios_base.h (setf): Set correctly.
5069 * bits/fstream.tcc: Tweak.
5070 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5071 in|out bufs that are empty. . .
5072 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5074 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5076 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5077 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5078 Add comments "all about _M_buf."
5079 (setg): Set _M_mode.
5081 1999-11-16 Kevin Ediger <kediger@licor.com>
5083 * bits/locale_facets.tcc (_S_build_float_format): New function.
5084 (_S_output_float): New function.
5085 (num_put::do_put(double)): Use 'em.
5086 (num_put::do_put(long double)): Use 'em.
5087 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5089 1999-11-15 Scott Snyder <snyder@fnal.gov>
5091 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5092 match how libio is calling us.
5093 * src/basic_file.cc (sys_seek): Likewise.
5094 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5096 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5098 * docs/17_intro/contribute.html: Add link to assignment form.
5099 * docs/17_intro/libstdc++-assign.txt: New file.
5101 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5104 * bits/std_streambuf.h (_M_buf_bump): New function.
5105 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5106 (xsputn): Here. Also add checks for output valid.
5107 (xsgetn): Add checks for input valid.
5109 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5110 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5111 Set _M_out_end to variable-length-end.
5112 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5115 * bits/fstream.tcc (std): Tweak formatting.
5116 (filebuf::overflow): Simplify.
5117 (filebuf::showmanyc): Same.
5118 (filebuf::underflow): Same.
5119 * testsuite/27_io/filebuf.cc: Fix.
5120 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5121 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5122 * testsuite/27_io/stringbuf.cc: Tweak.
5123 * testsuite/27_io/streambuf.cc: Tweak.
5124 * testsuite/27_io/istream_extractor_other.cc: Fix.
5126 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5128 * stl_deque.h: Use static_casts<size_type>(signed_type).
5130 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5132 Cleanups for callbacks, more regression hunting. Remaining
5133 failures (1) due to last unresolved stringstream issues, not
5135 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5136 killing 27_io/filebuf.cc tests. . . need another solution.
5138 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5139 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5141 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5142 foils all attempts at a graceful, minimal implementation.
5143 * bits/basic_ios.tcc: Tweaks.
5144 * bits/istream.tcc: Fix.
5145 * bits/ostream.tcc: Fix.
5146 * bits/std_istream.h: Fix.
5147 * bits/std_ostream.h: Fix.
5148 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5150 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5151 (_S_pad_numeric): Make comprehensible.
5153 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5155 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5156 (_S_ostream_fcache): New function.
5157 Move functions out-of-line.
5158 * bits/ostream.tcc: Put here.
5160 * bits/std_istream.h: Add callbacks for _M_fnumget.
5161 (_S_istream_fcache): New function.
5162 Move functions out-of-line.
5163 * bits/istream.tcc: Put here.
5165 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5166 _M_call_callbacks(), as ios_base::imbue does this already.
5167 * src/ios.cc (register_callback): Clean.
5168 (_M_call_callbacks): Same.
5169 * bits/ios_base.h: Callback work.
5170 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5172 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5173 Matthias Klose <doko@cs.tu-berlin.de>
5175 * stl/ext/stl_rope.h: Fix initialization order.
5177 1999-11-09 Scott Snyder <snyder@fnal.gov>
5179 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5180 _M_file->sync() so that redirection works correctly.
5182 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5184 * bits/istream.tcc: Re-order.
5185 * bits/std_istream.h: Fix getline problems.
5186 * testsuite/27_io/istream_unformatted.cc: New tests.
5188 Clean up regressions.
5189 * bits/std_sstream.h: Set initial stringbufs correctly.
5191 1999-11-09 Scott Snyder <snyder@fnal.gov>
5193 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5195 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5198 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5200 * src/Makefile.am (CXXFLAGS): Add -Winline.
5201 * src/Makefile.in: Regenerate.
5203 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5205 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5206 building meta-expressions don't forget to take the contained
5209 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5211 * configure: Regenerate.
5213 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5215 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5217 * bits/valarray_meta.h (min): Likewise.
5218 * bits/valarray_meta.h (max): Likewise.
5220 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5222 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5223 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5224 * bits/streambuf.tcc: Define.
5225 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5226 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5227 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5228 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5230 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5231 reported by Richard Atterer.
5232 * bits/char_traits.h: For consistency's sake, here too.
5234 * configure.in: Bump version to 2.90.7.
5236 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5238 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5239 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5240 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5242 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5243 writing into buffer.
5246 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5248 * bits/valarray_array.h (__valarray_sum): New function.
5249 * bits/valarray_array.h (__valarray_product): Same.
5251 * bits/std_valarray.h (valarray<T>::product): Comment out.
5252 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5253 instead of accumulate.
5255 * src/valarray-inst.cc: Remove explicit intantiation of
5256 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5257 * src/valarray-inst.cc (__valarray_product): Instantiate
5259 * src/valarray-inst.cc (__valarray_product(const
5260 valarray<size_t>&)): New function.
5261 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5262 valarray<size_t>::product. Use __valarray_product instead.
5265 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5267 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5268 (_S_pad_char): New function. Not done: ios_base::internal.
5269 * bits/ostream.tcc: Clean for above.
5270 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5271 specialization that was commented out, as ostreams now have to
5272 correctly deal with padding.
5273 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5275 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5276 from mailing list. This is a bug, and should be fixed.
5277 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5279 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5281 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5282 to avoid conflict with gcc name mangling.
5283 * stl/bits/stl_algo.h (__transform): Same.
5285 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5287 * bits/ios_base.h: Change argument names.
5288 * docs/17_intro/BADNAMES: Add __opr.
5290 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5292 Work on compilation slowdowns from 10-5 to 10-12, which are
5293 related to the _Callback_list inlining/merge-ifcation, which is
5294 still a pending issue, but this stuff is necessary cleanup anyway.
5296 * src/ios.cc: Re-arrange.
5297 * bits/ios_base.h: Tweak.
5298 * bits/basic_ios.tcc: Move out of line definitions here, move
5299 small out-of-line definitions inline.
5300 * bits/basic_ios.h: From here.
5302 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5303 * bits/std_streambuf.h: From here.
5305 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5307 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5308 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5309 * bits/istream.tcc (operator>>(istream&, string&): Remove
5310 vestigial issspace hacks and use ctype::is instead.
5311 (getline): Remove unnecessary loops, fortify and pasteurize.
5314 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5316 * bits/istream.tcc (operator>>): Tweak.
5317 * bits/std_istream.h: Fix according to library issues list 68.
5320 * bits/locale_facets.h: Fix table_size to be non-zero.
5322 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5324 * src/basic_file.cc: ifdef instead of comment for binary mode
5326 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5328 * bits/std_sstream.h: Stringbuf initialization based on actual,
5329 not allocated, size.
5330 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5333 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5335 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5336 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5338 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5340 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5342 * bits/std_istream.h: Tweaks.
5343 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5344 as per issues list addition--set failbit, eof on empty buffers.
5345 * testsuite/27_io/istream_sentry.cc: New file.
5347 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5349 * bits/std_cstdio.h: Remove Solaris hacks.
5351 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5353 * docs/index.html: Fix minor typos and tweaks.
5354 * docs/17_intro/contribute.html: Ditto.
5355 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5356 thread safety and binary I/O, links to external sites.
5357 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5360 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5362 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5363 ::fabs(double) rather than ::abs(int).
5365 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5367 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5368 *gptr(), not the result of underflow.
5369 (pbackfail): Conform to default behavior.
5371 * bits/streambuf.tcc: Add out-of-line streambuf members.
5374 * testsuite/27_io/streambuf.cc: New file.
5375 * testsuite/27_io/filebuf.cc: Correct test.
5377 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5379 * bits/std_cmath.h: Correctly cast int to double.
5380 * testsuite/26_numerics/c_math.cc: Add test.
5382 * mknumeric_limits (OUT_C): Tweaks.
5383 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5384 trying to instantiate type_traits<wchar_t>.
5385 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5386 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5387 * configure: Regenerate.
5389 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5391 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5392 (streambuf::xsputn): Put in break.
5393 Aiming for parity between these two (mostly) similar functions.
5394 Need to re-write tests.
5396 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5397 Make data members protected, not private.
5398 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5399 ios_base.h. As called only once, collapse into . . .
5400 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5401 (basic_ios::clear): Throw ios_base::failure on occasion.
5402 (basic_ios::exceptions): Fix.
5403 * testsuite/27_io/ios_members.cc (test02): Add tests.
5405 * bits/fpos.h: Default initialize.
5406 * testsuite/27_io/fpos.cc (test03): Add test.
5408 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5410 * src/basic_file.cc: Fix open modes.
5412 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5414 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5416 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5418 * bits/streambuf.tcc: Yea. Fix this for real.
5419 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5420 * src/Makefile.*: Regenerate.
5422 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5424 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5425 files so that stdtof and strtold will be declared. Some hacks
5426 already exits in bits/std_cctype.h -- these should all be removed
5428 * bits/locale_facets.tcc: Add cstring.h include.
5429 _S_format_long: Use long, not int.
5430 Add std_limits.h include, for numeric_limits.
5431 * testsuite/27_io/istream.cc: Make instantiations work when using
5433 * testsuite/27_io/ostream.cc: Same.
5435 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5437 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5438 a reference. Same for operators == and !=.
5439 * testsuite/27_io/fpos.cc: Add tests.
5441 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5443 * bits/valarray_array.h: Fix typo.
5445 * mknumeric_limits: Make sure we are regenerating things from
5446 scratch. Otherwise things get redefined. Not good.
5448 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5450 * bits/std_ostream.h: Fix typo.
5451 * bits/std_istream.h: Same.
5452 * bits/std_iomanip.h: Same.
5454 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5455 ostream, as happens with underflow anyway.
5456 * testsuite/27_io/istream.cc (main): New file.
5457 * testsuite/27_io/ostream.cc (main): New file.
5458 * testsuite/27_io/istream_unformatted.cc: Add tests.
5460 * src/Makefile.am (headers): Add new file.
5461 * src/Makefile.in (headers): Regenerated.
5463 * bits/basic_ios.h: Remove local-related files.
5464 * bits/basic_ios.tcc: New file, add locale-related items.
5465 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5466 * testsuite/27_io/ios_members_static.cc: Change to
5467 * testsuite/27_io/ios_base_members_static.cc: This.
5468 * testsuite/27_io/ios_members.cc: New file.
5469 * testsuite/27_io/stdios_basefield_manip: Change to
5470 * testsuite/27_io/ios_manip_basefield.cc: This.
5471 * testsuite/27_io/stdios_fmtflags_manip: Change to
5472 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5474 * bits/fpos.h: Fix discarding qualifiers on this when
5475 using _M_position with a const fpos.
5476 * bits/std_iosfwd.h: Tweak.
5477 * testsuite/27_io/fpos.cc: New file.
5479 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5481 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5482 * bits/ostream.tcc: Tweak.
5483 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5484 Add new regressions.
5486 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5488 * bits/basic_ios.h: Inline, tweak.
5489 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5490 pass back accurate return value to basic_filebuf::overflow.
5491 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5492 This fixes sstream problems reported in libstdc++/9, but screws up
5493 filebufs. That solution is pending.
5495 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5497 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5499 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5501 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5503 * bits/c++config.h.in: Add emacs hints.
5505 * stl/bits/stl_range_errors.h: Don't define here, for now define
5506 in stdexcept.cc along with string inlines __length_error, etc.
5507 * src/stdexcept.cc: Define here.
5508 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5509 at(size_t) will be declared/defined.
5510 (__STL_THREADS): Fix mess surrounding use of this, enable.
5512 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5514 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5515 * src/localename.cc: Tweak formatting, fix assignment to
5516 const compiler errors.
5518 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5520 * acconfig.h: Add absf, cosf.
5521 * configure.in (use_builtin_sinf): Same.
5522 * configure: Regenerate.
5523 * bits/std_cmath.h: Add mess of defines.
5524 * testsuite/26_numerics/modf_float.cc: Change to
5525 * testsuite/26_numerics/c_math.cc: This.
5527 * src/locale.cc: Change.
5528 * bits/locale_facets.h: Fix.
5529 * testsuite/22_locale/ctype.cc: Add temporary tests.
5531 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5533 * bits/fpos.h: Test.
5535 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5536 Fix database name for "libstdc++".
5538 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5540 * mknumeric_limits (numeric_limits): Add default definitions to
5542 * testsuite/18_support/numeric_limits.cc: New file.
5544 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5546 * bits/std_istream.h: Correct initialization.
5547 * bits/std_ostream.h: Likewise.
5548 * bits/std_sstream.h: Likewise.
5549 * bits/std_fstream.h: Likewise.
5550 * testsuite/27_io/stringstream.cc: Add test case.
5552 * bits/std_sstream.h: Replace ____string_type with __string_type.
5553 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5554 * bits/std_ostream.h: Tweak dtor.
5556 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5558 * src/Makefile.am (CXXFLAGS): Add -O2.
5559 * src/Makefile.in: Likewise.
5561 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5563 * mknumeric_limits (numeric_limits): Uglify.
5565 * bits/std_istream.h: Fix warnings.
5566 * bits/locale_facets.tcc: Collateral damage from
5567 char_traits<char>::int_type change.
5569 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5571 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5573 * docs/index.html: Add mailing list form.
5574 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5576 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5578 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5579 if overflow successfully allocates more space.
5580 * bits/std_sstream.h: Adjust comments.
5581 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5582 before overflow forces a resize.
5583 * testsuite/27_io/ostream_inserter_char.cc: New file.
5585 * bits/std_fstream.h: Remove declaration.
5586 * bits/fstream.tcc: Move uflow.
5587 * bits/std_streambuf.h: To here.
5588 * bits/streambuf.tcc: Make consistent.
5590 * src/Makefile.am (WERROR): Enable.
5591 * src/Makefile.in: Regenerate.
5592 * bits/sbuf_iter.h: Tweak.
5593 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5594 Use unsigned int as char_traits<char>::int_type.
5596 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5597 * testsuite/27_io/iostream_objects.cc: Terminate string.
5598 Move cin::operator>>(char*) test to extractor_char.cc.
5599 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5600 * bits/std_istream.h (basic_iostream): Make explicit definition
5602 * bits/std_sstream.h: Fix typos.
5603 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5604 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5605 initialized in a consistent manner, no matter if the underlying
5606 FILE/bit bucket is a tty or a text file or some other imaginary
5607 construct. This and setting _M_buf_size to 1 for cin allows
5608 istream::get(char) to work in a manner consistent with what others
5611 * docs/index.html: Link Stroustrup's C++ page.
5613 1999-08-12 Michael Cook <cook@sightpath.com>
5615 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5616 * bits/istream.tcc: ditto.
5617 * bits/sbuf_iter.h: ditto.
5618 * bits/std_istream.h: ditto.
5619 * src/Makefile.am: Add -Wall to CXXFLAGS.
5620 * src/Makefile.in: ditto.
5622 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5623 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5625 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5626 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5628 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5630 * testsuite/27_io/istream_unformatted.cc: New file.
5632 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5633 elaborate tests for int types with noskipws.
5635 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5636 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5637 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5638 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5639 * bits/istream.tcc: Fix operator>>(streambuf*).
5641 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5643 * docs/index.html: Remove references to egcs.
5644 * docs/17_intro/DESIGN: Same.
5645 * docs/17_intro/contribute.html: Same.
5646 * docs/17_intro/RELEASE-NOTES: Ditto.
5647 * docs/17_intro/howto.html: Same here.
5649 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5650 * stl/bits/stl_vector.h (_M_insert_aux):
5651 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5652 decimal/floating point support.
5653 * bits/locale_facets.h: Change _M_extract prototype.
5654 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5655 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5657 1999-08-10 Michael Cook <cook@sightpath.com>
5659 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5660 * bits/ios_base.h: ditto.
5661 * bits/istream.tcc: ditto.
5662 * bits/locale_facets.h: ditto.
5663 * bits/locale_facets.tcc: ditto.
5664 * bits/std_streambuf.h: ditto.
5665 * src/basic_file.cc: ditto.
5666 * src/locale.cc: ditto.
5667 * src/localename.cc: ditto.
5669 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5671 * bits/std_iomanip.h: Inline.
5673 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5675 * bits/std_streambuf.h: Correct member initialization order.
5676 * src/ios.cc: Add definitions for ios_base data members.
5678 1999-08-06 Phil Edwards <pedwards@ball.com>
5680 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5681 * docs/faq/index.html: Ditto. Removed bugs sections that have
5682 been fixed for a long time... Lots of "egcs" references still
5684 * docs/faq/index.txt: Regenerated.
5686 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5687 Andreas Amann <amann@physik.tu-berlin.de>
5689 * testsuite/26_numerics/binary_closure.cc (main): new test.
5691 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5693 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5696 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5698 * docs/index.html (host): Put in testing status.
5700 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5702 * docs/index.html: Update for libstdc++-2.90.6 release.
5703 * docs/17_intro/RELEASE-NOTES (New): Update.
5704 * docs/17_intro/BUGS: Update.
5705 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5706 * README (file): Update.
5708 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5710 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5712 ($(generated_headers)): Same.
5713 * src/gen-c++config.cc: Remove, rename to
5714 * bits/c++config.h.in: New file. Bump version number.
5715 * configure.in: Generate bits/c++config.h at configure time.
5716 * math/mathconf.h: include bits/c++config.h, not config.h.
5718 * bits/std_cmath.h: Fix remaining link error for solaris shared
5719 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5720 being, as on Solaris this silently calls sinf, which does not
5723 * src/complex.cc: More tweaks.
5725 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5727 * src/complex.cc: Same.
5728 * math/complex-stub.h: Change.
5729 * math/c_log10*.c: Change back to clog10*.c.
5731 * configure.in (NEED_C_LOG10): Delete.
5732 * configure: Regenerate.
5733 * math/Makefile.am: Change.
5735 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5737 * math/Makefile.am: Fix, for real.
5738 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5739 * math/clog.c: Move to c_log.c.
5740 * math/clog*: Ditto.
5741 * math/c_log10l.c (c_log10l): Change function name.
5742 * math/c_log10f.c (c_log10f): Change function name.
5743 * math/c_log10.c (c_log10): Change function name.
5745 * math/complex-stub.h: Change to c_log* variants.
5746 * src/complex.cc: And here.
5748 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5750 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5751 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5752 sequence, just the output sequence.
5753 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5754 the original string, all others use complicated heuristic.
5756 * src/complex.cc: Assume c_log10.
5757 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5758 symbols in shared libraries by making c_log/c_log10 part of the
5759 "must cmpile" sources. This may not work on solaris, must check.
5761 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5763 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5764 * bits/std_istream.h: Fix char extractors.
5765 * testsuite/27_io/istream_extractor_char.cc: Change.
5766 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5768 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5770 * bits/std_cctype.h: Fix for solaris2.6 builds.
5772 * bits/istream.tcc: Fix, thanks Alfred.
5773 * bits/std_istream.h: Formatting changes.
5775 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5776 _IO_cleanup will not be undefined.
5777 * libio/*: Regenerate.
5779 * bits/basic_string.h: More namespace-safety stuff.
5780 * testsuite/27_io/istream_extractor_char.cc: Fix.
5781 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5782 * testsuite/27_io/iostream_objects.cc: Fix.
5783 * testsuite/27_io/ios_ctor.cc: Fix.
5784 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5785 * testsuite/27_io/istream_extractor_other.cc: New file.
5787 * mkcheck (TESTS_FILE): Tweaks.
5789 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5791 * src/gen-c++config.cc: Note here, change version.
5792 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5793 * src/locale.cc: Used here.
5794 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5796 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5798 * bits/istream.tcc: Fix.
5799 * bits/std_istream.h: More changes to extractors.
5801 * testsuite/27_io/istream_extractor_char.cc: More.
5802 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5803 error in testsuite construction.
5805 * bits/std_istream.h: Partially revert.
5806 * bits/std_ostream.h: Same.
5807 * bits/std_sstream.h: Revert.
5809 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5811 * bits/std_sstream.h: Change initialization.
5812 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5813 * bits/std_istream.h: Same, also correct sentry args.
5814 * bits/istream.tcc: Add correct sentry args.
5816 * testsuite/27_io/istream_extractor_char.cc: New file.
5817 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5818 name changes making me dizzy.
5820 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5821 Benjamin Kosnik <bkoz@cygnus.com>
5823 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5826 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5828 * bits/std_complex.h: Tweak. Make the primary template class
5829 complex work with user-defined numerical types. Provide member
5830 definitions. Restructure.
5831 (class complex<float>): Uglify. Remove __value(). Rename __val
5832 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5833 private. Remove dependency on __value(). Fix various explicit
5834 specialization syntax. Declare a some functions friend. Now the
5835 implementation is nearly comforming.
5836 (class complex<double>): Likewise.
5837 (class complex<long double>): Likewise.
5839 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5840 (sin, sinh, tan, than): Fix call to corresponding C9x function
5843 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5845 * bits/istream.tcc (ws): Fix error with failbit being set.
5847 Disabled due to egcs/gcc-2_95 internal compiler errors.
5848 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5849 -fnew-exceptions. Compiling with namespaces enabled will now be
5851 * mkcheck (CXX_FLAG): Same.
5852 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5853 * bits/std_cctype.h: Not enough to just define in namespace std if
5854 ctype-isms are macros. Need to also define in namespace std:: if
5855 the C functions are just plain functions.
5857 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5859 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5861 * docs/18_support/howto.html: Start documentation. Need to keep
5862 track of the ongoing discussion in th LWG reflector.
5864 * src/gen-num-limits.cc: Tweak.
5865 (class predicate): New class.
5866 (class value): Likewise.
5867 Make the whole machinery more flexible. Add comments.
5869 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5871 * bits/ios_base.h: Move state/exception functions into basic_ios.
5872 * bits/basic_ios.h: Same.
5873 * src/ios.cc: And here. Callbacks don't attempt to reset
5876 * bits/std_streambuf.h: Separate ios and streambuf locale data
5877 members and cached facets. Using this convention: _M_locale_buf for
5878 the streambuf-related classes, and _M_locale_ios for the ios
5880 * bits/fstream.tcc: And here.
5881 * bits/basic_ios.h: And here. Also, add cached ctype.
5882 * src/ios.cc: Ditto.
5883 * bits/ios_base.h: Ditto.
5884 * bits/std_istream.h: Use cached ctype facet.
5885 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5888 * testsuite/27_io/ios_ctor.cc: New file.
5889 * src/ios.cc: Move _M_state init to basic_ios::init().
5890 * bits/basic_ios.h: To here.
5892 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5893 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5894 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5895 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5896 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5898 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5900 * src/ios.cc: Tweak initializations of standard iostream
5901 objects to closely match the standard. Tie cin/wcin, set flags on
5903 * bits/char_traits.h: Change from size_t to int_type, as per
5904 standard. As per wide streams.
5905 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
5906 for caching a bunch of ctype info. For instance, ctype_base::space
5907 info needs to be stored somewhere, somehow.
5908 * bits/std_istream.h: Also here.
5909 * bits/std_ostream.h: Ditto.
5910 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
5911 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
5914 * bits/istream.tcc (ws): Fix.
5915 * testsuite/27_io/istream_manip.cc: New file, test ws.
5916 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
5918 * bits/basic_string.h: Provide a specialized member function for
5919 _S_find<char> using strchr.
5920 * src/string-inst.cc: Put specializations here.
5921 * bits/string.tcc: Small fix for find, remove typo.
5922 * testsuite/21_strings/find.cc (test01): Add tests to catch this
5925 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5927 * bits/basic_ios.h: Put into basic_ios namespace.
5930 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5932 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
5933 adjust _M_*_cur pointers inside the function, so callee doesn't
5935 * bits/sstream.tcc (stringbuf::overflow): Tweak.
5937 * mkcheck: Tweak. Add execution time field, even though it is not
5938 implemented yet. Simplify pass/fail status notation.
5940 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
5942 * configure.in: Check for float.h and underscored version of
5944 * acconfig.h: Add @BOTTOM@ section for handling underscored
5946 * configure: Regenerate.
5947 * config.h.in: Regenerate.
5948 * math/mathconf.h (float.h): Include conditionally.
5949 (M_PI): Define conditionally.
5950 (INFINITE_P): Define for Mingw.
5951 * bits/locale_facets.tcc: Workaround for compiler crash on
5953 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
5954 * src/locale.cc (bits/std_istream.h): Include.
5955 (bits/std_ostream.h): Likewise.
5957 1999-07-18 Phil Edwards <pedwards@ball.com>
5959 * docs/faq/index.html: Updated __black_count notes, fixed typos.
5960 * docs/faq/index.txt: Regenerated.
5962 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5964 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
5966 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
5967 newly-allocated buffer.
5968 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
5969 overflow condition bits.
5971 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
5973 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
5974 _M_buf_size to initial _M_string.size(), even though for
5975 ostringstreams it is pretty pointless. It's necessary for
5977 (stringbuf::str()): Adjust.
5978 (stringbuf::str()): Adjust, call _M_init_stringbuf.
5979 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
5980 overflow's possible success.
5981 (streambuf::xsputn): Adjust.
5983 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
5985 * testsuite/27_io/stringbuf.cc: Tweak.
5986 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
5988 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
5989 with other constructor tests to. . .
5990 * testsuite/23_containers/vector_ctor.cc: New file.
5992 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
5994 * testsuite/*: Changes to make the testsuit compilable with
5995 -fhonor-std. Contains direct qualification of library names with
5998 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6000 * bits/streambuf.tcc: Tweaks.
6001 (streambuf::xsputn): Optimize, fix for sstreams.
6002 (streambuf::xsgetn): Same.
6003 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6004 correctly, handle overflow/reallocate conditions correctly.
6005 * bits/std_sstream.h: Fix typo.
6006 _M_init_stringbuf(): Fix _M_buf_size initialization.
6007 (stringbuf::str()): Construct return string if output has occurred.
6009 * bits/basic_string.h: Fix typo from yesterday's patch.
6011 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6013 * bits/string.tcc: _M_mutate - clear _M_state again.
6014 * bits/basic_string.h: In the three functions that return
6015 an iterator set _M_state to -1 before return.
6016 Also optimized two cases of operator+.
6018 1999-07-12 Phil Edwards <pedwards@ball.com>
6020 * docs/index.html: Expand egcs-1.1.2 notes/links.
6021 * docs/faq/index.html: And here. Add links to LWG issues-list.
6022 * docs/faq/index.txt: Regenerate. (lynx rocks)
6023 * docs/21_strings/howto.html: Fix notes on case conversion.
6024 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6025 * docs/23_containers/howto.html: Stub for bitmasks.
6026 * docs/27_io/howto.html: Add section on buffering, stub binary.
6028 1999-07-12 Nathan Myers <ncm@cantrip.org>
6030 * stl/bits/stl_tree.h (__black_count): Optimize.
6032 1999-07-09 Vadim Egorov <egorovv@1c.ru>
6034 * src/basic_file.cc: Cleanup in __basic_file destructor.
6036 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6038 * bits/std_streambuf.h: Changes. . .
6039 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6040 basic_streambuf, to be used for both filebufs and streambufs.
6041 * bits/std_fstream.h (_M_init_filebuf): New function.
6042 Take out specialized xsputn, put into basic_streambuf.
6043 * bits/fstream.tcc: Define, call from both ctors.
6044 * bits/std_sstream.h (_M_init_stringbuf): New function.
6045 * bits/sstream.tcc: Tweak.
6047 * docs/27_io/iostreams_heirarchy.pdf: New file.
6049 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6050 acceptance. Wooo-hoo!
6052 * bits/char_traits.h: Change int_type for char_traits general
6053 template, so that 21_strings/capacity.cc will compile.
6054 * testsuite/21_strings/capacity.cc: Add operators.
6056 * bits/string.tcc (string::compare): Clean up, re-implement.
6057 * testsuite/21_strings/compare.cc: Tweak.
6059 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6060 _M_state, which means that whenever begin() or end() has been
6061 called, the string is unshareable, period. By doing this, insert
6062 and erase member functions that return iterators can remain
6063 footloose and fancy free.
6064 * testsuite/21_strings/invariants.cc: Update.
6066 * bits/basic_string.h (string::append): Fix self-referential
6067 problems, ie when "this" is also an argument to a member function.
6068 * bits/string.tcc: Tweak, same.
6069 * testsuite/21_strings/append.cc: New file.
6071 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6073 * bits/char_traits.h: Tweaks.
6074 * bits/basic_string.h: Tweak.
6075 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6077 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6079 * bits/std_streambuf.h: Absorb/acquire data members previously
6080 working in basic_filebuf.
6081 * bits/streambuf.tcc: Tweaks.
6082 * bits/fstream.tcc: Adjust.
6083 * bits/std_fstream.h: Move and rename the following functions:
6084 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6085 now declared and defined in the base class, basic_streambuf. Oh
6086 fuck it, move data members _M_buf, and _M_buf_size into
6087 basic_streambuf as well.
6089 * bits/ostream.tcc: Tweak.
6090 * bits/locale_facets.tcc: Fix typo in comments.
6092 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6093 state from good to not good, as eof() is set.
6095 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6097 * bits/char_traits.h (char_traits::compare). Fix.
6099 * config.guess, config.sub: Update.
6101 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6103 * bits/string.tcc: Check the __res_arg for a length error.
6105 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6107 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6108 and related functions into basic_streambuf, from basic_filebuf to
6109 take care of ostringstreams and empty strings. So that's groovy,
6111 * bits/std_istream.h: Tweaks.
6112 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6113 * bits/std_ostream.h: And here.
6114 * bits/ostream.tcc: Same.
6115 * src/misc-inst.cc: Add instantiations for ws.
6117 * src/string-inst.cc: Add instantiations for inserters and
6118 extractors (operators << and >>, getline).
6120 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6121 a testcase for getline and operators << and >>. Ostream tests are
6122 failing right now, but istream tests should work. . .
6124 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6125 * bits/std_sstream.h: Revert.
6127 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6128 istream, ostream, streambuf, fstream, sstream].cc: New files.
6130 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6132 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6135 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6136 specializations for _CharT*, iterator and const_iterator.
6137 * src/string-inst.cc: Remove explicit instantiation, as
6138 now explicitly specialized.
6140 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6141 a default value set to 0.
6142 * bits/string.tcc: In _M_clone by the call of _S_create add the
6143 value of the new parameter to _M_length. In reserve check
6144 _M_state and use _M_clone instead of _M_mutate.
6146 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6148 * bits/basic_string.h: Fix _S_max_size.
6149 * bits/string.tcc: Add def here.
6150 * testsuite/21_strings/insert.cc: Fix.
6152 * bits/sbuf_iter.h: Remove detritus.
6153 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6155 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6156 to resolve alpha-osf4 build problems.
6158 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6160 * bits/string.tcc: Fix signed/unsigned issues in compares.
6161 * stl/bits/stl_deque.h: And here.
6162 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6164 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6166 * bits/string.tcc: New implementation and interface of _M_mutate.
6167 Adapt the change in all functions that call _M_mutate.
6168 * bits/basic_string.h: And here.
6170 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6172 * testsuite/21_strings/capacity.cc (test01): Fix.
6174 1999-06-29 Phil Edwards <pedwards@ball.com>
6176 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6178 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6180 * stl/bits/stl_vector.h: Fix.
6181 * testsuite/23_containers/vector_cons.cc: Add.
6183 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6185 * mknumeric_limits (LDFLAGS): fix.
6187 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6189 * mknumeric_limits (LDFLAGS): set it according to the system.
6191 * math/mathconf.h (NAN): Check whether host is running under
6192 Cygwin and make the appropriate definition.
6193 * math/complex-stub.h (nan): protect declaration.
6195 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6197 * bits/sbuf_iter.h: Rename internal data structure to prevent
6198 confusion between basic_ios and istreambuf_iterators internal
6199 basic_streambuf data member.
6200 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6202 * bits/basic_string.h: Remove conditionals, add input_iterator
6203 version of S_construct again.
6204 * bits/string.tcc: Same.
6205 * src/string-inst.cc: And add explicit instantiation here.
6207 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6208 and __USE_GNU macro defines, as single __USE_GNU use leading to
6209 confusion on glibc2.1 systems (ie, RedHat 6.0).
6211 * src/Makefile.am (headers): Add std_utility to installed headers.
6213 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6215 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6217 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6219 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6221 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6223 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6224 macros to include _GLIBCPP as a distinct namespace.
6228 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6229 * bits/basic_string.h: Remove __get_c_string.
6230 * src/stdexcept.cc: Define ctor here.
6231 * bits/ios_base.h: And fix ios_base::failure as well.
6232 * src/ios.cc: Define here.
6234 * bits/std_streambuf.h: Add a private copy ctor and assignment
6235 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6236 * bits/ios_base.h: And here too.
6238 * bits/basic_string.h: Tweak.
6239 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6241 * src/valarray.cc: Rename to. . .
6242 * src/valarray-inst.cc: This.
6243 * src/Makefile.am (sources): Change here.
6244 * src/Makefile.in: Regenerated.
6246 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6248 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6251 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6252 Tom Tromey <tromey@cygnus.com>
6254 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6255 Use AM_CONDITIONAL to get us out of this jam. .
6256 * libio/Makefile.am: Same.
6257 * */Makefile: Regenerated.
6259 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6260 John Potter <jpotter@eagle.lhup.edu>
6262 * stl/bits/stl_tree.h (insert_equal): Fix.
6263 * testsuite/23_containers/multiset.cc: New file.
6265 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6267 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6268 this works correctly on glibc-2 systems. This should allow
6269 simplified linking on these systems, and successful linking on Red
6271 * configure, Makefile: Regenerate.
6273 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6275 * testsuite/ext: New directory.
6276 * testsuite/ext/headers.cc: New file.
6278 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6280 * stl/ext/hash_set: include missing headers
6281 * stl/ext/hash_map: Same
6282 * stl/ext/slist: Same
6284 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6286 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6288 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6290 * src/Makefile.am (sources): Regenerate.
6291 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6294 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6296 * src/string-inst.cc: Change _S_construct signature, to
6297 track requested allocation size versus valid input iterator range.
6298 * bits/basic_string.h: Here too.
6299 * bits/string.tcc: And here.
6301 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6303 * mkcheck (LOG_FILE): Correctly append errors.
6305 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6307 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6308 to clarify differences between basic_string::_M_data() calls and
6309 _Rep::_M_data() calls.
6310 * bits/std_string.h: Fix.
6311 Put in check for out_of_range in substr.
6312 * bits/string.tcc: Fix for _S_find.
6314 * testsuite/21_strings/compare.cc: Add tests.
6315 * testsuite/21_strings/find.cc: New file.
6316 * testsuite/21_strings/substr: New file.
6317 * testsuite/21_strings/replace.cc: New file.
6319 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6321 * bits/valarray_array.h: __restrict__ify pointers.
6323 * bits/std_valarray.h: Tweak.
6324 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6326 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6328 * bits/gslice.h: Tweak.
6329 (class gslice::_Indexer): new class.
6330 (gslice::gslice(const gslice&)): implement copy-ctor to support
6332 (gslice::operator=(const gslice&)): support ref-counted index.
6333 (gslice::_M_convert_to_index): delete.
6335 * src/valarray.cc: New file.
6336 (__gslice_to_index): turn a gslice into a valarray<size_t>
6337 (ctor gslice::_Indexer::_Indexer): implement.
6339 * src/Makefile.am (sources): add valarray.cc
6340 * src/Makefile.in: regenerate.
6342 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6344 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6345 ctor): Put in a const_cast.
6347 * testsuite/21_strings/invariants.cc: New file.
6349 * testsuite/21_strings/insert.cc: Add exception handling bits.
6350 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6352 * src/wstring-inst.cc: Add c++config.h include.
6354 * bits/basic_string.h: Fix const operator[] for size == pos.
6355 Add _M_leak for rbegin, non-const.
6356 Add _M_leak for rend, non-const.
6357 Make member function at standards conformant.
6358 Add _S_terminal to _Rep for operator[] const, add this into
6360 * bits/string.tcc: Add static member definition here,
6363 * testsuite/21_strings/element_access.cc: Add tests.
6365 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6367 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6370 1999-06-08 Phil Edwards <pedwards@ball.com>
6372 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6373 caused when __testinit is true.
6374 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6375 using rdbuf()->sputn rather than _M_fnumput->put.
6377 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6379 * testsuite/23_containers/bitset_ctor.cc: New file.
6380 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6382 1999-06-08 Phil Edwards <pedwards@ball.com>
6384 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6386 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6388 * testsuite/21_strings/element_access.cc: Finish off these tests.
6389 * testsuite/21_strings/insert.cc (test01): Uncomment.
6390 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6391 * bits/basic_string.h: Tweak, okay, fix for real this time.
6392 * bits/string.tcc: Same.
6393 * bits/char_traits.h: Tweak.
6395 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6397 * bits/std_cmath.h: Example of how to use the generated macro.
6398 * acconfig.h: Add macro for sinf here.
6399 * configure.in (LIBS): Add test for builtin math function sinf.
6400 * configure: Regenerated.
6402 * bits/basic_string.h: Fix _S_max_size.
6404 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6406 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6407 Remove _S_construct signature for forward_iterator_tag and
6410 * src/string-inst.cc: Same, tweaks.
6411 * bits/string.tcc: Same, tweaks.
6413 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6414 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6415 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6418 * src/locale.cc: Final separation for char/wchar_t bits.
6420 1999-06-05 Phil Edwards <pedwards@ball.com>
6422 * docs/index.html: Added link to book upon request'n'agreement.
6423 * docs/23_containers/wrappers_h.txt: Added.
6424 * docs/{23_containers,27_io}/howto.html: Added sections.
6426 * bits/std_fstream.h: Tweak.
6428 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6430 * src/ios.cc: Same here.
6431 * bits/std_iosfwd.h: More wchar_t defines.
6433 * bits/basic_string.h: Tweaks.
6434 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6435 when doing error checking, as per LWG defect #83.
6437 * src/gen-c++config.cc: Fix comment.
6439 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6441 * testsuite/21_strings/element_access.cc: New file, checks for
6442 operator[], at(...).
6443 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6444 * testsuite/21_strings/char_traits.cc: New file, tests
6445 for char_traits<char>.
6447 * bits/utility.h: Remove, again.
6448 * src/Makefile.am (std_headers): Remove utility.h.
6449 * src/Makefile.in (std_headers): Regenerate.
6451 Alfred Minarik <a8601248@unet.univie.ac.at>
6452 * bits/basic_string.h: Move __out_of_range and __length_error into
6455 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6457 * testsuite/26_numerics/modf_float.cc: New file.
6459 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6460 typo: use ::modff, not ::modf.
6462 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6464 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6466 * testsuite/21_strings/capacity.cc (test01): Test.
6468 1999-06-03 Phil Edwards <pedwards@ball.com>
6470 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6471 unused variables to within #if 0 blocks to do the same.
6472 * bits/std_fstream.h: Fix typos (one prevents compilation).
6474 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6476 * src/wstring-inst.cc: Fix.
6478 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6480 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6481 * stl/bits/stl_string_fwd.h: Same.
6482 * bits/locale_facets.h: Same.
6483 * bits/locale_facets.tcc: Same.
6484 * src/wstring-inst.cc: And here.
6486 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6487 problems on HPUX 10.20.
6488 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6489 here as a temporary hack till the compiler/host problems get
6492 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6493 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6494 converting "long double" to struct long_double. Probably should be
6495 done with one macro (HAVE_STRTOLD) at configure time.
6497 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6498 gives re-declaration under hpux10.20. Revert previous change, as
6499 kills linux/x86, solaris 2.7, hpux builds. These should be done
6500 using autoconf, see std_cctype.h and the solutions started in
6501 configure.in (see config.h for the generated file.)
6503 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6504 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6507 * docs/index.html: Add some useful links.
6508 * docs/17_intro/contribute.html: Fix broken links.
6510 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6512 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6513 paths. The rest of the world should be able to run this script
6516 * src/Makefile.am ($(generated_headers)): Remove comment.
6517 * Makefile*: Regenerate.
6519 * bits/std_locale.h: Remove detritus.
6520 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6523 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6525 * src/gen-c++config.cc: New file. Making c++config.h at configure
6526 time by catting this file (nee bits/config.h) with the build
6527 directories config.h. This is not a complete or perfect solution
6528 but is better than what was in place previously.
6529 * bits/c++config.h: Rename/move to above.
6530 * src/Makefile.am (headers): Remove c++config.h.
6531 (myinstallheaders). Add.
6532 * Makefile*: Regenerated.
6534 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6535 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6536 declared only if not present in the host's wchar.h.
6538 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6540 * bits/std_cmath.h: Define out, for the moment. Linux has no
6541 __buitin_fsqrtl? Probably need some kind of configure trickery
6544 * src/Makefile.*: Regenerate.
6545 * bits/c++config.h: Add config.h include.
6547 * bits/std_cwchar.h: Remove remaining #error guard.
6549 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6551 * configure.in (LIBS): Replace previous effort for mbstate_t and
6552 strtold/strtof with this implementation.
6554 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6556 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6559 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6561 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6562 for determining mbstate_t differences across various hosts not
6565 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6567 * bits/locale_facets.tcc: Change to ifdef.
6569 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6570 * bits/std_fstream.h (filebuf::setbuf): Same.
6572 * bits/std_istream.h: Add ws declaration.
6573 * bits/istream.tcc: Stub out definition.
6575 * docs/index.html: Fix broken link for design.txt.
6577 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6578 then set _G_NEED_MBSTATE_T.
6579 * configure: Regenerate.
6580 * bits/c++config.h: Move mbstate_t define.
6581 * bits/std_cwchar.h: To here.
6583 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6585 * bits/std_sstream.h:
6586 basic_stringbuf<>::basic_stringbuf: fix.
6587 basic_stringbuf<>::setbuf:
6588 remove the temporary __string_type object,
6589 remove the unnecessary dynymic_cast in the return value,
6590 change the type of the returned value from __streambuf_type*
6591 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6593 1999-05-25 Phil Edwards <pedwards@ball.com>
6595 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6597 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6599 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6600 in <math.h>. <cmath> still incomplete and incorrekt.
6602 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6604 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6606 1999-05-23 Phil Edwards <pedwards@ball.com>
6608 * docs/17_intro/howto.html: Added links to text docs,
6610 * docs/21_strings/howto.html: Updated sections and links.
6611 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6612 * docs/faq/index.html: Updated what-works for sixth
6613 snapshot. Also a number of "internal" links have been
6614 fixed, now that the web pages are the docs directory...
6615 * docs/faq/index.txt: Regenerated.
6617 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6619 * bits/basic_string.h: Add Nathan's documentation on the string class.
6621 * testsuite/27_io/ios_members_static.cc: New file, for testing
6622 ios_base::sync_with_stdio.
6624 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6626 * bits/std_locale.h: Simplify includes.
6627 * bits/loccore.h: Delete.
6628 * bits/localefwd.h: Renamed, trimmed.
6629 * bits/locfacets.h: Delete.
6630 * bits/locale_facets.h: Rename, expanded.
6631 * bits/loccore.tcc: Deleted.
6632 * bits/locfacets.tcc: Deleted.
6633 * bits/locale_facets.tcc: Resultant merge.
6634 * bits/std_fstream.h: Modify include.
6635 * bits/ostream.tcc: Same.
6636 * bits/istream.tcc: Same.
6638 * src/locale-inst.cc: And here.
6639 * src/locale.cc: Ditto.
6640 * src/Makefile.am: Updated.
6641 * src/Makefile.in: Rengenerated.
6643 * bits/std_istream.h: Move istream::sentry ctor definition.
6644 * bits/istream.tcc: Move istream::sentry ctor here.
6645 Add more detailed locale include here for ctype member functions.
6646 * bits/ostream.tcc (std): And here.
6648 * bits/sbuf_iter.h: Include std_streambuf.h
6650 * bits/locfacets.h: Start separating this into a localeimp.h file.
6651 * bits/loccore.h: Start separating this into a localefwd.h file.
6652 Add std_climits for CHAR_BIT.
6654 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6656 * bits/char_traits.h: Tweak.
6658 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6660 * bits/std_ostream.h: Remove c++config.h include.
6661 * bits/std_istream.h: Same.
6662 * bits/std_streambuf.h: Same.
6663 * bits/std_fstream.h: Same.
6664 * bits/std_sstream.h: And here.
6666 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6667 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6668 * bits/fpos.h: Tweak, format.
6670 * std/ciso646: New file.
6671 * bits/std_ciso646.h: New file.
6672 * src/Makefile.am (std_headers): Add ciso646.
6673 (headers): Add bits/std_ciso646.h.
6674 * src/Makefile.in: Regenerate.
6675 * testsuite/17_intro/header_ciso646.cc: New file, disable
6678 * bits/fpos.h: Remove libio.h include.
6679 * bits/basic_file.h: And here.
6680 * bits/std_ios.h: Put here.
6682 * src/ios.cc: Simplify includes, tweak.
6683 * bits/std_ios.h: Simplify include order.
6684 * bits/ios_base.h: Modify ios_base::failure.
6686 * stl/bits/std_numeric.h: Change include from stl_iterator to
6689 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6691 * std/iostream: Remove static member __ioint.
6692 * bits/std_iostream.h: Put here.
6694 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6695 * stl/bits/stl_algobase.h: Same.
6696 * testsuite/27_io/iostream_objects.cc: Regression tests.
6697 * testsuite/27_io/hello.cc: Remove, subset of above.
6699 1999-05-19 Phil Edwards <pedwards@ball.com>
6701 * docs/index.html: Tweak, update.
6703 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6705 * docs/17_intro/RELEASE-NOTES: remove outdated
6706 documentation about numeric_limits. Correct CXXINCLUDE setting
6709 1999-05-18 Phil Edwards <pedwards@ball.com>
6711 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6712 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6713 27_io}/howto.html: Created, with some initial entries.
6714 * docs/faq/index.html: Fixed some links.
6715 * docs/faq/index.txt: Regenerated.
6717 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6719 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6721 * docs/17_intro/RELEASE-NOTES: Update.
6722 * docs/index.html: Correct link to mailing list help page, update News.
6723 * docs/faq/index.html: Change fifth to sixth for snapshot.
6725 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6726 install $(top_builddir)/bits/std_limits.h into
6727 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6728 Makefile.am changes.
6729 * *Makefile*: Regenerate using automake.
6731 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6732 * testsuite/27_io/filebuf.cc: Same.
6734 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6736 * docs/17_intro/CHECKLIST: update.
6737 * docs/17_intro/TODO: update.
6739 1999-05-17 Phil Edwards <pedwards@ball.com>
6741 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6742 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6743 27_io}/howto.html: Created, with some initial entries.
6744 * docs/faq/index.html: Fixed some links.
6745 * docs/faq/index.txt: Regenerated.
6747 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6749 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6750 * Makefile.in*: Regenerate.
6752 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6754 * bits/std_streambuf.h: Same.
6756 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6757 * bits/locfacets.h (std): Same.
6758 * bits/sstream.tcc: Same.
6759 * testsuite/27_io/stringstream.cc: Tweak.
6761 * testsuite/27_io/filebuf.cc: Adjust.
6762 * testsuite/21_strings/capacity.cc (test01): Add more
6763 string::reserve tests.
6765 * bits/c++config.h: Remove broken CCTYPE.
6766 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6767 sequestered topper implementation.
6768 * bits/std_cwctype.h: Same.
6770 * bits/missing.h: Remove.
6771 * bits/std_locale.h: Remove missing.h include.
6773 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6775 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6776 INCLUDES: Add top_builddir.
6777 * src/Makefile.in: Regenerate.
6779 * Makefile.am: Add check and check-install as new targets.
6780 * testsuite/make_check_libfree++: Move to. . .
6782 * configure.in: Tweak versions.
6783 * mknumeric_limits: Set paths correctly.
6785 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6787 * src/Makefile.in (myinstallheaders): add rule to install
6790 * bits/slice.h (class slice): don't const-qualify data members
6791 since the copy and assignment operator is implicitly used. The
6792 valarray specification is definitively a bad one.
6794 * Makefile.in (generate-limits-sources): fix typo.
6796 * docs/text/TODO: update.
6797 * docs/text/CHECKLIST: update.
6799 * bits/gslice.h (gslice): fix bugglet.
6800 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6803 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6804 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6805 [Note: **/Makefile.in should be generated from the corresponding
6806 Makefile.am. The current situation is a litte chaotic. ]
6808 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6810 * mknumeric_limits: tweak.
6812 * Makefile.in (all): add target generate-limits-sources.
6813 (generate-limits-sources): make a directory bits/ in top_builddir
6814 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6815 directly under $(top_builddir)/src. Remains to put the appropriate
6816 rule for installing std_limits.h.
6818 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6819 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6820 now generated at build-time in the build directory
6821 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6822 * src/Makefile.am: reflect changes in src/Makefile.in
6824 1999-05-12 Phil Edwards <pedwards@ball.com>
6826 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6827 all but one empty entry. Add links for HOWTOs, but no files yet.
6828 (Corrected HOWTO links are for bkoz's new scheme.)
6829 * docs/faq/index.txt: Regenerated.
6831 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6833 * testsuite/17_intro/headers.cc: New file.
6834 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6835 * bits/std_cwctype.h: New file.
6837 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6839 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6841 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6842 Check __USE_MALLOC before defining specializations containing
6843 __default_alloc_template.
6844 * src/stl-inst.cc: Here too.
6846 * bits/basic_string.h: Change.
6848 * testsuite/make_check_libfree++: More tweaks.
6849 * testsuite/21/capacity.cc: New file.
6851 * src/string.cc: Rename to be consistent with other inst files.
6852 Rename to string-inst.cc.
6853 * src/string*.cc: Change include.
6854 * src/wstring.cc: Rename to wstring-inst.cc.
6855 * src/wstring*.cc: Ditto.
6856 * src/Makefile.in: Also here.
6857 * src/Makefile.am: Ditto.
6859 * src/traits.cc: Remove.
6860 * src/wtraits.cc: Same.
6862 Try a new way of organizing documentation, one with synchronicity
6863 between testsuites and docs subdirectories, and see who yelps.
6864 * docs/html: Remove, use chapter and subject specific directories
6865 instead of forcing things immediately into format of
6869 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6870 directory and sort by filename and extension.
6871 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6872 22_locale, 23_containers, 24_iterators, 25_algorithms,
6873 26_numerics, 27_io: Add.
6874 * docs/17_intro/*: Populate with all the text files. . .
6875 * docs/index.html: Construct.
6877 * testsuite/*: Update with same names as the docs subdir.
6878 * testsuite/results: Where to stash conformance results for the
6879 different snapshots, so that progress/size/speed issues can be
6882 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6884 * src/string.cc: Add _S_copy_chars instantiation, as well as
6885 string::binary operators !=, ==, etc.
6887 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6888 * src/Makefile.in (CXXFLAGS): Same here.
6889 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6891 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6893 * src/string.cc: Add missing member functions to instantiation list.
6895 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6897 * src/misc-inst.cc: Remove unused string instantiations.
6899 * bits/string.tcc: Tweak, fix.
6900 * bits/basic_string.h: Format. Fix reported error with c_str().
6902 * testsuite/make_check_libfree++: Tweak for shared builds.
6903 * testsuite/21/operations.cc: New file for testing c_str() etc.
6905 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
6906 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6908 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
6909 an iterator class. Delineate pointer versus iterator differences
6911 * 23/vector_capacity.cc: New file, tests for above.
6913 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6915 * mknumeric_limits: Fix typo. 'unsigned lont' should read
6917 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
6918 generated by mknumeric_limits to the list. Now std_limits.h is
6920 * src/Makefile.in (generate-numeric-limits): new target to handle
6921 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
6922 (all): add target generate-numeric-limits.
6923 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
6924 (libstdc___la_SOURCES): add limitsMEMBERS.cc
6926 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6929 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
6930 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
6931 * bits/locfacts.h: Here.
6933 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6934 Ulrich Drepper <drepper@cygnus.com>
6936 Solaris build issues.
6937 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
6940 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
6941 float overloads to use the above macros. Account for the lack of
6942 strtold on some systems, and revert back to using sscanf.
6944 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6946 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
6947 Use strtoul/strtoull for unsigned types. Check the ranges for
6948 short/unsigned short and if necessary for int/unsigned int.
6950 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
6952 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
6953 to generate bits/std_limits.h now, as the SGI std_limits.h is
6954 being depricated. Not done, but should be done immediately: need
6955 to make sure this script is run as part of the configuration
6956 process, because without it "make" in a configured build directory
6957 will fail. Also tweaked: added a space for float_round_style, and
6958 used static_cast of zero to default-initialize, which should be ok
6959 according to the standard. (see 8.5 p5 and 20.1.3).
6960 * mknumeric_limits (OUT_C): Need this for x86 long
6963 * bits/basic_file.h: Include libio.h, not libioP.h.
6964 * src/basic_file.cc: And add libioP.h include here, so that
6965 _IO_init, et. al are well-declared.
6967 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
6968 headers, not source directory headers.
6970 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
6971 for ext/*. Also add basic_file.h.
6972 * src/Makefile.in (headers): Same.
6974 * bits/std_string.h: Reduce dependencies for faster
6975 pre-processing. Move istream and ostream specific defines into
6976 istream.tcc and ostream.tcc respectively.
6977 * bits/string.tcc: And here.
6978 * bits/basic_string.h: Move getline inline out-of-line, and to
6980 * bits/istream.tcc: Move string::getline and operator>> here.
6981 * bits/ostream.tcc: And here too.
6983 * bits/utility.h: Remove, as clashes with a standard header. Put
6984 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
6985 being, until this can be combined with SGI's approach.
6986 * bits/string.tcc: Add macros, as above.
6987 * bits/loccore.h: Add _Count_ones defines.
6988 * bits/std_string.h: And here too.
6989 * bits/std_locale.h: And here.
6990 * bits/std_ios.h: Take out include here.
6991 * src/Makefile.am (headers): Remove utility.h
6992 * src/Makefile.in (headers): Remove utility.h
6994 * stl/bits/*: Update to SGI STL 3.20.
6995 * stl/ext/pthread_alloc: Delete this file.
6997 1999-05-04 Phil Edwards <pedwards@ball.com>
6999 * docs/faq/html/index.html: Add more entries
7000 * docs/faq/html/index.txt: regenerated.
7002 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7004 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7006 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7008 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7009 from Ulrich and Nathan. Remove extraneous string class usage,
7010 tweak, clean, simplify and consolidate with a eye towards removing
7011 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7012 Not done: dealing with leading zeros, wchar_t work.
7013 * bits/locfacets.h: And here too.
7017 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7020 * docs/faq/: New directory.
7021 * docs/faq/html/: Likewise.
7022 * docs/faq/text/: Likewise.
7023 * docs/faq/html/index.html: New file.
7024 * docs/faq/html/index.txt: Likewise. Generated from
7025 docs/faq/html/index.html by lynx.
7027 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7028 Ryszard Kabatek and Branko Cibej
7030 * bits/locfacets.tcc: Modify.
7032 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7034 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7035 conformant to 14882, wrap non-standard extensions with
7036 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7037 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7039 * testsuite/27/istringstream_formatted.cc: Add tests.
7041 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7042 commenting, simplify.
7043 * bits/locfacets.tcc: Same.
7045 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7046 * bits/locfacets.tcc (num_get::do_get):
7047 Fix the sscanf format parameter
7048 for long long 'll' (as in C9X) instead of 'l'.
7049 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7050 Change the type of the local variable '__conv' from 'string'
7051 to 'const char*' and adapt the change.
7053 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7055 * bits/locfacets.h: Document _Format_cache, and name data members
7056 after the corresponding functions in numpunct. For instance:
7057 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7058 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7059 * bits/locfacets.tcc: Same.
7061 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7062 stop parsing--store for later analysis.
7063 * testsuite/27/istringstream_formatted.cc: Add cases.
7065 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7067 * bits/valarray_meta.h: tweak.
7068 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7069 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7070 happy -- boggus warning.
7071 * bits/std_valarray.h: Fix.
7072 (valarray<T>::shift): Fix. Update comment.
7073 (valarray<T>::cshift): Fix.
7075 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7077 * testsuite/27filebuf-2.txt: Delete.
7078 * testsuite/27/filebuf.cc: Put output files directly into the
7079 correct subdirectory (27).
7081 Alexandre Petit-Bianco <apbianco@cygnus.com>
7082 * testsuite/make_check_libfree++: Check generated (*.txt) file
7083 against stored results file (*.tst).
7085 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7087 * bits/locfacets.tcc: Fix.
7089 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7090 (filebuf::overflow): Simplify.
7091 (filebuf::xsputn): Correctly handle indeterminate state.
7093 * testsuite/27/istringstream_formatted.cc: Tweak.
7094 * testsuite/27/filebuf.cc: Tweak.
7095 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7096 results file, please use this in the future to guarantee filebuf
7097 positioning accuracy.
7098 * testsuite/27/filebuf-2.tst: Same.
7100 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7102 * bits/fstream.tcc (filebuf::xsputn): Add.
7103 * bits/std_fstream.h: Declare.
7105 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7106 calls using ios_base::trunc.
7108 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7110 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7111 * testsuite/27/27stringstream.cc: Same.
7112 * testsuite/27/27stringbuf.cc: More tweaks.
7113 * testsuite/27/27filebuf-2.txt: Remove.
7115 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7116 BUFSIZE so that overflows/underflow can be tested with default
7118 * testsuite/27/27filebuf-1.tst: Add.
7120 * testsuite/*/*: Remove pre-pended chapter names, as they
7121 duplicate the chapter info contained in the enclosing directory
7124 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7126 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7127 to sputc conditions.
7129 * bits/ios_base.h: Define here.
7130 * src/ios.cc (ios_base::_M_clear): Remove hack.
7131 * bits/basic_ios.h: Fix rdstate().
7133 * bits/sstream.tcc (streambuf::seekoff): Fix.
7134 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7136 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7137 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7138 * testsuite/27/27stringstream.cc: Same.
7139 * testsuite/27/27stringbuf.cc: Same.
7140 * testsuite/27/27istringstream_formatted.cc: Same.
7141 * testsuite/27/27filebuf.cc: Same.
7143 * bits/locfacets.h: Remove specializations for messages<char> and
7144 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7145 * src/locale.cc: Remove definitions for above.
7146 * src/misc-inst.cc: Revert, take out iomanip.h include.
7147 * bits/std_iomanip.h: Tweak, format.
7149 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7151 * bits/loccore.h: Format, move inline.
7152 * bits/locfacets.tcc: Same.
7153 * bits/locfacets.h: Same.
7155 Ulrich Drepper <drepper@cygnus.com>
7156 * aclocal.m4: Re-generate.
7157 * configure, configure.in: Same.
7158 * m4/lc_messages.m4: New file.
7160 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7162 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7163 * bits/sstream.tcc: Tweak.
7165 * std/iostream: Put __ioinit inside macro guards.
7167 * src/stlinst.cc: Delete and move to . . .
7168 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7169 * src/Makefile.in: Change.
7170 * src/Makefile.am: Same.
7171 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7173 * testsuite/make_check_libfree++: Efficiently format for minimal
7174 space. Enforce stricter execution tests by enabling
7177 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7179 * docs/text/RELEASE-NOTES: Fix include typo.
7181 * src/Makefile.am (headers): Add istream.tcc.
7182 * src/Makefile.in (headers): Add istream.tcc.
7184 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7186 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7188 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7189 * bits/locfacets.h (num_get::_M_extract): New functin:
7190 consolidate logic for do_get(...) members.
7192 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7193 * testsuite/27/27istringstream_formatted.cc: Add.
7195 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7197 * src/basic_file.cc (__basic_file::open): Fix thinko in
7198 _G_HAVE_IO_FILE_OPEN bits.
7199 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7200 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7201 * src/complex.cc (FCT): Qualify all functions with global namespace.
7202 * src/locale.cc: Don't qualify memcpy and setlocale.
7203 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7204 (__length_error): Likewise, for length_error.
7205 * src/stlinst.cc: Qualify instantiations with std::.
7207 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7209 * C++STYLE: Add ChangeLog guidelines for member functions.
7212 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7213 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7214 docs/text and made less strident.
7216 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7217 * bits/std_fstream.h: Same.
7220 * bits/locfacets.h: Touch.
7222 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7224 * math/cexp.c (cexp): Use NAN instead of nan("").
7225 Reported by joel reed <joelreed@yahoo.com>.
7227 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7228 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7229 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7230 instead of #if cascades.
7231 * libio/genops.c: Likewise.
7232 * libio/ioseekoff.c: Likewise.
7233 * libio/ioseekpos.c: Likewise.
7234 * libio/strops.c: Likewise.
7235 Patch by Chip Salzenberg <chip@perlsupport.com>.
7237 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7239 * docs: New directory.
7240 * docs/html: Likewise.
7241 * docs/text: Likewise.
7242 * docs/image: Likewise.
7244 * bits/std_cmath.h: Add new functions.
7245 (abs): overload for long and double.
7246 (div): overload for long.
7248 * bits/valarray_array.h: Fix.
7249 * bits/gslice.h: Adjust friend.
7250 * bits/slice_array.h: likewise.
7251 * bits/valarray_meta.h: likewise.
7253 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7255 * bits/locfacets.h: More changes, for num_get for insertion
7256 operators for integral types. Comment fields in _Format_cache.
7257 * bits/locfacets.tcc: And here too: add preliminary long version.
7258 * testsuite/27/27istringstream_formatted.cc: Add cases.
7260 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7262 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7263 AC_LC_MESSAGES macro.
7264 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7265 supports LC_MESSAGES.
7266 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7267 * src/locale.cc (locale::_S_normalize_category): Use the
7268 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7269 _G_NO_CLOCALE_HAS_MESSAGES.
7270 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7271 '?:' from '?:\\' so any path beginning with a drive name matches.
7273 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7275 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7277 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7279 * bits/locfacets.h: Tweak.
7280 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7282 * testsuite/21/21nonmember.cc: Same.
7283 * testsuite/21/21compare.cc: Fix license.
7284 * testsuite/27/27istringstream_formatted.cc: New file.
7286 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7288 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7289 _BinBase2: new template classes; put in there to work around a
7290 compiler limitation. The whole valarray architecture is now
7293 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7295 * bits/locfacets.tcc: Fix, format.
7296 * bits/locfacets.h: Fix.
7297 * src/locale.cc: Same, plus format.
7299 * bits/basic_string.h: Re-add definition here.
7300 * src/string.cc: Take out.
7302 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7304 * bits/std_valarray.h: tweak.
7305 * bits/valarray_array.h tweak. use _Expr.
7306 * bits/slice_array.h: likewise.
7307 * bits/gslice_array.h: likewise.
7308 * bits/mask_array.h: likewise.
7309 * bits/indirect_array.h: likewise.
7310 * bits/valarray_meta.h: tweak.
7311 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7312 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7313 _IClos: new template classes.
7314 _Meta: renamed to _Expr. Made template with args.
7315 _Constant: made template with two args.
7317 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7319 * bits/valarray_array.h: tweak.
7321 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7323 * bits/basic_string.h: Whoops--fix blip.
7325 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7327 Update to SGI STL 3.13
7328 * bits/basic_string.h: Add __get_c_string definition.
7329 * stl/bits/stl_range_errors.h: New file.
7330 * stl/bits/std_bvector.h: Same.
7331 * stl/bits/*: Update.
7333 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7335 * bits/slice_array.h: tweak.
7336 * bits/gslice_array.h: tweak.
7337 * bits/mask_array.h: tweak.
7338 * bits/indirect_array.h: tweak.
7339 * bits/valarray_array.h: tweak.
7340 (__valarray_copy): replace copy with memcpy.
7341 * bits/std_valarray.h: use __valarray_copy whenever possible.
7342 use __valarray_fill instead of fill.
7344 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7346 * src/gen-num-limits.cc: new file
7347 * mknumeric_limits: Ditto.
7349 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7351 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7353 * bits/locfacets.h: Add num_get::get methods overloaded for int
7354 and short, to resolve ambiguous overloads in istream insertion
7357 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7359 * bits/std_istream.h: Fix.
7360 * bits/istream.tcc: Fix.
7362 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7364 * testsuite/24/24iterator.cc: fix ++/-- tests
7366 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7368 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7369 * bits/ostream.tcc: Same.
7371 * bits/std_istream.h: Bring over ostream changes, implement member
7372 functions. Baseline.
7373 * bits/istream.tcc: New file.
7375 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7377 * bits/gslice.h (class gslice): fix friends template.
7379 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7381 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7383 * bits/ostream.tcc: Same.
7385 * bits/std_istream.h: Minor tweaks.
7387 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7389 * src/locale-inst.cc: Remove duplicate instantiations.
7390 * bits/locfacets.tcc: Tweak definitions of static member.
7392 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7394 * bits/std_fstream.h: Format: prepend "__" in front of
7395 non-standard typedefs.
7396 * bits/fstream.tcc: Match.
7397 * bits/std_streambuf.h: Format: prepend "__" in front of
7398 non-standard typedefs.
7400 * bits/sstream.tcc: Match.
7401 * bits/std_istream.h: Format.
7402 * src/locale-inst.cc: Add num_get instantiations.
7404 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7405 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7406 _M_streambuf instead. Make initializations sane. Fix
7407 allocation/deallocation of _M_streambuf.
7408 * bits/std_ostream.h: Fix initialization code.
7409 (ctor): Eliminate redundant this->init(), let base class initialize.
7410 (default ctor): New. Assume base classes already initialzed.
7411 * bits/std_istream.h: Parallel work to ostream.
7412 (ctor): Eliminate redundant this->init(), let base class initialize.
7413 (default ctor): New. Assume base classes already initialzed.
7414 Fix initialization of basic_iostream.
7416 * bits/std_fstream.h: While we're at it, make initializations sane
7417 here too. Now matches sstream.h.
7419 * bits/string.tcc: Fix crash in basic_string::compare.
7420 * bits/basic_string.h: And here.
7421 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7423 * testsuite/make_check_libfree++: Check shared as well.
7424 * testsuite/27/27stringstream.cc: Add bits.
7425 * testsuite/27/27boolfmt.cc: Add bits.
7426 * testsuite/27/27octfmt.cc: Add bits.
7428 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7430 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7432 * bits/locfacets.h: Fix errors that cause build problems
7433 with current egcs (template parameters have class scope).
7434 * bits/locfacets.tcc: Same.
7435 * src/locale-inst.cc: Same, clean.
7436 * src/misc-inst.cc: Same, clean.
7438 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7440 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7441 standard. Re-apply this previous patch.
7443 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7445 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7446 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7447 * bits/string.tcc: Ditto.
7448 * src/misc-inst.cc: Ditto.
7449 * src/locale-inst.cc: Ditto.
7450 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7451 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7452 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7455 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7457 * bits/locfacets.tcc: Remove macro hack.
7458 * bits/locfacets.h: Tweaks.
7459 * src/misc-inst.cc: Weed out locale-related instantiations.
7460 * src/locale-inst.cc: Same.
7462 * RELEASE-NOTES: Make more changes.
7463 * bits/c++config.h: Bump version number.
7465 * testsuite/make_check_libfree++: Collect diagnostics.
7467 * bits/std_ostream.h: Fix ostream initialization/destruction
7468 problem, related to dtor cleanup and new cached facets, agggggggh.
7469 * bits/ostream.tcc: Tweak.
7470 * bits/locfacets.h: Remove all friends of iostream classes.
7471 * bits/ios_base.h: Same.
7472 * bits/streambuf.tcc: Tweak.
7473 * bits/std_streambuf.h: Tweak.
7474 * bits/std_fstream.h: Tweak.
7475 * bits/fstream.tcc: Tweak.
7476 * src/stdstreams.cc: Tweak.
7477 * src/ios.cc: Close streams.
7479 * math/Makefile.in: Add missing files for shared link errors.
7480 * math/Makefile.am: Same.
7482 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7484 * src/locale-inst.cc: More wchar_t instantiations.
7485 * src/misc-inst.cc: Missed a few bits.
7486 * testsuite/make_check_libfree++: Add static and shared runs.
7487 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7489 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7491 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7492 facets. Resolve link errors.
7493 * bits/ostream.tcc: Same.
7494 * src/misc-inst.cc: Add ostream, wostream instantiations.
7495 * src/Makefile.am: Add missing bits for stdstreams.cc.
7496 * src/Makefile.in: Same.
7497 * bits/std_iosfwd.h: Format.
7498 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7499 num_put so that cached _M_fnumput pointer can be deleted in
7500 basic_ostream's dtor. Now everybody plays nice.
7502 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7504 * bits/gslice.h (class gslice): Make friends valarray,
7505 gslice_array and _GliceExpression.
7507 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7509 * RELEASE-NOTES: Update.
7510 * src/ios.cc: Use do proper init.
7511 * bits/std_streambuf.h: Tweak.
7512 * bits/std_iostream.h: Take out static member.
7513 * std/iostream: Put here.
7514 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7515 * bits/std_istream.h: Ditto.
7516 * bits/basic_ios.h: Format.
7517 * bits/ostream.tcc(write): Fix.
7518 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7519 initialization of the fstream class.
7520 * src/stdstreams.cc: I'm baaaaaaaack.
7522 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7524 * bits/ios_base.h: Correct comments. Add ios_base::init()
7525 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7526 * src/misc-inst.cc: Add instantiations here.
7527 * src/ios.cc: Clean.
7528 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7529 * src/stdstreams.cc: Delete this file, as now unnecessary.
7530 * bits/fstream.tcc: Add missing initialization bits for ctor.
7531 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7532 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7534 * bits/streambuf.tcc: Tweak.
7535 * bits/sstream.tcc: Here too.
7537 * bits/fstream.tcc: And change definition as well.
7538 * bits/std_fstream.h: Change ctor.
7539 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7540 * bits/basic_file.h: Add declarations.
7542 * testsuite/27/27hello.cc: New file.
7544 * bits/std_ostream.h: Move flush() inline.
7545 * bits/ostream.tcc: From here.
7547 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7548 * bits/std_ios.h: Change include libio to only when necessary.
7549 * bits/fpos.h: Like here.
7550 * ios_base.h: And here.
7552 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7553 * bits/locfacets.tcc: Same.
7554 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7555 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7557 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7559 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7561 * bits/std_streambuf.h: Clean, tweak.
7562 * bits/std_fstream.h: Same.
7563 * bits/std_sstream.h: Same.
7564 * bits/streambuf.tcc: Move most member functions out-of-line.
7565 * bits/fstream.tcc: Same.
7566 * bits/streambuf.tcc: Same.
7568 * bits/basic_file.h(filepos_cur): Set correctly.
7569 (filepos_beg): Same.
7570 (seekpos): Change to __c_streampos.
7571 * src/basic_file.cc (std): Change to __c_streampos.
7573 * testsuite/27/27filebuf.cc: Round one is finished.
7574 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7575 * testsuite/27/27filebuf-3.tst: Same.
7577 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7579 * bits/basic_file.h: Fix typo, add comments about what to expect
7580 from the various member functions in __basic_file.
7582 * bits/std_fstream.h: Re-do sync/underflow to work
7583 together. Change from sys_read to xsgetn and from sys_write to
7584 xsputn. As it should have been from the beginning. . .
7586 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7588 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7590 * bits/basic_file.h(file_beg): New function.
7593 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7594 * bits/std_fstream.h: More _M_mode refinements.
7595 (synch): Add bits for out mode only.
7596 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7597 * bits/std_sstream.h: Ditto.
7599 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7601 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7602 * testsuite/27/27filebuf.cc: Modify.
7603 * bits/c++config.h: Fix.
7605 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7607 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7608 code in place that diverges from the final standard, but has been
7609 brought up on the library mailing list.
7611 * bits/std_fstream.h(underflow): Position all three internal
7612 buffer pointers at the same initial position. Re-implement with
7613 basic_filebuf abstraction.
7617 * bits/std_sstream.h: Move _M_mode down into base class
7619 * bits/sstream.tcc: Ditto.
7620 * bits/std_streambuf.h: Ditto.
7622 * testsuite/27/27filebuf.cc: Tweak.
7624 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7626 * bits/std_sstream.h: Ditto.
7627 * bits/std_fstream.h: Fix blip.
7629 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7631 * C++STYLE: Add cases.
7632 * bits/std_fstream.h: Format.
7633 * bits/std_streambuf.h: Ditto.
7634 * bits/std_sstream.h: Ditto.
7636 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7637 return type for _IO_file_seek and __basic_file::seek the same size.
7638 * bits/basic_file.h: Ditto.
7640 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7642 * bits/fstream.tcc: Add include guards.
7643 * src/misc-inst.cc: Add instantiations for shared libes.
7644 * src/locale-inst.cc: Add instantiaions for use_facet.
7645 * bits/loccore.h: Remove specialization foward decls for
7646 use_facet<ctype>: perhaps add the whole lot of them later on.
7647 * bits/std_fstream.h: Fix.
7648 * bits/locfacets.h: Ditto.
7649 * src/stdstreams.cc: Disable wide streams for now.
7651 * src/Makefile.am (CXXFLAGS): Change up.
7652 * src/Makefile.in (CXXFLAGS): Ditto.
7654 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7656 * src/basic_file.cc: Change to ios_base::seekdir from int.
7657 * bits/basic_file.h: Ditto.
7658 * bits/locfacets.h : Fix blip with new guard macros.
7660 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7662 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7663 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7665 * amm1/locale: Remove unused defines.
7666 * generic/locale: Ditto.
7667 * src/ios.cc: Ditto.
7668 * src/locale.cc: Ditto.
7669 * src/locale-inst.cc: Ditto.
7670 * src/localename.cc: Ditto.
7671 * src/stdstreams.cc: And here.
7673 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7674 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7675 * bits/loccore.tcc: Ditto.
7676 * bits/locfacets.h: Ditto.
7677 * src/locale-inst.cc: Ditto.
7678 * bits/locfacets.tcc: Add do_put long long here.
7680 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7682 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7683 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7684 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7685 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7686 * bits/std_fstream.h: Tweak.
7688 * bits/char_traits.h: Remove fpos definitions from here. . .
7689 * bits/fpos.h: New file, put them here. Eventually, this may allow
7690 the severing of char_traits and fpos dependancies.
7691 * src/Makefile.in: Add fpos.h.
7692 * src/Makefile.am: Ditto.
7693 * bits/std_string.h: Add fpos.h include here.
7694 * bits/std_ios.h: And here.
7696 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7697 * bits/ios_base.h: Remove cstdio include.
7698 * bits/std_ios.h: ... Place here.
7700 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7702 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7703 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7705 * bits/basic_file.h: Comment, adjust arguments.
7706 * src/basic_file.cc: Ditto.
7708 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7709 type: check and convert accordingly. Re-interpet "resultant stream
7710 position" to indicate external byte sequence location, not internal
7713 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7715 * mkcshadow: And change copyright here.
7716 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7717 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7718 stl_thread.h, and stl_iterator_base.h.
7719 * src/Makefile.in (CXXFLAGS): Ditto.
7720 * stl/backward/pthread_alloc.h: Remove.
7722 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7724 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7726 * bits/std_fstream.h (pbackfail): Correct.
7728 (seekoff): Implement.
7730 * testsuite/27/27filebuf.cc: Add test cases.
7732 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7734 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7735 with the external buffers, and stop mucking around with setting
7736 and re-setting the external buf's pointers. Aka, clarity and
7737 simplicity rule the day.
7738 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7739 Remove partial result and support code.
7741 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7743 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7744 list of function which have to be replaced.
7745 Remove expf from list of functions to test for.
7746 Define USE_LONG_DOUBLE in case the libm has partial support for long
7748 * Makefile.in: Regenerated.
7749 * config.h.in: Likewise.
7750 * configure: Likewise.
7751 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7752 * libio/Makefile.in: Regenerated.
7753 * src/Makefile.in: Regenerated.
7754 * string/Makefile.in: Regenerated.
7755 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7756 atan2f.c, expf.c, and $(EXTRA_yes).
7757 (EXTRA_yes): Add signbitl.c mycabsl.c.
7758 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7759 (libmath_la_SOURCES): remove long double versions.
7760 * math/Makefile.in: Regnerated.
7761 * math/atan2f.c: New file.
7762 * math/copysignf.c: New file.
7763 * math/expf.c: New file.
7764 * math/hypot.c: New file.
7765 * math/hypotf.c: New file.
7766 * math/hypotl.c: New file.
7767 * math/cargf.c: Use correct function and macro names.
7768 * math/ccos.c: Likewise.
7769 * math/ccosh.c: Likewise.
7770 * math/ccoshf.c: Likewise.
7771 * math/ccoshl.c: Likewise.
7772 * math/cexp.c: Likewise.
7773 * math/cexpf.c: Likewise.
7774 * math/cexpl.c: Likewise.
7775 * math/clog.c: Likewise.
7776 * math/clog10.c: Likewise.
7777 * math/clog10f.c: Likewise.
7778 * math/clog10l.c: Likewise.
7779 * math/clogf.c: Likewise.
7780 * math/clogl.c: Likewise.
7781 * math/copysignf.c: Likewise.
7782 * math/csin.c: Likewise.
7783 * math/csinf.c: Likewise.
7784 * math/csinh.c: Likewise.
7785 * math/csinhf.c: Likewise.
7786 * math/csinhl.c: Likewise.
7787 * math/csinl.c: Likewise.
7788 * math/csqrt.c: Likewise.
7789 * math/csqrtf.c: Likewise.
7790 * math/csqrtl.c: Likewise.
7791 * math/ctan.c: Likewise.
7792 * math/ctanf.c: Likewise.
7793 * math/ctanh.c: Likewise.
7794 * math/ctanhf.c: Likewise.
7795 * math/ctanhl.c: Likewise.
7796 * math/ctanl.c: Likewise.
7798 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7800 * testsuite/27/27filebuf.cc: Add cases.
7801 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7802 * bits/std_streambuf.h: Simplify, always have one return statement.
7803 * bits/std_fstream.h: Tweak comments in underflow.
7805 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7807 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7808 * ltconfig: Likewise.
7810 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7812 * src/locale.cc: Fix assert.
7814 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7816 FIXME: Still need some kind of solution for undefined math symbols.
7817 * src/Makefile.in (locale-inst.lo): Compile with
7818 -fimplicit-templates to fix Solaris link problem.
7819 * src/Makefile.am: Ditto.
7820 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7821 * libio/Makefile.am: Ditto.
7822 * src/locale.cc: Provide some kind of def for _S_tolower.
7823 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7824 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7826 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7828 * bits/loccore.tcc: Move member-template ctor inline...
7829 * bits/loccore.h: ...here.
7830 * src/locale-inst.cc: Add instantiation here.
7832 * testsuite/27/27stringstream.cc: Tweak.
7834 * bits/ostream.tcc: Include sbuf_iter.h.
7836 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7837 passing to num_put, as num_put's first argument is an interator,
7840 * testsuite/make_check_libfree++: New file, runs through the
7841 existing test files in the testsuite directory and makes sure
7844 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7846 * testsuite/21/21compare.cc: Fix typo.
7847 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7848 Don't try to provide non-linux versions, since it's impossible to
7849 initialize their const references with the integer 0, no matter
7850 how we try to cast it.
7852 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7854 * bits/std_locale.h: Move std_vector.h dependency.
7855 * bits/std_ios.h: ...from here.
7856 * bits/std_string.h: ...and here.
7857 * src/locale.cc: ..to here.
7858 * bits/loccore.h: Ditto, add vector forward declaration,
7859 make locale::_Impl data members pointers not containers.
7860 * bits/loccore.tcc: Move out-of-line for now.
7861 * bits/locfacets.h: Move vector dependency from here...
7862 * bits/locfacets.tcc: ...to here.
7863 * src/localename.cc: ..and here.
7864 * src/locale-inst.cc: Add include of locfacets.tcc here.
7866 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7867 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7868 * bits/string.tcc: Tweak.
7869 * src/string.cc: And add __get_c_string def here.
7871 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7873 * src/stlinst.cc: Add include of stl_config.h.
7875 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7877 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7878 * stl/bits/stl_config.h: Tweak, update.
7879 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7881 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7882 * stl/bits/std_functional.h: Ditto.
7884 * stl/bits/stl_string.h: New file, SGI's string
7885 implementation. For reference only, corresponding to string in
7887 * stl/bits/stl_char_traits.h: As above.
7889 * stl/bits/pthread_allocimpl.h: New file corresponding to
7891 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7893 * stl/bits/stl_threads.h: New file.
7895 Note that SGI STL 3.12's file iterator.h is not used.
7896 * stl/bits/std_iterator.h: Ditto.
7897 * stl/bits/stl_iterator.h: Drop in replace.
7898 * stl/bits/stl_iterator_base.h: New file, drop in replace.
7900 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
7901 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
7902 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
7903 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
7904 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
7905 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
7906 preprocessor guards, but fixup include paths and names according
7907 to new directory layout).
7909 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
7911 * bits/std_fstream.h: Remove _M_open data member.
7912 * bits/fstream.tcc: Ditto.
7914 * src/locale.cc: Tweak.
7916 * bits/std_sstream.h: Simplify.
7918 * bits/std_streambuf.h: Simplify.
7919 (sputc): Use correct definition of "write area."
7921 * bits/std_fstream.h: Fix uflow.
7922 * src/basic_file.cc: Tweak.
7923 * testsuite/27/27filebuf.cc: Add tests.
7924 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
7926 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7928 * bits/ios_base.h: Make protected.
7930 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7932 * bits/ios_base.h: Changes in the class ios_base:
7933 Rename _M_exceptions member to _M_exceptions_data.
7934 Make the member functions rdstate(), clear(), exceptions()
7935 and exceptions(iostate) protected and add the "_M_" prefix.
7936 * src/ios.cc: Ditto.
7937 * bits/basic_ios.h: Adapt the changes from ios_base.
7939 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
7941 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
7942 * bits/fstream.tcc: Ditto.
7944 * bits/std_fstream.h (underflow): Resize deallocates memory and
7945 resets pointers in the internal cache according to new _M_buf. . dooh!
7946 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
7948 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7950 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7953 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
7955 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
7956 into account partial returns.
7957 (codecvt::do_out): Likewise.
7959 * bits/char_traits.h: Change streamsize to be a signed type, as
7960 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
7961 * bits/std_streambuf.h: Make
7962 in_avail() and showmanyc() have streamsize as return types, so
7963 that showmanyc()'s return of eof won't underflow in_avail's return
7964 value and give a bogus result.
7965 * src/misc-inst.cc: And more changes. . .
7967 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
7968 track of joint in/out pointers into the internal buffer.
7969 (sbumpc): Add check for _M_buf_unified.
7973 * testsuite/27/27filebuf.cc: Add cases.
7974 * testsuite/27/27stringbuf.cc: Add showmanyc case.
7976 * bits/std_fstream.h (close): Fix logic error.
7977 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
7978 (showmanyc): Add underflow component, to match the standard.
7980 * bits/fstream.tcc: Ditto.
7982 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7984 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
7985 * src/basic_file.cc: Ditto.
7986 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
7987 format for dealing with _IO_file in libio.
7989 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
7991 * src/basic_file.cc: Include fcntl.h.
7993 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7995 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
7997 * bits/std_streambuf.h: Redefine read posion.
7999 * bits/std_fstream.h: Temporary hack to get vtables working again.
8000 * bits/basic_file.h: Revert.
8001 * src/basic_file.cc: Ditto.
8002 * testsuite/27/27filebuf.cc: Tweak.
8004 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8006 * bits/basic_file.h: Add showmanyc, underflow. .
8007 * src/basic_file.cc: Ditto.
8009 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8012 * testsuite/27/27filebuf.cc: Add testcases.
8013 * src/basic_file.cc: Add O_CREAT to open calls with
8014 ios_base::trunc as part of the open mode.
8016 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8018 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8020 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8022 * src/ios.cc (clear): Correct typo.
8023 * bits/ios_base.h: Tweak spacing.
8025 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8027 * bits/basic_ios.h: fix basic_ios::fail()
8029 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8031 * bits/basic_file.h: Include libioP.h from libio instead of here.
8032 * bits/iolibio.h: Remove.
8033 * bits/libio.h: Remove.
8035 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8037 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8039 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
8041 * Makefile.am (SUBDIRS): Add libio.
8042 * configure.in: Add rule to test for glibc2.
8044 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8045 (libstdc___la_LIBADD): Add libio.la.
8047 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8049 * bits/basic_file.h: Make new abstraction for underlying C library
8050 FILE, named __basic_file.
8051 * src/basic_file.cc: New file.
8052 * bits/os_raw.h: Delete.
8053 * src/os_raw.cc: Delete.
8054 * src/Makefile.in: Tweak.
8055 * src/Makefile.am: Tweak.
8056 * bits/iolibio.h: Add this here, for the time being.
8057 * bits/libioP.h: Ditto.
8059 * bits/ios_base.h: Delete unused defines.
8060 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8061 strcpy to copy between the two buffers.
8063 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8064 * testsuite/27/27filebuf.cc: New file.
8065 * testsuite/27/27filebuf-1.txt: Data file for above test.
8066 * testsuite/27/27filebuf-2.txt: Ditto.
8068 * bits/std_streambuf.h (uflow): Re-implement default.
8069 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8070 Re-implement virtual functions.
8071 * bits/fstream.tcc: Delete unused mf's.
8073 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8075 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8076 * bits/std_fstream.h: Ditto.
8077 * src/stdstreams.cc: Ditto.
8079 * math/cpowl.c: Fix header typo with last change.
8081 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8083 * COPYING: New file (GPL v 2).
8084 * LICENSE.STD: Remove.
8085 * ./*: Change license.
8087 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8089 * bits/std_streambuf.h (std): Remove static on _M_init.
8090 * bits/streambuf.tcc (std): Ditto.
8092 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8093 state_type and codecvt_type members, the allocation of an internal
8094 buffer, the streamlined codecvt calls, etc.
8096 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8098 * bits/std_sstream.h: Tweak.
8099 * bits/fstream.tcc: Remove unused stubs.
8100 * bits/std_fstream.h: Tweak.
8102 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8104 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8105 Remove unused _IO_* members, possibly put into filebuf, which may
8107 * bits/std_fstream.h: Add _M_flag.
8108 * bits/sbuf_iter.h: Tweak.
8110 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8111 * bits/ios_base.h: Use.
8113 * src/stdstreams.cc: Modify to reflect standard ctors for
8115 * src/misc-inst.cc: Ditto.
8117 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8118 underlying C library calls instead of the underlying unix
8120 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8121 string as per p.659.
8122 (_S_os_close): Model on fopen.
8123 (_S_os_read): Model on fread.
8124 (_S_os_write): Model on fwrite.
8125 (_S_os_seek): Model on fseek.
8127 * bits/ios_base.h: Tweak.
8128 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8129 * bits/std_sstream.h: Tweak.
8130 * bits/sstream.tcc: Remove old, uncalled code.
8131 * bits/std_fstream.h: Major reconstruction.
8132 * bits/fstream.tcc: Disable for the time being.
8134 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8136 * bits/basic_string.h: Fix insert method.
8137 * stl/bits/stl_iterator.h: Remove previous hack.
8138 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8139 * bits/std_sstream.h: Fix more regressions.
8140 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8142 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8144 * bits/basic_string.h: Tweak.
8146 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8147 that string::append can be instantiated. HACK--checkin
8148 basic_string::iterator class.
8150 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8152 * bits/std_sstream.h: Tweak.
8153 * bits/sstream.tcc: Tweak ctors.
8155 FIXME invalid friend defs. . WHERE ARE THEY??
8157 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8158 names for basic_streambuf data members.
8160 * bits/std_streambuf.h: Add getloc() initialization bits.
8161 basic_streambuf(): Initialize with global locale data.
8162 imbue(): Set _M_init.
8164 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8165 stream pos == pos_type(off_type(-1)).
8166 in_avail(): Complete default implementation.
8167 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8168 underflow, uflow, xsgetn, showmany, sync: Ditto.
8170 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8172 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8173 re-populate with in-line member functions that are too big. Add
8174 initialization for _M_init.
8176 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8178 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8179 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8182 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8184 * bits/c++config.h (_G_DEPRICATED): Add.
8185 (_G_USE_WCHAR_T): Add.
8186 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8187 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8188 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8189 * bits/std_fstream.h: Add comment for implementation.
8190 * src/streambuf.cc: Remove.
8191 * src/Makefile.in: Remove streambuf.lo.
8192 * src/misc-inst.cc: Tweak.
8194 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8196 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8197 * testsuite/27stringstream.C: Modify.
8199 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8201 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8202 (libstdc___la_SOURCES): Ditto.
8204 * bits/streambuf.tcc: Tweak.
8206 * src/streambuf.cc: New file, add out-of-line definitions for
8209 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8210 Comment out wchar_t versions of the buffer instantiations, for now.
8212 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8213 Remove template wrapper around _Streambuf_base.
8214 Move IO_* data members into _Streambuf_base.
8215 Move _Streambuf_base members into streambuf.tcc.
8217 * bits/c++config.h (_G_USE_LIBIO): Enable.
8219 1998-11-02 Nathan Myers <ncm@cantrip.org>
8221 * CHECKLIST: downgrade iterator implementations
8222 * DESIGN: fill out notes about unimplemented features
8224 1998-10-31 Nathan Myers <ncm@cantrip.org>
8226 * CHECKLIST: itemized list of all interfaces, and status of each.
8228 1998-10-30 Nathan Myers <ncm@cantrip.org>
8230 * RELEASE-NOTES: add notes about optional includes, linking, running
8231 * src/Makefile.am: handle header installs properly
8232 * src/Makefile.in: regenerate from new src/Makefile.am
8234 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8236 * bits/basic_string.h: Revert npos pending ciso646.
8237 * src/Makefile.am: Revert CXX flags for now.
8238 * src/Makefile.in: Ditto.
8240 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8242 * bits/std_sstream.h: Re-order ctors to put base before member
8245 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8247 * stl/bits/std_memory.h: Fix typo.
8249 1998-10-30 Nathan Myers <ncm@cantrip.org>
8251 * src/string[A-Z]+.cc: change back to include "string.cc".
8252 * src/Makefile.am: revert filename changes. We need a different
8253 way to keep filenames in std/ from confusing Make.
8254 * bits/basic_string.h: define _S_max_size right, return it from
8255 string::max_size(); churn definition of npos again.
8256 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8257 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8258 * BUGS: clear cruft.
8259 * C++STYLE: Touchup for release.
8260 * CHECKLIST: Touchup for release.
8262 * LICENSE.STD: Add requirement to retain copyrights and to provide
8263 the license with any copies.
8264 * README: Update for release.
8265 * TODO: Minor touchup for release.
8266 * RELEASE-NOTES: prepare for release
8268 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8270 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8272 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8274 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8275 CXX to generate the shared object.
8277 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8279 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8281 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8282 2, from npos, solving infinite loop problems.
8284 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8286 * src/Makefile.am: Add rules to install headers.
8288 1998-10-29 Nathan Myers <ncm@cantrip.org>
8290 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8291 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8294 * shadow/bits/wrap_libio.h:
8295 * shadow/bits/wrap_unistd.h: New files.
8297 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8299 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8300 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8302 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8304 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8305 is not compiled with -fno-implicit-templates in effect.
8307 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8308 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8309 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8311 * src/stringADDPS.cc: Likewise.
8312 * src/stringADDSC.cc: Likewise.
8313 * src/stringADDSP.cc: Likewise.
8314 * src/stringADDSS.cc: Likewise.
8315 * src/stringBIST.cc: Likewise.
8316 * src/stringBOST.cc: Likewise.
8317 * src/stringCHTR.cc: Likewise.
8318 * src/stringEQPS.cc: Likewise.
8319 * src/stringEQSP.cc: Likewise.
8320 * src/stringEQSS.cc: Likewise.
8321 * src/stringEXTRA.cc: Likewise.
8322 * src/stringGEPS.cc: Likewise.
8323 * src/stringGESP.cc: Likewise.
8324 * src/stringGESS.cc: Likewise.
8325 * src/stringGETLI.cc: Likewise.
8326 * src/stringGTPS.cc: Likewise.
8327 * src/stringGTSP.cc: Likewise.
8328 * src/stringGTSS.cc: Likewise.
8329 * src/stringINSER.cc: Likewise.
8330 * src/stringLEPS.cc: Likewise.
8331 * src/stringLESP.cc: Likewise.
8332 * src/stringLESS.cc: Likewise.
8333 * src/stringLTPS.cc: Likewise.
8334 * src/stringLTSP.cc: Likewise.
8335 * src/stringLTSS.cc: Likewise.
8336 * src/stringMAIN.cc: Likewise.
8337 * src/stringNEPS.cc: Likewise.
8338 * src/stringNESP.cc: Likewise.
8339 * src/stringNESS.cc: Likewise.
8340 * src/stringSCOPY.cc: Likewise.
8341 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8343 * src/wstringADDPS.cc: Likewise.
8344 * src/wstringADDSC.cc: Likewise.
8345 * src/wstringADDSP.cc: Likewise.
8346 * src/wstringADDSS.cc: Likewise.
8347 * src/wstringBIST.cc: Likewise.
8348 * src/wstringBOST.cc: Likewise.
8349 * src/wstringCHTR.cc: Likewise.
8350 * src/wstringEQPS.cc: Likewise.
8351 * src/wstringEQSP.cc: Likewise.
8352 * src/wstringEQSS.cc: Likewise.
8353 * src/wstringEXTRA.cc: Likewise.
8354 * src/wstringGEPS.cc: Likewise.
8355 * src/wstringGESP.cc: Likewise.
8356 * src/wstringGESS.cc: Likewise.
8357 * src/wstringGETLI.cc: Likewise.
8358 * src/wstringGTPS.cc: Likewise.
8359 * src/wstringGTSP.cc: Likewise.
8360 * src/wstringGTSS.cc: Likewise.
8361 * src/wstringINSER.cc: Likewise.
8362 * src/wstringLEPS.cc: Likewise.
8363 * src/wstringLESP.cc: Likewise.
8364 * src/wstringLESS.cc: Likewise.
8365 * src/wstringLTPS.cc: Likewise.
8366 * src/wstringLTSP.cc: Likewise.
8367 * src/wstringLTSS.cc: Likewise.
8368 * src/wstringMAIN.cc: Likewise.
8369 * src/wstringNEPS.cc: Likewise.
8370 * src/wstringNESP.cc: Likewise.
8371 * src/wstringNESS.cc: Likewise.
8372 * src/wstringSCOPY.cc: Likewise.
8373 * src/string.cc: Remove now unneeded #defines now.
8375 1998-10-29 Nathan Myers <ncm@cantrip.org>
8377 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8379 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8380 add definitions for double, long double, const void*.
8381 * bits/std_ostream.h: Move op<<'s back into class ostream,
8382 define some in-line.
8383 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8384 string construction from input iterators that Brendan reported.
8387 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8389 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8391 * bits/valarray_meta.h (class _Constant): Move declaration to the
8392 top, so the rest of the file can grok it.
8393 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8395 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8397 (basic_stringstream::str, both instances): Likewise.
8399 1998-10-28 Nathan Myers <ncm@cantrip.org>
8401 * bits/locfacets.h: fix num_put<>::falsename()
8402 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8403 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8404 * bits/locfacets.tcc: touch up _S_group_digits.
8405 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8407 1998-10-27 Nathan Myers <ncm@cantrip.org>
8409 * stl/bits/stl_config.h: Turn off long long support, for now.
8410 * src/locale-inst.cc: Instantiate num_put<> only for
8411 ostreambuf_iterator, num_get only for istreambuf_iterator.
8412 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8413 add lots of new instantiations for num_put support function templates;
8414 remove junk about __match_parallel for ostreambuf_iterator.
8416 1998-10-27 Nathan Myers <ncm@cantrip.org>
8418 * bits/locfacets.tcc: Make num_put's digit grouping work.
8419 * bits/string.tcc: More uglification.
8420 * src/ios.cc: initialize format cache right
8422 1998-10-26 Nathan Myers <ncm@cantrip.org>
8424 * bits/basic_string.h: Uglify more names.
8425 * bits/fstream.tcc: Rewrite some filebut output handling.
8426 * bits/ios_base.h: Cosmetic.
8427 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8428 Also, specialize its default ctor for optimal default case.
8429 #ifdef out "long long" prototypes for now.
8430 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8431 implementation for integer types. (Still needs optimized
8432 std::copy() applied to ostreambuf_iterator to be optimal.)
8433 * bits/ostream.tcc: Write operator<< for long, bool types.
8434 Make other operators<< non-members, per spec. (Many still
8435 not implemented.) Identify those that fail to create a sentry.
8436 * bits/sbuf_iter: Cosmetic.
8437 * bits/std_fstream.h: Add some filebuf members.
8438 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8439 * bits/std_ostream.h: Make member operators<< global, per spec.
8440 (Should do the same in std_istream.h.)
8441 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8442 * bits/string.tcc: Uglify names
8443 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8444 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8445 for optimal default behavior.
8447 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8449 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8451 1998-10-21 Nathan Myers <ncm@cantrip.org>
8453 * src/locale.cc: make ctype operations actually work for glibc
8454 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8455 checklist of stdlib facilities. Not filled in yet.
8457 1998-10-20 Nathan Myers <ncm@cantrip.org>
8459 * bits/string.tcc: fix patching NULs on string ends.
8461 1998-10-19 Nathan Myers <ncm@cantrip.org>
8463 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8464 iterator forward declarations
8465 * bits/sbuf_iter.h: eliminate default template argument definitions
8466 on streambuf iterators (rely on <iosfwd> decls).
8467 * TODO: add note about lazy facet construction
8468 * bits/basic_ios.h: hit operator void* again. This should be the
8469 last time we need to touch it.
8470 * bits/basic_ios.h: copyfmt now returns *this.
8471 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8472 * bits/basic_string.h: put back overloaded constructors; adjust
8473 behavior for default allocator on copy constructor.
8474 * bits/char_traits.h: make not_eof return correct type.
8475 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8476 cannot be in non-standard headers or we get include loops (bad)
8477 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8478 * bits/loccore.h: add apparatus to support lazy construction of
8480 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8481 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8482 locale use_facet<> failure.
8483 * bits/std_locale.h: same.
8484 * bits/std_string.h: same.
8485 * bits/std_stdexcept.h: change exception member __msg from a
8486 reference to a regular object.
8487 * bits/string.tcc: add pasting a NUL on the end of strings after
8488 each operation. We had already left room for it, but previously
8489 plugged it only on a call to c_str(), but the WG changed the
8490 requirement when I wasn't looking. (Can't leave them alone for
8491 a second without they break something else.)
8492 * bits/valarray_meta.h: add Gaby's changes from 981018.
8493 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8494 failure of use_facet<>().
8495 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8496 comment out leftover member definitions
8498 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8500 * string/Makefile.am: Revert last change.
8501 * math/Makefile.am: Likewise.
8503 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8505 * bits/std_sstream.h: Fix typo.
8507 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8509 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8511 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8512 * bits/std_stdexcept.h: Remove.
8514 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8516 * src/misc-inst.cc: Tweak again.
8518 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8519 * bits/sstream.tcc: New file.
8521 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8523 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8524 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8527 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8529 (INFINITE_P): Use IS_INF macro if available.
8531 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8533 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8535 * string/Makefile.am: Likewise.
8537 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8539 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8541 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8542 endianess is available run AC_C_BIGENDIAN.
8544 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8545 fixincludes is fixed.
8546 * math/clogl.c: Likewise.
8547 * math/csqrtl.c: Likewise.
8548 * math/mycabsl.c: Likewise.
8550 * math/mathconf.h: Include machine/endian.h if possible. If no
8551 header describing endianess is available rely on WORDS_BIGENDIAN
8553 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8554 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8557 * src/complex.cc (polar): Don't use sincos on OSF machines.
8559 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8561 * src/locale-inst.cc: Don't instantiate time_get for
8562 ostreambuf_iterators as time_get::do_get_weekday and
8563 time_get::do_get_monthname use __match_parallel, which is illegal
8564 for ostreambuf_iterators to use, as they don't have operator== or
8566 * bits/std_stdexcept.h: Add dtor definitions.
8567 Use stl/bits/std_stdexcept.h instead of this file?
8568 * bits/sbuf_iter.h : Tweak.
8569 * src/misc-inst.cc: Tweak.
8571 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8573 * bits/std_stdexcept.h: New file.
8574 * src/stdexcept.cc: Define the following:
8576 runtime_error::what()
8578 * src/misc-inst.cc: New file.
8579 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8580 (libstdc___la_OBJECTS): Add misc-inst.lo.
8582 * bits/basic_string.h: Disable non-standard ctor declarations.
8583 * bits/string.tcc: Disable definitions as well.
8584 * src/string.cc: Disable <ios> dependancies.
8585 * bits/sbuf_iter.h (std): Add default to template parameter for
8586 ostreambuf_iterator and istreambuf_iterator.
8587 * bits/std_iosfwd.h: Change istreambuf_iterator to
8588 basic_istreambuf_iterator. Likewise for ostreambuf.
8589 * bits/locfacets.tcc (__match_parallel): Fix typo.
8590 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8592 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8593 * bits/std_istream.h: Define the following:
8594 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8595 get (char_type* __s, streamsize __n, char_type __delim);
8596 getline (char_type* __s, streamsize __n, char_type __delim)
8597 * bits/loccore.h : FIXME friend template code for use_facet.
8598 Add std_stdexcept.h include so that range_error will be defined.
8599 Add explicit conversion to string for range_error throws. (HACK?)
8601 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8603 * configure.in: Check for sincos, sincosf, and sincosl.
8604 * src/complex.cc (polar): Use sincos if available.
8606 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8607 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8609 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8611 * math/cpow.c: Use c_log, not clog.
8612 * math/cpowf.c: Likewise.
8613 * math/cpowl.c: Likewise.
8615 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8618 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8619 isfinite macro if it is available.
8620 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8622 * math/ccosf.c: Use appropriate test macros for this type.
8623 * math/ccoshf.c: Likewise.
8624 * math/ccoshl.c: Likewise.
8625 * math/ccosl.c: Likewise.
8626 * math/cexpf.c: Likewise.
8627 * math/cexpl.c: Likewise.
8628 * math/clog10f.c: Likewise.
8629 * math/clog10l.c: Likewise.
8630 * math/clogf.c: Likewise.
8631 * math/clogl.c: Likewise.
8632 * math/csinf.c: Likewise.
8633 * math/csinhf.c: Likewise.
8634 * math/csinhl.c: Likewise.
8635 * math/csinl.c: Likewise.
8636 * math/csqrtf.c: Likewise.
8637 * math/csqrtl.c: Likewise.
8638 * math/ctanf.c: Likewise.
8639 * math/ctanhf.c: Likewise.
8640 * math/ctanhl.c: Likewise.
8641 * math/ctanl.c: Likewise.
8643 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8645 * bits/basic_ios.h: Fix previous change.
8647 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8649 * bits/basic_ios.h: Add const_cast<basic_ios&>
8650 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8652 * bits/char_traits.h: No _CharT for specialization, change to 0.
8653 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8654 constant-initializer.
8655 * bits/locfacets.tcc: Add template parameter to initialization list.
8657 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8659 * bits/basic_string.h: Should just be <, not <=.
8661 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8663 * bits/string.tcc (compare): Fix for strings that are similar, but
8664 not the same length.
8666 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8668 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8669 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8670 We can't check for __GLIBC__ here, since this header can be read
8671 before any system one (that would lead to features.h) being used.
8673 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8675 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8676 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8678 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8679 LONGLONG_{MIN,MAX} which I can't find the origin of.
8681 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8683 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8684 should this come from, if not iostream.h?
8685 (class istream_iterator): Make the new operator!= a friend also.
8687 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8688 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8689 _G_config.h like the egcs one does.
8691 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8693 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8695 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8696 _Expr1 (or _Expr_def if it's taken), and change definitions.
8697 Avoids redecl of the template parm.
8699 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8700 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8702 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8705 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8706 be a better way to do this.
8708 * src/stlinst.cc: New file.
8710 * BUGS: New file, with various discovered bugs that need to be
8713 * Makefile.in, math/Makefile.in, string/Makefile.in,
8714 src/Makefile.in: Reran automake.
8716 Workarounds, these may not all be the final fixes:
8718 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8719 not private, for basic_istream::get() in std_istream.h to be able
8721 (basic_ios::operator void*): Don't use static_cast for the false
8723 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8724 This appears to have been in sep94, but didn't get corrected
8727 * bits/basic_string.h (npos): Don't init here.
8728 * bits/string.tcc: Instead, do initialization here, to -1 instead
8729 of the size_type destructor.
8731 * src/traits.cc, src/wtraits.cc: New files.
8732 * bits/char_traits.h: For char_traits<char> and
8733 char_traits<wchar_t>, declare static, but define over in the src
8736 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8737 gslice_array, and _GsliceExpression.
8739 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8740 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8741 stdout, and stderr. Note we do get unresolved refs to stdin, but
8742 that'll get fixed by the "true" solution.
8744 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8745 definition of basic_streambuf.h, which is used in basic_ios.h to
8748 * bits/std_streambuf.h: Don't include libio.h for now.
8749 (class basic_streambuf): Define missing methods pubimbue and
8752 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8753 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8754 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8756 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8758 * src/locale.cc: Come up with munged versions of _S_toupper,
8759 _S_tolower, and _S_table instead of the glibc-specific ones, so
8760 they're at least defined, if not necessarily usable. The glibc
8761 ones on any other system will yield unresolved refs to
8762 __ctype_{b,toupper,tolower}.
8764 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8765 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8766 anymore cuz of the explicit specialization in char_traits.h.
8767 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8768 file for the details.
8770 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8771 * stl/bits/stl_iterator.h (__distance): Likewise.
8773 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8774 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8777 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8779 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8782 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8784 This should really be fixed with __asm__ directives renaming the
8785 symbol, but keeping the function.
8786 * math/clogf.c (c_logf): Renamed from `clogf'.
8787 * math/clogl.c (c_logl): Renamed from `clogl'.
8788 * math/complex-stub.h (c_logf, c_logl): Change decls.
8790 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8791 _CharT and _InIter parms, since they duplicate the enclosing ones.
8793 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8795 Deal with conflict of the iostreams `clog' and our internal
8796 complex number `clog'.
8797 * src/complex.cc: Call `c_log' instead of `clog'.
8798 * math/clog.c (c_log):: Renamed from clog.
8799 * math/complex-stub.h (c_log): Renamed from clog decl.
8801 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8803 (num_put::put): #if 0 long long version, since we don't declare or
8804 define the long long version of do_put.
8806 1998-08-18 Nathan Myers <ncm@cantrip.org>
8808 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8809 type of get_allocator (thanks to Ryszard Kabatek).
8810 * bits/char_traits.h: make init order of fpos<> members
8812 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8813 flags _S_fd_in etc. for special filebuf ctor.
8814 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8815 to work around problems in friend declarations.
8816 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8817 fix random type errors & typos
8818 * bits/std_fstream.h: major refitting to bypass libio (for now),
8819 instrument to use bits/fstream.tcc template definitions
8820 * bits/std_iosfwd.h: mess with wrappers
8821 * bits/std_istream.h: remove meaningless comment
8822 * bits/std_ostream.h: instrument to work with ostream.tcc.
8823 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8824 * bits/fstream.tcc: template defs for <fstream>
8825 * bits/ostream.tcc: template defs for <ostream>
8826 * bits/streambuf.tcc: template defs for <streambuf>
8827 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8828 * Delete .cc files, replace with bits/*.tcc
8834 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8835 src/stdstreams.cc: cout, cin, etc. definitions
8836 (these still need work: must be init'd before user statics.)
8839 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8841 Sent to SGI before checkin:
8842 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8843 operator>=): Define.
8844 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8845 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8846 operator>=): Define.
8847 (operator==, operator<): Add inline.
8848 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8849 operator>=): Define.
8850 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8851 operator>=): Define.
8852 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8853 operator>=): Define.
8854 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8855 operator>=): Define.
8856 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8857 operator>=): Define.
8859 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8862 1998-08-15 Nathan Myers <ncm@cantrip.org>
8864 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8865 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8866 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8867 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8868 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8869 * bits/std_sstream.h: formatting cleanups
8871 1998-08-14 Nathan Myers <ncm@cantrip.org>
8873 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8874 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8875 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8876 * bits/locfacets.h: fix missing argument in do_get_monthname
8877 (this is a bug in the standard, ref. 36 in my list.)
8878 * bits/locfacets.h: make month and day name caches mutable
8879 * bits/locfacets.tcc: various typos in get() functions
8880 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8881 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8883 1998-08-12 Nathan Myers <ncm@cantrip.org>
8884 * move streambuf iterators to bits/sbuf_iter.h
8885 * optimize streambuf iterators
8886 * begin generalizing streambuf
8887 * begin implementing num_get<>::get (starting with bool)
8888 * patch stl/bits/stl_config.h so that relops operators are
8889 contained properly, out of the way.
8891 1998-07-24 Nathan Myers <ncm@cantrip.org>
8892 * Fold in SGI 3.11 changes (uglified names, some algorithm
8893 improvements, very minor bug fixes.)
8894 * Uglify names elsewhere to match (s/_T/_Tp/).
8895 * Begin work on optimized streambuf
8896 * Put complex.cc in namespace std:: (thanks Martin)
8898 1998-07-17 Nathan Myers <ncm@cantrip.org>
8900 * bits/char_traits.h: add _Char_traits_match template.
8901 * bits/string.tcc: fix bugs in various find_last* members.
8902 * bits/basic_string.h: redeclare member _S_find.
8903 * stl/bits/stl_iterator.h: change member names in nonstandard
8904 templates bidirectional_reverse_iterator and
8905 random_access_reverse_iterator to match expected changes
8907 * src/string.cc: fix definitions of stream operators.
8909 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
8911 * Makefile.am (SUBDIRS): Add string.
8913 * configure.in: Test for long double functions separately. Test for
8914 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
8915 Generate string/Makefile.
8917 * bits/c++config.h: Define mbstate_t for Solaris.
8919 * bits/char_traits.h: Remove unused #if.
8921 * bits/std_cwchar.h: Declare wide char string functions.
8923 * m4/stringfcts.m4: New file.
8925 * math/complex-stub.h: Declare nan.
8926 * math/nan.c: New file.
8928 * math/mathconf.h: Hack around missing endian.h file.
8929 Handle missing NAN definition.
8930 Handle missing float math functions.
8932 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
8933 (libstdc___la_LDFLAGS): Set version information.
8935 * src/complexl.cc: Don't compile any code if no long double functions
8938 * string/Makefile.am: New file.
8939 * string/dummy.c: New file.
8940 * string/wmemchr.c: New file.
8941 * string/wmemcmp.c: New file.
8942 * string/wmemcpy.c: New file.
8943 * string/wmemmove.c: New file.
8944 * string/wmemset.c: New file.
8946 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
8948 * configure.in: Make it work.
8949 * install-sh: New file.
8950 * missing: New file.
8951 * mkinstalldirs: New file.
8952 * m4/mathfcts.m4: New file.
8953 * math/Makefile.am: New file.
8955 * bits/std_complex.h (conj): Mark specializations as inline.
8957 * math/carg.c: New file.
8958 * math/cargf.c: New file.
8959 * math/cargl.c: New file.
8960 * math/mycabs.c: New file.
8961 * math/mycabsf.c: New file.
8962 * math/mycabsl.c: New file.
8963 * math/signbit.c: New file.
8964 * math/signbitf.c: New file.
8965 * math/signbitl.c: New file.
8967 * math/ccos.c: Avoid ISO C 9x functionality.
8968 * math/ccosf.c: Likewise.
8969 * math/ccosh.c: Likewise.
8970 * math/ccoshf.c: Likewise.
8971 * math/ccoshl.c: Likewise.
8972 * math/ccosl.c: Likewise.
8973 * math/cexp.c: Likewise.
8974 * math/cexpf.c: Likewise.
8975 * math/cexpl.c: Likewise.
8976 * math/clog.c: Likewise.
8977 * math/clog10.c: Likewise.
8978 * math/clog10f.c: Likewise.
8979 * math/clog10l.c: Likewise.
8980 * math/clogf.c: Likewise.
8981 * math/clogl.c: Likewise.
8982 * math/cpow.c: Likewise.
8983 * math/cpowf.c: Likewise.
8984 * math/cpowl.c: Likewise.
8985 * math/csin.c: Likewise.
8986 * math/csinf.c: Likewise.
8987 * math/csinh.c: Likewise.
8988 * math/csinhf.c: Likewise.
8989 * math/csinhl.c: Likewise.
8990 * math/csinl.c: Likewise.
8991 * math/csqrt.c: Likewise.
8992 * math/csqrtf.c: Likewise.
8993 * math/csqrtl.c: Likewise.
8994 * math/ctan.c: Likewise.
8995 * math/ctanf.c: Likewise.
8996 * math/ctanh.c: Likewise.
8997 * math/ctanhf.c: Likewise.
8998 * math/ctanhl.c: Likewise.
8999 * math/ctanl.c: Likewise.
9001 * math/complex-stub.h: New file.
9003 * math/mathconf.h: New file.
9005 * src/Makefile.am: New file.
9007 * src/complex.cc: Use mathconf.h instead of complex.h.
9008 Don't use cabs, always use __mycabs.
9010 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
9012 * iterator (class reverse_iterator): Do some tweaks to be in sync