1 2000-11-12 Brent Verner <brent@rcfile.org>
3 * include/c_std/bits/wrap_langinfo.h: New file.
4 * include/c_std/langinfo.h: New file.
5 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
6 CODESET from _C_legacy::CODESET if using shadow headers.
7 * src/Makefile.am: Add new files.
8 * src/Makefile.in: Regenerate.
10 2000-11-12 Mark Mitchell <mark@codesourcery.com>
12 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
13 of `abs (double)' to ...
16 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
19 2000-11-11 Mark P Mitchell <mark@codesourcery.com>
21 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
22 when _GLIBCPP_USE_WCHAR_T is not defined.
24 2000-11-10 Phil Edwards <pme@sources.redhat.com>
26 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
27 courtesy of Alexandre Oliva, to handle const/non-const signatures.
28 (codecvt::do_out): Use.
29 (codecvt::do_in): And here.
31 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
33 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
35 2000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
37 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
38 _Count_ones<>::_S_count): Turn into enumerators.
40 2000-11-08 Mark Mitchell <mark@codesourcery.com>
42 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
43 (codecvt::do_in): Likewise.
45 2000-11-08 David Edelsohn <edelsohn@gnu.org>
47 * src/locale-inst.cc: Add explicit instantiations of
48 _M_fill_insert and fill_n<..., unsigned long,...> .
50 2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
52 * include/bits/std_complex.h (conj): Undo double removal.
54 2000-11-06 Alexandre Oliva <aoliva@redhat.com>
56 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
57 alternatives for CXX_libstdcxx, now that it is useless.
58 * aclocal.m4, configure: Rebuilt.
60 2000-11-04 Mark Mitchell <mark@codesourcery.com>
62 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
63 * aclocal.m4: Regenerated.
64 * configure: Likewise.
66 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
68 * aclocal.m4: Regenerated.
69 * configure: Likewise.
71 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
73 * acinclude.m4 (CXX): Prevent it from being cached.
74 * aclocal.m4, configure, */Makefile.in: Rebuilt.
76 2000-11-03 David Edelsohn <dje@watson.ibm.com>
78 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
79 flag based on multilib definition of $CXX.
80 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
81 based on multilib definition of $CXX.
82 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
84 2000-11-03 Phil Edwards <pme@sources.redhat.com>
86 * acinclude.m4: Cleanups.
87 * aclocal.m4: Regenerated.
90 * libio/Makefile.in: Ditto.
91 * libmath/Makefile.in: Ditto.
92 * libsupc++/Makefile.in: Ditto.
93 * src/Makefile.in: Ditto.
95 * docs/install.html: Removal of EGCS.
96 * docs/23_containers/wrappers_h.txt: Likewise.
97 * docs/faq/index.html: Likewise.
98 * docs/faq/index.txt: Regenerated.
99 * docs/thanks.html: More people.
101 2000-11-03 David Edelsohn <edelsohn@gnu.org>
103 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
104 with function name defined in this file.
106 Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
108 * include/c/bits/std_cctype.h: Undefine macros that conflict
109 with function names defined in this file.
110 * include/c/bits/std_cstdio.h: Likewise.
112 2000-11-02 Mark Mitchell <mark@codesourcery.com>
114 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
116 Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
118 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
119 * aclocal.m4: Regenerated.
120 * Makefile.in: Regenerated.
121 * libio/Makefile.in: Likewise.
122 * libmath/Makefile.in: Likewise.
123 * libsupc++/Makefile.in: Likewise.
124 * src/Makefile.in: Likewise.
125 * configure: Likewise.
126 * config/os/irix/bits/ctype_base.h: Revise.
127 * config/os/irix/bits/ctype_inline.h: Likewise.
128 * config/os/irix/bits/ctype_noninline.h: Likewise.
130 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
131 if not _GLIBCPP_USE_WCHAR_T.
132 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
133 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
134 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
136 * mkcheck.in: Fix echoing of -rpath option.
138 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
140 (__exchange_aand_add): Adjust accordingly.
141 (__atomic_add): Likewise.
143 2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
145 * src/locale.cc: Match orderings for static members.
146 * include/bits/fstream.tcc: Fixes for cin.
148 2000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
150 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
151 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
152 (cos, cosh, sin, sinh): Define primary templates.
154 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
157 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
159 * bits/basic_file.h (_M_open_mode): Change signature, move
161 * config/c_io_libio.cc: ...here.
162 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
163 * aclocal.m4: Regenerate.
164 * configure: Regenerate.
165 * config/c_io_stdio.h: New file.
166 * config/c_io_stdio.cc: New file.
167 * docs/configopts.html: Modify documentation.
169 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
171 * include/c/bits/std_cwctype.h: Add more undefs.
173 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
175 * include/bits/std_complex.h (norm): Forward declare.
176 (complex<>): Comment out friend declaration of conj<>.
177 (conj<>): Comment out specialization.
178 (exp, log, log10): Define primary templates.
180 * src/complex.cc (exp<>, log<>, log10<>): Comment out
183 2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
185 * include/bits/std_complex.h: Remove duplicate definition of conj.
186 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
188 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
190 * src/complex.cc (arg, polar): Comment out specializations.
192 * include/bits/std_complex.h (complex<>): Remove arg<> friend
194 (arg): Define primary template.
198 2000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
200 * include/c/bits/std_cwctype.h: #undef possible function-like
201 macro definitions of iswxxx functions, which might be brought in
202 by <wctype.h>. Those macro definitions prevent build on some
205 * include/bits/std_complex.h (complex<>): Comment out friend
206 declarations of abs<> specializations.
207 (abs): Define primary template.
209 * src/complex.cc (abs): Comment out specialization definition.
211 2000-10-30 Phil Edwards <pme@sources.redhat.com>
213 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
214 the default of 2 to 3.
215 * configure.in: Fix minor typos. SUBST the values of enable_shared
216 and enable_static so that mkcheck will be aware of them. Put the
217 test for gconv.h in with all the other header tests.
218 * aclocal.m4: Regenerate.
220 * Makefile.in: Ditto.
221 * libio/Makefile.in: Ditto.
222 * libmath/Makefile.in: Ditto.
223 * libsupc++/Makefile.in: Ditto.
224 * src/Makefile.in: Ditto.
226 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
227 _G_USING_THUNKS to 0.
229 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
231 * src/complex_io.cc : Remove ancient defines.
232 * config/os/gnu-linux/bits/os_defines.h: Add defines.
233 * libsupc++/tinfo2.cc: Change to cstddef.
235 * include/bits/codecvt.h: Add include of c++config.h, so that
236 __USE_GNU gets defined. (Important for alpha.)
238 * include/c/bits/std_cwctype.h: Same.
239 * include/c/bits/std_ctime.h: And here.
240 * include/c/bits/std_cstdarg.h: Same.
241 * include/c/bits/std_csignal.h: Same.
242 * include/c/bits/std_csetjmp.h: Same.
243 * include/c/bits/std_clocale.h: Same.
244 * include/c/bits/std_climits.h: Touch.
245 * include/c/bits/std_cfloat.h: Same.
246 * include/c/bits/std_cerrno.h: Same.
247 * include/c/bits/std_cwchar.h: Same.
248 * include/c/bits/std_cassert.h: Same.
249 * include/c/bits/std_cctype.h: Same.
250 * include/c/bits/std_cstddef.h: And here.
251 * include/c/bits/std_cstdlib.h: And here.
252 * include/c/bits/std_cstdio.h: Same.
253 * include/c/bits/std_cstring.h: Add names to namespace std::.
255 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
257 (_ISOC99_SOURCE): And this one....
258 * config/os/gnu-linux/bits/os_defines.h: ...to here.
260 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
261 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
263 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
264 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
266 2000-10-30 Steven King <sxking@uswest.net>
268 * include/bits/codecvt.h: Add cast.
269 * include/c_std/stdio.h: Re-add printf using declaration.
270 * include/c_std/bits/std_cstdio.h: Same
271 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
272 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
273 * testsuite/22_locale/facet.cc: Same.
274 * testsuite/22_locale/global_templates.cc: Same.
275 * testsuite/22_locale/operators.cc: Same.
276 * testsuite/22_locale/static_members.cc: Same.
277 * testsuite/26_numerics/c_math.cc: Same.
278 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
279 * testsuite/27_io/fpos.cc: Same.
280 * testsuite/27_io/istream_extractor_arith.cc: Same.
281 * testsuite/27_io/istream_unformatted.cc: Same.
282 * testsuite/27_io/ostream_inserter_arith.cc: Same.
283 * testsuite/27_io/streambuf.cc: Same.
285 2000-10-30 Mark Mitchell <mark@codesourcery.com>
287 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
288 for cabs, cabsf, and cabsl, too.
289 * aclocal.m4: Regenerated.
290 * config.h.in: Likewise.
291 * configure: Likewise.
292 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
294 * libmath/Makefile.in: Regenerated.
295 * libmath/complex-stub.h (cabs): Don't declare if the system
296 already provides this function.
299 * src/complex.cc (abs): Directly use `hypot' since we can't call
302 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
304 * acinclude.m4: Update URL on egcs.cygnus.com to point to
306 * aclocal.m4, configure: Regenerate.
307 * src/gen-num-limits.cc, include/bits/c++config,
308 include/bits/stl_config.h: Remove EGCS references.
310 2000-10-29 Mark Mitchell <mark@codesourcery.com>
312 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
313 building shared executables.
315 2000-10-29 Mark Harig <mharig@landmark.com>
317 * src/Makefile.am: Change logic for include dir options.
318 * src/Makefile.in: Regenerate.
319 * libsupc++/Makefile.am: Ditto.
320 * libsupc++/Makefile.in: Regenerate.
322 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
324 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
325 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
326 with libgcj build issues and improve consistency with the source
327 directory's include directory setup.
328 * configure: Regenerate.
329 * acinclude.m4: Same here.
330 * aclocal.m4: Regenerate.
331 * mknumeric_limits (OUT_H): Also change paths here.
332 * mkcheck.in (C_DIR): And here.
333 * mkc++config (OUT_H): And here.
334 * libmath/Makefile.am (INCLUDES): And here.
335 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
336 * libio/Makefile.am: Ditto.
337 * libsupc++/Makefile.am (INCLUDES): Ditto.
339 2000-10-29 Mark Mitchell <mark@codesourcery.com>
341 * config/c_io_libio.cc (basic_file<char>::__basic_file):
342 Don't pass a NULL _IO_wide_data to _IO_no_init when
343 _GLIBCPP_USE_WCHAR_T is not defined.
344 * config/c_io_libio.h (_IO_codecvt): Don't declare when
345 _GLIBCPP_USE_WCHAR_T is not defined.
346 * config/c_io_libio_codecvt.c: Don't compile it
347 when _GLIBCPP_USE_WCHAR_T is not defined.
348 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
349 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
351 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
352 include it when _GLIBCPP_USE_WCHAR_T is not defined.
353 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
354 when _GLIBCPP_USE_WCHAR_T is not defined.
355 * src/localename.cc (locale::_Impl::_M_construct_collate):
356 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
358 (locale::_Impl::_M_construct_ctype): Likewise.
359 (locale::_Impl::_M_construct_monetary): Likewise.
360 (locale::_Impl::_M_construct_numeric): Likewise.
361 (locale::_Impl::_M_construct_time): Likewise.
362 (locale::_Impl::_M_construct_messages): Likewise.
364 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
365 * aclocal.m4: Regenerated.
366 * configure: Likewise.
367 * config/os/irix/bits/atomicity.h: New file.
368 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
370 (__off64_t): Likewise.
371 (__ssize_t): Likewise.
372 (_G_USING_THUNKS): Define to zero.
374 2000-10-28 Mark Mitchell <mark@codesourcery.com>
376 * src/string-inst.cc (basic_string<C>::npos): Explicitly
379 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
381 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
383 Clean up naming, consistency in "C" library autoconf testing.
384 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
385 GLIBCPP_CHECK_CTYPE_SUPPORT.
386 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
387 * aclocal.m4: Regenerate.
388 * configure.in: And here.
389 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
390 * configure: Regenerate.
392 2000-10-26 David Edelsohn <edelsohn@gnu.org>
394 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
395 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
397 2000-10-26 Phil Edwards <pme@sources.redhat.com>
398 David Edelsohn <dje@watson.ibm.com>
400 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
401 --gc-sections stuff entirely to avoid misleading people.
402 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
403 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
405 * libio/libio.h: Simplify, make fewer assumptions. Define those
406 macros which must be defined.
407 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
410 2000-10-26 Mark Mitchell <mark@codesourcery.com>
412 * include/backward/streambuf.h: New file.
414 2000-10-26 David Edelsohn <dje@watson.ibm.com>
416 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
417 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
418 * config/os/aix/bits/os_defines.h: Add AIX defines.
420 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
422 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
423 * aclocal.m4: Regenerate.
424 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
425 * configure: Regenerate.
426 * docs/configopts.html: Remove.
427 * src/complexl.cc: Revert.
428 * config.h.in: Remove.
429 * include/c_std/bits/std_cmath.h: Remove guards based on
430 _GLIBCPP_USE_LONG_DOUBLE.
431 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
432 with respect to long double signatures.
434 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
436 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
437 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
438 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
439 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
440 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
442 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
444 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
445 Use __valarray_copy_construct only where appropriate.
447 2000-10-25 Mark Mitchell <mark@codesourcery.com>
449 * Makefile.in (check): Don't make mkcheck executable.
450 (check-install): Likewise.
451 * configure.in (AC_OUTPUT): Make mkcheck executable.
452 * mkcheck.in (top_srcdir): New variable.
453 (INC_PATH): Set the path to the backward and ext directories
456 2000-10-25 Phil Edwards <pme@sources.redhat.com>
458 * configure.in: Check for gconv.h.
459 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
461 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
462 * libio/_G_config.h: And here.
463 * libio/iofwide.c: And here.
464 * libio/libio.h: And here.
466 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
467 exception specification to match declaration.
468 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
470 2000-10-24 Mark Harig <mharig@landmark.com>
472 * docs/configopts.html: Added documentation for the
473 "--enable-version-specific-runtime-libs" and
474 "--with-gxx-include-dir" configuration switches.
476 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
478 * include/bits/stl_pair.h (make_pair): Add LWG solution.
480 * testsuite/21_strings/compare.cc (test01): Inject namespace std
483 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
486 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
488 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
490 2000-10-24 Phil Edwards <pme@sources.redhat.com>
492 * acconfig.h: List _GLIBCPP_USE_THREADS.
493 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
494 correction, etc. Add comments about following *real* changes
496 (GLIBCPP_ENABLE_C_MBCHAR): New test...
497 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
498 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
500 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
501 macro _GLIBCPP_USE_THREADS in c++config.h.
502 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
503 this is used in both makefiles and shell scripts (mkcheck).
504 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
506 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
507 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
508 something harmless, like int.
510 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
511 add comment/instructions.
512 * config/os/bsd/bits/os_defines.h: Ditto.
513 * config/os/generic/bits/os_defines.h: Ditto.
514 * config/os/gnu-linux/bits/os_defines.h: Ditto.
515 * config/os/irix/bits/os_defines.h: Ditto.
516 * config/os/newlib/bits/os_defines.h: Ditto.
517 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
518 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
520 * mkcheck.in: Limit the available heap size for testsuite
521 binaries, initially at 2MB.
523 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
525 * testsuite/21_strings/compare.cc (test01): Add using declarations.
527 * include/c_std/bits/std_cerrno.h: And here.
528 * include/c_std/bits/std_cassert.h: Tweaks.
530 * mkcheck.in: Simplify.
532 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
533 (GLIBCPP_ENABLE_LONG_LONG): Same.
534 * aclocal.m4: Regenerate.
536 * src/Makefile.am (c_shadow_headers): Add features.h,
537 bits/wrap_features.h.
538 * src/Makefile.in: Regenerate.
539 * include/c_std/features.h: New file.
540 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
541 file. Need to have c++config.h included before this file so
542 _ISOC99_SOURCE around.
544 * include/c_std/sys/cdefs.h: Hack.
545 * include/c_std/stdlib.h: Same, use c++config.h.
546 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
548 * include/c_std/bits/std_cassert.h: Fix.
549 * include/c_std/bits/std_cerrno.h: Make consistent.
551 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
552 declaration from ::_C_legacy to _C_legacy.
554 * include/c_std/bits/std_cstdio.h: same with printf.
555 * include/c_std/stdio.h: And here.
557 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
558 * include/c_std/stdlib.h: Same here.
560 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
562 * testsuite/21_strings/compare.cc (test01): Add using declarations.
564 * include/c_std/bits/std_cerrno.h: And here.
565 * include/c_std/bits/std_cassert.h: Tweaks.
567 * mkcheck.in: Simplify.
569 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
570 (GLIBCPP_ENABLE_LONG_LONG): Same.
571 * aclocal.m4: Regenerate.
573 * src/Makefile.am (c_shadow_headers): Add features.h,
574 bits/wrap_features.h.
575 * src/Makefile.in: Regenerate.
576 * include/c_std/features.h: New file.
577 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
578 file. Need to have c++config.h included before this file so
579 _ISOC99_SOURCE around.
581 * include/c_std/sys/cdefs.h: Hack.
582 * include/c_std/stdlib.h: Same, use c++config.h.
583 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
585 * include/c_std/bits/std_cassert.h: Fix.
586 * include/c_std/bits/std_cerrno.h: Make consistent.
588 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
589 declaration from ::_C_legacy to _C_legacy.
591 * include/c_std/bits/std_cstdio.h: same with printf.
592 * include/c_std/stdio.h: And here.
594 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
595 * include/c_std/stdlib.h: Same here.
597 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
599 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
600 * aclocal.m4: Regenerate.
601 * configure.in: Use it.
602 * configure: Regenerate.
603 * src/complexl.cc: Fixup.
604 * include/c_std/bits/std_cmath.h: Fixup.
605 * include/c/bits/std_cmath.h: Fixup.
606 * docs/configopts.html: Add docs.
608 * docs/links.html: Add links to defects list, standards FAQ.
610 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
611 with string creation that allocate huge ammounts of memory.
613 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
616 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
618 * libsupc++/exception.cc: Use namespace std.
619 * libsupc++/new: DITTO.
620 * libsupc++/new_op.cc: DITTO.
621 * libsupc++/new_opnt.cc: DITTO.
622 * libsupc++/new_opv.cc: DITTO.
623 * libsupc++/new_opvnt.cc: DITTO.
624 * libsupc++/tinfo.cc: DITTO.
625 * libsupc++/tinfo.h: DITTO.
626 * libsupc++/vec.cc: DITTO.
627 * libsupc++/Makefile.am: Blank lines removal.
629 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
631 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
632 docs/17_intro/howto.html, docs/18_support/howto.html,
633 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
634 docs/21_strings/howto.html, docs/22_locale/howto.html,
635 docs/23_containers/howto.html, docs/24_iterators/howto.html,
636 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
637 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
638 Remove many EGCS references; use current absolute URLs on
639 gcc.gnu.org or sources.redhat.com for messages in list archives.
640 * docs/faq/index.txt: Regenerate.
642 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
644 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
645 creation of state_type for unicode_codecvt to take into account
646 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
647 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
648 * include/bits/codecvt.h (__enc_traits): Add support for encodings
649 that need a byte order marker. Needed for correct unicode support.
651 * src/locale.cc: Remove explicit qualification std::.
652 (locale::locale(const char* __name)): Revert, as named locale
653 support not finished.
654 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
655 size_t __refs, bool __has_name = false, string __name): Move
657 * include/bits/localefwd.h: Here.
659 2000-10-18 Chip Salzenberg <chip@valinux.com>
661 * libio/libio.h (_IO_USER_LOCK): Define.
663 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
665 * libsupc++/Makefile.am (exception): Change exception.cc to
666 exception_support.cc.
667 (CXXLINK): Remove bogus --tag CC.
668 * libsupc++/Makefile.in: Regenerate.
669 * libsupc++/exception.cc: Move to...
670 * libsupc++/exception_support.cc: ...here.
672 * src/Makefile.am: Remove bogus --tag CC.
673 * src/Makefile.in: Regenerate.
675 * include/bits/locale_facets.tcc (use_facet): Simplify.
676 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
677 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
678 (use_facet<ctype<wchar_t> >): Same.
679 * src/locale-inst.cc: Remove explicit instantiation.
680 * src/locale.cc: Correct signature here too.
681 (_Bad_use_facet::what()): Correct error string.
682 * include/bits/localefwd.h: Correct comment.
684 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
686 2000-10-17 Martin Buchholz <martin@xemacs.org>
688 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
689 * testsuite/27_io/ostream_seeks.cc: Similarly.
691 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
693 via Alexandre Oliva <aoliva@redhat.com>
694 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
695 * libsupc++/Makefile.in: Regenerate.
696 * src/Makefile.am: Duplicate code.
697 * src/Makefile.in: Regenerate.
699 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
700 * aclocal.m4: Regenerate.
701 * configure.in: And here.
702 * configure: Regenerate.
704 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
705 test for SECTION_LDFLAGS.
707 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
709 Shadow headers would work if libsupc++ was strict about namespaces.
710 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
711 * include/c_std/assert.h: Add guards.
712 * include/c_std/bits/std_climits.h: Correct typo.
713 * include/c_std/ctype.h: Remove #error.
715 * libio/libioP.h: Break up extern "C" bits around includes.
716 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
718 * libio/libioP.h: Same here.
720 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
722 * include/c_std/unistd.h: Define some types only when defined in
723 the original unistd.h.
724 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
725 definition of size_t, ptrdiff_t and NULL.
726 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
728 2000-10-15 Phil Edwards <pme@sources.redhat.com>
730 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
732 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
733 Mark Harig <markh@landmark.com>
735 * src/Makefile.am (toolexeclibdir): Add support fo
736 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
737 * src/Makefile.in: Regenerate.
738 * libsupc++/Makefile.am: Same.
739 (glibcppinstalldir): Adjust.
740 * libsupc++/Makefile.in: Regenerate.
741 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
742 * Makefile.in: Regenerate.
743 * docs/configopts.html: Add descriptions of flags.
745 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
747 * libsupc++/Makefile.am: Use it.
748 * libio/Makefile.am: Use it.
749 * libmath/Makefile.am: Use it.
750 * src/Makefile.am: Use it.
751 * Makefile.am (AM_MAKEFLAGS): Remove includes.
753 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
754 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
755 * configure.in: Use it.
757 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
759 * src/Makefile.am (CXXCOMPILE): Remove.
760 * src/Makefile.in: Regenerate.
761 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
762 * libsupc++/Makefile.in: Regenerate.
764 * include/c_std/*: Merge with shadow.
765 * include/c_std/bits/*: Same.
767 * shadow: Remove directory.
768 * shadow/*: De-populate.
770 2000-10-11 Phil Edwards <pme@sources.redhat.com>
772 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
773 exception-throwing code for linker test.
774 * aclocal.m4: Regenerate.
775 * configure: Regenerate.
777 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
779 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
780 * libsupc++/include: Remove
781 * libsupc++/include/*: Move to ...
783 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
784 (glibcppinstalldir): New.
786 * src/Makefile.am (c_base_headers): New.
787 (c_shadow_headers): New
789 (myinstallheaders): Correct install issues.
790 * src/Makefile.in: Regenerate.
792 * Makefile.am (CSHADOW_INCLUDES): Simplify.
793 * Makefile.in: Regenerate.
794 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
795 * aclocal.m4: Regenerate.
796 * mkcheck.in (SRC_DIR): Use it.
798 * include/bits/std_stdexcept.h: And here.
799 * include/bits/std_ios.h: Change std_exception.h to exception.
800 * src/locale.cc: And here.
801 * src/locale-inst.cc: And here.
803 * include/bits/valarray_array.h: And here.
804 * include/bits/stl_alloc.h: And here.
805 * include/bits/stl_algobase.h: And here.
806 * include/bits/pthread_allocimpl.h: And here.
807 * include/bits/stl_construct.h: Change to std_new.h to new.
809 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
811 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
812 (headers): Remove duplicated headers.
813 (std_headers): And here.
814 * src/Makefile.in: Regenerate.
815 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
816 * libsupc++/Makefile.in: Regenerate.
817 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
818 (AM_MAKEFLAGS): And here.
819 * Makefile.in: Regenerate.
820 * include/bits/std_typeinfo.h: Remove.
821 * include/bits/std_new.h: Remove
822 * include/bits/std_exception.h: Remove.
824 * std/typeinfo: Remove.
825 * std/exception: Remove.
827 * libio/_G_config.h (__need_ptrdiff_t): Add.
829 * libsupc++/include/new: Change stddef.h to cstddef.
830 * libsupc++/tinfo.h: Change limits.h to climits.
831 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
832 renders the file uncompilable. Add copyright.
834 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
835 namespace, as it is a fundamental type.
837 2000-10-09 Richard Henderson <rth@cygnus.com>
839 * libsupc++/pure.cc: New file.
840 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
841 (sources): Add pure.cc.
842 * libsupc++/Makefile.in: Regenerate.
844 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
846 * docs/configopts.html: Edit.
848 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
849 * libio/Makefile.in: Regenerate.
850 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
851 * libmath/Makefile.in: Regenerate.
852 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
853 * libsupc++/Makefile.in: Regenerate.
855 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
856 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
857 CSHADOW_INCLUDES up here.
858 * Makefile.in: Regenerate.
859 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
861 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
862 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
863 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
864 * src/Makefile.in: Regenerate.
866 * include/c: New directory.
867 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
868 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
869 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
870 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
871 std_cwchar.h, std_cwctype.h): Add, moving from...
872 * include/bits: ...here.
873 * include/c_std: New directory.
874 * include/c_std/bits/*: Populate from...
875 * shadow: ...here. Remove directory.
877 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
879 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
880 (INCLUDES): Add glibcpp_includedir.
881 * libsupc++/Makefile.in: Regenerate.
883 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
884 * aclocal.m4: Regenerate.
885 * config/os/*/bits/os_defintes: Adjust copyright dates.
887 2000-10-08 Phil Edwards <pme@sources.redhat.com>
889 * include/bits/c++config: Include <bits/os_defines.h>
890 * config/os/aix/bits/os_defines.h: New file.
891 * config/os/bsd/bits/os_defines.h: Ditto.
892 * config/os/generic/bits/os_defines.h: Ditto.
893 * config/os/gnu-linux/bits/os_defines.h: Ditto.
894 * config/os/irix/bits/os_defines.h: Ditto.
895 * config/os/newlib/bits/os_defines.h: Ditto.
896 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
897 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
898 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
900 2000-10-07 David Edelsohn <dje@watson.ibm.com>
902 * config/os/aix/bits/atomicity.h: New file.
904 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
906 * acinclude.m4: Remove CPU_FLAGS
907 * libio/Makefile.am: Here too.
908 * Makefile.am: Here too.
910 * src/Makefile.am (CONFIG_INCLUDES): Remove.
911 (INCLUDES): Remove CONFIG_INCLUDES.
912 (cpu_headers): Remove.
913 (myinstallheaders): Remove cpu_headers.
914 (generated_headers): Rename to build_headers.
915 (build_headers): Add atomicity.h, ctype_base.h,
916 ctype_specializations.h.
918 * config/os: New directory.
919 * config/aix: Move to...
920 * config/bsd: Move to...
921 * config/generic: Move to...
922 * config/gnu-linux: Move to...
923 * config/irix: Move to...
924 * config/newlib: Move to...
925 * config/solaris: Move to...
928 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
930 * acinclude.m4: Remove CPU_FLAGS
931 * libio/Makefile.am: Here too.
932 * Makefile.am: Here too.
934 * src/Makefile.am (CONFIG_INCLUDES): Remove.
935 (INCLUDES): Remove CONFIG_INCLUDES.
936 (cpu_headers): Remove.
937 (myinstallheaders): Remove cpu_headers.
938 (generated_headers): Rename to build_headers.
939 (build_headers): Add atomicity.h, ctype_base.h,
940 ctype_specializations.h.
942 * config/os: New directory.
943 * config/aix: Move to...
944 * config/bsd: Move to...
945 * config/generic: Move to...
946 * config/gnu-linux: Move to...
947 * config/irix: Move to...
948 * config/newlib: Move to...
949 * config/solaris: Move to...
952 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
954 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
955 CONFIG_CXXFLAGS from here, and move to...
956 * src/Makefile.in: Regenerate.
957 * Makefile.am: ... here. Clean.
958 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
959 (WARN_CXXFLAGS): Same.
960 (CONFIG_CXXFLAGS): Same.
961 * Makefile.in: Regenerate.
962 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
963 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
964 * libsupc++/Makefile.in: Regenerate.
966 Change math to libmath.
967 * math: Move to libmath, delete.
968 * libmath: New directory.
969 * libmath/*: Populate.
970 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
971 (libstdc___la_LIBADD): Same.
972 * src/Makefile.in: Regenerate.
973 * configure.in: Add AC_OUTPUT for libmath/Makefile.
974 * configure: Regenerate.
975 * Makefile.am (SUBDIRS): Add libmath.
976 * Makefile.in: Regenerate.
977 * README (file): Change name.
979 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
980 Richard Henderson <rth@cygnus.com>
981 Alexandre Oliva <aoliva@redhat.com>
983 * libsupc++: New directory.
984 * libsupc++/*: Populate.
985 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
986 eh-common.h, gansidecl.h.
987 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
988 * configure: Regenerate.
989 * Makefile.am (SUBDIRS): Add libsupc++.
990 * Makefile.in: Regenerate.
991 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
992 * src/Makefile.in: Regenerate.
993 * libio/Makefile.am: Remove extraneous, confusing bits.
994 * libio/Makefile.in: Regenerate.
996 2000-10-05 Brent Verner <brent@rcfile.org>
998 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
999 test for _M_gcount < in_avail(), as in_avail() only reports info
1000 for current buffer, causing method to return at end of buffer.
1001 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1002 * testsuite/27_io/istream_unformatted-3.txt: New file.
1003 * testsuite/27_io/istream_unformatted-3.tst: New file.
1005 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1007 * README (file): Adjust directory structures.
1008 * mkcheck.in (INC_PATH): Adjust for header changes.
1010 2000-10-05 Phil Edwards <pme@sources.redhat.com>
1012 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1013 for public relations purposes.
1014 * aclocal.m4: Regenerated.
1015 * configure: Regenerated.
1017 * docs/ext/howto.html: Additional explanation about hashing.
1019 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1021 * include: New directory.
1022 * include/backward: New directory.
1023 * include/bits: New directory.
1024 * include/ext: New directory.
1025 * include/std: New directory.
1026 * include/*/*: Populate.
1028 * backwards: Move to include/backwards, delete.
1029 * bits: Move to include/bits, delete.
1030 * ext: Move to include/ext, delete.
1031 * std: Move to include/std, delete.
1033 * src/complex.cc: Adjust include of mathconf.
1035 * mkc++config (BASE_H): Add include.
1037 * src/Makefile.am: Support for topleve sources include directory.
1038 (INCLUDES): Add LIBMATH_INCLUDE.
1039 * src/Makefile.in: Regenerate.
1040 * math/Makefile.am (INCLUDES): Append /include.
1041 * math/Makefile.in: Regenerate.
1042 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1043 * libio/Makefile.in: Regenerate.
1045 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1047 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1049 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1051 * docs/22_locale/howto.html: Add link to proto-documentation on
1053 * docs/documentation.html: Rename links for clarity.
1055 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1056 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1057 * src/Makefile.in: Regenerate.
1059 2000-10-02 Steven King <sxking@uswest.net>
1061 * mkcshadow: Fixed script to output proper include guard.
1062 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1063 * libio/_G_config.h: Hacked to make work with shadow heraders.
1064 * shadow/*: Hacked to make shadow headers work.
1066 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1068 Self-compile with shadow headers.
1069 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1070 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1071 it becomes the default way the library is built.
1072 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1073 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1074 * config/gnu-linux/ctype.cc (ctype): Use it.
1076 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1078 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1079 memset. This should not be necessary, but an ambiguous overload
1082 * shadow/bits/std_cwchar.h: Fix.
1083 * shadow/wchar.h: Fix.
1085 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1086 enums into namespace std:: for ctype_base enum. Other OS types
1087 will have to do this as well.
1088 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1089 namespace std, in particular __ctype_toupper, __ctype_tolower,
1092 * shadow/iolibio.h: New file.
1093 * shadow/bits/wrap_iolibio.h: New file.
1094 * shadow/libioP.h: New file.
1095 * shadow/bits/wrap_libioP.h: New file.
1096 * shadow/bits/wrap_fcntl.h: New file.
1097 * shadow/fcntl.h: New file.
1098 * shadow/iconv.h: New file. Inject iconv names into the global
1099 namespace, unmangled for the moment.
1100 * shadow/bits/wrap_iconv.h: New file.
1101 * shadow/unistd.h: Remove. Useless.
1102 * shadow/bits/wrap_unistd.h: Remove.
1104 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1105 * src/Makefile.in: Regenerate.
1107 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1109 * shadow/libio.h: Fix.
1110 * shadow/bits/wrap_libio.h: Fix.
1112 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1113 which will not compile.
1114 * shadow/bits/std_ctime.h: Same.
1116 * shadow/pthread.h: New file. Put pthreads types and functions
1117 into global scope, which is probably not the correct long-term
1118 solution but has to be done at the moment before libio wrappers
1119 can even be started.
1120 * shadow/bits/wrap_pthread.h: New file.
1122 * bits/std_ios.h: Formatting tweak.
1123 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1125 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1126 tests for compiler features.
1127 * aclocal.m4: Regenerate.
1128 * configure: Regenerate.
1130 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1132 * libio/libioP.h: Comment out fcntl.h include.
1134 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1136 * bits/c++config: Define _ISOC99_SOURCE.
1138 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1139 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1140 * aclocal.m4: Regenerate.
1141 * configure: Regenerate.
1142 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1143 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1144 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1145 std or shadow directories.
1146 (LTCXXCOMPILE): Same.
1147 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1148 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1149 * src/Makefile.in: Regenerate.
1151 * src/complex.cc (FCT): Change ::name to name.
1152 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1153 * src/complexf.cc (FCT): Same.
1155 * src/complexf.cc: Remove FCT define, as things are properly
1156 overloaded in the std namespace with the shadow headers.
1157 * src/complexl.cc: Same.
1158 * src/complex.cc: Same.
1160 2000-09-25 Phil Edwards <pme@sources.redhat.com>
1162 * docs/documentation.html: Add link to...
1163 * docs/ext/howto.html: ...this. New dir/file, describing library
1164 extensions (both ours and SGI's).
1165 * docs/faq/index.html: Small updates.
1166 * docs/faq/index.txt: Regenerate.
1168 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1170 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1172 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1174 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1176 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1178 * src/localename.cc (locale::_Imp) : Remove typedefs.
1179 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
1180 __f): Consistency check, call _Imp ctor with reference argument
1182 * bits/localefwd.h: Change _S_num_categories to
1183 _S_categories_num. Add new data member, _S_facets_num, which is
1184 the number of standard facets.
1186 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1188 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1190 2000-09-19 Phil Edwards <pme@sources.redhat.com>
1192 * docs/thanks.html: More thanks.
1193 * docs/18_support/howto.html: Fix thinko.
1194 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1195 Redo the string transformation notes and link to...
1196 * docs/22_locale/howto.html: ...here.
1198 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1200 * src/locale-inst.cc: Add time_put_byname and
1201 time_get_byname instantiations.
1202 * bits/locale_facets.h: Correct default, private derivation to
1203 public derivation in _byname declarations.
1204 * src/locale.cc (locale::classic()): Simplify.
1205 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1206 const string& __name, category __cat, size_t __refs): Re-work for
1208 (_M_normalize_category_names): Remove.
1210 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1211 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1213 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1215 * bits/std_bitset.h (operator>>): Change to char_type.
1217 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1219 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1220 name setting. Add checks for NULL __name pointers. Remove calls to
1221 _S_initialize() as initial locale initialization can either be
1222 assumed, or needs to be made consistent throughout locale
1224 (locale::locale(const locale& __other, const char* __name,
1225 category __cat): Add checks for NULL name. Add checks for
1227 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1228 const string& __name, category __cat, size_t __refs)): Set correct
1229 name, has_name values.
1230 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1231 * docs/22_locale/locale.html: New file, more unfinished docs...
1233 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1235 * src/locale.cc (locale::name()): Implement.
1236 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1237 string __name = "*")): Change signature.
1238 (locale::classic): Initialize the "C" locale as a named locale.
1239 * bits/localefwd.h (locale): Change _M_num_references to
1240 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1242 * bits/localefwd.h: Tweaks.
1243 * src/localename.cc: Tweaks.
1244 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1247 * bits/basic_string.h: Consistency check, change _M_state ->
1250 2000-09-14 Brendan Kehoe <brendan@zen.org>
1252 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1255 * src/Makefile.an (headers): Also install backward/fstream.h.
1256 * src/Makefile.in: Regenerate.
1258 * bits/char_traits.h (char_traits<_CharT>::get_state,
1259 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1260 argument in by reference, not by value. Uglify to _S_get_state.
1261 (char_traits<*>::__eos): Uglify to _S_eos.
1262 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1263 Change __eos to _S_eos.
1265 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1267 * testsuite/22_locale/static_members.cc: New file.
1268 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1269 * src/locale.cc: Minor formatting tweaks.
1271 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1273 * testsuite/22_locale/global_templates.cc (test01): Add negative
1274 tests for use_facet.
1276 * bits/localefwd.h (locale::operator()): Minor tweaks.
1277 * bits/locale_facets.tcc (locale::operator()): Same.
1278 * testsuite/22_locale/operators.cc: New file.
1280 * testsuite/22_locale/facet.cc (output_iterator): Remove
1281 gnu_input_iterator, gnu_output_iterator.
1283 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1285 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1286 * aclocal.m4: Regenerate.
1287 * configure: Regenerate.
1289 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1290 snapshot release soon.
1291 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1292 is pretty much assumed.
1294 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1295 use_facet and has_facet.
1297 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1298 Modify/correct iconv signatures for glibc2.2.
1300 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1302 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1305 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1307 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1308 (locale): Make _Impl declaration public.
1310 2000-09-08 Felix Natter <fnatter@gmx.net>
1312 * docs/17_intro/porting-howto.html: New version.
1314 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1316 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1318 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1319 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1321 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1323 Add bits for --enable-maintainer-mode:
1324 - turns on enable_debug
1325 (doing "--enable-maint --disable-debug" will DTRT)
1326 - turns on -Werror, now off by default
1327 * acinclude.m4: Add bits.
1328 * aclocal.m4: Regenerate.
1329 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1330 * configure: Regenerate.
1332 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1334 * bits/std_cwctype.h: Remove yesterday's hacks.
1336 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1338 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1339 * testsuite/23_containers/set_operators.cc: New file. Should not
1341 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1343 2000-09-06 Richard Henderson <rth@cygnus.com>
1344 Benjamin Kosnik <bkoz@cygnus.com>
1346 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1347 * aclocal.m4: Regenerate.
1348 * configure: Regenerate.
1349 * config/cpu/ia64: New directory.
1350 * config/cpu/ia64/bits: New directory.
1351 * config/cpu/ia64/bits/atomicity.h: New file.
1353 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1355 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1356 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1358 * aclocal.m4: Regenerate.
1359 * configure: Regenerate.
1360 * */Makefile.in: Regenerate.
1362 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1363 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1365 * testsuite/23_containers/vector_element_access.cc: New file.
1366 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1368 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1370 * bits/string.tcc: Fix up more parameter names.
1372 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1374 * configure: Rebuilt with new libtool.m4.
1376 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1378 * src/locale-inst.cc: Remove pre-instantiation of unicode
1379 codecvt types. Now unnecessary, as locale header now correct.
1381 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1383 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1384 * src/locale.cc: Here.
1385 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1386 definition. Move specialization to ...
1387 * src/locale.cc: Here.
1388 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1389 * src/locale.cc: Here.
1390 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1391 * src/locale.cc: Here.
1393 * bits/std_locale.h: Note that locale_facets.tcc should be
1394 included here, for standards conformance. It may increase
1395 compile times though. For the time being, enable.
1396 * testsuite/22_locale/facet.cc: New file, some parts commented out
1399 * mkcheck.in: Append total time to test summary file.
1401 * bits/sbuf_iter.h : Formatting tweaks.
1403 Clean up static const data member definitions.
1404 * src/locale.cc: Add definitions for all missing locale,
1405 locale::_Imp, and locale::id static data members.
1406 (ctype<char>): Add table_size define.
1407 (money_base): Add _S_default_pattern, uglify.
1408 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1409 * bits/locale_facets.h: Tweaks.
1410 * bits/locale_facets.tcc: Tweaks.
1411 * bits/string.tcc: Add definition for npos.
1412 * bits/ios_base.h: Tweaks.
1413 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1415 * src/ios.cc: And here. Add _S_local_words definition.
1416 Add definitions for __ios_flags const static data.
1417 * src/codecvt.cc: Same for __enc_traits.
1418 * src/locale-inst.cc: Remove money_base data member definition
1421 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1423 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1425 * docs/22_locale/codecvt.html: Re-number.
1426 * docs/22_locale/howto.html: Add entry for ctype
1427 documentation. Add entry for Nathan's introduction to locales
1429 * docs/22_locale/ctype.html: New file. In progress...
1431 * docs/22_locale/codecvt.html: Formatting cleanups.
1432 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1434 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1436 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1437 tweaks for certain browsers.
1439 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1441 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1442 Add include for bits/std_cwctype.h, for wctype_t.
1443 * src/locale.cc (ctype<wchar_t>): Implement.
1444 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1445 typedef, instead name enum.
1446 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1447 * config/gnu-linux/ctype.cc: Tweak.
1448 * testsuite/22_locale/ctype.cc: Tweak.
1450 * bits/codecvt.h (__enc_traits): Uglify names.
1452 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1454 * docs/22_locale/codecvt.html: Add more bits, format.
1455 * bits/codecvt.h: Add copy ctor, rename types.
1456 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1458 * libio/iofwide.c: Tweak.
1460 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1462 * docs/configopts.html: Mention new options.
1463 * docs/install.html: Formatting changes for platform-specific
1464 pre-reqs, previously only Cygwin.
1465 * docs/mail.html: Fix new link.
1466 * docs/thanks.html: A couple more people.
1467 * docs/26_numerics/howto.html: Fix typo.
1469 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1471 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1472 * docs/22_locale/codecvt.html: New file. In progress.
1474 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1476 * acconfig.h: Revert.
1477 * acinclude.m4: Revert.
1478 * libio/_G_config.h: Revert.
1479 * libio/libio.h: Revert.
1481 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1483 * bits/codecvt.h: Tweaks.
1484 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1485 initial string literals for UCS4.
1487 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1489 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1490 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1491 definition as well, and some minor spelling/spacing fixes. If
1492 building libio, check for certain typedefs.
1493 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1494 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1495 will never be there.
1496 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1497 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1499 * configure.in: Update the cache a bit more often.
1501 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1503 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1505 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1506 __enc_traits> instantiations for has_facet and use_facet.
1507 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1508 testing two-byte unicode encodings converted to four-byte UCS4
1511 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1512 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1513 correct state/encoding information.
1515 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1516 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1518 Add checks for langinfo.h, nl_langinfo function call.
1519 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1521 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1523 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1524 ((unused)) to __attribute__ ((__unused__)).
1525 * config/cpu/arm/bits/atomicity.h: Same.
1526 * config/cpu/generic/bits/atomicity.h: Same.
1527 * config/cpu/i386/bits/atomicity.h: Same.
1528 * config/cpu/i486/bits/atomicity.h: Same.
1529 * config/cpu/powerpc/bits/atomicity.h: Same.
1530 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1531 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1533 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1535 * bits/basic_string.h: Fix up parameter names.
1537 2000-08-22 Brent Verner <brent@rcfile.org>
1539 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1541 * src/Makefile.in: Regenerate.
1543 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1545 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1546 up __enc_traits template so as to be marginally useful.
1547 * src/codecvt.cc: And here.
1548 * bits/char_traits: Tweak.
1549 * bits/locale_facets.h: Tweak.
1550 * bits/locale_facets.tcc: Tweak.
1551 * bits/localefwd.h: Tweak.
1552 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1553 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1554 * testsuite/22_locale/codecvt_char_char.cc: New file.
1555 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1557 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1559 * bits/std_cmath.h (std::abs): Overload for int and long.
1561 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1563 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1565 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1567 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1568 thinko. Diagnostic messages really need to be improved for
1569 template argument deduction.
1571 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1573 * bits/valarray_meta.h: Fix typos...
1575 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1577 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1578 _Expr<>::apply): Implement.
1580 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1582 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1584 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1587 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1589 * bits/localefwd.h (std::locale): Use explicit `class' specified
1590 when declaring friends.
1591 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1593 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1595 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1596 * src/Makefile.in: Regenerate.
1598 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1600 * bits/codecvt.h: New file.
1601 * src/codecvt.cc: New file.
1602 * bits/std_locale.h: Add include here.
1603 * src/Makefile.am (headers): Add codecvt.h
1604 (sources): Add codecvt.cc.
1605 * src/Makefile.in: Regenerate.
1606 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1607 __codecvt_abstract_base in an attempt to point some light this way...
1608 Move __enc_traits and codecvt bits to codecvt.h.
1609 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1610 explicit instantiation. Separate out codecvt instantations, simplify.
1611 * src/locale.cc: Move codecvt bits to codecvt.cc
1613 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1615 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1616 * src/Makefile.in: Regenerate.
1618 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1620 C/C++ io merge/sync.
1631 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1632 ((struct _IO_FILE_plus *) in ctors.
1633 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1634 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1635 * libio/cleanup.c: Remove.
1636 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1637 _IO_cleanup_registration_needed, even if not libc.
1639 * testsuite/27_io/stringstream.cc (test02): Fix.
1641 2000-08-14 Brent Verner <brent@rcfile.org>
1643 * testsuite/debug_assert.h: new file
1644 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1645 changed conditional #include <c?assert.?h?> to
1646 unconditional #include <debug_assert.h>
1647 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1648 for testsuite compile command.
1650 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1652 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1653 wofstream, filebuf, wfilebuf, fstream, wfstream.
1654 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1655 * bits/std_sstream.h: Same for stringstream and wstringstream.
1656 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1657 ostringstream, wostringstream.
1659 * testsuite/26_numerics/valarray.cc: Add test.
1661 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1663 * configure: Regenerate after change to ../libtool.m4.
1665 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1667 * bits/locale_facets.tcc: Formatting tweaks.
1668 * bits/locale_facets.h (__enc_traits): Start integrating this
1669 into codecvt, ctype. Formatting tweaks.
1671 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1673 Preliminary wchar_t implementation, with trivial encodings.
1674 * docs/configopts.html: Add bits about canonical configure option
1677 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1678 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1679 * testsuite/27_io/narrow_stream_objects.cc: New file.
1680 * testsuite/27_io/wide_stream_objects.cc: New file.
1682 * bits/fstream.tcc (underflow): Temporarily hack a solution
1683 together that writes from the external file to the internal
1684 buffers. This removes codecvt from the loop, and is incorrect.
1685 (_M_really_overflow): Same here.
1687 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1689 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1690 Ulrich Drepper <drepper@cygnus.com>
1692 * config/c_io_libio.h: Tweak.
1693 * config/c_io_libio_codecvt.c: New file.
1694 * libio/Makefile.am: Add c_codecvt.c.
1695 * libio/Makefile.in: Regenerate.
1696 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1697 stream is not orientated.
1699 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1700 encoding gets fleshed out.
1702 * bits/basic_file.h: Add specialization declarations.
1703 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1705 * config/c_io_libio.h: Add __c_wfile_type.
1706 * bits/basic_file.h: Add _M_wfile.
1708 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1709 streams without setting the orientation of the underlying FILE to
1710 either wide or narrow.
1711 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1713 2000-08-07 Felix Natter <fnatter@gmx.net>
1715 * docs/17_intro/porting-howto.html: New version.
1717 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1719 * bits/locale_facets.h (ctype::ctype): Don't name unused
1722 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1724 * docs/install.html: Edit bits about requiring a special version
1727 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1729 * libio/fileops.cc: Update to current glibc sources.
1730 * libio/genops.c: Same.
1731 * libio/iofwide.c: Same.
1732 * libio/libio.h: Same.
1733 * libio/libioP.h: Same.
1734 * libio/wfiledoalloc.c: Same.
1735 * libio/wgenops.c: Same.
1737 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1739 * acinclude.m4: Include ../libtool.m4.
1740 * aclocal.m4, configure: Rebuilt.
1742 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1744 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1745 before trying to use any of its options.
1746 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1747 * aclocal.m4: Regenerate.
1748 * configure.in: Having found GNU make, name it.
1749 * configure: Regenerate.
1750 * docs/install.html: Mention possible problems with caching.
1751 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1752 * src/Makefile.in: Regenerate.
1753 * libio/Makefile.in: Regenerate.
1754 * math/Makefile.in: Regenerate.
1755 * Makefile.in: Regenerate.
1757 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1759 * src/misc-inst.cc (std): Remove instantiations.
1761 * acinclude.m4: Add forward-looking bits for autoconf.
1762 * aclocal.m4: Regenerate.
1764 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1766 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1768 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1769 it back for current versions of maintainer-tools...
1770 * acinclude.m4: Some cleanups...
1771 * aclocal: Regenerated.
1772 * configure: Regenerated.
1774 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1775 optimizing/adapting the hash table using GNU ld.
1776 * src/Makefile.in: Regenerate.
1778 2000-07-24 H.J. Lu <hjl@gnu.org>
1780 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1781 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1782 files don't include private libio header files needed by
1784 * src/Makefile.in: Rebuild.
1786 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1788 * bits/std_fstream.h: Parameterize __basic_file.
1789 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1790 * bits/basic_file.h: Same here.
1792 * bits/istream.tcc (getline): Tweaks.
1794 * bits/fstream.tcc: Shorten __retval to __ret.
1795 * bits/ostream.tcc: Same.
1796 * bits/sbuf_iter.h: Same.
1797 * bits/sstream.tcc: Same.
1798 * bits/streambuf.tcc: Same.
1799 * bits/std_fstream.h: Same.
1800 * src/string-inst.cc: Same.
1802 * config/c_io_libio.cc: Same.
1803 * bits/string.tcc: Same.
1804 * bits/std_streambuf.h: Same.
1806 2000-07-23 Brent Verner <brent@rcfile.org>
1808 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1809 char_type) make compliant
1810 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1812 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1814 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1815 and srcdir used to define CSHADOW_INCLUDES..
1817 * configure.in: For consistency, change .sanity_warned to
1818 stamp-sanity-warned.
1820 * acinclude.m4: Tweak formatting.
1821 * Makefile.am (check): Call mkcheck with full pathname for build
1823 (check-install): And here.
1824 * Makefile.in: Regenerate.
1826 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1828 Line up with libstdc++-v2 version of valarray.
1829 * bits/valarray_array.h (__valarray_product): Make inline.
1830 * src/valarray-inst.cc (__valarray_product): Remove explicit
1833 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1835 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1838 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1839 Change return type to void.
1840 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1841 * testsuite/17_intro/header_ciso646.cc: Modify.
1842 * bits/locale_facets.h: Add return values for the generic cases.
1844 2000-07-21 H.J. Lu (hjl@gnu.org)
1846 * acinclude.m4: Include <features.h> for glibc testing.
1847 * aclocal.m4: Likewise.
1849 * configure: Rebuild.
1851 2000-07-20 H.J. Lu (hjl@gnu.org)
1853 * acinclude.m4: Change "#pragma system_header" to
1854 "#pragma GCC system_header".
1855 * aclocal.m4: Likewise.
1856 * bits/std_cmath.h: Likewise.
1857 * bits/std_cassert.h: Likewise.
1858 * bits/std_cctype.h: Likewise.
1859 * bits/std_cerrno.h: Likewise.
1860 * bits/std_cfloat.h: Likewise.
1861 * bits/std_climits.h: Likewise.
1862 * bits/std_clocale.h: Likewise.
1863 * bits/std_cwchar.h: Likewise.
1864 * bits/std_csetjmp.h: Likewise.
1865 * bits/std_csignal.h: Likewise.
1866 * bits/std_cstdarg.h: Likewise.
1867 * bits/std_cstddef.h: Likewise.
1868 * bits/std_cstdio.h: Likewise.
1869 * bits/std_cstdlib.h: Likewise.
1870 * bits/std_cstring.h: Likewise.
1871 * bits/std_ctime.h: Likewise.
1872 * bits/std_cwctype.h: Likewise.
1873 * bits/std_exception.h: Likewise.
1874 * bits/std_new.h: Likewise.
1875 * bits/std_typeinfo.h: Likewise.
1876 * shadow/bits/std_cassert.h: Likewise.
1877 * shadow/bits/std_cctype.h: Likewise.
1878 * shadow/bits/std_cerrno.h: Likewise.
1879 * shadow/bits/std_cfloat.h: Likewise.
1880 * shadow/bits/std_climits.h: Likewise.
1881 * shadow/bits/std_clocale.h: Likewise.
1882 * shadow/bits/std_cmath.h: Likewise.
1883 * shadow/bits/std_csetjmp.h: Likewise.
1884 * shadow/bits/std_csignal.h: Likewise.
1885 * shadow/bits/std_cstdarg.h: Likewise.
1886 * shadow/bits/std_cstddef.h: Likewise.
1887 * shadow/bits/std_cstdio.h: Likewise.
1888 * shadow/bits/std_cstdlib.h: Likewise.
1889 * shadow/bits/std_cstring.h: Likewise.
1890 * shadow/bits/std_ctime.h: Likewise.
1891 * shadow/bits/std_cwchar.h: Likewise.
1892 * shadow/bits/std_cwctype.h: Likewise.
1893 * shadow/bits/wrap_libio.h: Likewise.
1894 * shadow/bits/wrap_unistd.h: Likewise.
1895 * shadow/sys/cdefs.h: Likewise.
1897 * configure: Rebuild.
1899 2000-07-20 Jakub Jelinek <jakub@redhat.com>
1901 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
1902 Use extended word instructions to match 64bit _Atomic_word.
1903 (__atomic_add): Likewise.
1904 * math/clog10l.c (clog10l): Use M_PIl if defined.
1905 * math/c_logl.c (c_logl): Likewise.
1906 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
1907 * math/mathconf.h (ieee_quad_double_shape_type): New type.
1908 (GET_LDOUBLE_MSW64): New define.
1910 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
1912 * bits/std_streambuf.h: Add bits for pback buffers here, so that
1913 in_avail, etc can use them.
1914 * bits/std_fstream.h: Ditto.
1915 * bits/fstream.tcc: Ditto.
1916 * testsuite/27_io/filebuf.cc: Tweaks.
1917 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
1919 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
1921 * src/localename.cc: Same.
1922 * src/locale.cc: Same.
1923 * bits/localefwd.h: _M_init_facet to _M_facet_init.
1925 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
1927 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
1929 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
1930 * bits/std_fstream.h: Same.
1932 * bits/basic_string.h: Tweaks.
1934 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
1936 * docs/18_support/howto.html: Update.
1938 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1940 Internal consistency checks.....
1941 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
1944 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
1945 * bits/basic_ios.tcc: Same.
1947 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
1948 Change _M_fctype_buf to _M_buf_fctype.
1949 * bits/fstream.tcc: Same.
1951 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
1952 Change _M_locale_set to _M_buf_locale_init.
1953 * bits/streambuf.tcc: Same.
1954 * bits/sstream.tcc: Same.
1955 * bits/fstream.tcc: Same.
1957 * bits/std_streambuf.h: Make typedefs consistent.
1958 (_M_buf_bump): Be more careful with input sequence.
1960 * bits/std_sstream.h: Same.
1961 * bits/std_fstream.h: Same.
1963 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1965 * acinclude.m4: Tweaks.
1966 * config/c_io_libio.cc: Tweaks.
1967 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
1968 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
1969 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
1970 * libio/iofclose.c iofopen.c, stdio.c: New files.
1971 * libio/Makefile.am: Add files, add flags, etc.
1972 * src/Makefile.am (sources): Add filebuf.cc.
1973 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
1974 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
1976 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
1978 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
1979 * configure.in: Use it. Also print reminders one time.
1980 * aclocal.m4: Regenerate.
1981 * configure: Regenerate.
1983 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
1985 * bits/valarray_array.h (__valarray_get_storage): New function.
1986 (_Array<>::Array): Use it.
1987 * bits/std_valarray.h (valarray<>::valarray): Likewise.
1988 (valarray<>::resize): Likewise. Tweak.
1989 * src/valarray-inst.cc (__valarray_product): Tweak.
1991 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
1993 * docs: Update sourceware->sources in every HTML file. Minor updates.
1995 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
1997 Clean up configure/build longstanding issues.
1998 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
1999 (CXXLINK): Add here, instead.
2001 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2003 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2005 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2006 c_io_libio.cc instead of copying.
2007 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2009 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2010 c++threads.h instead of copying.
2011 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
2014 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2015 * bits/basic_file.h: Declare.
2017 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2019 2000-07-07 brent verner <brent@rcfile.org>
2021 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2023 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2025 * bits/istream.tcc (istream::getline): Minor tweaks.
2027 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2029 * docs/download.html: Mention gcc_update.
2030 * docs/configopts.html: Minor updates.
2031 * docs/gccrebuild.html: Ditto.
2032 * docs/18_support/howto.html: More tips, explanations, and reminders.
2033 * docs/19_diagnostics/howto.html: Ditto.
2034 * docs/21_strings/howto.html: Ditto.
2035 * docs/24_iterators/howto.html: Ditto.
2036 * docs/25_algorithms/howto.html: Ditto.
2037 * docs/26_numerics/howto.html: Ditto.
2039 2000-07-05 brent verner <brent@rcfile.org>
2041 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2042 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2043 * config/c_io_libio.cc (__basic_file::open): Unset
2044 ~_IO_DELETE_DONT_CLOSE.
2046 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2048 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2049 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2050 Do not paste anything after 'operator' keyword.
2052 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2054 * bits/std_memory.h: Revert.
2056 2000-07-03 Brendan Kehoe <brendan@zen.org>
2058 * bits/std_complex.h: Fix parens. Format.
2060 2000-07-03 scott snyder <snyder@fnal.gov>
2062 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2063 from the input if base == 0.
2064 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2065 number with a leading `0' in hex mode.
2067 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2069 * mkinclosure: Change `==' to `=' in test.
2071 2000-07-03 Chip Salzenberg <chip@valinux.com>
2073 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2075 * src/Makefile.in: Regenerate.
2077 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2078 Ulrich Drepper <drepper@purist.soma.redhat.com>
2080 Sync libio to glibc-2.2 current CVS.
2081 * libio/_G_config.h: New file.
2082 * libio/wfileops.c: New file.
2083 * libio/wfiledoalloc.c: New file.
2084 * libio/wgenops.c: New file.
2085 * libio/iofwide.c: New file.
2086 * libio/Makefile.am: Tweaks.
2087 * libio/Makefile.in: Regenerate.
2088 * libio/gen-params: Remove. Generic replacement for this yet undone.
2089 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2090 libioP.h, stdfiles.c]: Update.
2091 * config/c_io_libio.cc: Tweaks.
2092 * acinclude.m4: Complete hacks to test wide io.
2093 * aclocal.m4: Regenerate.
2094 * configure: Regenerate.
2095 * src/Makefile.am: Update.
2096 * src/Makefile.in: Regenerate.
2098 * math/cargl.c: Remove underscores.
2100 * bits/locale_facets.h: Tweaks. Start adding iconv details
2102 * bits/locale_facets.tcc: Tweaks.
2103 * bits/std_cwchar.h: Tweaks.
2105 2000-06-29 scott snyder <snyder@fnal.gov>
2107 * bits/concept_checks.h
2108 (__less_then_comparable_requirement_violation): Only check for <.
2109 * testsuite/25_algorithms/lower_bound.cc: New file.
2111 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2113 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2114 * bits/ostream.tcc: Tweak.
2115 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2116 _M_buf_size_opt too.
2117 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2118 out _M_buf_size_opt.
2119 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
2120 _M_buf_size_opt out here.
2121 * bits/char_traits.h (char_traits::eos): Non standard member
2122 function, uglify to __eos. Return char_type().
2123 * bits/std_ostream.h: Change.
2125 * testsuite/27_io/ostream_seeks.cc: New file.
2126 * testsuite/27_io/ostream_seeks-1.tst: New file.
2127 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2129 * testsuite/27_io/istream_seeks.cc: New file.
2131 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
2133 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2134 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2135 (auto_ptr): _M_ptr changed to void*.
2136 (suto_ptr::get): Cast _M_ptr to element type.
2137 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2138 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2139 (auto_ptr::operator*): Likewise.
2140 (auto_ptr::operator->): Likewise.
2141 (auto_ptr::release): Likewise.
2142 (auto_ptr::reset): Likewise.
2143 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2144 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2145 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2146 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2148 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2150 * testsuite/27_io/filebuf.cc: Tweak.
2151 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2152 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2154 (__basic_file::basic_file): Clean, add calls similar to
2156 (__basic_file::open): Clean.
2157 (__basic_file::sys_open): Clean.
2159 * bits/std_fstream.h: Revert.
2160 * bits/fstream.tcc (filebuf::close()): Revert.
2161 (filebuf::basic_filebuf()): Revert.
2163 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2165 Update to SGI STL 3.3
2166 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2167 ext/stl_rope.h, ext/ropeimpl.h: Update.
2168 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2169 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2170 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2171 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2172 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2173 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2174 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2175 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2176 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
2178 * src/Makefile.am (headers): Add new files.
2179 * src/Makefile.in: Regenerate.
2180 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
2181 * bits/concept_checks.h: New file.
2182 * bits/container_concepts.h: New file.
2183 * bits/sequence_concepts.h: New file.
2185 2000-06-27 H.J. Lu <hjl@gnu.org>
2186 Loren J. Rittle <ljrittle@acm.org>
2188 * mkcheck.in: Add support to print standard flags needed to
2189 test g++ in build tree. Enhance command line error checking.
2191 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2193 * docs/install.html: Fix minor typo as reported.
2195 2000-06-26 Brent Verner <brent@rcfile.org>
2197 * bits/string.tcc (string::rfind): Fix.
2198 * testsuite/21_strings/rfind.cc: New file.
2200 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2202 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2204 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
2206 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2208 * mkcheck.in: Make the *.txt and *.tst files writable after
2209 copying them to $TEST_DIR.
2211 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
2212 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2213 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
2215 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2217 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2218 (basic_filebuf::close): Use it.
2219 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2221 (basic_filebuf): Add _M_fileno_based data member.
2222 As reported by brent verner <brent@rcfile.org>
2223 * testsuite/27_io/filebuf_members.cc: New file.
2224 * testsuite/27_io/filebuf_members-1.tst: New file.
2226 * bits/std_fstream.h: Formatting tweaks.
2227 * testsuite/27_io/ofstream_members.cc: New file.
2228 * testsuite/27_io/ofstream_members-1.tst: New file.
2229 * testsuite/27_io/ifstream_members.cc: New file.
2230 * testsuite/27_io/ifstream_members-1.tst: New file.
2232 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2233 Ulrich Drepper <drepper@cygnus.com>
2235 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2236 that all the freaky stuff like sincos will be around...
2238 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2240 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2242 2000-06-22 Steven King <sxking@uswest.net>
2244 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2246 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2248 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2249 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2250 link against libm and don't use -fno-builtins...
2251 * math/mathconf.h: Change up builtin macros to new schema.
2252 * bits/std_cmath.h: And here. Wheee!
2253 * shadow/bits/std_cmath.h: And here.
2254 * acconfig.h: Change up builtin macros here.
2255 * math/cosf.c: Remove.
2256 * math/fabsf.c: Likewise.
2257 * math/sinf.c: Likewise.
2258 * math/sqrtf.c: Likewise.
2259 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2260 * math/Makefile.in: Regenerate.
2262 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2264 * testsuite/21_strings/find.cc: Patch.
2266 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2268 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2269 an easy way to get at g++ without having to link in libstdc++.
2271 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2273 Fix alpha, powerpc build failures.
2274 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2275 re-write. Need to check for both proper declaration when using a
2276 c++ compiler, and "C" linkage when linking. Do both, and if both
2277 exist, then define the HAVE_* bits in config.h.
2278 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2279 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2282 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2284 * bits/string.tcc: Fix find.
2285 * testsuite/21_strings/find.cc: Patch.
2287 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2289 * docs/install.html: Update where to get automake, where to get
2291 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2294 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2296 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2297 Add -Werror-implicit-function-declaration instead.
2299 Regenerate with fixed maintainer-tools.
2300 * aclocal.m4: Regenerate.
2301 * configure: Regenerate.
2302 * libio/Makefile.in: Regenerate.
2303 * src/Makefile.in: Regenerate.
2305 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2307 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2308 * bits/locale_factets.tcc: Tweak.
2310 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2312 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2313 be overridden on the command line for individual files.
2315 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2317 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2318 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2319 building. Use -x c++ instead, which does not attempt to link
2322 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2323 not coring when we hit a try/throw block, which was the problem
2324 with the linker support...
2326 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2328 * docs/documentation.html: Rename link to make more accurate and scary.
2329 * docs/gccrebuild.html: Edit for clarity as these are no longer
2331 * docs/install.html: Add bits about binutils for
2332 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2334 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2335 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2336 USE_COMPLEX_LONG_DOUBLE.
2337 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2338 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2339 Works around irregularies in powerpc "C" compiler, but a good idea
2342 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2343 New. Merge both old compiler bug checks for complex into this.
2345 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2347 * testsuite/21_strings/find.cc: Empty strings can be found at all
2348 positions. Modified.
2350 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2352 * testsuite/20_utilities: New directory.
2353 * testsuite/20_utilities/auto_ptr.cc: New file.
2355 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2357 * src/Makefile.am (string_sources): Simplify, assuming that with
2358 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2359 hacking is not necessary.
2360 (wstring_sources): Same.
2361 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2363 * src/string-inst.cc: Remove macro blocks.
2364 * mkcheck.in (CXX_FLAG): Add bits here.
2366 * src/string-inst.cc: Remove iostream-related string instantiations.
2367 * src/misc-inst.cc: Add here.
2369 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2371 * aclocal.m4: Regenerate.
2372 * configure.in: Change up.
2373 * configure: Regenerate.
2375 2000-06-13 Steven King <sxking@uswest.net>
2377 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2378 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2379 * acconfig.h: Add entries for fmod*.
2381 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2383 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2384 Test *_MODFF not *_MODF for modf(float, float*).
2385 (modf(float, float*)): Remove reference to _C_legacy.
2387 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2389 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2390 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2391 superset, and already defined at top level.
2392 * aclocal.m4: Regenerate.
2393 * configure: Regenerate.
2395 * docs/17_intro/contribute.html: Plead with people to use -cp.
2397 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2399 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2401 * testsuite/27_io/filebuf.cc: Changed calls to
2402 fpos<>._M_position() to implicit calls to operator streamoff().
2403 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2404 as not needed. Revert, as part of standard.
2405 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2406 call to numpunct<>._M_init() with overrides of the appropriate
2409 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2410 pointers from test01, so no need to call base(), which isn't
2411 guaranteed to be implemented as iterators may themselves be pointers
2412 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2413 _M_position() - use implicit conversion to streamoff instead
2415 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2417 * bits/stl_iterator.h: Added inline to operators == to >=.
2419 2000-06-13 Brent Verner <brent@rcfile.org>
2421 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2422 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2424 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2426 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2428 * src/locale.cc: Add cwchar include here. Remove incorrect
2429 definitions, and stub them out.
2430 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2431 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2432 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2433 * config/newlib/ctype.cc: Same.
2434 * config/gnu-linux/ctype.cc: Same.
2435 * config/bsd/ctype.cc: Same.
2436 * config/aix/ctype.cc: Same.
2438 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2440 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2441 towupper and towlower to convert wide characters.
2443 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2445 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2447 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2449 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2450 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2451 * aclocal.m4: Regenerate.
2452 * configure: Regenerate.
2453 * math/cosf.c: New file.
2454 * math/fabsf.c: Likewise.
2455 * math/sinf.c: Likewise.
2456 * math/sqrtf.c: Likewise.
2457 * math/Makefile.am (EXTRA_DIST): Add those four files.
2458 * math/Makefile.in: Regenerate.
2460 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2462 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2464 2000-06-06 Steven King <sxking@uswest.net>
2466 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2467 double and long double. Added defines for HAVE libm math functs for
2468 float and long double.
2469 * aclocal.m4: Added configure checks for builtin math funcs and libm
2470 support for float and long double versions of the math functions.
2471 * config.h.in: Added undefs for math functs.
2472 * configure: Regenerate.
2473 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2474 _GLIBCPP_HAVE_BUILTIN_*.
2475 * bits/std_cmath.h: Added long double support. Use builtins for
2476 float, double and long if available, otherwise, use libm versions if
2477 availible, otherwise, punt.
2478 * shadow/bits/std_cmath.h: ditto
2480 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2482 * bits/locale_facets.h: Tweak.
2483 * src/locale.cc (codecvt<wchar_t>): Tweak.
2485 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2486 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2488 * bits/basic_string.h: Move data member up.
2489 * src/string-inst.cc: Fix instantiations.
2490 * bits/string.tcc: Fix types.
2492 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2494 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2496 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2498 * bits/std_cwctype.h: Clean.
2499 * bits/std_cwchar.h: Clean, remove cruft.
2501 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2502 for beginning iconv support.
2503 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2505 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2506 * bits/limits_generic.h: Remove.
2507 * src/gen-num-limits.cc: Same.
2509 * src/locale.cc: Tweaks.
2511 * bits/char_traits.h: Tweaks.
2513 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2515 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2516 exponent, scientific formatting issues.
2517 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2519 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2521 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2522 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2524 2000-05-31 Nathan Myers <ncm@cantrip.org>
2526 * docs/thanks.html: edit own credits
2528 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2530 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2532 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2534 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2536 2000-05-31 Steven King <sxking@uswest.net>
2538 * shadow/time.h: fix typo
2539 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2540 * shadow/bits/std_cwchar.h: ditto
2541 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2544 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2546 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2547 available, force --disable. Need to flesh this out; make smarter.
2548 * aclocal.m4: Regenerate.
2549 * configure: Regenerate.
2551 * mkcheck.in: Minor tweaks.
2552 * docs/download.html: Fix typo.
2554 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2556 * inclosure: Change to...
2557 * mkinclosure: This.
2559 * mkcshadow: Fix paths to bash.
2561 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2562 * src/Makefile.in: Regnerate.
2563 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2564 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2565 * aclocal.m4: Regenerate.
2566 * mkcheck.in (INC_PATH): Tweak.
2568 * configure.in: Enable long long by default.
2569 * configure: Regenerate.
2571 * mkcheck.in (LIB_PATH): Revert.
2573 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2575 * config/cpu/i486: New directory.
2576 * config/cpu/i486/bits: New directory.
2577 * config/cpu/i486/bits/atomicity.h: New file.
2578 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2580 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2582 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2584 * backward/alloc.h (__default_alloc_template): Only expose
2585 implementation-specific symbol, if it exists in the
2587 * backward/iostream.h (ends): Expose symbol.
2588 * backward/strstream.h: New file.
2589 * backward/stream.h: New file.
2590 * backward/ostream.h: New file.
2591 * backward/istream.h: New file.
2592 * backward/fstream.h: New file.
2593 * backward/complex.h: New file.
2594 * backward/iomanip.h: New file.
2596 * mkcheck.in (LIB_PATH): Add -R bits.
2598 * math/carg.c (carg): Replace __atan2 with atan2.
2600 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2602 * Makefile.am (TAGS): Construct.
2603 * Makefile.in: Rengerate.
2604 * src/Makefile.am: Tweak.
2605 * src/Makefile.in: Tweak.
2606 * configure.in: Tweak.
2608 * bits/c++config.h: Rename to ...
2609 * bits/c++config: This.
2610 * mkc++config: Adjust.
2613 * m4/lc_message.m4: Merge into acinclude.m4.
2614 * m4/mathfcts.m4: Same.
2615 * m4/stringfcts.m4: Same.
2616 * acinclude.m4: Add here.
2617 * configure: Regnerate.
2619 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2620 OPTLEVEL. Add FMTFLAGS.
2621 * aclocal.m4: Regenerate.
2622 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2623 been disabled due to higher-level Makefiles running amuck over
2624 this bit, and add in FMTFLAGS so that formatting is clear.
2625 * src/Makefile.in: Regenerate.
2626 * configure: Regenerate.
2628 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2631 * docs/download.html: Remove references to Cygwin-specific bits,
2632 as this can now be built natively.
2633 Update with current information.
2635 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2637 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2638 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2639 enclose other tests in this macro, including future ones.
2640 * aclocal.m4: Regenerate.
2641 * configure: Regenerate.
2643 * docs/faq/index.html: Update location of libg++ FAQ.
2644 * docs/faq/index.txt: Regenerate.
2646 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2648 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2650 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2652 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2654 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2656 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2657 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2658 * aclocal.m4: Regenerate.
2659 * configure: Regenerate.
2661 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2663 * bits/generic_shadow.h: s/swamp/legacy/
2665 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2667 * acinclude.m4: Clean up comments on newer checks.
2668 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2669 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2670 * aclocal.m4: Regenerate.
2671 * configure: Regenerate.
2672 * Makefile.in: Regenerate.
2673 * libio/Makefile.in: Regenerate.
2674 * math/Makefile.in: Regenerate.
2675 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2676 * src/Makefile.in: Regenerate.
2677 * docs/configopts.html: Document changes to --enable names.
2679 2000-05-18 Chip Salzenberg <chip@valinux.com>
2681 * bits/ostream.tcc (_S_pad_char): Function template should not be
2683 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2684 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2686 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2688 * mkcshadow: Change C_Swamp to C_legacy.
2690 * shadow/bits/*: Same.
2691 s/C_Swamp/C_legacy/g
2695 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2697 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2699 * src/string-inst.cc (string::_S_find): Same.
2701 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2703 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2704 --enable-cshadow-headers. Add output messages.
2705 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2706 underscores (like the rest of the enable options.) Add output messages.
2707 * aclocal.m4: Regenerate.
2708 * configure: Regenerate.
2709 * configure.in: Touch.
2711 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2713 * mkcheck.in: Enable shared library testing.
2715 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2717 * bits/std_cmath.h: fix sqrt(float)
2719 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2721 * bits/std_cassert.h: Use system_header pragma.
2722 * bits/std_cctype.h: Likewise.
2723 * bits/std_cerrno.h: Likewise.
2724 * bits/std_cfloat.h: Likewise.
2725 * bits/std_climits.h: Likewise.
2726 * bits/std_clocale.h: Likewise.
2727 * bits/std_cmath.h: Likewise.
2728 * bits/std_csetjmp.h: Likewise.
2729 * bits/std_csignal.h: Likewise.
2730 * bits/std_cstdarg.h: Likewise.
2731 * bits/std_cstddef.h: Likewise.
2732 * bits/std_cstdio.h: Likewise.
2733 * bits/std_cstdlib.h: Likewise.
2734 * bits/std_cstring.h: Likewise.
2735 * bits/std_ctime.h: Likewise.
2736 * bits/std_cwchar.h: Likewise.
2737 * bits/std_cwctype.h: Likewise.
2738 * bits/std_exception.h: Likewise.
2739 * bits/std_new.h: Likewise.
2740 * bits/std_typeinfo.h: Likewise.
2741 * shadow/bits/std_cassert.h: Likewise.
2742 * shadow/bits/std_cctype.h: Likewise.
2743 * shadow/bits/std_cerrno.h: Likewise.
2744 * shadow/bits/std_cfloat.h: Likewise.
2745 * shadow/bits/std_climits.h: Likewise.
2746 * shadow/bits/std_clocale.h: Likewise.
2747 * shadow/bits/std_cmath.h: Likewise.
2748 * shadow/bits/std_csetjmp.h: Likewise.
2749 * shadow/bits/std_csignal.h: Likewise.
2750 * shadow/bits/std_cstdarg.h: Likewise.
2751 * shadow/bits/std_cstddef.h: Likewise.
2752 * shadow/bits/std_cstdio.h: Likewise.
2753 * shadow/bits/std_cstdlib.h: Likewise.
2754 * shadow/bits/std_cstring.h: Likewise.
2755 * shadow/bits/std_ctime.h: Likewise.
2756 * shadow/bits/std_cwchar.h: Likewise.
2757 * shadow/bits/std_cwctype.h: Likewise.
2758 * shadow/bits/wrap_libio.h: Likewise.
2759 * shadow/bits/wrap_unistd.h: Likewise.
2760 * shadow/sys/cdefs.h: Likewise.
2762 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2764 It appears that gcc-2.96 supports the keyword "and" now.
2765 * bits/std_ciso646.h: remove.
2767 * testsuite/17_intro/header_ciso646.c: enable testing.
2768 * src/Makefile.am, src/Makefile.in: remove mention of
2771 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2773 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2775 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2777 * acinclude.m4: Fix typo, switch to decaf...
2778 * aclocal.m4: Regenerate.
2779 * configure: Regenerate.
2781 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2783 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2784 * aclocal.m4: Regenerate.
2785 * configure.in: Call.
2786 * configure: Regenerate.
2787 * docs/configopts.html: Stub documentation.
2789 2000-05-14 Nathan Myers <ncm@cantrip.org>
2791 * mkcshadow: build in more-correct directory, create cshadow/
2792 directory if needed, report progress.
2794 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2796 * src/Makefile.am: Fix tr commands.
2797 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2798 * src/string-inst.cc: Remove extra instantiation of
2799 S::basic_string(S::size_type, C, S::allocator_type const&);
2800 * src/string-inst.cc: Remove extra template keyword.
2802 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2804 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2805 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2806 * aclocal.m4: Regenerate.
2807 * configure: Regenerate.
2808 * */Makefile.in: Regenerate.
2810 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2812 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2813 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2814 * aclocal.m4: Regenerate.
2815 * configure.in: Non-blank arguments break fewer Linuxes.
2816 * configure: Regenerate.
2817 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2818 * src/Makefile.in: Regenerate.
2820 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2822 * bits/std_cmath.h: Tweaks.
2823 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2824 (sqrtf): Define away iff !builtin and !in <math.h>.
2828 At some point this directory should be converted to c++, the
2829 autoconf tests should be run by the c++ compiler (not c), and
2830 <cmath> should be used instead of math.h.
2831 Move declaration of nan() here.
2832 * math/complex-stub.h (cabsl): Remove nan() declaration.
2834 Finish up FreeBSD4.0 support.
2835 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2836 * config/generic/ctype.cc: And here.
2837 * testsuite/21_strings/char_traits.cc (test02): Guard with
2838 _GLIBCPP_USE_WCHAR_T.
2840 via Phil Edwards <pme@sourceware.cygnus.com>
2841 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2842 * acconfig.h: And here.
2843 * acinclude.m4: Same.
2844 * testsuite/27_io/istream.cc: And here.
2845 * testsuite/27_io/ostream.cc: And here.
2847 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2849 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2851 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2853 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
2856 * config/bsd: New directory.
2857 * config/bsd/ctype.cc: New.
2858 * config/bsd/bits/ctype_base.h (ctype_base): New.
2859 * config/bsd/bits/ctype_specializations.h: New.
2860 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
2862 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
2864 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
2865 * configure.in: Call.
2866 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
2867 * aclocal.m4: Regenerate.
2869 * src/Makefile.in: Ditto.
2870 * docs/configopts.html: Document.
2871 * docs/download.html: Fix typo (close quote).
2872 * docs/footer.html: Update.
2874 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
2876 * backward/iostream.h: Expose endl. Guard wide types.
2877 * src/Makefile.am (headers): Update list to match files.
2878 * src/Makefile.in: Regenerate.
2880 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
2881 Benjamin Kosnik <bkoz@gnu.org>
2882 Nathan Myers <ncm@cantrip.org>
2883 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
2885 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
2886 (basic_streambuf::xsputn): Make consistent.
2887 * testsuite/27_io/filebuf.cc: Add tests.
2889 2000-05-08 Steven King <sxking@uswest.net>
2891 * bits/char_traits.h: Use wchar_t utility functions for
2892 char_traits<wchar_t> methods.
2893 * testsuite/21_string/char_traits.cc: New (test02): test
2894 char_traits<wchar_t>
2896 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
2898 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
2900 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
2901 _M_buf_size based on macro, instead use _M_buf_size_opt.
2902 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
2903 (basic_streambuf()): Set _M_buf_size_opt.
2904 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
2905 instead of _M_buf_size.
2907 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
2909 * src/complex_io.cc: Don't instantiate inserters and extractors
2910 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2912 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
2913 Felix Natter <fnatter@gmx.net>
2915 * docs/footer.html: Update to see if it takes effect.
2916 * docs/thanks.html: More people.
2917 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
2918 be seen from the web pages. Rename for browser-friendliness...
2919 * docs/17_intro/howto.html: ...and update here.
2920 * docs/17_intro/porting-howto.html: Changes from Felix.
2921 * docs/gccrebuild.html: Mention v3->egcs move.
2922 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
2923 * docs/faq/index.txt: Regenerate.
2925 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
2927 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
2930 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
2932 * bits/char_traits.h: Fix parameter types.
2933 * bits/string.tcc: Avoid traits_type::move.
2935 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
2937 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
2938 * src/Makefile.in: Regenerate.
2939 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
2941 2000-04-30 Steven King <sxking@uswest.net>
2943 * bits/locale_facets.h: Fix syntax error.
2944 * bits/std_fstream.h: ditto
2946 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
2948 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
2950 * mknumeric_limits (trait_name): Fix copyright notice.
2951 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
2952 round_error data members of struct value. This works around
2953 weak-linking issues on AIX, HPUX.
2955 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
2957 * docs/download.html: Add link to list of mirror sites.
2959 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
2961 * mkcheck.in: Rely on exit status instead of the presence of a
2962 core file. Added comments on how/where to save core and exe
2963 files. Move shell wildcards outside quotes and fix core path.
2965 2000-04-27 scott snyder <snyder@fnal.gov>
2967 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
2970 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
2972 * bits/basic_string.h: include <bits/atomicity.h> instead
2973 of <atomicity.h>, and use the uglified names.
2974 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
2975 uglify names, eliminate dependence on <inttypes.h>.
2976 * src/Makefile.in, src/Makefile.am: refer to correct place
2977 for atomicity.h header.
2979 2000-04-25 Steven King <sxking@uswest.net>
2981 * bits/basic_string.h: Fix syntax error.
2983 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
2985 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
2987 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
2988 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
2989 versions to this as copysignl is needed anyway for these targets.
2990 * math/Makefile.in: Regenerate.
2992 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
2993 * bits/fstream.tcc (underflow): Cast to libio types.
2994 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
2995 * config/c_io_libio.cc (seekoff): And here.
2997 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2999 * mkcheck.in: Report compiler version used for test. Find
3000 the built _G_config.h instead of any old installed version.
3002 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
3004 * config/generic/ctype.cc (do_toupper): Remove dependence on
3005 non-portable/non-existent lookup table.
3008 2000-04-24 Nathan Myers <ncm@cantrip.org>
3010 * src/string-inst.cc: More fixing.
3012 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3014 * bits/stl_iterator.h: Pedantic fixing.
3015 * bits/std_sstream.h: And here.
3016 * bits/string.tcc: And here.
3018 2000-04-24 Felix Natter <fnatter@gmx.net>
3020 * docs/17_intro/howto.html: Add bits.
3021 * docs/17_intro/porting-howto.html: New file.
3023 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
3025 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3026 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3027 wchar_t, to empty string otherwise.
3028 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3029 (sources): Remove $(string_sources) and $(wstring_sources).
3030 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3031 (libstdc___la_DEPENDENCIES): New.
3032 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3034 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3036 * bits/std_sstream.h: Tweak formatting.
3037 * bits/std_fstream.h: Make types public.
3039 * testsuite/27_io/streambuf.cc: Fix for alpha.
3041 Brad Garcia <bgarcia@laurelnetworks.com>
3042 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3044 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3047 2000-04-19 Nathan Myers <ncm@cantrip.org>
3049 * src/string-inst: consolidate _S_create,
3050 destroy, leak, clone members into stringMAIN and stringMUTATE
3052 * src/Makefile.am: Above, and eliminate dependence on
3054 * src/wstring-inst.cc: Remove.
3056 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3058 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3059 Add flags for specialized rules dealing with instantiations.
3061 * src/string-inst.cc: Add instantiations missing from shared
3062 libraries--see stringEQ, stringCONSC.
3063 * src/Makefile.am (wstring_sources): Add.
3064 (string_sources): Same.
3065 * src/Makefile.in: Regenerate.
3067 * stl/*: Integrate contents of this directory into top-level
3069 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3070 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3071 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3072 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3073 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3074 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3075 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3076 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3077 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3078 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3079 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3080 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3081 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3082 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3083 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3084 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3085 stack.h tempbuf.h tree.h vector.h: Add.
3086 * README (file): Update.
3087 * docs/documentation.html: README not being found.
3088 * src/Makefile.am (sources): Take out stl directory.
3089 * mkcheck.in (SRC_DIR): And here.
3090 * src/Makefile.in: Regenerate.
3092 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3094 * stl/bits/stl_function.h: Add bits so that const and non-const
3097 2000-04-18 scott snyder <snyder@fnal.gov>
3099 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3100 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3101 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3102 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3103 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3105 2000-04-18 scott snyder <snyder@fnal.gov>
3107 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3110 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3111 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3112 * stl/ext/hash_set (class hash_set, class hash_multiset):
3114 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3115 constant_binary_fun): Likewise.
3116 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3117 * stl/bits/stl_stack.h (class stack): Likewise.
3118 * stl/bits/stl_set.h (class set): Likewise.
3119 * stl/bits/stl_multiset.h (class multiset): Likewise.
3121 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3122 class reverse_iterator): Get rid of use of
3123 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3125 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3128 * stl/bits/stl_deque.h (class deque): Get rid of use of
3129 __STL_DEFAULT_ALLOCATOR macro.
3130 * stl/bits/stl_list.h (class list): Likewise.
3131 * stl/bits/stl_multiset.h (class multiset): Likewise.
3132 * stl/bits/stl_set.h (class set): Likewise.
3133 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3134 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3135 * stl/bits/stl_vector.h (class vector): Likewise.
3136 * stl/ext/ropeimpl.h (rotate): Likewise.
3137 * stl/ext/hash_map (class hash_map, class hash_multimap):
3139 * stl/ext/hash_set (class hash_set, class hash_multiset):
3141 * stl/ext/slist (class slist): Likewise.
3142 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3143 * stl/ext/stl_rope.h (class rope): Likewise.
3144 * src/locale.cc (_Impl): Likewise.
3145 * src/localename.cc (_Impl): Likewise.
3146 * bits/localefwd.h (_Impl): Likewise.
3148 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3150 * docs/install.html: Cleanup, minor changes.
3151 * docs/17_intro/howto.html: Ditto.
3153 2000-04-18 Nathan Myers <ncm@cantrip.org>
3155 * bits/basic_string.h: Remove "inline" from member _S_find.
3157 * src/string-inst.cc: Rewrite to reflect non-inline template
3158 instantiations in string.tcc.
3160 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3161 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3162 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3163 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3164 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3165 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3166 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3167 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3168 stringNESS.cc, stringSCOPY.cc: Remove.
3169 * src/wstringADDCS.cc, etc: Remove.
3171 Benjamin Kosnik <bkoz@haight.constant.com>
3172 * src/Makefile.am: Modify to reflect above.
3173 * src/Makefile.in: Regenerate.
3175 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3177 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3179 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3181 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3182 io interface here instead of the libio particulars.
3184 * config/threads-posix.h: Consistency with stl_config.h.
3186 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3188 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
3190 * mknumeric_limits: Rename generic type template parameter name
3192 * stl/bits/type_traits.h: Ditto.
3194 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3196 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3197 it is more useful for --enable-libstdcxx-v3. Use the built
3198 compilers with v3, instead of compilers in PATH, and don't
3199 re-include include directories for checking the install.
3201 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3203 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3204 by default when using --enable-libstdcxx-v3.
3205 * src/Makefile.in: Regenerate.
3206 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3207 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3208 * configure: Regenerate.
3209 * mkcheck.in: Deal with NAMESPACES.
3211 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
3213 * src/cmath.cc: New file...
3214 (pow(*, int)): Define functions...
3215 * src/Makefile.am (sources): ...register file.
3216 * src/Makefile.in: Regenerate.
3217 * bits/std_cmath.h (pow): ...declare functions here, and remove
3220 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3222 * acinclude.m4 (GCC_OBJDIR): Tweaks
3224 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3226 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3227 * config/cpu/arm: New directory.
3229 Jesper Skov <jskov@redhat.com>
3230 * config/cpu/arm/atomicity.h: New file.
3232 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3234 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3235 Remove unused bits. Clean.
3237 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3239 * testsuite/25_algorithms: New directory.
3240 * testsuite/25_algorithms/min_max.cc: New file.
3242 2000-03-29 scott snyder <snyder@fnal.gov>
3244 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3245 precision beyond that which we get from numeric_limits::digits10.
3247 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3250 * testsuite/23_containers/bitset_shift.cc: Fix.
3252 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3253 temporary to imbue().
3255 * bits/std_fstream.h (sync): Resync libio's idea of the current
3256 file position with the external file.
3258 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3260 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3263 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3264 attempting calls to it.
3265 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3266 ctors. Instead, call _M_init_filebuf ...
3267 (open): Here, as suggested by 27.8.1.3.
3268 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3269 properly when initializing cout/cin/cerr.
3271 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3273 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3274 * testsuite/22_locale/ctype_char_members.cc: And here.
3275 * testsuite/27_io/streambuf.cc (streambuf): And here.
3276 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3277 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3278 * testsuite/27_io/istream_extractor_arith.cc: And here.
3279 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3280 * testsuite/27_io/ios_base_members_static.cc: And here.
3281 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3283 2000-03-27 Chris Faylor <cgf@cygnus.com>
3285 * configure.in: Remove setting of CXX if canadian cross.
3286 * configure: Regenerate.
3288 2000-03-27 Nathan Myers <ncm@zembu.com>
3290 * bits/sstream.tcc: Optimize.
3291 * bits/basic_string.h(string::append): Don't inline.
3292 * bits/string.tcc: Move out-of-line.
3294 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3296 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3297 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3298 * aclocal.m4: Regenerate.
3299 * configure: Regenerate.
3300 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3301 * src/Makefile.in: Regenerate.
3303 * docs/install.html: Almost complete rewrite.
3305 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3307 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3308 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3310 * docs/faq/index.txt: Regenerate.
3312 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3314 * src/Makefile.am (libio_headers_install): Fix.
3315 * src/Makefile.in: Regenerate.
3317 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3319 * docs/17_intro/RELEASE-NOTES: Fix typos.
3320 * docs/index.html: Update.
3321 * docs/17_intro/BUGS: Update.
3322 * docs/status.html: Update for 2.90.8 release.
3324 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3326 * Makefile.am: Better error message when missing libgcc2.ready.
3327 * Makefile.in: Regenerate.
3328 * acinclude.m4: Fastidious nitpicking reformatting.
3329 * aclocal.m4: Regenerate.
3330 * configure: Regenerate.
3331 * mkcheck.in: Must use same namespace settings as the library being
3332 tested. Also log ST_FLAG, since it's being passed.
3333 * docs/install.html: Add brief chunk on configuration.
3334 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3335 * docs/23_containers/howto.html: Mention MT-safe string.
3336 * docs/faq/index.html: Minor updates.
3337 * docs/faq/index.txt: Regerarate.
3339 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3341 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3343 * bits/fstream.tcc (seekoff): Sync.
3345 * testsuite/27_io/ostream_unformatted.cc: New file.
3346 * testsuite/27_io/stringbuf.cc: Fix.
3347 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3349 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3350 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3352 * src/complex_io.cc (operator>>complex): Tweak.
3354 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3355 <inttypes.h> does not exist.
3356 * config/cpu/sparc/sparc64/atomicity.h: Same.
3357 * config/cpu/sparc/sparc32/atomicity.h: Same.
3358 * config/cpu/powerpc/atomicity.h: Same.
3359 * config/cpu/i386/atomicity.h: Same.
3360 * config/cpu/generic/atomicity.h: Same.
3361 * configure.in: Check for inttypes.h.
3362 * configure: Regnerate.
3364 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3366 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3368 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3370 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3372 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3373 are compiling natively.
3375 * libio/*: Update to CVS libio from egcs.
3377 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3379 * docs/download.html: Document use of -z9 for CVS.
3380 * docs/index.html: Add target date (no link) for future snapshot.
3382 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3384 * bits/slice_array.h: Rename generic type template parameter name
3386 * bits/mask_array.h: Ditto
3388 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3390 * *: Change copyright holder from "Cygnus Solutions" to "Free
3391 Software Foundation, Inc."
3393 * docs/configopts.html: Explain what "hella versions" means.
3394 * docs/install.html: Some tweaks--nice job on this Phil.
3395 * docs/documentation.html: Add a direct link to configuration options.
3397 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3398 * docs/17_intro/RELEASE-NOTES (New): Add.
3399 * bits/c++config.h (__GLIBCPP__): Bump version.
3401 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3402 type to match prototype.
3404 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3406 * docs/install.html: Update for new funky build procedure. Move
3407 description of 'configure' options to...
3408 * docs/configopts.html: ...here. New file.
3409 * docs/17_intro/howto.html: Updates for new snapshot.
3410 * docs/20_util/howto.html: Ditto.
3411 * docs/21_strings/howto.html: Ditto.
3412 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3413 * docs/22_locale/howto.html: Ditto.
3414 * docs/23_containers/howto.html: Ditto.
3415 * docs/faq/index.html: Ditto.
3417 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3418 Benjamin Kosnik <bkoz@gnu.org>
3420 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3422 * aclocal.m4: Regenerate.
3423 * configure: Regenerate.
3425 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3426 scott snyder <sss@karma.fnal.gov>
3428 * config/c_io_libio.h: Add __c_lock.
3429 * config/threads-no.h: Same here.
3430 * config/threads-posix.h: Add __mutext_type typedef.
3431 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3432 * bits/basic_file.h: Ctor takes lock arg.
3433 * bits/std_fstream.h: Add _M_lock.
3434 * bits/fstream.tcc: Supply it to basic_file ctor.
3436 * mkcheck.in (resultstext): Change [[ to [.
3438 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3440 * bits/locale_facets.h: Tweak.
3442 * stl/bits/stl_config.h: Fix defines.
3444 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3446 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3448 * configure: Regenerate.
3449 * aclocal.m4: Regnerate.
3451 2000-03-16 Nathan Myers <ncm@zembu.com>
3453 * bits/string.tcc: Add MT support.
3454 * bits/basic_string.h: Same.
3456 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3458 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3460 * configure: Regenerate.
3462 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3464 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3466 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3467 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3468 any defaults passed in.
3469 * aclocal.m4: Regenerate.
3471 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3473 * mkcheck.in: Report total successes and failures.
3475 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3477 * config/cpu: New directory, intended to be used to provide
3478 cpu-specific configuration files. In particular, assembly language
3479 primitives for thread safety.
3480 * config/cpu/alpha: Populate.
3481 * config/cpu/alpha/atomicity.h: New file.
3482 * config/cpu/arm: Populate.
3483 * config/cpu/generic: Populate.
3484 * config/cpu/generic/atomicity.h: New file.
3485 * config/cpu/hppa: Populate.
3486 * config/cpu/i386: Populate.
3487 * config/cpu/i386/atomicity.h: New file, take from i486.
3488 * config/cpu/m68k: Populate.
3489 * config/cpu/mips: Populate.
3490 * config/cpu/powerpc: Populate.
3491 * config/cpu/powerpc/atomicity.h: New file.
3492 * config/cpu/sparc: Populate.
3493 * config/cpu/sparc/sparc32: Populate.
3494 * config/cpu/sparc/sparc64: Populate.
3495 * config/cpu/sparc/sparc32/atomicity.h: New file.
3496 * config/cpu/sparc/sparc64/atomicity.h: New file.
3498 * src/Makefile.am (myinstallheaders): Add install routines.
3499 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3501 * configure.in: Add.
3503 * config/default: Adopt glibc naming conventions, and so move to
3504 * config/generic: Here.
3505 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3507 2000-03-15 Bill Thompson <billt@toast.net>
3509 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3511 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3513 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3515 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3516 * aclocal.m4: Regenerate.
3517 * configure: Regenerate.
3519 2000-03-13 scott snyder <snyder@fnal.gov>
3520 Jason Merrill <jason@cygnus.com>
3522 * bits/locale_facets.h (class ctype, class ctype<char>, class
3523 ctype<wchar_t>): More mask fixes.
3524 * testsuite/22_locale/ctype.cc: Test for the problem.
3526 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3528 * acconfig.h: Add bits.
3529 * configure.in: Move AM_PROG_LIBTOOL up in file.
3530 Tweak cross compiling info.
3531 * configure: Regenerate.
3533 * mknumeric_limits (XCOMPILE): Echo compilation line for
3536 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3537 * aclocal.m4: Regenerate.
3538 * configure: Regenerate.
3539 * config/aix/ctype.cc (ctype): Tweak.
3540 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3541 * config/aix/bits/ctype_specializations.h: New file.
3543 2000-03-10 scott snyder <snyder@fnal.gov>
3545 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3547 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3548 regression test for the problem.
3550 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3552 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3553 * bits/fpos.h: And here.
3554 * bits/std_ostream.h: Same here.
3555 * bits/std_istream.h: Same here.
3556 * bits/basic_ios.h: Same here.
3557 * bits/std_fstream.h: Same here.
3558 * bits/sbuf_iter.h (std): Here too.
3559 * bits/std_sstream.h: Make types public.
3561 * src/misc-inst.cc: Use size_t instead of unsigned int.
3562 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3563 suppose this should be ctype::narrow... all the ctype<wchar_t>
3564 stuff needs to be cleaned up.
3566 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3568 * docs/gentop: Remove entire directory, finally.
3570 2000-03-09 scott snyder <snyder@fnal.gov>
3572 * bits/std_cmath.h (modf): Fix pointer overrun.
3573 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3574 test for the problem.
3576 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3578 Looks like changes to the #include'd files must be followed by a
3579 change to the #include'ing files to take effect. Caveat emptor.
3580 * docs/header.html: New file, for server-side include.
3581 * docs/footer.html: New file, for server-side include.
3582 * docs/documentation.html: Change to use SSI.
3583 * docs/download.html: Ditto.
3584 * docs/index.html: Ditto.
3585 * docs/mail.html: Ditto.
3586 * docs/status.html: Ditto.
3587 * docs/thanks.html: Ditto, plus minor updates.
3588 * docs/how.html: Remove.
3590 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3592 Preliminary alpha-linux support.
3593 * src/locale.cc (ctype<wchar_t>): Use correct types...
3594 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3595 (ctype<wchar_t>): Same.
3596 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3597 types match for table_size (size_t).
3599 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3600 as per char specialization.
3601 * config/*/ctype.cc: Same.
3603 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3605 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3606 _Ctype_nois<>. Template base classes are never examinated in
3607 first-phase name-lookup.
3609 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3611 Add Solaris 2.5.1 support.
3612 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3613 * config/solaris/solaris2.5/ctype.cc: Fixup.
3614 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3615 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3616 * aclocal.m4: Regenerate.
3617 * configure: Regenerate.
3619 * config/default/ctype.cc (ctype): Fixup.
3621 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3623 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3624 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3627 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3629 * bits/cpp_type_traits.h: Expand on this file purpose.
3631 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3633 * bits/locale_facets.h (ctype<char>): Remove static members, and
3634 re-work initialization code.
3635 (ctype<wchar_t>): Same.
3636 Move _S_touppper to _M_toupper and initialize in ctor.
3637 Move _S_tolower to _M_tolower and initialize in ctor.
3638 Move _S_table to _M_ctable and intialize in ctor.
3639 * bits/locale_facets.h (std): And here.
3640 * src/locale.cc (std): Tweak.
3641 * config/gnu-linux/ctype.cc: Change initialization here.
3642 * config/newlib/ctype.cc: And here.
3643 * config/solaris/solaris2.7/ctype.cc: And here.
3644 * config/solaris/solaris2.6/ctype.cc: And here.
3646 * bits/localefwd.h: Tweak.
3647 * bits/std_streambuf.h: Tweak formatting.
3649 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3651 2000-03-05 Chip Salzenberg <chip@valinux.com>
3653 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3655 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3656 Kevin Atkinson <kevinatk@home.com>
3658 Initial grab of SGI's strstream implementation with minor
3660 * src/strstream.cc: New file.
3661 * std/strstream: New file.
3662 * stl/bits/std_strstream.h: New file.
3663 * bits/std_streambuf.h: Add public access.
3664 * src/Makefile.am: Add strstream sources to list of dependancies.
3665 * src/Makefile.in: Regenerate.
3667 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3669 * bits/valarray_meta.h: Fix typo.
3671 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3672 Chip Salzenberg <chip@valinux.com>
3673 Petter Urkedal <petter@matfys.lth.se>
3675 * src/Makefile.am (myinstallheaders): Hack to avoid
3677 * src/Makefile.in: Regenerate.
3679 2000-03-02 Chip Salzenberg <chip@valinux.com>
3681 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3682 (LINK): Put quotes around "$(CC)" for libtool link mode,
3683 so libtool will use "-B" options during GCC bootstrap.
3684 * */Makefile.in: Regenerate.
3686 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3688 * config/c_io_libio.h: Enclose it all in ::std.
3689 * bits/basic_string.h (basic_string<>): Make types and
3691 * mkc++config: Truncate output file before writing.
3693 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3695 * math/cabsf.c (__mycabsf): Rename to cabsf.
3696 * math/cabs.c (__mycabs): Rename to cabs.
3698 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3700 * bits/basic_string.h: Move declarations of __out_of_range(),
3701 __length_error() and accompanying macros ...
3702 * bits/exception_support.h: here. (Newly created file).
3703 * bits/basic_string.h: #include <bits/exception_support.h>
3704 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3705 * src/Makefile.am (headers): Add.
3706 * src/Makefile.in: Regenerate.
3708 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3710 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3712 * bits/valarray_array.h: Synch. Fix typos.
3714 * libio/Makefile.am: Change to only compile source files that
3715 config/c_io_libio.cc actually needs.
3716 * libio/Makefile.in: Regnerate.
3717 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3718 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3719 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3720 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3721 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3722 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3723 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3724 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3725 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3726 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3727 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3728 strops.c strstream.h: Delete.
3730 * bits/basic_file.h: Stub out or delete unused bits in this
3732 (filepos_beg): Remove.
3733 (filepos_cur): Remove.
3734 (filepos_valid): Remove.
3735 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3737 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3739 * bits/cpp_type_traits.h: Correct typo.
3741 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3743 * bits/cpp_type_traits.h: New file.
3745 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3746 Improve array construction.
3747 (_Array_default_ctor): New dispatcher class.
3748 (__valarray_default_construct): New function.
3749 (_Array_copy_ctor): New dispatcher class.
3750 (__valarray_copy_construct): New function.
3751 (_Array<>::free_data): Remove.
3753 * src/Makefile.am (headers): Add cpp_type_traits.h
3754 * src/Makefile.in: Regenerate.
3756 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3758 Prune libio directory to match files in libio/Makefile.
3759 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3760 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3761 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3762 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3763 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3764 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3765 stdstreams.cc: Remove.
3766 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3767 * libio/iofflush_u.c: Remove.
3769 * libio/dbz: Remove.
3770 * libio/include: Remove.
3771 * libio/stdio: Remove.
3772 * libio/tests: Remove.
3773 * libio/testsuite: Remove.
3775 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3777 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3778 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3779 * configure: Regenerate.
3781 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3783 Abstract out the underlying "C" io bits.
3784 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3785 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3786 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3788 * stl/bits/stl_config.h: Don't include _G_config.h.
3790 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3791 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3792 * config/c_io_libio.cc: Tweak.
3794 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3795 * src/Makefile.in: Regenerate.
3796 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3797 prefix/include files will be picked up.
3798 * Makefile.in: Regenerate.
3799 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3800 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3802 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3803 * bits/fpos.h: And here.
3804 * bits/basic_file.h (get_fileno): Move definition from ...
3805 * src/basic_file.cc (std): To here.
3806 * bits/fpos.h: Move types for streamoff, streampos to..
3807 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3808 * config/c_io_libio.h: ...here.
3809 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3810 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3811 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3812 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3813 abstract out bits in ios_base.
3814 * bits/ios_base.h: Re-macrofy.
3815 * src/basic_file.cc : Rename, move to
3816 * config/c_io_libio.cc: Here.
3817 * config/c_io_libio.h: New file. Include libio.
3818 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3819 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3820 * configure: Regenerate.
3821 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3822 (generated_headers): Add c++io.h
3823 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3824 underlying "C" io library.
3825 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3826 GLIBCPP_ENABLE_CSTDIO.
3828 * configure.in: Add configure bits for cross compiling non-newlib
3830 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3831 target, as we assume g++ support is not the limiting factor.
3832 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3833 * configure: Regenerate.
3835 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3837 * Makefile.am (INTERFACE): Define.
3838 * Makefile.in: Regenerate.
3839 * libio/ChangeLog: Add entry.
3841 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3843 * docs/install.html: Update install directions.
3845 * docs/status.html: Fix sidebar to be consistent.
3846 * docs/thanks.html: Same.
3847 * docs/links.html: Same.
3848 * docs/mail.html: Same.
3849 * docs/download.html: Same.
3851 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3852 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3853 however, in the ctype_char_members.cc fail (for instance.)
3854 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
3855 that do not have wchar_t enabled.
3856 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
3858 * testsuite/27_io/iostream_objects.cc: And here.
3860 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
3863 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
3864 Tom Tromey <tromey@cygnus.com>
3866 * configure.in: Manually add MULTISUBDIR.
3867 * configure: Regenerate.
3868 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
3869 "Eww" hacks to get multilib installs working correctly.
3870 ($(headers): Test for MULTISUBDIR before installing.
3871 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
3872 have configure hack it in.
3873 * Makefile.in: Regenerate.
3874 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
3875 Add enabling bits for native Cygwin ctypes, and other newlib-based
3878 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3880 * mkc++config (OUT_H): Remove EOF in cygwin.
3881 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
3883 Tom Tromey <tromey@cygnus.com>
3884 * src/Makefile.am: Tweaks for installing multilibs.
3886 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
3889 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
3890 Add USE_LIBDIR bits here, not...
3891 * src/Makefile.in: Regenerate.
3892 * Makefile.am: ...here.
3893 * Makefile.in: Regenerate.
3895 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
3897 * acinclude.m4 (LIBS): Fix typos.
3898 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
3899 _GLIBCPP_BUGGY_COMPLEX for crosses.
3900 * src/Makefile.am (std_headers): Add libio.h as install include,
3902 * src/Makefile.in: Regenerate.
3904 * mkcheck.in: Add bits to set CXX to cross compiler.
3906 * src/complex_io.cc: Tweak.
3907 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
3908 * configure: Regenerate.
3910 * config/newlib/ctype.cc: Tweaks.
3911 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
3913 * src/complex_io.cc (operator>>(istream, complex): Define out if
3916 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
3918 * config/newlib/bits/ctype_base.h: Correct _S_table.
3920 Reconfigure ctype support for "C" libraries that don't use arrays.
3921 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
3922 basic ctype<char> functionality.
3923 * src/locale.cc: Move host-specific ctype functions that are not
3924 inlines to config/*/ctype.cc files.
3925 (ctype<char>::do_tolower): For instance.
3926 (ctype<char>::do_toupper): For instance.
3927 (ctype<wchar_t>::do_tolower): For instance.
3928 (ctype<wchar_t>::do_toupper): For instance.
3929 * config/gnu-linux/ctype.cc: Modify.
3930 * config/default/ctype.cc: Modify.
3931 * config/newlib/ctype.cc: Modify.
3932 * config/solaris/solaris2.6/ctype.cc: Modify.
3933 * config/solaris/solaris2.7/ctype.cc: Modify.
3935 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
3937 (ctype<char>::scan_is): Here too.
3938 (ctype<char>::scan_not): Here too.
3939 Move out of line defs to config/*/bits/ctype_specializations.h.
3940 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
3941 * config/default/bits/ctype_specializations.h: ...here. New file.
3942 * config/newlib/bits/ctype_specializations.h: ...here. New file.
3943 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
3944 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
3945 * src/Makefile.am (headers): Add ctype_specializations.h.
3946 * src/Makefile.in: Regenerate.
3948 Aaron Weiss <weiss@clearway.com>
3949 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
3950 CONFIG_NM for Solaris builds.
3951 * Makefile.in: Regenerate.
3953 * src/locale.cc: Tweak formatting.
3955 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
3957 Jim Parsons <parsons@clearway.com>
3958 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
3959 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
3963 Michel Decima <michel.decima@cnet.francetelecom.fr>
3964 * testsuite/27_io/streambuf.cc: Add test.
3965 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
3968 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
3969 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
3970 will work correctly, for instance.
3971 * src/Makefile.in: Regenerate.
3973 * bits/locale_facets.h: Fix merge error.
3974 (num_put::put(unsigned long long): And here.
3975 * mknumeric_limits (trait_name): Same.
3977 2000-02-15 Chip Salzenberg <chip@valinux.com>
3979 Support 'configure --enable-long-long'.
3980 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
3981 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
3982 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
3983 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
3984 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
3986 * aclocal.m4: Regenerate.
3987 * config.h.in: Regenerate.
3988 * configure: Regenerate.
3990 2000-02-15 Chip Salzenberg <chip@valinux.com>
3992 Improve (complete?) 'long long' support.
3993 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
3994 for {,unsigned} long long if the limits header declares them.
3995 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
3996 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
3997 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
3998 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
3999 (num_put<>::put(..., long long)): Likewise.
4000 (num_put<>::put(..., unsigned long long)): Likewise.
4001 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4002 Templatize last parameter to support 'long long'.
4003 (num_put<>::put(...)): Call _S_format with new name.
4004 (num_put<>::put(..., long long)): Define.
4005 (num_put<>::put(..., unsigned long long)): Likewise.
4006 * src/locale-inst.cc (_S_format): Instantiate under new name.
4008 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
4010 * src/complex.cc (operator<<, operator>>): Moved from here...
4011 * src/complex_io.cc: ...to new file.
4012 (operator>>): Stub replaced by the real thing.
4013 * src/Makefile.am (sources): Inserted complex_io.cc.
4014 * src/Makefile.in: Regenerate.
4015 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4017 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4019 Add in ctype information for newlib "C" libraries.
4020 * config/newlib: New directory
4021 * config/newlib/bits/ctype_base.h: New file.
4022 * config/newlib/ctype.cc: New file.
4024 * ctype/config/linux/*: Rename, move to...
4025 * ctype/config/gnu-linux/*: Here.
4027 Finish off multilib work.
4028 * configure.in: Don't set CXX if not Canadian cross.
4029 * configure: Regenerate.
4030 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4031 * aclocal.m4: Regenerate.
4032 * config.h.in: Regenerate.
4034 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4035 the top-level gcc directory now.
4036 * mkinstalldirs: Remove.
4039 * ltmain.sh: Remove.
4040 * config.guess: Remove.
4041 * config.sub: Remove.
4043 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4045 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4046 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4047 * Makefile.in: Regenerate.
4048 * src/Makefile.am: Add multilib bits.
4049 * src/Makefile.in: Regenerate.
4051 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4053 * configure.in: Clean, add some multilib support.
4054 * configure: Regenerate.
4055 * configure.host: New file.
4057 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4058 roll a new function, checks for presence of libio.
4059 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4060 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4061 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4062 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4063 GLIBCPP_CHECK_LIBIO: Same.
4064 GLIBCPP_CHECK_CTYPE: Same.
4065 * aclocal.m4: Regenerate.
4066 * config.h.in: Regenerate.
4068 * Makefile.am: Tweaks.
4069 * Makefile.in: Regenerate.
4071 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4073 * configure.in: Make outputing the libio/Makefile
4074 conditional. Haha, yeah right. Anyway, we instead do this thing
4075 where if libio is found, then we build a null library, as there is
4076 no point in duplicating the found libio.
4077 * Makefile.am: Tweak.
4078 * Makefile: Regenerate.
4079 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4080 are happy happy happy.
4081 * libio/Makefile.am: Regenerate.
4082 * libio/gen-params: New file.
4083 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4084 null library if it's not needed. At least we are being consistent,
4085 if not as elegant as we could be.
4086 * src/Makefile: Regenerate.
4088 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4090 * Makefile.am (SUBDIRS): Add libio again.
4091 * Makefile.in: Regenerate.
4092 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4093 (AC_OUTPUT): Generate libio/Makefile again.
4094 * configure: Regnerate.
4095 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4096 libio.la is referring back to the libio subdir again.
4097 (LIBIO_INCLUDES): And here.
4098 * src/Makefile.in: Regenerate.
4100 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4102 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4104 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4106 * bits/valarray_array.h (<bits/std_new.h>): #include.
4107 (__valarray_get_memory): New function.
4108 (__valarray_release_memory): Likewise.
4109 (__valarray_default_construct): New functions.
4110 (__valarray_fill_construct): New function.
4111 (__valarray_copy_construct): New funstions.
4112 (__valarray_destroy_elements): New function.
4114 * bits/valarray_array.tcc (__valarray_copy_construct): New
4117 * bits/std_valarray.h (valarray<>::valarray): Use
4118 __valarray_get_memory and __valarray_fill_construct,
4119 __valarray_copy_construct, __valarray_default_construct to
4120 properly construct valarrays.
4121 (valarray<>::~valarray): Use __valarray_destroy_elements to
4122 destroy elements and __valarray_release_memory to return memory.
4123 (valarray<>::shift): Tweak.
4124 (valarray<>::cshift): Likewise.
4125 (valarray<>::resize): Robustify.
4127 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4129 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4130 * bits/limits_generic.h: New file, defaults.
4131 * src/limits_generic.cc: New file, defaults.
4132 * configure.in (LIBS): Run mknumeric_limits at configure time.
4133 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4134 HAVE_LC_MESSAGES, tidy, clean, etc.
4135 * src/Makefile.am (geberated_sources): Remove.
4137 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4138 (_IO_off_t, _IO_ssize_t)
4140 * src/complex.cc: Use glibc's <complex.h> if
4141 possible. . . apparently this was not being done before. Include
4143 (abs): Enable cabs if it's around, instead of mycabs.
4144 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4145 * src/complexl.cc (FCT): Same.
4146 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4147 (libmath_la_SOURCES): And here.
4148 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4149 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4150 * math/complex-stub.h: Move c_log declarations into. . .
4151 * math/mathconf.h: Here. This is because glibc's <complex.h>
4152 declares cclog, not c_log. The case of the dueling standards. . .
4153 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4154 * math/Makefile.am: Change.
4155 * math/nan.c (nan): Change signature.
4156 * math/mathconf.h (NAN): Same.
4157 * math/complex-stub.h (nan): And here.
4159 * Makefile.am (rebuild-stamp): Remove libio and libio
4160 dependancies. Plan to take out libio subdir and just merge with
4161 libio in top level gcc directory. Of course, this assumes there is
4162 a libio in the top level directory (ie ../src_dir). This will
4163 probably change the way this library is configured by default.
4166 2000-02-09 Chip Salzenberg <chip@valinux.com>
4168 * localefwd.h (locale): Make public: facet, id, category.
4170 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4172 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4174 * acinclude.m4: Patch only once!
4176 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4178 * testsuite/26_numerics/buggy_complex.cc: New file.
4180 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
4182 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4183 on the 1999-11-21 entries by Mumit Khan.
4184 * configure.in: Use.
4185 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4186 * bits/std_complex.h: Use.
4188 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4190 * stl/bits/stl_algobase.h: Add traits based dispatch for
4191 __normal_iterator in the copy_backward()algorithm
4192 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4195 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4197 * src/gen-num-limits.cc (signal_handler): Work around signal
4198 handling problem on Cygwin.
4199 Thanks to Chris Faylor <cgf@cygnus.com>.
4201 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4203 * configure.in: Add (preliminary) support for cross compiles and
4205 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4206 compilation freaks on this.
4207 * configure: Regenerate.
4208 * src/Makefile.am: Add support for cross compiles.
4209 * src/Makefile: Regenerate.
4210 * Makefile.am: Add support for cross compiles.
4211 * Makefile.in: Regenerate.
4213 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4215 * configure.in (LIBS): Remove unused subdirs.
4216 * configure: Regenerate.
4217 * Makefile.am (SUBDIRS): And here.
4218 * Makefile.in: Regenerate.
4219 * src/Makefile.am (sources): And here.
4220 * src/Makefile.in: Regenerate.
4223 * generic/*: Remove.
4225 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4227 * libtool: Update to libtool-1.3.4.
4231 * config.guess: Same.
4233 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4234 Alexandre Petit-Bianco <apbianco@cygnus.com>
4236 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4237 namespace instead of polluting global namespace with duplicate
4239 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4241 (AC_OUTPUT_COMMANDS): Make it here.
4242 * configure: Regenerate.
4243 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4244 endif, as now we will add it manually.
4245 Move to this file. . .
4246 * bits/c++config.h: New file. Same as old c++config.h.in except
4247 the ending macro guard is now appended manually.
4249 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4250 * bits/std_cmath.h: Same here.
4251 * bits/std_cwchar.h: And here.
4252 * src/locale.cc: And here.
4253 * src/complexl.cc: And here.
4254 * math/mathconf.h: Change to include "config.h" instead of
4257 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4259 * configure.in: Add support for threads. Try a model closer to
4260 libjava, as hopefully if the thread bits are added carefully
4261 enough, the source code will not have gross hacks. Besides, the
4262 libstdc++-v2 model could be easily emulated without the necessity
4263 of linking files in (as currently done)--all that needs to be done
4264 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4265 new. . . and see if we arrive at a more elegant solution.
4266 * configure: Regenerated.
4267 * config/threads-no.h: New file.
4268 * config/threads-posix.h: New file.
4269 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4270 * src/Makefile.in: Regenerated.
4272 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4274 META-QUESTION: Can we just make a "header.html" file and a
4275 "footer.html" and just include them in all the doc sub-pages. The
4276 duplication of the header info is kind of gross, and weak
4277 considering that if you change order or layout then all this stuff
4278 has to be changed in all the sub-files.
4280 * docs/17_intro/contribute.html: Take out duplicate file info.
4281 * README: Should just contain a link to the docs/index.html
4282 page. Duplicate information removed.
4283 * docs/faq/index.html: Remove indexes into HOWTOS.
4284 * docs/17_intro/howto.html: Make intro and docs part more
4285 centralized. Move intro stuff to documentation.html.
4286 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4287 * docs/README.html: Move documentation files to
4288 documentation.html. Should this file be renamed
4289 "config_and_install.html" as that is what is apparently covered
4291 * docs/install.html: Yes. New file, moved and renamed README.html.
4292 * docs/documentation.html: New file. This is the index file for
4294 * docs/index.html: Edit sidebar order. Insert new link to new
4295 documentation spine, documentation.html.
4297 2000-01-31 Scott Snyder <snyder@fnal.gov>
4299 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4300 we don't extract any characters.
4301 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4303 2000-01-31 Anders Widell <awl@hem.passagen.se>
4305 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4306 step is a multiple of the word size.
4307 (_M_do_right_shift): Same.
4308 * testsuite/23_containers/bitset_shift.cc: New file.
4310 2000-01-31 Nathan Myers <ncm@zembu.com>
4312 * README (Documentation): Add path info, fix typos.
4314 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4316 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4317 crazy group checking for numpunct, for real this time. At some
4318 point, the local variable __grp should probably get replaced a
4319 char array, or something a bit more lightweight.
4320 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4321 parsed value unless err isn't failbit.
4322 (num_get::do_get(*)): Same, make consistent.
4324 Nathan Myers <ncm@zembu.com>
4325 Jim Parsons <parsons@clearway.com>
4326 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4327 more grouping tests, tweak, scold, wine.
4329 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4331 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4333 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4334 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4337 via <llewelly@198.dsl.xmission.com>
4338 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4339 out_of_range instead of range_error.
4341 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4343 * bits/std_iomanip.h (setw): Fix typo.
4345 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4347 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4348 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4349 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4351 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4353 * docs/README.html: Reformat, more installation instructions.
4354 * docs/gccrebuild.html: New file.
4355 * docs/faq/index.html: Update for new testsuite output filenames.
4356 * docs/faq/index.txt: Regenerate.
4358 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4360 * Makefile.am (rebuild-stamp, all-local): New targets.
4361 * Makefile.in: Regenerated.
4362 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4363 * aclocal.m4: Regenerated.
4364 * configure.in: Call new macro. Also do some sanity checks
4365 for combinations of --enable's that may not make sense.
4366 * configure: Regenerated.
4368 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4370 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4371 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4372 correctly for hex-formatted input.
4374 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4375 eofbit instead of eofbit | failbit.
4376 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4377 ifstreams now are opened or'd with ios_base::in (as is correct).
4378 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4379 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4381 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4383 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4384 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4386 (__basic_file::filepos_valid): Same.
4387 (__basic_file::filepos_beg): Same.
4388 (__baseic_file::get_fileno): New function.
4389 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4390 feedback from LWG 49.
4391 * src/ios.cc: Move definition here.
4392 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4394 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4395 output part of internal buffer based on string size, so that
4396 _M_out_end is set consistently with filebufs. Correct comments.
4397 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4398 * testsuite/27_io/stringbuf.cc: Changes.
4400 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4402 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4404 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4406 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4407 (ofstream::open): Add ios_base::out to openmode.
4409 * bits/locale_facets.tcc (_M_extract): Have consistency between
4410 istream::sentry and extractors, where failbit | eofbit is
4411 set. Don't change this, but instead change. . (do some formatting
4413 * bits/istream.tcc (istream::sentry): Only set eofbit.
4415 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4417 * testsuite/27_io/istringstream_members.cc: New file.
4419 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4421 * bits/istream.tcc (istream::sentry): Flush.
4423 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4424 * configure: Regenerate.
4425 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4426 that make clean will not delete it.
4427 * src/Makefile: Regenerate.
4429 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4431 * mkcheck.in: Use host-specific invocation of size(1);
4432 GNU binutils isn't necessarily there (more's the pity).
4434 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4436 * configure.in (LIBS): Better tests for solaris2.6.
4437 * configure: Regenerate.
4439 <vakatov@ncbi.nlm.nih.gov>
4440 * bits/std_sstream.h: As per libstdc++20.
4442 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4444 Break out configuration on solaris.
4445 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4446 * config/solaris/ctype.cc: Delete and move to proper version.
4447 * config/solaris/bits: Same.
4448 * config/solaris/solaris2.5: Add this directory, with subdir bits
4449 and file ctype.cc. Probably doesn't work.
4450 * config/solaris/solaris2.6: Same.
4451 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4453 * Makefile.am: Change paths to mkcheck.
4454 * Makefile: Regenerate.
4455 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4456 * configure: Regenerate.
4457 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4459 * mkcheck: Now autogenerated by configure and renamed. . .
4460 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4461 Have longer-style dates.
4462 Raja R Harinath <harinath@cs.umn.edu>
4463 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4465 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4466 general documentation need to be organized around each other, not
4467 fight against each other. . .
4469 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4470 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4472 * README: Add a note referring to README.html.
4473 * docs/README.html: New file from Nicolai.
4474 * docs/faq/index.html: Move "how to get a copy" to here.
4475 * docs/gentop/footchunk.html: Update.
4476 * docs/gentop/headchunk.html: New links according to
4477 bkoz's idea for "How to..." stuff.
4478 * docs/gentop/thanks: Actually put people here.
4479 * docs/download.html: Regenerated.
4480 * docs/index.html, docs/links.html, docs/mail.html,
4481 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4482 * docs/how.html: Ditto. (This file should go away soon.)
4484 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4486 * docs/gentop/status: Add snapshot version column, update
4488 * docs/status.html: Regenerated.
4490 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4492 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4493 from installation FAQ, and specify location of text files.
4494 * docs/faq/index.txt: Regenerated.
4496 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4498 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4499 * docs/download.html: Regenerated.
4501 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4503 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4504 clean up various links.
4505 * docs/faq/index.txt: Regenerated.
4506 * docs/gentop/gentop: Smarter regeneration script.
4507 * docs/gentop/{head,foot}chunk.html: Updated with new
4508 contributors link and mod date.
4509 * docs/gentop/index: Snapshot relase date.
4510 * docs/gentop/thanks: New contributors page added.
4511 * docs/{download,how,index,links,mail,status,thanks}.html:
4512 Regenerated from gentop; thanks.html created.
4514 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4516 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4517 * docs/index.html: Add correct information.
4519 * config/irix: New directory.
4520 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4521 * config/irix/bits/ctype_base.h: And here.
4523 * config/aix: New directory.
4524 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4525 * config/aix/bits/ctype_base.h: And here.
4527 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4529 * bits/basic_string.h: Add special case handling for integral
4531 * bits/std_string.h: include type_traits.h
4532 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4534 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4536 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4538 * bits/std_fstream.h (sync): And here.
4539 * testsuite/27_io/filebuf.cc: Revisions.
4540 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4541 at the end of the file.
4542 * testsuite/27_io/filebuf-3.tst: Correct.
4544 1999-12-21 Phil Edwards <pedwards@jaj.com>
4546 * docs/gentop/index: Hold off on .7 announcement date.
4547 * docs/index.html: Regenerate.
4549 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4551 * bits/std_fstream.h (sync): Move _M_file->sync() to
4552 _M_really_overflow().
4553 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4554 as to get the _M_file->sync action, which forces the external
4555 buffer to update itself.
4556 (underflow): Same here.
4558 1999-12-21 Phil Edwards <pedwards@jaj.com>
4560 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4561 * acconfig.h: ...to here.
4562 * config.h.in: Regenerate from aclocal.
4563 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4564 * aclocal.m4: Regenerate from acinclude.
4565 * configure.in: Use ENABLE macros here.
4566 * configure: Regenerate.
4567 * src/Makefile.am: Use results from ENABLE macros.
4568 * src/Makefile.in: Regenerate.
4570 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4572 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4573 check" and not "make check-install." Temporarily hack in linux
4576 * bits/std_streambuf.h: Tweaks.
4577 * bits/streambuf.tcc (xsgetn): Tweaks.
4578 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4579 * bits/fstream.tcc (filebuf::underflow): Simplify.
4580 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4581 checks for read position precisely implement the standard.
4582 * bits/basic_file.h (filepos_cur): Base this on _offset.
4583 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4584 * testsuite/27_io/filebuf.cc: Tweak.
4586 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4588 * docs/17_intro/RELEASE-NOTES: Fix typos.
4590 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4591 out platform-specific bits.
4592 * config/default/ctype.cc: And here.
4593 * config/defaults/bits/ctype_base.h: And here.
4594 * config/linux/ctype.cc: And here.
4595 * config/linux/bits/ctype_base.h (ctype_base): And here.
4596 * config/solaris/bits/ctype_base.h (ctype_base): Add
4597 __to_type. Comment, as it looks like this is for solaris2.6 and
4598 above: solaris2.5.1 doesn't seem to have the same definitions.
4599 * config/solaris/ctype.cc: And here.
4601 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4602 Ulrich Drepper <drepper@cygnus.com>
4604 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4606 * src/locale.cc: Take out platform-specific hacks.
4607 * config/linux/ctype.cc: Put here.
4608 * config/solaris/ctype.cc: Put here.
4609 * config/default/ctype.cc: Put here.
4611 * bits/locale_facets.h: Take out platform-specific hacks.
4612 * config/linux/bits/ctype_base.h: Put here.
4613 * config/solaris/bits/ctype_base.h: Put here.
4614 * config/default/bits/ctype_base.h: Put here.
4616 * configure.in: Bump version.
4617 Add tests for top-level config directory.
4618 * configure: Regenerated.
4619 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4620 * src/Makefile: Regenerate.
4622 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4623 Ulrich Drepper <drepper@cygnus.com>
4625 * bits/locale_facets.h: Hack in solaris support.
4626 * src/locale.cc: Here too.
4628 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4630 * docs/17_intro/TODO: Update
4631 * docs/17_intro/RELEASE-NOTES (New): Update.
4633 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4635 * bits/c++config.h.in (__GLIBCPP__): Bump.
4636 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4637 * docs/17_intro/TODO: Update.
4639 * bits/locale_facets.h: Touch this too.
4640 * bits/localefwd.h: Add typedefs for loooooong vector names.
4641 * bits/locale_facets.tcc (locale::operator()): Need parens.
4642 (has_facet): Simplify.
4643 * src/locale-inst.cc: Add instantiations.
4644 * src/locale.cc: Tweaks.
4646 * bits/std_streambuf.h: Move indeterminates into. .
4647 * bits/std_fstream.h: Here.
4648 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4650 * bits/sstream.tcc: Very minor formatting tweaks.
4651 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4652 input buffer, set _M_buf to offset.
4653 * bits/istream.tcc (std): Tweaks.
4654 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4656 * testsuite/27_io/filebuf.cc: Tweaks.
4658 1999-12-17 Phil Edwards <pedwards@jaj.com>
4660 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4661 * configure: Regenerate.
4662 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4663 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4664 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4666 1999-12-17 Phil Edwards <pedwards@jaj.com>
4668 * docs/21_strings/stringtok_std_h.txt: New algorithm
4669 suggested by Chris King.
4670 * docs/21_strings/howto.html: Link to new version.
4672 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4674 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4676 * docs/17_intro/TODO: Update.
4678 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4680 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4681 * docs/gentop/gentop: Ditto.
4682 * docs/gentop/headchunk.html: Ditto.
4683 * docs/*.html: Regenerated from gentop.
4684 * docs/*/howto.html: Updated as test.
4685 * docs/faq/index.html: Updated, fixed CRLFs.
4686 * docs/faq/index.txt: Regenerated.
4688 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4690 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4692 * bits/std_complex.h
4693 (complex<float>::complex(const complex<double>&),
4694 complex<float>::complex(const complex<long double>&)): Define.
4696 * docs/17_intro/TODO: Update.
4698 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4700 * bits/istream.tcc (seekg): Don't set _M_gcount.
4702 * bits/fstream.tcc (filebuf::underflow): Re-sync
4703 external byte sequence's input buffer only. . .
4704 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4705 tellg, seekg and filebufs.
4706 (test05): Same for stringbufs.
4707 * testsuite/27_io/istream_unformatted-2.tst: New file.
4708 * testsuite/27_io/istream_unformatted-1.tst: New file.
4709 * testsuite/27_io/istream_unformatted-1.txt: New file.
4710 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4713 1999-12-13 Phil Edwards <pedwards@jaj.com>
4715 * docs/gentop/*: New directory, containing bits for the homepages.
4716 * docs/*.html: Regenerated from gentop.
4717 * docs/*/*.html: Entries added and regenerated.
4719 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4721 Efforts to get -O2 to work with -Winline -Werrors.
4722 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4723 _Tp&): Remove inline declaration, as cannot be inlined and
4724 -Winline -Werror complains. An interesting question is why this
4725 cannot be inlined, as I can see no real reason to disqualify it.
4726 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4727 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4729 * docs/17_intro/TODO: Update.
4731 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4733 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4735 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4736 the resultant position.
4737 * bits/fstream.tcc (seekoff): Explicitly set return value to
4738 resultant external byte sequence position, not value returned from
4739 _M_file->seekoff. Need to make
4740 (seekpos): New definition.
4742 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4743 just istream. Necessary, or else tellg will give an invalid stream
4744 position, but seekg will return a valid stream position, which is
4745 not groovy: see testcase addition.
4746 * bits/ostream.tcc (seekp): Same.
4748 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4749 * bits/sstream.tcc: Tweaks.
4750 * bits/locale_facets.tcc: Tweaks.
4751 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4752 Re-write in a way that is easier for the inliner to work with.
4753 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4755 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4757 * bits/locale_facets.tcc: Tweaks.
4758 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4760 * bits/localefwd.h: And here.
4761 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4762 * bits/ostream.tcc: Put here.
4764 Frank Ch. Eigler <fche@cygnus.com>
4765 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4767 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4769 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4770 in and out buffers update independantly.
4772 * bits/basic_ios.h: Minor formatting.
4773 * bits/fstream.tcc (std): Fix indentation.
4775 1999-12-08 Chip Salzenberg <chip@valinux.com>
4777 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4778 after corresponding eof() functions, so they're easier for the
4780 * bits/locale_facets.h (money_base::__default_pattern): Move
4781 static variable out of inline functions.
4782 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4783 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4785 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4787 * bits/std_fstream.h (filebuf::open): Tweak.
4788 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4789 * bits/std_ios.h: Minor tweaks for headers.
4791 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4793 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4794 * src/string-inst.cc: Add guards . . .
4795 * src/misc-inst.cc: And here.
4796 * bits/std_sstream.h: And here.
4797 * bits/std_fstream.h: And here.
4798 * bits/std_streambuf.h: And here.
4799 * bits/std_istream.h: And here.
4800 * bits/std_ostream.h: And here.
4802 1999-12-06 Scott Snyder <snyder@fnal.gov>
4804 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4806 (basic_istream::readsome): And here as well.
4807 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4810 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4812 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4813 necessarily an `int'.
4815 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4817 * mknumeric_limits: Don't use $CXXFLAGS when building
4818 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4819 generally instructs the compiler not to emit template
4820 instantiations and we end up with undefined symbols. Sigh.
4822 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4824 * bits/locale_facets.tcc: Tweak.
4825 (_S_format_long): Adjust showpos formatting for hex and oct.
4826 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4827 and oct by formatting as unsigned.
4828 (operator<<(int)): Same here.
4829 * bits/ostream.tcc (operator<<(long)): Same.
4830 (operator<<(long long)): Same.
4831 (_S_pad_char): Actually treat ios_base::internal as something
4832 worth doing correctly. Remove const designation on ios argument.
4833 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4834 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4836 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4838 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4840 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4842 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4844 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4845 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4846 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4847 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4848 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4850 (ostream::operator<<(_CharT)): Fix.
4852 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4853 see if this will increase compile speed.
4854 * bits/std_ostream.h: Likewise. . .
4855 * bits/std_istream.h: And here.
4856 * bits/std_fstream.h: And here.
4857 * src/misc-inst.cc: Add relevant header file includes for
4858 instantiation purposes.
4859 * src/string-inst.cc: And here.
4860 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
4862 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
4864 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4865 * bits/istream.tcc (get(streambuf)): More fixes.
4866 (istream::ignore): Get specific about numeric_limits<int>::max()
4869 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
4870 (filebuf::close): Same.
4871 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
4873 1999-12-01 Phil Edwards <pedwards@jaj.com>
4875 * mkcheck: Support for compilation/execution timing.
4876 * testsuite/printnow.c: New file.
4878 1999-12-01 Phil Edwards <pedwards@jaj.com>
4880 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
4881 * configure.in: Test for presence of wchar.h before testing
4882 for any of its features.
4883 * configure: Regenerate.
4885 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
4887 Preliminary istream validations complete.
4888 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
4889 formatting more consistent. Removal of if-statements inside of for
4894 * bits/std_istream.h: Same.
4895 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
4896 * testsuite/27_io/stringbuf.cc: Tweak.
4897 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
4899 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
4900 failbit on failure, as per 27.6.2.5.2.
4902 * stl/bits/std_vector.h: Allow bool specializations. Should move
4903 ext/std_bvector to bits, not ext, maybe.
4905 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
4907 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
4908 * configure: Regenerate.
4910 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
4912 * bits/istream.tcc (get(streambuf, char)): Fix.
4913 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4915 1999-11-29 Scott Snyder <snyder@fnal.gov>
4917 * bits/basic_string.h (append(const _Char*, size_type)): The
4918 length of the appended string is given exactly by the second arg,
4919 regardless of the data in the character array.
4920 * bits/string.tcc (basic_string(const _CharT*, size_type, const
4921 _Alloc&)): Likewise.
4922 * testsuite/21_strings/append.cc (test01): Remove erroneous test
4923 of basic_string::append.
4925 1999-11-29 Chip Salzenberg <chip@valinux.com>
4927 * Makefile.in: Tweaks for CXXFLAGS.
4928 * */Makefile.in: Same.
4930 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4932 * conficd bgure.in: Check for wide character support.
4933 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
4934 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
4935 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
4937 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4939 * acinclude.m4: Fix typo.
4940 * src/complex.cc: Fix macro line continuation.
4942 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
4944 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
4945 string literals in format, as used in locale-facets.tcc.
4947 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
4949 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4950 * bits/istream.tcc (istream::get): Extract to argument minus one.
4951 Various tweaks and fixes.
4953 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
4955 * bits/locale_facets.tcc: Workaround for compiler crash on
4958 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
4960 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
4961 * configure.in: Use.
4962 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
4963 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
4964 * bits/std_complex.h: Use.
4965 * src/complex.cc: Use.
4967 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
4969 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
4970 * testsuite/21_strings/inserters_extractors.cc: Likewise.
4971 * testsuite/22_locale/ctype.cc: Likewise.
4972 * testsuite/23_containers/multiset.cc: Likewise.
4973 * testsuite/23_containers/vector_ctor.cc: Likewise.
4974 * testsuite/26_numerics/binary_closure.cc: Likewise.
4975 * testsuite/27_io/fpos.cc: Likewise.
4976 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
4977 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
4978 * testsuite/27_io/istream_extractor_char.cc: Likewise.
4979 * testsuite/27_io/istream_extractor_other.cc: Likewise.
4980 * testsuite/27_io/istream_sentry.cc: Likewise.
4981 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
4982 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
4983 * testsuite/27_io/streambuf.cc: Likewise.
4984 * testsuite/27_io/stringstream.cc: Likewise.
4986 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4988 * bits/valarray_meta.h: Don't forget to define tanh
4990 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
4992 * src/stl-inst.cc: Use typedef to refer to iterator
4993 * stl/bits/stl_algobase.h: Add traits based dispatch for
4994 __normal_iterator in the copy()algorithm
4995 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
4997 1999-11-18 Kevin Ediger <kediger@licor.com>
4999 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5000 constructors for locale::_Impl exception safe.
5002 1999-11-18 Scott Snyder <snyder@fnal.gov>
5004 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5005 _Sequence template argument of priority_queue<> as vector<>, not
5008 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5010 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5012 * bits/sstream.tcc: Adjust here too.
5014 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5016 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5017 * bits/istream.tcc (operator>>): Replace iostate(0) with
5018 iostate(ios_base::goodbit), which is the same thing, but hopefully
5020 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5021 libraries issue list 17.
5022 (do_gets): Don't set goodbit explicitly, instead only set on
5023 failures as good bit is the default setting.
5024 * bits/ios_base.h (setf): Set correctly.
5025 * bits/fstream.tcc: Tweak.
5026 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5027 in|out bufs that are empty. . .
5028 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5030 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5032 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5033 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5034 Add comments "all about _M_buf."
5035 (setg): Set _M_mode.
5037 1999-11-16 Kevin Ediger <kediger@licor.com>
5039 * bits/locale_facets.tcc (_S_build_float_format): New function.
5040 (_S_output_float): New function.
5041 (num_put::do_put(double)): Use 'em.
5042 (num_put::do_put(long double)): Use 'em.
5043 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5045 1999-11-15 Scott Snyder <snyder@fnal.gov>
5047 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5048 match how libio is calling us.
5049 * src/basic_file.cc (sys_seek): Likewise.
5050 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5052 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5054 * docs/17_intro/contribute.html: Add link to assignment form.
5055 * docs/17_intro/libstdc++-assign.txt: New file.
5057 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5060 * bits/std_streambuf.h (_M_buf_bump): New function.
5061 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5062 (xsputn): Here. Also add checks for output valid.
5063 (xsgetn): Add checks for input valid.
5065 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5066 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5067 Set _M_out_end to variable-length-end.
5068 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5071 * bits/fstream.tcc (std): Tweak formatting.
5072 (filebuf::overflow): Simplify.
5073 (filebuf::showmanyc): Same.
5074 (filebuf::underflow): Same.
5075 * testsuite/27_io/filebuf.cc: Fix.
5076 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5077 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5078 * testsuite/27_io/stringbuf.cc: Tweak.
5079 * testsuite/27_io/streambuf.cc: Tweak.
5080 * testsuite/27_io/istream_extractor_other.cc: Fix.
5082 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5084 * stl_deque.h: Use static_casts<size_type>(signed_type).
5086 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5088 Cleanups for callbacks, more regression hunting. Remaining
5089 failures (1) due to last unresolved stringstream issues, not
5091 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5092 killing 27_io/filebuf.cc tests. . . need another solution.
5094 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5095 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5097 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5098 foils all attempts at a graceful, minimal implementation.
5099 * bits/basic_ios.tcc: Tweaks.
5100 * bits/istream.tcc: Fix.
5101 * bits/ostream.tcc: Fix.
5102 * bits/std_istream.h: Fix.
5103 * bits/std_ostream.h: Fix.
5104 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5106 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5107 (_S_pad_numeric): Make comprehensible.
5109 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5111 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5112 (_S_ostream_fcache): New function.
5113 Move functions out-of-line.
5114 * bits/ostream.tcc: Put here.
5116 * bits/std_istream.h: Add callbacks for _M_fnumget.
5117 (_S_istream_fcache): New function.
5118 Move functions out-of-line.
5119 * bits/istream.tcc: Put here.
5121 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5122 _M_call_callbacks(), as ios_base::imbue does this already.
5123 * src/ios.cc (register_callback): Clean.
5124 (_M_call_callbacks): Same.
5125 * bits/ios_base.h: Callback work.
5126 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5128 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5129 Matthias Klose <doko@cs.tu-berlin.de>
5131 * stl/ext/stl_rope.h: Fix initialization order.
5133 1999-11-09 Scott Snyder <snyder@fnal.gov>
5135 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5136 _M_file->sync() so that redirection works correctly.
5138 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5140 * bits/istream.tcc: Re-order.
5141 * bits/std_istream.h: Fix getline problems.
5142 * testsuite/27_io/istream_unformatted.cc: New tests.
5144 Clean up regressions.
5145 * bits/std_sstream.h: Set initial stringbufs correctly.
5147 1999-11-09 Scott Snyder <snyder@fnal.gov>
5149 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5151 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5154 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5156 * src/Makefile.am (CXXFLAGS): Add -Winline.
5157 * src/Makefile.in: Regenerate.
5159 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5161 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5162 building meta-expressions don't forget to take the contained
5165 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5167 * configure: Regenerate.
5169 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5171 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5173 * bits/valarray_meta.h (min): Likewise.
5174 * bits/valarray_meta.h (max): Likewise.
5176 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5178 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5179 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5180 * bits/streambuf.tcc: Define.
5181 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5182 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5183 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5184 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5186 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5187 reported by Richard Atterer.
5188 * bits/char_traits.h: For consistency's sake, here too.
5190 * configure.in: Bump version to 2.90.7.
5192 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5194 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5195 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5196 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5198 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5199 writing into buffer.
5202 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5204 * bits/valarray_array.h (__valarray_sum): New function.
5205 * bits/valarray_array.h (__valarray_product): Same.
5207 * bits/std_valarray.h (valarray<T>::product): Comment out.
5208 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5209 instead of accumulate.
5211 * src/valarray-inst.cc: Remove explicit intantiation of
5212 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5213 * src/valarray-inst.cc (__valarray_product): Instantiate
5215 * src/valarray-inst.cc (__valarray_product(const
5216 valarray<size_t>&)): New function.
5217 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5218 valarray<size_t>::product. Use __valarray_product instead.
5221 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5223 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5224 (_S_pad_char): New function. Not done: ios_base::internal.
5225 * bits/ostream.tcc: Clean for above.
5226 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5227 specialization that was commented out, as ostreams now have to
5228 correctly deal with padding.
5229 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5231 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5232 from mailing list. This is a bug, and should be fixed.
5233 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5235 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5237 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5238 to avoid conflict with gcc name mangling.
5239 * stl/bits/stl_algo.h (__transform): Same.
5241 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5243 * bits/ios_base.h: Change argument names.
5244 * docs/17_intro/BADNAMES: Add __opr.
5246 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5248 Work on compilation slowdowns from 10-5 to 10-12, which are
5249 related to the _Callback_list inlining/merge-ifcation, which is
5250 still a pending issue, but this stuff is necessary cleanup anyway.
5252 * src/ios.cc: Re-arrange.
5253 * bits/ios_base.h: Tweak.
5254 * bits/basic_ios.tcc: Move out of line definitions here, move
5255 small out-of-line definitions inline.
5256 * bits/basic_ios.h: From here.
5258 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5259 * bits/std_streambuf.h: From here.
5261 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5263 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5264 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5265 * bits/istream.tcc (operator>>(istream&, string&): Remove
5266 vestigial issspace hacks and use ctype::is instead.
5267 (getline): Remove unnecessary loops, fortify and pasteurize.
5270 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5272 * bits/istream.tcc (operator>>): Tweak.
5273 * bits/std_istream.h: Fix according to library issues list 68.
5276 * bits/locale_facets.h: Fix table_size to be non-zero.
5278 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5280 * src/basic_file.cc: ifdef instead of comment for binary mode
5282 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5284 * bits/std_sstream.h: Stringbuf initialization based on actual,
5285 not allocated, size.
5286 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5289 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5291 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5292 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5294 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5296 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5298 * bits/std_istream.h: Tweaks.
5299 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5300 as per issues list addition--set failbit, eof on empty buffers.
5301 * testsuite/27_io/istream_sentry.cc: New file.
5303 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5305 * bits/std_cstdio.h: Remove Solaris hacks.
5307 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5309 * docs/index.html: Fix minor typos and tweaks.
5310 * docs/17_intro/contribute.html: Ditto.
5311 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5312 thread safety and binary I/O, links to external sites.
5313 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5316 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5318 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5319 ::fabs(double) rather than ::abs(int).
5321 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5323 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5324 *gptr(), not the result of underflow.
5325 (pbackfail): Conform to default behavior.
5327 * bits/streambuf.tcc: Add out-of-line streambuf members.
5330 * testsuite/27_io/streambuf.cc: New file.
5331 * testsuite/27_io/filebuf.cc: Correct test.
5333 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5335 * bits/std_cmath.h: Correctly cast int to double.
5336 * testsuite/26_numerics/c_math.cc: Add test.
5338 * mknumeric_limits (OUT_C): Tweaks.
5339 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5340 trying to instantiate type_traits<wchar_t>.
5341 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5342 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5343 * configure: Regenerate.
5345 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5347 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5348 (streambuf::xsputn): Put in break.
5349 Aiming for parity between these two (mostly) similar functions.
5350 Need to re-write tests.
5352 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5353 Make data members protected, not private.
5354 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5355 ios_base.h. As called only once, collapse into . . .
5356 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5357 (basic_ios::clear): Throw ios_base::failure on occasion.
5358 (basic_ios::exceptions): Fix.
5359 * testsuite/27_io/ios_members.cc (test02): Add tests.
5361 * bits/fpos.h: Default initialize.
5362 * testsuite/27_io/fpos.cc (test03): Add test.
5364 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5366 * src/basic_file.cc: Fix open modes.
5368 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5370 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5372 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5374 * bits/streambuf.tcc: Yea. Fix this for real.
5375 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5376 * src/Makefile.*: Regenerate.
5378 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5380 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5381 files so that stdtof and strtold will be declared. Some hacks
5382 already exits in bits/std_cctype.h -- these should all be removed
5384 * bits/locale_facets.tcc: Add cstring.h include.
5385 _S_format_long: Use long, not int.
5386 Add std_limits.h include, for numeric_limits.
5387 * testsuite/27_io/istream.cc: Make instantiations work when using
5389 * testsuite/27_io/ostream.cc: Same.
5391 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5393 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5394 a reference. Same for operators == and !=.
5395 * testsuite/27_io/fpos.cc: Add tests.
5397 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5399 * bits/valarray_array.h: Fix typo.
5401 * mknumeric_limits: Make sure we are regenerating things from
5402 scratch. Otherwise things get redefined. Not good.
5404 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5406 * bits/std_ostream.h: Fix typo.
5407 * bits/std_istream.h: Same.
5408 * bits/std_iomanip.h: Same.
5410 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5411 ostream, as happens with underflow anyway.
5412 * testsuite/27_io/istream.cc (main): New file.
5413 * testsuite/27_io/ostream.cc (main): New file.
5414 * testsuite/27_io/istream_unformatted.cc: Add tests.
5416 * src/Makefile.am (headers): Add new file.
5417 * src/Makefile.in (headers): Regenerated.
5419 * bits/basic_ios.h: Remove local-related files.
5420 * bits/basic_ios.tcc: New file, add locale-related items.
5421 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5422 * testsuite/27_io/ios_members_static.cc: Change to
5423 * testsuite/27_io/ios_base_members_static.cc: This.
5424 * testsuite/27_io/ios_members.cc: New file.
5425 * testsuite/27_io/stdios_basefield_manip: Change to
5426 * testsuite/27_io/ios_manip_basefield.cc: This.
5427 * testsuite/27_io/stdios_fmtflags_manip: Change to
5428 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5430 * bits/fpos.h: Fix discarding qualifiers on this when
5431 using _M_position with a const fpos.
5432 * bits/std_iosfwd.h: Tweak.
5433 * testsuite/27_io/fpos.cc: New file.
5435 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5437 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5438 * bits/ostream.tcc: Tweak.
5439 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5440 Add new regressions.
5442 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5444 * bits/basic_ios.h: Inline, tweak.
5445 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5446 pass back accurate return value to basic_filebuf::overflow.
5447 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5448 This fixes sstream problems reported in libstdc++/9, but screws up
5449 filebufs. That solution is pending.
5451 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5453 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5455 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5457 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5459 * bits/c++config.h.in: Add emacs hints.
5461 * stl/bits/stl_range_errors.h: Don't define here, for now define
5462 in stdexcept.cc along with string inlines __length_error, etc.
5463 * src/stdexcept.cc: Define here.
5464 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5465 at(size_t) will be declared/defined.
5466 (__STL_THREADS): Fix mess surrounding use of this, enable.
5468 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5470 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5471 * src/localename.cc: Tweak formatting, fix assignment to
5472 const compiler errors.
5474 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5476 * acconfig.h: Add absf, cosf.
5477 * configure.in (use_builtin_sinf): Same.
5478 * configure: Regenerate.
5479 * bits/std_cmath.h: Add mess of defines.
5480 * testsuite/26_numerics/modf_float.cc: Change to
5481 * testsuite/26_numerics/c_math.cc: This.
5483 * src/locale.cc: Change.
5484 * bits/locale_facets.h: Fix.
5485 * testsuite/22_locale/ctype.cc: Add temporary tests.
5487 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5489 * bits/fpos.h: Test.
5491 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5492 Fix database name for "libstdc++".
5494 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5496 * mknumeric_limits (numeric_limits): Add default definitions to
5498 * testsuite/18_support/numeric_limits.cc: New file.
5500 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5502 * bits/std_istream.h: Correct initialization.
5503 * bits/std_ostream.h: Likewise.
5504 * bits/std_sstream.h: Likewise.
5505 * bits/std_fstream.h: Likewise.
5506 * testsuite/27_io/stringstream.cc: Add test case.
5508 * bits/std_sstream.h: Replace ____string_type with __string_type.
5509 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5510 * bits/std_ostream.h: Tweak dtor.
5512 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5514 * src/Makefile.am (CXXFLAGS): Add -O2.
5515 * src/Makefile.in: Likewise.
5517 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5519 * mknumeric_limits (numeric_limits): Uglify.
5521 * bits/std_istream.h: Fix warnings.
5522 * bits/locale_facets.tcc: Collateral damage from
5523 char_traits<char>::int_type change.
5525 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5527 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5529 * docs/index.html: Add mailing list form.
5530 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5532 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5534 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5535 if overflow successfully allocates more space.
5536 * bits/std_sstream.h: Adjust comments.
5537 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5538 before overflow forces a resize.
5539 * testsuite/27_io/ostream_inserter_char.cc: New file.
5541 * bits/std_fstream.h: Remove declaration.
5542 * bits/fstream.tcc: Move uflow.
5543 * bits/std_streambuf.h: To here.
5544 * bits/streambuf.tcc: Make consistent.
5546 * src/Makefile.am (WERROR): Enable.
5547 * src/Makefile.in: Regenerate.
5548 * bits/sbuf_iter.h: Tweak.
5549 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5550 Use unsigned int as char_traits<char>::int_type.
5552 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5553 * testsuite/27_io/iostream_objects.cc: Terminate string.
5554 Move cin::operator>>(char*) test to extractor_char.cc.
5555 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5556 * bits/std_istream.h (basic_iostream): Make explicit definition
5558 * bits/std_sstream.h: Fix typos.
5559 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5560 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5561 initialized in a consistent manner, no matter if the underlying
5562 FILE/bit bucket is a tty or a text file or some other imaginary
5563 construct. This and setting _M_buf_size to 1 for cin allows
5564 istream::get(char) to work in a manner consistent with what others
5567 * docs/index.html: Link Stroustrup's C++ page.
5569 1999-08-12 Michael Cook <cook@sightpath.com>
5571 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5572 * bits/istream.tcc: ditto.
5573 * bits/sbuf_iter.h: ditto.
5574 * bits/std_istream.h: ditto.
5575 * src/Makefile.am: Add -Wall to CXXFLAGS.
5576 * src/Makefile.in: ditto.
5578 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5579 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5581 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5582 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5584 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5586 * testsuite/27_io/istream_unformatted.cc: New file.
5588 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5589 elaborate tests for int types with noskipws.
5591 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5592 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5593 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5594 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5595 * bits/istream.tcc: Fix operator>>(streambuf*).
5597 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5599 * docs/index.html: Remove references to egcs.
5600 * docs/17_intro/DESIGN: Same.
5601 * docs/17_intro/contribute.html: Same.
5602 * docs/17_intro/RELEASE-NOTES: Ditto.
5603 * docs/17_intro/howto.html: Same here.
5605 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5606 * stl/bits/stl_vector.h (_M_insert_aux):
5607 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5608 decimal/floating point support.
5609 * bits/locale_facets.h: Change _M_extract prototype.
5610 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5611 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5613 1999-08-10 Michael Cook <cook@sightpath.com>
5615 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5616 * bits/ios_base.h: ditto.
5617 * bits/istream.tcc: ditto.
5618 * bits/locale_facets.h: ditto.
5619 * bits/locale_facets.tcc: ditto.
5620 * bits/std_streambuf.h: ditto.
5621 * src/basic_file.cc: ditto.
5622 * src/locale.cc: ditto.
5623 * src/localename.cc: ditto.
5625 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5627 * bits/std_iomanip.h: Inline.
5629 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5631 * bits/std_streambuf.h: Correct member initialization order.
5632 * src/ios.cc: Add definitions for ios_base data members.
5634 1999-08-06 Phil Edwards <pedwards@ball.com>
5636 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5637 * docs/faq/index.html: Ditto. Removed bugs sections that have
5638 been fixed for a long time... Lots of "egcs" references still
5640 * docs/faq/index.txt: Regenerated.
5642 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5643 Andreas Amann <amann@physik.tu-berlin.de>
5645 * testsuite/26_numerics/binary_closure.cc (main): new test.
5647 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5649 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5652 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5654 * docs/index.html (host): Put in testing status.
5656 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5658 * docs/index.html: Update for libstdc++-2.90.6 release.
5659 * docs/17_intro/RELEASE-NOTES (New): Update.
5660 * docs/17_intro/BUGS: Update.
5661 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5662 * README (file): Update.
5664 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5666 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5668 ($(generated_headers)): Same.
5669 * src/gen-c++config.cc: Remove, rename to
5670 * bits/c++config.h.in: New file. Bump version number.
5671 * configure.in: Generate bits/c++config.h at configure time.
5672 * math/mathconf.h: include bits/c++config.h, not config.h.
5674 * bits/std_cmath.h: Fix remaining link error for solaris shared
5675 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5676 being, as on Solaris this silently calls sinf, which does not
5679 * src/complex.cc: More tweaks.
5681 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5683 * src/complex.cc: Same.
5684 * math/complex-stub.h: Change.
5685 * math/c_log10*.c: Change back to clog10*.c.
5687 * configure.in (NEED_C_LOG10): Delete.
5688 * configure: Regenerate.
5689 * math/Makefile.am: Change.
5691 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5693 * math/Makefile.am: Fix, for real.
5694 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5695 * math/clog.c: Move to c_log.c.
5696 * math/clog*: Ditto.
5697 * math/c_log10l.c (c_log10l): Change function name.
5698 * math/c_log10f.c (c_log10f): Change function name.
5699 * math/c_log10.c (c_log10): Change function name.
5701 * math/complex-stub.h: Change to c_log* variants.
5702 * src/complex.cc: And here.
5704 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5706 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5707 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5708 sequence, just the output sequence.
5709 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5710 the original string, all others use complicated heuristic.
5712 * src/complex.cc: Assume c_log10.
5713 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5714 symbols in shared libraries by making c_log/c_log10 part of the
5715 "must cmpile" sources. This may not work on solaris, must check.
5717 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5719 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5720 * bits/std_istream.h: Fix char extractors.
5721 * testsuite/27_io/istream_extractor_char.cc: Change.
5722 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5724 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5726 * bits/std_cctype.h: Fix for solaris2.6 builds.
5728 * bits/istream.tcc: Fix, thanks Alfred.
5729 * bits/std_istream.h: Formatting changes.
5731 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5732 _IO_cleanup will not be undefined.
5733 * libio/*: Regenerate.
5735 * bits/basic_string.h: More namespace-safety stuff.
5736 * testsuite/27_io/istream_extractor_char.cc: Fix.
5737 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5738 * testsuite/27_io/iostream_objects.cc: Fix.
5739 * testsuite/27_io/ios_ctor.cc: Fix.
5740 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5741 * testsuite/27_io/istream_extractor_other.cc: New file.
5743 * mkcheck (TESTS_FILE): Tweaks.
5745 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5747 * src/gen-c++config.cc: Note here, change version.
5748 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5749 * src/locale.cc: Used here.
5750 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5752 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5754 * bits/istream.tcc: Fix.
5755 * bits/std_istream.h: More changes to extractors.
5757 * testsuite/27_io/istream_extractor_char.cc: More.
5758 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5759 error in testsuite construction.
5761 * bits/std_istream.h: Partially revert.
5762 * bits/std_ostream.h: Same.
5763 * bits/std_sstream.h: Revert.
5765 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5767 * bits/std_sstream.h: Change initialization.
5768 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5769 * bits/std_istream.h: Same, also correct sentry args.
5770 * bits/istream.tcc: Add correct sentry args.
5772 * testsuite/27_io/istream_extractor_char.cc: New file.
5773 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5774 name changes making me dizzy.
5776 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5777 Benjamin Kosnik <bkoz@cygnus.com>
5779 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5782 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5784 * bits/std_complex.h: Tweak. Make the primary template class
5785 complex work with user-defined numerical types. Provide member
5786 definitions. Restructure.
5787 (class complex<float>): Uglify. Remove __value(). Rename __val
5788 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5789 private. Remove dependency on __value(). Fix various explicit
5790 specialization syntax. Declare a some functions friend. Now the
5791 implementation is nearly comforming.
5792 (class complex<double>): Likewise.
5793 (class complex<long double>): Likewise.
5795 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5796 (sin, sinh, tan, than): Fix call to corresponding C9x function
5799 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5801 * bits/istream.tcc (ws): Fix error with failbit being set.
5803 Disabled due to egcs/gcc-2_95 internal compiler errors.
5804 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5805 -fnew-exceptions. Compiling with namespaces enabled will now be
5807 * mkcheck (CXX_FLAG): Same.
5808 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5809 * bits/std_cctype.h: Not enough to just define in namespace std if
5810 ctype-isms are macros. Need to also define in namespace std:: if
5811 the C functions are just plain functions.
5813 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5815 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5817 * docs/18_support/howto.html: Start documentation. Need to keep
5818 track of the ongoing discussion in th LWG reflector.
5820 * src/gen-num-limits.cc: Tweak.
5821 (class predicate): New class.
5822 (class value): Likewise.
5823 Make the whole machinery more flexible. Add comments.
5825 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5827 * bits/ios_base.h: Move state/exception functions into basic_ios.
5828 * bits/basic_ios.h: Same.
5829 * src/ios.cc: And here. Callbacks don't attempt to reset
5832 * bits/std_streambuf.h: Separate ios and streambuf locale data
5833 members and cached facets. Using this convention: _M_locale_buf for
5834 the streambuf-related classes, and _M_locale_ios for the ios
5836 * bits/fstream.tcc: And here.
5837 * bits/basic_ios.h: And here. Also, add cached ctype.
5838 * src/ios.cc: Ditto.
5839 * bits/ios_base.h: Ditto.
5840 * bits/std_istream.h: Use cached ctype facet.
5841 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5844 * testsuite/27_io/ios_ctor.cc: New file.
5845 * src/ios.cc: Move _M_state init to basic_ios::init().
5846 * bits/basic_ios.h: To here.
5848 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5849 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5850 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5851 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5852 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5854 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5856 * src/ios.cc: Tweak initializations of standard iostream
5857 objects to closely match the standard. Tie cin/wcin, set flags on
5859 * bits/char_traits.h: Change from size_t to int_type, as per
5860 standard. As per wide streams.
5861 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
5862 for caching a bunch of ctype info. For instance, ctype_base::space
5863 info needs to be stored somewhere, somehow.
5864 * bits/std_istream.h: Also here.
5865 * bits/std_ostream.h: Ditto.
5866 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
5867 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
5870 * bits/istream.tcc (ws): Fix.
5871 * testsuite/27_io/istream_manip.cc: New file, test ws.
5872 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
5874 * bits/basic_string.h: Provide a specialized member function for
5875 _S_find<char> using strchr.
5876 * src/string-inst.cc: Put specializations here.
5877 * bits/string.tcc: Small fix for find, remove typo.
5878 * testsuite/21_strings/find.cc (test01): Add tests to catch this
5881 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5883 * bits/basic_ios.h: Put into basic_ios namespace.
5886 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5888 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
5889 adjust _M_*_cur pointers inside the function, so callee doesn't
5891 * bits/sstream.tcc (stringbuf::overflow): Tweak.
5893 * mkcheck: Tweak. Add execution time field, even though it is not
5894 implemented yet. Simplify pass/fail status notation.
5896 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
5898 * configure.in: Check for float.h and underscored version of
5900 * acconfig.h: Add @BOTTOM@ section for handling underscored
5902 * configure: Regenerate.
5903 * config.h.in: Regenerate.
5904 * math/mathconf.h (float.h): Include conditionally.
5905 (M_PI): Define conditionally.
5906 (INFINITE_P): Define for Mingw.
5907 * bits/locale_facets.tcc: Workaround for compiler crash on
5909 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
5910 * src/locale.cc (bits/std_istream.h): Include.
5911 (bits/std_ostream.h): Likewise.
5913 1999-07-18 Phil Edwards <pedwards@ball.com>
5915 * docs/faq/index.html: Updated __black_count notes, fixed typos.
5916 * docs/faq/index.txt: Regenerated.
5918 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5920 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
5922 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
5923 newly-allocated buffer.
5924 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
5925 overflow condition bits.
5927 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
5929 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
5930 _M_buf_size to initial _M_string.size(), even though for
5931 ostringstreams it is pretty pointless. It's necessary for
5933 (stringbuf::str()): Adjust.
5934 (stringbuf::str()): Adjust, call _M_init_stringbuf.
5935 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
5936 overflow's possible success.
5937 (streambuf::xsputn): Adjust.
5939 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
5941 * testsuite/27_io/stringbuf.cc: Tweak.
5942 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
5944 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
5945 with other constructor tests to. . .
5946 * testsuite/23_containers/vector_ctor.cc: New file.
5948 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
5950 * testsuite/*: Changes to make the testsuit compilable with
5951 -fhonor-std. Contains direct qualification of library names with
5954 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5956 * bits/streambuf.tcc: Tweaks.
5957 (streambuf::xsputn): Optimize, fix for sstreams.
5958 (streambuf::xsgetn): Same.
5959 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
5960 correctly, handle overflow/reallocate conditions correctly.
5961 * bits/std_sstream.h: Fix typo.
5962 _M_init_stringbuf(): Fix _M_buf_size initialization.
5963 (stringbuf::str()): Construct return string if output has occurred.
5965 * bits/basic_string.h: Fix typo from yesterday's patch.
5967 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5969 * bits/string.tcc: _M_mutate - clear _M_state again.
5970 * bits/basic_string.h: In the three functions that return
5971 an iterator set _M_state to -1 before return.
5972 Also optimized two cases of operator+.
5974 1999-07-12 Phil Edwards <pedwards@ball.com>
5976 * docs/index.html: Expand egcs-1.1.2 notes/links.
5977 * docs/faq/index.html: And here. Add links to LWG issues-list.
5978 * docs/faq/index.txt: Regenerate. (lynx rocks)
5979 * docs/21_strings/howto.html: Fix notes on case conversion.
5980 * docs/21_strings/stringtok_h.txt: Goodly spelling...
5981 * docs/23_containers/howto.html: Stub for bitmasks.
5982 * docs/27_io/howto.html: Add section on buffering, stub binary.
5984 1999-07-12 Nathan Myers <ncm@cantrip.org>
5986 * stl/bits/stl_tree.h (__black_count): Optimize.
5988 1999-07-09 Vadim Egorov <egorovv@1c.ru>
5990 * src/basic_file.cc: Cleanup in __basic_file destructor.
5992 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
5994 * bits/std_streambuf.h: Changes. . .
5995 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
5996 basic_streambuf, to be used for both filebufs and streambufs.
5997 * bits/std_fstream.h (_M_init_filebuf): New function.
5998 Take out specialized xsputn, put into basic_streambuf.
5999 * bits/fstream.tcc: Define, call from both ctors.
6000 * bits/std_sstream.h (_M_init_stringbuf): New function.
6001 * bits/sstream.tcc: Tweak.
6003 * docs/27_io/iostreams_heirarchy.pdf: New file.
6005 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6006 acceptance. Wooo-hoo!
6008 * bits/char_traits.h: Change int_type for char_traits general
6009 template, so that 21_strings/capacity.cc will compile.
6010 * testsuite/21_strings/capacity.cc: Add operators.
6012 * bits/string.tcc (string::compare): Clean up, re-implement.
6013 * testsuite/21_strings/compare.cc: Tweak.
6015 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6016 _M_state, which means that whenever begin() or end() has been
6017 called, the string is unshareable, period. By doing this, insert
6018 and erase member functions that return iterators can remain
6019 footloose and fancy free.
6020 * testsuite/21_strings/invariants.cc: Update.
6022 * bits/basic_string.h (string::append): Fix self-referential
6023 problems, ie when "this" is also an argument to a member function.
6024 * bits/string.tcc: Tweak, same.
6025 * testsuite/21_strings/append.cc: New file.
6027 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6029 * bits/char_traits.h: Tweaks.
6030 * bits/basic_string.h: Tweak.
6031 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6033 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6035 * bits/std_streambuf.h: Absorb/acquire data members previously
6036 working in basic_filebuf.
6037 * bits/streambuf.tcc: Tweaks.
6038 * bits/fstream.tcc: Adjust.
6039 * bits/std_fstream.h: Move and rename the following functions:
6040 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6041 now declared and defined in the base class, basic_streambuf. Oh
6042 fuck it, move data members _M_buf, and _M_buf_size into
6043 basic_streambuf as well.
6045 * bits/ostream.tcc: Tweak.
6046 * bits/locale_facets.tcc: Fix typo in comments.
6048 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6049 state from good to not good, as eof() is set.
6051 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6053 * bits/char_traits.h (char_traits::compare). Fix.
6055 * config.guess, config.sub: Update.
6057 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6059 * bits/string.tcc: Check the __res_arg for a length error.
6061 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6063 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6064 and related functions into basic_streambuf, from basic_filebuf to
6065 take care of ostringstreams and empty strings. So that's groovy,
6067 * bits/std_istream.h: Tweaks.
6068 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6069 * bits/std_ostream.h: And here.
6070 * bits/ostream.tcc: Same.
6071 * src/misc-inst.cc: Add instantiations for ws.
6073 * src/string-inst.cc: Add instantiations for inserters and
6074 extractors (operators << and >>, getline).
6076 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6077 a testcase for getline and operators << and >>. Ostream tests are
6078 failing right now, but istream tests should work. . .
6080 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6081 * bits/std_sstream.h: Revert.
6083 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6084 istream, ostream, streambuf, fstream, sstream].cc: New files.
6086 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6088 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6091 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6092 specializations for _CharT*, iterator and const_iterator.
6093 * src/string-inst.cc: Remove explicit instantiation, as
6094 now explicitly specialized.
6096 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6097 a default value set to 0.
6098 * bits/string.tcc: In _M_clone by the call of _S_create add the
6099 value of the new parameter to _M_length. In reserve check
6100 _M_state and use _M_clone instead of _M_mutate.
6102 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6104 * bits/basic_string.h: Fix _S_max_size.
6105 * bits/string.tcc: Add def here.
6106 * testsuite/21_strings/insert.cc: Fix.
6108 * bits/sbuf_iter.h: Remove detritus.
6109 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6111 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6112 to resolve alpha-osf4 build problems.
6114 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6116 * bits/string.tcc: Fix signed/unsigned issues in compares.
6117 * stl/bits/stl_deque.h: And here.
6118 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6120 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6122 * bits/string.tcc: New implementation and interface of _M_mutate.
6123 Adapt the change in all functions that call _M_mutate.
6124 * bits/basic_string.h: And here.
6126 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6128 * testsuite/21_strings/capacity.cc (test01): Fix.
6130 1999-06-29 Phil Edwards <pedwards@ball.com>
6132 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6134 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6136 * stl/bits/stl_vector.h: Fix.
6137 * testsuite/23_containers/vector_cons.cc: Add.
6139 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6141 * mknumeric_limits (LDFLAGS): fix.
6143 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6145 * mknumeric_limits (LDFLAGS): set it according to the system.
6147 * math/mathconf.h (NAN): Check whether host is running under
6148 Cygwin and make the appropriate definition.
6149 * math/complex-stub.h (nan): protect declaration.
6151 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6153 * bits/sbuf_iter.h: Rename internal data structure to prevent
6154 confusion between basic_ios and istreambuf_iterators internal
6155 basic_streambuf data member.
6156 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6158 * bits/basic_string.h: Remove conditionals, add input_iterator
6159 version of S_construct again.
6160 * bits/string.tcc: Same.
6161 * src/string-inst.cc: And add explicit instantiation here.
6163 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6164 and __USE_GNU macro defines, as single __USE_GNU use leading to
6165 confusion on glibc2.1 systems (ie, RedHat 6.0).
6167 * src/Makefile.am (headers): Add std_utility to installed headers.
6169 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
6171 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6173 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6175 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6177 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6179 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6180 macros to include _GLIBCPP as a distinct namespace.
6184 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6185 * bits/basic_string.h: Remove __get_c_string.
6186 * src/stdexcept.cc: Define ctor here.
6187 * bits/ios_base.h: And fix ios_base::failure as well.
6188 * src/ios.cc: Define here.
6190 * bits/std_streambuf.h: Add a private copy ctor and assignment
6191 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6192 * bits/ios_base.h: And here too.
6194 * bits/basic_string.h: Tweak.
6195 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6197 * src/valarray.cc: Rename to. . .
6198 * src/valarray-inst.cc: This.
6199 * src/Makefile.am (sources): Change here.
6200 * src/Makefile.in: Regenerated.
6202 1999-06-24 Vadim Egorov <egorovv@1c.ru>
6204 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6207 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6208 Tom Tromey <tromey@cygnus.com>
6210 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6211 Use AM_CONDITIONAL to get us out of this jam. .
6212 * libio/Makefile.am: Same.
6213 * */Makefile: Regenerated.
6215 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6216 John Potter <jpotter@eagle.lhup.edu>
6218 * stl/bits/stl_tree.h (insert_equal): Fix.
6219 * testsuite/23_containers/multiset.cc: New file.
6221 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6223 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6224 this works correctly on glibc-2 systems. This should allow
6225 simplified linking on these systems, and successful linking on Red
6227 * configure, Makefile: Regenerate.
6229 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6231 * testsuite/ext: New directory.
6232 * testsuite/ext/headers.cc: New file.
6234 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6236 * stl/ext/hash_set: include missing headers
6237 * stl/ext/hash_map: Same
6238 * stl/ext/slist: Same
6240 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6242 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6244 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6246 * src/Makefile.am (sources): Regenerate.
6247 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6250 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6252 * src/string-inst.cc: Change _S_construct signature, to
6253 track requested allocation size versus valid input iterator range.
6254 * bits/basic_string.h: Here too.
6255 * bits/string.tcc: And here.
6257 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6259 * mkcheck (LOG_FILE): Correctly append errors.
6261 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6263 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6264 to clarify differences between basic_string::_M_data() calls and
6265 _Rep::_M_data() calls.
6266 * bits/std_string.h: Fix.
6267 Put in check for out_of_range in substr.
6268 * bits/string.tcc: Fix for _S_find.
6270 * testsuite/21_strings/compare.cc: Add tests.
6271 * testsuite/21_strings/find.cc: New file.
6272 * testsuite/21_strings/substr: New file.
6273 * testsuite/21_strings/replace.cc: New file.
6275 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6277 * bits/valarray_array.h: __restrict__ify pointers.
6279 * bits/std_valarray.h: Tweak.
6280 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6282 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6284 * bits/gslice.h: Tweak.
6285 (class gslice::_Indexer): new class.
6286 (gslice::gslice(const gslice&)): implement copy-ctor to support
6288 (gslice::operator=(const gslice&)): support ref-counted index.
6289 (gslice::_M_convert_to_index): delete.
6291 * src/valarray.cc: New file.
6292 (__gslice_to_index): turn a gslice into a valarray<size_t>
6293 (ctor gslice::_Indexer::_Indexer): implement.
6295 * src/Makefile.am (sources): add valarray.cc
6296 * src/Makefile.in: regenerate.
6298 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6300 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6301 ctor): Put in a const_cast.
6303 * testsuite/21_strings/invariants.cc: New file.
6305 * testsuite/21_strings/insert.cc: Add exception handling bits.
6306 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6308 * src/wstring-inst.cc: Add c++config.h include.
6310 * bits/basic_string.h: Fix const operator[] for size == pos.
6311 Add _M_leak for rbegin, non-const.
6312 Add _M_leak for rend, non-const.
6313 Make member function at standards conformant.
6314 Add _S_terminal to _Rep for operator[] const, add this into
6316 * bits/string.tcc: Add static member definition here,
6319 * testsuite/21_strings/element_access.cc: Add tests.
6321 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6323 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6326 1999-06-08 Phil Edwards <pedwards@ball.com>
6328 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6329 caused when __testinit is true.
6330 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6331 using rdbuf()->sputn rather than _M_fnumput->put.
6333 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6335 * testsuite/23_containers/bitset_ctor.cc: New file.
6336 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6338 1999-06-08 Phil Edwards <pedwards@ball.com>
6340 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6342 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6344 * testsuite/21_strings/element_access.cc: Finish off these tests.
6345 * testsuite/21_strings/insert.cc (test01): Uncomment.
6346 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6347 * bits/basic_string.h: Tweak, okay, fix for real this time.
6348 * bits/string.tcc: Same.
6349 * bits/char_traits.h: Tweak.
6351 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6353 * bits/std_cmath.h: Example of how to use the generated macro.
6354 * acconfig.h: Add macro for sinf here.
6355 * configure.in (LIBS): Add test for builtin math function sinf.
6356 * configure: Regenerated.
6358 * bits/basic_string.h: Fix _S_max_size.
6360 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6362 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6363 Remove _S_construct signature for forward_iterator_tag and
6366 * src/string-inst.cc: Same, tweaks.
6367 * bits/string.tcc: Same, tweaks.
6369 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6370 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6371 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6374 * src/locale.cc: Final separation for char/wchar_t bits.
6376 1999-06-05 Phil Edwards <pedwards@ball.com>
6378 * docs/index.html: Added link to book upon request'n'agreement.
6379 * docs/23_containers/wrappers_h.txt: Added.
6380 * docs/{23_containers,27_io}/howto.html: Added sections.
6382 * bits/std_fstream.h: Tweak.
6384 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6386 * src/ios.cc: Same here.
6387 * bits/std_iosfwd.h: More wchar_t defines.
6389 * bits/basic_string.h: Tweaks.
6390 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6391 when doing error checking, as per LWG defect #83.
6393 * src/gen-c++config.cc: Fix comment.
6395 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6397 * testsuite/21_strings/element_access.cc: New file, checks for
6398 operator[], at(...).
6399 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6400 * testsuite/21_strings/char_traits.cc: New file, tests
6401 for char_traits<char>.
6403 * bits/utility.h: Remove, again.
6404 * src/Makefile.am (std_headers): Remove utility.h.
6405 * src/Makefile.in (std_headers): Regenerate.
6407 Alfred Minarik <a8601248@unet.univie.ac.at>
6408 * bits/basic_string.h: Move __out_of_range and __length_error into
6411 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6413 * testsuite/26_numerics/modf_float.cc: New file.
6415 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6416 typo: use ::modff, not ::modf.
6418 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6420 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6422 * testsuite/21_strings/capacity.cc (test01): Test.
6424 1999-06-03 Phil Edwards <pedwards@ball.com>
6426 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6427 unused variables to within #if 0 blocks to do the same.
6428 * bits/std_fstream.h: Fix typos (one prevents compilation).
6430 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6432 * src/wstring-inst.cc: Fix.
6434 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6436 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6437 * stl/bits/stl_string_fwd.h: Same.
6438 * bits/locale_facets.h: Same.
6439 * bits/locale_facets.tcc: Same.
6440 * src/wstring-inst.cc: And here.
6442 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6443 problems on HPUX 10.20.
6444 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6445 here as a temporary hack till the compiler/host problems get
6448 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6449 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6450 converting "long double" to struct long_double. Probably should be
6451 done with one macro (HAVE_STRTOLD) at configure time.
6453 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6454 gives re-declaration under hpux10.20. Revert previous change, as
6455 kills linux/x86, solaris 2.7, hpux builds. These should be done
6456 using autoconf, see std_cctype.h and the solutions started in
6457 configure.in (see config.h for the generated file.)
6459 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6460 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6463 * docs/index.html: Add some useful links.
6464 * docs/17_intro/contribute.html: Fix broken links.
6466 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6468 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6469 paths. The rest of the world should be able to run this script
6472 * src/Makefile.am ($(generated_headers)): Remove comment.
6473 * Makefile*: Regenerate.
6475 * bits/std_locale.h: Remove detritus.
6476 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6479 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6481 * src/gen-c++config.cc: New file. Making c++config.h at configure
6482 time by catting this file (nee bits/config.h) with the build
6483 directories config.h. This is not a complete or perfect solution
6484 but is better than what was in place previously.
6485 * bits/c++config.h: Rename/move to above.
6486 * src/Makefile.am (headers): Remove c++config.h.
6487 (myinstallheaders). Add.
6488 * Makefile*: Regenerated.
6490 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6491 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6492 declared only if not present in the host's wchar.h.
6494 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6496 * bits/std_cmath.h: Define out, for the moment. Linux has no
6497 __buitin_fsqrtl? Probably need some kind of configure trickery
6500 * src/Makefile.*: Regenerate.
6501 * bits/c++config.h: Add config.h include.
6503 * bits/std_cwchar.h: Remove remaining #error guard.
6505 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6507 * configure.in (LIBS): Replace previous effort for mbstate_t and
6508 strtold/strtof with this implementation.
6510 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6512 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6515 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6517 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6518 for determining mbstate_t differences across various hosts not
6521 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6523 * bits/locale_facets.tcc: Change to ifdef.
6525 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6526 * bits/std_fstream.h (filebuf::setbuf): Same.
6528 * bits/std_istream.h: Add ws declaration.
6529 * bits/istream.tcc: Stub out definition.
6531 * docs/index.html: Fix broken link for design.txt.
6533 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6534 then set _G_NEED_MBSTATE_T.
6535 * configure: Regenerate.
6536 * bits/c++config.h: Move mbstate_t define.
6537 * bits/std_cwchar.h: To here.
6539 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6541 * bits/std_sstream.h:
6542 basic_stringbuf<>::basic_stringbuf: fix.
6543 basic_stringbuf<>::setbuf:
6544 remove the temporary __string_type object,
6545 remove the unnecessary dynymic_cast in the return value,
6546 change the type of the returned value from __streambuf_type*
6547 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6549 1999-05-25 Phil Edwards <pedwards@ball.com>
6551 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6553 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6555 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6556 in <math.h>. <cmath> still incomplete and incorrekt.
6558 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6560 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6562 1999-05-23 Phil Edwards <pedwards@ball.com>
6564 * docs/17_intro/howto.html: Added links to text docs,
6566 * docs/21_strings/howto.html: Updated sections and links.
6567 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6568 * docs/faq/index.html: Updated what-works for sixth
6569 snapshot. Also a number of "internal" links have been
6570 fixed, now that the web pages are the docs directory...
6571 * docs/faq/index.txt: Regenerated.
6573 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6575 * bits/basic_string.h: Add Nathan's documentation on the string class.
6577 * testsuite/27_io/ios_members_static.cc: New file, for testing
6578 ios_base::sync_with_stdio.
6580 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6582 * bits/std_locale.h: Simplify includes.
6583 * bits/loccore.h: Delete.
6584 * bits/localefwd.h: Renamed, trimmed.
6585 * bits/locfacets.h: Delete.
6586 * bits/locale_facets.h: Rename, expanded.
6587 * bits/loccore.tcc: Deleted.
6588 * bits/locfacets.tcc: Deleted.
6589 * bits/locale_facets.tcc: Resultant merge.
6590 * bits/std_fstream.h: Modify include.
6591 * bits/ostream.tcc: Same.
6592 * bits/istream.tcc: Same.
6594 * src/locale-inst.cc: And here.
6595 * src/locale.cc: Ditto.
6596 * src/Makefile.am: Updated.
6597 * src/Makefile.in: Rengenerated.
6599 * bits/std_istream.h: Move istream::sentry ctor definition.
6600 * bits/istream.tcc: Move istream::sentry ctor here.
6601 Add more detailed locale include here for ctype member functions.
6602 * bits/ostream.tcc (std): And here.
6604 * bits/sbuf_iter.h: Include std_streambuf.h
6606 * bits/locfacets.h: Start separating this into a localeimp.h file.
6607 * bits/loccore.h: Start separating this into a localefwd.h file.
6608 Add std_climits for CHAR_BIT.
6610 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6612 * bits/char_traits.h: Tweak.
6614 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6616 * bits/std_ostream.h: Remove c++config.h include.
6617 * bits/std_istream.h: Same.
6618 * bits/std_streambuf.h: Same.
6619 * bits/std_fstream.h: Same.
6620 * bits/std_sstream.h: And here.
6622 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6623 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6624 * bits/fpos.h: Tweak, format.
6626 * std/ciso646: New file.
6627 * bits/std_ciso646.h: New file.
6628 * src/Makefile.am (std_headers): Add ciso646.
6629 (headers): Add bits/std_ciso646.h.
6630 * src/Makefile.in: Regenerate.
6631 * testsuite/17_intro/header_ciso646.cc: New file, disable
6634 * bits/fpos.h: Remove libio.h include.
6635 * bits/basic_file.h: And here.
6636 * bits/std_ios.h: Put here.
6638 * src/ios.cc: Simplify includes, tweak.
6639 * bits/std_ios.h: Simplify include order.
6640 * bits/ios_base.h: Modify ios_base::failure.
6642 * stl/bits/std_numeric.h: Change include from stl_iterator to
6645 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6647 * std/iostream: Remove static member __ioint.
6648 * bits/std_iostream.h: Put here.
6650 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6651 * stl/bits/stl_algobase.h: Same.
6652 * testsuite/27_io/iostream_objects.cc: Regression tests.
6653 * testsuite/27_io/hello.cc: Remove, subset of above.
6655 1999-05-19 Phil Edwards <pedwards@ball.com>
6657 * docs/index.html: Tweak, update.
6659 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6661 * docs/17_intro/RELEASE-NOTES: remove outdated
6662 documentation about numeric_limits. Correct CXXINCLUDE setting
6665 1999-05-18 Phil Edwards <pedwards@ball.com>
6667 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6668 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6669 27_io}/howto.html: Created, with some initial entries.
6670 * docs/faq/index.html: Fixed some links.
6671 * docs/faq/index.txt: Regenerated.
6673 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6675 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6677 * docs/17_intro/RELEASE-NOTES: Update.
6678 * docs/index.html: Correct link to mailing list help page, update News.
6679 * docs/faq/index.html: Change fifth to sixth for snapshot.
6681 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6682 install $(top_builddir)/bits/std_limits.h into
6683 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6684 Makefile.am changes.
6685 * *Makefile*: Regenerate using automake.
6687 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6688 * testsuite/27_io/filebuf.cc: Same.
6690 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6692 * docs/17_intro/CHECKLIST: update.
6693 * docs/17_intro/TODO: update.
6695 1999-05-17 Phil Edwards <pedwards@ball.com>
6697 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6698 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6699 27_io}/howto.html: Created, with some initial entries.
6700 * docs/faq/index.html: Fixed some links.
6701 * docs/faq/index.txt: Regenerated.
6703 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6705 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6706 * Makefile.in*: Regenerate.
6708 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6710 * bits/std_streambuf.h: Same.
6712 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6713 * bits/locfacets.h (std): Same.
6714 * bits/sstream.tcc: Same.
6715 * testsuite/27_io/stringstream.cc: Tweak.
6717 * testsuite/27_io/filebuf.cc: Adjust.
6718 * testsuite/21_strings/capacity.cc (test01): Add more
6719 string::reserve tests.
6721 * bits/c++config.h: Remove broken CCTYPE.
6722 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6723 sequestered topper implementation.
6724 * bits/std_cwctype.h: Same.
6726 * bits/missing.h: Remove.
6727 * bits/std_locale.h: Remove missing.h include.
6729 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6731 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6732 INCLUDES: Add top_builddir.
6733 * src/Makefile.in: Regenerate.
6735 * Makefile.am: Add check and check-install as new targets.
6736 * testsuite/make_check_libfree++: Move to. . .
6738 * configure.in: Tweak versions.
6739 * mknumeric_limits: Set paths correctly.
6741 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6743 * src/Makefile.in (myinstallheaders): add rule to install
6746 * bits/slice.h (class slice): don't const-qualify data members
6747 since the copy and assignment operator is implicitly used. The
6748 valarray specification is definitively a bad one.
6750 * Makefile.in (generate-limits-sources): fix typo.
6752 * docs/text/TODO: update.
6753 * docs/text/CHECKLIST: update.
6755 * bits/gslice.h (gslice): fix bugglet.
6756 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6759 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6760 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6761 [Note: **/Makefile.in should be generated from the corresponding
6762 Makefile.am. The current situation is a litte chaotic. ]
6764 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6766 * mknumeric_limits: tweak.
6768 * Makefile.in (all): add target generate-limits-sources.
6769 (generate-limits-sources): make a directory bits/ in top_builddir
6770 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6771 directly under $(top_builddir)/src. Remains to put the appropriate
6772 rule for installing std_limits.h.
6774 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6775 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6776 now generated at build-time in the build directory
6777 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6778 * src/Makefile.am: reflect changes in src/Makefile.in
6780 1999-05-12 Phil Edwards <pedwards@ball.com>
6782 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6783 all but one empty entry. Add links for HOWTOs, but no files yet.
6784 (Corrected HOWTO links are for bkoz's new scheme.)
6785 * docs/faq/index.txt: Regenerated.
6787 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6789 * testsuite/17_intro/headers.cc: New file.
6790 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6791 * bits/std_cwctype.h: New file.
6793 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6795 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6797 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6798 Check __USE_MALLOC before defining specializations containing
6799 __default_alloc_template.
6800 * src/stl-inst.cc: Here too.
6802 * bits/basic_string.h: Change.
6804 * testsuite/make_check_libfree++: More tweaks.
6805 * testsuite/21/capacity.cc: New file.
6807 * src/string.cc: Rename to be consistent with other inst files.
6808 Rename to string-inst.cc.
6809 * src/string*.cc: Change include.
6810 * src/wstring.cc: Rename to wstring-inst.cc.
6811 * src/wstring*.cc: Ditto.
6812 * src/Makefile.in: Also here.
6813 * src/Makefile.am: Ditto.
6815 * src/traits.cc: Remove.
6816 * src/wtraits.cc: Same.
6818 Try a new way of organizing documentation, one with synchronicity
6819 between testsuites and docs subdirectories, and see who yelps.
6820 * docs/html: Remove, use chapter and subject specific directories
6821 instead of forcing things immediately into format of
6825 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6826 directory and sort by filename and extension.
6827 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6828 22_locale, 23_containers, 24_iterators, 25_algorithms,
6829 26_numerics, 27_io: Add.
6830 * docs/17_intro/*: Populate with all the text files. . .
6831 * docs/index.html: Construct.
6833 * testsuite/*: Update with same names as the docs subdir.
6834 * testsuite/results: Where to stash conformance results for the
6835 different snapshots, so that progress/size/speed issues can be
6838 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6840 * src/string.cc: Add _S_copy_chars instantiation, as well as
6841 string::binary operators !=, ==, etc.
6843 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6844 * src/Makefile.in (CXXFLAGS): Same here.
6845 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6847 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6849 * src/string.cc: Add missing member functions to instantiation list.
6851 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6853 * src/misc-inst.cc: Remove unused string instantiations.
6855 * bits/string.tcc: Tweak, fix.
6856 * bits/basic_string.h: Format. Fix reported error with c_str().
6858 * testsuite/make_check_libfree++: Tweak for shared builds.
6859 * testsuite/21/operations.cc: New file for testing c_str() etc.
6861 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
6862 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6864 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
6865 an iterator class. Delineate pointer versus iterator differences
6867 * 23/vector_capacity.cc: New file, tests for above.
6869 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6871 * mknumeric_limits: Fix typo. 'unsigned lont' should read
6873 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
6874 generated by mknumeric_limits to the list. Now std_limits.h is
6876 * src/Makefile.in (generate-numeric-limits): new target to handle
6877 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
6878 (all): add target generate-numeric-limits.
6879 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
6880 (libstdc___la_SOURCES): add limitsMEMBERS.cc
6882 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6885 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
6886 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
6887 * bits/locfacts.h: Here.
6889 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6890 Ulrich Drepper <drepper@cygnus.com>
6892 Solaris build issues.
6893 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
6896 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
6897 float overloads to use the above macros. Account for the lack of
6898 strtold on some systems, and revert back to using sscanf.
6900 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6902 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
6903 Use strtoul/strtoull for unsigned types. Check the ranges for
6904 short/unsigned short and if necessary for int/unsigned int.
6906 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
6908 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
6909 to generate bits/std_limits.h now, as the SGI std_limits.h is
6910 being depricated. Not done, but should be done immediately: need
6911 to make sure this script is run as part of the configuration
6912 process, because without it "make" in a configured build directory
6913 will fail. Also tweaked: added a space for float_round_style, and
6914 used static_cast of zero to default-initialize, which should be ok
6915 according to the standard. (see 8.5 p5 and 20.1.3).
6916 * mknumeric_limits (OUT_C): Need this for x86 long
6919 * bits/basic_file.h: Include libio.h, not libioP.h.
6920 * src/basic_file.cc: And add libioP.h include here, so that
6921 _IO_init, et. al are well-declared.
6923 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
6924 headers, not source directory headers.
6926 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
6927 for ext/*. Also add basic_file.h.
6928 * src/Makefile.in (headers): Same.
6930 * bits/std_string.h: Reduce dependencies for faster
6931 pre-processing. Move istream and ostream specific defines into
6932 istream.tcc and ostream.tcc respectively.
6933 * bits/string.tcc: And here.
6934 * bits/basic_string.h: Move getline inline out-of-line, and to
6936 * bits/istream.tcc: Move string::getline and operator>> here.
6937 * bits/ostream.tcc: And here too.
6939 * bits/utility.h: Remove, as clashes with a standard header. Put
6940 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
6941 being, until this can be combined with SGI's approach.
6942 * bits/string.tcc: Add macros, as above.
6943 * bits/loccore.h: Add _Count_ones defines.
6944 * bits/std_string.h: And here too.
6945 * bits/std_locale.h: And here.
6946 * bits/std_ios.h: Take out include here.
6947 * src/Makefile.am (headers): Remove utility.h
6948 * src/Makefile.in (headers): Remove utility.h
6950 * stl/bits/*: Update to SGI STL 3.20.
6951 * stl/ext/pthread_alloc: Delete this file.
6953 1999-05-04 Phil Edwards <pedwards@ball.com>
6955 * docs/faq/html/index.html: Add more entries
6956 * docs/faq/html/index.txt: regenerated.
6958 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6960 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
6962 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
6964 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
6965 from Ulrich and Nathan. Remove extraneous string class usage,
6966 tweak, clean, simplify and consolidate with a eye towards removing
6967 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
6968 Not done: dealing with leading zeros, wchar_t work.
6969 * bits/locfacets.h: And here too.
6973 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6976 * docs/faq/: New directory.
6977 * docs/faq/html/: Likewise.
6978 * docs/faq/text/: Likewise.
6979 * docs/faq/html/index.html: New file.
6980 * docs/faq/html/index.txt: Likewise. Generated from
6981 docs/faq/html/index.html by lynx.
6983 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
6984 Ryszard Kabatek and Branko Cibej
6986 * bits/locfacets.tcc: Modify.
6988 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
6990 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
6991 conformant to 14882, wrap non-standard extensions with
6992 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
6993 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
6995 * testsuite/27/istringstream_formatted.cc: Add tests.
6997 * bits/locfacets.h: Remove cruft from _Format_cache, continue
6998 commenting, simplify.
6999 * bits/locfacets.tcc: Same.
7001 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7002 * bits/locfacets.tcc (num_get::do_get):
7003 Fix the sscanf format parameter
7004 for long long 'll' (as in C9X) instead of 'l'.
7005 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7006 Change the type of the local variable '__conv' from 'string'
7007 to 'const char*' and adapt the change.
7009 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7011 * bits/locfacets.h: Document _Format_cache, and name data members
7012 after the corresponding functions in numpunct. For instance:
7013 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7014 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7015 * bits/locfacets.tcc: Same.
7017 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7018 stop parsing--store for later analysis.
7019 * testsuite/27/istringstream_formatted.cc: Add cases.
7021 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7023 * bits/valarray_meta.h: tweak.
7024 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7025 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7026 happy -- boggus warning.
7027 * bits/std_valarray.h: Fix.
7028 (valarray<T>::shift): Fix. Update comment.
7029 (valarray<T>::cshift): Fix.
7031 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7033 * testsuite/27filebuf-2.txt: Delete.
7034 * testsuite/27/filebuf.cc: Put output files directly into the
7035 correct subdirectory (27).
7037 Alexandre Petit-Bianco <apbianco@cygnus.com>
7038 * testsuite/make_check_libfree++: Check generated (*.txt) file
7039 against stored results file (*.tst).
7041 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7043 * bits/locfacets.tcc: Fix.
7045 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7046 (filebuf::overflow): Simplify.
7047 (filebuf::xsputn): Correctly handle indeterminate state.
7049 * testsuite/27/istringstream_formatted.cc: Tweak.
7050 * testsuite/27/filebuf.cc: Tweak.
7051 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7052 results file, please use this in the future to guarantee filebuf
7053 positioning accuracy.
7054 * testsuite/27/filebuf-2.tst: Same.
7056 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7058 * bits/fstream.tcc (filebuf::xsputn): Add.
7059 * bits/std_fstream.h: Declare.
7061 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7062 calls using ios_base::trunc.
7064 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7066 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7067 * testsuite/27/27stringstream.cc: Same.
7068 * testsuite/27/27stringbuf.cc: More tweaks.
7069 * testsuite/27/27filebuf-2.txt: Remove.
7071 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7072 BUFSIZE so that overflows/underflow can be tested with default
7074 * testsuite/27/27filebuf-1.tst: Add.
7076 * testsuite/*/*: Remove pre-pended chapter names, as they
7077 duplicate the chapter info contained in the enclosing directory
7080 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7082 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7083 to sputc conditions.
7085 * bits/ios_base.h: Define here.
7086 * src/ios.cc (ios_base::_M_clear): Remove hack.
7087 * bits/basic_ios.h: Fix rdstate().
7089 * bits/sstream.tcc (streambuf::seekoff): Fix.
7090 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7092 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7093 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7094 * testsuite/27/27stringstream.cc: Same.
7095 * testsuite/27/27stringbuf.cc: Same.
7096 * testsuite/27/27istringstream_formatted.cc: Same.
7097 * testsuite/27/27filebuf.cc: Same.
7099 * bits/locfacets.h: Remove specializations for messages<char> and
7100 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7101 * src/locale.cc: Remove definitions for above.
7102 * src/misc-inst.cc: Revert, take out iomanip.h include.
7103 * bits/std_iomanip.h: Tweak, format.
7105 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7107 * bits/loccore.h: Format, move inline.
7108 * bits/locfacets.tcc: Same.
7109 * bits/locfacets.h: Same.
7111 Ulrich Drepper <drepper@cygnus.com>
7112 * aclocal.m4: Re-generate.
7113 * configure, configure.in: Same.
7114 * m4/lc_messages.m4: New file.
7116 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7118 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7119 * bits/sstream.tcc: Tweak.
7121 * std/iostream: Put __ioinit inside macro guards.
7123 * src/stlinst.cc: Delete and move to . . .
7124 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7125 * src/Makefile.in: Change.
7126 * src/Makefile.am: Same.
7127 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7129 * testsuite/make_check_libfree++: Efficiently format for minimal
7130 space. Enforce stricter execution tests by enabling
7133 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7135 * docs/text/RELEASE-NOTES: Fix include typo.
7137 * src/Makefile.am (headers): Add istream.tcc.
7138 * src/Makefile.in (headers): Add istream.tcc.
7140 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7142 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7144 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7145 * bits/locfacets.h (num_get::_M_extract): New functin:
7146 consolidate logic for do_get(...) members.
7148 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7149 * testsuite/27/27istringstream_formatted.cc: Add.
7151 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7153 * src/basic_file.cc (__basic_file::open): Fix thinko in
7154 _G_HAVE_IO_FILE_OPEN bits.
7155 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7156 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7157 * src/complex.cc (FCT): Qualify all functions with global namespace.
7158 * src/locale.cc: Don't qualify memcpy and setlocale.
7159 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7160 (__length_error): Likewise, for length_error.
7161 * src/stlinst.cc: Qualify instantiations with std::.
7163 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7165 * C++STYLE: Add ChangeLog guidelines for member functions.
7168 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7169 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7170 docs/text and made less strident.
7172 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7173 * bits/std_fstream.h: Same.
7176 * bits/locfacets.h: Touch.
7178 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
7180 * math/cexp.c (cexp): Use NAN instead of nan("").
7181 Reported by joel reed <joelreed@yahoo.com>.
7183 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7184 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7185 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7186 instead of #if cascades.
7187 * libio/genops.c: Likewise.
7188 * libio/ioseekoff.c: Likewise.
7189 * libio/ioseekpos.c: Likewise.
7190 * libio/strops.c: Likewise.
7191 Patch by Chip Salzenberg <chip@perlsupport.com>.
7193 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7195 * docs: New directory.
7196 * docs/html: Likewise.
7197 * docs/text: Likewise.
7198 * docs/image: Likewise.
7200 * bits/std_cmath.h: Add new functions.
7201 (abs): overload for long and double.
7202 (div): overload for long.
7204 * bits/valarray_array.h: Fix.
7205 * bits/gslice.h: Adjust friend.
7206 * bits/slice_array.h: likewise.
7207 * bits/valarray_meta.h: likewise.
7209 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7211 * bits/locfacets.h: More changes, for num_get for insertion
7212 operators for integral types. Comment fields in _Format_cache.
7213 * bits/locfacets.tcc: And here too: add preliminary long version.
7214 * testsuite/27/27istringstream_formatted.cc: Add cases.
7216 1999-04-13 Mark Elbrecht <snowball3@usa.net>
7218 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7219 AC_LC_MESSAGES macro.
7220 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7221 supports LC_MESSAGES.
7222 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7223 * src/locale.cc (locale::_S_normalize_category): Use the
7224 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7225 _G_NO_CLOCALE_HAS_MESSAGES.
7226 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7227 '?:' from '?:\\' so any path beginning with a drive name matches.
7229 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7231 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7233 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7235 * bits/locfacets.h: Tweak.
7236 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7238 * testsuite/21/21nonmember.cc: Same.
7239 * testsuite/21/21compare.cc: Fix license.
7240 * testsuite/27/27istringstream_formatted.cc: New file.
7242 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7244 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7245 _BinBase2: new template classes; put in there to work around a
7246 compiler limitation. The whole valarray architecture is now
7249 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7251 * bits/locfacets.tcc: Fix, format.
7252 * bits/locfacets.h: Fix.
7253 * src/locale.cc: Same, plus format.
7255 * bits/basic_string.h: Re-add definition here.
7256 * src/string.cc: Take out.
7258 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7260 * bits/std_valarray.h: tweak.
7261 * bits/valarray_array.h tweak. use _Expr.
7262 * bits/slice_array.h: likewise.
7263 * bits/gslice_array.h: likewise.
7264 * bits/mask_array.h: likewise.
7265 * bits/indirect_array.h: likewise.
7266 * bits/valarray_meta.h: tweak.
7267 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7268 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7269 _IClos: new template classes.
7270 _Meta: renamed to _Expr. Made template with args.
7271 _Constant: made template with two args.
7273 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7275 * bits/valarray_array.h: tweak.
7277 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7279 * bits/basic_string.h: Whoops--fix blip.
7281 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7283 Update to SGI STL 3.13
7284 * bits/basic_string.h: Add __get_c_string definition.
7285 * stl/bits/stl_range_errors.h: New file.
7286 * stl/bits/std_bvector.h: Same.
7287 * stl/bits/*: Update.
7289 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7291 * bits/slice_array.h: tweak.
7292 * bits/gslice_array.h: tweak.
7293 * bits/mask_array.h: tweak.
7294 * bits/indirect_array.h: tweak.
7295 * bits/valarray_array.h: tweak.
7296 (__valarray_copy): replace copy with memcpy.
7297 * bits/std_valarray.h: use __valarray_copy whenever possible.
7298 use __valarray_fill instead of fill.
7300 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7302 * src/gen-num-limits.cc: new file
7303 * mknumeric_limits: Ditto.
7305 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7307 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7309 * bits/locfacets.h: Add num_get::get methods overloaded for int
7310 and short, to resolve ambiguous overloads in istream insertion
7313 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7315 * bits/std_istream.h: Fix.
7316 * bits/istream.tcc: Fix.
7318 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7320 * testsuite/24/24iterator.cc: fix ++/-- tests
7322 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7324 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7325 * bits/ostream.tcc: Same.
7327 * bits/std_istream.h: Bring over ostream changes, implement member
7328 functions. Baseline.
7329 * bits/istream.tcc: New file.
7331 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7333 * bits/gslice.h (class gslice): fix friends template.
7335 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7337 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7339 * bits/ostream.tcc: Same.
7341 * bits/std_istream.h: Minor tweaks.
7343 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7345 * src/locale-inst.cc: Remove duplicate instantiations.
7346 * bits/locfacets.tcc: Tweak definitions of static member.
7348 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7350 * bits/std_fstream.h: Format: prepend "__" in front of
7351 non-standard typedefs.
7352 * bits/fstream.tcc: Match.
7353 * bits/std_streambuf.h: Format: prepend "__" in front of
7354 non-standard typedefs.
7356 * bits/sstream.tcc: Match.
7357 * bits/std_istream.h: Format.
7358 * src/locale-inst.cc: Add num_get instantiations.
7360 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7361 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7362 _M_streambuf instead. Make initializations sane. Fix
7363 allocation/deallocation of _M_streambuf.
7364 * bits/std_ostream.h: Fix initialization code.
7365 (ctor): Eliminate redundant this->init(), let base class initialize.
7366 (default ctor): New. Assume base classes already initialzed.
7367 * bits/std_istream.h: Parallel work to ostream.
7368 (ctor): Eliminate redundant this->init(), let base class initialize.
7369 (default ctor): New. Assume base classes already initialzed.
7370 Fix initialization of basic_iostream.
7372 * bits/std_fstream.h: While we're at it, make initializations sane
7373 here too. Now matches sstream.h.
7375 * bits/string.tcc: Fix crash in basic_string::compare.
7376 * bits/basic_string.h: And here.
7377 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7379 * testsuite/make_check_libfree++: Check shared as well.
7380 * testsuite/27/27stringstream.cc: Add bits.
7381 * testsuite/27/27boolfmt.cc: Add bits.
7382 * testsuite/27/27octfmt.cc: Add bits.
7384 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7386 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7388 * bits/locfacets.h: Fix errors that cause build problems
7389 with current egcs (template parameters have class scope).
7390 * bits/locfacets.tcc: Same.
7391 * src/locale-inst.cc: Same, clean.
7392 * src/misc-inst.cc: Same, clean.
7394 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7396 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7397 standard. Re-apply this previous patch.
7399 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7401 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7402 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7403 * bits/string.tcc: Ditto.
7404 * src/misc-inst.cc: Ditto.
7405 * src/locale-inst.cc: Ditto.
7406 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7407 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7408 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7411 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7413 * bits/locfacets.tcc: Remove macro hack.
7414 * bits/locfacets.h: Tweaks.
7415 * src/misc-inst.cc: Weed out locale-related instantiations.
7416 * src/locale-inst.cc: Same.
7418 * RELEASE-NOTES: Make more changes.
7419 * bits/c++config.h: Bump version number.
7421 * testsuite/make_check_libfree++: Collect diagnostics.
7423 * bits/std_ostream.h: Fix ostream initialization/destruction
7424 problem, related to dtor cleanup and new cached facets, agggggggh.
7425 * bits/ostream.tcc: Tweak.
7426 * bits/locfacets.h: Remove all friends of iostream classes.
7427 * bits/ios_base.h: Same.
7428 * bits/streambuf.tcc: Tweak.
7429 * bits/std_streambuf.h: Tweak.
7430 * bits/std_fstream.h: Tweak.
7431 * bits/fstream.tcc: Tweak.
7432 * src/stdstreams.cc: Tweak.
7433 * src/ios.cc: Close streams.
7435 * math/Makefile.in: Add missing files for shared link errors.
7436 * math/Makefile.am: Same.
7438 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7440 * src/locale-inst.cc: More wchar_t instantiations.
7441 * src/misc-inst.cc: Missed a few bits.
7442 * testsuite/make_check_libfree++: Add static and shared runs.
7443 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7445 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7447 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7448 facets. Resolve link errors.
7449 * bits/ostream.tcc: Same.
7450 * src/misc-inst.cc: Add ostream, wostream instantiations.
7451 * src/Makefile.am: Add missing bits for stdstreams.cc.
7452 * src/Makefile.in: Same.
7453 * bits/std_iosfwd.h: Format.
7454 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7455 num_put so that cached _M_fnumput pointer can be deleted in
7456 basic_ostream's dtor. Now everybody plays nice.
7458 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7460 * bits/gslice.h (class gslice): Make friends valarray,
7461 gslice_array and _GliceExpression.
7463 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7465 * RELEASE-NOTES: Update.
7466 * src/ios.cc: Use do proper init.
7467 * bits/std_streambuf.h: Tweak.
7468 * bits/std_iostream.h: Take out static member.
7469 * std/iostream: Put here.
7470 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7471 * bits/std_istream.h: Ditto.
7472 * bits/basic_ios.h: Format.
7473 * bits/ostream.tcc(write): Fix.
7474 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7475 initialization of the fstream class.
7476 * src/stdstreams.cc: I'm baaaaaaaack.
7478 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7480 * bits/ios_base.h: Correct comments. Add ios_base::init()
7481 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7482 * src/misc-inst.cc: Add instantiations here.
7483 * src/ios.cc: Clean.
7484 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7485 * src/stdstreams.cc: Delete this file, as now unnecessary.
7486 * bits/fstream.tcc: Add missing initialization bits for ctor.
7487 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7488 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7490 * bits/streambuf.tcc: Tweak.
7491 * bits/sstream.tcc: Here too.
7493 * bits/fstream.tcc: And change definition as well.
7494 * bits/std_fstream.h: Change ctor.
7495 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7496 * bits/basic_file.h: Add declarations.
7498 * testsuite/27/27hello.cc: New file.
7500 * bits/std_ostream.h: Move flush() inline.
7501 * bits/ostream.tcc: From here.
7503 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7504 * bits/std_ios.h: Change include libio to only when necessary.
7505 * bits/fpos.h: Like here.
7506 * ios_base.h: And here.
7508 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7509 * bits/locfacets.tcc: Same.
7510 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7511 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7513 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7515 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7517 * bits/std_streambuf.h: Clean, tweak.
7518 * bits/std_fstream.h: Same.
7519 * bits/std_sstream.h: Same.
7520 * bits/streambuf.tcc: Move most member functions out-of-line.
7521 * bits/fstream.tcc: Same.
7522 * bits/streambuf.tcc: Same.
7524 * bits/basic_file.h(filepos_cur): Set correctly.
7525 (filepos_beg): Same.
7526 (seekpos): Change to __c_streampos.
7527 * src/basic_file.cc (std): Change to __c_streampos.
7529 * testsuite/27/27filebuf.cc: Round one is finished.
7530 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7531 * testsuite/27/27filebuf-3.tst: Same.
7533 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7535 * bits/basic_file.h: Fix typo, add comments about what to expect
7536 from the various member functions in __basic_file.
7538 * bits/std_fstream.h: Re-do sync/underflow to work
7539 together. Change from sys_read to xsgetn and from sys_write to
7540 xsputn. As it should have been from the beginning. . .
7542 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7544 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7546 * bits/basic_file.h(file_beg): New function.
7549 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7550 * bits/std_fstream.h: More _M_mode refinements.
7551 (synch): Add bits for out mode only.
7552 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7553 * bits/std_sstream.h: Ditto.
7555 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7557 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7558 * testsuite/27/27filebuf.cc: Modify.
7559 * bits/c++config.h: Fix.
7561 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7563 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7564 code in place that diverges from the final standard, but has been
7565 brought up on the library mailing list.
7567 * bits/std_fstream.h(underflow): Position all three internal
7568 buffer pointers at the same initial position. Re-implement with
7569 basic_filebuf abstraction.
7573 * bits/std_sstream.h: Move _M_mode down into base class
7575 * bits/sstream.tcc: Ditto.
7576 * bits/std_streambuf.h: Ditto.
7578 * testsuite/27/27filebuf.cc: Tweak.
7580 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7582 * bits/std_sstream.h: Ditto.
7583 * bits/std_fstream.h: Fix blip.
7585 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7587 * C++STYLE: Add cases.
7588 * bits/std_fstream.h: Format.
7589 * bits/std_streambuf.h: Ditto.
7590 * bits/std_sstream.h: Ditto.
7592 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7593 return type for _IO_file_seek and __basic_file::seek the same size.
7594 * bits/basic_file.h: Ditto.
7596 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7598 * bits/fstream.tcc: Add include guards.
7599 * src/misc-inst.cc: Add instantiations for shared libes.
7600 * src/locale-inst.cc: Add instantiaions for use_facet.
7601 * bits/loccore.h: Remove specialization foward decls for
7602 use_facet<ctype>: perhaps add the whole lot of them later on.
7603 * bits/std_fstream.h: Fix.
7604 * bits/locfacets.h: Ditto.
7605 * src/stdstreams.cc: Disable wide streams for now.
7607 * src/Makefile.am (CXXFLAGS): Change up.
7608 * src/Makefile.in (CXXFLAGS): Ditto.
7610 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7612 * src/basic_file.cc: Change to ios_base::seekdir from int.
7613 * bits/basic_file.h: Ditto.
7614 * bits/locfacets.h : Fix blip with new guard macros.
7616 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7618 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7619 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7621 * amm1/locale: Remove unused defines.
7622 * generic/locale: Ditto.
7623 * src/ios.cc: Ditto.
7624 * src/locale.cc: Ditto.
7625 * src/locale-inst.cc: Ditto.
7626 * src/localename.cc: Ditto.
7627 * src/stdstreams.cc: And here.
7629 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7630 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7631 * bits/loccore.tcc: Ditto.
7632 * bits/locfacets.h: Ditto.
7633 * src/locale-inst.cc: Ditto.
7634 * bits/locfacets.tcc: Add do_put long long here.
7636 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7638 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7639 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7640 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7641 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7642 * bits/std_fstream.h: Tweak.
7644 * bits/char_traits.h: Remove fpos definitions from here. . .
7645 * bits/fpos.h: New file, put them here. Eventually, this may allow
7646 the severing of char_traits and fpos dependancies.
7647 * src/Makefile.in: Add fpos.h.
7648 * src/Makefile.am: Ditto.
7649 * bits/std_string.h: Add fpos.h include here.
7650 * bits/std_ios.h: And here.
7652 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7653 * bits/ios_base.h: Remove cstdio include.
7654 * bits/std_ios.h: ... Place here.
7656 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7658 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7659 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7661 * bits/basic_file.h: Comment, adjust arguments.
7662 * src/basic_file.cc: Ditto.
7664 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7665 type: check and convert accordingly. Re-interpet "resultant stream
7666 position" to indicate external byte sequence location, not internal
7669 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7671 * mkcshadow: And change copyright here.
7672 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7673 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7674 stl_thread.h, and stl_iterator_base.h.
7675 * src/Makefile.in (CXXFLAGS): Ditto.
7676 * stl/backward/pthread_alloc.h: Remove.
7678 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7680 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7682 * bits/std_fstream.h (pbackfail): Correct.
7684 (seekoff): Implement.
7686 * testsuite/27/27filebuf.cc: Add test cases.
7688 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7690 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7691 with the external buffers, and stop mucking around with setting
7692 and re-setting the external buf's pointers. Aka, clarity and
7693 simplicity rule the day.
7694 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7695 Remove partial result and support code.
7697 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7699 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7700 list of function which have to be replaced.
7701 Remove expf from list of functions to test for.
7702 Define USE_LONG_DOUBLE in case the libm has partial support for long
7704 * Makefile.in: Regenerated.
7705 * config.h.in: Likewise.
7706 * configure: Likewise.
7707 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7708 * libio/Makefile.in: Regenerated.
7709 * src/Makefile.in: Regenerated.
7710 * string/Makefile.in: Regenerated.
7711 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7712 atan2f.c, expf.c, and $(EXTRA_yes).
7713 (EXTRA_yes): Add signbitl.c mycabsl.c.
7714 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7715 (libmath_la_SOURCES): remove long double versions.
7716 * math/Makefile.in: Regnerated.
7717 * math/atan2f.c: New file.
7718 * math/copysignf.c: New file.
7719 * math/expf.c: New file.
7720 * math/hypot.c: New file.
7721 * math/hypotf.c: New file.
7722 * math/hypotl.c: New file.
7723 * math/cargf.c: Use correct function and macro names.
7724 * math/ccos.c: Likewise.
7725 * math/ccosh.c: Likewise.
7726 * math/ccoshf.c: Likewise.
7727 * math/ccoshl.c: Likewise.
7728 * math/cexp.c: Likewise.
7729 * math/cexpf.c: Likewise.
7730 * math/cexpl.c: Likewise.
7731 * math/clog.c: Likewise.
7732 * math/clog10.c: Likewise.
7733 * math/clog10f.c: Likewise.
7734 * math/clog10l.c: Likewise.
7735 * math/clogf.c: Likewise.
7736 * math/clogl.c: Likewise.
7737 * math/copysignf.c: Likewise.
7738 * math/csin.c: Likewise.
7739 * math/csinf.c: Likewise.
7740 * math/csinh.c: Likewise.
7741 * math/csinhf.c: Likewise.
7742 * math/csinhl.c: Likewise.
7743 * math/csinl.c: Likewise.
7744 * math/csqrt.c: Likewise.
7745 * math/csqrtf.c: Likewise.
7746 * math/csqrtl.c: Likewise.
7747 * math/ctan.c: Likewise.
7748 * math/ctanf.c: Likewise.
7749 * math/ctanh.c: Likewise.
7750 * math/ctanhf.c: Likewise.
7751 * math/ctanhl.c: Likewise.
7752 * math/ctanl.c: Likewise.
7754 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7756 * testsuite/27/27filebuf.cc: Add cases.
7757 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7758 * bits/std_streambuf.h: Simplify, always have one return statement.
7759 * bits/std_fstream.h: Tweak comments in underflow.
7761 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7763 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7764 * ltconfig: Likewise.
7766 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7768 * src/locale.cc: Fix assert.
7770 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7772 FIXME: Still need some kind of solution for undefined math symbols.
7773 * src/Makefile.in (locale-inst.lo): Compile with
7774 -fimplicit-templates to fix Solaris link problem.
7775 * src/Makefile.am: Ditto.
7776 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7777 * libio/Makefile.am: Ditto.
7778 * src/locale.cc: Provide some kind of def for _S_tolower.
7779 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7780 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7782 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7784 * bits/loccore.tcc: Move member-template ctor inline...
7785 * bits/loccore.h: ...here.
7786 * src/locale-inst.cc: Add instantiation here.
7788 * testsuite/27/27stringstream.cc: Tweak.
7790 * bits/ostream.tcc: Include sbuf_iter.h.
7792 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7793 passing to num_put, as num_put's first argument is an interator,
7796 * testsuite/make_check_libfree++: New file, runs through the
7797 existing test files in the testsuite directory and makes sure
7800 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7802 * testsuite/21/21compare.cc: Fix typo.
7803 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7804 Don't try to provide non-linux versions, since it's impossible to
7805 initialize their const references with the integer 0, no matter
7806 how we try to cast it.
7808 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7810 * bits/std_locale.h: Move std_vector.h dependency.
7811 * bits/std_ios.h: ...from here.
7812 * bits/std_string.h: ...and here.
7813 * src/locale.cc: ..to here.
7814 * bits/loccore.h: Ditto, add vector forward declaration,
7815 make locale::_Impl data members pointers not containers.
7816 * bits/loccore.tcc: Move out-of-line for now.
7817 * bits/locfacets.h: Move vector dependency from here...
7818 * bits/locfacets.tcc: ...to here.
7819 * src/localename.cc: ..and here.
7820 * src/locale-inst.cc: Add include of locfacets.tcc here.
7822 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7823 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7824 * bits/string.tcc: Tweak.
7825 * src/string.cc: And add __get_c_string def here.
7827 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7829 * src/stlinst.cc: Add include of stl_config.h.
7831 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7833 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7834 * stl/bits/stl_config.h: Tweak, update.
7835 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7837 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7838 * stl/bits/std_functional.h: Ditto.
7840 * stl/bits/stl_string.h: New file, SGI's string
7841 implementation. For reference only, corresponding to string in
7843 * stl/bits/stl_char_traits.h: As above.
7845 * stl/bits/pthread_allocimpl.h: New file corresponding to
7847 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7849 * stl/bits/stl_threads.h: New file.
7851 Note that SGI STL 3.12's file iterator.h is not used.
7852 * stl/bits/std_iterator.h: Ditto.
7853 * stl/bits/stl_iterator.h: Drop in replace.
7854 * stl/bits/stl_iterator_base.h: New file, drop in replace.
7856 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
7857 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
7858 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
7859 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
7860 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
7861 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
7862 preprocessor guards, but fixup include paths and names according
7863 to new directory layout).
7865 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
7867 * bits/std_fstream.h: Remove _M_open data member.
7868 * bits/fstream.tcc: Ditto.
7870 * src/locale.cc: Tweak.
7872 * bits/std_sstream.h: Simplify.
7874 * bits/std_streambuf.h: Simplify.
7875 (sputc): Use correct definition of "write area."
7877 * bits/std_fstream.h: Fix uflow.
7878 * src/basic_file.cc: Tweak.
7879 * testsuite/27/27filebuf.cc: Add tests.
7880 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
7882 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7884 * bits/ios_base.h: Make protected.
7886 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7888 * bits/ios_base.h: Changes in the class ios_base:
7889 Rename _M_exceptions member to _M_exceptions_data.
7890 Make the member functions rdstate(), clear(), exceptions()
7891 and exceptions(iostate) protected and add the "_M_" prefix.
7892 * src/ios.cc: Ditto.
7893 * bits/basic_ios.h: Adapt the changes from ios_base.
7895 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
7897 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
7898 * bits/fstream.tcc: Ditto.
7900 * bits/std_fstream.h (underflow): Resize deallocates memory and
7901 resets pointers in the internal cache according to new _M_buf. . dooh!
7902 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
7904 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7906 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7909 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
7911 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
7912 into account partial returns.
7913 (codecvt::do_out): Likewise.
7915 * bits/char_traits.h: Change streamsize to be a signed type, as
7916 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
7917 * bits/std_streambuf.h: Make
7918 in_avail() and showmanyc() have streamsize as return types, so
7919 that showmanyc()'s return of eof won't underflow in_avail's return
7920 value and give a bogus result.
7921 * src/misc-inst.cc: And more changes. . .
7923 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
7924 track of joint in/out pointers into the internal buffer.
7925 (sbumpc): Add check for _M_buf_unified.
7929 * testsuite/27/27filebuf.cc: Add cases.
7930 * testsuite/27/27stringbuf.cc: Add showmanyc case.
7932 * bits/std_fstream.h (close): Fix logic error.
7933 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
7934 (showmanyc): Add underflow component, to match the standard.
7936 * bits/fstream.tcc: Ditto.
7938 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7940 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
7941 * src/basic_file.cc: Ditto.
7942 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
7943 format for dealing with _IO_file in libio.
7945 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
7947 * src/basic_file.cc: Include fcntl.h.
7949 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7951 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
7953 * bits/std_streambuf.h: Redefine read posion.
7955 * bits/std_fstream.h: Temporary hack to get vtables working again.
7956 * bits/basic_file.h: Revert.
7957 * src/basic_file.cc: Ditto.
7958 * testsuite/27/27filebuf.cc: Tweak.
7960 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
7962 * bits/basic_file.h: Add showmanyc, underflow. .
7963 * src/basic_file.cc: Ditto.
7965 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
7968 * testsuite/27/27filebuf.cc: Add testcases.
7969 * src/basic_file.cc: Add O_CREAT to open calls with
7970 ios_base::trunc as part of the open mode.
7972 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7974 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
7976 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
7978 * src/ios.cc (clear): Correct typo.
7979 * bits/ios_base.h: Tweak spacing.
7981 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7983 * bits/basic_ios.h: fix basic_ios::fail()
7985 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
7987 * bits/basic_file.h: Include libioP.h from libio instead of here.
7988 * bits/iolibio.h: Remove.
7989 * bits/libio.h: Remove.
7991 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7993 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
7995 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
7997 * Makefile.am (SUBDIRS): Add libio.
7998 * configure.in: Add rule to test for glibc2.
8000 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8001 (libstdc___la_LIBADD): Add libio.la.
8003 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8005 * bits/basic_file.h: Make new abstraction for underlying C library
8006 FILE, named __basic_file.
8007 * src/basic_file.cc: New file.
8008 * bits/os_raw.h: Delete.
8009 * src/os_raw.cc: Delete.
8010 * src/Makefile.in: Tweak.
8011 * src/Makefile.am: Tweak.
8012 * bits/iolibio.h: Add this here, for the time being.
8013 * bits/libioP.h: Ditto.
8015 * bits/ios_base.h: Delete unused defines.
8016 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8017 strcpy to copy between the two buffers.
8019 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8020 * testsuite/27/27filebuf.cc: New file.
8021 * testsuite/27/27filebuf-1.txt: Data file for above test.
8022 * testsuite/27/27filebuf-2.txt: Ditto.
8024 * bits/std_streambuf.h (uflow): Re-implement default.
8025 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8026 Re-implement virtual functions.
8027 * bits/fstream.tcc: Delete unused mf's.
8029 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8031 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8032 * bits/std_fstream.h: Ditto.
8033 * src/stdstreams.cc: Ditto.
8035 * math/cpowl.c: Fix header typo with last change.
8037 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8039 * COPYING: New file (GPL v 2).
8040 * LICENSE.STD: Remove.
8041 * ./*: Change license.
8043 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8045 * bits/std_streambuf.h (std): Remove static on _M_init.
8046 * bits/streambuf.tcc (std): Ditto.
8048 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8049 state_type and codecvt_type members, the allocation of an internal
8050 buffer, the streamlined codecvt calls, etc.
8052 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8054 * bits/std_sstream.h: Tweak.
8055 * bits/fstream.tcc: Remove unused stubs.
8056 * bits/std_fstream.h: Tweak.
8058 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8060 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8061 Remove unused _IO_* members, possibly put into filebuf, which may
8063 * bits/std_fstream.h: Add _M_flag.
8064 * bits/sbuf_iter.h: Tweak.
8066 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8067 * bits/ios_base.h: Use.
8069 * src/stdstreams.cc: Modify to reflect standard ctors for
8071 * src/misc-inst.cc: Ditto.
8073 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8074 underlying C library calls instead of the underlying unix
8076 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8077 string as per p.659.
8078 (_S_os_close): Model on fopen.
8079 (_S_os_read): Model on fread.
8080 (_S_os_write): Model on fwrite.
8081 (_S_os_seek): Model on fseek.
8083 * bits/ios_base.h: Tweak.
8084 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8085 * bits/std_sstream.h: Tweak.
8086 * bits/sstream.tcc: Remove old, uncalled code.
8087 * bits/std_fstream.h: Major reconstruction.
8088 * bits/fstream.tcc: Disable for the time being.
8090 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8092 * bits/basic_string.h: Fix insert method.
8093 * stl/bits/stl_iterator.h: Remove previous hack.
8094 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8095 * bits/std_sstream.h: Fix more regressions.
8096 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8098 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8100 * bits/basic_string.h: Tweak.
8102 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8103 that string::append can be instantiated. HACK--checkin
8104 basic_string::iterator class.
8106 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8108 * bits/std_sstream.h: Tweak.
8109 * bits/sstream.tcc: Tweak ctors.
8111 FIXME invalid friend defs. . WHERE ARE THEY??
8113 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8114 names for basic_streambuf data members.
8116 * bits/std_streambuf.h: Add getloc() initialization bits.
8117 basic_streambuf(): Initialize with global locale data.
8118 imbue(): Set _M_init.
8120 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8121 stream pos == pos_type(off_type(-1)).
8122 in_avail(): Complete default implementation.
8123 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8124 underflow, uflow, xsgetn, showmany, sync: Ditto.
8126 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8128 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8129 re-populate with in-line member functions that are too big. Add
8130 initialization for _M_init.
8132 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8134 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8135 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8138 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8140 * bits/c++config.h (_G_DEPRICATED): Add.
8141 (_G_USE_WCHAR_T): Add.
8142 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8143 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8144 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8145 * bits/std_fstream.h: Add comment for implementation.
8146 * src/streambuf.cc: Remove.
8147 * src/Makefile.in: Remove streambuf.lo.
8148 * src/misc-inst.cc: Tweak.
8150 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8152 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8153 * testsuite/27stringstream.C: Modify.
8155 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8157 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8158 (libstdc___la_SOURCES): Ditto.
8160 * bits/streambuf.tcc: Tweak.
8162 * src/streambuf.cc: New file, add out-of-line definitions for
8165 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8166 Comment out wchar_t versions of the buffer instantiations, for now.
8168 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8169 Remove template wrapper around _Streambuf_base.
8170 Move IO_* data members into _Streambuf_base.
8171 Move _Streambuf_base members into streambuf.tcc.
8173 * bits/c++config.h (_G_USE_LIBIO): Enable.
8175 1998-11-02 Nathan Myers <ncm@cantrip.org>
8177 * CHECKLIST: downgrade iterator implementations
8178 * DESIGN: fill out notes about unimplemented features
8180 1998-10-31 Nathan Myers <ncm@cantrip.org>
8182 * CHECKLIST: itemized list of all interfaces, and status of each.
8184 1998-10-30 Nathan Myers <ncm@cantrip.org>
8186 * RELEASE-NOTES: add notes about optional includes, linking, running
8187 * src/Makefile.am: handle header installs properly
8188 * src/Makefile.in: regenerate from new src/Makefile.am
8190 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8192 * bits/basic_string.h: Revert npos pending ciso646.
8193 * src/Makefile.am: Revert CXX flags for now.
8194 * src/Makefile.in: Ditto.
8196 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
8198 * bits/std_sstream.h: Re-order ctors to put base before member
8201 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8203 * stl/bits/std_memory.h: Fix typo.
8205 1998-10-30 Nathan Myers <ncm@cantrip.org>
8207 * src/string[A-Z]+.cc: change back to include "string.cc".
8208 * src/Makefile.am: revert filename changes. We need a different
8209 way to keep filenames in std/ from confusing Make.
8210 * bits/basic_string.h: define _S_max_size right, return it from
8211 string::max_size(); churn definition of npos again.
8212 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8213 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8214 * BUGS: clear cruft.
8215 * C++STYLE: Touchup for release.
8216 * CHECKLIST: Touchup for release.
8218 * LICENSE.STD: Add requirement to retain copyrights and to provide
8219 the license with any copies.
8220 * README: Update for release.
8221 * TODO: Minor touchup for release.
8222 * RELEASE-NOTES: prepare for release
8224 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8226 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8228 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8230 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8231 CXX to generate the shared object.
8233 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8235 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8237 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8238 2, from npos, solving infinite loop problems.
8240 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8242 * src/Makefile.am: Add rules to install headers.
8244 1998-10-29 Nathan Myers <ncm@cantrip.org>
8246 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8247 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8250 * shadow/bits/wrap_libio.h:
8251 * shadow/bits/wrap_unistd.h: New files.
8253 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8255 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8256 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8258 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8260 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8261 is not compiled with -fno-implicit-templates in effect.
8263 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8264 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8265 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8267 * src/stringADDPS.cc: Likewise.
8268 * src/stringADDSC.cc: Likewise.
8269 * src/stringADDSP.cc: Likewise.
8270 * src/stringADDSS.cc: Likewise.
8271 * src/stringBIST.cc: Likewise.
8272 * src/stringBOST.cc: Likewise.
8273 * src/stringCHTR.cc: Likewise.
8274 * src/stringEQPS.cc: Likewise.
8275 * src/stringEQSP.cc: Likewise.
8276 * src/stringEQSS.cc: Likewise.
8277 * src/stringEXTRA.cc: Likewise.
8278 * src/stringGEPS.cc: Likewise.
8279 * src/stringGESP.cc: Likewise.
8280 * src/stringGESS.cc: Likewise.
8281 * src/stringGETLI.cc: Likewise.
8282 * src/stringGTPS.cc: Likewise.
8283 * src/stringGTSP.cc: Likewise.
8284 * src/stringGTSS.cc: Likewise.
8285 * src/stringINSER.cc: Likewise.
8286 * src/stringLEPS.cc: Likewise.
8287 * src/stringLESP.cc: Likewise.
8288 * src/stringLESS.cc: Likewise.
8289 * src/stringLTPS.cc: Likewise.
8290 * src/stringLTSP.cc: Likewise.
8291 * src/stringLTSS.cc: Likewise.
8292 * src/stringMAIN.cc: Likewise.
8293 * src/stringNEPS.cc: Likewise.
8294 * src/stringNESP.cc: Likewise.
8295 * src/stringNESS.cc: Likewise.
8296 * src/stringSCOPY.cc: Likewise.
8297 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8299 * src/wstringADDPS.cc: Likewise.
8300 * src/wstringADDSC.cc: Likewise.
8301 * src/wstringADDSP.cc: Likewise.
8302 * src/wstringADDSS.cc: Likewise.
8303 * src/wstringBIST.cc: Likewise.
8304 * src/wstringBOST.cc: Likewise.
8305 * src/wstringCHTR.cc: Likewise.
8306 * src/wstringEQPS.cc: Likewise.
8307 * src/wstringEQSP.cc: Likewise.
8308 * src/wstringEQSS.cc: Likewise.
8309 * src/wstringEXTRA.cc: Likewise.
8310 * src/wstringGEPS.cc: Likewise.
8311 * src/wstringGESP.cc: Likewise.
8312 * src/wstringGESS.cc: Likewise.
8313 * src/wstringGETLI.cc: Likewise.
8314 * src/wstringGTPS.cc: Likewise.
8315 * src/wstringGTSP.cc: Likewise.
8316 * src/wstringGTSS.cc: Likewise.
8317 * src/wstringINSER.cc: Likewise.
8318 * src/wstringLEPS.cc: Likewise.
8319 * src/wstringLESP.cc: Likewise.
8320 * src/wstringLESS.cc: Likewise.
8321 * src/wstringLTPS.cc: Likewise.
8322 * src/wstringLTSP.cc: Likewise.
8323 * src/wstringLTSS.cc: Likewise.
8324 * src/wstringMAIN.cc: Likewise.
8325 * src/wstringNEPS.cc: Likewise.
8326 * src/wstringNESP.cc: Likewise.
8327 * src/wstringNESS.cc: Likewise.
8328 * src/wstringSCOPY.cc: Likewise.
8329 * src/string.cc: Remove now unneeded #defines now.
8331 1998-10-29 Nathan Myers <ncm@cantrip.org>
8333 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8335 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8336 add definitions for double, long double, const void*.
8337 * bits/std_ostream.h: Move op<<'s back into class ostream,
8338 define some in-line.
8339 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8340 string construction from input iterators that Brendan reported.
8343 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8345 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8347 * bits/valarray_meta.h (class _Constant): Move declaration to the
8348 top, so the rest of the file can grok it.
8349 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8351 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8353 (basic_stringstream::str, both instances): Likewise.
8355 1998-10-28 Nathan Myers <ncm@cantrip.org>
8357 * bits/locfacets.h: fix num_put<>::falsename()
8358 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8359 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8360 * bits/locfacets.tcc: touch up _S_group_digits.
8361 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8363 1998-10-27 Nathan Myers <ncm@cantrip.org>
8365 * stl/bits/stl_config.h: Turn off long long support, for now.
8366 * src/locale-inst.cc: Instantiate num_put<> only for
8367 ostreambuf_iterator, num_get only for istreambuf_iterator.
8368 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8369 add lots of new instantiations for num_put support function templates;
8370 remove junk about __match_parallel for ostreambuf_iterator.
8372 1998-10-27 Nathan Myers <ncm@cantrip.org>
8374 * bits/locfacets.tcc: Make num_put's digit grouping work.
8375 * bits/string.tcc: More uglification.
8376 * src/ios.cc: initialize format cache right
8378 1998-10-26 Nathan Myers <ncm@cantrip.org>
8380 * bits/basic_string.h: Uglify more names.
8381 * bits/fstream.tcc: Rewrite some filebut output handling.
8382 * bits/ios_base.h: Cosmetic.
8383 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8384 Also, specialize its default ctor for optimal default case.
8385 #ifdef out "long long" prototypes for now.
8386 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8387 implementation for integer types. (Still needs optimized
8388 std::copy() applied to ostreambuf_iterator to be optimal.)
8389 * bits/ostream.tcc: Write operator<< for long, bool types.
8390 Make other operators<< non-members, per spec. (Many still
8391 not implemented.) Identify those that fail to create a sentry.
8392 * bits/sbuf_iter: Cosmetic.
8393 * bits/std_fstream.h: Add some filebuf members.
8394 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8395 * bits/std_ostream.h: Make member operators<< global, per spec.
8396 (Should do the same in std_istream.h.)
8397 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8398 * bits/string.tcc: Uglify names
8399 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8400 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8401 for optimal default behavior.
8403 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8405 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8407 1998-10-21 Nathan Myers <ncm@cantrip.org>
8409 * src/locale.cc: make ctype operations actually work for glibc
8410 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8411 checklist of stdlib facilities. Not filled in yet.
8413 1998-10-20 Nathan Myers <ncm@cantrip.org>
8415 * bits/string.tcc: fix patching NULs on string ends.
8417 1998-10-19 Nathan Myers <ncm@cantrip.org>
8419 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8420 iterator forward declarations
8421 * bits/sbuf_iter.h: eliminate default template argument definitions
8422 on streambuf iterators (rely on <iosfwd> decls).
8423 * TODO: add note about lazy facet construction
8424 * bits/basic_ios.h: hit operator void* again. This should be the
8425 last time we need to touch it.
8426 * bits/basic_ios.h: copyfmt now returns *this.
8427 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8428 * bits/basic_string.h: put back overloaded constructors; adjust
8429 behavior for default allocator on copy constructor.
8430 * bits/char_traits.h: make not_eof return correct type.
8431 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8432 cannot be in non-standard headers or we get include loops (bad)
8433 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8434 * bits/loccore.h: add apparatus to support lazy construction of
8436 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8437 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8438 locale use_facet<> failure.
8439 * bits/std_locale.h: same.
8440 * bits/std_string.h: same.
8441 * bits/std_stdexcept.h: change exception member __msg from a
8442 reference to a regular object.
8443 * bits/string.tcc: add pasting a NUL on the end of strings after
8444 each operation. We had already left room for it, but previously
8445 plugged it only on a call to c_str(), but the WG changed the
8446 requirement when I wasn't looking. (Can't leave them alone for
8447 a second without they break something else.)
8448 * bits/valarray_meta.h: add Gaby's changes from 981018.
8449 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8450 failure of use_facet<>().
8451 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8452 comment out leftover member definitions
8454 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8456 * string/Makefile.am: Revert last change.
8457 * math/Makefile.am: Likewise.
8459 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8461 * bits/std_sstream.h: Fix typo.
8463 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8465 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8467 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8468 * bits/std_stdexcept.h: Remove.
8470 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8472 * src/misc-inst.cc: Tweak again.
8474 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8475 * bits/sstream.tcc: New file.
8477 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8479 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8480 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8483 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8485 (INFINITE_P): Use IS_INF macro if available.
8487 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8489 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8491 * string/Makefile.am: Likewise.
8493 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8495 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8497 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8498 endianess is available run AC_C_BIGENDIAN.
8500 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8501 fixincludes is fixed.
8502 * math/clogl.c: Likewise.
8503 * math/csqrtl.c: Likewise.
8504 * math/mycabsl.c: Likewise.
8506 * math/mathconf.h: Include machine/endian.h if possible. If no
8507 header describing endianess is available rely on WORDS_BIGENDIAN
8509 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8510 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8513 * src/complex.cc (polar): Don't use sincos on OSF machines.
8515 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8517 * src/locale-inst.cc: Don't instantiate time_get for
8518 ostreambuf_iterators as time_get::do_get_weekday and
8519 time_get::do_get_monthname use __match_parallel, which is illegal
8520 for ostreambuf_iterators to use, as they don't have operator== or
8522 * bits/std_stdexcept.h: Add dtor definitions.
8523 Use stl/bits/std_stdexcept.h instead of this file?
8524 * bits/sbuf_iter.h : Tweak.
8525 * src/misc-inst.cc: Tweak.
8527 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8529 * bits/std_stdexcept.h: New file.
8530 * src/stdexcept.cc: Define the following:
8532 runtime_error::what()
8534 * src/misc-inst.cc: New file.
8535 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8536 (libstdc___la_OBJECTS): Add misc-inst.lo.
8538 * bits/basic_string.h: Disable non-standard ctor declarations.
8539 * bits/string.tcc: Disable definitions as well.
8540 * src/string.cc: Disable <ios> dependancies.
8541 * bits/sbuf_iter.h (std): Add default to template parameter for
8542 ostreambuf_iterator and istreambuf_iterator.
8543 * bits/std_iosfwd.h: Change istreambuf_iterator to
8544 basic_istreambuf_iterator. Likewise for ostreambuf.
8545 * bits/locfacets.tcc (__match_parallel): Fix typo.
8546 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8548 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8549 * bits/std_istream.h: Define the following:
8550 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8551 get (char_type* __s, streamsize __n, char_type __delim);
8552 getline (char_type* __s, streamsize __n, char_type __delim)
8553 * bits/loccore.h : FIXME friend template code for use_facet.
8554 Add std_stdexcept.h include so that range_error will be defined.
8555 Add explicit conversion to string for range_error throws. (HACK?)
8557 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8559 * configure.in: Check for sincos, sincosf, and sincosl.
8560 * src/complex.cc (polar): Use sincos if available.
8562 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8563 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8565 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8567 * math/cpow.c: Use c_log, not clog.
8568 * math/cpowf.c: Likewise.
8569 * math/cpowl.c: Likewise.
8571 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8574 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8575 isfinite macro if it is available.
8576 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8578 * math/ccosf.c: Use appropriate test macros for this type.
8579 * math/ccoshf.c: Likewise.
8580 * math/ccoshl.c: Likewise.
8581 * math/ccosl.c: Likewise.
8582 * math/cexpf.c: Likewise.
8583 * math/cexpl.c: Likewise.
8584 * math/clog10f.c: Likewise.
8585 * math/clog10l.c: Likewise.
8586 * math/clogf.c: Likewise.
8587 * math/clogl.c: Likewise.
8588 * math/csinf.c: Likewise.
8589 * math/csinhf.c: Likewise.
8590 * math/csinhl.c: Likewise.
8591 * math/csinl.c: Likewise.
8592 * math/csqrtf.c: Likewise.
8593 * math/csqrtl.c: Likewise.
8594 * math/ctanf.c: Likewise.
8595 * math/ctanhf.c: Likewise.
8596 * math/ctanhl.c: Likewise.
8597 * math/ctanl.c: Likewise.
8599 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8601 * bits/basic_ios.h: Fix previous change.
8603 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8605 * bits/basic_ios.h: Add const_cast<basic_ios&>
8606 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8608 * bits/char_traits.h: No _CharT for specialization, change to 0.
8609 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8610 constant-initializer.
8611 * bits/locfacets.tcc: Add template parameter to initialization list.
8613 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8615 * bits/basic_string.h: Should just be <, not <=.
8617 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8619 * bits/string.tcc (compare): Fix for strings that are similar, but
8620 not the same length.
8622 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8624 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8625 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8626 We can't check for __GLIBC__ here, since this header can be read
8627 before any system one (that would lead to features.h) being used.
8629 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8631 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8632 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8634 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8635 LONGLONG_{MIN,MAX} which I can't find the origin of.
8637 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8639 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8640 should this come from, if not iostream.h?
8641 (class istream_iterator): Make the new operator!= a friend also.
8643 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8644 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8645 _G_config.h like the egcs one does.
8647 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8649 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8651 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8652 _Expr1 (or _Expr_def if it's taken), and change definitions.
8653 Avoids redecl of the template parm.
8655 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8656 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8658 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8661 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8662 be a better way to do this.
8664 * src/stlinst.cc: New file.
8666 * BUGS: New file, with various discovered bugs that need to be
8669 * Makefile.in, math/Makefile.in, string/Makefile.in,
8670 src/Makefile.in: Reran automake.
8672 Workarounds, these may not all be the final fixes:
8674 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8675 not private, for basic_istream::get() in std_istream.h to be able
8677 (basic_ios::operator void*): Don't use static_cast for the false
8679 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8680 This appears to have been in sep94, but didn't get corrected
8683 * bits/basic_string.h (npos): Don't init here.
8684 * bits/string.tcc: Instead, do initialization here, to -1 instead
8685 of the size_type destructor.
8687 * src/traits.cc, src/wtraits.cc: New files.
8688 * bits/char_traits.h: For char_traits<char> and
8689 char_traits<wchar_t>, declare static, but define over in the src
8692 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8693 gslice_array, and _GsliceExpression.
8695 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8696 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8697 stdout, and stderr. Note we do get unresolved refs to stdin, but
8698 that'll get fixed by the "true" solution.
8700 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8701 definition of basic_streambuf.h, which is used in basic_ios.h to
8704 * bits/std_streambuf.h: Don't include libio.h for now.
8705 (class basic_streambuf): Define missing methods pubimbue and
8708 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8709 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8710 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8712 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8714 * src/locale.cc: Come up with munged versions of _S_toupper,
8715 _S_tolower, and _S_table instead of the glibc-specific ones, so
8716 they're at least defined, if not necessarily usable. The glibc
8717 ones on any other system will yield unresolved refs to
8718 __ctype_{b,toupper,tolower}.
8720 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8721 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8722 anymore cuz of the explicit specialization in char_traits.h.
8723 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8724 file for the details.
8726 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8727 * stl/bits/stl_iterator.h (__distance): Likewise.
8729 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8730 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8733 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8735 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8738 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8740 This should really be fixed with __asm__ directives renaming the
8741 symbol, but keeping the function.
8742 * math/clogf.c (c_logf): Renamed from `clogf'.
8743 * math/clogl.c (c_logl): Renamed from `clogl'.
8744 * math/complex-stub.h (c_logf, c_logl): Change decls.
8746 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8747 _CharT and _InIter parms, since they duplicate the enclosing ones.
8749 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8751 Deal with conflict of the iostreams `clog' and our internal
8752 complex number `clog'.
8753 * src/complex.cc: Call `c_log' instead of `clog'.
8754 * math/clog.c (c_log):: Renamed from clog.
8755 * math/complex-stub.h (c_log): Renamed from clog decl.
8757 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8759 (num_put::put): #if 0 long long version, since we don't declare or
8760 define the long long version of do_put.
8762 1998-08-18 Nathan Myers <ncm@cantrip.org>
8764 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8765 type of get_allocator (thanks to Ryszard Kabatek).
8766 * bits/char_traits.h: make init order of fpos<> members
8768 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8769 flags _S_fd_in etc. for special filebuf ctor.
8770 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8771 to work around problems in friend declarations.
8772 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8773 fix random type errors & typos
8774 * bits/std_fstream.h: major refitting to bypass libio (for now),
8775 instrument to use bits/fstream.tcc template definitions
8776 * bits/std_iosfwd.h: mess with wrappers
8777 * bits/std_istream.h: remove meaningless comment
8778 * bits/std_ostream.h: instrument to work with ostream.tcc.
8779 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8780 * bits/fstream.tcc: template defs for <fstream>
8781 * bits/ostream.tcc: template defs for <ostream>
8782 * bits/streambuf.tcc: template defs for <streambuf>
8783 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8784 * Delete .cc files, replace with bits/*.tcc
8790 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8791 src/stdstreams.cc: cout, cin, etc. definitions
8792 (these still need work: must be init'd before user statics.)
8795 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8797 Sent to SGI before checkin:
8798 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8799 operator>=): Define.
8800 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8801 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8802 operator>=): Define.
8803 (operator==, operator<): Add inline.
8804 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8805 operator>=): Define.
8806 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8807 operator>=): Define.
8808 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8809 operator>=): Define.
8810 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8811 operator>=): Define.
8812 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8813 operator>=): Define.
8815 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8818 1998-08-15 Nathan Myers <ncm@cantrip.org>
8820 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8821 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8822 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8823 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8824 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8825 * bits/std_sstream.h: formatting cleanups
8827 1998-08-14 Nathan Myers <ncm@cantrip.org>
8829 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8830 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8831 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8832 * bits/locfacets.h: fix missing argument in do_get_monthname
8833 (this is a bug in the standard, ref. 36 in my list.)
8834 * bits/locfacets.h: make month and day name caches mutable
8835 * bits/locfacets.tcc: various typos in get() functions
8836 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8837 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8839 1998-08-12 Nathan Myers <ncm@cantrip.org>
8840 * move streambuf iterators to bits/sbuf_iter.h
8841 * optimize streambuf iterators
8842 * begin generalizing streambuf
8843 * begin implementing num_get<>::get (starting with bool)
8844 * patch stl/bits/stl_config.h so that relops operators are
8845 contained properly, out of the way.
8847 1998-07-24 Nathan Myers <ncm@cantrip.org>
8848 * Fold in SGI 3.11 changes (uglified names, some algorithm
8849 improvements, very minor bug fixes.)
8850 * Uglify names elsewhere to match (s/_T/_Tp/).
8851 * Begin work on optimized streambuf
8852 * Put complex.cc in namespace std:: (thanks Martin)
8854 1998-07-17 Nathan Myers <ncm@cantrip.org>
8856 * bits/char_traits.h: add _Char_traits_match template.
8857 * bits/string.tcc: fix bugs in various find_last* members.
8858 * bits/basic_string.h: redeclare member _S_find.
8859 * stl/bits/stl_iterator.h: change member names in nonstandard
8860 templates bidirectional_reverse_iterator and
8861 random_access_reverse_iterator to match expected changes
8863 * src/string.cc: fix definitions of stream operators.
8865 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
8867 * Makefile.am (SUBDIRS): Add string.
8869 * configure.in: Test for long double functions separately. Test for
8870 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
8871 Generate string/Makefile.
8873 * bits/c++config.h: Define mbstate_t for Solaris.
8875 * bits/char_traits.h: Remove unused #if.
8877 * bits/std_cwchar.h: Declare wide char string functions.
8879 * m4/stringfcts.m4: New file.
8881 * math/complex-stub.h: Declare nan.
8882 * math/nan.c: New file.
8884 * math/mathconf.h: Hack around missing endian.h file.
8885 Handle missing NAN definition.
8886 Handle missing float math functions.
8888 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
8889 (libstdc___la_LDFLAGS): Set version information.
8891 * src/complexl.cc: Don't compile any code if no long double functions
8894 * string/Makefile.am: New file.
8895 * string/dummy.c: New file.
8896 * string/wmemchr.c: New file.
8897 * string/wmemcmp.c: New file.
8898 * string/wmemcpy.c: New file.
8899 * string/wmemmove.c: New file.
8900 * string/wmemset.c: New file.
8902 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
8904 * configure.in: Make it work.
8905 * install-sh: New file.
8906 * missing: New file.
8907 * mkinstalldirs: New file.
8908 * m4/mathfcts.m4: New file.
8909 * math/Makefile.am: New file.
8911 * bits/std_complex.h (conj): Mark specializations as inline.
8913 * math/carg.c: New file.
8914 * math/cargf.c: New file.
8915 * math/cargl.c: New file.
8916 * math/mycabs.c: New file.
8917 * math/mycabsf.c: New file.
8918 * math/mycabsl.c: New file.
8919 * math/signbit.c: New file.
8920 * math/signbitf.c: New file.
8921 * math/signbitl.c: New file.
8923 * math/ccos.c: Avoid ISO C 9x functionality.
8924 * math/ccosf.c: Likewise.
8925 * math/ccosh.c: Likewise.
8926 * math/ccoshf.c: Likewise.
8927 * math/ccoshl.c: Likewise.
8928 * math/ccosl.c: Likewise.
8929 * math/cexp.c: Likewise.
8930 * math/cexpf.c: Likewise.
8931 * math/cexpl.c: Likewise.
8932 * math/clog.c: Likewise.
8933 * math/clog10.c: Likewise.
8934 * math/clog10f.c: Likewise.
8935 * math/clog10l.c: Likewise.
8936 * math/clogf.c: Likewise.
8937 * math/clogl.c: Likewise.
8938 * math/cpow.c: Likewise.
8939 * math/cpowf.c: Likewise.
8940 * math/cpowl.c: Likewise.
8941 * math/csin.c: Likewise.
8942 * math/csinf.c: Likewise.
8943 * math/csinh.c: Likewise.
8944 * math/csinhf.c: Likewise.
8945 * math/csinhl.c: Likewise.
8946 * math/csinl.c: Likewise.
8947 * math/csqrt.c: Likewise.
8948 * math/csqrtf.c: Likewise.
8949 * math/csqrtl.c: Likewise.
8950 * math/ctan.c: Likewise.
8951 * math/ctanf.c: Likewise.
8952 * math/ctanh.c: Likewise.
8953 * math/ctanhf.c: Likewise.
8954 * math/ctanhl.c: Likewise.
8955 * math/ctanl.c: Likewise.
8957 * math/complex-stub.h: New file.
8959 * math/mathconf.h: New file.
8961 * src/Makefile.am: New file.
8963 * src/complex.cc: Use mathconf.h instead of complex.h.
8964 Don't use cabs, always use __mycabs.
8966 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
8968 * iterator (class reverse_iterator): Do some tweaks to be in sync