1 2000-11-10 Phil Edwards <pme@sources.redhat.com>
3 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
4 courtesy of Alexandre Oliva, to handle const/non-const signatures.
5 (codecvt::do_out): Use.
6 (codecvt::do_in): And here.
8 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
10 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
12 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
14 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
15 _Count_ones<>::_S_count): Turn into enumerators.
17 2000-11-08 Mark Mitchell <mark@codesourcery.com>
19 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
20 (codecvt::do_in): Likewise.
22 2000-11-08 David Edelsohn <edelsohn@gnu.org>
24 * src/locale-inst.cc: Add explicit instantiations of
25 _M_fill_insert and fill_n<..., unsigned long,...> .
27 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
29 * include/bits/std_complex.h (conj): Undo double removal.
31 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
33 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
34 alternatives for CXX_libstdcxx, now that it is useless.
35 * aclocal.m4, configure: Rebuilt.
37 2000-11-04 Mark Mitchell <mark@codesourcery.com>
39 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
40 * aclocal.m4: Regenerated.
41 * configure: Likewise.
43 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
45 * aclocal.m4: Regenerated.
46 * configure: Likewise.
48 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
50 * acinclude.m4 (CXX): Prevent it from being cached.
51 * aclocal.m4, configure, */Makefile.in: Rebuilt.
53 2000-11-03 David Edelsohn <dje@watson.ibm.com>
55 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
56 flag based on multilib definition of $CXX.
57 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
58 based on multilib definition of $CXX.
59 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
61 2000-11-03 Phil Edwards <pme@sources.redhat.com>
63 * acinclude.m4: Cleanups.
64 * aclocal.m4: Regenerated.
67 * libio/Makefile.in: Ditto.
68 * libmath/Makefile.in: Ditto.
69 * libsupc++/Makefile.in: Ditto.
70 * src/Makefile.in: Ditto.
72 * docs/install.html: Removal of EGCS.
73 * docs/23_containers/wrappers_h.txt: Likewise.
74 * docs/faq/index.html: Likewise.
75 * docs/faq/index.txt: Regenerated.
76 * docs/thanks.html: More people.
78 2000-11-03 David Edelsohn <edelsohn@gnu.org>
80 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
81 with function name defined in this file.
83 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
85 * include/c/bits/std_cctype.h: Undefine macros that conflict
86 with function names defined in this file.
87 * include/c/bits/std_cstdio.h: Likewise.
89 2000-11-02 Mark Mitchell <mark@codesourcery.com>
91 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
93 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
95 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
96 * aclocal.m4: Regenerated.
97 * Makefile.in: Regenerated.
98 * libio/Makefile.in: Likewise.
99 * libmath/Makefile.in: Likewise.
100 * libsupc++/Makefile.in: Likewise.
101 * src/Makefile.in: Likewise.
102 * configure: Likewise.
103 * config/os/irix/bits/ctype_base.h: Revise.
104 * config/os/irix/bits/ctype_inline.h: Likewise.
105 * config/os/irix/bits/ctype_noninline.h: Likewise.
107 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
108 if not _GLIBCPP_USE_WCHAR_T.
109 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
110 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
111 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
113 * mkcheck.in: Fix echoing of -rpath option.
115 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
117 (__exchange_aand_add): Adjust accordingly.
118 (__atomic_add): Likewise.
120 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
122 * src/locale.cc: Match orderings for static members.
123 * include/bits/fstream.tcc: Fixes for cin.
125 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
127 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
128 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
129 (cos, cosh, sin, sinh): Define primary templates.
131 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
134 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
136 * bits/basic_file.h (_M_open_mode): Change signature, move
138 * config/c_io_libio.cc: ...here.
139 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
140 * aclocal.m4: Regenerate.
141 * configure: Regenerate.
142 * config/c_io_stdio.h: New file.
143 * config/c_io_stdio.cc: New file.
144 * docs/configopts.html: Modify documentation.
146 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
148 * include/c/bits/std_cwctype.h: Add more undefs.
150 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
152 * include/bits/std_complex.h (norm): Forward declare.
153 (complex<>): Comment out friend declaration of conj<>.
154 (conj<>): Comment out specialization.
155 (exp, log, log10): Define primary templates.
157 * src/complex.cc (exp<>, log<>, log10<>): Comment out
160 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
162 * include/bits/std_complex.h: Remove duplicate definition of conj.
163 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
165 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
167 * src/complex.cc (arg, polar): Comment out specializations.
169 * include/bits/std_complex.h (complex<>): Remove arg<> friend
171 (arg): Define primary template.
175 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
177 * include/c/bits/std_cwctype.h: #undef possible function-like
178 macro definitions of iswxxx functions, which might be brought in
179 by <wctype.h>. Those macro definitions prevent build on some
182 * include/bits/std_complex.h (complex<>): Comment out friend
183 declarations of abs<> specializations.
184 (abs): Define primary template.
186 * src/complex.cc (abs): Comment out specialization definition.
188 2000-10-30 Phil Edwards <pme@sources.redhat.com>
190 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
191 the default of 2 to 3.
192 * configure.in: Fix minor typos. SUBST the values of enable_shared
193 and enable_static so that mkcheck will be aware of them. Put the
194 test for gconv.h in with all the other header tests.
195 * aclocal.m4: Regenerate.
197 * Makefile.in: Ditto.
198 * libio/Makefile.in: Ditto.
199 * libmath/Makefile.in: Ditto.
200 * libsupc++/Makefile.in: Ditto.
201 * src/Makefile.in: Ditto.
203 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
204 _G_USING_THUNKS to 0.
206 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
208 * src/complex_io.cc : Remove ancient defines.
209 * config/os/gnu-linux/bits/os_defines.h: Add defines.
210 * libsupc++/tinfo2.cc: Change to cstddef.
212 * include/bits/codecvt.h: Add include of c++config.h, so that
213 __USE_GNU gets defined. (Important for alpha.)
215 * include/c/bits/std_cwctype.h: Same.
216 * include/c/bits/std_ctime.h: And here.
217 * include/c/bits/std_cstdarg.h: Same.
218 * include/c/bits/std_csignal.h: Same.
219 * include/c/bits/std_csetjmp.h: Same.
220 * include/c/bits/std_clocale.h: Same.
221 * include/c/bits/std_climits.h: Touch.
222 * include/c/bits/std_cfloat.h: Same.
223 * include/c/bits/std_cerrno.h: Same.
224 * include/c/bits/std_cwchar.h: Same.
225 * include/c/bits/std_cassert.h: Same.
226 * include/c/bits/std_cctype.h: Same.
227 * include/c/bits/std_cstddef.h: And here.
228 * include/c/bits/std_cstdlib.h: And here.
229 * include/c/bits/std_cstdio.h: Same.
230 * include/c/bits/std_cstring.h: Add names to namespace std::.
232 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
234 (_ISOC99_SOURCE): And this one....
235 * config/os/gnu-linux/bits/os_defines.h: ...to here.
237 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
238 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
240 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
241 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
243 2000-10-30 Steven King <sxking@uswest.net>
245 * include/bits/codecvt.h: Add cast.
246 * include/c_std/stdio.h: Re-add printf using declaration.
247 * include/c_std/bits/std_cstdio.h: Same
248 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
249 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
250 * testsuite/22_locale/facet.cc: Same.
251 * testsuite/22_locale/global_templates.cc: Same.
252 * testsuite/22_locale/operators.cc: Same.
253 * testsuite/22_locale/static_members.cc: Same.
254 * testsuite/26_numerics/c_math.cc: Same.
255 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
256 * testsuite/27_io/fpos.cc: Same.
257 * testsuite/27_io/istream_extractor_arith.cc: Same.
258 * testsuite/27_io/istream_unformatted.cc: Same.
259 * testsuite/27_io/ostream_inserter_arith.cc: Same.
260 * testsuite/27_io/streambuf.cc: Same.
262 2000-10-30 Mark Mitchell <mark@codesourcery.com>
264 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
265 for cabs, cabsf, and cabsl, too.
266 * aclocal.m4: Regenerated.
267 * config.h.in: Likewise.
268 * configure: Likewise.
269 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
271 * libmath/Makefile.in: Regenerated.
272 * libmath/complex-stub.h (cabs): Don't declare if the system
273 already provides this function.
276 * src/complex.cc (abs): Directly use `hypot' since we can't call
279 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
281 * acinclude.m4: Update URL on egcs.cygnus.com to point to
283 * aclocal.m4, configure: Regenerate.
284 * src/gen-num-limits.cc, include/bits/c++config,
285 include/bits/stl_config.h: Remove EGCS references.
287 2000-10-29 Mark Mitchell <mark@codesourcery.com>
289 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
290 building shared executables.
292 2000-10-29 Mark Harig <mharig@landmark.com>
294 * src/Makefile.am: Change logic for include dir options.
295 * src/Makefile.in: Regenerate.
296 * libsupc++/Makefile.am: Ditto.
297 * libsupc++/Makefile.in: Regenerate.
299 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
301 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
302 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
303 with libgcj build issues and improve consistency with the source
304 directory's include directory setup.
305 * configure: Regenerate.
306 * acinclude.m4: Same here.
307 * aclocal.m4: Regenerate.
308 * mknumeric_limits (OUT_H): Also change paths here.
309 * mkcheck.in (C_DIR): And here.
310 * mkc++config (OUT_H): And here.
311 * libmath/Makefile.am (INCLUDES): And here.
312 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
313 * libio/Makefile.am: Ditto.
314 * libsupc++/Makefile.am (INCLUDES): Ditto.
316 2000-10-29 Mark Mitchell <mark@codesourcery.com>
318 * config/c_io_libio.cc (basic_file<char>::__basic_file):
319 Don't pass a NULL _IO_wide_data to _IO_no_init when
320 _GLIBCPP_USE_WCHAR_T is not defined.
321 * config/c_io_libio.h (_IO_codecvt): Don't declare when
322 _GLIBCPP_USE_WCHAR_T is not defined.
323 * config/c_io_libio_codecvt.c: Don't compile it
324 when _GLIBCPP_USE_WCHAR_T is not defined.
325 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
326 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
328 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
329 include it when _GLIBCPP_USE_WCHAR_T is not defined.
330 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
331 when _GLIBCPP_USE_WCHAR_T is not defined.
332 * src/localename.cc (locale::_Impl::_M_construct_collate):
333 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
335 (locale::_Impl::_M_construct_ctype): Likewise.
336 (locale::_Impl::_M_construct_monetary): Likewise.
337 (locale::_Impl::_M_construct_numeric): Likewise.
338 (locale::_Impl::_M_construct_time): Likewise.
339 (locale::_Impl::_M_construct_messages): Likewise.
341 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
342 * aclocal.m4: Regenerated.
343 * configure: Likewise.
344 * config/os/irix/bits/atomicity.h: New file.
345 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
347 (__off64_t): Likewise.
348 (__ssize_t): Likewise.
349 (_G_USING_THUNKS): Define to zero.
351 2000-10-28 Mark Mitchell <mark@codesourcery.com>
353 * src/string-inst.cc (basic_string<C>::npos): Explicitly
356 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
358 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
360 Clean up naming, consistency in "C" library autoconf testing.
361 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
362 GLIBCPP_CHECK_CTYPE_SUPPORT.
363 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
364 * aclocal.m4: Regenerate.
365 * configure.in: And here.
366 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
367 * configure: Regenerate.
369 2000-10-26 David Edelsohn <edelsohn@gnu.org>
371 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
372 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
374 2000-10-26 Phil Edwards <pme@sources.redhat.com>
375 David Edelsohn <dje@watson.ibm.com>
377 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
378 --gc-sections stuff entirely to avoid misleading people.
379 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
380 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
382 * libio/libio.h: Simplify, make fewer assumptions. Define those
383 macros which must be defined.
384 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
387 2000-10-26 Mark Mitchell <mark@codesourcery.com>
389 * include/backward/streambuf.h: New file.
391 2000-10-26 David Edelsohn <dje@watson.ibm.com>
393 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
394 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
395 * config/os/aix/bits/os_defines.h: Add AIX defines.
397 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
399 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
400 * aclocal.m4: Regenerate.
401 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
402 * configure: Regenerate.
403 * docs/configopts.html: Remove.
404 * src/complexl.cc: Revert.
405 * config.h.in: Remove.
406 * include/c_std/bits/std_cmath.h: Remove guards based on
407 _GLIBCPP_USE_LONG_DOUBLE.
408 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
409 with respect to long double signatures.
411 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
413 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
414 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
415 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
416 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
417 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
419 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
421 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
422 Use __valarray_copy_construct only where appropriate.
424 2000-10-25 Mark Mitchell <mark@codesourcery.com>
426 * Makefile.in (check): Don't make mkcheck executable.
427 (check-install): Likewise.
428 * configure.in (AC_OUTPUT): Make mkcheck executable.
429 * mkcheck.in (top_srcdir): New variable.
430 (INC_PATH): Set the path to the backward and ext directories
433 2000-10-25 Phil Edwards <pme@sources.redhat.com>
435 * configure.in: Check for gconv.h.
436 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
438 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
439 * libio/_G_config.h: And here.
440 * libio/iofwide.c: And here.
441 * libio/libio.h: And here.
443 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
444 exception specification to match declaration.
445 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
447 2000-10-24 Mark Harig <mharig@landmark.com>
449 * docs/configopts.html: Added documentation for the
450 "--enable-version-specific-runtime-libs" and
451 "--with-gxx-include-dir" configuration switches.
453 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
455 * include/bits/stl_pair.h (make_pair): Add LWG solution.
457 * testsuite/21_strings/compare.cc (test01): Inject namespace std
460 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
463 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
465 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
467 2000-10-24 Phil Edwards <pme@sources.redhat.com>
469 * acconfig.h: List _GLIBCPP_USE_THREADS.
470 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
471 correction, etc. Add comments about following *real* changes
473 (GLIBCPP_ENABLE_C_MBCHAR): New test...
474 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
475 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
477 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
478 macro _GLIBCPP_USE_THREADS in c++config.h.
479 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
480 this is used in both makefiles and shell scripts (mkcheck).
481 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
483 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
484 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
485 something harmless, like int.
487 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
488 add comment/instructions.
489 * config/os/bsd/bits/os_defines.h: Ditto.
490 * config/os/generic/bits/os_defines.h: Ditto.
491 * config/os/gnu-linux/bits/os_defines.h: Ditto.
492 * config/os/irix/bits/os_defines.h: Ditto.
493 * config/os/newlib/bits/os_defines.h: Ditto.
494 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
495 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
497 * mkcheck.in: Limit the available heap size for testsuite
498 binaries, initially at 2MB.
500 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
502 * testsuite/21_strings/compare.cc (test01): Add using declarations.
504 * include/c_std/bits/std_cerrno.h: And here.
505 * include/c_std/bits/std_cassert.h: Tweaks.
507 * mkcheck.in: Simplify.
509 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
510 (GLIBCPP_ENABLE_LONG_LONG): Same.
511 * aclocal.m4: Regenerate.
513 * src/Makefile.am (c_shadow_headers): Add features.h,
514 bits/wrap_features.h.
515 * src/Makefile.in: Regenerate.
516 * include/c_std/features.h: New file.
517 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
518 file. Need to have c++config.h included before this file so
519 _ISOC99_SOURCE around.
521 * include/c_std/sys/cdefs.h: Hack.
522 * include/c_std/stdlib.h: Same, use c++config.h.
523 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
525 * include/c_std/bits/std_cassert.h: Fix.
526 * include/c_std/bits/std_cerrno.h: Make consistent.
528 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
529 declaration from ::_C_legacy to _C_legacy.
531 * include/c_std/bits/std_cstdio.h: same with printf.
532 * include/c_std/stdio.h: And here.
534 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
535 * include/c_std/stdlib.h: Same here.
537 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
539 * testsuite/21_strings/compare.cc (test01): Add using declarations.
541 * include/c_std/bits/std_cerrno.h: And here.
542 * include/c_std/bits/std_cassert.h: Tweaks.
544 * mkcheck.in: Simplify.
546 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
547 (GLIBCPP_ENABLE_LONG_LONG): Same.
548 * aclocal.m4: Regenerate.
550 * src/Makefile.am (c_shadow_headers): Add features.h,
551 bits/wrap_features.h.
552 * src/Makefile.in: Regenerate.
553 * include/c_std/features.h: New file.
554 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
555 file. Need to have c++config.h included before this file so
556 _ISOC99_SOURCE around.
558 * include/c_std/sys/cdefs.h: Hack.
559 * include/c_std/stdlib.h: Same, use c++config.h.
560 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
562 * include/c_std/bits/std_cassert.h: Fix.
563 * include/c_std/bits/std_cerrno.h: Make consistent.
565 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
566 declaration from ::_C_legacy to _C_legacy.
568 * include/c_std/bits/std_cstdio.h: same with printf.
569 * include/c_std/stdio.h: And here.
571 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
572 * include/c_std/stdlib.h: Same here.
574 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
576 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
577 * aclocal.m4: Regenerate.
578 * configure.in: Use it.
579 * configure: Regenerate.
580 * src/complexl.cc: Fixup.
581 * include/c_std/bits/std_cmath.h: Fixup.
582 * include/c/bits/std_cmath.h: Fixup.
583 * docs/configopts.html: Add docs.
585 * docs/links.html: Add links to defects list, standards FAQ.
587 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
588 with string creation that allocate huge ammounts of memory.
590 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
593 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
595 * libsupc++/exception.cc: Use namespace std.
596 * libsupc++/new: DITTO.
597 * libsupc++/new_op.cc: DITTO.
598 * libsupc++/new_opnt.cc: DITTO.
599 * libsupc++/new_opv.cc: DITTO.
600 * libsupc++/new_opvnt.cc: DITTO.
601 * libsupc++/tinfo.cc: DITTO.
602 * libsupc++/tinfo.h: DITTO.
603 * libsupc++/vec.cc: DITTO.
604 * libsupc++/Makefile.am: Blank lines removal.
606 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
608 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
609 docs/17_intro/howto.html, docs/18_support/howto.html,
610 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
611 docs/21_strings/howto.html, docs/22_locale/howto.html,
612 docs/23_containers/howto.html, docs/24_iterators/howto.html,
613 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
614 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
615 Remove many EGCS references; use current absolute URLs on
616 gcc.gnu.org or sources.redhat.com for messages in list archives.
617 * docs/faq/index.txt: Regenerate.
619 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
621 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
622 creation of state_type for unicode_codecvt to take into account
623 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
624 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
625 * include/bits/codecvt.h (__enc_traits): Add support for encodings
626 that need a byte order marker. Needed for correct unicode support.
628 * src/locale.cc: Remove explicit qualification std::.
629 (locale::locale(const char* __name)): Revert, as named locale
630 support not finished.
631 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
632 size_t __refs, bool __has_name = false, string __name): Move
634 * include/bits/localefwd.h: Here.
636 2000-10-18 Chip Salzenberg <chip@valinux.com>
638 * libio/libio.h (_IO_USER_LOCK): Define.
640 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
642 * libsupc++/Makefile.am (exception): Change exception.cc to
643 exception_support.cc.
644 (CXXLINK): Remove bogus --tag CC.
645 * libsupc++/Makefile.in: Regenerate.
646 * libsupc++/exception.cc: Move to...
647 * libsupc++/exception_support.cc: ...here.
649 * src/Makefile.am: Remove bogus --tag CC.
650 * src/Makefile.in: Regenerate.
652 * include/bits/locale_facets.tcc (use_facet): Simplify.
653 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
654 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
655 (use_facet<ctype<wchar_t> >): Same.
656 * src/locale-inst.cc: Remove explicit instantiation.
657 * src/locale.cc: Correct signature here too.
658 (_Bad_use_facet::what()): Correct error string.
659 * include/bits/localefwd.h: Correct comment.
661 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
663 2000-10-17 Martin Buchholz <martin@xemacs.org>
665 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
666 * testsuite/27_io/ostream_seeks.cc: Similarly.
668 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
670 via Alexandre Oliva <aoliva@redhat.com>
671 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
672 * libsupc++/Makefile.in: Regenerate.
673 * src/Makefile.am: Duplicate code.
674 * src/Makefile.in: Regenerate.
676 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
677 * aclocal.m4: Regenerate.
678 * configure.in: And here.
679 * configure: Regenerate.
681 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
682 test for SECTION_LDFLAGS.
684 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
686 Shadow headers would work if libsupc++ was strict about namespaces.
687 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
688 * include/c_std/assert.h: Add guards.
689 * include/c_std/bits/std_climits.h: Correct typo.
690 * include/c_std/ctype.h: Remove #error.
692 * libio/libioP.h: Break up extern "C" bits around includes.
693 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
695 * libio/libioP.h: Same here.
697 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
699 * include/c_std/unistd.h: Define some types only when defined in
700 the original unistd.h.
701 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
702 definition of size_t, ptrdiff_t and NULL.
703 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
705 2000-10-15 Phil Edwards <pme@sources.redhat.com>
707 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
709 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
710 Mark Harig <markh@landmark.com>
712 * src/Makefile.am (toolexeclibdir): Add support fo
713 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
714 * src/Makefile.in: Regenerate.
715 * libsupc++/Makefile.am: Same.
716 (glibcppinstalldir): Adjust.
717 * libsupc++/Makefile.in: Regenerate.
718 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
719 * Makefile.in: Regenerate.
720 * docs/configopts.html: Add descriptions of flags.
722 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
724 * libsupc++/Makefile.am: Use it.
725 * libio/Makefile.am: Use it.
726 * libmath/Makefile.am: Use it.
727 * src/Makefile.am: Use it.
728 * Makefile.am (AM_MAKEFLAGS): Remove includes.
730 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
731 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
732 * configure.in: Use it.
734 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
736 * src/Makefile.am (CXXCOMPILE): Remove.
737 * src/Makefile.in: Regenerate.
738 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
739 * libsupc++/Makefile.in: Regenerate.
741 * include/c_std/*: Merge with shadow.
742 * include/c_std/bits/*: Same.
744 * shadow: Remove directory.
745 * shadow/*: De-populate.
747 2000-10-11 Phil Edwards <pme@sources.redhat.com>
749 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
750 exception-throwing code for linker test.
751 * aclocal.m4: Regenerate.
752 * configure: Regenerate.
754 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
756 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
757 * libsupc++/include: Remove
758 * libsupc++/include/*: Move to ...
760 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
761 (glibcppinstalldir): New.
763 * src/Makefile.am (c_base_headers): New.
764 (c_shadow_headers): New
766 (myinstallheaders): Correct install issues.
767 * src/Makefile.in: Regenerate.
769 * Makefile.am (CSHADOW_INCLUDES): Simplify.
770 * Makefile.in: Regenerate.
771 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
772 * aclocal.m4: Regenerate.
773 * mkcheck.in (SRC_DIR): Use it.
775 * include/bits/std_stdexcept.h: And here.
776 * include/bits/std_ios.h: Change std_exception.h to exception.
777 * src/locale.cc: And here.
778 * src/locale-inst.cc: And here.
780 * include/bits/valarray_array.h: And here.
781 * include/bits/stl_alloc.h: And here.
782 * include/bits/stl_algobase.h: And here.
783 * include/bits/pthread_allocimpl.h: And here.
784 * include/bits/stl_construct.h: Change to std_new.h to new.
786 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
788 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
789 (headers): Remove duplicated headers.
790 (std_headers): And here.
791 * src/Makefile.in: Regenerate.
792 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
793 * libsupc++/Makefile.in: Regenerate.
794 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
795 (AM_MAKEFLAGS): And here.
796 * Makefile.in: Regenerate.
797 * include/bits/std_typeinfo.h: Remove.
798 * include/bits/std_new.h: Remove
799 * include/bits/std_exception.h: Remove.
801 * std/typeinfo: Remove.
802 * std/exception: Remove.
804 * libio/_G_config.h (__need_ptrdiff_t): Add.
806 * libsupc++/include/new: Change stddef.h to cstddef.
807 * libsupc++/tinfo.h: Change limits.h to climits.
808 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
809 renders the file uncompilable. Add copyright.
811 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
812 namespace, as it is a fundamental type.
814 2000-10-09 Richard Henderson <rth@cygnus.com>
816 * libsupc++/pure.cc: New file.
817 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
818 (sources): Add pure.cc.
819 * libsupc++/Makefile.in: Regenerate.
821 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
823 * docs/configopts.html: Edit.
825 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
826 * libio/Makefile.in: Regenerate.
827 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
828 * libmath/Makefile.in: Regenerate.
829 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
830 * libsupc++/Makefile.in: Regenerate.
832 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
833 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
834 CSHADOW_INCLUDES up here.
835 * Makefile.in: Regenerate.
836 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
838 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
839 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
840 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
841 * src/Makefile.in: Regenerate.
843 * include/c: New directory.
844 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
845 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
846 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
847 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
848 std_cwchar.h, std_cwctype.h): Add, moving from...
849 * include/bits: ...here.
850 * include/c_std: New directory.
851 * include/c_std/bits/*: Populate from...
852 * shadow: ...here. Remove directory.
854 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
856 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
857 (INCLUDES): Add glibcpp_includedir.
858 * libsupc++/Makefile.in: Regenerate.
860 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
861 * aclocal.m4: Regenerate.
862 * config/os/*/bits/os_defintes: Adjust copyright dates.
864 2000-10-08 Phil Edwards <pme@sources.redhat.com>
866 * include/bits/c++config: Include <bits/os_defines.h>
867 * config/os/aix/bits/os_defines.h: New file.
868 * config/os/bsd/bits/os_defines.h: Ditto.
869 * config/os/generic/bits/os_defines.h: Ditto.
870 * config/os/gnu-linux/bits/os_defines.h: Ditto.
871 * config/os/irix/bits/os_defines.h: Ditto.
872 * config/os/newlib/bits/os_defines.h: Ditto.
873 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
874 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
875 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
877 2000-10-07 David Edelsohn <dje@watson.ibm.com>
879 * config/os/aix/bits/atomicity.h: New file.
881 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
883 * acinclude.m4: Remove CPU_FLAGS
884 * libio/Makefile.am: Here too.
885 * Makefile.am: Here too.
887 * src/Makefile.am (CONFIG_INCLUDES): Remove.
888 (INCLUDES): Remove CONFIG_INCLUDES.
889 (cpu_headers): Remove.
890 (myinstallheaders): Remove cpu_headers.
891 (generated_headers): Rename to build_headers.
892 (build_headers): Add atomicity.h, ctype_base.h,
893 ctype_specializations.h.
895 * config/os: New directory.
896 * config/aix: Move to...
897 * config/bsd: Move to...
898 * config/generic: Move to...
899 * config/gnu-linux: Move to...
900 * config/irix: Move to...
901 * config/newlib: Move to...
902 * config/solaris: Move to...
905 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
907 * acinclude.m4: Remove CPU_FLAGS
908 * libio/Makefile.am: Here too.
909 * Makefile.am: Here too.
911 * src/Makefile.am (CONFIG_INCLUDES): Remove.
912 (INCLUDES): Remove CONFIG_INCLUDES.
913 (cpu_headers): Remove.
914 (myinstallheaders): Remove cpu_headers.
915 (generated_headers): Rename to build_headers.
916 (build_headers): Add atomicity.h, ctype_base.h,
917 ctype_specializations.h.
919 * config/os: New directory.
920 * config/aix: Move to...
921 * config/bsd: Move to...
922 * config/generic: Move to...
923 * config/gnu-linux: Move to...
924 * config/irix: Move to...
925 * config/newlib: Move to...
926 * config/solaris: Move to...
929 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
931 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
932 CONFIG_CXXFLAGS from here, and move to...
933 * src/Makefile.in: Regenerate.
934 * Makefile.am: ... here. Clean.
935 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
936 (WARN_CXXFLAGS): Same.
937 (CONFIG_CXXFLAGS): Same.
938 * Makefile.in: Regenerate.
939 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
940 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
941 * libsupc++/Makefile.in: Regenerate.
943 Change math to libmath.
944 * math: Move to libmath, delete.
945 * libmath: New directory.
946 * libmath/*: Populate.
947 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
948 (libstdc___la_LIBADD): Same.
949 * src/Makefile.in: Regenerate.
950 * configure.in: Add AC_OUTPUT for libmath/Makefile.
951 * configure: Regenerate.
952 * Makefile.am (SUBDIRS): Add libmath.
953 * Makefile.in: Regenerate.
954 * README (file): Change name.
956 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
957 Richard Henderson <rth@cygnus.com>
958 Alexandre Oliva <aoliva@redhat.com>
960 * libsupc++: New directory.
961 * libsupc++/*: Populate.
962 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
963 eh-common.h, gansidecl.h.
964 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
965 * configure: Regenerate.
966 * Makefile.am (SUBDIRS): Add libsupc++.
967 * Makefile.in: Regenerate.
968 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
969 * src/Makefile.in: Regenerate.
970 * libio/Makefile.am: Remove extraneous, confusing bits.
971 * libio/Makefile.in: Regenerate.
973 2000-10-05 Brent Verner <brent@rcfile.org>
975 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
976 test for _M_gcount < in_avail(), as in_avail() only reports info
977 for current buffer, causing method to return at end of buffer.
978 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
979 * testsuite/27_io/istream_unformatted-3.txt: New file.
980 * testsuite/27_io/istream_unformatted-3.tst: New file.
982 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
984 * README (file): Adjust directory structures.
985 * mkcheck.in (INC_PATH): Adjust for header changes.
987 2000-10-05 Phil Edwards <pme@sources.redhat.com>
989 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
990 for public relations purposes.
991 * aclocal.m4: Regenerated.
992 * configure: Regenerated.
994 * docs/ext/howto.html: Additional explanation about hashing.
996 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
998 * include: New directory.
999 * include/backward: New directory.
1000 * include/bits: New directory.
1001 * include/ext: New directory.
1002 * include/std: New directory.
1003 * include/*/*: Populate.
1005 * backwards: Move to include/backwards, delete.
1006 * bits: Move to include/bits, delete.
1007 * ext: Move to include/ext, delete.
1008 * std: Move to include/std, delete.
1010 * src/complex.cc: Adjust include of mathconf.
1012 * mkc++config (BASE_H): Add include.
1014 * src/Makefile.am: Support for topleve sources include directory.
1015 (INCLUDES): Add LIBMATH_INCLUDE.
1016 * src/Makefile.in: Regenerate.
1017 * math/Makefile.am (INCLUDES): Append /include.
1018 * math/Makefile.in: Regenerate.
1019 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1020 * libio/Makefile.in: Regenerate.
1022 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1024 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1026 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1028 * docs/22_locale/howto.html: Add link to proto-documentation on
1030 * docs/documentation.html: Rename links for clarity.
1032 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1033 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1034 * src/Makefile.in: Regenerate.
1036 2000-10-02 Steven King <sxking@uswest.net>
1038 * mkcshadow: Fixed script to output proper include guard.
1039 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1040 * libio/_G_config.h: Hacked to make work with shadow heraders.
1041 * shadow/*: Hacked to make shadow headers work.
1043 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1045 Self-compile with shadow headers.
1046 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1047 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1048 it becomes the default way the library is built.
1049 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1050 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1051 * config/gnu-linux/ctype.cc (ctype): Use it.
1053 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1055 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1056 memset. This should not be necessary, but an ambiguous overload
1059 * shadow/bits/std_cwchar.h: Fix.
1060 * shadow/wchar.h: Fix.
1062 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1063 enums into namespace std:: for ctype_base enum. Other OS types
1064 will have to do this as well.
1065 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1066 namespace std, in particular __ctype_toupper, __ctype_tolower,
1069 * shadow/iolibio.h: New file.
1070 * shadow/bits/wrap_iolibio.h: New file.
1071 * shadow/libioP.h: New file.
1072 * shadow/bits/wrap_libioP.h: New file.
1073 * shadow/bits/wrap_fcntl.h: New file.
1074 * shadow/fcntl.h: New file.
1075 * shadow/iconv.h: New file. Inject iconv names into the global
1076 namespace, unmangled for the moment.
1077 * shadow/bits/wrap_iconv.h: New file.
1078 * shadow/unistd.h: Remove. Useless.
1079 * shadow/bits/wrap_unistd.h: Remove.
1081 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1082 * src/Makefile.in: Regenerate.
1084 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1086 * shadow/libio.h: Fix.
1087 * shadow/bits/wrap_libio.h: Fix.
1089 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1090 which will not compile.
1091 * shadow/bits/std_ctime.h: Same.
1093 * shadow/pthread.h: New file. Put pthreads types and functions
1094 into global scope, which is probably not the correct long-term
1095 solution but has to be done at the moment before libio wrappers
1096 can even be started.
1097 * shadow/bits/wrap_pthread.h: New file.
1099 * bits/std_ios.h: Formatting tweak.
1100 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1102 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1103 tests for compiler features.
1104 * aclocal.m4: Regenerate.
1105 * configure: Regenerate.
1107 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1109 * libio/libioP.h: Comment out fcntl.h include.
1111 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1113 * bits/c++config: Define _ISOC99_SOURCE.
1115 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1116 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1117 * aclocal.m4: Regenerate.
1118 * configure: Regenerate.
1119 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1120 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1121 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1122 std or shadow directories.
1123 (LTCXXCOMPILE): Same.
1124 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1125 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1126 * src/Makefile.in: Regenerate.
1128 * src/complex.cc (FCT): Change ::name to name.
1129 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1130 * src/complexf.cc (FCT): Same.
1132 * src/complexf.cc: Remove FCT define, as things are properly
1133 overloaded in the std namespace with the shadow headers.
1134 * src/complexl.cc: Same.
1135 * src/complex.cc: Same.
1137 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1139 * docs/documentation.html: Add link to...
1140 * docs/ext/howto.html: ...this. New dir/file, describing library
1141 extensions (both ours and SGI's).
1142 * docs/faq/index.html: Small updates.
1143 * docs/faq/index.txt: Regenerate.
1145 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1147 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1149 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1151 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1153 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1155 * src/localename.cc (locale::_Imp) : Remove typedefs.
1156 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1157 __f): Consistency check, call _Imp ctor with reference argument
1159 * bits/localefwd.h: Change _S_num_categories to
1160 _S_categories_num. Add new data member, _S_facets_num, which is
1161 the number of standard facets.
1163 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1165 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1167 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1169 * docs/thanks.html: More thanks.
1170 * docs/18_support/howto.html: Fix thinko.
1171 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1172 Redo the string transformation notes and link to...
1173 * docs/22_locale/howto.html: ...here.
1175 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1177 * src/locale-inst.cc: Add time_put_byname and
1178 time_get_byname instantiations.
1179 * bits/locale_facets.h: Correct default, private derivation to
1180 public derivation in _byname declarations.
1181 * src/locale.cc (locale::classic()): Simplify.
1182 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1183 const string& __name, category __cat, size_t __refs): Re-work for
1185 (_M_normalize_category_names): Remove.
1187 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1188 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1190 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1192 * bits/std_bitset.h (operator>>): Change to char_type.
1194 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1196 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1197 name setting. Add checks for NULL __name pointers. Remove calls to
1198 _S_initialize() as initial locale initialization can either be
1199 assumed, or needs to be made consistent throughout locale
1201 (locale::locale(const locale& __other, const char* __name,
1202 category __cat): Add checks for NULL name. Add checks for
1204 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1205 const string& __name, category __cat, size_t __refs)): Set correct
1206 name, has_name values.
1207 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1208 * docs/22_locale/locale.html: New file, more unfinished docs...
1210 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1212 * src/locale.cc (locale::name()): Implement.
1213 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1214 string __name = "*")): Change signature.
1215 (locale::classic): Initialize the "C" locale as a named locale.
1216 * bits/localefwd.h (locale): Change _M_num_references to
1217 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1219 * bits/localefwd.h: Tweaks.
1220 * src/localename.cc: Tweaks.
1221 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1224 * bits/basic_string.h: Consistency check, change _M_state ->
1227 2000-09-14 Brendan Kehoe <brendan@zen.org>
1229 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1232 * src/Makefile.an (headers): Also install backward/fstream.h.
1233 * src/Makefile.in: Regenerate.
1235 * bits/char_traits.h (char_traits<_CharT>::get_state,
1236 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1237 argument in by reference, not by value. Uglify to _S_get_state.
1238 (char_traits<*>::__eos): Uglify to _S_eos.
1239 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1240 Change __eos to _S_eos.
1242 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1244 * testsuite/22_locale/static_members.cc: New file.
1245 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1246 * src/locale.cc: Minor formatting tweaks.
1248 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1250 * testsuite/22_locale/global_templates.cc (test01): Add negative
1251 tests for use_facet.
1253 * bits/localefwd.h (locale::operator()): Minor tweaks.
1254 * bits/locale_facets.tcc (locale::operator()): Same.
1255 * testsuite/22_locale/operators.cc: New file.
1257 * testsuite/22_locale/facet.cc (output_iterator): Remove
1258 gnu_input_iterator, gnu_output_iterator.
1260 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1262 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1263 * aclocal.m4: Regenerate.
1264 * configure: Regenerate.
1266 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1267 snapshot release soon.
1268 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1269 is pretty much assumed.
1271 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1272 use_facet and has_facet.
1274 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1275 Modify/correct iconv signatures for glibc2.2.
1277 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1279 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1282 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1284 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1285 (locale): Make _Impl declaration public.
1287 2000-09-08 Felix Natter <fnatter@gmx.net>
1289 * docs/17_intro/porting-howto.html: New version.
1291 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1293 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1295 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1296 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1298 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1300 Add bits for --enable-maintainer-mode:
1301 - turns on enable_debug
1302 (doing "--enable-maint --disable-debug" will DTRT)
1303 - turns on -Werror, now off by default
1304 * acinclude.m4: Add bits.
1305 * aclocal.m4: Regenerate.
1306 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1307 * configure: Regenerate.
1309 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1311 * bits/std_cwctype.h: Remove yesterday's hacks.
1313 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1315 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1316 * testsuite/23_containers/set_operators.cc: New file. Should not
1318 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1320 2000-09-06 Richard Henderson <rth@cygnus.com>
1321 Benjamin Kosnik <bkoz@cygnus.com>
1323 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1324 * aclocal.m4: Regenerate.
1325 * configure: Regenerate.
1326 * config/cpu/ia64: New directory.
1327 * config/cpu/ia64/bits: New directory.
1328 * config/cpu/ia64/bits/atomicity.h: New file.
1330 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1332 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1333 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1335 * aclocal.m4: Regenerate.
1336 * configure: Regenerate.
1337 * */Makefile.in: Regenerate.
1339 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1340 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1342 * testsuite/23_containers/vector_element_access.cc: New file.
1343 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1345 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1347 * bits/string.tcc: Fix up more parameter names.
1349 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1351 * configure: Rebuilt with new libtool.m4.
1353 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1355 * src/locale-inst.cc: Remove pre-instantiation of unicode
1356 codecvt types. Now unnecessary, as locale header now correct.
1358 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1360 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1361 * src/locale.cc: Here.
1362 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1363 definition. Move specialization to ...
1364 * src/locale.cc: Here.
1365 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1366 * src/locale.cc: Here.
1367 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1368 * src/locale.cc: Here.
1370 * bits/std_locale.h: Note that locale_facets.tcc should be
1371 included here, for standards conformance. It may increase
1372 compile times though. For the time being, enable.
1373 * testsuite/22_locale/facet.cc: New file, some parts commented out
1376 * mkcheck.in: Append total time to test summary file.
1378 * bits/sbuf_iter.h : Formatting tweaks.
1380 Clean up static const data member definitions.
1381 * src/locale.cc: Add definitions for all missing locale,
1382 locale::_Imp, and locale::id static data members.
1383 (ctype<char>): Add table_size define.
1384 (money_base): Add _S_default_pattern, uglify.
1385 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1386 * bits/locale_facets.h: Tweaks.
1387 * bits/locale_facets.tcc: Tweaks.
1388 * bits/string.tcc: Add definition for npos.
1389 * bits/ios_base.h: Tweaks.
1390 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1392 * src/ios.cc: And here. Add _S_local_words definition.
1393 Add definitions for __ios_flags const static data.
1394 * src/codecvt.cc: Same for __enc_traits.
1395 * src/locale-inst.cc: Remove money_base data member definition
1398 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1400 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1402 * docs/22_locale/codecvt.html: Re-number.
1403 * docs/22_locale/howto.html: Add entry for ctype
1404 documentation. Add entry for Nathan's introduction to locales
1406 * docs/22_locale/ctype.html: New file. In progress...
1408 * docs/22_locale/codecvt.html: Formatting cleanups.
1409 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1411 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1413 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1414 tweaks for certain browsers.
1416 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1418 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1419 Add include for bits/std_cwctype.h, for wctype_t.
1420 * src/locale.cc (ctype<wchar_t>): Implement.
1421 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1422 typedef, instead name enum.
1423 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1424 * config/gnu-linux/ctype.cc: Tweak.
1425 * testsuite/22_locale/ctype.cc: Tweak.
1427 * bits/codecvt.h (__enc_traits): Uglify names.
1429 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1431 * docs/22_locale/codecvt.html: Add more bits, format.
1432 * bits/codecvt.h: Add copy ctor, rename types.
1433 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1435 * libio/iofwide.c: Tweak.
1437 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1439 * docs/configopts.html: Mention new options.
1440 * docs/install.html: Formatting changes for platform-specific
1441 pre-reqs, previously only Cygwin.
1442 * docs/mail.html: Fix new link.
1443 * docs/thanks.html: A couple more people.
1444 * docs/26_numerics/howto.html: Fix typo.
1446 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1448 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1449 * docs/22_locale/codecvt.html: New file. In progress.
1451 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1453 * acconfig.h: Revert.
1454 * acinclude.m4: Revert.
1455 * libio/_G_config.h: Revert.
1456 * libio/libio.h: Revert.
1458 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1460 * bits/codecvt.h: Tweaks.
1461 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1462 initial string literals for UCS4.
1464 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1466 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1467 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1468 definition as well, and some minor spelling/spacing fixes. If
1469 building libio, check for certain typedefs.
1470 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1471 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1472 will never be there.
1473 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1474 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1476 * configure.in: Update the cache a bit more often.
1478 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1480 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1482 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1483 __enc_traits> instantiations for has_facet and use_facet.
1484 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1485 testing two-byte unicode encodings converted to four-byte UCS4
1488 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1489 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1490 correct state/encoding information.
1492 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1493 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1495 Add checks for langinfo.h, nl_langinfo function call.
1496 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1498 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1500 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1501 ((unused)) to __attribute__ ((__unused__)).
1502 * config/cpu/arm/bits/atomicity.h: Same.
1503 * config/cpu/generic/bits/atomicity.h: Same.
1504 * config/cpu/i386/bits/atomicity.h: Same.
1505 * config/cpu/i486/bits/atomicity.h: Same.
1506 * config/cpu/powerpc/bits/atomicity.h: Same.
1507 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1508 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1510 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1512 * bits/basic_string.h: Fix up parameter names.
1514 2000-08-22 Brent Verner <brent@rcfile.org>
1516 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1518 * src/Makefile.in: Regenerate.
1520 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1522 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1523 up __enc_traits template so as to be marginally useful.
1524 * src/codecvt.cc: And here.
1525 * bits/char_traits: Tweak.
1526 * bits/locale_facets.h: Tweak.
1527 * bits/locale_facets.tcc: Tweak.
1528 * bits/localefwd.h: Tweak.
1529 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1530 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1531 * testsuite/22_locale/codecvt_char_char.cc: New file.
1532 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1534 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1536 * bits/std_cmath.h (std::abs): Overload for int and long.
1538 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1540 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1542 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1544 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1545 thinko. Diagnostic messages really need to be improved for
1546 template argument deduction.
1548 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1550 * bits/valarray_meta.h: Fix typos...
1552 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1554 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1555 _Expr<>::apply): Implement.
1557 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1559 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1561 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1564 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1566 * bits/localefwd.h (std::locale): Use explicit `class' specified
1567 when declaring friends.
1568 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1570 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1572 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1573 * src/Makefile.in: Regenerate.
1575 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1577 * bits/codecvt.h: New file.
1578 * src/codecvt.cc: New file.
1579 * bits/std_locale.h: Add include here.
1580 * src/Makefile.am (headers): Add codecvt.h
1581 (sources): Add codecvt.cc.
1582 * src/Makefile.in: Regenerate.
1583 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1584 __codecvt_abstract_base in an attempt to point some light this way...
1585 Move __enc_traits and codecvt bits to codecvt.h.
1586 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1587 explicit instantiation. Separate out codecvt instantations, simplify.
1588 * src/locale.cc: Move codecvt bits to codecvt.cc
1590 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1592 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1593 * src/Makefile.in: Regenerate.
1595 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1597 C/C++ io merge/sync.
1608 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1609 ((struct _IO_FILE_plus *) in ctors.
1610 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1611 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1612 * libio/cleanup.c: Remove.
1613 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1614 _IO_cleanup_registration_needed, even if not libc.
1616 * testsuite/27_io/stringstream.cc (test02): Fix.
1618 2000-08-14 Brent Verner <brent@rcfile.org>
1620 * testsuite/debug_assert.h: new file
1621 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1622 changed conditional #include <c?assert.?h?> to
1623 unconditional #include <debug_assert.h>
1624 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1625 for testsuite compile command.
1627 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1629 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1630 wofstream, filebuf, wfilebuf, fstream, wfstream.
1631 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1632 * bits/std_sstream.h: Same for stringstream and wstringstream.
1633 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1634 ostringstream, wostringstream.
1636 * testsuite/26_numerics/valarray.cc: Add test.
1638 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1640 * configure: Regenerate after change to ../libtool.m4.
1642 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1644 * bits/locale_facets.tcc: Formatting tweaks.
1645 * bits/locale_facets.h (__enc_traits): Start integrating this
1646 into codecvt, ctype. Formatting tweaks.
1648 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1650 Preliminary wchar_t implementation, with trivial encodings.
1651 * docs/configopts.html: Add bits about canonical configure option
1654 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1655 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1656 * testsuite/27_io/narrow_stream_objects.cc: New file.
1657 * testsuite/27_io/wide_stream_objects.cc: New file.
1659 * bits/fstream.tcc (underflow): Temporarily hack a solution
1660 together that writes from the external file to the internal
1661 buffers. This removes codecvt from the loop, and is incorrect.
1662 (_M_really_overflow): Same here.
1664 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1666 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1667 Ulrich Drepper <drepper@cygnus.com>
1669 * config/c_io_libio.h: Tweak.
1670 * config/c_io_libio_codecvt.c: New file.
1671 * libio/Makefile.am: Add c_codecvt.c.
1672 * libio/Makefile.in: Regenerate.
1673 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1674 stream is not orientated.
1676 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1677 encoding gets fleshed out.
1679 * bits/basic_file.h: Add specialization declarations.
1680 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1682 * config/c_io_libio.h: Add __c_wfile_type.
1683 * bits/basic_file.h: Add _M_wfile.
1685 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1686 streams without setting the orientation of the underlying FILE to
1687 either wide or narrow.
1688 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1690 2000-08-07 Felix Natter <fnatter@gmx.net>
1692 * docs/17_intro/porting-howto.html: New version.
1694 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1696 * bits/locale_facets.h (ctype::ctype): Don't name unused
1699 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1701 * docs/install.html: Edit bits about requiring a special version
1704 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1706 * libio/fileops.cc: Update to current glibc sources.
1707 * libio/genops.c: Same.
1708 * libio/iofwide.c: Same.
1709 * libio/libio.h: Same.
1710 * libio/libioP.h: Same.
1711 * libio/wfiledoalloc.c: Same.
1712 * libio/wgenops.c: Same.
1714 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1716 * acinclude.m4: Include ../libtool.m4.
1717 * aclocal.m4, configure: Rebuilt.
1719 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1721 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1722 before trying to use any of its options.
1723 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1724 * aclocal.m4: Regenerate.
1725 * configure.in: Having found GNU make, name it.
1726 * configure: Regenerate.
1727 * docs/install.html: Mention possible problems with caching.
1728 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1729 * src/Makefile.in: Regenerate.
1730 * libio/Makefile.in: Regenerate.
1731 * math/Makefile.in: Regenerate.
1732 * Makefile.in: Regenerate.
1734 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1736 * src/misc-inst.cc (std): Remove instantiations.
1738 * acinclude.m4: Add forward-looking bits for autoconf.
1739 * aclocal.m4: Regenerate.
1741 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1743 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1745 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1746 it back for current versions of maintainer-tools...
1747 * acinclude.m4: Some cleanups...
1748 * aclocal: Regenerated.
1749 * configure: Regenerated.
1751 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1752 optimizing/adapting the hash table using GNU ld.
1753 * src/Makefile.in: Regenerate.
1755 2000-07-24 H.J. Lu <hjl@gnu.org>
1757 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1758 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1759 files don't include private libio header files needed by
1761 * src/Makefile.in: Rebuild.
1763 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1765 * bits/std_fstream.h: Parameterize __basic_file.
1766 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1767 * bits/basic_file.h: Same here.
1769 * bits/istream.tcc (getline): Tweaks.
1771 * bits/fstream.tcc: Shorten __retval to __ret.
1772 * bits/ostream.tcc: Same.
1773 * bits/sbuf_iter.h: Same.
1774 * bits/sstream.tcc: Same.
1775 * bits/streambuf.tcc: Same.
1776 * bits/std_fstream.h: Same.
1777 * src/string-inst.cc: Same.
1779 * config/c_io_libio.cc: Same.
1780 * bits/string.tcc: Same.
1781 * bits/std_streambuf.h: Same.
1783 2000-07-23 Brent Verner <brent@rcfile.org>
1785 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1786 char_type) make compliant
1787 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1789 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1791 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1792 and srcdir used to define CSHADOW_INCLUDES..
1794 * configure.in: For consistency, change .sanity_warned to
1795 stamp-sanity-warned.
1797 * acinclude.m4: Tweak formatting.
1798 * Makefile.am (check): Call mkcheck with full pathname for build
1800 (check-install): And here.
1801 * Makefile.in: Regenerate.
1803 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1805 Line up with libstdc++-v2 version of valarray.
1806 * bits/valarray_array.h (__valarray_product): Make inline.
1807 * src/valarray-inst.cc (__valarray_product): Remove explicit
1810 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1812 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1815 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1816 Change return type to void.
1817 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1818 * testsuite/17_intro/header_ciso646.cc: Modify.
1819 * bits/locale_facets.h: Add return values for the generic cases.
1821 2000-07-21 H.J. Lu (hjl@gnu.org)
1823 * acinclude.m4: Include <features.h> for glibc testing.
1824 * aclocal.m4: Likewise.
1826 * configure: Rebuild.
1828 2000-07-20 H.J. Lu (hjl@gnu.org)
1830 * acinclude.m4: Change "#pragma system_header" to
1831 "#pragma GCC system_header".
1832 * aclocal.m4: Likewise.
1833 * bits/std_cmath.h: Likewise.
1834 * bits/std_cassert.h: Likewise.
1835 * bits/std_cctype.h: Likewise.
1836 * bits/std_cerrno.h: Likewise.
1837 * bits/std_cfloat.h: Likewise.
1838 * bits/std_climits.h: Likewise.
1839 * bits/std_clocale.h: Likewise.
1840 * bits/std_cwchar.h: Likewise.
1841 * bits/std_csetjmp.h: Likewise.
1842 * bits/std_csignal.h: Likewise.
1843 * bits/std_cstdarg.h: Likewise.
1844 * bits/std_cstddef.h: Likewise.
1845 * bits/std_cstdio.h: Likewise.
1846 * bits/std_cstdlib.h: Likewise.
1847 * bits/std_cstring.h: Likewise.
1848 * bits/std_ctime.h: Likewise.
1849 * bits/std_cwctype.h: Likewise.
1850 * bits/std_exception.h: Likewise.
1851 * bits/std_new.h: Likewise.
1852 * bits/std_typeinfo.h: Likewise.
1853 * shadow/bits/std_cassert.h: Likewise.
1854 * shadow/bits/std_cctype.h: Likewise.
1855 * shadow/bits/std_cerrno.h: Likewise.
1856 * shadow/bits/std_cfloat.h: Likewise.
1857 * shadow/bits/std_climits.h: Likewise.
1858 * shadow/bits/std_clocale.h: Likewise.
1859 * shadow/bits/std_cmath.h: Likewise.
1860 * shadow/bits/std_csetjmp.h: Likewise.
1861 * shadow/bits/std_csignal.h: Likewise.
1862 * shadow/bits/std_cstdarg.h: Likewise.
1863 * shadow/bits/std_cstddef.h: Likewise.
1864 * shadow/bits/std_cstdio.h: Likewise.
1865 * shadow/bits/std_cstdlib.h: Likewise.
1866 * shadow/bits/std_cstring.h: Likewise.
1867 * shadow/bits/std_ctime.h: Likewise.
1868 * shadow/bits/std_cwchar.h: Likewise.
1869 * shadow/bits/std_cwctype.h: Likewise.
1870 * shadow/bits/wrap_libio.h: Likewise.
1871 * shadow/bits/wrap_unistd.h: Likewise.
1872 * shadow/sys/cdefs.h: Likewise.
1874 * configure: Rebuild.
1876 2000-07-20 Jakub Jelinek <jakub@redhat.com>
1878 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
1879 Use extended word instructions to match 64bit _Atomic_word.
1880 (__atomic_add): Likewise.
1881 * math/clog10l.c (clog10l): Use M_PIl if defined.
1882 * math/c_logl.c (c_logl): Likewise.
1883 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
1884 * math/mathconf.h (ieee_quad_double_shape_type): New type.
1885 (GET_LDOUBLE_MSW64): New define.
1887 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
1889 * bits/std_streambuf.h: Add bits for pback buffers here, so that
1890 in_avail, etc can use them.
1891 * bits/std_fstream.h: Ditto.
1892 * bits/fstream.tcc: Ditto.
1893 * testsuite/27_io/filebuf.cc: Tweaks.
1894 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
1896 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
1898 * src/localename.cc: Same.
1899 * src/locale.cc: Same.
1900 * bits/localefwd.h: _M_init_facet to _M_facet_init.
1902 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
1904 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
1906 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
1907 * bits/std_fstream.h: Same.
1909 * bits/basic_string.h: Tweaks.
1911 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
1913 * docs/18_support/howto.html: Update.
1915 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1917 Internal consistency checks.....
1918 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
1921 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
1922 * bits/basic_ios.tcc: Same.
1924 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
1925 Change _M_fctype_buf to _M_buf_fctype.
1926 * bits/fstream.tcc: Same.
1928 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
1929 Change _M_locale_set to _M_buf_locale_init.
1930 * bits/streambuf.tcc: Same.
1931 * bits/sstream.tcc: Same.
1932 * bits/fstream.tcc: Same.
1934 * bits/std_streambuf.h: Make typedefs consistent.
1935 (_M_buf_bump): Be more careful with input sequence.
1937 * bits/std_sstream.h: Same.
1938 * bits/std_fstream.h: Same.
1940 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1942 * acinclude.m4: Tweaks.
1943 * config/c_io_libio.cc: Tweaks.
1944 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
1945 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
1946 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
1947 * libio/iofclose.c iofopen.c, stdio.c: New files.
1948 * libio/Makefile.am: Add files, add flags, etc.
1949 * src/Makefile.am (sources): Add filebuf.cc.
1950 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
1951 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
1953 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
1955 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
1956 * configure.in: Use it. Also print reminders one time.
1957 * aclocal.m4: Regenerate.
1958 * configure: Regenerate.
1960 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
1962 * bits/valarray_array.h (__valarray_get_storage): New function.
1963 (_Array<>::Array): Use it.
1964 * bits/std_valarray.h (valarray<>::valarray): Likewise.
1965 (valarray<>::resize): Likewise. Tweak.
1966 * src/valarray-inst.cc (__valarray_product): Tweak.
1968 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
1970 * docs: Update sourceware->sources in every HTML file. Minor updates.
1972 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
1974 Clean up configure/build longstanding issues.
1975 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
1976 (CXXLINK): Add here, instead.
1978 * Makefile.am (check-install): Make sure mkcheck has execute privs.
1980 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
1982 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
1983 c_io_libio.cc instead of copying.
1984 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
1986 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
1987 c++threads.h instead of copying.
1988 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
1991 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
1992 * bits/basic_file.h: Declare.
1994 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
1996 2000-07-07 brent verner <brent@rcfile.org>
1998 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2000 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2002 * bits/istream.tcc (istream::getline): Minor tweaks.
2004 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2006 * docs/download.html: Mention gcc_update.
2007 * docs/configopts.html: Minor updates.
2008 * docs/gccrebuild.html: Ditto.
2009 * docs/18_support/howto.html: More tips, explanations, and reminders.
2010 * docs/19_diagnostics/howto.html: Ditto.
2011 * docs/21_strings/howto.html: Ditto.
2012 * docs/24_iterators/howto.html: Ditto.
2013 * docs/25_algorithms/howto.html: Ditto.
2014 * docs/26_numerics/howto.html: Ditto.
2016 2000-07-05 brent verner <brent@rcfile.org>
2018 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2019 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2020 * config/c_io_libio.cc (__basic_file::open): Unset
2021 ~_IO_DELETE_DONT_CLOSE.
2023 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2025 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2026 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2027 Do not paste anything after 'operator' keyword.
2029 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2031 * bits/std_memory.h: Revert.
2033 2000-07-03 Brendan Kehoe <brendan@zen.org>
2035 * bits/std_complex.h: Fix parens. Format.
2037 2000-07-03 scott snyder <snyder@fnal.gov>
2039 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2040 from the input if base == 0.
2041 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2042 number with a leading `0' in hex mode.
2044 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2046 * mkinclosure: Change `==' to `=' in test.
2048 2000-07-03 Chip Salzenberg <chip@valinux.com>
2050 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2052 * src/Makefile.in: Regenerate.
2054 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2055 Ulrich Drepper <drepper@purist.soma.redhat.com>
2057 Sync libio to glibc-2.2 current CVS.
2058 * libio/_G_config.h: New file.
2059 * libio/wfileops.c: New file.
2060 * libio/wfiledoalloc.c: New file.
2061 * libio/wgenops.c: New file.
2062 * libio/iofwide.c: New file.
2063 * libio/Makefile.am: Tweaks.
2064 * libio/Makefile.in: Regenerate.
2065 * libio/gen-params: Remove. Generic replacement for this yet undone.
2066 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2067 libioP.h, stdfiles.c]: Update.
2068 * config/c_io_libio.cc: Tweaks.
2069 * acinclude.m4: Complete hacks to test wide io.
2070 * aclocal.m4: Regenerate.
2071 * configure: Regenerate.
2072 * src/Makefile.am: Update.
2073 * src/Makefile.in: Regenerate.
2075 * math/cargl.c: Remove underscores.
2077 * bits/locale_facets.h: Tweaks. Start adding iconv details
2079 * bits/locale_facets.tcc: Tweaks.
2080 * bits/std_cwchar.h: Tweaks.
2082 2000-06-29 scott snyder <snyder@fnal.gov>
2084 * bits/concept_checks.h
2085 (__less_then_comparable_requirement_violation): Only check for <.
2086 * testsuite/25_algorithms/lower_bound.cc: New file.
2088 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2090 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2091 * bits/ostream.tcc: Tweak.
2092 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2093 _M_buf_size_opt too.
2094 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2095 out _M_buf_size_opt.
2096 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2097 _M_buf_size_opt out here.
2098 * bits/char_traits.h (char_traits::eos): Non standard member
2099 function, uglify to __eos. Return char_type().
2100 * bits/std_ostream.h: Change.
2102 * testsuite/27_io/ostream_seeks.cc: New file.
2103 * testsuite/27_io/ostream_seeks-1.tst: New file.
2104 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2106 * testsuite/27_io/istream_seeks.cc: New file.
2108 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2110 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2111 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2112 (auto_ptr): _M_ptr changed to void*.
2113 (suto_ptr::get): Cast _M_ptr to element type.
2114 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2115 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2116 (auto_ptr::operator*): Likewise.
2117 (auto_ptr::operator->): Likewise.
2118 (auto_ptr::release): Likewise.
2119 (auto_ptr::reset): Likewise.
2120 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2121 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2122 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2123 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2125 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2127 * testsuite/27_io/filebuf.cc: Tweak.
2128 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2129 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2131 (__basic_file::basic_file): Clean, add calls similar to
2133 (__basic_file::open): Clean.
2134 (__basic_file::sys_open): Clean.
2136 * bits/std_fstream.h: Revert.
2137 * bits/fstream.tcc (filebuf::close()): Revert.
2138 (filebuf::basic_filebuf()): Revert.
2140 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2142 Update to SGI STL 3.3
2143 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2144 ext/stl_rope.h, ext/ropeimpl.h: Update.
2145 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2146 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2147 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2148 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2149 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2150 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2151 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2152 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2153 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2155 * src/Makefile.am (headers): Add new files.
2156 * src/Makefile.in: Regenerate.
2157 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2158 * bits/concept_checks.h: New file.
2159 * bits/container_concepts.h: New file.
2160 * bits/sequence_concepts.h: New file.
2162 2000-06-27 H.J. Lu <hjl@gnu.org>
2163 Loren J. Rittle <ljrittle@acm.org>
2165 * mkcheck.in: Add support to print standard flags needed to
2166 test g++ in build tree. Enhance command line error checking.
2168 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2170 * docs/install.html: Fix minor typo as reported.
2172 2000-06-26 Brent Verner <brent@rcfile.org>
2174 * bits/string.tcc (string::rfind): Fix.
2175 * testsuite/21_strings/rfind.cc: New file.
2177 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2179 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2181 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2183 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2185 * mkcheck.in: Make the *.txt and *.tst files writable after
2186 copying them to $TEST_DIR.
2188 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2189 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2190 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2192 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2194 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2195 (basic_filebuf::close): Use it.
2196 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2198 (basic_filebuf): Add _M_fileno_based data member.
2199 As reported by brent verner <brent@rcfile.org>
2200 * testsuite/27_io/filebuf_members.cc: New file.
2201 * testsuite/27_io/filebuf_members-1.tst: New file.
2203 * bits/std_fstream.h: Formatting tweaks.
2204 * testsuite/27_io/ofstream_members.cc: New file.
2205 * testsuite/27_io/ofstream_members-1.tst: New file.
2206 * testsuite/27_io/ifstream_members.cc: New file.
2207 * testsuite/27_io/ifstream_members-1.tst: New file.
2209 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2210 Ulrich Drepper <drepper@cygnus.com>
2212 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2213 that all the freaky stuff like sincos will be around...
2215 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2217 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2219 2000-06-22 Steven King <sxking@uswest.net>
2221 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2223 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2225 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2226 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2227 link against libm and don't use -fno-builtins...
2228 * math/mathconf.h: Change up builtin macros to new schema.
2229 * bits/std_cmath.h: And here. Wheee!
2230 * shadow/bits/std_cmath.h: And here.
2231 * acconfig.h: Change up builtin macros here.
2232 * math/cosf.c: Remove.
2233 * math/fabsf.c: Likewise.
2234 * math/sinf.c: Likewise.
2235 * math/sqrtf.c: Likewise.
2236 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2237 * math/Makefile.in: Regenerate.
2239 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2241 * testsuite/21_strings/find.cc: Patch.
2243 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2245 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2246 an easy way to get at g++ without having to link in libstdc++.
2248 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2250 Fix alpha, powerpc build failures.
2251 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2252 re-write. Need to check for both proper declaration when using a
2253 c++ compiler, and "C" linkage when linking. Do both, and if both
2254 exist, then define the HAVE_* bits in config.h.
2255 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2256 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2259 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2261 * bits/string.tcc: Fix find.
2262 * testsuite/21_strings/find.cc: Patch.
2264 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2266 * docs/install.html: Update where to get automake, where to get
2268 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2271 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2273 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2274 Add -Werror-implicit-function-declaration instead.
2276 Regenerate with fixed maintainer-tools.
2277 * aclocal.m4: Regenerate.
2278 * configure: Regenerate.
2279 * libio/Makefile.in: Regenerate.
2280 * src/Makefile.in: Regenerate.
2282 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2284 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2285 * bits/locale_factets.tcc: Tweak.
2287 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2289 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2290 be overridden on the command line for individual files.
2292 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2294 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2295 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2296 building. Use -x c++ instead, which does not attempt to link
2299 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2300 not coring when we hit a try/throw block, which was the problem
2301 with the linker support...
2303 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2305 * docs/documentation.html: Rename link to make more accurate and scary.
2306 * docs/gccrebuild.html: Edit for clarity as these are no longer
2308 * docs/install.html: Add bits about binutils for
2309 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2311 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2312 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2313 USE_COMPLEX_LONG_DOUBLE.
2314 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2315 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2316 Works around irregularies in powerpc "C" compiler, but a good idea
2319 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2320 New. Merge both old compiler bug checks for complex into this.
2322 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2324 * testsuite/21_strings/find.cc: Empty strings can be found at all
2325 positions. Modified.
2327 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2329 * testsuite/20_utilities: New directory.
2330 * testsuite/20_utilities/auto_ptr.cc: New file.
2332 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2334 * src/Makefile.am (string_sources): Simplify, assuming that with
2335 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2336 hacking is not necessary.
2337 (wstring_sources): Same.
2338 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2340 * src/string-inst.cc: Remove macro blocks.
2341 * mkcheck.in (CXX_FLAG): Add bits here.
2343 * src/string-inst.cc: Remove iostream-related string instantiations.
2344 * src/misc-inst.cc: Add here.
2346 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2348 * aclocal.m4: Regenerate.
2349 * configure.in: Change up.
2350 * configure: Regenerate.
2352 2000-06-13 Steven King <sxking@uswest.net>
2354 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2355 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2356 * acconfig.h: Add entries for fmod*.
2358 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2360 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2361 Test *_MODFF not *_MODF for modf(float, float*).
2362 (modf(float, float*)): Remove reference to _C_legacy.
2364 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2366 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2367 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2368 superset, and already defined at top level.
2369 * aclocal.m4: Regenerate.
2370 * configure: Regenerate.
2372 * docs/17_intro/contribute.html: Plead with people to use -cp.
2374 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2376 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2378 * testsuite/27_io/filebuf.cc: Changed calls to
2379 fpos<>._M_position() to implicit calls to operator streamoff().
2380 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2381 as not needed. Revert, as part of standard.
2382 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2383 call to numpunct<>._M_init() with overrides of the appropriate
2386 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2387 pointers from test01, so no need to call base(), which isn't
2388 guaranteed to be implemented as iterators may themselves be pointers
2389 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2390 _M_position() - use implicit conversion to streamoff instead
2392 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2394 * bits/stl_iterator.h: Added inline to operators == to >=.
2396 2000-06-13 Brent Verner <brent@rcfile.org>
2398 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2399 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2401 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2403 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2405 * src/locale.cc: Add cwchar include here. Remove incorrect
2406 definitions, and stub them out.
2407 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2408 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2409 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2410 * config/newlib/ctype.cc: Same.
2411 * config/gnu-linux/ctype.cc: Same.
2412 * config/bsd/ctype.cc: Same.
2413 * config/aix/ctype.cc: Same.
2415 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2417 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2418 towupper and towlower to convert wide characters.
2420 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2422 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2424 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2426 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2427 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2428 * aclocal.m4: Regenerate.
2429 * configure: Regenerate.
2430 * math/cosf.c: New file.
2431 * math/fabsf.c: Likewise.
2432 * math/sinf.c: Likewise.
2433 * math/sqrtf.c: Likewise.
2434 * math/Makefile.am (EXTRA_DIST): Add those four files.
2435 * math/Makefile.in: Regenerate.
2437 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2439 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2441 2000-06-06 Steven King <sxking@uswest.net>
2443 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2444 double and long double. Added defines for HAVE libm math functs for
2445 float and long double.
2446 * aclocal.m4: Added configure checks for builtin math funcs and libm
2447 support for float and long double versions of the math functions.
2448 * config.h.in: Added undefs for math functs.
2449 * configure: Regenerate.
2450 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2451 _GLIBCPP_HAVE_BUILTIN_*.
2452 * bits/std_cmath.h: Added long double support. Use builtins for
2453 float, double and long if available, otherwise, use libm versions if
2454 availible, otherwise, punt.
2455 * shadow/bits/std_cmath.h: ditto
2457 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2459 * bits/locale_facets.h: Tweak.
2460 * src/locale.cc (codecvt<wchar_t>): Tweak.
2462 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2463 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2465 * bits/basic_string.h: Move data member up.
2466 * src/string-inst.cc: Fix instantiations.
2467 * bits/string.tcc: Fix types.
2469 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2471 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2473 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2475 * bits/std_cwctype.h: Clean.
2476 * bits/std_cwchar.h: Clean, remove cruft.
2478 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2479 for beginning iconv support.
2480 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2482 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2483 * bits/limits_generic.h: Remove.
2484 * src/gen-num-limits.cc: Same.
2486 * src/locale.cc: Tweaks.
2488 * bits/char_traits.h: Tweaks.
2490 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2492 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2493 exponent, scientific formatting issues.
2494 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2496 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2498 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2499 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2501 2000-05-31 Nathan Myers <ncm@cantrip.org>
2503 * docs/thanks.html: edit own credits
2505 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2507 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2509 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2511 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2513 2000-05-31 Steven King <sxking@uswest.net>
2515 * shadow/time.h: fix typo
2516 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2517 * shadow/bits/std_cwchar.h: ditto
2518 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2521 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2523 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2524 available, force --disable. Need to flesh this out; make smarter.
2525 * aclocal.m4: Regenerate.
2526 * configure: Regenerate.
2528 * mkcheck.in: Minor tweaks.
2529 * docs/download.html: Fix typo.
2531 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2533 * inclosure: Change to...
2534 * mkinclosure: This.
2536 * mkcshadow: Fix paths to bash.
2538 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2539 * src/Makefile.in: Regnerate.
2540 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2541 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2542 * aclocal.m4: Regenerate.
2543 * mkcheck.in (INC_PATH): Tweak.
2545 * configure.in: Enable long long by default.
2546 * configure: Regenerate.
2548 * mkcheck.in (LIB_PATH): Revert.
2550 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2552 * config/cpu/i486: New directory.
2553 * config/cpu/i486/bits: New directory.
2554 * config/cpu/i486/bits/atomicity.h: New file.
2555 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2557 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2559 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2561 * backward/alloc.h (__default_alloc_template): Only expose
2562 implementation-specific symbol, if it exists in the
2564 * backward/iostream.h (ends): Expose symbol.
2565 * backward/strstream.h: New file.
2566 * backward/stream.h: New file.
2567 * backward/ostream.h: New file.
2568 * backward/istream.h: New file.
2569 * backward/fstream.h: New file.
2570 * backward/complex.h: New file.
2571 * backward/iomanip.h: New file.
2573 * mkcheck.in (LIB_PATH): Add -R bits.
2575 * math/carg.c (carg): Replace __atan2 with atan2.
2577 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2579 * Makefile.am (TAGS): Construct.
2580 * Makefile.in: Rengerate.
2581 * src/Makefile.am: Tweak.
2582 * src/Makefile.in: Tweak.
2583 * configure.in: Tweak.
2585 * bits/c++config.h: Rename to ...
2586 * bits/c++config: This.
2587 * mkc++config: Adjust.
2590 * m4/lc_message.m4: Merge into acinclude.m4.
2591 * m4/mathfcts.m4: Same.
2592 * m4/stringfcts.m4: Same.
2593 * acinclude.m4: Add here.
2594 * configure: Regnerate.
2596 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2597 OPTLEVEL. Add FMTFLAGS.
2598 * aclocal.m4: Regenerate.
2599 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2600 been disabled due to higher-level Makefiles running amuck over
2601 this bit, and add in FMTFLAGS so that formatting is clear.
2602 * src/Makefile.in: Regenerate.
2603 * configure: Regenerate.
2605 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2608 * docs/download.html: Remove references to Cygwin-specific bits,
2609 as this can now be built natively.
2610 Update with current information.
2612 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2614 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2615 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2616 enclose other tests in this macro, including future ones.
2617 * aclocal.m4: Regenerate.
2618 * configure: Regenerate.
2620 * docs/faq/index.html: Update location of libg++ FAQ.
2621 * docs/faq/index.txt: Regenerate.
2623 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2625 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2627 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2629 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2631 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2633 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2634 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2635 * aclocal.m4: Regenerate.
2636 * configure: Regenerate.
2638 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2640 * bits/generic_shadow.h: s/swamp/legacy/
2642 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2644 * acinclude.m4: Clean up comments on newer checks.
2645 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2646 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2647 * aclocal.m4: Regenerate.
2648 * configure: Regenerate.
2649 * Makefile.in: Regenerate.
2650 * libio/Makefile.in: Regenerate.
2651 * math/Makefile.in: Regenerate.
2652 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2653 * src/Makefile.in: Regenerate.
2654 * docs/configopts.html: Document changes to --enable names.
2656 2000-05-18 Chip Salzenberg <chip@valinux.com>
2658 * bits/ostream.tcc (_S_pad_char): Function template should not be
2660 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2661 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2663 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2665 * mkcshadow: Change C_Swamp to C_legacy.
2667 * shadow/bits/*: Same.
2668 s/C_Swamp/C_legacy/g
2672 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2674 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2676 * src/string-inst.cc (string::_S_find): Same.
2678 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2680 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2681 --enable-cshadow-headers. Add output messages.
2682 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2683 underscores (like the rest of the enable options.) Add output messages.
2684 * aclocal.m4: Regenerate.
2685 * configure: Regenerate.
2686 * configure.in: Touch.
2688 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2690 * mkcheck.in: Enable shared library testing.
2692 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2694 * bits/std_cmath.h: fix sqrt(float)
2696 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2698 * bits/std_cassert.h: Use system_header pragma.
2699 * bits/std_cctype.h: Likewise.
2700 * bits/std_cerrno.h: Likewise.
2701 * bits/std_cfloat.h: Likewise.
2702 * bits/std_climits.h: Likewise.
2703 * bits/std_clocale.h: Likewise.
2704 * bits/std_cmath.h: Likewise.
2705 * bits/std_csetjmp.h: Likewise.
2706 * bits/std_csignal.h: Likewise.
2707 * bits/std_cstdarg.h: Likewise.
2708 * bits/std_cstddef.h: Likewise.
2709 * bits/std_cstdio.h: Likewise.
2710 * bits/std_cstdlib.h: Likewise.
2711 * bits/std_cstring.h: Likewise.
2712 * bits/std_ctime.h: Likewise.
2713 * bits/std_cwchar.h: Likewise.
2714 * bits/std_cwctype.h: Likewise.
2715 * bits/std_exception.h: Likewise.
2716 * bits/std_new.h: Likewise.
2717 * bits/std_typeinfo.h: Likewise.
2718 * shadow/bits/std_cassert.h: Likewise.
2719 * shadow/bits/std_cctype.h: Likewise.
2720 * shadow/bits/std_cerrno.h: Likewise.
2721 * shadow/bits/std_cfloat.h: Likewise.
2722 * shadow/bits/std_climits.h: Likewise.
2723 * shadow/bits/std_clocale.h: Likewise.
2724 * shadow/bits/std_cmath.h: Likewise.
2725 * shadow/bits/std_csetjmp.h: Likewise.
2726 * shadow/bits/std_csignal.h: Likewise.
2727 * shadow/bits/std_cstdarg.h: Likewise.
2728 * shadow/bits/std_cstddef.h: Likewise.
2729 * shadow/bits/std_cstdio.h: Likewise.
2730 * shadow/bits/std_cstdlib.h: Likewise.
2731 * shadow/bits/std_cstring.h: Likewise.
2732 * shadow/bits/std_ctime.h: Likewise.
2733 * shadow/bits/std_cwchar.h: Likewise.
2734 * shadow/bits/std_cwctype.h: Likewise.
2735 * shadow/bits/wrap_libio.h: Likewise.
2736 * shadow/bits/wrap_unistd.h: Likewise.
2737 * shadow/sys/cdefs.h: Likewise.
2739 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2741 It appears that gcc-2.96 supports the keyword "and" now.
2742 * bits/std_ciso646.h: remove.
2744 * testsuite/17_intro/header_ciso646.c: enable testing.
2745 * src/Makefile.am, src/Makefile.in: remove mention of
2748 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2750 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2752 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2754 * acinclude.m4: Fix typo, switch to decaf...
2755 * aclocal.m4: Regenerate.
2756 * configure: Regenerate.
2758 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2760 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2761 * aclocal.m4: Regenerate.
2762 * configure.in: Call.
2763 * configure: Regenerate.
2764 * docs/configopts.html: Stub documentation.
2766 2000-05-14 Nathan Myers <ncm@cantrip.org>
2768 * mkcshadow: build in more-correct directory, create cshadow/
2769 directory if needed, report progress.
2771 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2773 * src/Makefile.am: Fix tr commands.
2774 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2775 * src/string-inst.cc: Remove extra instantiation of
2776 S::basic_string(S::size_type, C, S::allocator_type const&);
2777 * src/string-inst.cc: Remove extra template keyword.
2779 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2781 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2782 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2783 * aclocal.m4: Regenerate.
2784 * configure: Regenerate.
2785 * */Makefile.in: Regenerate.
2787 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2789 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2790 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2791 * aclocal.m4: Regenerate.
2792 * configure.in: Non-blank arguments break fewer Linuxes.
2793 * configure: Regenerate.
2794 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2795 * src/Makefile.in: Regenerate.
2797 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2799 * bits/std_cmath.h: Tweaks.
2800 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2801 (sqrtf): Define away iff !builtin and !in <math.h>.
2805 At some point this directory should be converted to c++, the
2806 autoconf tests should be run by the c++ compiler (not c), and
2807 <cmath> should be used instead of math.h.
2808 Move declaration of nan() here.
2809 * math/complex-stub.h (cabsl): Remove nan() declaration.
2811 Finish up FreeBSD4.0 support.
2812 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2813 * config/generic/ctype.cc: And here.
2814 * testsuite/21_strings/char_traits.cc (test02): Guard with
2815 _GLIBCPP_USE_WCHAR_T.
2817 via Phil Edwards <pme@sourceware.cygnus.com>
2818 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2819 * acconfig.h: And here.
2820 * acinclude.m4: Same.
2821 * testsuite/27_io/istream.cc: And here.
2822 * testsuite/27_io/ostream.cc: And here.
2824 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2826 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2828 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2830 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
2833 * config/bsd: New directory.
2834 * config/bsd/ctype.cc: New.
2835 * config/bsd/bits/ctype_base.h (ctype_base): New.
2836 * config/bsd/bits/ctype_specializations.h: New.
2837 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
2839 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
2841 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
2842 * configure.in: Call.
2843 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
2844 * aclocal.m4: Regenerate.
2846 * src/Makefile.in: Ditto.
2847 * docs/configopts.html: Document.
2848 * docs/download.html: Fix typo (close quote).
2849 * docs/footer.html: Update.
2851 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
2853 * backward/iostream.h: Expose endl. Guard wide types.
2854 * src/Makefile.am (headers): Update list to match files.
2855 * src/Makefile.in: Regenerate.
2857 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
2858 Benjamin Kosnik <bkoz@gnu.org>
2859 Nathan Myers <ncm@cantrip.org>
2860 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
2862 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
2863 (basic_streambuf::xsputn): Make consistent.
2864 * testsuite/27_io/filebuf.cc: Add tests.
2866 2000-05-08 Steven King <sxking@uswest.net>
2868 * bits/char_traits.h: Use wchar_t utility functions for
2869 char_traits<wchar_t> methods.
2870 * testsuite/21_string/char_traits.cc: New (test02): test
2871 char_traits<wchar_t>
2873 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
2875 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
2877 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
2878 _M_buf_size based on macro, instead use _M_buf_size_opt.
2879 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
2880 (basic_streambuf()): Set _M_buf_size_opt.
2881 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
2882 instead of _M_buf_size.
2884 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
2886 * src/complex_io.cc: Don't instantiate inserters and extractors
2887 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2889 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
2890 Felix Natter <fnatter@gmx.net>
2892 * docs/footer.html: Update to see if it takes effect.
2893 * docs/thanks.html: More people.
2894 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
2895 be seen from the web pages. Rename for browser-friendliness...
2896 * docs/17_intro/howto.html: ...and update here.
2897 * docs/17_intro/porting-howto.html: Changes from Felix.
2898 * docs/gccrebuild.html: Mention v3->egcs move.
2899 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
2900 * docs/faq/index.txt: Regenerate.
2902 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
2904 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
2907 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
2909 * bits/char_traits.h: Fix parameter types.
2910 * bits/string.tcc: Avoid traits_type::move.
2912 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
2914 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
2915 * src/Makefile.in: Regenerate.
2916 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
2918 2000-04-30 Steven King <sxking@uswest.net>
2920 * bits/locale_facets.h: Fix syntax error.
2921 * bits/std_fstream.h: ditto
2923 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
2925 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
2927 * mknumeric_limits (trait_name): Fix copyright notice.
2928 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
2929 round_error data members of struct value. This works around
2930 weak-linking issues on AIX, HPUX.
2932 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
2934 * docs/download.html: Add link to list of mirror sites.
2936 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
2938 * mkcheck.in: Rely on exit status instead of the presence of a
2939 core file. Added comments on how/where to save core and exe
2940 files. Move shell wildcards outside quotes and fix core path.
2942 2000-04-27 scott snyder <snyder@fnal.gov>
2944 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
2947 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
2949 * bits/basic_string.h: include <bits/atomicity.h> instead
2950 of <atomicity.h>, and use the uglified names.
2951 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
2952 uglify names, eliminate dependence on <inttypes.h>.
2953 * src/Makefile.in, src/Makefile.am: refer to correct place
2954 for atomicity.h header.
2956 2000-04-25 Steven King <sxking@uswest.net>
2958 * bits/basic_string.h: Fix syntax error.
2960 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
2962 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
2964 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
2965 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
2966 versions to this as copysignl is needed anyway for these targets.
2967 * math/Makefile.in: Regenerate.
2969 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
2970 * bits/fstream.tcc (underflow): Cast to libio types.
2971 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
2972 * config/c_io_libio.cc (seekoff): And here.
2974 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2976 * mkcheck.in: Report compiler version used for test. Find
2977 the built _G_config.h instead of any old installed version.
2979 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2981 * config/generic/ctype.cc (do_toupper): Remove dependence on
2982 non-portable/non-existent lookup table.
2985 2000-04-24 Nathan Myers <ncm@cantrip.org>
2987 * src/string-inst.cc: More fixing.
2989 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
2991 * bits/stl_iterator.h: Pedantic fixing.
2992 * bits/std_sstream.h: And here.
2993 * bits/string.tcc: And here.
2995 2000-04-24 Felix Natter <fnatter@gmx.net>
2997 * docs/17_intro/howto.html: Add bits.
2998 * docs/17_intro/porting-howto.html: New file.
3000 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3002 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3003 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3004 wchar_t, to empty string otherwise.
3005 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3006 (sources): Remove $(string_sources) and $(wstring_sources).
3007 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3008 (libstdc___la_DEPENDENCIES): New.
3009 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3011 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3013 * bits/std_sstream.h: Tweak formatting.
3014 * bits/std_fstream.h: Make types public.
3016 * testsuite/27_io/streambuf.cc: Fix for alpha.
3018 Brad Garcia <bgarcia@laurelnetworks.com>
3019 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3021 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3024 2000-04-19 Nathan Myers <ncm@cantrip.org>
3026 * src/string-inst: consolidate _S_create,
3027 destroy, leak, clone members into stringMAIN and stringMUTATE
3029 * src/Makefile.am: Above, and eliminate dependence on
3031 * src/wstring-inst.cc: Remove.
3033 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3035 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3036 Add flags for specialized rules dealing with instantiations.
3038 * src/string-inst.cc: Add instantiations missing from shared
3039 libraries--see stringEQ, stringCONSC.
3040 * src/Makefile.am (wstring_sources): Add.
3041 (string_sources): Same.
3042 * src/Makefile.in: Regenerate.
3044 * stl/*: Integrate contents of this directory into top-level
3046 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3047 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3048 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3049 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3050 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3051 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3052 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3053 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3054 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3055 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3056 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3057 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3058 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3059 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3060 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3061 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3062 stack.h tempbuf.h tree.h vector.h: Add.
3063 * README (file): Update.
3064 * docs/documentation.html: README not being found.
3065 * src/Makefile.am (sources): Take out stl directory.
3066 * mkcheck.in (SRC_DIR): And here.
3067 * src/Makefile.in: Regenerate.
3069 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3071 * stl/bits/stl_function.h: Add bits so that const and non-const
3074 2000-04-18 scott snyder <snyder@fnal.gov>
3076 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3077 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3078 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3079 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3080 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3082 2000-04-18 scott snyder <snyder@fnal.gov>
3084 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3087 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3088 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3089 * stl/ext/hash_set (class hash_set, class hash_multiset):
3091 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3092 constant_binary_fun): Likewise.
3093 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3094 * stl/bits/stl_stack.h (class stack): Likewise.
3095 * stl/bits/stl_set.h (class set): Likewise.
3096 * stl/bits/stl_multiset.h (class multiset): Likewise.
3098 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3099 class reverse_iterator): Get rid of use of
3100 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3102 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3105 * stl/bits/stl_deque.h (class deque): Get rid of use of
3106 __STL_DEFAULT_ALLOCATOR macro.
3107 * stl/bits/stl_list.h (class list): Likewise.
3108 * stl/bits/stl_multiset.h (class multiset): Likewise.
3109 * stl/bits/stl_set.h (class set): Likewise.
3110 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3111 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3112 * stl/bits/stl_vector.h (class vector): Likewise.
3113 * stl/ext/ropeimpl.h (rotate): Likewise.
3114 * stl/ext/hash_map (class hash_map, class hash_multimap):
3116 * stl/ext/hash_set (class hash_set, class hash_multiset):
3118 * stl/ext/slist (class slist): Likewise.
3119 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3120 * stl/ext/stl_rope.h (class rope): Likewise.
3121 * src/locale.cc (_Impl): Likewise.
3122 * src/localename.cc (_Impl): Likewise.
3123 * bits/localefwd.h (_Impl): Likewise.
3125 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3127 * docs/install.html: Cleanup, minor changes.
3128 * docs/17_intro/howto.html: Ditto.
3130 2000-04-18 Nathan Myers <ncm@cantrip.org>
3132 * bits/basic_string.h: Remove "inline" from member _S_find.
3134 * src/string-inst.cc: Rewrite to reflect non-inline template
3135 instantiations in string.tcc.
3137 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3138 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3139 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3140 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3141 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3142 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3143 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3144 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3145 stringNESS.cc, stringSCOPY.cc: Remove.
3146 * src/wstringADDCS.cc, etc: Remove.
3148 Benjamin Kosnik <bkoz@haight.constant.com>
3149 * src/Makefile.am: Modify to reflect above.
3150 * src/Makefile.in: Regenerate.
3152 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3154 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3156 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3158 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3159 io interface here instead of the libio particulars.
3161 * config/threads-posix.h: Consistency with stl_config.h.
3163 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3165 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3167 * mknumeric_limits: Rename generic type template parameter name
3169 * stl/bits/type_traits.h: Ditto.
3171 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3173 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3174 it is more useful for --enable-libstdcxx-v3. Use the built
3175 compilers with v3, instead of compilers in PATH, and don't
3176 re-include include directories for checking the install.
3178 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3180 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3181 by default when using --enable-libstdcxx-v3.
3182 * src/Makefile.in: Regenerate.
3183 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3184 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3185 * configure: Regenerate.
3186 * mkcheck.in: Deal with NAMESPACES.
3188 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3190 * src/cmath.cc: New file...
3191 (pow(*, int)): Define functions...
3192 * src/Makefile.am (sources): ...register file.
3193 * src/Makefile.in: Regenerate.
3194 * bits/std_cmath.h (pow): ...declare functions here, and remove
3197 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3199 * acinclude.m4 (GCC_OBJDIR): Tweaks
3201 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3203 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3204 * config/cpu/arm: New directory.
3206 Jesper Skov <jskov@redhat.com>
3207 * config/cpu/arm/atomicity.h: New file.
3209 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3211 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3212 Remove unused bits. Clean.
3214 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3216 * testsuite/25_algorithms: New directory.
3217 * testsuite/25_algorithms/min_max.cc: New file.
3219 2000-03-29 scott snyder <snyder@fnal.gov>
3221 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3222 precision beyond that which we get from numeric_limits::digits10.
3224 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3227 * testsuite/23_containers/bitset_shift.cc: Fix.
3229 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3230 temporary to imbue().
3232 * bits/std_fstream.h (sync): Resync libio's idea of the current
3233 file position with the external file.
3235 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3237 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3240 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3241 attempting calls to it.
3242 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3243 ctors. Instead, call _M_init_filebuf ...
3244 (open): Here, as suggested by 27.8.1.3.
3245 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3246 properly when initializing cout/cin/cerr.
3248 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3250 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3251 * testsuite/22_locale/ctype_char_members.cc: And here.
3252 * testsuite/27_io/streambuf.cc (streambuf): And here.
3253 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3254 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3255 * testsuite/27_io/istream_extractor_arith.cc: And here.
3256 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3257 * testsuite/27_io/ios_base_members_static.cc: And here.
3258 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3260 2000-03-27 Chris Faylor <cgf@cygnus.com>
3262 * configure.in: Remove setting of CXX if canadian cross.
3263 * configure: Regenerate.
3265 2000-03-27 Nathan Myers <ncm@zembu.com>
3267 * bits/sstream.tcc: Optimize.
3268 * bits/basic_string.h(string::append): Don't inline.
3269 * bits/string.tcc: Move out-of-line.
3271 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3273 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3274 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3275 * aclocal.m4: Regenerate.
3276 * configure: Regenerate.
3277 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3278 * src/Makefile.in: Regenerate.
3280 * docs/install.html: Almost complete rewrite.
3282 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3284 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3285 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3287 * docs/faq/index.txt: Regenerate.
3289 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3291 * src/Makefile.am (libio_headers_install): Fix.
3292 * src/Makefile.in: Regenerate.
3294 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3296 * docs/17_intro/RELEASE-NOTES: Fix typos.
3297 * docs/index.html: Update.
3298 * docs/17_intro/BUGS: Update.
3299 * docs/status.html: Update for 2.90.8 release.
3301 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3303 * Makefile.am: Better error message when missing libgcc2.ready.
3304 * Makefile.in: Regenerate.
3305 * acinclude.m4: Fastidious nitpicking reformatting.
3306 * aclocal.m4: Regenerate.
3307 * configure: Regenerate.
3308 * mkcheck.in: Must use same namespace settings as the library being
3309 tested. Also log ST_FLAG, since it's being passed.
3310 * docs/install.html: Add brief chunk on configuration.
3311 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3312 * docs/23_containers/howto.html: Mention MT-safe string.
3313 * docs/faq/index.html: Minor updates.
3314 * docs/faq/index.txt: Regerarate.
3316 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3318 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3320 * bits/fstream.tcc (seekoff): Sync.
3322 * testsuite/27_io/ostream_unformatted.cc: New file.
3323 * testsuite/27_io/stringbuf.cc: Fix.
3324 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3326 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3327 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3329 * src/complex_io.cc (operator>>complex): Tweak.
3331 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3332 <inttypes.h> does not exist.
3333 * config/cpu/sparc/sparc64/atomicity.h: Same.
3334 * config/cpu/sparc/sparc32/atomicity.h: Same.
3335 * config/cpu/powerpc/atomicity.h: Same.
3336 * config/cpu/i386/atomicity.h: Same.
3337 * config/cpu/generic/atomicity.h: Same.
3338 * configure.in: Check for inttypes.h.
3339 * configure: Regnerate.
3341 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3343 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3345 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3347 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3349 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3350 are compiling natively.
3352 * libio/*: Update to CVS libio from egcs.
3354 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3356 * docs/download.html: Document use of -z9 for CVS.
3357 * docs/index.html: Add target date (no link) for future snapshot.
3359 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3361 * bits/slice_array.h: Rename generic type template parameter name
3363 * bits/mask_array.h: Ditto
3365 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3367 * *: Change copyright holder from "Cygnus Solutions" to "Free
3368 Software Foundation, Inc."
3370 * docs/configopts.html: Explain what "hella versions" means.
3371 * docs/install.html: Some tweaks--nice job on this Phil.
3372 * docs/documentation.html: Add a direct link to configuration options.
3374 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3375 * docs/17_intro/RELEASE-NOTES (New): Add.
3376 * bits/c++config.h (__GLIBCPP__): Bump version.
3378 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3379 type to match prototype.
3381 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3383 * docs/install.html: Update for new funky build procedure. Move
3384 description of 'configure' options to...
3385 * docs/configopts.html: ...here. New file.
3386 * docs/17_intro/howto.html: Updates for new snapshot.
3387 * docs/20_util/howto.html: Ditto.
3388 * docs/21_strings/howto.html: Ditto.
3389 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3390 * docs/22_locale/howto.html: Ditto.
3391 * docs/23_containers/howto.html: Ditto.
3392 * docs/faq/index.html: Ditto.
3394 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3395 Benjamin Kosnik <bkoz@gnu.org>
3397 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3399 * aclocal.m4: Regenerate.
3400 * configure: Regenerate.
3402 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3403 scott snyder <sss@karma.fnal.gov>
3405 * config/c_io_libio.h: Add __c_lock.
3406 * config/threads-no.h: Same here.
3407 * config/threads-posix.h: Add __mutext_type typedef.
3408 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3409 * bits/basic_file.h: Ctor takes lock arg.
3410 * bits/std_fstream.h: Add _M_lock.
3411 * bits/fstream.tcc: Supply it to basic_file ctor.
3413 * mkcheck.in (resultstext): Change [[ to [.
3415 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3417 * bits/locale_facets.h: Tweak.
3419 * stl/bits/stl_config.h: Fix defines.
3421 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3423 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3425 * configure: Regenerate.
3426 * aclocal.m4: Regnerate.
3428 2000-03-16 Nathan Myers <ncm@zembu.com>
3430 * bits/string.tcc: Add MT support.
3431 * bits/basic_string.h: Same.
3433 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3435 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3437 * configure: Regenerate.
3439 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3441 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3443 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3444 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3445 any defaults passed in.
3446 * aclocal.m4: Regenerate.
3448 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3450 * mkcheck.in: Report total successes and failures.
3452 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3454 * config/cpu: New directory, intended to be used to provide
3455 cpu-specific configuration files. In particular, assembly language
3456 primitives for thread safety.
3457 * config/cpu/alpha: Populate.
3458 * config/cpu/alpha/atomicity.h: New file.
3459 * config/cpu/arm: Populate.
3460 * config/cpu/generic: Populate.
3461 * config/cpu/generic/atomicity.h: New file.
3462 * config/cpu/hppa: Populate.
3463 * config/cpu/i386: Populate.
3464 * config/cpu/i386/atomicity.h: New file, take from i486.
3465 * config/cpu/m68k: Populate.
3466 * config/cpu/mips: Populate.
3467 * config/cpu/powerpc: Populate.
3468 * config/cpu/powerpc/atomicity.h: New file.
3469 * config/cpu/sparc: Populate.
3470 * config/cpu/sparc/sparc32: Populate.
3471 * config/cpu/sparc/sparc64: Populate.
3472 * config/cpu/sparc/sparc32/atomicity.h: New file.
3473 * config/cpu/sparc/sparc64/atomicity.h: New file.
3475 * src/Makefile.am (myinstallheaders): Add install routines.
3476 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3478 * configure.in: Add.
3480 * config/default: Adopt glibc naming conventions, and so move to
3481 * config/generic: Here.
3482 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3484 2000-03-15 Bill Thompson <billt@toast.net>
3486 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3488 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3490 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3492 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3493 * aclocal.m4: Regenerate.
3494 * configure: Regenerate.
3496 2000-03-13 scott snyder <snyder@fnal.gov>
3497 Jason Merrill <jason@cygnus.com>
3499 * bits/locale_facets.h (class ctype, class ctype<char>, class
3500 ctype<wchar_t>): More mask fixes.
3501 * testsuite/22_locale/ctype.cc: Test for the problem.
3503 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3505 * acconfig.h: Add bits.
3506 * configure.in: Move AM_PROG_LIBTOOL up in file.
3507 Tweak cross compiling info.
3508 * configure: Regenerate.
3510 * mknumeric_limits (XCOMPILE): Echo compilation line for
3513 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3514 * aclocal.m4: Regenerate.
3515 * configure: Regenerate.
3516 * config/aix/ctype.cc (ctype): Tweak.
3517 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3518 * config/aix/bits/ctype_specializations.h: New file.
3520 2000-03-10 scott snyder <snyder@fnal.gov>
3522 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3524 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3525 regression test for the problem.
3527 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3529 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3530 * bits/fpos.h: And here.
3531 * bits/std_ostream.h: Same here.
3532 * bits/std_istream.h: Same here.
3533 * bits/basic_ios.h: Same here.
3534 * bits/std_fstream.h: Same here.
3535 * bits/sbuf_iter.h (std): Here too.
3536 * bits/std_sstream.h: Make types public.
3538 * src/misc-inst.cc: Use size_t instead of unsigned int.
3539 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3540 suppose this should be ctype::narrow... all the ctype<wchar_t>
3541 stuff needs to be cleaned up.
3543 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3545 * docs/gentop: Remove entire directory, finally.
3547 2000-03-09 scott snyder <snyder@fnal.gov>
3549 * bits/std_cmath.h (modf): Fix pointer overrun.
3550 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3551 test for the problem.
3553 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3555 Looks like changes to the #include'd files must be followed by a
3556 change to the #include'ing files to take effect. Caveat emptor.
3557 * docs/header.html: New file, for server-side include.
3558 * docs/footer.html: New file, for server-side include.
3559 * docs/documentation.html: Change to use SSI.
3560 * docs/download.html: Ditto.
3561 * docs/index.html: Ditto.
3562 * docs/mail.html: Ditto.
3563 * docs/status.html: Ditto.
3564 * docs/thanks.html: Ditto, plus minor updates.
3565 * docs/how.html: Remove.
3567 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3569 Preliminary alpha-linux support.
3570 * src/locale.cc (ctype<wchar_t>): Use correct types...
3571 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3572 (ctype<wchar_t>): Same.
3573 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3574 types match for table_size (size_t).
3576 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3577 as per char specialization.
3578 * config/*/ctype.cc: Same.
3580 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3582 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3583 _Ctype_nois<>. Template base classes are never examinated in
3584 first-phase name-lookup.
3586 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3588 Add Solaris 2.5.1 support.
3589 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3590 * config/solaris/solaris2.5/ctype.cc: Fixup.
3591 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3592 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3593 * aclocal.m4: Regenerate.
3594 * configure: Regenerate.
3596 * config/default/ctype.cc (ctype): Fixup.
3598 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3600 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3601 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3604 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3606 * bits/cpp_type_traits.h: Expand on this file purpose.
3608 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3610 * bits/locale_facets.h (ctype<char>): Remove static members, and
3611 re-work initialization code.
3612 (ctype<wchar_t>): Same.
3613 Move _S_touppper to _M_toupper and initialize in ctor.
3614 Move _S_tolower to _M_tolower and initialize in ctor.
3615 Move _S_table to _M_ctable and intialize in ctor.
3616 * bits/locale_facets.h (std): And here.
3617 * src/locale.cc (std): Tweak.
3618 * config/gnu-linux/ctype.cc: Change initialization here.
3619 * config/newlib/ctype.cc: And here.
3620 * config/solaris/solaris2.7/ctype.cc: And here.
3621 * config/solaris/solaris2.6/ctype.cc: And here.
3623 * bits/localefwd.h: Tweak.
3624 * bits/std_streambuf.h: Tweak formatting.
3626 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3628 2000-03-05 Chip Salzenberg <chip@valinux.com>
3630 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3632 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3633 Kevin Atkinson <kevinatk@home.com>
3635 Initial grab of SGI's strstream implementation with minor
3637 * src/strstream.cc: New file.
3638 * std/strstream: New file.
3639 * stl/bits/std_strstream.h: New file.
3640 * bits/std_streambuf.h: Add public access.
3641 * src/Makefile.am: Add strstream sources to list of dependancies.
3642 * src/Makefile.in: Regenerate.
3644 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3646 * bits/valarray_meta.h: Fix typo.
3648 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3649 Chip Salzenberg <chip@valinux.com>
3650 Petter Urkedal <petter@matfys.lth.se>
3652 * src/Makefile.am (myinstallheaders): Hack to avoid
3654 * src/Makefile.in: Regenerate.
3656 2000-03-02 Chip Salzenberg <chip@valinux.com>
3658 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3659 (LINK): Put quotes around "$(CC)" for libtool link mode,
3660 so libtool will use "-B" options during GCC bootstrap.
3661 * */Makefile.in: Regenerate.
3663 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3665 * config/c_io_libio.h: Enclose it all in ::std.
3666 * bits/basic_string.h (basic_string<>): Make types and
3668 * mkc++config: Truncate output file before writing.
3670 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3672 * math/cabsf.c (__mycabsf): Rename to cabsf.
3673 * math/cabs.c (__mycabs): Rename to cabs.
3675 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3677 * bits/basic_string.h: Move declarations of __out_of_range(),
3678 __length_error() and accompanying macros ...
3679 * bits/exception_support.h: here. (Newly created file).
3680 * bits/basic_string.h: #include <bits/exception_support.h>
3681 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3682 * src/Makefile.am (headers): Add.
3683 * src/Makefile.in: Regenerate.
3685 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3687 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3689 * bits/valarray_array.h: Synch. Fix typos.
3691 * libio/Makefile.am: Change to only compile source files that
3692 config/c_io_libio.cc actually needs.
3693 * libio/Makefile.in: Regnerate.
3694 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3695 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3696 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3697 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3698 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3699 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3700 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3701 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3702 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3703 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3704 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3705 strops.c strstream.h: Delete.
3707 * bits/basic_file.h: Stub out or delete unused bits in this
3709 (filepos_beg): Remove.
3710 (filepos_cur): Remove.
3711 (filepos_valid): Remove.
3712 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3714 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3716 * bits/cpp_type_traits.h: Correct typo.
3718 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3720 * bits/cpp_type_traits.h: New file.
3722 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3723 Improve array construction.
3724 (_Array_default_ctor): New dispatcher class.
3725 (__valarray_default_construct): New function.
3726 (_Array_copy_ctor): New dispatcher class.
3727 (__valarray_copy_construct): New function.
3728 (_Array<>::free_data): Remove.
3730 * src/Makefile.am (headers): Add cpp_type_traits.h
3731 * src/Makefile.in: Regenerate.
3733 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3735 Prune libio directory to match files in libio/Makefile.
3736 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3737 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3738 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3739 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3740 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3741 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3742 stdstreams.cc: Remove.
3743 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3744 * libio/iofflush_u.c: Remove.
3746 * libio/dbz: Remove.
3747 * libio/include: Remove.
3748 * libio/stdio: Remove.
3749 * libio/tests: Remove.
3750 * libio/testsuite: Remove.
3752 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3754 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3755 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3756 * configure: Regenerate.
3758 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3760 Abstract out the underlying "C" io bits.
3761 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3762 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3763 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3765 * stl/bits/stl_config.h: Don't include _G_config.h.
3767 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3768 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3769 * config/c_io_libio.cc: Tweak.
3771 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3772 * src/Makefile.in: Regenerate.
3773 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3774 prefix/include files will be picked up.
3775 * Makefile.in: Regenerate.
3776 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3777 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3779 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3780 * bits/fpos.h: And here.
3781 * bits/basic_file.h (get_fileno): Move definition from ...
3782 * src/basic_file.cc (std): To here.
3783 * bits/fpos.h: Move types for streamoff, streampos to..
3784 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3785 * config/c_io_libio.h: ...here.
3786 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3787 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3788 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3789 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3790 abstract out bits in ios_base.
3791 * bits/ios_base.h: Re-macrofy.
3792 * src/basic_file.cc : Rename, move to
3793 * config/c_io_libio.cc: Here.
3794 * config/c_io_libio.h: New file. Include libio.
3795 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3796 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3797 * configure: Regenerate.
3798 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3799 (generated_headers): Add c++io.h
3800 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3801 underlying "C" io library.
3802 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3803 GLIBCPP_ENABLE_CSTDIO.
3805 * configure.in: Add configure bits for cross compiling non-newlib
3807 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3808 target, as we assume g++ support is not the limiting factor.
3809 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3810 * configure: Regenerate.
3812 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3814 * Makefile.am (INTERFACE): Define.
3815 * Makefile.in: Regenerate.
3816 * libio/ChangeLog: Add entry.
3818 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3820 * docs/install.html: Update install directions.
3822 * docs/status.html: Fix sidebar to be consistent.
3823 * docs/thanks.html: Same.
3824 * docs/links.html: Same.
3825 * docs/mail.html: Same.
3826 * docs/download.html: Same.
3828 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3829 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3830 however, in the ctype_char_members.cc fail (for instance.)
3831 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
3832 that do not have wchar_t enabled.
3833 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
3835 * testsuite/27_io/iostream_objects.cc: And here.
3837 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
3840 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
3841 Tom Tromey <tromey@cygnus.com>
3843 * configure.in: Manually add MULTISUBDIR.
3844 * configure: Regenerate.
3845 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
3846 "Eww" hacks to get multilib installs working correctly.
3847 ($(headers): Test for MULTISUBDIR before installing.
3848 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
3849 have configure hack it in.
3850 * Makefile.in: Regenerate.
3851 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
3852 Add enabling bits for native Cygwin ctypes, and other newlib-based
3855 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3857 * mkc++config (OUT_H): Remove EOF in cygwin.
3858 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
3860 Tom Tromey <tromey@cygnus.com>
3861 * src/Makefile.am: Tweaks for installing multilibs.
3863 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
3866 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
3867 Add USE_LIBDIR bits here, not...
3868 * src/Makefile.in: Regenerate.
3869 * Makefile.am: ...here.
3870 * Makefile.in: Regenerate.
3872 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
3874 * acinclude.m4 (LIBS): Fix typos.
3875 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
3876 _GLIBCPP_BUGGY_COMPLEX for crosses.
3877 * src/Makefile.am (std_headers): Add libio.h as install include,
3879 * src/Makefile.in: Regenerate.
3881 * mkcheck.in: Add bits to set CXX to cross compiler.
3883 * src/complex_io.cc: Tweak.
3884 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
3885 * configure: Regenerate.
3887 * config/newlib/ctype.cc: Tweaks.
3888 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
3890 * src/complex_io.cc (operator>>(istream, complex): Define out if
3893 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
3895 * config/newlib/bits/ctype_base.h: Correct _S_table.
3897 Reconfigure ctype support for "C" libraries that don't use arrays.
3898 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
3899 basic ctype<char> functionality.
3900 * src/locale.cc: Move host-specific ctype functions that are not
3901 inlines to config/*/ctype.cc files.
3902 (ctype<char>::do_tolower): For instance.
3903 (ctype<char>::do_toupper): For instance.
3904 (ctype<wchar_t>::do_tolower): For instance.
3905 (ctype<wchar_t>::do_toupper): For instance.
3906 * config/gnu-linux/ctype.cc: Modify.
3907 * config/default/ctype.cc: Modify.
3908 * config/newlib/ctype.cc: Modify.
3909 * config/solaris/solaris2.6/ctype.cc: Modify.
3910 * config/solaris/solaris2.7/ctype.cc: Modify.
3912 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
3914 (ctype<char>::scan_is): Here too.
3915 (ctype<char>::scan_not): Here too.
3916 Move out of line defs to config/*/bits/ctype_specializations.h.
3917 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
3918 * config/default/bits/ctype_specializations.h: ...here. New file.
3919 * config/newlib/bits/ctype_specializations.h: ...here. New file.
3920 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
3921 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
3922 * src/Makefile.am (headers): Add ctype_specializations.h.
3923 * src/Makefile.in: Regenerate.
3925 Aaron Weiss <weiss@clearway.com>
3926 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
3927 CONFIG_NM for Solaris builds.
3928 * Makefile.in: Regenerate.
3930 * src/locale.cc: Tweak formatting.
3932 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
3934 Jim Parsons <parsons@clearway.com>
3935 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
3936 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
3940 Michel Decima <michel.decima@cnet.francetelecom.fr>
3941 * testsuite/27_io/streambuf.cc: Add test.
3942 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
3945 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
3946 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
3947 will work correctly, for instance.
3948 * src/Makefile.in: Regenerate.
3950 * bits/locale_facets.h: Fix merge error.
3951 (num_put::put(unsigned long long): And here.
3952 * mknumeric_limits (trait_name): Same.
3954 2000-02-15 Chip Salzenberg <chip@valinux.com>
3956 Support 'configure --enable-long-long'.
3957 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
3958 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
3959 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
3960 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
3961 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
3963 * aclocal.m4: Regenerate.
3964 * config.h.in: Regenerate.
3965 * configure: Regenerate.
3967 2000-02-15 Chip Salzenberg <chip@valinux.com>
3969 Improve (complete?) 'long long' support.
3970 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
3971 for {,unsigned} long long if the limits header declares them.
3972 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
3973 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
3974 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
3975 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
3976 (num_put<>::put(..., long long)): Likewise.
3977 (num_put<>::put(..., unsigned long long)): Likewise.
3978 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
3979 Templatize last parameter to support 'long long'.
3980 (num_put<>::put(...)): Call _S_format with new name.
3981 (num_put<>::put(..., long long)): Define.
3982 (num_put<>::put(..., unsigned long long)): Likewise.
3983 * src/locale-inst.cc (_S_format): Instantiate under new name.
3985 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
3987 * src/complex.cc (operator<<, operator>>): Moved from here...
3988 * src/complex_io.cc: ...to new file.
3989 (operator>>): Stub replaced by the real thing.
3990 * src/Makefile.am (sources): Inserted complex_io.cc.
3991 * src/Makefile.in: Regenerate.
3992 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
3994 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
3996 Add in ctype information for newlib "C" libraries.
3997 * config/newlib: New directory
3998 * config/newlib/bits/ctype_base.h: New file.
3999 * config/newlib/ctype.cc: New file.
4001 * ctype/config/linux/*: Rename, move to...
4002 * ctype/config/gnu-linux/*: Here.
4004 Finish off multilib work.
4005 * configure.in: Don't set CXX if not Canadian cross.
4006 * configure: Regenerate.
4007 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4008 * aclocal.m4: Regenerate.
4009 * config.h.in: Regenerate.
4011 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4012 the top-level gcc directory now.
4013 * mkinstalldirs: Remove.
4016 * ltmain.sh: Remove.
4017 * config.guess: Remove.
4018 * config.sub: Remove.
4020 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4022 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4023 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4024 * Makefile.in: Regenerate.
4025 * src/Makefile.am: Add multilib bits.
4026 * src/Makefile.in: Regenerate.
4028 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4030 * configure.in: Clean, add some multilib support.
4031 * configure: Regenerate.
4032 * configure.host: New file.
4034 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4035 roll a new function, checks for presence of libio.
4036 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4037 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4038 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4039 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4040 GLIBCPP_CHECK_LIBIO: Same.
4041 GLIBCPP_CHECK_CTYPE: Same.
4042 * aclocal.m4: Regenerate.
4043 * config.h.in: Regenerate.
4045 * Makefile.am: Tweaks.
4046 * Makefile.in: Regenerate.
4048 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4050 * configure.in: Make outputing the libio/Makefile
4051 conditional. Haha, yeah right. Anyway, we instead do this thing
4052 where if libio is found, then we build a null library, as there is
4053 no point in duplicating the found libio.
4054 * Makefile.am: Tweak.
4055 * Makefile: Regenerate.
4056 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4057 are happy happy happy.
4058 * libio/Makefile.am: Regenerate.
4059 * libio/gen-params: New file.
4060 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4061 null library if it's not needed. At least we are being consistent,
4062 if not as elegant as we could be.
4063 * src/Makefile: Regenerate.
4065 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4067 * Makefile.am (SUBDIRS): Add libio again.
4068 * Makefile.in: Regenerate.
4069 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4070 (AC_OUTPUT): Generate libio/Makefile again.
4071 * configure: Regnerate.
4072 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4073 libio.la is referring back to the libio subdir again.
4074 (LIBIO_INCLUDES): And here.
4075 * src/Makefile.in: Regenerate.
4077 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4079 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4081 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4083 * bits/valarray_array.h (<bits/std_new.h>): #include.
4084 (__valarray_get_memory): New function.
4085 (__valarray_release_memory): Likewise.
4086 (__valarray_default_construct): New functions.
4087 (__valarray_fill_construct): New function.
4088 (__valarray_copy_construct): New funstions.
4089 (__valarray_destroy_elements): New function.
4091 * bits/valarray_array.tcc (__valarray_copy_construct): New
4094 * bits/std_valarray.h (valarray<>::valarray): Use
4095 __valarray_get_memory and __valarray_fill_construct,
4096 __valarray_copy_construct, __valarray_default_construct to
4097 properly construct valarrays.
4098 (valarray<>::~valarray): Use __valarray_destroy_elements to
4099 destroy elements and __valarray_release_memory to return memory.
4100 (valarray<>::shift): Tweak.
4101 (valarray<>::cshift): Likewise.
4102 (valarray<>::resize): Robustify.
4104 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4106 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4107 * bits/limits_generic.h: New file, defaults.
4108 * src/limits_generic.cc: New file, defaults.
4109 * configure.in (LIBS): Run mknumeric_limits at configure time.
4110 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4111 HAVE_LC_MESSAGES, tidy, clean, etc.
4112 * src/Makefile.am (geberated_sources): Remove.
4114 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4115 (_IO_off_t, _IO_ssize_t)
4117 * src/complex.cc: Use glibc's <complex.h> if
4118 possible. . . apparently this was not being done before. Include
4120 (abs): Enable cabs if it's around, instead of mycabs.
4121 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4122 * src/complexl.cc (FCT): Same.
4123 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4124 (libmath_la_SOURCES): And here.
4125 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4126 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4127 * math/complex-stub.h: Move c_log declarations into. . .
4128 * math/mathconf.h: Here. This is because glibc's <complex.h>
4129 declares cclog, not c_log. The case of the dueling standards. . .
4130 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4131 * math/Makefile.am: Change.
4132 * math/nan.c (nan): Change signature.
4133 * math/mathconf.h (NAN): Same.
4134 * math/complex-stub.h (nan): And here.
4136 * Makefile.am (rebuild-stamp): Remove libio and libio
4137 dependancies. Plan to take out libio subdir and just merge with
4138 libio in top level gcc directory. Of course, this assumes there is
4139 a libio in the top level directory (ie ../src_dir). This will
4140 probably change the way this library is configured by default.
4143 2000-02-09 Chip Salzenberg <chip@valinux.com>
4145 * localefwd.h (locale): Make public: facet, id, category.
4147 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4149 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4151 * acinclude.m4: Patch only once!
4153 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4155 * testsuite/26_numerics/buggy_complex.cc: New file.
4157 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4159 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4160 on the 1999-11-21 entries by Mumit Khan.
4161 * configure.in: Use.
4162 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4163 * bits/std_complex.h: Use.
4165 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4167 * stl/bits/stl_algobase.h: Add traits based dispatch for
4168 __normal_iterator in the copy_backward()algorithm
4169 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4172 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4174 * src/gen-num-limits.cc (signal_handler): Work around signal
4175 handling problem on Cygwin.
4176 Thanks to Chris Faylor <cgf@cygnus.com>.
4178 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4180 * configure.in: Add (preliminary) support for cross compiles and
4182 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4183 compilation freaks on this.
4184 * configure: Regenerate.
4185 * src/Makefile.am: Add support for cross compiles.
4186 * src/Makefile: Regenerate.
4187 * Makefile.am: Add support for cross compiles.
4188 * Makefile.in: Regenerate.
4190 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4192 * configure.in (LIBS): Remove unused subdirs.
4193 * configure: Regenerate.
4194 * Makefile.am (SUBDIRS): And here.
4195 * Makefile.in: Regenerate.
4196 * src/Makefile.am (sources): And here.
4197 * src/Makefile.in: Regenerate.
4200 * generic/*: Remove.
4202 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4204 * libtool: Update to libtool-1.3.4.
4208 * config.guess: Same.
4210 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4211 Alexandre Petit-Bianco <apbianco@cygnus.com>
4213 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4214 namespace instead of polluting global namespace with duplicate
4216 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4218 (AC_OUTPUT_COMMANDS): Make it here.
4219 * configure: Regenerate.
4220 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4221 endif, as now we will add it manually.
4222 Move to this file. . .
4223 * bits/c++config.h: New file. Same as old c++config.h.in except
4224 the ending macro guard is now appended manually.
4226 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4227 * bits/std_cmath.h: Same here.
4228 * bits/std_cwchar.h: And here.
4229 * src/locale.cc: And here.
4230 * src/complexl.cc: And here.
4231 * math/mathconf.h: Change to include "config.h" instead of
4234 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4236 * configure.in: Add support for threads. Try a model closer to
4237 libjava, as hopefully if the thread bits are added carefully
4238 enough, the source code will not have gross hacks. Besides, the
4239 libstdc++-v2 model could be easily emulated without the necessity
4240 of linking files in (as currently done)--all that needs to be done
4241 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4242 new. . . and see if we arrive at a more elegant solution.
4243 * configure: Regenerated.
4244 * config/threads-no.h: New file.
4245 * config/threads-posix.h: New file.
4246 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4247 * src/Makefile.in: Regenerated.
4249 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4251 META-QUESTION: Can we just make a "header.html" file and a
4252 "footer.html" and just include them in all the doc sub-pages. The
4253 duplication of the header info is kind of gross, and weak
4254 considering that if you change order or layout then all this stuff
4255 has to be changed in all the sub-files.
4257 * docs/17_intro/contribute.html: Take out duplicate file info.
4258 * README: Should just contain a link to the docs/index.html
4259 page. Duplicate information removed.
4260 * docs/faq/index.html: Remove indexes into HOWTOS.
4261 * docs/17_intro/howto.html: Make intro and docs part more
4262 centralized. Move intro stuff to documentation.html.
4263 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4264 * docs/README.html: Move documentation files to
4265 documentation.html. Should this file be renamed
4266 "config_and_install.html" as that is what is apparently covered
4268 * docs/install.html: Yes. New file, moved and renamed README.html.
4269 * docs/documentation.html: New file. This is the index file for
4271 * docs/index.html: Edit sidebar order. Insert new link to new
4272 documentation spine, documentation.html.
4274 2000-01-31 Scott Snyder <snyder@fnal.gov>
4276 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4277 we don't extract any characters.
4278 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4280 2000-01-31 Anders Widell <awl@hem.passagen.se>
4282 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4283 step is a multiple of the word size.
4284 (_M_do_right_shift): Same.
4285 * testsuite/23_containers/bitset_shift.cc: New file.
4287 2000-01-31 Nathan Myers <ncm@zembu.com>
4289 * README (Documentation): Add path info, fix typos.
4291 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4293 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4294 crazy group checking for numpunct, for real this time. At some
4295 point, the local variable __grp should probably get replaced a
4296 char array, or something a bit more lightweight.
4297 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4298 parsed value unless err isn't failbit.
4299 (num_get::do_get(*)): Same, make consistent.
4301 Nathan Myers <ncm@zembu.com>
4302 Jim Parsons <parsons@clearway.com>
4303 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4304 more grouping tests, tweak, scold, wine.
4306 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4308 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4310 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4311 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4314 via <llewelly@198.dsl.xmission.com>
4315 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4316 out_of_range instead of range_error.
4318 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4320 * bits/std_iomanip.h (setw): Fix typo.
4322 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4324 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4325 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4326 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4328 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4330 * docs/README.html: Reformat, more installation instructions.
4331 * docs/gccrebuild.html: New file.
4332 * docs/faq/index.html: Update for new testsuite output filenames.
4333 * docs/faq/index.txt: Regenerate.
4335 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4337 * Makefile.am (rebuild-stamp, all-local): New targets.
4338 * Makefile.in: Regenerated.
4339 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4340 * aclocal.m4: Regenerated.
4341 * configure.in: Call new macro. Also do some sanity checks
4342 for combinations of --enable's that may not make sense.
4343 * configure: Regenerated.
4345 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4347 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4348 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4349 correctly for hex-formatted input.
4351 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4352 eofbit instead of eofbit | failbit.
4353 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4354 ifstreams now are opened or'd with ios_base::in (as is correct).
4355 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4356 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4358 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4360 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4361 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4363 (__basic_file::filepos_valid): Same.
4364 (__basic_file::filepos_beg): Same.
4365 (__baseic_file::get_fileno): New function.
4366 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4367 feedback from LWG 49.
4368 * src/ios.cc: Move definition here.
4369 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4371 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4372 output part of internal buffer based on string size, so that
4373 _M_out_end is set consistently with filebufs. Correct comments.
4374 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4375 * testsuite/27_io/stringbuf.cc: Changes.
4377 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4379 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4381 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4383 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4384 (ofstream::open): Add ios_base::out to openmode.
4386 * bits/locale_facets.tcc (_M_extract): Have consistency between
4387 istream::sentry and extractors, where failbit | eofbit is
4388 set. Don't change this, but instead change. . (do some formatting
4390 * bits/istream.tcc (istream::sentry): Only set eofbit.
4392 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4394 * testsuite/27_io/istringstream_members.cc: New file.
4396 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4398 * bits/istream.tcc (istream::sentry): Flush.
4400 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4401 * configure: Regenerate.
4402 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4403 that make clean will not delete it.
4404 * src/Makefile: Regenerate.
4406 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4408 * mkcheck.in: Use host-specific invocation of size(1);
4409 GNU binutils isn't necessarily there (more's the pity).
4411 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4413 * configure.in (LIBS): Better tests for solaris2.6.
4414 * configure: Regenerate.
4416 <vakatov@ncbi.nlm.nih.gov>
4417 * bits/std_sstream.h: As per libstdc++20.
4419 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4421 Break out configuration on solaris.
4422 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4423 * config/solaris/ctype.cc: Delete and move to proper version.
4424 * config/solaris/bits: Same.
4425 * config/solaris/solaris2.5: Add this directory, with subdir bits
4426 and file ctype.cc. Probably doesn't work.
4427 * config/solaris/solaris2.6: Same.
4428 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4430 * Makefile.am: Change paths to mkcheck.
4431 * Makefile: Regenerate.
4432 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4433 * configure: Regenerate.
4434 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4436 * mkcheck: Now autogenerated by configure and renamed. . .
4437 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4438 Have longer-style dates.
4439 Raja R Harinath <harinath@cs.umn.edu>
4440 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4442 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4443 general documentation need to be organized around each other, not
4444 fight against each other. . .
4446 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4447 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4449 * README: Add a note referring to README.html.
4450 * docs/README.html: New file from Nicolai.
4451 * docs/faq/index.html: Move "how to get a copy" to here.
4452 * docs/gentop/footchunk.html: Update.
4453 * docs/gentop/headchunk.html: New links according to
4454 bkoz's idea for "How to..." stuff.
4455 * docs/gentop/thanks: Actually put people here.
4456 * docs/download.html: Regenerated.
4457 * docs/index.html, docs/links.html, docs/mail.html,
4458 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4459 * docs/how.html: Ditto. (This file should go away soon.)
4461 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4463 * docs/gentop/status: Add snapshot version column, update
4465 * docs/status.html: Regenerated.
4467 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4469 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4470 from installation FAQ, and specify location of text files.
4471 * docs/faq/index.txt: Regenerated.
4473 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4475 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4476 * docs/download.html: Regenerated.
4478 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4480 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4481 clean up various links.
4482 * docs/faq/index.txt: Regenerated.
4483 * docs/gentop/gentop: Smarter regeneration script.
4484 * docs/gentop/{head,foot}chunk.html: Updated with new
4485 contributors link and mod date.
4486 * docs/gentop/index: Snapshot relase date.
4487 * docs/gentop/thanks: New contributors page added.
4488 * docs/{download,how,index,links,mail,status,thanks}.html:
4489 Regenerated from gentop; thanks.html created.
4491 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4493 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4494 * docs/index.html: Add correct information.
4496 * config/irix: New directory.
4497 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4498 * config/irix/bits/ctype_base.h: And here.
4500 * config/aix: New directory.
4501 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4502 * config/aix/bits/ctype_base.h: And here.
4504 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4506 * bits/basic_string.h: Add special case handling for integral
4508 * bits/std_string.h: include type_traits.h
4509 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4511 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4513 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4515 * bits/std_fstream.h (sync): And here.
4516 * testsuite/27_io/filebuf.cc: Revisions.
4517 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4518 at the end of the file.
4519 * testsuite/27_io/filebuf-3.tst: Correct.
4521 1999-12-21 Phil Edwards <pedwards@jaj.com>
4523 * docs/gentop/index: Hold off on .7 announcement date.
4524 * docs/index.html: Regenerate.
4526 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4528 * bits/std_fstream.h (sync): Move _M_file->sync() to
4529 _M_really_overflow().
4530 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4531 as to get the _M_file->sync action, which forces the external
4532 buffer to update itself.
4533 (underflow): Same here.
4535 1999-12-21 Phil Edwards <pedwards@jaj.com>
4537 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4538 * acconfig.h: ...to here.
4539 * config.h.in: Regenerate from aclocal.
4540 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4541 * aclocal.m4: Regenerate from acinclude.
4542 * configure.in: Use ENABLE macros here.
4543 * configure: Regenerate.
4544 * src/Makefile.am: Use results from ENABLE macros.
4545 * src/Makefile.in: Regenerate.
4547 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4549 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4550 check" and not "make check-install." Temporarily hack in linux
4553 * bits/std_streambuf.h: Tweaks.
4554 * bits/streambuf.tcc (xsgetn): Tweaks.
4555 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4556 * bits/fstream.tcc (filebuf::underflow): Simplify.
4557 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4558 checks for read position precisely implement the standard.
4559 * bits/basic_file.h (filepos_cur): Base this on _offset.
4560 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4561 * testsuite/27_io/filebuf.cc: Tweak.
4563 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4565 * docs/17_intro/RELEASE-NOTES: Fix typos.
4567 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4568 out platform-specific bits.
4569 * config/default/ctype.cc: And here.
4570 * config/defaults/bits/ctype_base.h: And here.
4571 * config/linux/ctype.cc: And here.
4572 * config/linux/bits/ctype_base.h (ctype_base): And here.
4573 * config/solaris/bits/ctype_base.h (ctype_base): Add
4574 __to_type. Comment, as it looks like this is for solaris2.6 and
4575 above: solaris2.5.1 doesn't seem to have the same definitions.
4576 * config/solaris/ctype.cc: And here.
4578 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4579 Ulrich Drepper <drepper@cygnus.com>
4581 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4583 * src/locale.cc: Take out platform-specific hacks.
4584 * config/linux/ctype.cc: Put here.
4585 * config/solaris/ctype.cc: Put here.
4586 * config/default/ctype.cc: Put here.
4588 * bits/locale_facets.h: Take out platform-specific hacks.
4589 * config/linux/bits/ctype_base.h: Put here.
4590 * config/solaris/bits/ctype_base.h: Put here.
4591 * config/default/bits/ctype_base.h: Put here.
4593 * configure.in: Bump version.
4594 Add tests for top-level config directory.
4595 * configure: Regenerated.
4596 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4597 * src/Makefile: Regenerate.
4599 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4600 Ulrich Drepper <drepper@cygnus.com>
4602 * bits/locale_facets.h: Hack in solaris support.
4603 * src/locale.cc: Here too.
4605 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4607 * docs/17_intro/TODO: Update
4608 * docs/17_intro/RELEASE-NOTES (New): Update.
4610 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4612 * bits/c++config.h.in (__GLIBCPP__): Bump.
4613 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4614 * docs/17_intro/TODO: Update.
4616 * bits/locale_facets.h: Touch this too.
4617 * bits/localefwd.h: Add typedefs for loooooong vector names.
4618 * bits/locale_facets.tcc (locale::operator()): Need parens.
4619 (has_facet): Simplify.
4620 * src/locale-inst.cc: Add instantiations.
4621 * src/locale.cc: Tweaks.
4623 * bits/std_streambuf.h: Move indeterminates into. .
4624 * bits/std_fstream.h: Here.
4625 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4627 * bits/sstream.tcc: Very minor formatting tweaks.
4628 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4629 input buffer, set _M_buf to offset.
4630 * bits/istream.tcc (std): Tweaks.
4631 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4633 * testsuite/27_io/filebuf.cc: Tweaks.
4635 1999-12-17 Phil Edwards <pedwards@jaj.com>
4637 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4638 * configure: Regenerate.
4639 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4640 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4641 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4643 1999-12-17 Phil Edwards <pedwards@jaj.com>
4645 * docs/21_strings/stringtok_std_h.txt: New algorithm
4646 suggested by Chris King.
4647 * docs/21_strings/howto.html: Link to new version.
4649 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4651 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4653 * docs/17_intro/TODO: Update.
4655 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4657 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4658 * docs/gentop/gentop: Ditto.
4659 * docs/gentop/headchunk.html: Ditto.
4660 * docs/*.html: Regenerated from gentop.
4661 * docs/*/howto.html: Updated as test.
4662 * docs/faq/index.html: Updated, fixed CRLFs.
4663 * docs/faq/index.txt: Regenerated.
4665 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4667 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4669 * bits/std_complex.h
4670 (complex<float>::complex(const complex<double>&),
4671 complex<float>::complex(const complex<long double>&)): Define.
4673 * docs/17_intro/TODO: Update.
4675 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4677 * bits/istream.tcc (seekg): Don't set _M_gcount.
4679 * bits/fstream.tcc (filebuf::underflow): Re-sync
4680 external byte sequence's input buffer only. . .
4681 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4682 tellg, seekg and filebufs.
4683 (test05): Same for stringbufs.
4684 * testsuite/27_io/istream_unformatted-2.tst: New file.
4685 * testsuite/27_io/istream_unformatted-1.tst: New file.
4686 * testsuite/27_io/istream_unformatted-1.txt: New file.
4687 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4690 1999-12-13 Phil Edwards <pedwards@jaj.com>
4692 * docs/gentop/*: New directory, containing bits for the homepages.
4693 * docs/*.html: Regenerated from gentop.
4694 * docs/*/*.html: Entries added and regenerated.
4696 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4698 Efforts to get -O2 to work with -Winline -Werrors.
4699 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4700 _Tp&): Remove inline declaration, as cannot be inlined and
4701 -Winline -Werror complains. An interesting question is why this
4702 cannot be inlined, as I can see no real reason to disqualify it.
4703 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4704 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4706 * docs/17_intro/TODO: Update.
4708 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4710 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4712 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4713 the resultant position.
4714 * bits/fstream.tcc (seekoff): Explicitly set return value to
4715 resultant external byte sequence position, not value returned from
4716 _M_file->seekoff. Need to make
4717 (seekpos): New definition.
4719 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4720 just istream. Necessary, or else tellg will give an invalid stream
4721 position, but seekg will return a valid stream position, which is
4722 not groovy: see testcase addition.
4723 * bits/ostream.tcc (seekp): Same.
4725 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4726 * bits/sstream.tcc: Tweaks.
4727 * bits/locale_facets.tcc: Tweaks.
4728 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4729 Re-write in a way that is easier for the inliner to work with.
4730 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4732 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4734 * bits/locale_facets.tcc: Tweaks.
4735 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4737 * bits/localefwd.h: And here.
4738 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4739 * bits/ostream.tcc: Put here.
4741 Frank Ch. Eigler <fche@cygnus.com>
4742 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4744 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4746 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4747 in and out buffers update independantly.
4749 * bits/basic_ios.h: Minor formatting.
4750 * bits/fstream.tcc (std): Fix indentation.
4752 1999-12-08 Chip Salzenberg <chip@valinux.com>
4754 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4755 after corresponding eof() functions, so they're easier for the
4757 * bits/locale_facets.h (money_base::__default_pattern): Move
4758 static variable out of inline functions.
4759 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4760 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4762 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4764 * bits/std_fstream.h (filebuf::open): Tweak.
4765 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4766 * bits/std_ios.h: Minor tweaks for headers.
4768 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4770 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4771 * src/string-inst.cc: Add guards . . .
4772 * src/misc-inst.cc: And here.
4773 * bits/std_sstream.h: And here.
4774 * bits/std_fstream.h: And here.
4775 * bits/std_streambuf.h: And here.
4776 * bits/std_istream.h: And here.
4777 * bits/std_ostream.h: And here.
4779 1999-12-06 Scott Snyder <snyder@fnal.gov>
4781 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4783 (basic_istream::readsome): And here as well.
4784 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4787 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4789 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4790 necessarily an `int'.
4792 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4794 * mknumeric_limits: Don't use $CXXFLAGS when building
4795 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4796 generally instructs the compiler not to emit template
4797 instantiations and we end up with undefined symbols. Sigh.
4799 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4801 * bits/locale_facets.tcc: Tweak.
4802 (_S_format_long): Adjust showpos formatting for hex and oct.
4803 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4804 and oct by formatting as unsigned.
4805 (operator<<(int)): Same here.
4806 * bits/ostream.tcc (operator<<(long)): Same.
4807 (operator<<(long long)): Same.
4808 (_S_pad_char): Actually treat ios_base::internal as something
4809 worth doing correctly. Remove const designation on ios argument.
4810 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4811 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4813 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4815 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4817 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4819 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4821 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4822 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4823 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4824 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4825 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4827 (ostream::operator<<(_CharT)): Fix.
4829 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4830 see if this will increase compile speed.
4831 * bits/std_ostream.h: Likewise. . .
4832 * bits/std_istream.h: And here.
4833 * bits/std_fstream.h: And here.
4834 * src/misc-inst.cc: Add relevant header file includes for
4835 instantiation purposes.
4836 * src/string-inst.cc: And here.
4837 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
4839 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
4841 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4842 * bits/istream.tcc (get(streambuf)): More fixes.
4843 (istream::ignore): Get specific about numeric_limits<int>::max()
4846 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
4847 (filebuf::close): Same.
4848 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
4850 1999-12-01 Phil Edwards <pedwards@jaj.com>
4852 * mkcheck: Support for compilation/execution timing.
4853 * testsuite/printnow.c: New file.
4855 1999-12-01 Phil Edwards <pedwards@jaj.com>
4857 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
4858 * configure.in: Test for presence of wchar.h before testing
4859 for any of its features.
4860 * configure: Regenerate.
4862 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
4864 Preliminary istream validations complete.
4865 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
4866 formatting more consistent. Removal of if-statements inside of for
4871 * bits/std_istream.h: Same.
4872 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
4873 * testsuite/27_io/stringbuf.cc: Tweak.
4874 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
4876 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
4877 failbit on failure, as per 27.6.2.5.2.
4879 * stl/bits/std_vector.h: Allow bool specializations. Should move
4880 ext/std_bvector to bits, not ext, maybe.
4882 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
4884 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
4885 * configure: Regenerate.
4887 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
4889 * bits/istream.tcc (get(streambuf, char)): Fix.
4890 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4892 1999-11-29 Scott Snyder <snyder@fnal.gov>
4894 * bits/basic_string.h (append(const _Char*, size_type)): The
4895 length of the appended string is given exactly by the second arg,
4896 regardless of the data in the character array.
4897 * bits/string.tcc (basic_string(const _CharT*, size_type, const
4898 _Alloc&)): Likewise.
4899 * testsuite/21_strings/append.cc (test01): Remove erroneous test
4900 of basic_string::append.
4902 1999-11-29 Chip Salzenberg <chip@valinux.com>
4904 * Makefile.in: Tweaks for CXXFLAGS.
4905 * */Makefile.in: Same.
4907 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4909 * conficd bgure.in: Check for wide character support.
4910 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
4911 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
4912 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
4914 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4916 * acinclude.m4: Fix typo.
4917 * src/complex.cc: Fix macro line continuation.
4919 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
4921 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
4922 string literals in format, as used in locale-facets.tcc.
4924 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
4926 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4927 * bits/istream.tcc (istream::get): Extract to argument minus one.
4928 Various tweaks and fixes.
4930 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
4932 * bits/locale_facets.tcc: Workaround for compiler crash on
4935 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
4937 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
4938 * configure.in: Use.
4939 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
4940 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
4941 * bits/std_complex.h: Use.
4942 * src/complex.cc: Use.
4944 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
4946 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
4947 * testsuite/21_strings/inserters_extractors.cc: Likewise.
4948 * testsuite/22_locale/ctype.cc: Likewise.
4949 * testsuite/23_containers/multiset.cc: Likewise.
4950 * testsuite/23_containers/vector_ctor.cc: Likewise.
4951 * testsuite/26_numerics/binary_closure.cc: Likewise.
4952 * testsuite/27_io/fpos.cc: Likewise.
4953 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
4954 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
4955 * testsuite/27_io/istream_extractor_char.cc: Likewise.
4956 * testsuite/27_io/istream_extractor_other.cc: Likewise.
4957 * testsuite/27_io/istream_sentry.cc: Likewise.
4958 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
4959 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
4960 * testsuite/27_io/streambuf.cc: Likewise.
4961 * testsuite/27_io/stringstream.cc: Likewise.
4963 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4965 * bits/valarray_meta.h: Don't forget to define tanh
4967 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
4969 * src/stl-inst.cc: Use typedef to refer to iterator
4970 * stl/bits/stl_algobase.h: Add traits based dispatch for
4971 __normal_iterator in the copy()algorithm
4972 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
4974 1999-11-18 Kevin Ediger <kediger@licor.com>
4976 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
4977 constructors for locale::_Impl exception safe.
4979 1999-11-18 Scott Snyder <snyder@fnal.gov>
4981 * stl/bits/stl_queue.h: The C++ standard gives the default for the
4982 _Sequence template argument of priority_queue<> as vector<>, not
4985 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
4987 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
4989 * bits/sstream.tcc: Adjust here too.
4991 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
4993 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
4994 * bits/istream.tcc (operator>>): Replace iostate(0) with
4995 iostate(ios_base::goodbit), which is the same thing, but hopefully
4997 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
4998 libraries issue list 17.
4999 (do_gets): Don't set goodbit explicitly, instead only set on
5000 failures as good bit is the default setting.
5001 * bits/ios_base.h (setf): Set correctly.
5002 * bits/fstream.tcc: Tweak.
5003 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5004 in|out bufs that are empty. . .
5005 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5007 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5009 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5010 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5011 Add comments "all about _M_buf."
5012 (setg): Set _M_mode.
5014 1999-11-16 Kevin Ediger <kediger@licor.com>
5016 * bits/locale_facets.tcc (_S_build_float_format): New function.
5017 (_S_output_float): New function.
5018 (num_put::do_put(double)): Use 'em.
5019 (num_put::do_put(long double)): Use 'em.
5020 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5022 1999-11-15 Scott Snyder <snyder@fnal.gov>
5024 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5025 match how libio is calling us.
5026 * src/basic_file.cc (sys_seek): Likewise.
5027 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5029 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5031 * docs/17_intro/contribute.html: Add link to assignment form.
5032 * docs/17_intro/libstdc++-assign.txt: New file.
5034 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5037 * bits/std_streambuf.h (_M_buf_bump): New function.
5038 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5039 (xsputn): Here. Also add checks for output valid.
5040 (xsgetn): Add checks for input valid.
5042 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5043 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5044 Set _M_out_end to variable-length-end.
5045 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5048 * bits/fstream.tcc (std): Tweak formatting.
5049 (filebuf::overflow): Simplify.
5050 (filebuf::showmanyc): Same.
5051 (filebuf::underflow): Same.
5052 * testsuite/27_io/filebuf.cc: Fix.
5053 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5054 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5055 * testsuite/27_io/stringbuf.cc: Tweak.
5056 * testsuite/27_io/streambuf.cc: Tweak.
5057 * testsuite/27_io/istream_extractor_other.cc: Fix.
5059 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5061 * stl_deque.h: Use static_casts<size_type>(signed_type).
5063 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5065 Cleanups for callbacks, more regression hunting. Remaining
5066 failures (1) due to last unresolved stringstream issues, not
5068 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5069 killing 27_io/filebuf.cc tests. . . need another solution.
5071 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5072 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5074 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5075 foils all attempts at a graceful, minimal implementation.
5076 * bits/basic_ios.tcc: Tweaks.
5077 * bits/istream.tcc: Fix.
5078 * bits/ostream.tcc: Fix.
5079 * bits/std_istream.h: Fix.
5080 * bits/std_ostream.h: Fix.
5081 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5083 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5084 (_S_pad_numeric): Make comprehensible.
5086 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5088 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5089 (_S_ostream_fcache): New function.
5090 Move functions out-of-line.
5091 * bits/ostream.tcc: Put here.
5093 * bits/std_istream.h: Add callbacks for _M_fnumget.
5094 (_S_istream_fcache): New function.
5095 Move functions out-of-line.
5096 * bits/istream.tcc: Put here.
5098 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5099 _M_call_callbacks(), as ios_base::imbue does this already.
5100 * src/ios.cc (register_callback): Clean.
5101 (_M_call_callbacks): Same.
5102 * bits/ios_base.h: Callback work.
5103 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5105 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5106 Matthias Klose <doko@cs.tu-berlin.de>
5108 * stl/ext/stl_rope.h: Fix initialization order.
5110 1999-11-09 Scott Snyder <snyder@fnal.gov>
5112 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5113 _M_file->sync() so that redirection works correctly.
5115 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5117 * bits/istream.tcc: Re-order.
5118 * bits/std_istream.h: Fix getline problems.
5119 * testsuite/27_io/istream_unformatted.cc: New tests.
5121 Clean up regressions.
5122 * bits/std_sstream.h: Set initial stringbufs correctly.
5124 1999-11-09 Scott Snyder <snyder@fnal.gov>
5126 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5128 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5131 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5133 * src/Makefile.am (CXXFLAGS): Add -Winline.
5134 * src/Makefile.in: Regenerate.
5136 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5138 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5139 building meta-expressions don't forget to take the contained
5142 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5144 * configure: Regenerate.
5146 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5148 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5150 * bits/valarray_meta.h (min): Likewise.
5151 * bits/valarray_meta.h (max): Likewise.
5153 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5155 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5156 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5157 * bits/streambuf.tcc: Define.
5158 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5159 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5160 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5161 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5163 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5164 reported by Richard Atterer.
5165 * bits/char_traits.h: For consistency's sake, here too.
5167 * configure.in: Bump version to 2.90.7.
5169 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5171 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5172 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5173 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5175 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5176 writing into buffer.
5179 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5181 * bits/valarray_array.h (__valarray_sum): New function.
5182 * bits/valarray_array.h (__valarray_product): Same.
5184 * bits/std_valarray.h (valarray<T>::product): Comment out.
5185 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5186 instead of accumulate.
5188 * src/valarray-inst.cc: Remove explicit intantiation of
5189 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5190 * src/valarray-inst.cc (__valarray_product): Instantiate
5192 * src/valarray-inst.cc (__valarray_product(const
5193 valarray<size_t>&)): New function.
5194 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5195 valarray<size_t>::product. Use __valarray_product instead.
5198 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5200 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5201 (_S_pad_char): New function. Not done: ios_base::internal.
5202 * bits/ostream.tcc: Clean for above.
5203 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5204 specialization that was commented out, as ostreams now have to
5205 correctly deal with padding.
5206 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5208 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5209 from mailing list. This is a bug, and should be fixed.
5210 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5212 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5214 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5215 to avoid conflict with gcc name mangling.
5216 * stl/bits/stl_algo.h (__transform): Same.
5218 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5220 * bits/ios_base.h: Change argument names.
5221 * docs/17_intro/BADNAMES: Add __opr.
5223 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5225 Work on compilation slowdowns from 10-5 to 10-12, which are
5226 related to the _Callback_list inlining/merge-ifcation, which is
5227 still a pending issue, but this stuff is necessary cleanup anyway.
5229 * src/ios.cc: Re-arrange.
5230 * bits/ios_base.h: Tweak.
5231 * bits/basic_ios.tcc: Move out of line definitions here, move
5232 small out-of-line definitions inline.
5233 * bits/basic_ios.h: From here.
5235 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5236 * bits/std_streambuf.h: From here.
5238 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5240 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5241 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5242 * bits/istream.tcc (operator>>(istream&, string&): Remove
5243 vestigial issspace hacks and use ctype::is instead.
5244 (getline): Remove unnecessary loops, fortify and pasteurize.
5247 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5249 * bits/istream.tcc (operator>>): Tweak.
5250 * bits/std_istream.h: Fix according to library issues list 68.
5253 * bits/locale_facets.h: Fix table_size to be non-zero.
5255 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5257 * src/basic_file.cc: ifdef instead of comment for binary mode
5259 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5261 * bits/std_sstream.h: Stringbuf initialization based on actual,
5262 not allocated, size.
5263 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5266 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5268 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5269 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5271 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5273 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5275 * bits/std_istream.h: Tweaks.
5276 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5277 as per issues list addition--set failbit, eof on empty buffers.
5278 * testsuite/27_io/istream_sentry.cc: New file.
5280 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5282 * bits/std_cstdio.h: Remove Solaris hacks.
5284 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5286 * docs/index.html: Fix minor typos and tweaks.
5287 * docs/17_intro/contribute.html: Ditto.
5288 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5289 thread safety and binary I/O, links to external sites.
5290 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5293 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5295 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5296 ::fabs(double) rather than ::abs(int).
5298 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5300 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5301 *gptr(), not the result of underflow.
5302 (pbackfail): Conform to default behavior.
5304 * bits/streambuf.tcc: Add out-of-line streambuf members.
5307 * testsuite/27_io/streambuf.cc: New file.
5308 * testsuite/27_io/filebuf.cc: Correct test.
5310 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5312 * bits/std_cmath.h: Correctly cast int to double.
5313 * testsuite/26_numerics/c_math.cc: Add test.
5315 * mknumeric_limits (OUT_C): Tweaks.
5316 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5317 trying to instantiate type_traits<wchar_t>.
5318 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5319 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5320 * configure: Regenerate.
5322 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5324 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5325 (streambuf::xsputn): Put in break.
5326 Aiming for parity between these two (mostly) similar functions.
5327 Need to re-write tests.
5329 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5330 Make data members protected, not private.
5331 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5332 ios_base.h. As called only once, collapse into . . .
5333 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5334 (basic_ios::clear): Throw ios_base::failure on occasion.
5335 (basic_ios::exceptions): Fix.
5336 * testsuite/27_io/ios_members.cc (test02): Add tests.
5338 * bits/fpos.h: Default initialize.
5339 * testsuite/27_io/fpos.cc (test03): Add test.
5341 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5343 * src/basic_file.cc: Fix open modes.
5345 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5347 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5349 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5351 * bits/streambuf.tcc: Yea. Fix this for real.
5352 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5353 * src/Makefile.*: Regenerate.
5355 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5357 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5358 files so that stdtof and strtold will be declared. Some hacks
5359 already exits in bits/std_cctype.h -- these should all be removed
5361 * bits/locale_facets.tcc: Add cstring.h include.
5362 _S_format_long: Use long, not int.
5363 Add std_limits.h include, for numeric_limits.
5364 * testsuite/27_io/istream.cc: Make instantiations work when using
5366 * testsuite/27_io/ostream.cc: Same.
5368 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5370 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5371 a reference. Same for operators == and !=.
5372 * testsuite/27_io/fpos.cc: Add tests.
5374 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5376 * bits/valarray_array.h: Fix typo.
5378 * mknumeric_limits: Make sure we are regenerating things from
5379 scratch. Otherwise things get redefined. Not good.
5381 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5383 * bits/std_ostream.h: Fix typo.
5384 * bits/std_istream.h: Same.
5385 * bits/std_iomanip.h: Same.
5387 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5388 ostream, as happens with underflow anyway.
5389 * testsuite/27_io/istream.cc (main): New file.
5390 * testsuite/27_io/ostream.cc (main): New file.
5391 * testsuite/27_io/istream_unformatted.cc: Add tests.
5393 * src/Makefile.am (headers): Add new file.
5394 * src/Makefile.in (headers): Regenerated.
5396 * bits/basic_ios.h: Remove local-related files.
5397 * bits/basic_ios.tcc: New file, add locale-related items.
5398 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5399 * testsuite/27_io/ios_members_static.cc: Change to
5400 * testsuite/27_io/ios_base_members_static.cc: This.
5401 * testsuite/27_io/ios_members.cc: New file.
5402 * testsuite/27_io/stdios_basefield_manip: Change to
5403 * testsuite/27_io/ios_manip_basefield.cc: This.
5404 * testsuite/27_io/stdios_fmtflags_manip: Change to
5405 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5407 * bits/fpos.h: Fix discarding qualifiers on this when
5408 using _M_position with a const fpos.
5409 * bits/std_iosfwd.h: Tweak.
5410 * testsuite/27_io/fpos.cc: New file.
5412 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5414 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5415 * bits/ostream.tcc: Tweak.
5416 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5417 Add new regressions.
5419 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5421 * bits/basic_ios.h: Inline, tweak.
5422 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5423 pass back accurate return value to basic_filebuf::overflow.
5424 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5425 This fixes sstream problems reported in libstdc++/9, but screws up
5426 filebufs. That solution is pending.
5428 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5430 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5432 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5434 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5436 * bits/c++config.h.in: Add emacs hints.
5438 * stl/bits/stl_range_errors.h: Don't define here, for now define
5439 in stdexcept.cc along with string inlines __length_error, etc.
5440 * src/stdexcept.cc: Define here.
5441 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5442 at(size_t) will be declared/defined.
5443 (__STL_THREADS): Fix mess surrounding use of this, enable.
5445 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5447 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5448 * src/localename.cc: Tweak formatting, fix assignment to
5449 const compiler errors.
5451 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5453 * acconfig.h: Add absf, cosf.
5454 * configure.in (use_builtin_sinf): Same.
5455 * configure: Regenerate.
5456 * bits/std_cmath.h: Add mess of defines.
5457 * testsuite/26_numerics/modf_float.cc: Change to
5458 * testsuite/26_numerics/c_math.cc: This.
5460 * src/locale.cc: Change.
5461 * bits/locale_facets.h: Fix.
5462 * testsuite/22_locale/ctype.cc: Add temporary tests.
5464 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5466 * bits/fpos.h: Test.
5468 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5469 Fix database name for "libstdc++".
5471 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5473 * mknumeric_limits (numeric_limits): Add default definitions to
5475 * testsuite/18_support/numeric_limits.cc: New file.
5477 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5479 * bits/std_istream.h: Correct initialization.
5480 * bits/std_ostream.h: Likewise.
5481 * bits/std_sstream.h: Likewise.
5482 * bits/std_fstream.h: Likewise.
5483 * testsuite/27_io/stringstream.cc: Add test case.
5485 * bits/std_sstream.h: Replace ____string_type with __string_type.
5486 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5487 * bits/std_ostream.h: Tweak dtor.
5489 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5491 * src/Makefile.am (CXXFLAGS): Add -O2.
5492 * src/Makefile.in: Likewise.
5494 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5496 * mknumeric_limits (numeric_limits): Uglify.
5498 * bits/std_istream.h: Fix warnings.
5499 * bits/locale_facets.tcc: Collateral damage from
5500 char_traits<char>::int_type change.
5502 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5504 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5506 * docs/index.html: Add mailing list form.
5507 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5509 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5511 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5512 if overflow successfully allocates more space.
5513 * bits/std_sstream.h: Adjust comments.
5514 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5515 before overflow forces a resize.
5516 * testsuite/27_io/ostream_inserter_char.cc: New file.
5518 * bits/std_fstream.h: Remove declaration.
5519 * bits/fstream.tcc: Move uflow.
5520 * bits/std_streambuf.h: To here.
5521 * bits/streambuf.tcc: Make consistent.
5523 * src/Makefile.am (WERROR): Enable.
5524 * src/Makefile.in: Regenerate.
5525 * bits/sbuf_iter.h: Tweak.
5526 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5527 Use unsigned int as char_traits<char>::int_type.
5529 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5530 * testsuite/27_io/iostream_objects.cc: Terminate string.
5531 Move cin::operator>>(char*) test to extractor_char.cc.
5532 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5533 * bits/std_istream.h (basic_iostream): Make explicit definition
5535 * bits/std_sstream.h: Fix typos.
5536 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5537 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5538 initialized in a consistent manner, no matter if the underlying
5539 FILE/bit bucket is a tty or a text file or some other imaginary
5540 construct. This and setting _M_buf_size to 1 for cin allows
5541 istream::get(char) to work in a manner consistent with what others
5544 * docs/index.html: Link Stroustrup's C++ page.
5546 1999-08-12 Michael Cook <cook@sightpath.com>
5548 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5549 * bits/istream.tcc: ditto.
5550 * bits/sbuf_iter.h: ditto.
5551 * bits/std_istream.h: ditto.
5552 * src/Makefile.am: Add -Wall to CXXFLAGS.
5553 * src/Makefile.in: ditto.
5555 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5556 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5558 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5559 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5561 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5563 * testsuite/27_io/istream_unformatted.cc: New file.
5565 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5566 elaborate tests for int types with noskipws.
5568 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5569 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5570 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5571 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5572 * bits/istream.tcc: Fix operator>>(streambuf*).
5574 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5576 * docs/index.html: Remove references to egcs.
5577 * docs/17_intro/DESIGN: Same.
5578 * docs/17_intro/contribute.html: Same.
5579 * docs/17_intro/RELEASE-NOTES: Ditto.
5580 * docs/17_intro/howto.html: Same here.
5582 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5583 * stl/bits/stl_vector.h (_M_insert_aux):
5584 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5585 decimal/floating point support.
5586 * bits/locale_facets.h: Change _M_extract prototype.
5587 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5588 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5590 1999-08-10 Michael Cook <cook@sightpath.com>
5592 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5593 * bits/ios_base.h: ditto.
5594 * bits/istream.tcc: ditto.
5595 * bits/locale_facets.h: ditto.
5596 * bits/locale_facets.tcc: ditto.
5597 * bits/std_streambuf.h: ditto.
5598 * src/basic_file.cc: ditto.
5599 * src/locale.cc: ditto.
5600 * src/localename.cc: ditto.
5602 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5604 * bits/std_iomanip.h: Inline.
5606 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5608 * bits/std_streambuf.h: Correct member initialization order.
5609 * src/ios.cc: Add definitions for ios_base data members.
5611 1999-08-06 Phil Edwards <pedwards@ball.com>
5613 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5614 * docs/faq/index.html: Ditto. Removed bugs sections that have
5615 been fixed for a long time... Lots of "egcs" references still
5617 * docs/faq/index.txt: Regenerated.
5619 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5620 Andreas Amann <amann@physik.tu-berlin.de>
5622 * testsuite/26_numerics/binary_closure.cc (main): new test.
5624 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5626 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5629 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5631 * docs/index.html (host): Put in testing status.
5633 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5635 * docs/index.html: Update for libstdc++-2.90.6 release.
5636 * docs/17_intro/RELEASE-NOTES (New): Update.
5637 * docs/17_intro/BUGS: Update.
5638 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5639 * README (file): Update.
5641 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5643 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5645 ($(generated_headers)): Same.
5646 * src/gen-c++config.cc: Remove, rename to
5647 * bits/c++config.h.in: New file. Bump version number.
5648 * configure.in: Generate bits/c++config.h at configure time.
5649 * math/mathconf.h: include bits/c++config.h, not config.h.
5651 * bits/std_cmath.h: Fix remaining link error for solaris shared
5652 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5653 being, as on Solaris this silently calls sinf, which does not
5656 * src/complex.cc: More tweaks.
5658 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5660 * src/complex.cc: Same.
5661 * math/complex-stub.h: Change.
5662 * math/c_log10*.c: Change back to clog10*.c.
5664 * configure.in (NEED_C_LOG10): Delete.
5665 * configure: Regenerate.
5666 * math/Makefile.am: Change.
5668 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5670 * math/Makefile.am: Fix, for real.
5671 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5672 * math/clog.c: Move to c_log.c.
5673 * math/clog*: Ditto.
5674 * math/c_log10l.c (c_log10l): Change function name.
5675 * math/c_log10f.c (c_log10f): Change function name.
5676 * math/c_log10.c (c_log10): Change function name.
5678 * math/complex-stub.h: Change to c_log* variants.
5679 * src/complex.cc: And here.
5681 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5683 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5684 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5685 sequence, just the output sequence.
5686 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5687 the original string, all others use complicated heuristic.
5689 * src/complex.cc: Assume c_log10.
5690 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5691 symbols in shared libraries by making c_log/c_log10 part of the
5692 "must cmpile" sources. This may not work on solaris, must check.
5694 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5696 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5697 * bits/std_istream.h: Fix char extractors.
5698 * testsuite/27_io/istream_extractor_char.cc: Change.
5699 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5701 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5703 * bits/std_cctype.h: Fix for solaris2.6 builds.
5705 * bits/istream.tcc: Fix, thanks Alfred.
5706 * bits/std_istream.h: Formatting changes.
5708 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5709 _IO_cleanup will not be undefined.
5710 * libio/*: Regenerate.
5712 * bits/basic_string.h: More namespace-safety stuff.
5713 * testsuite/27_io/istream_extractor_char.cc: Fix.
5714 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5715 * testsuite/27_io/iostream_objects.cc: Fix.
5716 * testsuite/27_io/ios_ctor.cc: Fix.
5717 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5718 * testsuite/27_io/istream_extractor_other.cc: New file.
5720 * mkcheck (TESTS_FILE): Tweaks.
5722 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5724 * src/gen-c++config.cc: Note here, change version.
5725 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5726 * src/locale.cc: Used here.
5727 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5729 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5731 * bits/istream.tcc: Fix.
5732 * bits/std_istream.h: More changes to extractors.
5734 * testsuite/27_io/istream_extractor_char.cc: More.
5735 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5736 error in testsuite construction.
5738 * bits/std_istream.h: Partially revert.
5739 * bits/std_ostream.h: Same.
5740 * bits/std_sstream.h: Revert.
5742 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5744 * bits/std_sstream.h: Change initialization.
5745 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5746 * bits/std_istream.h: Same, also correct sentry args.
5747 * bits/istream.tcc: Add correct sentry args.
5749 * testsuite/27_io/istream_extractor_char.cc: New file.
5750 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5751 name changes making me dizzy.
5753 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5754 Benjamin Kosnik <bkoz@cygnus.com>
5756 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5759 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5761 * bits/std_complex.h: Tweak. Make the primary template class
5762 complex work with user-defined numerical types. Provide member
5763 definitions. Restructure.
5764 (class complex<float>): Uglify. Remove __value(). Rename __val
5765 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5766 private. Remove dependency on __value(). Fix various explicit
5767 specialization syntax. Declare a some functions friend. Now the
5768 implementation is nearly comforming.
5769 (class complex<double>): Likewise.
5770 (class complex<long double>): Likewise.
5772 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5773 (sin, sinh, tan, than): Fix call to corresponding C9x function
5776 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5778 * bits/istream.tcc (ws): Fix error with failbit being set.
5780 Disabled due to egcs/gcc-2_95 internal compiler errors.
5781 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5782 -fnew-exceptions. Compiling with namespaces enabled will now be
5784 * mkcheck (CXX_FLAG): Same.
5785 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5786 * bits/std_cctype.h: Not enough to just define in namespace std if
5787 ctype-isms are macros. Need to also define in namespace std:: if
5788 the C functions are just plain functions.
5790 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5792 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5794 * docs/18_support/howto.html: Start documentation. Need to keep
5795 track of the ongoing discussion in th LWG reflector.
5797 * src/gen-num-limits.cc: Tweak.
5798 (class predicate): New class.
5799 (class value): Likewise.
5800 Make the whole machinery more flexible. Add comments.
5802 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5804 * bits/ios_base.h: Move state/exception functions into basic_ios.
5805 * bits/basic_ios.h: Same.
5806 * src/ios.cc: And here. Callbacks don't attempt to reset
5809 * bits/std_streambuf.h: Separate ios and streambuf locale data
5810 members and cached facets. Using this convention: _M_locale_buf for
5811 the streambuf-related classes, and _M_locale_ios for the ios
5813 * bits/fstream.tcc: And here.
5814 * bits/basic_ios.h: And here. Also, add cached ctype.
5815 * src/ios.cc: Ditto.
5816 * bits/ios_base.h: Ditto.
5817 * bits/std_istream.h: Use cached ctype facet.
5818 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5821 * testsuite/27_io/ios_ctor.cc: New file.
5822 * src/ios.cc: Move _M_state init to basic_ios::init().
5823 * bits/basic_ios.h: To here.
5825 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5826 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5827 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5828 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5829 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5831 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5833 * src/ios.cc: Tweak initializations of standard iostream
5834 objects to closely match the standard. Tie cin/wcin, set flags on
5836 * bits/char_traits.h: Change from size_t to int_type, as per
5837 standard. As per wide streams.
5838 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
5839 for caching a bunch of ctype info. For instance, ctype_base::space
5840 info needs to be stored somewhere, somehow.
5841 * bits/std_istream.h: Also here.
5842 * bits/std_ostream.h: Ditto.
5843 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
5844 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
5847 * bits/istream.tcc (ws): Fix.
5848 * testsuite/27_io/istream_manip.cc: New file, test ws.
5849 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
5851 * bits/basic_string.h: Provide a specialized member function for
5852 _S_find<char> using strchr.
5853 * src/string-inst.cc: Put specializations here.
5854 * bits/string.tcc: Small fix for find, remove typo.
5855 * testsuite/21_strings/find.cc (test01): Add tests to catch this
5858 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5860 * bits/basic_ios.h: Put into basic_ios namespace.
5863 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5865 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
5866 adjust _M_*_cur pointers inside the function, so callee doesn't
5868 * bits/sstream.tcc (stringbuf::overflow): Tweak.
5870 * mkcheck: Tweak. Add execution time field, even though it is not
5871 implemented yet. Simplify pass/fail status notation.
5873 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
5875 * configure.in: Check for float.h and underscored version of
5877 * acconfig.h: Add @BOTTOM@ section for handling underscored
5879 * configure: Regenerate.
5880 * config.h.in: Regenerate.
5881 * math/mathconf.h (float.h): Include conditionally.
5882 (M_PI): Define conditionally.
5883 (INFINITE_P): Define for Mingw.
5884 * bits/locale_facets.tcc: Workaround for compiler crash on
5886 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
5887 * src/locale.cc (bits/std_istream.h): Include.
5888 (bits/std_ostream.h): Likewise.
5890 1999-07-18 Phil Edwards <pedwards@ball.com>
5892 * docs/faq/index.html: Updated __black_count notes, fixed typos.
5893 * docs/faq/index.txt: Regenerated.
5895 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5897 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
5899 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
5900 newly-allocated buffer.
5901 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
5902 overflow condition bits.
5904 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
5906 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
5907 _M_buf_size to initial _M_string.size(), even though for
5908 ostringstreams it is pretty pointless. It's necessary for
5910 (stringbuf::str()): Adjust.
5911 (stringbuf::str()): Adjust, call _M_init_stringbuf.
5912 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
5913 overflow's possible success.
5914 (streambuf::xsputn): Adjust.
5916 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
5918 * testsuite/27_io/stringbuf.cc: Tweak.
5919 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
5921 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
5922 with other constructor tests to. . .
5923 * testsuite/23_containers/vector_ctor.cc: New file.
5925 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
5927 * testsuite/*: Changes to make the testsuit compilable with
5928 -fhonor-std. Contains direct qualification of library names with
5931 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5933 * bits/streambuf.tcc: Tweaks.
5934 (streambuf::xsputn): Optimize, fix for sstreams.
5935 (streambuf::xsgetn): Same.
5936 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
5937 correctly, handle overflow/reallocate conditions correctly.
5938 * bits/std_sstream.h: Fix typo.
5939 _M_init_stringbuf(): Fix _M_buf_size initialization.
5940 (stringbuf::str()): Construct return string if output has occurred.
5942 * bits/basic_string.h: Fix typo from yesterday's patch.
5944 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5946 * bits/string.tcc: _M_mutate - clear _M_state again.
5947 * bits/basic_string.h: In the three functions that return
5948 an iterator set _M_state to -1 before return.
5949 Also optimized two cases of operator+.
5951 1999-07-12 Phil Edwards <pedwards@ball.com>
5953 * docs/index.html: Expand egcs-1.1.2 notes/links.
5954 * docs/faq/index.html: And here. Add links to LWG issues-list.
5955 * docs/faq/index.txt: Regenerate. (lynx rocks)
5956 * docs/21_strings/howto.html: Fix notes on case conversion.
5957 * docs/21_strings/stringtok_h.txt: Goodly spelling...
5958 * docs/23_containers/howto.html: Stub for bitmasks.
5959 * docs/27_io/howto.html: Add section on buffering, stub binary.
5961 1999-07-12 Nathan Myers <ncm@cantrip.org>
5963 * stl/bits/stl_tree.h (__black_count): Optimize.
5965 1999-07-09 Vadim Egorov <egorovv@1c.ru>
5967 * src/basic_file.cc: Cleanup in __basic_file destructor.
5969 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
5971 * bits/std_streambuf.h: Changes. . .
5972 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
5973 basic_streambuf, to be used for both filebufs and streambufs.
5974 * bits/std_fstream.h (_M_init_filebuf): New function.
5975 Take out specialized xsputn, put into basic_streambuf.
5976 * bits/fstream.tcc: Define, call from both ctors.
5977 * bits/std_sstream.h (_M_init_stringbuf): New function.
5978 * bits/sstream.tcc: Tweak.
5980 * docs/27_io/iostreams_heirarchy.pdf: New file.
5982 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
5983 acceptance. Wooo-hoo!
5985 * bits/char_traits.h: Change int_type for char_traits general
5986 template, so that 21_strings/capacity.cc will compile.
5987 * testsuite/21_strings/capacity.cc: Add operators.
5989 * bits/string.tcc (string::compare): Clean up, re-implement.
5990 * testsuite/21_strings/compare.cc: Tweak.
5992 * bits/string.tcc (string:_M_mutate): Keep leaked value in
5993 _M_state, which means that whenever begin() or end() has been
5994 called, the string is unshareable, period. By doing this, insert
5995 and erase member functions that return iterators can remain
5996 footloose and fancy free.
5997 * testsuite/21_strings/invariants.cc: Update.
5999 * bits/basic_string.h (string::append): Fix self-referential
6000 problems, ie when "this" is also an argument to a member function.
6001 * bits/string.tcc: Tweak, same.
6002 * testsuite/21_strings/append.cc: New file.
6004 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6006 * bits/char_traits.h: Tweaks.
6007 * bits/basic_string.h: Tweak.
6008 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6010 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6012 * bits/std_streambuf.h: Absorb/acquire data members previously
6013 working in basic_filebuf.
6014 * bits/streambuf.tcc: Tweaks.
6015 * bits/fstream.tcc: Adjust.
6016 * bits/std_fstream.h: Move and rename the following functions:
6017 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6018 now declared and defined in the base class, basic_streambuf. Oh
6019 fuck it, move data members _M_buf, and _M_buf_size into
6020 basic_streambuf as well.
6022 * bits/ostream.tcc: Tweak.
6023 * bits/locale_facets.tcc: Fix typo in comments.
6025 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6026 state from good to not good, as eof() is set.
6028 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6030 * bits/char_traits.h (char_traits::compare). Fix.
6032 * config.guess, config.sub: Update.
6034 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6036 * bits/string.tcc: Check the __res_arg for a length error.
6038 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6040 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6041 and related functions into basic_streambuf, from basic_filebuf to
6042 take care of ostringstreams and empty strings. So that's groovy,
6044 * bits/std_istream.h: Tweaks.
6045 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6046 * bits/std_ostream.h: And here.
6047 * bits/ostream.tcc: Same.
6048 * src/misc-inst.cc: Add instantiations for ws.
6050 * src/string-inst.cc: Add instantiations for inserters and
6051 extractors (operators << and >>, getline).
6053 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6054 a testcase for getline and operators << and >>. Ostream tests are
6055 failing right now, but istream tests should work. . .
6057 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6058 * bits/std_sstream.h: Revert.
6060 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6061 istream, ostream, streambuf, fstream, sstream].cc: New files.
6063 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6065 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6068 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6069 specializations for _CharT*, iterator and const_iterator.
6070 * src/string-inst.cc: Remove explicit instantiation, as
6071 now explicitly specialized.
6073 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6074 a default value set to 0.
6075 * bits/string.tcc: In _M_clone by the call of _S_create add the
6076 value of the new parameter to _M_length. In reserve check
6077 _M_state and use _M_clone instead of _M_mutate.
6079 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6081 * bits/basic_string.h: Fix _S_max_size.
6082 * bits/string.tcc: Add def here.
6083 * testsuite/21_strings/insert.cc: Fix.
6085 * bits/sbuf_iter.h: Remove detritus.
6086 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6088 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6089 to resolve alpha-osf4 build problems.
6091 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6093 * bits/string.tcc: Fix signed/unsigned issues in compares.
6094 * stl/bits/stl_deque.h: And here.
6095 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6097 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6099 * bits/string.tcc: New implementation and interface of _M_mutate.
6100 Adapt the change in all functions that call _M_mutate.
6101 * bits/basic_string.h: And here.
6103 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6105 * testsuite/21_strings/capacity.cc (test01): Fix.
6107 1999-06-29 Phil Edwards <pedwards@ball.com>
6109 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6111 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6113 * stl/bits/stl_vector.h: Fix.
6114 * testsuite/23_containers/vector_cons.cc: Add.
6116 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6118 * mknumeric_limits (LDFLAGS): fix.
6120 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6122 * mknumeric_limits (LDFLAGS): set it according to the system.
6124 * math/mathconf.h (NAN): Check whether host is running under
6125 Cygwin and make the appropriate definition.
6126 * math/complex-stub.h (nan): protect declaration.
6128 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6130 * bits/sbuf_iter.h: Rename internal data structure to prevent
6131 confusion between basic_ios and istreambuf_iterators internal
6132 basic_streambuf data member.
6133 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6135 * bits/basic_string.h: Remove conditionals, add input_iterator
6136 version of S_construct again.
6137 * bits/string.tcc: Same.
6138 * src/string-inst.cc: And add explicit instantiation here.
6140 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6141 and __USE_GNU macro defines, as single __USE_GNU use leading to
6142 confusion on glibc2.1 systems (ie, RedHat 6.0).
6144 * src/Makefile.am (headers): Add std_utility to installed headers.
6146 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6148 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6150 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6152 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6154 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6156 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6157 macros to include _GLIBCPP as a distinct namespace.
6161 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6162 * bits/basic_string.h: Remove __get_c_string.
6163 * src/stdexcept.cc: Define ctor here.
6164 * bits/ios_base.h: And fix ios_base::failure as well.
6165 * src/ios.cc: Define here.
6167 * bits/std_streambuf.h: Add a private copy ctor and assignment
6168 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6169 * bits/ios_base.h: And here too.
6171 * bits/basic_string.h: Tweak.
6172 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6174 * src/valarray.cc: Rename to. . .
6175 * src/valarray-inst.cc: This.
6176 * src/Makefile.am (sources): Change here.
6177 * src/Makefile.in: Regenerated.
6179 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6181 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6184 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6185 Tom Tromey <tromey@cygnus.com>
6187 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6188 Use AM_CONDITIONAL to get us out of this jam. .
6189 * libio/Makefile.am: Same.
6190 * */Makefile: Regenerated.
6192 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6193 John Potter <jpotter@eagle.lhup.edu>
6195 * stl/bits/stl_tree.h (insert_equal): Fix.
6196 * testsuite/23_containers/multiset.cc: New file.
6198 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6200 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6201 this works correctly on glibc-2 systems. This should allow
6202 simplified linking on these systems, and successful linking on Red
6204 * configure, Makefile: Regenerate.
6206 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6208 * testsuite/ext: New directory.
6209 * testsuite/ext/headers.cc: New file.
6211 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6213 * stl/ext/hash_set: include missing headers
6214 * stl/ext/hash_map: Same
6215 * stl/ext/slist: Same
6217 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6219 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6221 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6223 * src/Makefile.am (sources): Regenerate.
6224 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6227 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6229 * src/string-inst.cc: Change _S_construct signature, to
6230 track requested allocation size versus valid input iterator range.
6231 * bits/basic_string.h: Here too.
6232 * bits/string.tcc: And here.
6234 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6236 * mkcheck (LOG_FILE): Correctly append errors.
6238 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6240 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6241 to clarify differences between basic_string::_M_data() calls and
6242 _Rep::_M_data() calls.
6243 * bits/std_string.h: Fix.
6244 Put in check for out_of_range in substr.
6245 * bits/string.tcc: Fix for _S_find.
6247 * testsuite/21_strings/compare.cc: Add tests.
6248 * testsuite/21_strings/find.cc: New file.
6249 * testsuite/21_strings/substr: New file.
6250 * testsuite/21_strings/replace.cc: New file.
6252 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6254 * bits/valarray_array.h: __restrict__ify pointers.
6256 * bits/std_valarray.h: Tweak.
6257 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6259 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6261 * bits/gslice.h: Tweak.
6262 (class gslice::_Indexer): new class.
6263 (gslice::gslice(const gslice&)): implement copy-ctor to support
6265 (gslice::operator=(const gslice&)): support ref-counted index.
6266 (gslice::_M_convert_to_index): delete.
6268 * src/valarray.cc: New file.
6269 (__gslice_to_index): turn a gslice into a valarray<size_t>
6270 (ctor gslice::_Indexer::_Indexer): implement.
6272 * src/Makefile.am (sources): add valarray.cc
6273 * src/Makefile.in: regenerate.
6275 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6277 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6278 ctor): Put in a const_cast.
6280 * testsuite/21_strings/invariants.cc: New file.
6282 * testsuite/21_strings/insert.cc: Add exception handling bits.
6283 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6285 * src/wstring-inst.cc: Add c++config.h include.
6287 * bits/basic_string.h: Fix const operator[] for size == pos.
6288 Add _M_leak for rbegin, non-const.
6289 Add _M_leak for rend, non-const.
6290 Make member function at standards conformant.
6291 Add _S_terminal to _Rep for operator[] const, add this into
6293 * bits/string.tcc: Add static member definition here,
6296 * testsuite/21_strings/element_access.cc: Add tests.
6298 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6300 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6303 1999-06-08 Phil Edwards <pedwards@ball.com>
6305 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6306 caused when __testinit is true.
6307 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6308 using rdbuf()->sputn rather than _M_fnumput->put.
6310 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6312 * testsuite/23_containers/bitset_ctor.cc: New file.
6313 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6315 1999-06-08 Phil Edwards <pedwards@ball.com>
6317 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6319 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6321 * testsuite/21_strings/element_access.cc: Finish off these tests.
6322 * testsuite/21_strings/insert.cc (test01): Uncomment.
6323 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6324 * bits/basic_string.h: Tweak, okay, fix for real this time.
6325 * bits/string.tcc: Same.
6326 * bits/char_traits.h: Tweak.
6328 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6330 * bits/std_cmath.h: Example of how to use the generated macro.
6331 * acconfig.h: Add macro for sinf here.
6332 * configure.in (LIBS): Add test for builtin math function sinf.
6333 * configure: Regenerated.
6335 * bits/basic_string.h: Fix _S_max_size.
6337 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6339 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6340 Remove _S_construct signature for forward_iterator_tag and
6343 * src/string-inst.cc: Same, tweaks.
6344 * bits/string.tcc: Same, tweaks.
6346 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6347 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6348 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6351 * src/locale.cc: Final separation for char/wchar_t bits.
6353 1999-06-05 Phil Edwards <pedwards@ball.com>
6355 * docs/index.html: Added link to book upon request'n'agreement.
6356 * docs/23_containers/wrappers_h.txt: Added.
6357 * docs/{23_containers,27_io}/howto.html: Added sections.
6359 * bits/std_fstream.h: Tweak.
6361 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6363 * src/ios.cc: Same here.
6364 * bits/std_iosfwd.h: More wchar_t defines.
6366 * bits/basic_string.h: Tweaks.
6367 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6368 when doing error checking, as per LWG defect #83.
6370 * src/gen-c++config.cc: Fix comment.
6372 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6374 * testsuite/21_strings/element_access.cc: New file, checks for
6375 operator[], at(...).
6376 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6377 * testsuite/21_strings/char_traits.cc: New file, tests
6378 for char_traits<char>.
6380 * bits/utility.h: Remove, again.
6381 * src/Makefile.am (std_headers): Remove utility.h.
6382 * src/Makefile.in (std_headers): Regenerate.
6384 Alfred Minarik <a8601248@unet.univie.ac.at>
6385 * bits/basic_string.h: Move __out_of_range and __length_error into
6388 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6390 * testsuite/26_numerics/modf_float.cc: New file.
6392 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6393 typo: use ::modff, not ::modf.
6395 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6397 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6399 * testsuite/21_strings/capacity.cc (test01): Test.
6401 1999-06-03 Phil Edwards <pedwards@ball.com>
6403 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6404 unused variables to within #if 0 blocks to do the same.
6405 * bits/std_fstream.h: Fix typos (one prevents compilation).
6407 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6409 * src/wstring-inst.cc: Fix.
6411 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6413 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6414 * stl/bits/stl_string_fwd.h: Same.
6415 * bits/locale_facets.h: Same.
6416 * bits/locale_facets.tcc: Same.
6417 * src/wstring-inst.cc: And here.
6419 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6420 problems on HPUX 10.20.
6421 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6422 here as a temporary hack till the compiler/host problems get
6425 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6426 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6427 converting "long double" to struct long_double. Probably should be
6428 done with one macro (HAVE_STRTOLD) at configure time.
6430 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6431 gives re-declaration under hpux10.20. Revert previous change, as
6432 kills linux/x86, solaris 2.7, hpux builds. These should be done
6433 using autoconf, see std_cctype.h and the solutions started in
6434 configure.in (see config.h for the generated file.)
6436 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6437 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6440 * docs/index.html: Add some useful links.
6441 * docs/17_intro/contribute.html: Fix broken links.
6443 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6445 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6446 paths. The rest of the world should be able to run this script
6449 * src/Makefile.am ($(generated_headers)): Remove comment.
6450 * Makefile*: Regenerate.
6452 * bits/std_locale.h: Remove detritus.
6453 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6456 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6458 * src/gen-c++config.cc: New file. Making c++config.h at configure
6459 time by catting this file (nee bits/config.h) with the build
6460 directories config.h. This is not a complete or perfect solution
6461 but is better than what was in place previously.
6462 * bits/c++config.h: Rename/move to above.
6463 * src/Makefile.am (headers): Remove c++config.h.
6464 (myinstallheaders). Add.
6465 * Makefile*: Regenerated.
6467 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6468 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6469 declared only if not present in the host's wchar.h.
6471 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6473 * bits/std_cmath.h: Define out, for the moment. Linux has no
6474 __buitin_fsqrtl? Probably need some kind of configure trickery
6477 * src/Makefile.*: Regenerate.
6478 * bits/c++config.h: Add config.h include.
6480 * bits/std_cwchar.h: Remove remaining #error guard.
6482 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6484 * configure.in (LIBS): Replace previous effort for mbstate_t and
6485 strtold/strtof with this implementation.
6487 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6489 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6492 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6494 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6495 for determining mbstate_t differences across various hosts not
6498 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6500 * bits/locale_facets.tcc: Change to ifdef.
6502 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6503 * bits/std_fstream.h (filebuf::setbuf): Same.
6505 * bits/std_istream.h: Add ws declaration.
6506 * bits/istream.tcc: Stub out definition.
6508 * docs/index.html: Fix broken link for design.txt.
6510 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6511 then set _G_NEED_MBSTATE_T.
6512 * configure: Regenerate.
6513 * bits/c++config.h: Move mbstate_t define.
6514 * bits/std_cwchar.h: To here.
6516 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6518 * bits/std_sstream.h:
6519 basic_stringbuf<>::basic_stringbuf: fix.
6520 basic_stringbuf<>::setbuf:
6521 remove the temporary __string_type object,
6522 remove the unnecessary dynymic_cast in the return value,
6523 change the type of the returned value from __streambuf_type*
6524 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6526 1999-05-25 Phil Edwards <pedwards@ball.com>
6528 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6530 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6532 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6533 in <math.h>. <cmath> still incomplete and incorrekt.
6535 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6537 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6539 1999-05-23 Phil Edwards <pedwards@ball.com>
6541 * docs/17_intro/howto.html: Added links to text docs,
6543 * docs/21_strings/howto.html: Updated sections and links.
6544 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6545 * docs/faq/index.html: Updated what-works for sixth
6546 snapshot. Also a number of "internal" links have been
6547 fixed, now that the web pages are the docs directory...
6548 * docs/faq/index.txt: Regenerated.
6550 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6552 * bits/basic_string.h: Add Nathan's documentation on the string class.
6554 * testsuite/27_io/ios_members_static.cc: New file, for testing
6555 ios_base::sync_with_stdio.
6557 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6559 * bits/std_locale.h: Simplify includes.
6560 * bits/loccore.h: Delete.
6561 * bits/localefwd.h: Renamed, trimmed.
6562 * bits/locfacets.h: Delete.
6563 * bits/locale_facets.h: Rename, expanded.
6564 * bits/loccore.tcc: Deleted.
6565 * bits/locfacets.tcc: Deleted.
6566 * bits/locale_facets.tcc: Resultant merge.
6567 * bits/std_fstream.h: Modify include.
6568 * bits/ostream.tcc: Same.
6569 * bits/istream.tcc: Same.
6571 * src/locale-inst.cc: And here.
6572 * src/locale.cc: Ditto.
6573 * src/Makefile.am: Updated.
6574 * src/Makefile.in: Rengenerated.
6576 * bits/std_istream.h: Move istream::sentry ctor definition.
6577 * bits/istream.tcc: Move istream::sentry ctor here.
6578 Add more detailed locale include here for ctype member functions.
6579 * bits/ostream.tcc (std): And here.
6581 * bits/sbuf_iter.h: Include std_streambuf.h
6583 * bits/locfacets.h: Start separating this into a localeimp.h file.
6584 * bits/loccore.h: Start separating this into a localefwd.h file.
6585 Add std_climits for CHAR_BIT.
6587 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6589 * bits/char_traits.h: Tweak.
6591 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6593 * bits/std_ostream.h: Remove c++config.h include.
6594 * bits/std_istream.h: Same.
6595 * bits/std_streambuf.h: Same.
6596 * bits/std_fstream.h: Same.
6597 * bits/std_sstream.h: And here.
6599 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6600 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6601 * bits/fpos.h: Tweak, format.
6603 * std/ciso646: New file.
6604 * bits/std_ciso646.h: New file.
6605 * src/Makefile.am (std_headers): Add ciso646.
6606 (headers): Add bits/std_ciso646.h.
6607 * src/Makefile.in: Regenerate.
6608 * testsuite/17_intro/header_ciso646.cc: New file, disable
6611 * bits/fpos.h: Remove libio.h include.
6612 * bits/basic_file.h: And here.
6613 * bits/std_ios.h: Put here.
6615 * src/ios.cc: Simplify includes, tweak.
6616 * bits/std_ios.h: Simplify include order.
6617 * bits/ios_base.h: Modify ios_base::failure.
6619 * stl/bits/std_numeric.h: Change include from stl_iterator to
6622 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6624 * std/iostream: Remove static member __ioint.
6625 * bits/std_iostream.h: Put here.
6627 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6628 * stl/bits/stl_algobase.h: Same.
6629 * testsuite/27_io/iostream_objects.cc: Regression tests.
6630 * testsuite/27_io/hello.cc: Remove, subset of above.
6632 1999-05-19 Phil Edwards <pedwards@ball.com>
6634 * docs/index.html: Tweak, update.
6636 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6638 * docs/17_intro/RELEASE-NOTES: remove outdated
6639 documentation about numeric_limits. Correct CXXINCLUDE setting
6642 1999-05-18 Phil Edwards <pedwards@ball.com>
6644 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6645 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6646 27_io}/howto.html: Created, with some initial entries.
6647 * docs/faq/index.html: Fixed some links.
6648 * docs/faq/index.txt: Regenerated.
6650 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6652 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6654 * docs/17_intro/RELEASE-NOTES: Update.
6655 * docs/index.html: Correct link to mailing list help page, update News.
6656 * docs/faq/index.html: Change fifth to sixth for snapshot.
6658 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6659 install $(top_builddir)/bits/std_limits.h into
6660 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6661 Makefile.am changes.
6662 * *Makefile*: Regenerate using automake.
6664 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6665 * testsuite/27_io/filebuf.cc: Same.
6667 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6669 * docs/17_intro/CHECKLIST: update.
6670 * docs/17_intro/TODO: update.
6672 1999-05-17 Phil Edwards <pedwards@ball.com>
6674 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6675 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6676 27_io}/howto.html: Created, with some initial entries.
6677 * docs/faq/index.html: Fixed some links.
6678 * docs/faq/index.txt: Regenerated.
6680 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6682 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6683 * Makefile.in*: Regenerate.
6685 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6687 * bits/std_streambuf.h: Same.
6689 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6690 * bits/locfacets.h (std): Same.
6691 * bits/sstream.tcc: Same.
6692 * testsuite/27_io/stringstream.cc: Tweak.
6694 * testsuite/27_io/filebuf.cc: Adjust.
6695 * testsuite/21_strings/capacity.cc (test01): Add more
6696 string::reserve tests.
6698 * bits/c++config.h: Remove broken CCTYPE.
6699 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6700 sequestered topper implementation.
6701 * bits/std_cwctype.h: Same.
6703 * bits/missing.h: Remove.
6704 * bits/std_locale.h: Remove missing.h include.
6706 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6708 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6709 INCLUDES: Add top_builddir.
6710 * src/Makefile.in: Regenerate.
6712 * Makefile.am: Add check and check-install as new targets.
6713 * testsuite/make_check_libfree++: Move to. . .
6715 * configure.in: Tweak versions.
6716 * mknumeric_limits: Set paths correctly.
6718 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6720 * src/Makefile.in (myinstallheaders): add rule to install
6723 * bits/slice.h (class slice): don't const-qualify data members
6724 since the copy and assignment operator is implicitly used. The
6725 valarray specification is definitively a bad one.
6727 * Makefile.in (generate-limits-sources): fix typo.
6729 * docs/text/TODO: update.
6730 * docs/text/CHECKLIST: update.
6732 * bits/gslice.h (gslice): fix bugglet.
6733 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6736 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6737 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6738 [Note: **/Makefile.in should be generated from the corresponding
6739 Makefile.am. The current situation is a litte chaotic. ]
6741 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6743 * mknumeric_limits: tweak.
6745 * Makefile.in (all): add target generate-limits-sources.
6746 (generate-limits-sources): make a directory bits/ in top_builddir
6747 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6748 directly under $(top_builddir)/src. Remains to put the appropriate
6749 rule for installing std_limits.h.
6751 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6752 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6753 now generated at build-time in the build directory
6754 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6755 * src/Makefile.am: reflect changes in src/Makefile.in
6757 1999-05-12 Phil Edwards <pedwards@ball.com>
6759 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6760 all but one empty entry. Add links for HOWTOs, but no files yet.
6761 (Corrected HOWTO links are for bkoz's new scheme.)
6762 * docs/faq/index.txt: Regenerated.
6764 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6766 * testsuite/17_intro/headers.cc: New file.
6767 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6768 * bits/std_cwctype.h: New file.
6770 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6772 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6774 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6775 Check __USE_MALLOC before defining specializations containing
6776 __default_alloc_template.
6777 * src/stl-inst.cc: Here too.
6779 * bits/basic_string.h: Change.
6781 * testsuite/make_check_libfree++: More tweaks.
6782 * testsuite/21/capacity.cc: New file.
6784 * src/string.cc: Rename to be consistent with other inst files.
6785 Rename to string-inst.cc.
6786 * src/string*.cc: Change include.
6787 * src/wstring.cc: Rename to wstring-inst.cc.
6788 * src/wstring*.cc: Ditto.
6789 * src/Makefile.in: Also here.
6790 * src/Makefile.am: Ditto.
6792 * src/traits.cc: Remove.
6793 * src/wtraits.cc: Same.
6795 Try a new way of organizing documentation, one with synchronicity
6796 between testsuites and docs subdirectories, and see who yelps.
6797 * docs/html: Remove, use chapter and subject specific directories
6798 instead of forcing things immediately into format of
6802 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6803 directory and sort by filename and extension.
6804 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6805 22_locale, 23_containers, 24_iterators, 25_algorithms,
6806 26_numerics, 27_io: Add.
6807 * docs/17_intro/*: Populate with all the text files. . .
6808 * docs/index.html: Construct.
6810 * testsuite/*: Update with same names as the docs subdir.
6811 * testsuite/results: Where to stash conformance results for the
6812 different snapshots, so that progress/size/speed issues can be
6815 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6817 * src/string.cc: Add _S_copy_chars instantiation, as well as
6818 string::binary operators !=, ==, etc.
6820 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6821 * src/Makefile.in (CXXFLAGS): Same here.
6822 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6824 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6826 * src/string.cc: Add missing member functions to instantiation list.
6828 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6830 * src/misc-inst.cc: Remove unused string instantiations.
6832 * bits/string.tcc: Tweak, fix.
6833 * bits/basic_string.h: Format. Fix reported error with c_str().
6835 * testsuite/make_check_libfree++: Tweak for shared builds.
6836 * testsuite/21/operations.cc: New file for testing c_str() etc.
6838 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
6839 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6841 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
6842 an iterator class. Delineate pointer versus iterator differences
6844 * 23/vector_capacity.cc: New file, tests for above.
6846 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6848 * mknumeric_limits: Fix typo. 'unsigned lont' should read
6850 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
6851 generated by mknumeric_limits to the list. Now std_limits.h is
6853 * src/Makefile.in (generate-numeric-limits): new target to handle
6854 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
6855 (all): add target generate-numeric-limits.
6856 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
6857 (libstdc___la_SOURCES): add limitsMEMBERS.cc
6859 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6862 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
6863 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
6864 * bits/locfacts.h: Here.
6866 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6867 Ulrich Drepper <drepper@cygnus.com>
6869 Solaris build issues.
6870 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
6873 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
6874 float overloads to use the above macros. Account for the lack of
6875 strtold on some systems, and revert back to using sscanf.
6877 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6879 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
6880 Use strtoul/strtoull for unsigned types. Check the ranges for
6881 short/unsigned short and if necessary for int/unsigned int.
6883 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
6885 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
6886 to generate bits/std_limits.h now, as the SGI std_limits.h is
6887 being depricated. Not done, but should be done immediately: need
6888 to make sure this script is run as part of the configuration
6889 process, because without it "make" in a configured build directory
6890 will fail. Also tweaked: added a space for float_round_style, and
6891 used static_cast of zero to default-initialize, which should be ok
6892 according to the standard. (see 8.5 p5 and 20.1.3).
6893 * mknumeric_limits (OUT_C): Need this for x86 long
6896 * bits/basic_file.h: Include libio.h, not libioP.h.
6897 * src/basic_file.cc: And add libioP.h include here, so that
6898 _IO_init, et. al are well-declared.
6900 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
6901 headers, not source directory headers.
6903 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
6904 for ext/*. Also add basic_file.h.
6905 * src/Makefile.in (headers): Same.
6907 * bits/std_string.h: Reduce dependencies for faster
6908 pre-processing. Move istream and ostream specific defines into
6909 istream.tcc and ostream.tcc respectively.
6910 * bits/string.tcc: And here.
6911 * bits/basic_string.h: Move getline inline out-of-line, and to
6913 * bits/istream.tcc: Move string::getline and operator>> here.
6914 * bits/ostream.tcc: And here too.
6916 * bits/utility.h: Remove, as clashes with a standard header. Put
6917 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
6918 being, until this can be combined with SGI's approach.
6919 * bits/string.tcc: Add macros, as above.
6920 * bits/loccore.h: Add _Count_ones defines.
6921 * bits/std_string.h: And here too.
6922 * bits/std_locale.h: And here.
6923 * bits/std_ios.h: Take out include here.
6924 * src/Makefile.am (headers): Remove utility.h
6925 * src/Makefile.in (headers): Remove utility.h
6927 * stl/bits/*: Update to SGI STL 3.20.
6928 * stl/ext/pthread_alloc: Delete this file.
6930 1999-05-04 Phil Edwards <pedwards@ball.com>
6932 * docs/faq/html/index.html: Add more entries
6933 * docs/faq/html/index.txt: regenerated.
6935 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6937 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
6939 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
6941 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
6942 from Ulrich and Nathan. Remove extraneous string class usage,
6943 tweak, clean, simplify and consolidate with a eye towards removing
6944 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
6945 Not done: dealing with leading zeros, wchar_t work.
6946 * bits/locfacets.h: And here too.
6950 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6953 * docs/faq/: New directory.
6954 * docs/faq/html/: Likewise.
6955 * docs/faq/text/: Likewise.
6956 * docs/faq/html/index.html: New file.
6957 * docs/faq/html/index.txt: Likewise. Generated from
6958 docs/faq/html/index.html by lynx.
6960 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
6961 Ryszard Kabatek and Branko Cibej
6963 * bits/locfacets.tcc: Modify.
6965 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
6967 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
6968 conformant to 14882, wrap non-standard extensions with
6969 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
6970 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
6972 * testsuite/27/istringstream_formatted.cc: Add tests.
6974 * bits/locfacets.h: Remove cruft from _Format_cache, continue
6975 commenting, simplify.
6976 * bits/locfacets.tcc: Same.
6978 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6979 * bits/locfacets.tcc (num_get::do_get):
6980 Fix the sscanf format parameter
6981 for long long 'll' (as in C9X) instead of 'l'.
6982 Fix the order of sscanf format parameters: "%dl" --> "%ld".
6983 Change the type of the local variable '__conv' from 'string'
6984 to 'const char*' and adapt the change.
6986 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6988 * bits/locfacets.h: Document _Format_cache, and name data members
6989 after the corresponding functions in numpunct. For instance:
6990 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
6991 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
6992 * bits/locfacets.tcc: Same.
6994 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
6995 stop parsing--store for later analysis.
6996 * testsuite/27/istringstream_formatted.cc: Add cases.
6998 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7000 * bits/valarray_meta.h: tweak.
7001 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7002 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7003 happy -- boggus warning.
7004 * bits/std_valarray.h: Fix.
7005 (valarray<T>::shift): Fix. Update comment.
7006 (valarray<T>::cshift): Fix.
7008 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7010 * testsuite/27filebuf-2.txt: Delete.
7011 * testsuite/27/filebuf.cc: Put output files directly into the
7012 correct subdirectory (27).
7014 Alexandre Petit-Bianco <apbianco@cygnus.com>
7015 * testsuite/make_check_libfree++: Check generated (*.txt) file
7016 against stored results file (*.tst).
7018 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7020 * bits/locfacets.tcc: Fix.
7022 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7023 (filebuf::overflow): Simplify.
7024 (filebuf::xsputn): Correctly handle indeterminate state.
7026 * testsuite/27/istringstream_formatted.cc: Tweak.
7027 * testsuite/27/filebuf.cc: Tweak.
7028 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7029 results file, please use this in the future to guarantee filebuf
7030 positioning accuracy.
7031 * testsuite/27/filebuf-2.tst: Same.
7033 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7035 * bits/fstream.tcc (filebuf::xsputn): Add.
7036 * bits/std_fstream.h: Declare.
7038 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7039 calls using ios_base::trunc.
7041 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7043 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7044 * testsuite/27/27stringstream.cc: Same.
7045 * testsuite/27/27stringbuf.cc: More tweaks.
7046 * testsuite/27/27filebuf-2.txt: Remove.
7048 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7049 BUFSIZE so that overflows/underflow can be tested with default
7051 * testsuite/27/27filebuf-1.tst: Add.
7053 * testsuite/*/*: Remove pre-pended chapter names, as they
7054 duplicate the chapter info contained in the enclosing directory
7057 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7059 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7060 to sputc conditions.
7062 * bits/ios_base.h: Define here.
7063 * src/ios.cc (ios_base::_M_clear): Remove hack.
7064 * bits/basic_ios.h: Fix rdstate().
7066 * bits/sstream.tcc (streambuf::seekoff): Fix.
7067 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7069 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7070 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7071 * testsuite/27/27stringstream.cc: Same.
7072 * testsuite/27/27stringbuf.cc: Same.
7073 * testsuite/27/27istringstream_formatted.cc: Same.
7074 * testsuite/27/27filebuf.cc: Same.
7076 * bits/locfacets.h: Remove specializations for messages<char> and
7077 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7078 * src/locale.cc: Remove definitions for above.
7079 * src/misc-inst.cc: Revert, take out iomanip.h include.
7080 * bits/std_iomanip.h: Tweak, format.
7082 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7084 * bits/loccore.h: Format, move inline.
7085 * bits/locfacets.tcc: Same.
7086 * bits/locfacets.h: Same.
7088 Ulrich Drepper <drepper@cygnus.com>
7089 * aclocal.m4: Re-generate.
7090 * configure, configure.in: Same.
7091 * m4/lc_messages.m4: New file.
7093 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7095 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7096 * bits/sstream.tcc: Tweak.
7098 * std/iostream: Put __ioinit inside macro guards.
7100 * src/stlinst.cc: Delete and move to . . .
7101 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7102 * src/Makefile.in: Change.
7103 * src/Makefile.am: Same.
7104 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7106 * testsuite/make_check_libfree++: Efficiently format for minimal
7107 space. Enforce stricter execution tests by enabling
7110 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7112 * docs/text/RELEASE-NOTES: Fix include typo.
7114 * src/Makefile.am (headers): Add istream.tcc.
7115 * src/Makefile.in (headers): Add istream.tcc.
7117 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7119 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7121 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7122 * bits/locfacets.h (num_get::_M_extract): New functin:
7123 consolidate logic for do_get(...) members.
7125 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7126 * testsuite/27/27istringstream_formatted.cc: Add.
7128 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7130 * src/basic_file.cc (__basic_file::open): Fix thinko in
7131 _G_HAVE_IO_FILE_OPEN bits.
7132 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7133 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7134 * src/complex.cc (FCT): Qualify all functions with global namespace.
7135 * src/locale.cc: Don't qualify memcpy and setlocale.
7136 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7137 (__length_error): Likewise, for length_error.
7138 * src/stlinst.cc: Qualify instantiations with std::.
7140 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7142 * C++STYLE: Add ChangeLog guidelines for member functions.
7145 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7146 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7147 docs/text and made less strident.
7149 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7150 * bits/std_fstream.h: Same.
7153 * bits/locfacets.h: Touch.
7155 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7157 * math/cexp.c (cexp): Use NAN instead of nan("").
7158 Reported by joel reed <joelreed@yahoo.com>.
7160 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7161 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7162 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7163 instead of #if cascades.
7164 * libio/genops.c: Likewise.
7165 * libio/ioseekoff.c: Likewise.
7166 * libio/ioseekpos.c: Likewise.
7167 * libio/strops.c: Likewise.
7168 Patch by Chip Salzenberg <chip@perlsupport.com>.
7170 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7172 * docs: New directory.
7173 * docs/html: Likewise.
7174 * docs/text: Likewise.
7175 * docs/image: Likewise.
7177 * bits/std_cmath.h: Add new functions.
7178 (abs): overload for long and double.
7179 (div): overload for long.
7181 * bits/valarray_array.h: Fix.
7182 * bits/gslice.h: Adjust friend.
7183 * bits/slice_array.h: likewise.
7184 * bits/valarray_meta.h: likewise.
7186 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7188 * bits/locfacets.h: More changes, for num_get for insertion
7189 operators for integral types. Comment fields in _Format_cache.
7190 * bits/locfacets.tcc: And here too: add preliminary long version.
7191 * testsuite/27/27istringstream_formatted.cc: Add cases.
7193 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7195 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7196 AC_LC_MESSAGES macro.
7197 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7198 supports LC_MESSAGES.
7199 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7200 * src/locale.cc (locale::_S_normalize_category): Use the
7201 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7202 _G_NO_CLOCALE_HAS_MESSAGES.
7203 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7204 '?:' from '?:\\' so any path beginning with a drive name matches.
7206 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7208 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7210 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7212 * bits/locfacets.h: Tweak.
7213 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7215 * testsuite/21/21nonmember.cc: Same.
7216 * testsuite/21/21compare.cc: Fix license.
7217 * testsuite/27/27istringstream_formatted.cc: New file.
7219 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7221 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7222 _BinBase2: new template classes; put in there to work around a
7223 compiler limitation. The whole valarray architecture is now
7226 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7228 * bits/locfacets.tcc: Fix, format.
7229 * bits/locfacets.h: Fix.
7230 * src/locale.cc: Same, plus format.
7232 * bits/basic_string.h: Re-add definition here.
7233 * src/string.cc: Take out.
7235 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7237 * bits/std_valarray.h: tweak.
7238 * bits/valarray_array.h tweak. use _Expr.
7239 * bits/slice_array.h: likewise.
7240 * bits/gslice_array.h: likewise.
7241 * bits/mask_array.h: likewise.
7242 * bits/indirect_array.h: likewise.
7243 * bits/valarray_meta.h: tweak.
7244 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7245 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7246 _IClos: new template classes.
7247 _Meta: renamed to _Expr. Made template with args.
7248 _Constant: made template with two args.
7250 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7252 * bits/valarray_array.h: tweak.
7254 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7256 * bits/basic_string.h: Whoops--fix blip.
7258 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7260 Update to SGI STL 3.13
7261 * bits/basic_string.h: Add __get_c_string definition.
7262 * stl/bits/stl_range_errors.h: New file.
7263 * stl/bits/std_bvector.h: Same.
7264 * stl/bits/*: Update.
7266 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7268 * bits/slice_array.h: tweak.
7269 * bits/gslice_array.h: tweak.
7270 * bits/mask_array.h: tweak.
7271 * bits/indirect_array.h: tweak.
7272 * bits/valarray_array.h: tweak.
7273 (__valarray_copy): replace copy with memcpy.
7274 * bits/std_valarray.h: use __valarray_copy whenever possible.
7275 use __valarray_fill instead of fill.
7277 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7279 * src/gen-num-limits.cc: new file
7280 * mknumeric_limits: Ditto.
7282 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7284 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7286 * bits/locfacets.h: Add num_get::get methods overloaded for int
7287 and short, to resolve ambiguous overloads in istream insertion
7290 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7292 * bits/std_istream.h: Fix.
7293 * bits/istream.tcc: Fix.
7295 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7297 * testsuite/24/24iterator.cc: fix ++/-- tests
7299 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7301 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7302 * bits/ostream.tcc: Same.
7304 * bits/std_istream.h: Bring over ostream changes, implement member
7305 functions. Baseline.
7306 * bits/istream.tcc: New file.
7308 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7310 * bits/gslice.h (class gslice): fix friends template.
7312 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7314 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7316 * bits/ostream.tcc: Same.
7318 * bits/std_istream.h: Minor tweaks.
7320 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7322 * src/locale-inst.cc: Remove duplicate instantiations.
7323 * bits/locfacets.tcc: Tweak definitions of static member.
7325 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7327 * bits/std_fstream.h: Format: prepend "__" in front of
7328 non-standard typedefs.
7329 * bits/fstream.tcc: Match.
7330 * bits/std_streambuf.h: Format: prepend "__" in front of
7331 non-standard typedefs.
7333 * bits/sstream.tcc: Match.
7334 * bits/std_istream.h: Format.
7335 * src/locale-inst.cc: Add num_get instantiations.
7337 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7338 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7339 _M_streambuf instead. Make initializations sane. Fix
7340 allocation/deallocation of _M_streambuf.
7341 * bits/std_ostream.h: Fix initialization code.
7342 (ctor): Eliminate redundant this->init(), let base class initialize.
7343 (default ctor): New. Assume base classes already initialzed.
7344 * bits/std_istream.h: Parallel work to ostream.
7345 (ctor): Eliminate redundant this->init(), let base class initialize.
7346 (default ctor): New. Assume base classes already initialzed.
7347 Fix initialization of basic_iostream.
7349 * bits/std_fstream.h: While we're at it, make initializations sane
7350 here too. Now matches sstream.h.
7352 * bits/string.tcc: Fix crash in basic_string::compare.
7353 * bits/basic_string.h: And here.
7354 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7356 * testsuite/make_check_libfree++: Check shared as well.
7357 * testsuite/27/27stringstream.cc: Add bits.
7358 * testsuite/27/27boolfmt.cc: Add bits.
7359 * testsuite/27/27octfmt.cc: Add bits.
7361 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7363 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7365 * bits/locfacets.h: Fix errors that cause build problems
7366 with current egcs (template parameters have class scope).
7367 * bits/locfacets.tcc: Same.
7368 * src/locale-inst.cc: Same, clean.
7369 * src/misc-inst.cc: Same, clean.
7371 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7373 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7374 standard. Re-apply this previous patch.
7376 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7378 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7379 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7380 * bits/string.tcc: Ditto.
7381 * src/misc-inst.cc: Ditto.
7382 * src/locale-inst.cc: Ditto.
7383 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7384 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7385 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7388 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7390 * bits/locfacets.tcc: Remove macro hack.
7391 * bits/locfacets.h: Tweaks.
7392 * src/misc-inst.cc: Weed out locale-related instantiations.
7393 * src/locale-inst.cc: Same.
7395 * RELEASE-NOTES: Make more changes.
7396 * bits/c++config.h: Bump version number.
7398 * testsuite/make_check_libfree++: Collect diagnostics.
7400 * bits/std_ostream.h: Fix ostream initialization/destruction
7401 problem, related to dtor cleanup and new cached facets, agggggggh.
7402 * bits/ostream.tcc: Tweak.
7403 * bits/locfacets.h: Remove all friends of iostream classes.
7404 * bits/ios_base.h: Same.
7405 * bits/streambuf.tcc: Tweak.
7406 * bits/std_streambuf.h: Tweak.
7407 * bits/std_fstream.h: Tweak.
7408 * bits/fstream.tcc: Tweak.
7409 * src/stdstreams.cc: Tweak.
7410 * src/ios.cc: Close streams.
7412 * math/Makefile.in: Add missing files for shared link errors.
7413 * math/Makefile.am: Same.
7415 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7417 * src/locale-inst.cc: More wchar_t instantiations.
7418 * src/misc-inst.cc: Missed a few bits.
7419 * testsuite/make_check_libfree++: Add static and shared runs.
7420 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7422 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7424 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7425 facets. Resolve link errors.
7426 * bits/ostream.tcc: Same.
7427 * src/misc-inst.cc: Add ostream, wostream instantiations.
7428 * src/Makefile.am: Add missing bits for stdstreams.cc.
7429 * src/Makefile.in: Same.
7430 * bits/std_iosfwd.h: Format.
7431 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7432 num_put so that cached _M_fnumput pointer can be deleted in
7433 basic_ostream's dtor. Now everybody plays nice.
7435 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7437 * bits/gslice.h (class gslice): Make friends valarray,
7438 gslice_array and _GliceExpression.
7440 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7442 * RELEASE-NOTES: Update.
7443 * src/ios.cc: Use do proper init.
7444 * bits/std_streambuf.h: Tweak.
7445 * bits/std_iostream.h: Take out static member.
7446 * std/iostream: Put here.
7447 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7448 * bits/std_istream.h: Ditto.
7449 * bits/basic_ios.h: Format.
7450 * bits/ostream.tcc(write): Fix.
7451 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7452 initialization of the fstream class.
7453 * src/stdstreams.cc: I'm baaaaaaaack.
7455 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7457 * bits/ios_base.h: Correct comments. Add ios_base::init()
7458 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7459 * src/misc-inst.cc: Add instantiations here.
7460 * src/ios.cc: Clean.
7461 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7462 * src/stdstreams.cc: Delete this file, as now unnecessary.
7463 * bits/fstream.tcc: Add missing initialization bits for ctor.
7464 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7465 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7467 * bits/streambuf.tcc: Tweak.
7468 * bits/sstream.tcc: Here too.
7470 * bits/fstream.tcc: And change definition as well.
7471 * bits/std_fstream.h: Change ctor.
7472 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7473 * bits/basic_file.h: Add declarations.
7475 * testsuite/27/27hello.cc: New file.
7477 * bits/std_ostream.h: Move flush() inline.
7478 * bits/ostream.tcc: From here.
7480 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7481 * bits/std_ios.h: Change include libio to only when necessary.
7482 * bits/fpos.h: Like here.
7483 * ios_base.h: And here.
7485 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7486 * bits/locfacets.tcc: Same.
7487 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7488 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7490 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7492 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7494 * bits/std_streambuf.h: Clean, tweak.
7495 * bits/std_fstream.h: Same.
7496 * bits/std_sstream.h: Same.
7497 * bits/streambuf.tcc: Move most member functions out-of-line.
7498 * bits/fstream.tcc: Same.
7499 * bits/streambuf.tcc: Same.
7501 * bits/basic_file.h(filepos_cur): Set correctly.
7502 (filepos_beg): Same.
7503 (seekpos): Change to __c_streampos.
7504 * src/basic_file.cc (std): Change to __c_streampos.
7506 * testsuite/27/27filebuf.cc: Round one is finished.
7507 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7508 * testsuite/27/27filebuf-3.tst: Same.
7510 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7512 * bits/basic_file.h: Fix typo, add comments about what to expect
7513 from the various member functions in __basic_file.
7515 * bits/std_fstream.h: Re-do sync/underflow to work
7516 together. Change from sys_read to xsgetn and from sys_write to
7517 xsputn. As it should have been from the beginning. . .
7519 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7521 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7523 * bits/basic_file.h(file_beg): New function.
7526 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7527 * bits/std_fstream.h: More _M_mode refinements.
7528 (synch): Add bits for out mode only.
7529 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7530 * bits/std_sstream.h: Ditto.
7532 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7534 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7535 * testsuite/27/27filebuf.cc: Modify.
7536 * bits/c++config.h: Fix.
7538 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7540 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7541 code in place that diverges from the final standard, but has been
7542 brought up on the library mailing list.
7544 * bits/std_fstream.h(underflow): Position all three internal
7545 buffer pointers at the same initial position. Re-implement with
7546 basic_filebuf abstraction.
7550 * bits/std_sstream.h: Move _M_mode down into base class
7552 * bits/sstream.tcc: Ditto.
7553 * bits/std_streambuf.h: Ditto.
7555 * testsuite/27/27filebuf.cc: Tweak.
7557 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7559 * bits/std_sstream.h: Ditto.
7560 * bits/std_fstream.h: Fix blip.
7562 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7564 * C++STYLE: Add cases.
7565 * bits/std_fstream.h: Format.
7566 * bits/std_streambuf.h: Ditto.
7567 * bits/std_sstream.h: Ditto.
7569 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7570 return type for _IO_file_seek and __basic_file::seek the same size.
7571 * bits/basic_file.h: Ditto.
7573 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7575 * bits/fstream.tcc: Add include guards.
7576 * src/misc-inst.cc: Add instantiations for shared libes.
7577 * src/locale-inst.cc: Add instantiaions for use_facet.
7578 * bits/loccore.h: Remove specialization foward decls for
7579 use_facet<ctype>: perhaps add the whole lot of them later on.
7580 * bits/std_fstream.h: Fix.
7581 * bits/locfacets.h: Ditto.
7582 * src/stdstreams.cc: Disable wide streams for now.
7584 * src/Makefile.am (CXXFLAGS): Change up.
7585 * src/Makefile.in (CXXFLAGS): Ditto.
7587 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7589 * src/basic_file.cc: Change to ios_base::seekdir from int.
7590 * bits/basic_file.h: Ditto.
7591 * bits/locfacets.h : Fix blip with new guard macros.
7593 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7595 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7596 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7598 * amm1/locale: Remove unused defines.
7599 * generic/locale: Ditto.
7600 * src/ios.cc: Ditto.
7601 * src/locale.cc: Ditto.
7602 * src/locale-inst.cc: Ditto.
7603 * src/localename.cc: Ditto.
7604 * src/stdstreams.cc: And here.
7606 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7607 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7608 * bits/loccore.tcc: Ditto.
7609 * bits/locfacets.h: Ditto.
7610 * src/locale-inst.cc: Ditto.
7611 * bits/locfacets.tcc: Add do_put long long here.
7613 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7615 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7616 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7617 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7618 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7619 * bits/std_fstream.h: Tweak.
7621 * bits/char_traits.h: Remove fpos definitions from here. . .
7622 * bits/fpos.h: New file, put them here. Eventually, this may allow
7623 the severing of char_traits and fpos dependancies.
7624 * src/Makefile.in: Add fpos.h.
7625 * src/Makefile.am: Ditto.
7626 * bits/std_string.h: Add fpos.h include here.
7627 * bits/std_ios.h: And here.
7629 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7630 * bits/ios_base.h: Remove cstdio include.
7631 * bits/std_ios.h: ... Place here.
7633 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7635 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7636 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7638 * bits/basic_file.h: Comment, adjust arguments.
7639 * src/basic_file.cc: Ditto.
7641 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7642 type: check and convert accordingly. Re-interpet "resultant stream
7643 position" to indicate external byte sequence location, not internal
7646 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7648 * mkcshadow: And change copyright here.
7649 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7650 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7651 stl_thread.h, and stl_iterator_base.h.
7652 * src/Makefile.in (CXXFLAGS): Ditto.
7653 * stl/backward/pthread_alloc.h: Remove.
7655 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7657 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7659 * bits/std_fstream.h (pbackfail): Correct.
7661 (seekoff): Implement.
7663 * testsuite/27/27filebuf.cc: Add test cases.
7665 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7667 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7668 with the external buffers, and stop mucking around with setting
7669 and re-setting the external buf's pointers. Aka, clarity and
7670 simplicity rule the day.
7671 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7672 Remove partial result and support code.
7674 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7676 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7677 list of function which have to be replaced.
7678 Remove expf from list of functions to test for.
7679 Define USE_LONG_DOUBLE in case the libm has partial support for long
7681 * Makefile.in: Regenerated.
7682 * config.h.in: Likewise.
7683 * configure: Likewise.
7684 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7685 * libio/Makefile.in: Regenerated.
7686 * src/Makefile.in: Regenerated.
7687 * string/Makefile.in: Regenerated.
7688 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7689 atan2f.c, expf.c, and $(EXTRA_yes).
7690 (EXTRA_yes): Add signbitl.c mycabsl.c.
7691 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7692 (libmath_la_SOURCES): remove long double versions.
7693 * math/Makefile.in: Regnerated.
7694 * math/atan2f.c: New file.
7695 * math/copysignf.c: New file.
7696 * math/expf.c: New file.
7697 * math/hypot.c: New file.
7698 * math/hypotf.c: New file.
7699 * math/hypotl.c: New file.
7700 * math/cargf.c: Use correct function and macro names.
7701 * math/ccos.c: Likewise.
7702 * math/ccosh.c: Likewise.
7703 * math/ccoshf.c: Likewise.
7704 * math/ccoshl.c: Likewise.
7705 * math/cexp.c: Likewise.
7706 * math/cexpf.c: Likewise.
7707 * math/cexpl.c: Likewise.
7708 * math/clog.c: Likewise.
7709 * math/clog10.c: Likewise.
7710 * math/clog10f.c: Likewise.
7711 * math/clog10l.c: Likewise.
7712 * math/clogf.c: Likewise.
7713 * math/clogl.c: Likewise.
7714 * math/copysignf.c: Likewise.
7715 * math/csin.c: Likewise.
7716 * math/csinf.c: Likewise.
7717 * math/csinh.c: Likewise.
7718 * math/csinhf.c: Likewise.
7719 * math/csinhl.c: Likewise.
7720 * math/csinl.c: Likewise.
7721 * math/csqrt.c: Likewise.
7722 * math/csqrtf.c: Likewise.
7723 * math/csqrtl.c: Likewise.
7724 * math/ctan.c: Likewise.
7725 * math/ctanf.c: Likewise.
7726 * math/ctanh.c: Likewise.
7727 * math/ctanhf.c: Likewise.
7728 * math/ctanhl.c: Likewise.
7729 * math/ctanl.c: Likewise.
7731 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7733 * testsuite/27/27filebuf.cc: Add cases.
7734 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7735 * bits/std_streambuf.h: Simplify, always have one return statement.
7736 * bits/std_fstream.h: Tweak comments in underflow.
7738 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7740 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7741 * ltconfig: Likewise.
7743 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7745 * src/locale.cc: Fix assert.
7747 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7749 FIXME: Still need some kind of solution for undefined math symbols.
7750 * src/Makefile.in (locale-inst.lo): Compile with
7751 -fimplicit-templates to fix Solaris link problem.
7752 * src/Makefile.am: Ditto.
7753 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7754 * libio/Makefile.am: Ditto.
7755 * src/locale.cc: Provide some kind of def for _S_tolower.
7756 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7757 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7759 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7761 * bits/loccore.tcc: Move member-template ctor inline...
7762 * bits/loccore.h: ...here.
7763 * src/locale-inst.cc: Add instantiation here.
7765 * testsuite/27/27stringstream.cc: Tweak.
7767 * bits/ostream.tcc: Include sbuf_iter.h.
7769 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7770 passing to num_put, as num_put's first argument is an interator,
7773 * testsuite/make_check_libfree++: New file, runs through the
7774 existing test files in the testsuite directory and makes sure
7777 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7779 * testsuite/21/21compare.cc: Fix typo.
7780 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7781 Don't try to provide non-linux versions, since it's impossible to
7782 initialize their const references with the integer 0, no matter
7783 how we try to cast it.
7785 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7787 * bits/std_locale.h: Move std_vector.h dependency.
7788 * bits/std_ios.h: ...from here.
7789 * bits/std_string.h: ...and here.
7790 * src/locale.cc: ..to here.
7791 * bits/loccore.h: Ditto, add vector forward declaration,
7792 make locale::_Impl data members pointers not containers.
7793 * bits/loccore.tcc: Move out-of-line for now.
7794 * bits/locfacets.h: Move vector dependency from here...
7795 * bits/locfacets.tcc: ...to here.
7796 * src/localename.cc: ..and here.
7797 * src/locale-inst.cc: Add include of locfacets.tcc here.
7799 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7800 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7801 * bits/string.tcc: Tweak.
7802 * src/string.cc: And add __get_c_string def here.
7804 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7806 * src/stlinst.cc: Add include of stl_config.h.
7808 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7810 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7811 * stl/bits/stl_config.h: Tweak, update.
7812 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7814 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7815 * stl/bits/std_functional.h: Ditto.
7817 * stl/bits/stl_string.h: New file, SGI's string
7818 implementation. For reference only, corresponding to string in
7820 * stl/bits/stl_char_traits.h: As above.
7822 * stl/bits/pthread_allocimpl.h: New file corresponding to
7824 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7826 * stl/bits/stl_threads.h: New file.
7828 Note that SGI STL 3.12's file iterator.h is not used.
7829 * stl/bits/std_iterator.h: Ditto.
7830 * stl/bits/stl_iterator.h: Drop in replace.
7831 * stl/bits/stl_iterator_base.h: New file, drop in replace.
7833 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
7834 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
7835 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
7836 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
7837 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
7838 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
7839 preprocessor guards, but fixup include paths and names according
7840 to new directory layout).
7842 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
7844 * bits/std_fstream.h: Remove _M_open data member.
7845 * bits/fstream.tcc: Ditto.
7847 * src/locale.cc: Tweak.
7849 * bits/std_sstream.h: Simplify.
7851 * bits/std_streambuf.h: Simplify.
7852 (sputc): Use correct definition of "write area."
7854 * bits/std_fstream.h: Fix uflow.
7855 * src/basic_file.cc: Tweak.
7856 * testsuite/27/27filebuf.cc: Add tests.
7857 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
7859 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7861 * bits/ios_base.h: Make protected.
7863 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7865 * bits/ios_base.h: Changes in the class ios_base:
7866 Rename _M_exceptions member to _M_exceptions_data.
7867 Make the member functions rdstate(), clear(), exceptions()
7868 and exceptions(iostate) protected and add the "_M_" prefix.
7869 * src/ios.cc: Ditto.
7870 * bits/basic_ios.h: Adapt the changes from ios_base.
7872 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
7874 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
7875 * bits/fstream.tcc: Ditto.
7877 * bits/std_fstream.h (underflow): Resize deallocates memory and
7878 resets pointers in the internal cache according to new _M_buf. . dooh!
7879 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
7881 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7883 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7886 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
7888 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
7889 into account partial returns.
7890 (codecvt::do_out): Likewise.
7892 * bits/char_traits.h: Change streamsize to be a signed type, as
7893 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
7894 * bits/std_streambuf.h: Make
7895 in_avail() and showmanyc() have streamsize as return types, so
7896 that showmanyc()'s return of eof won't underflow in_avail's return
7897 value and give a bogus result.
7898 * src/misc-inst.cc: And more changes. . .
7900 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
7901 track of joint in/out pointers into the internal buffer.
7902 (sbumpc): Add check for _M_buf_unified.
7906 * testsuite/27/27filebuf.cc: Add cases.
7907 * testsuite/27/27stringbuf.cc: Add showmanyc case.
7909 * bits/std_fstream.h (close): Fix logic error.
7910 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
7911 (showmanyc): Add underflow component, to match the standard.
7913 * bits/fstream.tcc: Ditto.
7915 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7917 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
7918 * src/basic_file.cc: Ditto.
7919 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
7920 format for dealing with _IO_file in libio.
7922 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
7924 * src/basic_file.cc: Include fcntl.h.
7926 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7928 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
7930 * bits/std_streambuf.h: Redefine read posion.
7932 * bits/std_fstream.h: Temporary hack to get vtables working again.
7933 * bits/basic_file.h: Revert.
7934 * src/basic_file.cc: Ditto.
7935 * testsuite/27/27filebuf.cc: Tweak.
7937 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
7939 * bits/basic_file.h: Add showmanyc, underflow. .
7940 * src/basic_file.cc: Ditto.
7942 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
7945 * testsuite/27/27filebuf.cc: Add testcases.
7946 * src/basic_file.cc: Add O_CREAT to open calls with
7947 ios_base::trunc as part of the open mode.
7949 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7951 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
7953 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
7955 * src/ios.cc (clear): Correct typo.
7956 * bits/ios_base.h: Tweak spacing.
7958 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7960 * bits/basic_ios.h: fix basic_ios::fail()
7962 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
7964 * bits/basic_file.h: Include libioP.h from libio instead of here.
7965 * bits/iolibio.h: Remove.
7966 * bits/libio.h: Remove.
7968 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7970 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
7972 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
7974 * Makefile.am (SUBDIRS): Add libio.
7975 * configure.in: Add rule to test for glibc2.
7977 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
7978 (libstdc___la_LIBADD): Add libio.la.
7980 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
7982 * bits/basic_file.h: Make new abstraction for underlying C library
7983 FILE, named __basic_file.
7984 * src/basic_file.cc: New file.
7985 * bits/os_raw.h: Delete.
7986 * src/os_raw.cc: Delete.
7987 * src/Makefile.in: Tweak.
7988 * src/Makefile.am: Tweak.
7989 * bits/iolibio.h: Add this here, for the time being.
7990 * bits/libioP.h: Ditto.
7992 * bits/ios_base.h: Delete unused defines.
7993 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
7994 strcpy to copy between the two buffers.
7996 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
7997 * testsuite/27/27filebuf.cc: New file.
7998 * testsuite/27/27filebuf-1.txt: Data file for above test.
7999 * testsuite/27/27filebuf-2.txt: Ditto.
8001 * bits/std_streambuf.h (uflow): Re-implement default.
8002 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8003 Re-implement virtual functions.
8004 * bits/fstream.tcc: Delete unused mf's.
8006 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8008 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8009 * bits/std_fstream.h: Ditto.
8010 * src/stdstreams.cc: Ditto.
8012 * math/cpowl.c: Fix header typo with last change.
8014 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8016 * COPYING: New file (GPL v 2).
8017 * LICENSE.STD: Remove.
8018 * ./*: Change license.
8020 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8022 * bits/std_streambuf.h (std): Remove static on _M_init.
8023 * bits/streambuf.tcc (std): Ditto.
8025 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8026 state_type and codecvt_type members, the allocation of an internal
8027 buffer, the streamlined codecvt calls, etc.
8029 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8031 * bits/std_sstream.h: Tweak.
8032 * bits/fstream.tcc: Remove unused stubs.
8033 * bits/std_fstream.h: Tweak.
8035 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8037 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8038 Remove unused _IO_* members, possibly put into filebuf, which may
8040 * bits/std_fstream.h: Add _M_flag.
8041 * bits/sbuf_iter.h: Tweak.
8043 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8044 * bits/ios_base.h: Use.
8046 * src/stdstreams.cc: Modify to reflect standard ctors for
8048 * src/misc-inst.cc: Ditto.
8050 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8051 underlying C library calls instead of the underlying unix
8053 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8054 string as per p.659.
8055 (_S_os_close): Model on fopen.
8056 (_S_os_read): Model on fread.
8057 (_S_os_write): Model on fwrite.
8058 (_S_os_seek): Model on fseek.
8060 * bits/ios_base.h: Tweak.
8061 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8062 * bits/std_sstream.h: Tweak.
8063 * bits/sstream.tcc: Remove old, uncalled code.
8064 * bits/std_fstream.h: Major reconstruction.
8065 * bits/fstream.tcc: Disable for the time being.
8067 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8069 * bits/basic_string.h: Fix insert method.
8070 * stl/bits/stl_iterator.h: Remove previous hack.
8071 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8072 * bits/std_sstream.h: Fix more regressions.
8073 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8075 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8077 * bits/basic_string.h: Tweak.
8079 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8080 that string::append can be instantiated. HACK--checkin
8081 basic_string::iterator class.
8083 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8085 * bits/std_sstream.h: Tweak.
8086 * bits/sstream.tcc: Tweak ctors.
8088 FIXME invalid friend defs. . WHERE ARE THEY??
8090 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8091 names for basic_streambuf data members.
8093 * bits/std_streambuf.h: Add getloc() initialization bits.
8094 basic_streambuf(): Initialize with global locale data.
8095 imbue(): Set _M_init.
8097 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8098 stream pos == pos_type(off_type(-1)).
8099 in_avail(): Complete default implementation.
8100 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8101 underflow, uflow, xsgetn, showmany, sync: Ditto.
8103 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8105 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8106 re-populate with in-line member functions that are too big. Add
8107 initialization for _M_init.
8109 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8111 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8112 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8115 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8117 * bits/c++config.h (_G_DEPRICATED): Add.
8118 (_G_USE_WCHAR_T): Add.
8119 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8120 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8121 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8122 * bits/std_fstream.h: Add comment for implementation.
8123 * src/streambuf.cc: Remove.
8124 * src/Makefile.in: Remove streambuf.lo.
8125 * src/misc-inst.cc: Tweak.
8127 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8129 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8130 * testsuite/27stringstream.C: Modify.
8132 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8134 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8135 (libstdc___la_SOURCES): Ditto.
8137 * bits/streambuf.tcc: Tweak.
8139 * src/streambuf.cc: New file, add out-of-line definitions for
8142 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8143 Comment out wchar_t versions of the buffer instantiations, for now.
8145 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8146 Remove template wrapper around _Streambuf_base.
8147 Move IO_* data members into _Streambuf_base.
8148 Move _Streambuf_base members into streambuf.tcc.
8150 * bits/c++config.h (_G_USE_LIBIO): Enable.
8152 1998-11-02 Nathan Myers <ncm@cantrip.org>
8154 * CHECKLIST: downgrade iterator implementations
8155 * DESIGN: fill out notes about unimplemented features
8157 1998-10-31 Nathan Myers <ncm@cantrip.org>
8159 * CHECKLIST: itemized list of all interfaces, and status of each.
8161 1998-10-30 Nathan Myers <ncm@cantrip.org>
8163 * RELEASE-NOTES: add notes about optional includes, linking, running
8164 * src/Makefile.am: handle header installs properly
8165 * src/Makefile.in: regenerate from new src/Makefile.am
8167 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8169 * bits/basic_string.h: Revert npos pending ciso646.
8170 * src/Makefile.am: Revert CXX flags for now.
8171 * src/Makefile.in: Ditto.
8173 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8175 * bits/std_sstream.h: Re-order ctors to put base before member
8178 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8180 * stl/bits/std_memory.h: Fix typo.
8182 1998-10-30 Nathan Myers <ncm@cantrip.org>
8184 * src/string[A-Z]+.cc: change back to include "string.cc".
8185 * src/Makefile.am: revert filename changes. We need a different
8186 way to keep filenames in std/ from confusing Make.
8187 * bits/basic_string.h: define _S_max_size right, return it from
8188 string::max_size(); churn definition of npos again.
8189 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8190 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8191 * BUGS: clear cruft.
8192 * C++STYLE: Touchup for release.
8193 * CHECKLIST: Touchup for release.
8195 * LICENSE.STD: Add requirement to retain copyrights and to provide
8196 the license with any copies.
8197 * README: Update for release.
8198 * TODO: Minor touchup for release.
8199 * RELEASE-NOTES: prepare for release
8201 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8203 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8205 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8207 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8208 CXX to generate the shared object.
8210 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8212 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8214 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8215 2, from npos, solving infinite loop problems.
8217 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8219 * src/Makefile.am: Add rules to install headers.
8221 1998-10-29 Nathan Myers <ncm@cantrip.org>
8223 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8224 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8227 * shadow/bits/wrap_libio.h:
8228 * shadow/bits/wrap_unistd.h: New files.
8230 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8232 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8233 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8235 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8237 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8238 is not compiled with -fno-implicit-templates in effect.
8240 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8241 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8242 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8244 * src/stringADDPS.cc: Likewise.
8245 * src/stringADDSC.cc: Likewise.
8246 * src/stringADDSP.cc: Likewise.
8247 * src/stringADDSS.cc: Likewise.
8248 * src/stringBIST.cc: Likewise.
8249 * src/stringBOST.cc: Likewise.
8250 * src/stringCHTR.cc: Likewise.
8251 * src/stringEQPS.cc: Likewise.
8252 * src/stringEQSP.cc: Likewise.
8253 * src/stringEQSS.cc: Likewise.
8254 * src/stringEXTRA.cc: Likewise.
8255 * src/stringGEPS.cc: Likewise.
8256 * src/stringGESP.cc: Likewise.
8257 * src/stringGESS.cc: Likewise.
8258 * src/stringGETLI.cc: Likewise.
8259 * src/stringGTPS.cc: Likewise.
8260 * src/stringGTSP.cc: Likewise.
8261 * src/stringGTSS.cc: Likewise.
8262 * src/stringINSER.cc: Likewise.
8263 * src/stringLEPS.cc: Likewise.
8264 * src/stringLESP.cc: Likewise.
8265 * src/stringLESS.cc: Likewise.
8266 * src/stringLTPS.cc: Likewise.
8267 * src/stringLTSP.cc: Likewise.
8268 * src/stringLTSS.cc: Likewise.
8269 * src/stringMAIN.cc: Likewise.
8270 * src/stringNEPS.cc: Likewise.
8271 * src/stringNESP.cc: Likewise.
8272 * src/stringNESS.cc: Likewise.
8273 * src/stringSCOPY.cc: Likewise.
8274 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8276 * src/wstringADDPS.cc: Likewise.
8277 * src/wstringADDSC.cc: Likewise.
8278 * src/wstringADDSP.cc: Likewise.
8279 * src/wstringADDSS.cc: Likewise.
8280 * src/wstringBIST.cc: Likewise.
8281 * src/wstringBOST.cc: Likewise.
8282 * src/wstringCHTR.cc: Likewise.
8283 * src/wstringEQPS.cc: Likewise.
8284 * src/wstringEQSP.cc: Likewise.
8285 * src/wstringEQSS.cc: Likewise.
8286 * src/wstringEXTRA.cc: Likewise.
8287 * src/wstringGEPS.cc: Likewise.
8288 * src/wstringGESP.cc: Likewise.
8289 * src/wstringGESS.cc: Likewise.
8290 * src/wstringGETLI.cc: Likewise.
8291 * src/wstringGTPS.cc: Likewise.
8292 * src/wstringGTSP.cc: Likewise.
8293 * src/wstringGTSS.cc: Likewise.
8294 * src/wstringINSER.cc: Likewise.
8295 * src/wstringLEPS.cc: Likewise.
8296 * src/wstringLESP.cc: Likewise.
8297 * src/wstringLESS.cc: Likewise.
8298 * src/wstringLTPS.cc: Likewise.
8299 * src/wstringLTSP.cc: Likewise.
8300 * src/wstringLTSS.cc: Likewise.
8301 * src/wstringMAIN.cc: Likewise.
8302 * src/wstringNEPS.cc: Likewise.
8303 * src/wstringNESP.cc: Likewise.
8304 * src/wstringNESS.cc: Likewise.
8305 * src/wstringSCOPY.cc: Likewise.
8306 * src/string.cc: Remove now unneeded #defines now.
8308 1998-10-29 Nathan Myers <ncm@cantrip.org>
8310 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8312 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8313 add definitions for double, long double, const void*.
8314 * bits/std_ostream.h: Move op<<'s back into class ostream,
8315 define some in-line.
8316 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8317 string construction from input iterators that Brendan reported.
8320 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8322 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8324 * bits/valarray_meta.h (class _Constant): Move declaration to the
8325 top, so the rest of the file can grok it.
8326 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8328 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8330 (basic_stringstream::str, both instances): Likewise.
8332 1998-10-28 Nathan Myers <ncm@cantrip.org>
8334 * bits/locfacets.h: fix num_put<>::falsename()
8335 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8336 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8337 * bits/locfacets.tcc: touch up _S_group_digits.
8338 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8340 1998-10-27 Nathan Myers <ncm@cantrip.org>
8342 * stl/bits/stl_config.h: Turn off long long support, for now.
8343 * src/locale-inst.cc: Instantiate num_put<> only for
8344 ostreambuf_iterator, num_get only for istreambuf_iterator.
8345 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8346 add lots of new instantiations for num_put support function templates;
8347 remove junk about __match_parallel for ostreambuf_iterator.
8349 1998-10-27 Nathan Myers <ncm@cantrip.org>
8351 * bits/locfacets.tcc: Make num_put's digit grouping work.
8352 * bits/string.tcc: More uglification.
8353 * src/ios.cc: initialize format cache right
8355 1998-10-26 Nathan Myers <ncm@cantrip.org>
8357 * bits/basic_string.h: Uglify more names.
8358 * bits/fstream.tcc: Rewrite some filebut output handling.
8359 * bits/ios_base.h: Cosmetic.
8360 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8361 Also, specialize its default ctor for optimal default case.
8362 #ifdef out "long long" prototypes for now.
8363 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8364 implementation for integer types. (Still needs optimized
8365 std::copy() applied to ostreambuf_iterator to be optimal.)
8366 * bits/ostream.tcc: Write operator<< for long, bool types.
8367 Make other operators<< non-members, per spec. (Many still
8368 not implemented.) Identify those that fail to create a sentry.
8369 * bits/sbuf_iter: Cosmetic.
8370 * bits/std_fstream.h: Add some filebuf members.
8371 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8372 * bits/std_ostream.h: Make member operators<< global, per spec.
8373 (Should do the same in std_istream.h.)
8374 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8375 * bits/string.tcc: Uglify names
8376 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8377 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8378 for optimal default behavior.
8380 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8382 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8384 1998-10-21 Nathan Myers <ncm@cantrip.org>
8386 * src/locale.cc: make ctype operations actually work for glibc
8387 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8388 checklist of stdlib facilities. Not filled in yet.
8390 1998-10-20 Nathan Myers <ncm@cantrip.org>
8392 * bits/string.tcc: fix patching NULs on string ends.
8394 1998-10-19 Nathan Myers <ncm@cantrip.org>
8396 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8397 iterator forward declarations
8398 * bits/sbuf_iter.h: eliminate default template argument definitions
8399 on streambuf iterators (rely on <iosfwd> decls).
8400 * TODO: add note about lazy facet construction
8401 * bits/basic_ios.h: hit operator void* again. This should be the
8402 last time we need to touch it.
8403 * bits/basic_ios.h: copyfmt now returns *this.
8404 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8405 * bits/basic_string.h: put back overloaded constructors; adjust
8406 behavior for default allocator on copy constructor.
8407 * bits/char_traits.h: make not_eof return correct type.
8408 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8409 cannot be in non-standard headers or we get include loops (bad)
8410 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8411 * bits/loccore.h: add apparatus to support lazy construction of
8413 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8414 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8415 locale use_facet<> failure.
8416 * bits/std_locale.h: same.
8417 * bits/std_string.h: same.
8418 * bits/std_stdexcept.h: change exception member __msg from a
8419 reference to a regular object.
8420 * bits/string.tcc: add pasting a NUL on the end of strings after
8421 each operation. We had already left room for it, but previously
8422 plugged it only on a call to c_str(), but the WG changed the
8423 requirement when I wasn't looking. (Can't leave them alone for
8424 a second without they break something else.)
8425 * bits/valarray_meta.h: add Gaby's changes from 981018.
8426 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8427 failure of use_facet<>().
8428 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8429 comment out leftover member definitions
8431 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8433 * string/Makefile.am: Revert last change.
8434 * math/Makefile.am: Likewise.
8436 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8438 * bits/std_sstream.h: Fix typo.
8440 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8442 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8444 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8445 * bits/std_stdexcept.h: Remove.
8447 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8449 * src/misc-inst.cc: Tweak again.
8451 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8452 * bits/sstream.tcc: New file.
8454 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8456 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8457 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8460 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8462 (INFINITE_P): Use IS_INF macro if available.
8464 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8466 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8468 * string/Makefile.am: Likewise.
8470 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8472 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8474 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8475 endianess is available run AC_C_BIGENDIAN.
8477 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8478 fixincludes is fixed.
8479 * math/clogl.c: Likewise.
8480 * math/csqrtl.c: Likewise.
8481 * math/mycabsl.c: Likewise.
8483 * math/mathconf.h: Include machine/endian.h if possible. If no
8484 header describing endianess is available rely on WORDS_BIGENDIAN
8486 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8487 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8490 * src/complex.cc (polar): Don't use sincos on OSF machines.
8492 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8494 * src/locale-inst.cc: Don't instantiate time_get for
8495 ostreambuf_iterators as time_get::do_get_weekday and
8496 time_get::do_get_monthname use __match_parallel, which is illegal
8497 for ostreambuf_iterators to use, as they don't have operator== or
8499 * bits/std_stdexcept.h: Add dtor definitions.
8500 Use stl/bits/std_stdexcept.h instead of this file?
8501 * bits/sbuf_iter.h : Tweak.
8502 * src/misc-inst.cc: Tweak.
8504 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8506 * bits/std_stdexcept.h: New file.
8507 * src/stdexcept.cc: Define the following:
8509 runtime_error::what()
8511 * src/misc-inst.cc: New file.
8512 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8513 (libstdc___la_OBJECTS): Add misc-inst.lo.
8515 * bits/basic_string.h: Disable non-standard ctor declarations.
8516 * bits/string.tcc: Disable definitions as well.
8517 * src/string.cc: Disable <ios> dependancies.
8518 * bits/sbuf_iter.h (std): Add default to template parameter for
8519 ostreambuf_iterator and istreambuf_iterator.
8520 * bits/std_iosfwd.h: Change istreambuf_iterator to
8521 basic_istreambuf_iterator. Likewise for ostreambuf.
8522 * bits/locfacets.tcc (__match_parallel): Fix typo.
8523 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8525 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8526 * bits/std_istream.h: Define the following:
8527 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8528 get (char_type* __s, streamsize __n, char_type __delim);
8529 getline (char_type* __s, streamsize __n, char_type __delim)
8530 * bits/loccore.h : FIXME friend template code for use_facet.
8531 Add std_stdexcept.h include so that range_error will be defined.
8532 Add explicit conversion to string for range_error throws. (HACK?)
8534 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8536 * configure.in: Check for sincos, sincosf, and sincosl.
8537 * src/complex.cc (polar): Use sincos if available.
8539 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8540 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8542 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8544 * math/cpow.c: Use c_log, not clog.
8545 * math/cpowf.c: Likewise.
8546 * math/cpowl.c: Likewise.
8548 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8551 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8552 isfinite macro if it is available.
8553 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8555 * math/ccosf.c: Use appropriate test macros for this type.
8556 * math/ccoshf.c: Likewise.
8557 * math/ccoshl.c: Likewise.
8558 * math/ccosl.c: Likewise.
8559 * math/cexpf.c: Likewise.
8560 * math/cexpl.c: Likewise.
8561 * math/clog10f.c: Likewise.
8562 * math/clog10l.c: Likewise.
8563 * math/clogf.c: Likewise.
8564 * math/clogl.c: Likewise.
8565 * math/csinf.c: Likewise.
8566 * math/csinhf.c: Likewise.
8567 * math/csinhl.c: Likewise.
8568 * math/csinl.c: Likewise.
8569 * math/csqrtf.c: Likewise.
8570 * math/csqrtl.c: Likewise.
8571 * math/ctanf.c: Likewise.
8572 * math/ctanhf.c: Likewise.
8573 * math/ctanhl.c: Likewise.
8574 * math/ctanl.c: Likewise.
8576 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8578 * bits/basic_ios.h: Fix previous change.
8580 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8582 * bits/basic_ios.h: Add const_cast<basic_ios&>
8583 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8585 * bits/char_traits.h: No _CharT for specialization, change to 0.
8586 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8587 constant-initializer.
8588 * bits/locfacets.tcc: Add template parameter to initialization list.
8590 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8592 * bits/basic_string.h: Should just be <, not <=.
8594 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8596 * bits/string.tcc (compare): Fix for strings that are similar, but
8597 not the same length.
8599 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8601 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8602 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8603 We can't check for __GLIBC__ here, since this header can be read
8604 before any system one (that would lead to features.h) being used.
8606 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8608 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8609 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8611 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8612 LONGLONG_{MIN,MAX} which I can't find the origin of.
8614 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8616 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8617 should this come from, if not iostream.h?
8618 (class istream_iterator): Make the new operator!= a friend also.
8620 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8621 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8622 _G_config.h like the egcs one does.
8624 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8626 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8628 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8629 _Expr1 (or _Expr_def if it's taken), and change definitions.
8630 Avoids redecl of the template parm.
8632 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8633 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8635 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8638 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8639 be a better way to do this.
8641 * src/stlinst.cc: New file.
8643 * BUGS: New file, with various discovered bugs that need to be
8646 * Makefile.in, math/Makefile.in, string/Makefile.in,
8647 src/Makefile.in: Reran automake.
8649 Workarounds, these may not all be the final fixes:
8651 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8652 not private, for basic_istream::get() in std_istream.h to be able
8654 (basic_ios::operator void*): Don't use static_cast for the false
8656 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8657 This appears to have been in sep94, but didn't get corrected
8660 * bits/basic_string.h (npos): Don't init here.
8661 * bits/string.tcc: Instead, do initialization here, to -1 instead
8662 of the size_type destructor.
8664 * src/traits.cc, src/wtraits.cc: New files.
8665 * bits/char_traits.h: For char_traits<char> and
8666 char_traits<wchar_t>, declare static, but define over in the src
8669 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8670 gslice_array, and _GsliceExpression.
8672 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8673 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8674 stdout, and stderr. Note we do get unresolved refs to stdin, but
8675 that'll get fixed by the "true" solution.
8677 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8678 definition of basic_streambuf.h, which is used in basic_ios.h to
8681 * bits/std_streambuf.h: Don't include libio.h for now.
8682 (class basic_streambuf): Define missing methods pubimbue and
8685 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8686 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8687 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8689 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8691 * src/locale.cc: Come up with munged versions of _S_toupper,
8692 _S_tolower, and _S_table instead of the glibc-specific ones, so
8693 they're at least defined, if not necessarily usable. The glibc
8694 ones on any other system will yield unresolved refs to
8695 __ctype_{b,toupper,tolower}.
8697 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8698 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8699 anymore cuz of the explicit specialization in char_traits.h.
8700 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8701 file for the details.
8703 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8704 * stl/bits/stl_iterator.h (__distance): Likewise.
8706 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8707 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8710 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8712 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8715 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8717 This should really be fixed with __asm__ directives renaming the
8718 symbol, but keeping the function.
8719 * math/clogf.c (c_logf): Renamed from `clogf'.
8720 * math/clogl.c (c_logl): Renamed from `clogl'.
8721 * math/complex-stub.h (c_logf, c_logl): Change decls.
8723 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8724 _CharT and _InIter parms, since they duplicate the enclosing ones.
8726 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8728 Deal with conflict of the iostreams `clog' and our internal
8729 complex number `clog'.
8730 * src/complex.cc: Call `c_log' instead of `clog'.
8731 * math/clog.c (c_log):: Renamed from clog.
8732 * math/complex-stub.h (c_log): Renamed from clog decl.
8734 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8736 (num_put::put): #if 0 long long version, since we don't declare or
8737 define the long long version of do_put.
8739 1998-08-18 Nathan Myers <ncm@cantrip.org>
8741 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8742 type of get_allocator (thanks to Ryszard Kabatek).
8743 * bits/char_traits.h: make init order of fpos<> members
8745 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8746 flags _S_fd_in etc. for special filebuf ctor.
8747 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8748 to work around problems in friend declarations.
8749 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8750 fix random type errors & typos
8751 * bits/std_fstream.h: major refitting to bypass libio (for now),
8752 instrument to use bits/fstream.tcc template definitions
8753 * bits/std_iosfwd.h: mess with wrappers
8754 * bits/std_istream.h: remove meaningless comment
8755 * bits/std_ostream.h: instrument to work with ostream.tcc.
8756 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8757 * bits/fstream.tcc: template defs for <fstream>
8758 * bits/ostream.tcc: template defs for <ostream>
8759 * bits/streambuf.tcc: template defs for <streambuf>
8760 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8761 * Delete .cc files, replace with bits/*.tcc
8767 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8768 src/stdstreams.cc: cout, cin, etc. definitions
8769 (these still need work: must be init'd before user statics.)
8772 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8774 Sent to SGI before checkin:
8775 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8776 operator>=): Define.
8777 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8778 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8779 operator>=): Define.
8780 (operator==, operator<): Add inline.
8781 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8782 operator>=): Define.
8783 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8784 operator>=): Define.
8785 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8786 operator>=): Define.
8787 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8788 operator>=): Define.
8789 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8790 operator>=): Define.
8792 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8795 1998-08-15 Nathan Myers <ncm@cantrip.org>
8797 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8798 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8799 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8800 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8801 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8802 * bits/std_sstream.h: formatting cleanups
8804 1998-08-14 Nathan Myers <ncm@cantrip.org>
8806 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8807 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8808 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8809 * bits/locfacets.h: fix missing argument in do_get_monthname
8810 (this is a bug in the standard, ref. 36 in my list.)
8811 * bits/locfacets.h: make month and day name caches mutable
8812 * bits/locfacets.tcc: various typos in get() functions
8813 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8814 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8816 1998-08-12 Nathan Myers <ncm@cantrip.org>
8817 * move streambuf iterators to bits/sbuf_iter.h
8818 * optimize streambuf iterators
8819 * begin generalizing streambuf
8820 * begin implementing num_get<>::get (starting with bool)
8821 * patch stl/bits/stl_config.h so that relops operators are
8822 contained properly, out of the way.
8824 1998-07-24 Nathan Myers <ncm@cantrip.org>
8825 * Fold in SGI 3.11 changes (uglified names, some algorithm
8826 improvements, very minor bug fixes.)
8827 * Uglify names elsewhere to match (s/_T/_Tp/).
8828 * Begin work on optimized streambuf
8829 * Put complex.cc in namespace std:: (thanks Martin)
8831 1998-07-17 Nathan Myers <ncm@cantrip.org>
8833 * bits/char_traits.h: add _Char_traits_match template.
8834 * bits/string.tcc: fix bugs in various find_last* members.
8835 * bits/basic_string.h: redeclare member _S_find.
8836 * stl/bits/stl_iterator.h: change member names in nonstandard
8837 templates bidirectional_reverse_iterator and
8838 random_access_reverse_iterator to match expected changes
8840 * src/string.cc: fix definitions of stream operators.
8842 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
8844 * Makefile.am (SUBDIRS): Add string.
8846 * configure.in: Test for long double functions separately. Test for
8847 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
8848 Generate string/Makefile.
8850 * bits/c++config.h: Define mbstate_t for Solaris.
8852 * bits/char_traits.h: Remove unused #if.
8854 * bits/std_cwchar.h: Declare wide char string functions.
8856 * m4/stringfcts.m4: New file.
8858 * math/complex-stub.h: Declare nan.
8859 * math/nan.c: New file.
8861 * math/mathconf.h: Hack around missing endian.h file.
8862 Handle missing NAN definition.
8863 Handle missing float math functions.
8865 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
8866 (libstdc___la_LDFLAGS): Set version information.
8868 * src/complexl.cc: Don't compile any code if no long double functions
8871 * string/Makefile.am: New file.
8872 * string/dummy.c: New file.
8873 * string/wmemchr.c: New file.
8874 * string/wmemcmp.c: New file.
8875 * string/wmemcpy.c: New file.
8876 * string/wmemmove.c: New file.
8877 * string/wmemset.c: New file.
8879 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
8881 * configure.in: Make it work.
8882 * install-sh: New file.
8883 * missing: New file.
8884 * mkinstalldirs: New file.
8885 * m4/mathfcts.m4: New file.
8886 * math/Makefile.am: New file.
8888 * bits/std_complex.h (conj): Mark specializations as inline.
8890 * math/carg.c: New file.
8891 * math/cargf.c: New file.
8892 * math/cargl.c: New file.
8893 * math/mycabs.c: New file.
8894 * math/mycabsf.c: New file.
8895 * math/mycabsl.c: New file.
8896 * math/signbit.c: New file.
8897 * math/signbitf.c: New file.
8898 * math/signbitl.c: New file.
8900 * math/ccos.c: Avoid ISO C 9x functionality.
8901 * math/ccosf.c: Likewise.
8902 * math/ccosh.c: Likewise.
8903 * math/ccoshf.c: Likewise.
8904 * math/ccoshl.c: Likewise.
8905 * math/ccosl.c: Likewise.
8906 * math/cexp.c: Likewise.
8907 * math/cexpf.c: Likewise.
8908 * math/cexpl.c: Likewise.
8909 * math/clog.c: Likewise.
8910 * math/clog10.c: Likewise.
8911 * math/clog10f.c: Likewise.
8912 * math/clog10l.c: Likewise.
8913 * math/clogf.c: Likewise.
8914 * math/clogl.c: Likewise.
8915 * math/cpow.c: Likewise.
8916 * math/cpowf.c: Likewise.
8917 * math/cpowl.c: Likewise.
8918 * math/csin.c: Likewise.
8919 * math/csinf.c: Likewise.
8920 * math/csinh.c: Likewise.
8921 * math/csinhf.c: Likewise.
8922 * math/csinhl.c: Likewise.
8923 * math/csinl.c: Likewise.
8924 * math/csqrt.c: Likewise.
8925 * math/csqrtf.c: Likewise.
8926 * math/csqrtl.c: Likewise.
8927 * math/ctan.c: Likewise.
8928 * math/ctanf.c: Likewise.
8929 * math/ctanh.c: Likewise.
8930 * math/ctanhf.c: Likewise.
8931 * math/ctanhl.c: Likewise.
8932 * math/ctanl.c: Likewise.
8934 * math/complex-stub.h: New file.
8936 * math/mathconf.h: New file.
8938 * src/Makefile.am: New file.
8940 * src/complex.cc: Use mathconf.h instead of complex.h.
8941 Don't use cabs, always use __mycabs.
8943 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
8945 * iterator (class reverse_iterator): Do some tweaks to be in sync