1 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
3 * src/complex_io.cc : Remove ancient defines.
4 * config/os/gnu-linux/bits/os_defines.h: Add defines.
5 * libsupc++/tinfo2.cc: Change to cstddef.
7 * include/bits/codecvt.h: Add include of c++config.h, so that
8 __USE_GNU gets defined. (Important for alpha.)
10 * include/c/bits/std_cwctype.h: Same.
11 * include/c/bits/std_ctime.h: And here.
12 * include/c/bits/std_cstdarg.h: Same.
13 * include/c/bits/std_csignal.h: Same.
14 * include/c/bits/std_csetjmp.h: Same.
15 * include/c/bits/std_clocale.h: Same.
16 * include/c/bits/std_climits.h: Touch.
17 * include/c/bits/std_cfloat.h: Same.
18 * include/c/bits/std_cerrno.h: Same.
19 * include/c/bits/std_cwchar.h: Same.
20 * include/c/bits/std_cassert.h: Same.
21 * include/c/bits/std_cctype.h: Same.
22 * include/c/bits/std_cstddef.h: And here.
23 * include/c/bits/std_cstdlib.h: And here.
24 * include/c/bits/std_cstdio.h: Same.
25 * include/c/bits/std_cstring.h: Add names to namespace std::.
27 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
29 (_ISOC99_SOURCE): And this one....
30 * config/os/gnu-linux/bits/os_defines.h: ...to here.
32 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
33 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
35 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
36 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
38 2000-10-30 Steven King <sxking@uswest.net>
40 * include/bits/codecvt.h: Add cast.
41 * include/c_std/stdio.h: Re-add printf using declaration.
42 * include/c_std/bits/std_cstdio.h: Same
43 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
44 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
45 * testsuite/22_locale/facet.cc: Same.
46 * testsuite/22_locale/global_templates.cc: Same.
47 * testsuite/22_locale/operators.cc: Same.
48 * testsuite/22_locale/static_members.cc: Same.
49 * testsuite/26_numerics/c_math.cc: Same.
50 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
51 * testsuite/27_io/fpos.cc: Same.
52 * testsuite/27_io/istream_extractor_arith.cc: Same.
53 * testsuite/27_io/istream_unformatted.cc: Same.
54 * testsuite/27_io/ostream_inserter_arith.cc: Same.
55 * testsuite/27_io/streambuf.cc: Same.
57 2000-10-30 Mark Mitchell <mark@codesourcery.com>
59 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
60 for cabs, cabsf, and cabsl, too.
61 * aclocal.m4: Regenerated.
62 * config.h.in: Likewise.
63 * configure: Likewise.
64 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
66 * libmath/Makefile.in: Regenerated.
67 * libmath/complex-stub.h (cabs): Don't declare if the system
68 already provides this function.
71 * src/complex.cc (abs): Directly use `hypot' since we can't call
74 2000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
76 * acinclude.m4: Update URL on egcs.cygnus.com to point to
78 * aclocal.m4, configure: Regenerate.
79 * src/gen-num-limits.cc, include/bits/c++config,
80 include/bits/stl_config.h: Remove EGCS references.
82 2000-10-29 Mark Mitchell <mark@codesourcery.com>
84 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
85 building shared executables.
87 2000-10-29 Mark Harig <mharig@landmark.com>
89 * src/Makefile.am: Change logic for include dir options.
90 * src/Makefile.in: Regenerate.
91 * libsupc++/Makefile.am: Ditto.
92 * libsupc++/Makefile.in: Regenerate.
94 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>
96 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
97 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
98 with libgcj build issues and improve consistency with the source
99 directory's include directory setup.
100 * configure: Regenerate.
101 * acinclude.m4: Same here.
102 * aclocal.m4: Regenerate.
103 * mknumeric_limits (OUT_H): Also change paths here.
104 * mkcheck.in (C_DIR): And here.
105 * mkc++config (OUT_H): And here.
106 * libmath/Makefile.am (INCLUDES): And here.
107 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
108 * libio/Makefile.am: Ditto.
109 * libsupc++/Makefile.am (INCLUDES): Ditto.
111 2000-10-29 Mark Mitchell <mark@codesourcery.com>
113 * config/c_io_libio.cc (basic_file<char>::__basic_file):
114 Don't pass a NULL _IO_wide_data to _IO_no_init when
115 _GLIBCPP_USE_WCHAR_T is not defined.
116 * config/c_io_libio.h (_IO_codecvt): Don't declare when
117 _GLIBCPP_USE_WCHAR_T is not defined.
118 * config/c_io_libio_codecvt.c: Don't compile it
119 when _GLIBCPP_USE_WCHAR_T is not defined.
120 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
121 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
123 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
124 include it when _GLIBCPP_USE_WCHAR_T is not defined.
125 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
126 when _GLIBCPP_USE_WCHAR_T is not defined.
127 * src/localename.cc (locale::_Impl::_M_construct_collate):
128 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
130 (locale::_Impl::_M_construct_ctype): Likewise.
131 (locale::_Impl::_M_construct_monetary): Likewise.
132 (locale::_Impl::_M_construct_numeric): Likewise.
133 (locale::_Impl::_M_construct_time): Likewise.
134 (locale::_Impl::_M_construct_messages): Likewise.
136 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
137 * aclocal.m4: Regenerated.
138 * configure: Likewise.
139 * config/os/irix/bits/atomicity.h: New file.
140 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
142 (__off64_t): Likewise.
143 (__ssize_t): Likewise.
144 (_G_USING_THUNKS): Define to zero.
146 2000-10-28 Mark Mitchell <mark@codesourcery.com>
148 * src/string-inst.cc (basic_string<C>::npos): Explicitly
151 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
153 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
155 Clean up naming, consistency in "C" library autoconf testing.
156 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
157 GLIBCPP_CHECK_CTYPE_SUPPORT.
158 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
159 * aclocal.m4: Regenerate.
160 * configure.in: And here.
161 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
162 * configure: Regenerate.
164 2000-10-26 David Edelsohn <edelsohn@gnu.org>
166 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
167 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
169 2000-10-26 Phil Edwards <pme@sources.redhat.com>
170 David Edelsohn <dje@watson.ibm.com>
172 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
173 --gc-sections stuff entirely to avoid misleading people.
174 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
175 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
177 * libio/libio.h: Simplify, make fewer assumptions. Define those
178 macros which must be defined.
179 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
182 2000-10-26 Mark Mitchell <mark@codesourcery.com>
184 * include/backward/streambuf.h: New file.
186 2000-10-26 David Edelsohn <dje@watson.ibm.com>
188 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
189 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
190 * config/os/aix/bits/os_defines.h: Add AIX defines.
192 2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
194 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
195 * aclocal.m4: Regenerate.
196 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
197 * configure: Regenerate.
198 * docs/configopts.html: Remove.
199 * src/complexl.cc: Revert.
200 * config.h.in: Remove.
201 * include/c_std/bits/std_cmath.h: Remove guards based on
202 _GLIBCPP_USE_LONG_DOUBLE.
203 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
204 with respect to long double signatures.
206 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
208 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
209 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
210 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
211 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
212 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
214 2000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
216 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
217 Use __valarray_copy_construct only where appropriate.
219 2000-10-25 Mark Mitchell <mark@codesourcery.com>
221 * Makefile.in (check): Don't make mkcheck executable.
222 (check-install): Likewise.
223 * configure.in (AC_OUTPUT): Make mkcheck executable.
224 * mkcheck.in (top_srcdir): New variable.
225 (INC_PATH): Set the path to the backward and ext directories
228 2000-10-25 Phil Edwards <pme@sources.redhat.com>
230 * configure.in: Check for gconv.h.
231 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
233 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
234 * libio/_G_config.h: And here.
235 * libio/iofwide.c: And here.
236 * libio/libio.h: And here.
238 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
239 exception specification to match declaration.
240 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
242 2000-10-24 Mark Harig <mharig@landmark.com>
244 * docs/configopts.html: Added documentation for the
245 "--enable-version-specific-runtime-libs" and
246 "--with-gxx-include-dir" configuration switches.
248 2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
250 * include/bits/stl_pair.h (make_pair): Add LWG solution.
252 * testsuite/21_strings/compare.cc (test01): Inject namespace std
255 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
258 2000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
260 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
262 2000-10-24 Phil Edwards <pme@sources.redhat.com>
264 * acconfig.h: List _GLIBCPP_USE_THREADS.
265 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
266 correction, etc. Add comments about following *real* changes
268 (GLIBCPP_ENABLE_C_MBCHAR): New test...
269 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
270 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
272 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
273 macro _GLIBCPP_USE_THREADS in c++config.h.
274 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
275 this is used in both makefiles and shell scripts (mkcheck).
276 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
278 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
279 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
280 something harmless, like int.
282 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
283 add comment/instructions.
284 * config/os/bsd/bits/os_defines.h: Ditto.
285 * config/os/generic/bits/os_defines.h: Ditto.
286 * config/os/gnu-linux/bits/os_defines.h: Ditto.
287 * config/os/irix/bits/os_defines.h: Ditto.
288 * config/os/newlib/bits/os_defines.h: Ditto.
289 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
290 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
292 * mkcheck.in: Limit the available heap size for testsuite
293 binaries, initially at 2MB.
295 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
297 * testsuite/21_strings/compare.cc (test01): Add using declarations.
299 * include/c_std/bits/std_cerrno.h: And here.
300 * include/c_std/bits/std_cassert.h: Tweaks.
302 * mkcheck.in: Simplify.
304 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
305 (GLIBCPP_ENABLE_LONG_LONG): Same.
306 * aclocal.m4: Regenerate.
308 * src/Makefile.am (c_shadow_headers): Add features.h,
309 bits/wrap_features.h.
310 * src/Makefile.in: Regenerate.
311 * include/c_std/features.h: New file.
312 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
313 file. Need to have c++config.h included before this file so
314 _ISOC99_SOURCE around.
316 * include/c_std/sys/cdefs.h: Hack.
317 * include/c_std/stdlib.h: Same, use c++config.h.
318 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
320 * include/c_std/bits/std_cassert.h: Fix.
321 * include/c_std/bits/std_cerrno.h: Make consistent.
323 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
324 declaration from ::_C_legacy to _C_legacy.
326 * include/c_std/bits/std_cstdio.h: same with printf.
327 * include/c_std/stdio.h: And here.
329 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
330 * include/c_std/stdlib.h: Same here.
332 2000-10-23 Benjamin Kosnik <bkoz@redhat.com>
334 * testsuite/21_strings/compare.cc (test01): Add using declarations.
336 * include/c_std/bits/std_cerrno.h: And here.
337 * include/c_std/bits/std_cassert.h: Tweaks.
339 * mkcheck.in: Simplify.
341 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
342 (GLIBCPP_ENABLE_LONG_LONG): Same.
343 * aclocal.m4: Regenerate.
345 * src/Makefile.am (c_shadow_headers): Add features.h,
346 bits/wrap_features.h.
347 * src/Makefile.in: Regenerate.
348 * include/c_std/features.h: New file.
349 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
350 file. Need to have c++config.h included before this file so
351 _ISOC99_SOURCE around.
353 * include/c_std/sys/cdefs.h: Hack.
354 * include/c_std/stdlib.h: Same, use c++config.h.
355 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
357 * include/c_std/bits/std_cassert.h: Fix.
358 * include/c_std/bits/std_cerrno.h: Make consistent.
360 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
361 declaration from ::_C_legacy to _C_legacy.
363 * include/c_std/bits/std_cstdio.h: same with printf.
364 * include/c_std/stdio.h: And here.
366 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
367 * include/c_std/stdlib.h: Same here.
369 2000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
371 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
372 * aclocal.m4: Regenerate.
373 * configure.in: Use it.
374 * configure: Regenerate.
375 * src/complexl.cc: Fixup.
376 * include/c_std/bits/std_cmath.h: Fixup.
377 * include/c/bits/std_cmath.h: Fixup.
378 * docs/configopts.html: Add docs.
380 * docs/links.html: Add links to defects list, standards FAQ.
382 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
383 with string creation that allocate huge ammounts of memory.
385 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
388 2000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
390 * libsupc++/exception.cc: Use namespace std.
391 * libsupc++/new: DITTO.
392 * libsupc++/new_op.cc: DITTO.
393 * libsupc++/new_opnt.cc: DITTO.
394 * libsupc++/new_opv.cc: DITTO.
395 * libsupc++/new_opvnt.cc: DITTO.
396 * libsupc++/tinfo.cc: DITTO.
397 * libsupc++/tinfo.h: DITTO.
398 * libsupc++/vec.cc: DITTO.
399 * libsupc++/Makefile.am: Blank lines removal.
401 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
403 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
404 docs/17_intro/howto.html, docs/18_support/howto.html,
405 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
406 docs/21_strings/howto.html, docs/22_locale/howto.html,
407 docs/23_containers/howto.html, docs/24_iterators/howto.html,
408 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
409 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
410 Remove many EGCS references; use current absolute URLs on
411 gcc.gnu.org or sources.redhat.com for messages in list archives.
412 * docs/faq/index.txt: Regenerate.
414 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
416 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
417 creation of state_type for unicode_codecvt to take into account
418 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
419 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
420 * include/bits/codecvt.h (__enc_traits): Add support for encodings
421 that need a byte order marker. Needed for correct unicode support.
423 * src/locale.cc: Remove explicit qualification std::.
424 (locale::locale(const char* __name)): Revert, as named locale
425 support not finished.
426 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
427 size_t __refs, bool __has_name = false, string __name): Move
429 * include/bits/localefwd.h: Here.
431 2000-10-18 Chip Salzenberg <chip@valinux.com>
433 * libio/libio.h (_IO_USER_LOCK): Define.
435 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
437 * libsupc++/Makefile.am (exception): Change exception.cc to
438 exception_support.cc.
439 (CXXLINK): Remove bogus --tag CC.
440 * libsupc++/Makefile.in: Regenerate.
441 * libsupc++/exception.cc: Move to...
442 * libsupc++/exception_support.cc: ...here.
444 * src/Makefile.am: Remove bogus --tag CC.
445 * src/Makefile.in: Regenerate.
447 * include/bits/locale_facets.tcc (use_facet): Simplify.
448 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
449 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
450 (use_facet<ctype<wchar_t> >): Same.
451 * src/locale-inst.cc: Remove explicit instantiation.
452 * src/locale.cc: Correct signature here too.
453 (_Bad_use_facet::what()): Correct error string.
454 * include/bits/localefwd.h: Correct comment.
456 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
458 2000-10-17 Martin Buchholz <martin@xemacs.org>
460 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
461 * testsuite/27_io/ostream_seeks.cc: Similarly.
463 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
465 via Alexandre Oliva <aoliva@redhat.com>
466 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
467 * libsupc++/Makefile.in: Regenerate.
468 * src/Makefile.am: Duplicate code.
469 * src/Makefile.in: Regenerate.
471 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
472 * aclocal.m4: Regenerate.
473 * configure.in: And here.
474 * configure: Regenerate.
476 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
477 test for SECTION_LDFLAGS.
479 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
481 Shadow headers would work if libsupc++ was strict about namespaces.
482 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
483 * include/c_std/assert.h: Add guards.
484 * include/c_std/bits/std_climits.h: Correct typo.
485 * include/c_std/ctype.h: Remove #error.
487 * libio/libioP.h: Break up extern "C" bits around includes.
488 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
490 * libio/libioP.h: Same here.
492 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
494 * include/c_std/unistd.h: Define some types only when defined in
495 the original unistd.h.
496 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
497 definition of size_t, ptrdiff_t and NULL.
498 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
500 2000-10-15 Phil Edwards <pme@sources.redhat.com>
502 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
504 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
505 Mark Harig <markh@landmark.com>
507 * src/Makefile.am (toolexeclibdir): Add support fo
508 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
509 * src/Makefile.in: Regenerate.
510 * libsupc++/Makefile.am: Same.
511 (glibcppinstalldir): Adjust.
512 * libsupc++/Makefile.in: Regenerate.
513 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
514 * Makefile.in: Regenerate.
515 * docs/configopts.html: Add descriptions of flags.
517 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
519 * libsupc++/Makefile.am: Use it.
520 * libio/Makefile.am: Use it.
521 * libmath/Makefile.am: Use it.
522 * src/Makefile.am: Use it.
523 * Makefile.am (AM_MAKEFLAGS): Remove includes.
525 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
526 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
527 * configure.in: Use it.
529 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
531 * src/Makefile.am (CXXCOMPILE): Remove.
532 * src/Makefile.in: Regenerate.
533 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
534 * libsupc++/Makefile.in: Regenerate.
536 * include/c_std/*: Merge with shadow.
537 * include/c_std/bits/*: Same.
539 * shadow: Remove directory.
540 * shadow/*: De-populate.
542 2000-10-11 Phil Edwards <pme@sources.redhat.com>
544 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
545 exception-throwing code for linker test.
546 * aclocal.m4: Regenerate.
547 * configure: Regenerate.
549 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
551 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
552 * libsupc++/include: Remove
553 * libsupc++/include/*: Move to ...
555 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
556 (glibcppinstalldir): New.
558 * src/Makefile.am (c_base_headers): New.
559 (c_shadow_headers): New
561 (myinstallheaders): Correct install issues.
562 * src/Makefile.in: Regenerate.
564 * Makefile.am (CSHADOW_INCLUDES): Simplify.
565 * Makefile.in: Regenerate.
566 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
567 * aclocal.m4: Regenerate.
568 * mkcheck.in (SRC_DIR): Use it.
570 * include/bits/std_stdexcept.h: And here.
571 * include/bits/std_ios.h: Change std_exception.h to exception.
572 * src/locale.cc: And here.
573 * src/locale-inst.cc: And here.
575 * include/bits/valarray_array.h: And here.
576 * include/bits/stl_alloc.h: And here.
577 * include/bits/stl_algobase.h: And here.
578 * include/bits/pthread_allocimpl.h: And here.
579 * include/bits/stl_construct.h: Change to std_new.h to new.
581 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
583 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
584 (headers): Remove duplicated headers.
585 (std_headers): And here.
586 * src/Makefile.in: Regenerate.
587 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
588 * libsupc++/Makefile.in: Regenerate.
589 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
590 (AM_MAKEFLAGS): And here.
591 * Makefile.in: Regenerate.
592 * include/bits/std_typeinfo.h: Remove.
593 * include/bits/std_new.h: Remove
594 * include/bits/std_exception.h: Remove.
596 * std/typeinfo: Remove.
597 * std/exception: Remove.
599 * libio/_G_config.h (__need_ptrdiff_t): Add.
601 * libsupc++/include/new: Change stddef.h to cstddef.
602 * libsupc++/tinfo.h: Change limits.h to climits.
603 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
604 renders the file uncompilable. Add copyright.
606 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
607 namespace, as it is a fundamental type.
609 2000-10-09 Richard Henderson <rth@cygnus.com>
611 * libsupc++/pure.cc: New file.
612 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
613 (sources): Add pure.cc.
614 * libsupc++/Makefile.in: Regenerate.
616 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
618 * docs/configopts.html: Edit.
620 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
621 * libio/Makefile.in: Regenerate.
622 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
623 * libmath/Makefile.in: Regenerate.
624 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
625 * libsupc++/Makefile.in: Regenerate.
627 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
628 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
629 CSHADOW_INCLUDES up here.
630 * Makefile.in: Regenerate.
631 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
633 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
634 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
635 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
636 * src/Makefile.in: Regenerate.
638 * include/c: New directory.
639 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
640 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
641 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
642 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
643 std_cwchar.h, std_cwctype.h): Add, moving from...
644 * include/bits: ...here.
645 * include/c_std: New directory.
646 * include/c_std/bits/*: Populate from...
647 * shadow: ...here. Remove directory.
649 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
651 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
652 (INCLUDES): Add glibcpp_includedir.
653 * libsupc++/Makefile.in: Regenerate.
655 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
656 * aclocal.m4: Regenerate.
657 * config/os/*/bits/os_defintes: Adjust copyright dates.
659 2000-10-08 Phil Edwards <pme@sources.redhat.com>
661 * include/bits/c++config: Include <bits/os_defines.h>
662 * config/os/aix/bits/os_defines.h: New file.
663 * config/os/bsd/bits/os_defines.h: Ditto.
664 * config/os/generic/bits/os_defines.h: Ditto.
665 * config/os/gnu-linux/bits/os_defines.h: Ditto.
666 * config/os/irix/bits/os_defines.h: Ditto.
667 * config/os/newlib/bits/os_defines.h: Ditto.
668 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
669 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
670 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
672 2000-10-07 David Edelsohn <dje@watson.ibm.com>
674 * config/os/aix/bits/atomicity.h: New file.
676 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
678 * acinclude.m4: Remove CPU_FLAGS
679 * libio/Makefile.am: Here too.
680 * Makefile.am: Here too.
682 * src/Makefile.am (CONFIG_INCLUDES): Remove.
683 (INCLUDES): Remove CONFIG_INCLUDES.
684 (cpu_headers): Remove.
685 (myinstallheaders): Remove cpu_headers.
686 (generated_headers): Rename to build_headers.
687 (build_headers): Add atomicity.h, ctype_base.h,
688 ctype_specializations.h.
690 * config/os: New directory.
691 * config/aix: Move to...
692 * config/bsd: Move to...
693 * config/generic: Move to...
694 * config/gnu-linux: Move to...
695 * config/irix: Move to...
696 * config/newlib: Move to...
697 * config/solaris: Move to...
700 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
702 * acinclude.m4: Remove CPU_FLAGS
703 * libio/Makefile.am: Here too.
704 * Makefile.am: Here too.
706 * src/Makefile.am (CONFIG_INCLUDES): Remove.
707 (INCLUDES): Remove CONFIG_INCLUDES.
708 (cpu_headers): Remove.
709 (myinstallheaders): Remove cpu_headers.
710 (generated_headers): Rename to build_headers.
711 (build_headers): Add atomicity.h, ctype_base.h,
712 ctype_specializations.h.
714 * config/os: New directory.
715 * config/aix: Move to...
716 * config/bsd: Move to...
717 * config/generic: Move to...
718 * config/gnu-linux: Move to...
719 * config/irix: Move to...
720 * config/newlib: Move to...
721 * config/solaris: Move to...
724 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
726 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
727 CONFIG_CXXFLAGS from here, and move to...
728 * src/Makefile.in: Regenerate.
729 * Makefile.am: ... here. Clean.
730 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
731 (WARN_CXXFLAGS): Same.
732 (CONFIG_CXXFLAGS): Same.
733 * Makefile.in: Regenerate.
734 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
735 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
736 * libsupc++/Makefile.in: Regenerate.
738 Change math to libmath.
739 * math: Move to libmath, delete.
740 * libmath: New directory.
741 * libmath/*: Populate.
742 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
743 (libstdc___la_LIBADD): Same.
744 * src/Makefile.in: Regenerate.
745 * configure.in: Add AC_OUTPUT for libmath/Makefile.
746 * configure: Regenerate.
747 * Makefile.am (SUBDIRS): Add libmath.
748 * Makefile.in: Regenerate.
749 * README (file): Change name.
751 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
752 Richard Henderson <rth@cygnus.com>
753 Alexandre Oliva <aoliva@redhat.com>
755 * libsupc++: New directory.
756 * libsupc++/*: Populate.
757 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
758 eh-common.h, gansidecl.h.
759 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
760 * configure: Regenerate.
761 * Makefile.am (SUBDIRS): Add libsupc++.
762 * Makefile.in: Regenerate.
763 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
764 * src/Makefile.in: Regenerate.
765 * libio/Makefile.am: Remove extraneous, confusing bits.
766 * libio/Makefile.in: Regenerate.
768 2000-10-05 Brent Verner <brent@rcfile.org>
770 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
771 test for _M_gcount < in_avail(), as in_avail() only reports info
772 for current buffer, causing method to return at end of buffer.
773 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
774 * testsuite/27_io/istream_unformatted-3.txt: New file.
775 * testsuite/27_io/istream_unformatted-3.tst: New file.
777 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
779 * README (file): Adjust directory structures.
780 * mkcheck.in (INC_PATH): Adjust for header changes.
782 2000-10-05 Phil Edwards <pme@sources.redhat.com>
784 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
785 for public relations purposes.
786 * aclocal.m4: Regenerated.
787 * configure: Regenerated.
789 * docs/ext/howto.html: Additional explanation about hashing.
791 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
793 * include: New directory.
794 * include/backward: New directory.
795 * include/bits: New directory.
796 * include/ext: New directory.
797 * include/std: New directory.
798 * include/*/*: Populate.
800 * backwards: Move to include/backwards, delete.
801 * bits: Move to include/bits, delete.
802 * ext: Move to include/ext, delete.
803 * std: Move to include/std, delete.
805 * src/complex.cc: Adjust include of mathconf.
807 * mkc++config (BASE_H): Add include.
809 * src/Makefile.am: Support for topleve sources include directory.
810 (INCLUDES): Add LIBMATH_INCLUDE.
811 * src/Makefile.in: Regenerate.
812 * math/Makefile.am (INCLUDES): Append /include.
813 * math/Makefile.in: Regenerate.
814 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
815 * libio/Makefile.in: Regenerate.
817 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
819 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
821 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
823 * docs/22_locale/howto.html: Add link to proto-documentation on
825 * docs/documentation.html: Rename links for clarity.
827 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
828 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
829 * src/Makefile.in: Regenerate.
831 2000-10-02 Steven King <sxking@uswest.net>
833 * mkcshadow: Fixed script to output proper include guard.
834 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
835 * libio/_G_config.h: Hacked to make work with shadow heraders.
836 * shadow/*: Hacked to make shadow headers work.
838 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
840 Self-compile with shadow headers.
841 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
842 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
843 it becomes the default way the library is built.
844 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
845 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
846 * config/gnu-linux/ctype.cc (ctype): Use it.
848 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
850 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
851 memset. This should not be necessary, but an ambiguous overload
854 * shadow/bits/std_cwchar.h: Fix.
855 * shadow/wchar.h: Fix.
857 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
858 enums into namespace std:: for ctype_base enum. Other OS types
859 will have to do this as well.
860 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
861 namespace std, in particular __ctype_toupper, __ctype_tolower,
864 * shadow/iolibio.h: New file.
865 * shadow/bits/wrap_iolibio.h: New file.
866 * shadow/libioP.h: New file.
867 * shadow/bits/wrap_libioP.h: New file.
868 * shadow/bits/wrap_fcntl.h: New file.
869 * shadow/fcntl.h: New file.
870 * shadow/iconv.h: New file. Inject iconv names into the global
871 namespace, unmangled for the moment.
872 * shadow/bits/wrap_iconv.h: New file.
873 * shadow/unistd.h: Remove. Useless.
874 * shadow/bits/wrap_unistd.h: Remove.
876 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
877 * src/Makefile.in: Regenerate.
879 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
881 * shadow/libio.h: Fix.
882 * shadow/bits/wrap_libio.h: Fix.
884 * shadow/bits/std_clocale.h: Remove typedef struct construct,
885 which will not compile.
886 * shadow/bits/std_ctime.h: Same.
888 * shadow/pthread.h: New file. Put pthreads types and functions
889 into global scope, which is probably not the correct long-term
890 solution but has to be done at the moment before libio wrappers
892 * shadow/bits/wrap_pthread.h: New file.
894 * bits/std_ios.h: Formatting tweak.
895 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
897 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
898 tests for compiler features.
899 * aclocal.m4: Regenerate.
900 * configure: Regenerate.
902 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
904 * libio/libioP.h: Comment out fcntl.h include.
906 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
908 * bits/c++config: Define _ISOC99_SOURCE.
910 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
911 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
912 * aclocal.m4: Regenerate.
913 * configure: Regenerate.
914 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
915 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
916 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
917 std or shadow directories.
918 (LTCXXCOMPILE): Same.
919 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
920 (AC_CXXFLAGS): Add CSHADOWFLAGS.
921 * src/Makefile.in: Regenerate.
923 * src/complex.cc (FCT): Change ::name to name.
924 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
925 * src/complexf.cc (FCT): Same.
927 * src/complexf.cc: Remove FCT define, as things are properly
928 overloaded in the std namespace with the shadow headers.
929 * src/complexl.cc: Same.
930 * src/complex.cc: Same.
932 2000-09-25 Phil Edwards <pme@sources.redhat.com>
934 * docs/documentation.html: Add link to...
935 * docs/ext/howto.html: ...this. New dir/file, describing library
936 extensions (both ours and SGI's).
937 * docs/faq/index.html: Small updates.
938 * docs/faq/index.txt: Regenerate.
940 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
942 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
944 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
946 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
948 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
950 * src/localename.cc (locale::_Imp) : Remove typedefs.
951 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
952 __f): Consistency check, call _Imp ctor with reference argument
954 * bits/localefwd.h: Change _S_num_categories to
955 _S_categories_num. Add new data member, _S_facets_num, which is
956 the number of standard facets.
958 2000-09-19 Phil Edwards <pme@sources.redhat.com>
960 * docs/21_strings/howto.html: Fix editor lossage from last commit.
962 2000-09-19 Phil Edwards <pme@sources.redhat.com>
964 * docs/thanks.html: More thanks.
965 * docs/18_support/howto.html: Fix thinko.
966 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
967 Redo the string transformation notes and link to...
968 * docs/22_locale/howto.html: ...here.
970 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
972 * src/locale-inst.cc: Add time_put_byname and
973 time_get_byname instantiations.
974 * bits/locale_facets.h: Correct default, private derivation to
975 public derivation in _byname declarations.
976 * src/locale.cc (locale::classic()): Simplify.
977 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
978 const string& __name, category __cat, size_t __refs): Re-work for
980 (_M_normalize_category_names): Remove.
982 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
983 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
985 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
987 * bits/std_bitset.h (operator>>): Change to char_type.
989 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
991 * src/locale.cc (locale::locale(const char* __name)): Consolidate
992 name setting. Add checks for NULL __name pointers. Remove calls to
993 _S_initialize() as initial locale initialization can either be
994 assumed, or needs to be made consistent throughout locale
996 (locale::locale(const locale& __other, const char* __name,
997 category __cat): Add checks for NULL name. Add checks for
999 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1000 const string& __name, category __cat, size_t __refs)): Set correct
1001 name, has_name values.
1002 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1003 * docs/22_locale/locale.html: New file, more unfinished docs...
1005 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1007 * src/locale.cc (locale::name()): Implement.
1008 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1009 string __name = "*")): Change signature.
1010 (locale::classic): Initialize the "C" locale as a named locale.
1011 * bits/localefwd.h (locale): Change _M_num_references to
1012 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1014 * bits/localefwd.h: Tweaks.
1015 * src/localename.cc: Tweaks.
1016 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1019 * bits/basic_string.h: Consistency check, change _M_state ->
1022 2000-09-14 Brendan Kehoe <brendan@zen.org>
1024 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1027 * src/Makefile.an (headers): Also install backward/fstream.h.
1028 * src/Makefile.in: Regenerate.
1030 * bits/char_traits.h (char_traits<_CharT>::get_state,
1031 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1032 argument in by reference, not by value. Uglify to _S_get_state.
1033 (char_traits<*>::__eos): Uglify to _S_eos.
1034 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1035 Change __eos to _S_eos.
1037 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1039 * testsuite/22_locale/static_members.cc: New file.
1040 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1041 * src/locale.cc: Minor formatting tweaks.
1043 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1045 * testsuite/22_locale/global_templates.cc (test01): Add negative
1046 tests for use_facet.
1048 * bits/localefwd.h (locale::operator()): Minor tweaks.
1049 * bits/locale_facets.tcc (locale::operator()): Same.
1050 * testsuite/22_locale/operators.cc: New file.
1052 * testsuite/22_locale/facet.cc (output_iterator): Remove
1053 gnu_input_iterator, gnu_output_iterator.
1055 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1057 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1058 * aclocal.m4: Regenerate.
1059 * configure: Regenerate.
1061 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1062 snapshot release soon.
1063 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1064 is pretty much assumed.
1066 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1067 use_facet and has_facet.
1069 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1070 Modify/correct iconv signatures for glibc2.2.
1072 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
1074 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1077 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1079 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1080 (locale): Make _Impl declaration public.
1082 2000-09-08 Felix Natter <fnatter@gmx.net>
1084 * docs/17_intro/porting-howto.html: New version.
1086 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1088 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1090 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1091 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1093 2000-09-07 Phil Edwards <pme@sources.redhat.com>
1095 Add bits for --enable-maintainer-mode:
1096 - turns on enable_debug
1097 (doing "--enable-maint --disable-debug" will DTRT)
1098 - turns on -Werror, now off by default
1099 * acinclude.m4: Add bits.
1100 * aclocal.m4: Regenerate.
1101 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1102 * configure: Regenerate.
1104 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1106 * bits/std_cwctype.h: Remove yesterday's hacks.
1108 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1110 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1111 * testsuite/23_containers/set_operators.cc: New file. Should not
1113 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1115 2000-09-06 Richard Henderson <rth@cygnus.com>
1116 Benjamin Kosnik <bkoz@cygnus.com>
1118 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1119 * aclocal.m4: Regenerate.
1120 * configure: Regenerate.
1121 * config/cpu/ia64: New directory.
1122 * config/cpu/ia64/bits: New directory.
1123 * config/cpu/ia64/bits/atomicity.h: New file.
1125 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1127 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1128 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1130 * aclocal.m4: Regenerate.
1131 * configure: Regenerate.
1132 * */Makefile.in: Regenerate.
1134 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1135 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1137 * testsuite/23_containers/vector_element_access.cc: New file.
1138 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1140 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1142 * bits/string.tcc: Fix up more parameter names.
1144 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1146 * configure: Rebuilt with new libtool.m4.
1148 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1150 * src/locale-inst.cc: Remove pre-instantiation of unicode
1151 codecvt types. Now unnecessary, as locale header now correct.
1153 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1155 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1156 * src/locale.cc: Here.
1157 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1158 definition. Move specialization to ...
1159 * src/locale.cc: Here.
1160 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1161 * src/locale.cc: Here.
1162 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1163 * src/locale.cc: Here.
1165 * bits/std_locale.h: Note that locale_facets.tcc should be
1166 included here, for standards conformance. It may increase
1167 compile times though. For the time being, enable.
1168 * testsuite/22_locale/facet.cc: New file, some parts commented out
1171 * mkcheck.in: Append total time to test summary file.
1173 * bits/sbuf_iter.h : Formatting tweaks.
1175 Clean up static const data member definitions.
1176 * src/locale.cc: Add definitions for all missing locale,
1177 locale::_Imp, and locale::id static data members.
1178 (ctype<char>): Add table_size define.
1179 (money_base): Add _S_default_pattern, uglify.
1180 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1181 * bits/locale_facets.h: Tweaks.
1182 * bits/locale_facets.tcc: Tweaks.
1183 * bits/string.tcc: Add definition for npos.
1184 * bits/ios_base.h: Tweaks.
1185 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1187 * src/ios.cc: And here. Add _S_local_words definition.
1188 Add definitions for __ios_flags const static data.
1189 * src/codecvt.cc: Same for __enc_traits.
1190 * src/locale-inst.cc: Remove money_base data member definition
1193 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1195 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1197 * docs/22_locale/codecvt.html: Re-number.
1198 * docs/22_locale/howto.html: Add entry for ctype
1199 documentation. Add entry for Nathan's introduction to locales
1201 * docs/22_locale/ctype.html: New file. In progress...
1203 * docs/22_locale/codecvt.html: Formatting cleanups.
1204 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1206 2000-08-30 Phil Edwards <pme@sources.redhat.com>
1208 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1209 tweaks for certain browsers.
1211 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
1213 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1214 Add include for bits/std_cwctype.h, for wctype_t.
1215 * src/locale.cc (ctype<wchar_t>): Implement.
1216 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1217 typedef, instead name enum.
1218 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1219 * config/gnu-linux/ctype.cc: Tweak.
1220 * testsuite/22_locale/ctype.cc: Tweak.
1222 * bits/codecvt.h (__enc_traits): Uglify names.
1224 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1226 * docs/22_locale/codecvt.html: Add more bits, format.
1227 * bits/codecvt.h: Add copy ctor, rename types.
1228 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1230 * libio/iofwide.c: Tweak.
1232 2000-08-28 Phil Edwards <pme@sources.redhat.com>
1234 * docs/configopts.html: Mention new options.
1235 * docs/install.html: Formatting changes for platform-specific
1236 pre-reqs, previously only Cygwin.
1237 * docs/mail.html: Fix new link.
1238 * docs/thanks.html: A couple more people.
1239 * docs/26_numerics/howto.html: Fix typo.
1241 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1243 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1244 * docs/22_locale/codecvt.html: New file. In progress.
1246 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1248 * acconfig.h: Revert.
1249 * acinclude.m4: Revert.
1250 * libio/_G_config.h: Revert.
1251 * libio/libio.h: Revert.
1253 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1255 * bits/codecvt.h: Tweaks.
1256 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1257 initial string literals for UCS4.
1259 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1261 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1262 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1263 definition as well, and some minor spelling/spacing fixes. If
1264 building libio, check for certain typedefs.
1265 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1266 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1267 will never be there.
1268 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1269 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1271 * configure.in: Update the cache a bit more often.
1273 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1275 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1277 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1278 __enc_traits> instantiations for has_facet and use_facet.
1279 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1280 testing two-byte unicode encodings converted to four-byte UCS4
1283 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1284 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1285 correct state/encoding information.
1287 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1288 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1290 Add checks for langinfo.h, nl_langinfo function call.
1291 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1293 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1295 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1296 ((unused)) to __attribute__ ((__unused__)).
1297 * config/cpu/arm/bits/atomicity.h: Same.
1298 * config/cpu/generic/bits/atomicity.h: Same.
1299 * config/cpu/i386/bits/atomicity.h: Same.
1300 * config/cpu/i486/bits/atomicity.h: Same.
1301 * config/cpu/powerpc/bits/atomicity.h: Same.
1302 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1303 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1305 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
1307 * bits/basic_string.h: Fix up parameter names.
1309 2000-08-22 Brent Verner <brent@rcfile.org>
1311 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1313 * src/Makefile.in: Regenerate.
1315 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1317 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1318 up __enc_traits template so as to be marginally useful.
1319 * src/codecvt.cc: And here.
1320 * bits/char_traits: Tweak.
1321 * bits/locale_facets.h: Tweak.
1322 * bits/locale_facets.tcc: Tweak.
1323 * bits/localefwd.h: Tweak.
1324 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1325 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1326 * testsuite/22_locale/codecvt_char_char.cc: New file.
1327 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1329 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1331 * bits/std_cmath.h (std::abs): Overload for int and long.
1333 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1335 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1337 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1339 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1340 thinko. Diagnostic messages really need to be improved for
1341 template argument deduction.
1343 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1345 * bits/valarray_meta.h: Fix typos...
1347 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1349 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1350 _Expr<>::apply): Implement.
1352 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1354 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1356 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1359 2000-08-17 Mark Mitchell <mark@codesourcery.com>
1361 * bits/localefwd.h (std::locale): Use explicit `class' specified
1362 when declaring friends.
1363 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1365 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
1367 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1368 * src/Makefile.in: Regenerate.
1370 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1372 * bits/codecvt.h: New file.
1373 * src/codecvt.cc: New file.
1374 * bits/std_locale.h: Add include here.
1375 * src/Makefile.am (headers): Add codecvt.h
1376 (sources): Add codecvt.cc.
1377 * src/Makefile.in: Regenerate.
1378 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1379 __codecvt_abstract_base in an attempt to point some light this way...
1380 Move __enc_traits and codecvt bits to codecvt.h.
1381 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1382 explicit instantiation. Separate out codecvt instantations, simplify.
1383 * src/locale.cc: Move codecvt bits to codecvt.cc
1385 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
1387 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1388 * src/Makefile.in: Regenerate.
1390 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1392 C/C++ io merge/sync.
1403 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1404 ((struct _IO_FILE_plus *) in ctors.
1405 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1406 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1407 * libio/cleanup.c: Remove.
1408 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1409 _IO_cleanup_registration_needed, even if not libc.
1411 * testsuite/27_io/stringstream.cc (test02): Fix.
1413 2000-08-14 Brent Verner <brent@rcfile.org>
1415 * testsuite/debug_assert.h: new file
1416 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1417 changed conditional #include <c?assert.?h?> to
1418 unconditional #include <debug_assert.h>
1419 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1420 for testsuite compile command.
1422 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1424 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1425 wofstream, filebuf, wfilebuf, fstream, wfstream.
1426 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1427 * bits/std_sstream.h: Same for stringstream and wstringstream.
1428 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1429 ostringstream, wostringstream.
1431 * testsuite/26_numerics/valarray.cc: Add test.
1433 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1435 * configure: Regenerate after change to ../libtool.m4.
1437 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1439 * bits/locale_facets.tcc: Formatting tweaks.
1440 * bits/locale_facets.h (__enc_traits): Start integrating this
1441 into codecvt, ctype. Formatting tweaks.
1443 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1445 Preliminary wchar_t implementation, with trivial encodings.
1446 * docs/configopts.html: Add bits about canonical configure option
1449 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1450 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1451 * testsuite/27_io/narrow_stream_objects.cc: New file.
1452 * testsuite/27_io/wide_stream_objects.cc: New file.
1454 * bits/fstream.tcc (underflow): Temporarily hack a solution
1455 together that writes from the external file to the internal
1456 buffers. This removes codecvt from the loop, and is incorrect.
1457 (_M_really_overflow): Same here.
1459 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1461 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1462 Ulrich Drepper <drepper@cygnus.com>
1464 * config/c_io_libio.h: Tweak.
1465 * config/c_io_libio_codecvt.c: New file.
1466 * libio/Makefile.am: Add c_codecvt.c.
1467 * libio/Makefile.in: Regenerate.
1468 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1469 stream is not orientated.
1471 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1472 encoding gets fleshed out.
1474 * bits/basic_file.h: Add specialization declarations.
1475 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1477 * config/c_io_libio.h: Add __c_wfile_type.
1478 * bits/basic_file.h: Add _M_wfile.
1480 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1481 streams without setting the orientation of the underlying FILE to
1482 either wide or narrow.
1483 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1485 2000-08-07 Felix Natter <fnatter@gmx.net>
1487 * docs/17_intro/porting-howto.html: New version.
1489 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1491 * bits/locale_facets.h (ctype::ctype): Don't name unused
1494 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1496 * docs/install.html: Edit bits about requiring a special version
1499 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1501 * libio/fileops.cc: Update to current glibc sources.
1502 * libio/genops.c: Same.
1503 * libio/iofwide.c: Same.
1504 * libio/libio.h: Same.
1505 * libio/libioP.h: Same.
1506 * libio/wfiledoalloc.c: Same.
1507 * libio/wgenops.c: Same.
1509 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1511 * acinclude.m4: Include ../libtool.m4.
1512 * aclocal.m4, configure: Rebuilt.
1514 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1516 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1517 before trying to use any of its options.
1518 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1519 * aclocal.m4: Regenerate.
1520 * configure.in: Having found GNU make, name it.
1521 * configure: Regenerate.
1522 * docs/install.html: Mention possible problems with caching.
1523 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1524 * src/Makefile.in: Regenerate.
1525 * libio/Makefile.in: Regenerate.
1526 * math/Makefile.in: Regenerate.
1527 * Makefile.in: Regenerate.
1529 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1531 * src/misc-inst.cc (std): Remove instantiations.
1533 * acinclude.m4: Add forward-looking bits for autoconf.
1534 * aclocal.m4: Regenerate.
1536 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1538 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1540 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1541 it back for current versions of maintainer-tools...
1542 * acinclude.m4: Some cleanups...
1543 * aclocal: Regenerated.
1544 * configure: Regenerated.
1546 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1547 optimizing/adapting the hash table using GNU ld.
1548 * src/Makefile.in: Regenerate.
1550 2000-07-24 H.J. Lu <hjl@gnu.org>
1552 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1553 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1554 files don't include private libio header files needed by
1556 * src/Makefile.in: Rebuild.
1558 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1560 * bits/std_fstream.h: Parameterize __basic_file.
1561 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1562 * bits/basic_file.h: Same here.
1564 * bits/istream.tcc (getline): Tweaks.
1566 * bits/fstream.tcc: Shorten __retval to __ret.
1567 * bits/ostream.tcc: Same.
1568 * bits/sbuf_iter.h: Same.
1569 * bits/sstream.tcc: Same.
1570 * bits/streambuf.tcc: Same.
1571 * bits/std_fstream.h: Same.
1572 * src/string-inst.cc: Same.
1574 * config/c_io_libio.cc: Same.
1575 * bits/string.tcc: Same.
1576 * bits/std_streambuf.h: Same.
1578 2000-07-23 Brent Verner <brent@rcfile.org>
1580 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1581 char_type) make compliant
1582 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1584 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1586 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1587 and srcdir used to define CSHADOW_INCLUDES..
1589 * configure.in: For consistency, change .sanity_warned to
1590 stamp-sanity-warned.
1592 * acinclude.m4: Tweak formatting.
1593 * Makefile.am (check): Call mkcheck with full pathname for build
1595 (check-install): And here.
1596 * Makefile.in: Regenerate.
1598 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1600 Line up with libstdc++-v2 version of valarray.
1601 * bits/valarray_array.h (__valarray_product): Make inline.
1602 * src/valarray-inst.cc (__valarray_product): Remove explicit
1605 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1607 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1610 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1611 Change return type to void.
1612 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1613 * testsuite/17_intro/header_ciso646.cc: Modify.
1614 * bits/locale_facets.h: Add return values for the generic cases.
1616 2000-07-21 H.J. Lu (hjl@gnu.org)
1618 * acinclude.m4: Include <features.h> for glibc testing.
1619 * aclocal.m4: Likewise.
1621 * configure: Rebuild.
1623 2000-07-20 H.J. Lu (hjl@gnu.org)
1625 * acinclude.m4: Change "#pragma system_header" to
1626 "#pragma GCC system_header".
1627 * aclocal.m4: Likewise.
1628 * bits/std_cmath.h: Likewise.
1629 * bits/std_cassert.h: Likewise.
1630 * bits/std_cctype.h: Likewise.
1631 * bits/std_cerrno.h: Likewise.
1632 * bits/std_cfloat.h: Likewise.
1633 * bits/std_climits.h: Likewise.
1634 * bits/std_clocale.h: Likewise.
1635 * bits/std_cwchar.h: Likewise.
1636 * bits/std_csetjmp.h: Likewise.
1637 * bits/std_csignal.h: Likewise.
1638 * bits/std_cstdarg.h: Likewise.
1639 * bits/std_cstddef.h: Likewise.
1640 * bits/std_cstdio.h: Likewise.
1641 * bits/std_cstdlib.h: Likewise.
1642 * bits/std_cstring.h: Likewise.
1643 * bits/std_ctime.h: Likewise.
1644 * bits/std_cwctype.h: Likewise.
1645 * bits/std_exception.h: Likewise.
1646 * bits/std_new.h: Likewise.
1647 * bits/std_typeinfo.h: Likewise.
1648 * shadow/bits/std_cassert.h: Likewise.
1649 * shadow/bits/std_cctype.h: Likewise.
1650 * shadow/bits/std_cerrno.h: Likewise.
1651 * shadow/bits/std_cfloat.h: Likewise.
1652 * shadow/bits/std_climits.h: Likewise.
1653 * shadow/bits/std_clocale.h: Likewise.
1654 * shadow/bits/std_cmath.h: Likewise.
1655 * shadow/bits/std_csetjmp.h: Likewise.
1656 * shadow/bits/std_csignal.h: Likewise.
1657 * shadow/bits/std_cstdarg.h: Likewise.
1658 * shadow/bits/std_cstddef.h: Likewise.
1659 * shadow/bits/std_cstdio.h: Likewise.
1660 * shadow/bits/std_cstdlib.h: Likewise.
1661 * shadow/bits/std_cstring.h: Likewise.
1662 * shadow/bits/std_ctime.h: Likewise.
1663 * shadow/bits/std_cwchar.h: Likewise.
1664 * shadow/bits/std_cwctype.h: Likewise.
1665 * shadow/bits/wrap_libio.h: Likewise.
1666 * shadow/bits/wrap_unistd.h: Likewise.
1667 * shadow/sys/cdefs.h: Likewise.
1669 * configure: Rebuild.
1671 2000-07-20 Jakub Jelinek <jakub@redhat.com>
1673 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
1674 Use extended word instructions to match 64bit _Atomic_word.
1675 (__atomic_add): Likewise.
1676 * math/clog10l.c (clog10l): Use M_PIl if defined.
1677 * math/c_logl.c (c_logl): Likewise.
1678 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
1679 * math/mathconf.h (ieee_quad_double_shape_type): New type.
1680 (GET_LDOUBLE_MSW64): New define.
1682 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
1684 * bits/std_streambuf.h: Add bits for pback buffers here, so that
1685 in_avail, etc can use them.
1686 * bits/std_fstream.h: Ditto.
1687 * bits/fstream.tcc: Ditto.
1688 * testsuite/27_io/filebuf.cc: Tweaks.
1689 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
1691 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
1693 * src/localename.cc: Same.
1694 * src/locale.cc: Same.
1695 * bits/localefwd.h: _M_init_facet to _M_facet_init.
1697 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
1699 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
1701 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
1702 * bits/std_fstream.h: Same.
1704 * bits/basic_string.h: Tweaks.
1706 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
1708 * docs/18_support/howto.html: Update.
1710 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1712 Internal consistency checks.....
1713 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
1716 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
1717 * bits/basic_ios.tcc: Same.
1719 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
1720 Change _M_fctype_buf to _M_buf_fctype.
1721 * bits/fstream.tcc: Same.
1723 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
1724 Change _M_locale_set to _M_buf_locale_init.
1725 * bits/streambuf.tcc: Same.
1726 * bits/sstream.tcc: Same.
1727 * bits/fstream.tcc: Same.
1729 * bits/std_streambuf.h: Make typedefs consistent.
1730 (_M_buf_bump): Be more careful with input sequence.
1732 * bits/std_sstream.h: Same.
1733 * bits/std_fstream.h: Same.
1735 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1737 * acinclude.m4: Tweaks.
1738 * config/c_io_libio.cc: Tweaks.
1739 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
1740 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
1741 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
1742 * libio/iofclose.c iofopen.c, stdio.c: New files.
1743 * libio/Makefile.am: Add files, add flags, etc.
1744 * src/Makefile.am (sources): Add filebuf.cc.
1745 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
1746 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
1748 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
1750 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
1751 * configure.in: Use it. Also print reminders one time.
1752 * aclocal.m4: Regenerate.
1753 * configure: Regenerate.
1755 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
1757 * bits/valarray_array.h (__valarray_get_storage): New function.
1758 (_Array<>::Array): Use it.
1759 * bits/std_valarray.h (valarray<>::valarray): Likewise.
1760 (valarray<>::resize): Likewise. Tweak.
1761 * src/valarray-inst.cc (__valarray_product): Tweak.
1763 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
1765 * docs: Update sourceware->sources in every HTML file. Minor updates.
1767 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
1769 Clean up configure/build longstanding issues.
1770 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
1771 (CXXLINK): Add here, instead.
1773 * Makefile.am (check-install): Make sure mkcheck has execute privs.
1775 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
1777 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
1778 c_io_libio.cc instead of copying.
1779 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
1781 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
1782 c++threads.h instead of copying.
1783 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
1786 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
1787 * bits/basic_file.h: Declare.
1789 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
1791 2000-07-07 brent verner <brent@rcfile.org>
1793 * testsuite/27_io/istream_unformatted.cc (test05): New test.
1795 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
1797 * bits/istream.tcc (istream::getline): Minor tweaks.
1799 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
1801 * docs/download.html: Mention gcc_update.
1802 * docs/configopts.html: Minor updates.
1803 * docs/gccrebuild.html: Ditto.
1804 * docs/18_support/howto.html: More tips, explanations, and reminders.
1805 * docs/19_diagnostics/howto.html: Ditto.
1806 * docs/21_strings/howto.html: Ditto.
1807 * docs/24_iterators/howto.html: Ditto.
1808 * docs/25_algorithms/howto.html: Ditto.
1809 * docs/26_numerics/howto.html: Ditto.
1811 2000-07-05 brent verner <brent@rcfile.org>
1813 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
1814 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
1815 * config/c_io_libio.cc (__basic_file::open): Unset
1816 ~_IO_DELETE_DONT_CLOSE.
1818 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
1820 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
1821 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
1822 Do not paste anything after 'operator' keyword.
1824 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1826 * bits/std_memory.h: Revert.
1828 2000-07-03 Brendan Kehoe <brendan@zen.org>
1830 * bits/std_complex.h: Fix parens. Format.
1832 2000-07-03 scott snyder <snyder@fnal.gov>
1834 * bits/locale_facets.tcc (_M_extract): Only figure out the base
1835 from the input if base == 0.
1836 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
1837 number with a leading `0' in hex mode.
1839 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
1841 * mkinclosure: Change `==' to `=' in test.
1843 2000-07-03 Chip Salzenberg <chip@valinux.com>
1845 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
1847 * src/Makefile.in: Regenerate.
1849 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1850 Ulrich Drepper <drepper@purist.soma.redhat.com>
1852 Sync libio to glibc-2.2 current CVS.
1853 * libio/_G_config.h: New file.
1854 * libio/wfileops.c: New file.
1855 * libio/wfiledoalloc.c: New file.
1856 * libio/wgenops.c: New file.
1857 * libio/iofwide.c: New file.
1858 * libio/Makefile.am: Tweaks.
1859 * libio/Makefile.in: Regenerate.
1860 * libio/gen-params: Remove. Generic replacement for this yet undone.
1861 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
1862 libioP.h, stdfiles.c]: Update.
1863 * config/c_io_libio.cc: Tweaks.
1864 * acinclude.m4: Complete hacks to test wide io.
1865 * aclocal.m4: Regenerate.
1866 * configure: Regenerate.
1867 * src/Makefile.am: Update.
1868 * src/Makefile.in: Regenerate.
1870 * math/cargl.c: Remove underscores.
1872 * bits/locale_facets.h: Tweaks. Start adding iconv details
1874 * bits/locale_facets.tcc: Tweaks.
1875 * bits/std_cwchar.h: Tweaks.
1877 2000-06-29 scott snyder <snyder@fnal.gov>
1879 * bits/concept_checks.h
1880 (__less_then_comparable_requirement_violation): Only check for <.
1881 * testsuite/25_algorithms/lower_bound.cc: New file.
1883 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1885 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
1886 * bits/ostream.tcc: Tweak.
1887 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
1888 _M_buf_size_opt too.
1889 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
1890 out _M_buf_size_opt.
1891 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
1892 _M_buf_size_opt out here.
1893 * bits/char_traits.h (char_traits::eos): Non standard member
1894 function, uglify to __eos. Return char_type().
1895 * bits/std_ostream.h: Change.
1897 * testsuite/27_io/ostream_seeks.cc: New file.
1898 * testsuite/27_io/ostream_seeks-1.tst: New file.
1899 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
1901 * testsuite/27_io/istream_seeks.cc: New file.
1903 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
1905 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
1906 _GLIBCPP_RESOLVE_LIB_DEFECTS.
1907 (auto_ptr): _M_ptr changed to void*.
1908 (suto_ptr::get): Cast _M_ptr to element type.
1909 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
1910 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
1911 (auto_ptr::operator*): Likewise.
1912 (auto_ptr::operator->): Likewise.
1913 (auto_ptr::release): Likewise.
1914 (auto_ptr::reset): Likewise.
1915 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
1916 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
1917 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
1918 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
1920 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1922 * testsuite/27_io/filebuf.cc: Tweak.
1923 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
1924 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
1926 (__basic_file::basic_file): Clean, add calls similar to
1928 (__basic_file::open): Clean.
1929 (__basic_file::sys_open): Clean.
1931 * bits/std_fstream.h: Revert.
1932 * bits/fstream.tcc (filebuf::close()): Revert.
1933 (filebuf::basic_filebuf()): Revert.
1935 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1937 Update to SGI STL 3.3
1938 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
1939 ext/stl_rope.h, ext/ropeimpl.h: Update.
1940 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
1941 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
1942 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
1943 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
1944 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
1945 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
1946 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
1947 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
1948 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
1950 * src/Makefile.am (headers): Add new files.
1951 * src/Makefile.in: Regenerate.
1952 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
1953 * bits/concept_checks.h: New file.
1954 * bits/container_concepts.h: New file.
1955 * bits/sequence_concepts.h: New file.
1957 2000-06-27 H.J. Lu <hjl@gnu.org>
1958 Loren J. Rittle <ljrittle@acm.org>
1960 * mkcheck.in: Add support to print standard flags needed to
1961 test g++ in build tree. Enhance command line error checking.
1963 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
1965 * docs/install.html: Fix minor typo as reported.
1967 2000-06-26 Brent Verner <brent@rcfile.org>
1969 * bits/string.tcc (string::rfind): Fix.
1970 * testsuite/21_strings/rfind.cc: New file.
1972 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
1974 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
1976 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
1978 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
1980 * mkcheck.in: Make the *.txt and *.tst files writable after
1981 copying them to $TEST_DIR.
1983 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
1984 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
1985 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
1987 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1989 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
1990 (basic_filebuf::close): Use it.
1991 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
1993 (basic_filebuf): Add _M_fileno_based data member.
1994 As reported by brent verner <brent@rcfile.org>
1995 * testsuite/27_io/filebuf_members.cc: New file.
1996 * testsuite/27_io/filebuf_members-1.tst: New file.
1998 * bits/std_fstream.h: Formatting tweaks.
1999 * testsuite/27_io/ofstream_members.cc: New file.
2000 * testsuite/27_io/ofstream_members-1.tst: New file.
2001 * testsuite/27_io/ifstream_members.cc: New file.
2002 * testsuite/27_io/ifstream_members-1.tst: New file.
2004 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2005 Ulrich Drepper <drepper@cygnus.com>
2007 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2008 that all the freaky stuff like sincos will be around...
2010 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
2012 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2014 2000-06-22 Steven King <sxking@uswest.net>
2016 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2018 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2020 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2021 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2022 link against libm and don't use -fno-builtins...
2023 * math/mathconf.h: Change up builtin macros to new schema.
2024 * bits/std_cmath.h: And here. Wheee!
2025 * shadow/bits/std_cmath.h: And here.
2026 * acconfig.h: Change up builtin macros here.
2027 * math/cosf.c: Remove.
2028 * math/fabsf.c: Likewise.
2029 * math/sinf.c: Likewise.
2030 * math/sqrtf.c: Likewise.
2031 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2032 * math/Makefile.in: Regenerate.
2034 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2036 * testsuite/21_strings/find.cc: Patch.
2038 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2040 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2041 an easy way to get at g++ without having to link in libstdc++.
2043 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2045 Fix alpha, powerpc build failures.
2046 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2047 re-write. Need to check for both proper declaration when using a
2048 c++ compiler, and "C" linkage when linking. Do both, and if both
2049 exist, then define the HAVE_* bits in config.h.
2050 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2051 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2054 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2056 * bits/string.tcc: Fix find.
2057 * testsuite/21_strings/find.cc: Patch.
2059 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2061 * docs/install.html: Update where to get automake, where to get
2063 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2066 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2068 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2069 Add -Werror-implicit-function-declaration instead.
2071 Regenerate with fixed maintainer-tools.
2072 * aclocal.m4: Regenerate.
2073 * configure: Regenerate.
2074 * libio/Makefile.in: Regenerate.
2075 * src/Makefile.in: Regenerate.
2077 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2079 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2080 * bits/locale_factets.tcc: Tweak.
2082 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2084 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2085 be overridden on the command line for individual files.
2087 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2089 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
2090 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
2091 building. Use -x c++ instead, which does not attempt to link
2094 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2095 not coring when we hit a try/throw block, which was the problem
2096 with the linker support...
2098 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2100 * docs/documentation.html: Rename link to make more accurate and scary.
2101 * docs/gccrebuild.html: Edit for clarity as these are no longer
2103 * docs/install.html: Add bits about binutils for
2104 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2106 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2107 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2108 USE_COMPLEX_LONG_DOUBLE.
2109 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2110 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2111 Works around irregularies in powerpc "C" compiler, but a good idea
2114 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2115 New. Merge both old compiler bug checks for complex into this.
2117 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2119 * testsuite/21_strings/find.cc: Empty strings can be found at all
2120 positions. Modified.
2122 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
2124 * testsuite/20_utilities: New directory.
2125 * testsuite/20_utilities/auto_ptr.cc: New file.
2127 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2129 * src/Makefile.am (string_sources): Simplify, assuming that with
2130 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2131 hacking is not necessary.
2132 (wstring_sources): Same.
2133 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2135 * src/string-inst.cc: Remove macro blocks.
2136 * mkcheck.in (CXX_FLAG): Add bits here.
2138 * src/string-inst.cc: Remove iostream-related string instantiations.
2139 * src/misc-inst.cc: Add here.
2141 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2143 * aclocal.m4: Regenerate.
2144 * configure.in: Change up.
2145 * configure: Regenerate.
2147 2000-06-13 Steven King <sxking@uswest.net>
2149 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2150 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2151 * acconfig.h: Add entries for fmod*.
2153 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
2155 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2156 Test *_MODFF not *_MODF for modf(float, float*).
2157 (modf(float, float*)): Remove reference to _C_legacy.
2159 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2161 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2162 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2163 superset, and already defined at top level.
2164 * aclocal.m4: Regenerate.
2165 * configure: Regenerate.
2167 * docs/17_intro/contribute.html: Plead with people to use -cp.
2169 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2171 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2173 * testsuite/27_io/filebuf.cc: Changed calls to
2174 fpos<>._M_position() to implicit calls to operator streamoff().
2175 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2176 as not needed. Revert, as part of standard.
2177 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2178 call to numpunct<>._M_init() with overrides of the appropriate
2181 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2182 pointers from test01, so no need to call base(), which isn't
2183 guaranteed to be implemented as iterators may themselves be pointers
2184 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2185 _M_position() - use implicit conversion to streamoff instead
2187 2000-06-13 Thomas Holenstein <thomas@hex.ch>
2189 * bits/stl_iterator.h: Added inline to operators == to >=.
2191 2000-06-13 Brent Verner <brent@rcfile.org>
2193 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2194 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2196 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2198 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2200 * src/locale.cc: Add cwchar include here. Remove incorrect
2201 definitions, and stub them out.
2202 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2203 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2204 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2205 * config/newlib/ctype.cc: Same.
2206 * config/gnu-linux/ctype.cc: Same.
2207 * config/bsd/ctype.cc: Same.
2208 * config/aix/ctype.cc: Same.
2210 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
2212 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2213 towupper and towlower to convert wide characters.
2215 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2217 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2219 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
2221 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2222 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2223 * aclocal.m4: Regenerate.
2224 * configure: Regenerate.
2225 * math/cosf.c: New file.
2226 * math/fabsf.c: Likewise.
2227 * math/sinf.c: Likewise.
2228 * math/sqrtf.c: Likewise.
2229 * math/Makefile.am (EXTRA_DIST): Add those four files.
2230 * math/Makefile.in: Regenerate.
2232 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2234 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2236 2000-06-06 Steven King <sxking@uswest.net>
2238 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2239 double and long double. Added defines for HAVE libm math functs for
2240 float and long double.
2241 * aclocal.m4: Added configure checks for builtin math funcs and libm
2242 support for float and long double versions of the math functions.
2243 * config.h.in: Added undefs for math functs.
2244 * configure: Regenerate.
2245 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2246 _GLIBCPP_HAVE_BUILTIN_*.
2247 * bits/std_cmath.h: Added long double support. Use builtins for
2248 float, double and long if available, otherwise, use libm versions if
2249 availible, otherwise, punt.
2250 * shadow/bits/std_cmath.h: ditto
2252 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2254 * bits/locale_facets.h: Tweak.
2255 * src/locale.cc (codecvt<wchar_t>): Tweak.
2257 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2258 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2260 * bits/basic_string.h: Move data member up.
2261 * src/string-inst.cc: Fix instantiations.
2262 * bits/string.tcc: Fix types.
2264 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2266 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2268 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2270 * bits/std_cwctype.h: Clean.
2271 * bits/std_cwchar.h: Clean, remove cruft.
2273 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2274 for beginning iconv support.
2275 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2277 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2278 * bits/limits_generic.h: Remove.
2279 * src/gen-num-limits.cc: Same.
2281 * src/locale.cc: Tweaks.
2283 * bits/char_traits.h: Tweaks.
2285 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2287 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2288 exponent, scientific formatting issues.
2289 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2291 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
2293 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2294 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2296 2000-05-31 Nathan Myers <ncm@cantrip.org>
2298 * docs/thanks.html: edit own credits
2300 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2302 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2304 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2306 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2308 2000-05-31 Steven King <sxking@uswest.net>
2310 * shadow/time.h: fix typo
2311 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2312 * shadow/bits/std_cwchar.h: ditto
2313 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2316 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2318 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2319 available, force --disable. Need to flesh this out; make smarter.
2320 * aclocal.m4: Regenerate.
2321 * configure: Regenerate.
2323 * mkcheck.in: Minor tweaks.
2324 * docs/download.html: Fix typo.
2326 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2328 * inclosure: Change to...
2329 * mkinclosure: This.
2331 * mkcshadow: Fix paths to bash.
2333 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2334 * src/Makefile.in: Regnerate.
2335 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2336 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2337 * aclocal.m4: Regenerate.
2338 * mkcheck.in (INC_PATH): Tweak.
2340 * configure.in: Enable long long by default.
2341 * configure: Regenerate.
2343 * mkcheck.in (LIB_PATH): Revert.
2345 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2347 * config/cpu/i486: New directory.
2348 * config/cpu/i486/bits: New directory.
2349 * config/cpu/i486/bits/atomicity.h: New file.
2350 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2352 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2354 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
2356 * backward/alloc.h (__default_alloc_template): Only expose
2357 implementation-specific symbol, if it exists in the
2359 * backward/iostream.h (ends): Expose symbol.
2360 * backward/strstream.h: New file.
2361 * backward/stream.h: New file.
2362 * backward/ostream.h: New file.
2363 * backward/istream.h: New file.
2364 * backward/fstream.h: New file.
2365 * backward/complex.h: New file.
2366 * backward/iomanip.h: New file.
2368 * mkcheck.in (LIB_PATH): Add -R bits.
2370 * math/carg.c (carg): Replace __atan2 with atan2.
2372 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2374 * Makefile.am (TAGS): Construct.
2375 * Makefile.in: Rengerate.
2376 * src/Makefile.am: Tweak.
2377 * src/Makefile.in: Tweak.
2378 * configure.in: Tweak.
2380 * bits/c++config.h: Rename to ...
2381 * bits/c++config: This.
2382 * mkc++config: Adjust.
2385 * m4/lc_message.m4: Merge into acinclude.m4.
2386 * m4/mathfcts.m4: Same.
2387 * m4/stringfcts.m4: Same.
2388 * acinclude.m4: Add here.
2389 * configure: Regnerate.
2391 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2392 OPTLEVEL. Add FMTFLAGS.
2393 * aclocal.m4: Regenerate.
2394 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2395 been disabled due to higher-level Makefiles running amuck over
2396 this bit, and add in FMTFLAGS so that formatting is clear.
2397 * src/Makefile.in: Regenerate.
2398 * configure: Regenerate.
2400 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2403 * docs/download.html: Remove references to Cygwin-specific bits,
2404 as this can now be built natively.
2405 Update with current information.
2407 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2409 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2410 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2411 enclose other tests in this macro, including future ones.
2412 * aclocal.m4: Regenerate.
2413 * configure: Regenerate.
2415 * docs/faq/index.html: Update location of libg++ FAQ.
2416 * docs/faq/index.txt: Regenerate.
2418 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2420 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2422 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2424 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2426 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2428 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2429 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2430 * aclocal.m4: Regenerate.
2431 * configure: Regenerate.
2433 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2435 * bits/generic_shadow.h: s/swamp/legacy/
2437 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2439 * acinclude.m4: Clean up comments on newer checks.
2440 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2441 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2442 * aclocal.m4: Regenerate.
2443 * configure: Regenerate.
2444 * Makefile.in: Regenerate.
2445 * libio/Makefile.in: Regenerate.
2446 * math/Makefile.in: Regenerate.
2447 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2448 * src/Makefile.in: Regenerate.
2449 * docs/configopts.html: Document changes to --enable names.
2451 2000-05-18 Chip Salzenberg <chip@valinux.com>
2453 * bits/ostream.tcc (_S_pad_char): Function template should not be
2455 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2456 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2458 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2460 * mkcshadow: Change C_Swamp to C_legacy.
2462 * shadow/bits/*: Same.
2463 s/C_Swamp/C_legacy/g
2467 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2469 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2471 * src/string-inst.cc (string::_S_find): Same.
2473 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2475 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2476 --enable-cshadow-headers. Add output messages.
2477 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2478 underscores (like the rest of the enable options.) Add output messages.
2479 * aclocal.m4: Regenerate.
2480 * configure: Regenerate.
2481 * configure.in: Touch.
2483 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2485 * mkcheck.in: Enable shared library testing.
2487 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2489 * bits/std_cmath.h: fix sqrt(float)
2491 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2493 * bits/std_cassert.h: Use system_header pragma.
2494 * bits/std_cctype.h: Likewise.
2495 * bits/std_cerrno.h: Likewise.
2496 * bits/std_cfloat.h: Likewise.
2497 * bits/std_climits.h: Likewise.
2498 * bits/std_clocale.h: Likewise.
2499 * bits/std_cmath.h: Likewise.
2500 * bits/std_csetjmp.h: Likewise.
2501 * bits/std_csignal.h: Likewise.
2502 * bits/std_cstdarg.h: Likewise.
2503 * bits/std_cstddef.h: Likewise.
2504 * bits/std_cstdio.h: Likewise.
2505 * bits/std_cstdlib.h: Likewise.
2506 * bits/std_cstring.h: Likewise.
2507 * bits/std_ctime.h: Likewise.
2508 * bits/std_cwchar.h: Likewise.
2509 * bits/std_cwctype.h: Likewise.
2510 * bits/std_exception.h: Likewise.
2511 * bits/std_new.h: Likewise.
2512 * bits/std_typeinfo.h: Likewise.
2513 * shadow/bits/std_cassert.h: Likewise.
2514 * shadow/bits/std_cctype.h: Likewise.
2515 * shadow/bits/std_cerrno.h: Likewise.
2516 * shadow/bits/std_cfloat.h: Likewise.
2517 * shadow/bits/std_climits.h: Likewise.
2518 * shadow/bits/std_clocale.h: Likewise.
2519 * shadow/bits/std_cmath.h: Likewise.
2520 * shadow/bits/std_csetjmp.h: Likewise.
2521 * shadow/bits/std_csignal.h: Likewise.
2522 * shadow/bits/std_cstdarg.h: Likewise.
2523 * shadow/bits/std_cstddef.h: Likewise.
2524 * shadow/bits/std_cstdio.h: Likewise.
2525 * shadow/bits/std_cstdlib.h: Likewise.
2526 * shadow/bits/std_cstring.h: Likewise.
2527 * shadow/bits/std_ctime.h: Likewise.
2528 * shadow/bits/std_cwchar.h: Likewise.
2529 * shadow/bits/std_cwctype.h: Likewise.
2530 * shadow/bits/wrap_libio.h: Likewise.
2531 * shadow/bits/wrap_unistd.h: Likewise.
2532 * shadow/sys/cdefs.h: Likewise.
2534 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2536 It appears that gcc-2.96 supports the keyword "and" now.
2537 * bits/std_ciso646.h: remove.
2539 * testsuite/17_intro/header_ciso646.c: enable testing.
2540 * src/Makefile.am, src/Makefile.in: remove mention of
2543 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2545 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2547 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2549 * acinclude.m4: Fix typo, switch to decaf...
2550 * aclocal.m4: Regenerate.
2551 * configure: Regenerate.
2553 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2555 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2556 * aclocal.m4: Regenerate.
2557 * configure.in: Call.
2558 * configure: Regenerate.
2559 * docs/configopts.html: Stub documentation.
2561 2000-05-14 Nathan Myers <ncm@cantrip.org>
2563 * mkcshadow: build in more-correct directory, create cshadow/
2564 directory if needed, report progress.
2566 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2568 * src/Makefile.am: Fix tr commands.
2569 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2570 * src/string-inst.cc: Remove extra instantiation of
2571 S::basic_string(S::size_type, C, S::allocator_type const&);
2572 * src/string-inst.cc: Remove extra template keyword.
2574 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2576 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2577 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2578 * aclocal.m4: Regenerate.
2579 * configure: Regenerate.
2580 * */Makefile.in: Regenerate.
2582 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2584 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2585 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2586 * aclocal.m4: Regenerate.
2587 * configure.in: Non-blank arguments break fewer Linuxes.
2588 * configure: Regenerate.
2589 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2590 * src/Makefile.in: Regenerate.
2592 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2594 * bits/std_cmath.h: Tweaks.
2595 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2596 (sqrtf): Define away iff !builtin and !in <math.h>.
2600 At some point this directory should be converted to c++, the
2601 autoconf tests should be run by the c++ compiler (not c), and
2602 <cmath> should be used instead of math.h.
2603 Move declaration of nan() here.
2604 * math/complex-stub.h (cabsl): Remove nan() declaration.
2606 Finish up FreeBSD4.0 support.
2607 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2608 * config/generic/ctype.cc: And here.
2609 * testsuite/21_strings/char_traits.cc (test02): Guard with
2610 _GLIBCPP_USE_WCHAR_T.
2612 via Phil Edwards <pme@sourceware.cygnus.com>
2613 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2614 * acconfig.h: And here.
2615 * acinclude.m4: Same.
2616 * testsuite/27_io/istream.cc: And here.
2617 * testsuite/27_io/ostream.cc: And here.
2619 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2621 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2623 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2625 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
2628 * config/bsd: New directory.
2629 * config/bsd/ctype.cc: New.
2630 * config/bsd/bits/ctype_base.h (ctype_base): New.
2631 * config/bsd/bits/ctype_specializations.h: New.
2632 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
2634 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
2636 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
2637 * configure.in: Call.
2638 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
2639 * aclocal.m4: Regenerate.
2641 * src/Makefile.in: Ditto.
2642 * docs/configopts.html: Document.
2643 * docs/download.html: Fix typo (close quote).
2644 * docs/footer.html: Update.
2646 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
2648 * backward/iostream.h: Expose endl. Guard wide types.
2649 * src/Makefile.am (headers): Update list to match files.
2650 * src/Makefile.in: Regenerate.
2652 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
2653 Benjamin Kosnik <bkoz@gnu.org>
2654 Nathan Myers <ncm@cantrip.org>
2655 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
2657 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
2658 (basic_streambuf::xsputn): Make consistent.
2659 * testsuite/27_io/filebuf.cc: Add tests.
2661 2000-05-08 Steven King <sxking@uswest.net>
2663 * bits/char_traits.h: Use wchar_t utility functions for
2664 char_traits<wchar_t> methods.
2665 * testsuite/21_string/char_traits.cc: New (test02): test
2666 char_traits<wchar_t>
2668 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
2670 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
2672 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
2673 _M_buf_size based on macro, instead use _M_buf_size_opt.
2674 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
2675 (basic_streambuf()): Set _M_buf_size_opt.
2676 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
2677 instead of _M_buf_size.
2679 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
2681 * src/complex_io.cc: Don't instantiate inserters and extractors
2682 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2684 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
2685 Felix Natter <fnatter@gmx.net>
2687 * docs/footer.html: Update to see if it takes effect.
2688 * docs/thanks.html: More people.
2689 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
2690 be seen from the web pages. Rename for browser-friendliness...
2691 * docs/17_intro/howto.html: ...and update here.
2692 * docs/17_intro/porting-howto.html: Changes from Felix.
2693 * docs/gccrebuild.html: Mention v3->egcs move.
2694 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
2695 * docs/faq/index.txt: Regenerate.
2697 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
2699 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
2702 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
2704 * bits/char_traits.h: Fix parameter types.
2705 * bits/string.tcc: Avoid traits_type::move.
2707 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
2709 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
2710 * src/Makefile.in: Regenerate.
2711 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
2713 2000-04-30 Steven King <sxking@uswest.net>
2715 * bits/locale_facets.h: Fix syntax error.
2716 * bits/std_fstream.h: ditto
2718 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
2720 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
2722 * mknumeric_limits (trait_name): Fix copyright notice.
2723 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
2724 round_error data members of struct value. This works around
2725 weak-linking issues on AIX, HPUX.
2727 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
2729 * docs/download.html: Add link to list of mirror sites.
2731 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
2733 * mkcheck.in: Rely on exit status instead of the presence of a
2734 core file. Added comments on how/where to save core and exe
2735 files. Move shell wildcards outside quotes and fix core path.
2737 2000-04-27 scott snyder <snyder@fnal.gov>
2739 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
2742 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
2744 * bits/basic_string.h: include <bits/atomicity.h> instead
2745 of <atomicity.h>, and use the uglified names.
2746 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
2747 uglify names, eliminate dependence on <inttypes.h>.
2748 * src/Makefile.in, src/Makefile.am: refer to correct place
2749 for atomicity.h header.
2751 2000-04-25 Steven King <sxking@uswest.net>
2753 * bits/basic_string.h: Fix syntax error.
2755 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
2757 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
2759 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
2760 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
2761 versions to this as copysignl is needed anyway for these targets.
2762 * math/Makefile.in: Regenerate.
2764 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
2765 * bits/fstream.tcc (underflow): Cast to libio types.
2766 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
2767 * config/c_io_libio.cc (seekoff): And here.
2769 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2771 * mkcheck.in: Report compiler version used for test. Find
2772 the built _G_config.h instead of any old installed version.
2774 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2776 * config/generic/ctype.cc (do_toupper): Remove dependence on
2777 non-portable/non-existent lookup table.
2780 2000-04-24 Nathan Myers <ncm@cantrip.org>
2782 * src/string-inst.cc: More fixing.
2784 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
2786 * bits/stl_iterator.h: Pedantic fixing.
2787 * bits/std_sstream.h: And here.
2788 * bits/string.tcc: And here.
2790 2000-04-24 Felix Natter <fnatter@gmx.net>
2792 * docs/17_intro/howto.html: Add bits.
2793 * docs/17_intro/porting-howto.html: New file.
2795 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
2797 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
2798 @libinst_wstring_la@ to libinst-wstring.la when specializing for
2799 wchar_t, to empty string otherwise.
2800 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
2801 (sources): Remove $(string_sources) and $(wstring_sources).
2802 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
2803 (libstdc___la_DEPENDENCIES): New.
2804 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
2806 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
2808 * bits/std_sstream.h: Tweak formatting.
2809 * bits/std_fstream.h: Make types public.
2811 * testsuite/27_io/streambuf.cc: Fix for alpha.
2813 Brad Garcia <bgarcia@laurelnetworks.com>
2814 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
2816 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
2819 2000-04-19 Nathan Myers <ncm@cantrip.org>
2821 * src/string-inst: consolidate _S_create,
2822 destroy, leak, clone members into stringMAIN and stringMUTATE
2824 * src/Makefile.am: Above, and eliminate dependence on
2826 * src/wstring-inst.cc: Remove.
2828 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
2830 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
2831 Add flags for specialized rules dealing with instantiations.
2833 * src/string-inst.cc: Add instantiations missing from shared
2834 libraries--see stringEQ, stringCONSC.
2835 * src/Makefile.am (wstring_sources): Add.
2836 (string_sources): Same.
2837 * src/Makefile.in: Regenerate.
2839 * stl/*: Integrate contents of this directory into top-level
2841 * ext/bvector hash_map hash_set rope ropeimpl.h slist
2842 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
2843 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
2844 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
2845 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
2846 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
2847 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
2848 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
2849 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
2850 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
2851 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
2852 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
2853 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
2854 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
2855 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
2856 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
2857 stack.h tempbuf.h tree.h vector.h: Add.
2858 * README (file): Update.
2859 * docs/documentation.html: README not being found.
2860 * src/Makefile.am (sources): Take out stl directory.
2861 * mkcheck.in (SRC_DIR): And here.
2862 * src/Makefile.in: Regenerate.
2864 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
2866 * stl/bits/stl_function.h: Add bits so that const and non-const
2869 2000-04-18 scott snyder <snyder@fnal.gov>
2871 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
2872 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
2873 __STL_LIMITED_DEFAULT_TEMPLATES macros.
2874 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
2875 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
2877 2000-04-18 scott snyder <snyder@fnal.gov>
2879 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
2882 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
2883 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
2884 * stl/ext/hash_set (class hash_set, class hash_multiset):
2886 * stl/bits/stl_function.h (struct constant_unary_fun, struct
2887 constant_binary_fun): Likewise.
2888 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
2889 * stl/bits/stl_stack.h (class stack): Likewise.
2890 * stl/bits/stl_set.h (class set): Likewise.
2891 * stl/bits/stl_multiset.h (class multiset): Likewise.
2893 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
2894 class reverse_iterator): Get rid of use of
2895 __STL_LIMITED_DEFAULT_TEMPLATES macro.
2897 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
2900 * stl/bits/stl_deque.h (class deque): Get rid of use of
2901 __STL_DEFAULT_ALLOCATOR macro.
2902 * stl/bits/stl_list.h (class list): Likewise.
2903 * stl/bits/stl_multiset.h (class multiset): Likewise.
2904 * stl/bits/stl_set.h (class set): Likewise.
2905 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
2906 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
2907 * stl/bits/stl_vector.h (class vector): Likewise.
2908 * stl/ext/ropeimpl.h (rotate): Likewise.
2909 * stl/ext/hash_map (class hash_map, class hash_multimap):
2911 * stl/ext/hash_set (class hash_set, class hash_multiset):
2913 * stl/ext/slist (class slist): Likewise.
2914 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
2915 * stl/ext/stl_rope.h (class rope): Likewise.
2916 * src/locale.cc (_Impl): Likewise.
2917 * src/localename.cc (_Impl): Likewise.
2918 * bits/localefwd.h (_Impl): Likewise.
2920 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
2922 * docs/install.html: Cleanup, minor changes.
2923 * docs/17_intro/howto.html: Ditto.
2925 2000-04-18 Nathan Myers <ncm@cantrip.org>
2927 * bits/basic_string.h: Remove "inline" from member _S_find.
2929 * src/string-inst.cc: Rewrite to reflect non-inline template
2930 instantiations in string.tcc.
2932 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
2933 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
2934 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
2935 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
2936 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
2937 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
2938 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
2939 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
2940 stringNESS.cc, stringSCOPY.cc: Remove.
2941 * src/wstringADDCS.cc, etc: Remove.
2943 Benjamin Kosnik <bkoz@haight.constant.com>
2944 * src/Makefile.am: Modify to reflect above.
2945 * src/Makefile.in: Regenerate.
2947 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
2949 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
2951 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
2953 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
2954 io interface here instead of the libio particulars.
2956 * config/threads-posix.h: Consistency with stl_config.h.
2958 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
2960 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
2962 * mknumeric_limits: Rename generic type template parameter name
2964 * stl/bits/type_traits.h: Ditto.
2966 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2968 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
2969 it is more useful for --enable-libstdcxx-v3. Use the built
2970 compilers with v3, instead of compilers in PATH, and don't
2971 re-include include directories for checking the install.
2973 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
2975 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
2976 by default when using --enable-libstdcxx-v3.
2977 * src/Makefile.in: Regenerate.
2978 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
2979 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
2980 * configure: Regenerate.
2981 * mkcheck.in: Deal with NAMESPACES.
2983 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
2985 * src/cmath.cc: New file...
2986 (pow(*, int)): Define functions...
2987 * src/Makefile.am (sources): ...register file.
2988 * src/Makefile.in: Regenerate.
2989 * bits/std_cmath.h (pow): ...declare functions here, and remove
2992 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
2994 * acinclude.m4 (GCC_OBJDIR): Tweaks
2996 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
2998 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
2999 * config/cpu/arm: New directory.
3001 Jesper Skov <jskov@redhat.com>
3002 * config/cpu/arm/atomicity.h: New file.
3004 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3006 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3007 Remove unused bits. Clean.
3009 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3011 * testsuite/25_algorithms: New directory.
3012 * testsuite/25_algorithms/min_max.cc: New file.
3014 2000-03-29 scott snyder <snyder@fnal.gov>
3016 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3017 precision beyond that which we get from numeric_limits::digits10.
3019 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3022 * testsuite/23_containers/bitset_shift.cc: Fix.
3024 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3025 temporary to imbue().
3027 * bits/std_fstream.h (sync): Resync libio's idea of the current
3028 file position with the external file.
3030 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3032 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3035 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3036 attempting calls to it.
3037 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3038 ctors. Instead, call _M_init_filebuf ...
3039 (open): Here, as suggested by 27.8.1.3.
3040 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3041 properly when initializing cout/cin/cerr.
3043 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3045 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3046 * testsuite/22_locale/ctype_char_members.cc: And here.
3047 * testsuite/27_io/streambuf.cc (streambuf): And here.
3048 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3049 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3050 * testsuite/27_io/istream_extractor_arith.cc: And here.
3051 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3052 * testsuite/27_io/ios_base_members_static.cc: And here.
3053 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3055 2000-03-27 Chris Faylor <cgf@cygnus.com>
3057 * configure.in: Remove setting of CXX if canadian cross.
3058 * configure: Regenerate.
3060 2000-03-27 Nathan Myers <ncm@zembu.com>
3062 * bits/sstream.tcc: Optimize.
3063 * bits/basic_string.h(string::append): Don't inline.
3064 * bits/string.tcc: Move out-of-line.
3066 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3068 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3069 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3070 * aclocal.m4: Regenerate.
3071 * configure: Regenerate.
3072 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3073 * src/Makefile.in: Regenerate.
3075 * docs/install.html: Almost complete rewrite.
3077 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3079 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3080 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3082 * docs/faq/index.txt: Regenerate.
3084 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3086 * src/Makefile.am (libio_headers_install): Fix.
3087 * src/Makefile.in: Regenerate.
3089 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3091 * docs/17_intro/RELEASE-NOTES: Fix typos.
3092 * docs/index.html: Update.
3093 * docs/17_intro/BUGS: Update.
3094 * docs/status.html: Update for 2.90.8 release.
3096 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3098 * Makefile.am: Better error message when missing libgcc2.ready.
3099 * Makefile.in: Regenerate.
3100 * acinclude.m4: Fastidious nitpicking reformatting.
3101 * aclocal.m4: Regenerate.
3102 * configure: Regenerate.
3103 * mkcheck.in: Must use same namespace settings as the library being
3104 tested. Also log ST_FLAG, since it's being passed.
3105 * docs/install.html: Add brief chunk on configuration.
3106 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3107 * docs/23_containers/howto.html: Mention MT-safe string.
3108 * docs/faq/index.html: Minor updates.
3109 * docs/faq/index.txt: Regerarate.
3111 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3113 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3115 * bits/fstream.tcc (seekoff): Sync.
3117 * testsuite/27_io/ostream_unformatted.cc: New file.
3118 * testsuite/27_io/stringbuf.cc: Fix.
3119 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3121 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3122 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3124 * src/complex_io.cc (operator>>complex): Tweak.
3126 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3127 <inttypes.h> does not exist.
3128 * config/cpu/sparc/sparc64/atomicity.h: Same.
3129 * config/cpu/sparc/sparc32/atomicity.h: Same.
3130 * config/cpu/powerpc/atomicity.h: Same.
3131 * config/cpu/i386/atomicity.h: Same.
3132 * config/cpu/generic/atomicity.h: Same.
3133 * configure.in: Check for inttypes.h.
3134 * configure: Regnerate.
3136 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3138 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3140 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3142 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3144 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3145 are compiling natively.
3147 * libio/*: Update to CVS libio from egcs.
3149 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3151 * docs/download.html: Document use of -z9 for CVS.
3152 * docs/index.html: Add target date (no link) for future snapshot.
3154 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3156 * bits/slice_array.h: Rename generic type template parameter name
3158 * bits/mask_array.h: Ditto
3160 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3162 * *: Change copyright holder from "Cygnus Solutions" to "Free
3163 Software Foundation, Inc."
3165 * docs/configopts.html: Explain what "hella versions" means.
3166 * docs/install.html: Some tweaks--nice job on this Phil.
3167 * docs/documentation.html: Add a direct link to configuration options.
3169 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3170 * docs/17_intro/RELEASE-NOTES (New): Add.
3171 * bits/c++config.h (__GLIBCPP__): Bump version.
3173 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3174 type to match prototype.
3176 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3178 * docs/install.html: Update for new funky build procedure. Move
3179 description of 'configure' options to...
3180 * docs/configopts.html: ...here. New file.
3181 * docs/17_intro/howto.html: Updates for new snapshot.
3182 * docs/20_util/howto.html: Ditto.
3183 * docs/21_strings/howto.html: Ditto.
3184 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3185 * docs/22_locale/howto.html: Ditto.
3186 * docs/23_containers/howto.html: Ditto.
3187 * docs/faq/index.html: Ditto.
3189 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
3190 Benjamin Kosnik <bkoz@gnu.org>
3192 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3194 * aclocal.m4: Regenerate.
3195 * configure: Regenerate.
3197 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3198 scott snyder <sss@karma.fnal.gov>
3200 * config/c_io_libio.h: Add __c_lock.
3201 * config/threads-no.h: Same here.
3202 * config/threads-posix.h: Add __mutext_type typedef.
3203 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3204 * bits/basic_file.h: Ctor takes lock arg.
3205 * bits/std_fstream.h: Add _M_lock.
3206 * bits/fstream.tcc: Supply it to basic_file ctor.
3208 * mkcheck.in (resultstext): Change [[ to [.
3210 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3212 * bits/locale_facets.h: Tweak.
3214 * stl/bits/stl_config.h: Fix defines.
3216 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3218 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3220 * configure: Regenerate.
3221 * aclocal.m4: Regnerate.
3223 2000-03-16 Nathan Myers <ncm@zembu.com>
3225 * bits/string.tcc: Add MT support.
3226 * bits/basic_string.h: Same.
3228 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3230 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3232 * configure: Regenerate.
3234 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3236 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3238 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3239 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3240 any defaults passed in.
3241 * aclocal.m4: Regenerate.
3243 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3245 * mkcheck.in: Report total successes and failures.
3247 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3249 * config/cpu: New directory, intended to be used to provide
3250 cpu-specific configuration files. In particular, assembly language
3251 primitives for thread safety.
3252 * config/cpu/alpha: Populate.
3253 * config/cpu/alpha/atomicity.h: New file.
3254 * config/cpu/arm: Populate.
3255 * config/cpu/generic: Populate.
3256 * config/cpu/generic/atomicity.h: New file.
3257 * config/cpu/hppa: Populate.
3258 * config/cpu/i386: Populate.
3259 * config/cpu/i386/atomicity.h: New file, take from i486.
3260 * config/cpu/m68k: Populate.
3261 * config/cpu/mips: Populate.
3262 * config/cpu/powerpc: Populate.
3263 * config/cpu/powerpc/atomicity.h: New file.
3264 * config/cpu/sparc: Populate.
3265 * config/cpu/sparc/sparc32: Populate.
3266 * config/cpu/sparc/sparc64: Populate.
3267 * config/cpu/sparc/sparc32/atomicity.h: New file.
3268 * config/cpu/sparc/sparc64/atomicity.h: New file.
3270 * src/Makefile.am (myinstallheaders): Add install routines.
3271 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3273 * configure.in: Add.
3275 * config/default: Adopt glibc naming conventions, and so move to
3276 * config/generic: Here.
3277 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3279 2000-03-15 Bill Thompson <billt@toast.net>
3281 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3283 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3285 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3287 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3288 * aclocal.m4: Regenerate.
3289 * configure: Regenerate.
3291 2000-03-13 scott snyder <snyder@fnal.gov>
3292 Jason Merrill <jason@cygnus.com>
3294 * bits/locale_facets.h (class ctype, class ctype<char>, class
3295 ctype<wchar_t>): More mask fixes.
3296 * testsuite/22_locale/ctype.cc: Test for the problem.
3298 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3300 * acconfig.h: Add bits.
3301 * configure.in: Move AM_PROG_LIBTOOL up in file.
3302 Tweak cross compiling info.
3303 * configure: Regenerate.
3305 * mknumeric_limits (XCOMPILE): Echo compilation line for
3308 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3309 * aclocal.m4: Regenerate.
3310 * configure: Regenerate.
3311 * config/aix/ctype.cc (ctype): Tweak.
3312 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3313 * config/aix/bits/ctype_specializations.h: New file.
3315 2000-03-10 scott snyder <snyder@fnal.gov>
3317 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3319 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3320 regression test for the problem.
3322 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3324 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3325 * bits/fpos.h: And here.
3326 * bits/std_ostream.h: Same here.
3327 * bits/std_istream.h: Same here.
3328 * bits/basic_ios.h: Same here.
3329 * bits/std_fstream.h: Same here.
3330 * bits/sbuf_iter.h (std): Here too.
3331 * bits/std_sstream.h: Make types public.
3333 * src/misc-inst.cc: Use size_t instead of unsigned int.
3334 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3335 suppose this should be ctype::narrow... all the ctype<wchar_t>
3336 stuff needs to be cleaned up.
3338 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3340 * docs/gentop: Remove entire directory, finally.
3342 2000-03-09 scott snyder <snyder@fnal.gov>
3344 * bits/std_cmath.h (modf): Fix pointer overrun.
3345 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3346 test for the problem.
3348 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3350 Looks like changes to the #include'd files must be followed by a
3351 change to the #include'ing files to take effect. Caveat emptor.
3352 * docs/header.html: New file, for server-side include.
3353 * docs/footer.html: New file, for server-side include.
3354 * docs/documentation.html: Change to use SSI.
3355 * docs/download.html: Ditto.
3356 * docs/index.html: Ditto.
3357 * docs/mail.html: Ditto.
3358 * docs/status.html: Ditto.
3359 * docs/thanks.html: Ditto, plus minor updates.
3360 * docs/how.html: Remove.
3362 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3364 Preliminary alpha-linux support.
3365 * src/locale.cc (ctype<wchar_t>): Use correct types...
3366 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3367 (ctype<wchar_t>): Same.
3368 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3369 types match for table_size (size_t).
3371 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3372 as per char specialization.
3373 * config/*/ctype.cc: Same.
3375 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3377 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3378 _Ctype_nois<>. Template base classes are never examinated in
3379 first-phase name-lookup.
3381 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3383 Add Solaris 2.5.1 support.
3384 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3385 * config/solaris/solaris2.5/ctype.cc: Fixup.
3386 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3387 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3388 * aclocal.m4: Regenerate.
3389 * configure: Regenerate.
3391 * config/default/ctype.cc (ctype): Fixup.
3393 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3395 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3396 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3399 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3401 * bits/cpp_type_traits.h: Expand on this file purpose.
3403 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3405 * bits/locale_facets.h (ctype<char>): Remove static members, and
3406 re-work initialization code.
3407 (ctype<wchar_t>): Same.
3408 Move _S_touppper to _M_toupper and initialize in ctor.
3409 Move _S_tolower to _M_tolower and initialize in ctor.
3410 Move _S_table to _M_ctable and intialize in ctor.
3411 * bits/locale_facets.h (std): And here.
3412 * src/locale.cc (std): Tweak.
3413 * config/gnu-linux/ctype.cc: Change initialization here.
3414 * config/newlib/ctype.cc: And here.
3415 * config/solaris/solaris2.7/ctype.cc: And here.
3416 * config/solaris/solaris2.6/ctype.cc: And here.
3418 * bits/localefwd.h: Tweak.
3419 * bits/std_streambuf.h: Tweak formatting.
3421 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3423 2000-03-05 Chip Salzenberg <chip@valinux.com>
3425 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3427 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3428 Kevin Atkinson <kevinatk@home.com>
3430 Initial grab of SGI's strstream implementation with minor
3432 * src/strstream.cc: New file.
3433 * std/strstream: New file.
3434 * stl/bits/std_strstream.h: New file.
3435 * bits/std_streambuf.h: Add public access.
3436 * src/Makefile.am: Add strstream sources to list of dependancies.
3437 * src/Makefile.in: Regenerate.
3439 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3441 * bits/valarray_meta.h: Fix typo.
3443 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3444 Chip Salzenberg <chip@valinux.com>
3445 Petter Urkedal <petter@matfys.lth.se>
3447 * src/Makefile.am (myinstallheaders): Hack to avoid
3449 * src/Makefile.in: Regenerate.
3451 2000-03-02 Chip Salzenberg <chip@valinux.com>
3453 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3454 (LINK): Put quotes around "$(CC)" for libtool link mode,
3455 so libtool will use "-B" options during GCC bootstrap.
3456 * */Makefile.in: Regenerate.
3458 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3460 * config/c_io_libio.h: Enclose it all in ::std.
3461 * bits/basic_string.h (basic_string<>): Make types and
3463 * mkc++config: Truncate output file before writing.
3465 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3467 * math/cabsf.c (__mycabsf): Rename to cabsf.
3468 * math/cabs.c (__mycabs): Rename to cabs.
3470 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3472 * bits/basic_string.h: Move declarations of __out_of_range(),
3473 __length_error() and accompanying macros ...
3474 * bits/exception_support.h: here. (Newly created file).
3475 * bits/basic_string.h: #include <bits/exception_support.h>
3476 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3477 * src/Makefile.am (headers): Add.
3478 * src/Makefile.in: Regenerate.
3480 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3482 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3484 * bits/valarray_array.h: Synch. Fix typos.
3486 * libio/Makefile.am: Change to only compile source files that
3487 config/c_io_libio.cc actually needs.
3488 * libio/Makefile.in: Regnerate.
3489 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3490 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3491 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3492 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3493 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3494 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3495 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3496 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3497 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3498 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3499 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3500 strops.c strstream.h: Delete.
3502 * bits/basic_file.h: Stub out or delete unused bits in this
3504 (filepos_beg): Remove.
3505 (filepos_cur): Remove.
3506 (filepos_valid): Remove.
3507 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3509 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3511 * bits/cpp_type_traits.h: Correct typo.
3513 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3515 * bits/cpp_type_traits.h: New file.
3517 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3518 Improve array construction.
3519 (_Array_default_ctor): New dispatcher class.
3520 (__valarray_default_construct): New function.
3521 (_Array_copy_ctor): New dispatcher class.
3522 (__valarray_copy_construct): New function.
3523 (_Array<>::free_data): Remove.
3525 * src/Makefile.am (headers): Add cpp_type_traits.h
3526 * src/Makefile.in: Regenerate.
3528 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3530 Prune libio directory to match files in libio/Makefile.
3531 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3532 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3533 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3534 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3535 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3536 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3537 stdstreams.cc: Remove.
3538 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3539 * libio/iofflush_u.c: Remove.
3541 * libio/dbz: Remove.
3542 * libio/include: Remove.
3543 * libio/stdio: Remove.
3544 * libio/tests: Remove.
3545 * libio/testsuite: Remove.
3547 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3549 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3550 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3551 * configure: Regenerate.
3553 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3555 Abstract out the underlying "C" io bits.
3556 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3557 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3558 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3560 * stl/bits/stl_config.h: Don't include _G_config.h.
3562 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3563 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3564 * config/c_io_libio.cc: Tweak.
3566 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3567 * src/Makefile.in: Regenerate.
3568 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3569 prefix/include files will be picked up.
3570 * Makefile.in: Regenerate.
3571 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3572 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3574 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3575 * bits/fpos.h: And here.
3576 * bits/basic_file.h (get_fileno): Move definition from ...
3577 * src/basic_file.cc (std): To here.
3578 * bits/fpos.h: Move types for streamoff, streampos to..
3579 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3580 * config/c_io_libio.h: ...here.
3581 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3582 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3583 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3584 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3585 abstract out bits in ios_base.
3586 * bits/ios_base.h: Re-macrofy.
3587 * src/basic_file.cc : Rename, move to
3588 * config/c_io_libio.cc: Here.
3589 * config/c_io_libio.h: New file. Include libio.
3590 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3591 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3592 * configure: Regenerate.
3593 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3594 (generated_headers): Add c++io.h
3595 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3596 underlying "C" io library.
3597 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3598 GLIBCPP_ENABLE_CSTDIO.
3600 * configure.in: Add configure bits for cross compiling non-newlib
3602 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3603 target, as we assume g++ support is not the limiting factor.
3604 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3605 * configure: Regenerate.
3607 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3609 * Makefile.am (INTERFACE): Define.
3610 * Makefile.in: Regenerate.
3611 * libio/ChangeLog: Add entry.
3613 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3615 * docs/install.html: Update install directions.
3617 * docs/status.html: Fix sidebar to be consistent.
3618 * docs/thanks.html: Same.
3619 * docs/links.html: Same.
3620 * docs/mail.html: Same.
3621 * docs/download.html: Same.
3623 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3624 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3625 however, in the ctype_char_members.cc fail (for instance.)
3626 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
3627 that do not have wchar_t enabled.
3628 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
3630 * testsuite/27_io/iostream_objects.cc: And here.
3632 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
3635 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
3636 Tom Tromey <tromey@cygnus.com>
3638 * configure.in: Manually add MULTISUBDIR.
3639 * configure: Regenerate.
3640 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
3641 "Eww" hacks to get multilib installs working correctly.
3642 ($(headers): Test for MULTISUBDIR before installing.
3643 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
3644 have configure hack it in.
3645 * Makefile.in: Regenerate.
3646 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
3647 Add enabling bits for native Cygwin ctypes, and other newlib-based
3650 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3652 * mkc++config (OUT_H): Remove EOF in cygwin.
3653 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
3655 Tom Tromey <tromey@cygnus.com>
3656 * src/Makefile.am: Tweaks for installing multilibs.
3658 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
3661 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
3662 Add USE_LIBDIR bits here, not...
3663 * src/Makefile.in: Regenerate.
3664 * Makefile.am: ...here.
3665 * Makefile.in: Regenerate.
3667 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
3669 * acinclude.m4 (LIBS): Fix typos.
3670 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
3671 _GLIBCPP_BUGGY_COMPLEX for crosses.
3672 * src/Makefile.am (std_headers): Add libio.h as install include,
3674 * src/Makefile.in: Regenerate.
3676 * mkcheck.in: Add bits to set CXX to cross compiler.
3678 * src/complex_io.cc: Tweak.
3679 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
3680 * configure: Regenerate.
3682 * config/newlib/ctype.cc: Tweaks.
3683 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
3685 * src/complex_io.cc (operator>>(istream, complex): Define out if
3688 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
3690 * config/newlib/bits/ctype_base.h: Correct _S_table.
3692 Reconfigure ctype support for "C" libraries that don't use arrays.
3693 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
3694 basic ctype<char> functionality.
3695 * src/locale.cc: Move host-specific ctype functions that are not
3696 inlines to config/*/ctype.cc files.
3697 (ctype<char>::do_tolower): For instance.
3698 (ctype<char>::do_toupper): For instance.
3699 (ctype<wchar_t>::do_tolower): For instance.
3700 (ctype<wchar_t>::do_toupper): For instance.
3701 * config/gnu-linux/ctype.cc: Modify.
3702 * config/default/ctype.cc: Modify.
3703 * config/newlib/ctype.cc: Modify.
3704 * config/solaris/solaris2.6/ctype.cc: Modify.
3705 * config/solaris/solaris2.7/ctype.cc: Modify.
3707 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
3709 (ctype<char>::scan_is): Here too.
3710 (ctype<char>::scan_not): Here too.
3711 Move out of line defs to config/*/bits/ctype_specializations.h.
3712 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
3713 * config/default/bits/ctype_specializations.h: ...here. New file.
3714 * config/newlib/bits/ctype_specializations.h: ...here. New file.
3715 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
3716 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
3717 * src/Makefile.am (headers): Add ctype_specializations.h.
3718 * src/Makefile.in: Regenerate.
3720 Aaron Weiss <weiss@clearway.com>
3721 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
3722 CONFIG_NM for Solaris builds.
3723 * Makefile.in: Regenerate.
3725 * src/locale.cc: Tweak formatting.
3727 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
3729 Jim Parsons <parsons@clearway.com>
3730 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
3731 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
3735 Michel Decima <michel.decima@cnet.francetelecom.fr>
3736 * testsuite/27_io/streambuf.cc: Add test.
3737 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
3740 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
3741 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
3742 will work correctly, for instance.
3743 * src/Makefile.in: Regenerate.
3745 * bits/locale_facets.h: Fix merge error.
3746 (num_put::put(unsigned long long): And here.
3747 * mknumeric_limits (trait_name): Same.
3749 2000-02-15 Chip Salzenberg <chip@valinux.com>
3751 Support 'configure --enable-long-long'.
3752 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
3753 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
3754 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
3755 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
3756 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
3758 * aclocal.m4: Regenerate.
3759 * config.h.in: Regenerate.
3760 * configure: Regenerate.
3762 2000-02-15 Chip Salzenberg <chip@valinux.com>
3764 Improve (complete?) 'long long' support.
3765 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
3766 for {,unsigned} long long if the limits header declares them.
3767 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
3768 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
3769 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
3770 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
3771 (num_put<>::put(..., long long)): Likewise.
3772 (num_put<>::put(..., unsigned long long)): Likewise.
3773 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
3774 Templatize last parameter to support 'long long'.
3775 (num_put<>::put(...)): Call _S_format with new name.
3776 (num_put<>::put(..., long long)): Define.
3777 (num_put<>::put(..., unsigned long long)): Likewise.
3778 * src/locale-inst.cc (_S_format): Instantiate under new name.
3780 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
3782 * src/complex.cc (operator<<, operator>>): Moved from here...
3783 * src/complex_io.cc: ...to new file.
3784 (operator>>): Stub replaced by the real thing.
3785 * src/Makefile.am (sources): Inserted complex_io.cc.
3786 * src/Makefile.in: Regenerate.
3787 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
3789 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
3791 Add in ctype information for newlib "C" libraries.
3792 * config/newlib: New directory
3793 * config/newlib/bits/ctype_base.h: New file.
3794 * config/newlib/ctype.cc: New file.
3796 * ctype/config/linux/*: Rename, move to...
3797 * ctype/config/gnu-linux/*: Here.
3799 Finish off multilib work.
3800 * configure.in: Don't set CXX if not Canadian cross.
3801 * configure: Regenerate.
3802 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
3803 * aclocal.m4: Regenerate.
3804 * config.h.in: Regenerate.
3806 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
3807 the top-level gcc directory now.
3808 * mkinstalldirs: Remove.
3811 * ltmain.sh: Remove.
3812 * config.guess: Remove.
3813 * config.sub: Remove.
3815 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
3817 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
3818 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
3819 * Makefile.in: Regenerate.
3820 * src/Makefile.am: Add multilib bits.
3821 * src/Makefile.in: Regenerate.
3823 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
3825 * configure.in: Clean, add some multilib support.
3826 * configure: Regenerate.
3827 * configure.host: New file.
3829 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
3830 roll a new function, checks for presence of libio.
3831 GLIBCPP_CHECK_COMPILER_VERSION: Same.
3832 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
3833 GLIBCPP_CHECK_MATH_SUPPORT: Same.
3834 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
3835 GLIBCPP_CHECK_LIBIO: Same.
3836 GLIBCPP_CHECK_CTYPE: Same.
3837 * aclocal.m4: Regenerate.
3838 * config.h.in: Regenerate.
3840 * Makefile.am: Tweaks.
3841 * Makefile.in: Regenerate.
3843 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
3845 * configure.in: Make outputing the libio/Makefile
3846 conditional. Haha, yeah right. Anyway, we instead do this thing
3847 where if libio is found, then we build a null library, as there is
3848 no point in duplicating the found libio.
3849 * Makefile.am: Tweak.
3850 * Makefile: Regenerate.
3851 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
3852 are happy happy happy.
3853 * libio/Makefile.am: Regenerate.
3854 * libio/gen-params: New file.
3855 * src/Makefile.am: Make libio.la non-conditional, as it is now a
3856 null library if it's not needed. At least we are being consistent,
3857 if not as elegant as we could be.
3858 * src/Makefile: Regenerate.
3860 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
3862 * Makefile.am (SUBDIRS): Add libio again.
3863 * Makefile.in: Regenerate.
3864 * configure.in (BUILD_LIBIO_INCLUDE): And here.
3865 (AC_OUTPUT): Generate libio/Makefile again.
3866 * configure: Regnerate.
3867 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
3868 libio.la is referring back to the libio subdir again.
3869 (LIBIO_INCLUDES): And here.
3870 * src/Makefile.in: Regenerate.
3872 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3874 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
3876 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3878 * bits/valarray_array.h (<bits/std_new.h>): #include.
3879 (__valarray_get_memory): New function.
3880 (__valarray_release_memory): Likewise.
3881 (__valarray_default_construct): New functions.
3882 (__valarray_fill_construct): New function.
3883 (__valarray_copy_construct): New funstions.
3884 (__valarray_destroy_elements): New function.
3886 * bits/valarray_array.tcc (__valarray_copy_construct): New
3889 * bits/std_valarray.h (valarray<>::valarray): Use
3890 __valarray_get_memory and __valarray_fill_construct,
3891 __valarray_copy_construct, __valarray_default_construct to
3892 properly construct valarrays.
3893 (valarray<>::~valarray): Use __valarray_destroy_elements to
3894 destroy elements and __valarray_release_memory to return memory.
3895 (valarray<>::shift): Tweak.
3896 (valarray<>::cshift): Likewise.
3897 (valarray<>::resize): Robustify.
3899 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
3901 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
3902 * bits/limits_generic.h: New file, defaults.
3903 * src/limits_generic.cc: New file, defaults.
3904 * configure.in (LIBS): Run mknumeric_limits at configure time.
3905 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
3906 HAVE_LC_MESSAGES, tidy, clean, etc.
3907 * src/Makefile.am (geberated_sources): Remove.
3909 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
3910 (_IO_off_t, _IO_ssize_t)
3912 * src/complex.cc: Use glibc's <complex.h> if
3913 possible. . . apparently this was not being done before. Include
3915 (abs): Enable cabs if it's around, instead of mycabs.
3916 * src/complexf.cc (FCT): Add global scope to match complex.cc.
3917 * src/complexl.cc (FCT): Same.
3918 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
3919 (libmath_la_SOURCES): And here.
3920 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
3921 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
3922 * math/complex-stub.h: Move c_log declarations into. . .
3923 * math/mathconf.h: Here. This is because glibc's <complex.h>
3924 declares cclog, not c_log. The case of the dueling standards. . .
3925 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
3926 * math/Makefile.am: Change.
3927 * math/nan.c (nan): Change signature.
3928 * math/mathconf.h (NAN): Same.
3929 * math/complex-stub.h (nan): And here.
3931 * Makefile.am (rebuild-stamp): Remove libio and libio
3932 dependancies. Plan to take out libio subdir and just merge with
3933 libio in top level gcc directory. Of course, this assumes there is
3934 a libio in the top level directory (ie ../src_dir). This will
3935 probably change the way this library is configured by default.
3938 2000-02-09 Chip Salzenberg <chip@valinux.com>
3940 * localefwd.h (locale): Make public: facet, id, category.
3942 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3944 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
3946 * acinclude.m4: Patch only once!
3948 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3950 * testsuite/26_numerics/buggy_complex.cc: New file.
3952 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
3954 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
3955 on the 1999-11-21 entries by Mumit Khan.
3956 * configure.in: Use.
3957 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
3958 * bits/std_complex.h: Use.
3960 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
3962 * stl/bits/stl_algobase.h: Add traits based dispatch for
3963 __normal_iterator in the copy_backward()algorithm
3964 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
3967 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
3969 * src/gen-num-limits.cc (signal_handler): Work around signal
3970 handling problem on Cygwin.
3971 Thanks to Chris Faylor <cgf@cygnus.com>.
3973 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
3975 * configure.in: Add (preliminary) support for cross compiles and
3977 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
3978 compilation freaks on this.
3979 * configure: Regenerate.
3980 * src/Makefile.am: Add support for cross compiles.
3981 * src/Makefile: Regenerate.
3982 * Makefile.am: Add support for cross compiles.
3983 * Makefile.in: Regenerate.
3985 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
3987 * configure.in (LIBS): Remove unused subdirs.
3988 * configure: Regenerate.
3989 * Makefile.am (SUBDIRS): And here.
3990 * Makefile.in: Regenerate.
3991 * src/Makefile.am (sources): And here.
3992 * src/Makefile.in: Regenerate.
3995 * generic/*: Remove.
3997 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
3999 * libtool: Update to libtool-1.3.4.
4003 * config.guess: Same.
4005 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4006 Alexandre Petit-Bianco <apbianco@cygnus.com>
4008 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4009 namespace instead of polluting global namespace with duplicate
4011 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4013 (AC_OUTPUT_COMMANDS): Make it here.
4014 * configure: Regenerate.
4015 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4016 endif, as now we will add it manually.
4017 Move to this file. . .
4018 * bits/c++config.h: New file. Same as old c++config.h.in except
4019 the ending macro guard is now appended manually.
4021 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4022 * bits/std_cmath.h: Same here.
4023 * bits/std_cwchar.h: And here.
4024 * src/locale.cc: And here.
4025 * src/complexl.cc: And here.
4026 * math/mathconf.h: Change to include "config.h" instead of
4029 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4031 * configure.in: Add support for threads. Try a model closer to
4032 libjava, as hopefully if the thread bits are added carefully
4033 enough, the source code will not have gross hacks. Besides, the
4034 libstdc++-v2 model could be easily emulated without the necessity
4035 of linking files in (as currently done)--all that needs to be done
4036 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4037 new. . . and see if we arrive at a more elegant solution.
4038 * configure: Regenerated.
4039 * config/threads-no.h: New file.
4040 * config/threads-posix.h: New file.
4041 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4042 * src/Makefile.in: Regenerated.
4044 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4046 META-QUESTION: Can we just make a "header.html" file and a
4047 "footer.html" and just include them in all the doc sub-pages. The
4048 duplication of the header info is kind of gross, and weak
4049 considering that if you change order or layout then all this stuff
4050 has to be changed in all the sub-files.
4052 * docs/17_intro/contribute.html: Take out duplicate file info.
4053 * README: Should just contain a link to the docs/index.html
4054 page. Duplicate information removed.
4055 * docs/faq/index.html: Remove indexes into HOWTOS.
4056 * docs/17_intro/howto.html: Make intro and docs part more
4057 centralized. Move intro stuff to documentation.html.
4058 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4059 * docs/README.html: Move documentation files to
4060 documentation.html. Should this file be renamed
4061 "config_and_install.html" as that is what is apparently covered
4063 * docs/install.html: Yes. New file, moved and renamed README.html.
4064 * docs/documentation.html: New file. This is the index file for
4066 * docs/index.html: Edit sidebar order. Insert new link to new
4067 documentation spine, documentation.html.
4069 2000-01-31 Scott Snyder <snyder@fnal.gov>
4071 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4072 we don't extract any characters.
4073 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4075 2000-01-31 Anders Widell <awl@hem.passagen.se>
4077 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4078 step is a multiple of the word size.
4079 (_M_do_right_shift): Same.
4080 * testsuite/23_containers/bitset_shift.cc: New file.
4082 2000-01-31 Nathan Myers <ncm@zembu.com>
4084 * README (Documentation): Add path info, fix typos.
4086 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4088 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4089 crazy group checking for numpunct, for real this time. At some
4090 point, the local variable __grp should probably get replaced a
4091 char array, or something a bit more lightweight.
4092 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4093 parsed value unless err isn't failbit.
4094 (num_get::do_get(*)): Same, make consistent.
4096 Nathan Myers <ncm@zembu.com>
4097 Jim Parsons <parsons@clearway.com>
4098 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4099 more grouping tests, tweak, scold, wine.
4101 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4103 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4105 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4106 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4109 via <llewelly@198.dsl.xmission.com>
4110 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4111 out_of_range instead of range_error.
4113 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4115 * bits/std_iomanip.h (setw): Fix typo.
4117 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4119 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4120 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4121 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4123 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4125 * docs/README.html: Reformat, more installation instructions.
4126 * docs/gccrebuild.html: New file.
4127 * docs/faq/index.html: Update for new testsuite output filenames.
4128 * docs/faq/index.txt: Regenerate.
4130 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4132 * Makefile.am (rebuild-stamp, all-local): New targets.
4133 * Makefile.in: Regenerated.
4134 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4135 * aclocal.m4: Regenerated.
4136 * configure.in: Call new macro. Also do some sanity checks
4137 for combinations of --enable's that may not make sense.
4138 * configure: Regenerated.
4140 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4142 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4143 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4144 correctly for hex-formatted input.
4146 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4147 eofbit instead of eofbit | failbit.
4148 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4149 ifstreams now are opened or'd with ios_base::in (as is correct).
4150 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4151 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4153 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4155 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4156 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4158 (__basic_file::filepos_valid): Same.
4159 (__basic_file::filepos_beg): Same.
4160 (__baseic_file::get_fileno): New function.
4161 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4162 feedback from LWG 49.
4163 * src/ios.cc: Move definition here.
4164 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4166 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4167 output part of internal buffer based on string size, so that
4168 _M_out_end is set consistently with filebufs. Correct comments.
4169 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4170 * testsuite/27_io/stringbuf.cc: Changes.
4172 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4174 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4176 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4178 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4179 (ofstream::open): Add ios_base::out to openmode.
4181 * bits/locale_facets.tcc (_M_extract): Have consistency between
4182 istream::sentry and extractors, where failbit | eofbit is
4183 set. Don't change this, but instead change. . (do some formatting
4185 * bits/istream.tcc (istream::sentry): Only set eofbit.
4187 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4189 * testsuite/27_io/istringstream_members.cc: New file.
4191 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4193 * bits/istream.tcc (istream::sentry): Flush.
4195 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4196 * configure: Regenerate.
4197 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4198 that make clean will not delete it.
4199 * src/Makefile: Regenerate.
4201 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4203 * mkcheck.in: Use host-specific invocation of size(1);
4204 GNU binutils isn't necessarily there (more's the pity).
4206 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4208 * configure.in (LIBS): Better tests for solaris2.6.
4209 * configure: Regenerate.
4211 <vakatov@ncbi.nlm.nih.gov>
4212 * bits/std_sstream.h: As per libstdc++20.
4214 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4216 Break out configuration on solaris.
4217 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4218 * config/solaris/ctype.cc: Delete and move to proper version.
4219 * config/solaris/bits: Same.
4220 * config/solaris/solaris2.5: Add this directory, with subdir bits
4221 and file ctype.cc. Probably doesn't work.
4222 * config/solaris/solaris2.6: Same.
4223 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4225 * Makefile.am: Change paths to mkcheck.
4226 * Makefile: Regenerate.
4227 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4228 * configure: Regenerate.
4229 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4231 * mkcheck: Now autogenerated by configure and renamed. . .
4232 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4233 Have longer-style dates.
4234 Raja R Harinath <harinath@cs.umn.edu>
4235 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4237 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4238 general documentation need to be organized around each other, not
4239 fight against each other. . .
4241 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4242 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4244 * README: Add a note referring to README.html.
4245 * docs/README.html: New file from Nicolai.
4246 * docs/faq/index.html: Move "how to get a copy" to here.
4247 * docs/gentop/footchunk.html: Update.
4248 * docs/gentop/headchunk.html: New links according to
4249 bkoz's idea for "How to..." stuff.
4250 * docs/gentop/thanks: Actually put people here.
4251 * docs/download.html: Regenerated.
4252 * docs/index.html, docs/links.html, docs/mail.html,
4253 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4254 * docs/how.html: Ditto. (This file should go away soon.)
4256 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4258 * docs/gentop/status: Add snapshot version column, update
4260 * docs/status.html: Regenerated.
4262 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4264 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4265 from installation FAQ, and specify location of text files.
4266 * docs/faq/index.txt: Regenerated.
4268 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4270 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4271 * docs/download.html: Regenerated.
4273 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4275 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4276 clean up various links.
4277 * docs/faq/index.txt: Regenerated.
4278 * docs/gentop/gentop: Smarter regeneration script.
4279 * docs/gentop/{head,foot}chunk.html: Updated with new
4280 contributors link and mod date.
4281 * docs/gentop/index: Snapshot relase date.
4282 * docs/gentop/thanks: New contributors page added.
4283 * docs/{download,how,index,links,mail,status,thanks}.html:
4284 Regenerated from gentop; thanks.html created.
4286 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4288 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4289 * docs/index.html: Add correct information.
4291 * config/irix: New directory.
4292 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4293 * config/irix/bits/ctype_base.h: And here.
4295 * config/aix: New directory.
4296 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4297 * config/aix/bits/ctype_base.h: And here.
4299 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4301 * bits/basic_string.h: Add special case handling for integral
4303 * bits/std_string.h: include type_traits.h
4304 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4306 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4308 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4310 * bits/std_fstream.h (sync): And here.
4311 * testsuite/27_io/filebuf.cc: Revisions.
4312 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4313 at the end of the file.
4314 * testsuite/27_io/filebuf-3.tst: Correct.
4316 1999-12-21 Phil Edwards <pedwards@jaj.com>
4318 * docs/gentop/index: Hold off on .7 announcement date.
4319 * docs/index.html: Regenerate.
4321 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4323 * bits/std_fstream.h (sync): Move _M_file->sync() to
4324 _M_really_overflow().
4325 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4326 as to get the _M_file->sync action, which forces the external
4327 buffer to update itself.
4328 (underflow): Same here.
4330 1999-12-21 Phil Edwards <pedwards@jaj.com>
4332 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4333 * acconfig.h: ...to here.
4334 * config.h.in: Regenerate from aclocal.
4335 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4336 * aclocal.m4: Regenerate from acinclude.
4337 * configure.in: Use ENABLE macros here.
4338 * configure: Regenerate.
4339 * src/Makefile.am: Use results from ENABLE macros.
4340 * src/Makefile.in: Regenerate.
4342 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4344 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4345 check" and not "make check-install." Temporarily hack in linux
4348 * bits/std_streambuf.h: Tweaks.
4349 * bits/streambuf.tcc (xsgetn): Tweaks.
4350 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4351 * bits/fstream.tcc (filebuf::underflow): Simplify.
4352 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4353 checks for read position precisely implement the standard.
4354 * bits/basic_file.h (filepos_cur): Base this on _offset.
4355 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4356 * testsuite/27_io/filebuf.cc: Tweak.
4358 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4360 * docs/17_intro/RELEASE-NOTES: Fix typos.
4362 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4363 out platform-specific bits.
4364 * config/default/ctype.cc: And here.
4365 * config/defaults/bits/ctype_base.h: And here.
4366 * config/linux/ctype.cc: And here.
4367 * config/linux/bits/ctype_base.h (ctype_base): And here.
4368 * config/solaris/bits/ctype_base.h (ctype_base): Add
4369 __to_type. Comment, as it looks like this is for solaris2.6 and
4370 above: solaris2.5.1 doesn't seem to have the same definitions.
4371 * config/solaris/ctype.cc: And here.
4373 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4374 Ulrich Drepper <drepper@cygnus.com>
4376 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4378 * src/locale.cc: Take out platform-specific hacks.
4379 * config/linux/ctype.cc: Put here.
4380 * config/solaris/ctype.cc: Put here.
4381 * config/default/ctype.cc: Put here.
4383 * bits/locale_facets.h: Take out platform-specific hacks.
4384 * config/linux/bits/ctype_base.h: Put here.
4385 * config/solaris/bits/ctype_base.h: Put here.
4386 * config/default/bits/ctype_base.h: Put here.
4388 * configure.in: Bump version.
4389 Add tests for top-level config directory.
4390 * configure: Regenerated.
4391 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4392 * src/Makefile: Regenerate.
4394 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4395 Ulrich Drepper <drepper@cygnus.com>
4397 * bits/locale_facets.h: Hack in solaris support.
4398 * src/locale.cc: Here too.
4400 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4402 * docs/17_intro/TODO: Update
4403 * docs/17_intro/RELEASE-NOTES (New): Update.
4405 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4407 * bits/c++config.h.in (__GLIBCPP__): Bump.
4408 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4409 * docs/17_intro/TODO: Update.
4411 * bits/locale_facets.h: Touch this too.
4412 * bits/localefwd.h: Add typedefs for loooooong vector names.
4413 * bits/locale_facets.tcc (locale::operator()): Need parens.
4414 (has_facet): Simplify.
4415 * src/locale-inst.cc: Add instantiations.
4416 * src/locale.cc: Tweaks.
4418 * bits/std_streambuf.h: Move indeterminates into. .
4419 * bits/std_fstream.h: Here.
4420 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4422 * bits/sstream.tcc: Very minor formatting tweaks.
4423 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4424 input buffer, set _M_buf to offset.
4425 * bits/istream.tcc (std): Tweaks.
4426 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4428 * testsuite/27_io/filebuf.cc: Tweaks.
4430 1999-12-17 Phil Edwards <pedwards@jaj.com>
4432 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4433 * configure: Regenerate.
4434 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4435 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4436 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4438 1999-12-17 Phil Edwards <pedwards@jaj.com>
4440 * docs/21_strings/stringtok_std_h.txt: New algorithm
4441 suggested by Chris King.
4442 * docs/21_strings/howto.html: Link to new version.
4444 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4446 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4448 * docs/17_intro/TODO: Update.
4450 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4452 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4453 * docs/gentop/gentop: Ditto.
4454 * docs/gentop/headchunk.html: Ditto.
4455 * docs/*.html: Regenerated from gentop.
4456 * docs/*/howto.html: Updated as test.
4457 * docs/faq/index.html: Updated, fixed CRLFs.
4458 * docs/faq/index.txt: Regenerated.
4460 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4462 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4464 * bits/std_complex.h
4465 (complex<float>::complex(const complex<double>&),
4466 complex<float>::complex(const complex<long double>&)): Define.
4468 * docs/17_intro/TODO: Update.
4470 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4472 * bits/istream.tcc (seekg): Don't set _M_gcount.
4474 * bits/fstream.tcc (filebuf::underflow): Re-sync
4475 external byte sequence's input buffer only. . .
4476 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4477 tellg, seekg and filebufs.
4478 (test05): Same for stringbufs.
4479 * testsuite/27_io/istream_unformatted-2.tst: New file.
4480 * testsuite/27_io/istream_unformatted-1.tst: New file.
4481 * testsuite/27_io/istream_unformatted-1.txt: New file.
4482 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4485 1999-12-13 Phil Edwards <pedwards@jaj.com>
4487 * docs/gentop/*: New directory, containing bits for the homepages.
4488 * docs/*.html: Regenerated from gentop.
4489 * docs/*/*.html: Entries added and regenerated.
4491 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4493 Efforts to get -O2 to work with -Winline -Werrors.
4494 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4495 _Tp&): Remove inline declaration, as cannot be inlined and
4496 -Winline -Werror complains. An interesting question is why this
4497 cannot be inlined, as I can see no real reason to disqualify it.
4498 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4499 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4501 * docs/17_intro/TODO: Update.
4503 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4505 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4507 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4508 the resultant position.
4509 * bits/fstream.tcc (seekoff): Explicitly set return value to
4510 resultant external byte sequence position, not value returned from
4511 _M_file->seekoff. Need to make
4512 (seekpos): New definition.
4514 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4515 just istream. Necessary, or else tellg will give an invalid stream
4516 position, but seekg will return a valid stream position, which is
4517 not groovy: see testcase addition.
4518 * bits/ostream.tcc (seekp): Same.
4520 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4521 * bits/sstream.tcc: Tweaks.
4522 * bits/locale_facets.tcc: Tweaks.
4523 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4524 Re-write in a way that is easier for the inliner to work with.
4525 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4527 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4529 * bits/locale_facets.tcc: Tweaks.
4530 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4532 * bits/localefwd.h: And here.
4533 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4534 * bits/ostream.tcc: Put here.
4536 Frank Ch. Eigler <fche@cygnus.com>
4537 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4539 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4541 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4542 in and out buffers update independantly.
4544 * bits/basic_ios.h: Minor formatting.
4545 * bits/fstream.tcc (std): Fix indentation.
4547 1999-12-08 Chip Salzenberg <chip@valinux.com>
4549 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4550 after corresponding eof() functions, so they're easier for the
4552 * bits/locale_facets.h (money_base::__default_pattern): Move
4553 static variable out of inline functions.
4554 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4555 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4557 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4559 * bits/std_fstream.h (filebuf::open): Tweak.
4560 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4561 * bits/std_ios.h: Minor tweaks for headers.
4563 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4565 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4566 * src/string-inst.cc: Add guards . . .
4567 * src/misc-inst.cc: And here.
4568 * bits/std_sstream.h: And here.
4569 * bits/std_fstream.h: And here.
4570 * bits/std_streambuf.h: And here.
4571 * bits/std_istream.h: And here.
4572 * bits/std_ostream.h: And here.
4574 1999-12-06 Scott Snyder <snyder@fnal.gov>
4576 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4578 (basic_istream::readsome): And here as well.
4579 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4582 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4584 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4585 necessarily an `int'.
4587 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4589 * mknumeric_limits: Don't use $CXXFLAGS when building
4590 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4591 generally instructs the compiler not to emit template
4592 instantiations and we end up with undefined symbols. Sigh.
4594 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4596 * bits/locale_facets.tcc: Tweak.
4597 (_S_format_long): Adjust showpos formatting for hex and oct.
4598 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4599 and oct by formatting as unsigned.
4600 (operator<<(int)): Same here.
4601 * bits/ostream.tcc (operator<<(long)): Same.
4602 (operator<<(long long)): Same.
4603 (_S_pad_char): Actually treat ios_base::internal as something
4604 worth doing correctly. Remove const designation on ios argument.
4605 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4606 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4608 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4610 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4612 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4614 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4616 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4617 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4618 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4619 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4620 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4622 (ostream::operator<<(_CharT)): Fix.
4624 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4625 see if this will increase compile speed.
4626 * bits/std_ostream.h: Likewise. . .
4627 * bits/std_istream.h: And here.
4628 * bits/std_fstream.h: And here.
4629 * src/misc-inst.cc: Add relevant header file includes for
4630 instantiation purposes.
4631 * src/string-inst.cc: And here.
4632 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
4634 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
4636 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4637 * bits/istream.tcc (get(streambuf)): More fixes.
4638 (istream::ignore): Get specific about numeric_limits<int>::max()
4641 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
4642 (filebuf::close): Same.
4643 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
4645 1999-12-01 Phil Edwards <pedwards@jaj.com>
4647 * mkcheck: Support for compilation/execution timing.
4648 * testsuite/printnow.c: New file.
4650 1999-12-01 Phil Edwards <pedwards@jaj.com>
4652 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
4653 * configure.in: Test for presence of wchar.h before testing
4654 for any of its features.
4655 * configure: Regenerate.
4657 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
4659 Preliminary istream validations complete.
4660 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
4661 formatting more consistent. Removal of if-statements inside of for
4666 * bits/std_istream.h: Same.
4667 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
4668 * testsuite/27_io/stringbuf.cc: Tweak.
4669 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
4671 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
4672 failbit on failure, as per 27.6.2.5.2.
4674 * stl/bits/std_vector.h: Allow bool specializations. Should move
4675 ext/std_bvector to bits, not ext, maybe.
4677 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
4679 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
4680 * configure: Regenerate.
4682 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
4684 * bits/istream.tcc (get(streambuf, char)): Fix.
4685 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4687 1999-11-29 Scott Snyder <snyder@fnal.gov>
4689 * bits/basic_string.h (append(const _Char*, size_type)): The
4690 length of the appended string is given exactly by the second arg,
4691 regardless of the data in the character array.
4692 * bits/string.tcc (basic_string(const _CharT*, size_type, const
4693 _Alloc&)): Likewise.
4694 * testsuite/21_strings/append.cc (test01): Remove erroneous test
4695 of basic_string::append.
4697 1999-11-29 Chip Salzenberg <chip@valinux.com>
4699 * Makefile.in: Tweaks for CXXFLAGS.
4700 * */Makefile.in: Same.
4702 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4704 * conficd bgure.in: Check for wide character support.
4705 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
4706 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
4707 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
4709 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4711 * acinclude.m4: Fix typo.
4712 * src/complex.cc: Fix macro line continuation.
4714 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
4716 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
4717 string literals in format, as used in locale-facets.tcc.
4719 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
4721 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4722 * bits/istream.tcc (istream::get): Extract to argument minus one.
4723 Various tweaks and fixes.
4725 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
4727 * bits/locale_facets.tcc: Workaround for compiler crash on
4730 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
4732 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
4733 * configure.in: Use.
4734 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
4735 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
4736 * bits/std_complex.h: Use.
4737 * src/complex.cc: Use.
4739 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
4741 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
4742 * testsuite/21_strings/inserters_extractors.cc: Likewise.
4743 * testsuite/22_locale/ctype.cc: Likewise.
4744 * testsuite/23_containers/multiset.cc: Likewise.
4745 * testsuite/23_containers/vector_ctor.cc: Likewise.
4746 * testsuite/26_numerics/binary_closure.cc: Likewise.
4747 * testsuite/27_io/fpos.cc: Likewise.
4748 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
4749 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
4750 * testsuite/27_io/istream_extractor_char.cc: Likewise.
4751 * testsuite/27_io/istream_extractor_other.cc: Likewise.
4752 * testsuite/27_io/istream_sentry.cc: Likewise.
4753 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
4754 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
4755 * testsuite/27_io/streambuf.cc: Likewise.
4756 * testsuite/27_io/stringstream.cc: Likewise.
4758 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4760 * bits/valarray_meta.h: Don't forget to define tanh
4762 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
4764 * src/stl-inst.cc: Use typedef to refer to iterator
4765 * stl/bits/stl_algobase.h: Add traits based dispatch for
4766 __normal_iterator in the copy()algorithm
4767 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
4769 1999-11-18 Kevin Ediger <kediger@licor.com>
4771 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
4772 constructors for locale::_Impl exception safe.
4774 1999-11-18 Scott Snyder <snyder@fnal.gov>
4776 * stl/bits/stl_queue.h: The C++ standard gives the default for the
4777 _Sequence template argument of priority_queue<> as vector<>, not
4780 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
4782 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
4784 * bits/sstream.tcc: Adjust here too.
4786 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
4788 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
4789 * bits/istream.tcc (operator>>): Replace iostate(0) with
4790 iostate(ios_base::goodbit), which is the same thing, but hopefully
4792 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
4793 libraries issue list 17.
4794 (do_gets): Don't set goodbit explicitly, instead only set on
4795 failures as good bit is the default setting.
4796 * bits/ios_base.h (setf): Set correctly.
4797 * bits/fstream.tcc: Tweak.
4798 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
4799 in|out bufs that are empty. . .
4800 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
4802 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
4804 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
4805 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
4806 Add comments "all about _M_buf."
4807 (setg): Set _M_mode.
4809 1999-11-16 Kevin Ediger <kediger@licor.com>
4811 * bits/locale_facets.tcc (_S_build_float_format): New function.
4812 (_S_output_float): New function.
4813 (num_put::do_put(double)): Use 'em.
4814 (num_put::do_put(long double)): Use 'em.
4815 * testsuite/27_io/ostream_inserter_arith.cc: New file.
4817 1999-11-15 Scott Snyder <snyder@fnal.gov>
4819 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
4820 match how libio is calling us.
4821 * src/basic_file.cc (sys_seek): Likewise.
4822 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
4824 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
4826 * docs/17_intro/contribute.html: Add link to assignment form.
4827 * docs/17_intro/libstdc++-assign.txt: New file.
4829 * mkcheck (TESTS_FILE): Move a copy of test files as well as
4832 * bits/std_streambuf.h (_M_buf_bump): New function.
4833 * bits/streambuf.tcc: Mods to support _M_buf_bump.
4834 (xsputn): Here. Also add checks for output valid.
4835 (xsgetn): Add checks for input valid.
4837 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
4838 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
4839 Set _M_out_end to variable-length-end.
4840 * bits/sstream.tcc (overflow): Use _M_buf_bump.
4843 * bits/fstream.tcc (std): Tweak formatting.
4844 (filebuf::overflow): Simplify.
4845 (filebuf::showmanyc): Same.
4846 (filebuf::underflow): Same.
4847 * testsuite/27_io/filebuf.cc: Fix.
4848 * testsuite/27_io/ostream_inserter_other.cc: Fix.
4849 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
4850 * testsuite/27_io/stringbuf.cc: Tweak.
4851 * testsuite/27_io/streambuf.cc: Tweak.
4852 * testsuite/27_io/istream_extractor_other.cc: Fix.
4854 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
4856 * stl_deque.h: Use static_casts<size_type>(signed_type).
4858 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
4860 Cleanups for callbacks, more regression hunting. Remaining
4861 failures (1) due to last unresolved stringstream issues, not
4863 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
4864 killing 27_io/filebuf.cc tests. . . need another solution.
4866 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
4867 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
4869 * bits/basic_ios.h: Add cached facets here. UGH. The standard
4870 foils all attempts at a graceful, minimal implementation.
4871 * bits/basic_ios.tcc: Tweaks.
4872 * bits/istream.tcc: Fix.
4873 * bits/ostream.tcc: Fix.
4874 * bits/std_istream.h: Fix.
4875 * bits/std_ostream.h: Fix.
4876 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
4878 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
4879 (_S_pad_numeric): Make comprehensible.
4881 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
4883 * bits/std_ostream.h: Add callbacks for _M_fnumput.
4884 (_S_ostream_fcache): New function.
4885 Move functions out-of-line.
4886 * bits/ostream.tcc: Put here.
4888 * bits/std_istream.h: Add callbacks for _M_fnumget.
4889 (_S_istream_fcache): New function.
4890 Move functions out-of-line.
4891 * bits/istream.tcc: Put here.
4893 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
4894 _M_call_callbacks(), as ios_base::imbue does this already.
4895 * src/ios.cc (register_callback): Clean.
4896 (_M_call_callbacks): Same.
4897 * bits/ios_base.h: Callback work.
4898 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
4900 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
4901 Matthias Klose <doko@cs.tu-berlin.de>
4903 * stl/ext/stl_rope.h: Fix initialization order.
4905 1999-11-09 Scott Snyder <snyder@fnal.gov>
4907 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
4908 _M_file->sync() so that redirection works correctly.
4910 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
4912 * bits/istream.tcc: Re-order.
4913 * bits/std_istream.h: Fix getline problems.
4914 * testsuite/27_io/istream_unformatted.cc: New tests.
4916 Clean up regressions.
4917 * bits/std_sstream.h: Set initial stringbufs correctly.
4919 1999-11-09 Scott Snyder <snyder@fnal.gov>
4921 * stl_vector.h (_M_range_insert): Fix mixing pointers and
4923 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
4926 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
4928 * src/Makefile.am (CXXFLAGS): Add -Winline.
4929 * src/Makefile.in: Regenerate.
4931 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4933 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
4934 building meta-expressions don't forget to take the contained
4937 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
4939 * configure: Regenerate.
4941 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4943 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
4945 * bits/valarray_meta.h (min): Likewise.
4946 * bits/valarray_meta.h (max): Likewise.
4948 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
4950 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
4951 * bits/std_streambuf.h (_S_copy_streambufs): New function.
4952 * bits/streambuf.tcc: Define.
4953 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
4954 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
4955 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
4956 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
4958 * bits/basic_string.h: Explicitly cast npos to unsigned type,
4959 reported by Richard Atterer.
4960 * bits/char_traits.h: For consistency's sake, here too.
4962 * configure.in: Bump version to 2.90.7.
4964 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
4966 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
4967 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
4968 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
4970 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
4971 writing into buffer.
4974 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4976 * bits/valarray_array.h (__valarray_sum): New function.
4977 * bits/valarray_array.h (__valarray_product): Same.
4979 * bits/std_valarray.h (valarray<T>::product): Comment out.
4980 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
4981 instead of accumulate.
4983 * src/valarray-inst.cc: Remove explicit intantiation of
4984 class multiplies<size_t>, accumulate, valarray<size_t>::product.
4985 * src/valarray-inst.cc (__valarray_product): Instantiate
4987 * src/valarray-inst.cc (__valarray_product(const
4988 valarray<size_t>&)): New function.
4989 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
4990 valarray<size_t>::product. Use __valarray_product instead.
4993 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
4995 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
4996 (_S_pad_char): New function. Not done: ios_base::internal.
4997 * bits/ostream.tcc: Clean for above.
4998 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
4999 specialization that was commented out, as ostreams now have to
5000 correctly deal with padding.
5001 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5003 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5004 from mailing list. This is a bug, and should be fixed.
5005 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5007 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
5009 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5010 to avoid conflict with gcc name mangling.
5011 * stl/bits/stl_algo.h (__transform): Same.
5013 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5015 * bits/ios_base.h: Change argument names.
5016 * docs/17_intro/BADNAMES: Add __opr.
5018 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5020 Work on compilation slowdowns from 10-5 to 10-12, which are
5021 related to the _Callback_list inlining/merge-ifcation, which is
5022 still a pending issue, but this stuff is necessary cleanup anyway.
5024 * src/ios.cc: Re-arrange.
5025 * bits/ios_base.h: Tweak.
5026 * bits/basic_ios.tcc: Move out of line definitions here, move
5027 small out-of-line definitions inline.
5028 * bits/basic_ios.h: From here.
5030 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5031 * bits/std_streambuf.h: From here.
5033 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5035 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5036 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5037 * bits/istream.tcc (operator>>(istream&, string&): Remove
5038 vestigial issspace hacks and use ctype::is instead.
5039 (getline): Remove unnecessary loops, fortify and pasteurize.
5042 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5044 * bits/istream.tcc (operator>>): Tweak.
5045 * bits/std_istream.h: Fix according to library issues list 68.
5048 * bits/locale_facets.h: Fix table_size to be non-zero.
5050 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5052 * src/basic_file.cc: ifdef instead of comment for binary mode
5054 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5056 * bits/std_sstream.h: Stringbuf initialization based on actual,
5057 not allocated, size.
5058 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5061 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5063 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5064 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5066 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5068 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5070 * bits/std_istream.h: Tweaks.
5071 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5072 as per issues list addition--set failbit, eof on empty buffers.
5073 * testsuite/27_io/istream_sentry.cc: New file.
5075 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
5077 * bits/std_cstdio.h: Remove Solaris hacks.
5079 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5081 * docs/index.html: Fix minor typos and tweaks.
5082 * docs/17_intro/contribute.html: Ditto.
5083 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5084 thread safety and binary I/O, links to external sites.
5085 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5088 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
5090 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5091 ::fabs(double) rather than ::abs(int).
5093 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5095 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5096 *gptr(), not the result of underflow.
5097 (pbackfail): Conform to default behavior.
5099 * bits/streambuf.tcc: Add out-of-line streambuf members.
5102 * testsuite/27_io/streambuf.cc: New file.
5103 * testsuite/27_io/filebuf.cc: Correct test.
5105 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5107 * bits/std_cmath.h: Correctly cast int to double.
5108 * testsuite/26_numerics/c_math.cc: Add test.
5110 * mknumeric_limits (OUT_C): Tweaks.
5111 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5112 trying to instantiate type_traits<wchar_t>.
5113 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5114 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5115 * configure: Regenerate.
5117 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5119 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5120 (streambuf::xsputn): Put in break.
5121 Aiming for parity between these two (mostly) similar functions.
5122 Need to re-write tests.
5124 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5125 Make data members protected, not private.
5126 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5127 ios_base.h. As called only once, collapse into . . .
5128 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5129 (basic_ios::clear): Throw ios_base::failure on occasion.
5130 (basic_ios::exceptions): Fix.
5131 * testsuite/27_io/ios_members.cc (test02): Add tests.
5133 * bits/fpos.h: Default initialize.
5134 * testsuite/27_io/fpos.cc (test03): Add test.
5136 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5138 * src/basic_file.cc: Fix open modes.
5140 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5142 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5144 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5146 * bits/streambuf.tcc: Yea. Fix this for real.
5147 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5148 * src/Makefile.*: Regenerate.
5150 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5152 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5153 files so that stdtof and strtold will be declared. Some hacks
5154 already exits in bits/std_cctype.h -- these should all be removed
5156 * bits/locale_facets.tcc: Add cstring.h include.
5157 _S_format_long: Use long, not int.
5158 Add std_limits.h include, for numeric_limits.
5159 * testsuite/27_io/istream.cc: Make instantiations work when using
5161 * testsuite/27_io/ostream.cc: Same.
5163 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5165 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5166 a reference. Same for operators == and !=.
5167 * testsuite/27_io/fpos.cc: Add tests.
5169 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5171 * bits/valarray_array.h: Fix typo.
5173 * mknumeric_limits: Make sure we are regenerating things from
5174 scratch. Otherwise things get redefined. Not good.
5176 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5178 * bits/std_ostream.h: Fix typo.
5179 * bits/std_istream.h: Same.
5180 * bits/std_iomanip.h: Same.
5182 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5183 ostream, as happens with underflow anyway.
5184 * testsuite/27_io/istream.cc (main): New file.
5185 * testsuite/27_io/ostream.cc (main): New file.
5186 * testsuite/27_io/istream_unformatted.cc: Add tests.
5188 * src/Makefile.am (headers): Add new file.
5189 * src/Makefile.in (headers): Regenerated.
5191 * bits/basic_ios.h: Remove local-related files.
5192 * bits/basic_ios.tcc: New file, add locale-related items.
5193 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5194 * testsuite/27_io/ios_members_static.cc: Change to
5195 * testsuite/27_io/ios_base_members_static.cc: This.
5196 * testsuite/27_io/ios_members.cc: New file.
5197 * testsuite/27_io/stdios_basefield_manip: Change to
5198 * testsuite/27_io/ios_manip_basefield.cc: This.
5199 * testsuite/27_io/stdios_fmtflags_manip: Change to
5200 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5202 * bits/fpos.h: Fix discarding qualifiers on this when
5203 using _M_position with a const fpos.
5204 * bits/std_iosfwd.h: Tweak.
5205 * testsuite/27_io/fpos.cc: New file.
5207 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5209 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5210 * bits/ostream.tcc: Tweak.
5211 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5212 Add new regressions.
5214 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5216 * bits/basic_ios.h: Inline, tweak.
5217 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5218 pass back accurate return value to basic_filebuf::overflow.
5219 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5220 This fixes sstream problems reported in libstdc++/9, but screws up
5221 filebufs. That solution is pending.
5223 1999-09-15 Vadim Egorov <egorovv@1c.ru>
5225 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5227 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5229 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5231 * bits/c++config.h.in: Add emacs hints.
5233 * stl/bits/stl_range_errors.h: Don't define here, for now define
5234 in stdexcept.cc along with string inlines __length_error, etc.
5235 * src/stdexcept.cc: Define here.
5236 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5237 at(size_t) will be declared/defined.
5238 (__STL_THREADS): Fix mess surrounding use of this, enable.
5240 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5242 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5243 * src/localename.cc: Tweak formatting, fix assignment to
5244 const compiler errors.
5246 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5248 * acconfig.h: Add absf, cosf.
5249 * configure.in (use_builtin_sinf): Same.
5250 * configure: Regenerate.
5251 * bits/std_cmath.h: Add mess of defines.
5252 * testsuite/26_numerics/modf_float.cc: Change to
5253 * testsuite/26_numerics/c_math.cc: This.
5255 * src/locale.cc: Change.
5256 * bits/locale_facets.h: Fix.
5257 * testsuite/22_locale/ctype.cc: Add temporary tests.
5259 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5261 * bits/fpos.h: Test.
5263 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5264 Fix database name for "libstdc++".
5266 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5268 * mknumeric_limits (numeric_limits): Add default definitions to
5270 * testsuite/18_support/numeric_limits.cc: New file.
5272 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5274 * bits/std_istream.h: Correct initialization.
5275 * bits/std_ostream.h: Likewise.
5276 * bits/std_sstream.h: Likewise.
5277 * bits/std_fstream.h: Likewise.
5278 * testsuite/27_io/stringstream.cc: Add test case.
5280 * bits/std_sstream.h: Replace ____string_type with __string_type.
5281 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5282 * bits/std_ostream.h: Tweak dtor.
5284 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5286 * src/Makefile.am (CXXFLAGS): Add -O2.
5287 * src/Makefile.in: Likewise.
5289 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5291 * mknumeric_limits (numeric_limits): Uglify.
5293 * bits/std_istream.h: Fix warnings.
5294 * bits/locale_facets.tcc: Collateral damage from
5295 char_traits<char>::int_type change.
5297 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5299 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5301 * docs/index.html: Add mailing list form.
5302 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5304 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5306 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5307 if overflow successfully allocates more space.
5308 * bits/std_sstream.h: Adjust comments.
5309 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5310 before overflow forces a resize.
5311 * testsuite/27_io/ostream_inserter_char.cc: New file.
5313 * bits/std_fstream.h: Remove declaration.
5314 * bits/fstream.tcc: Move uflow.
5315 * bits/std_streambuf.h: To here.
5316 * bits/streambuf.tcc: Make consistent.
5318 * src/Makefile.am (WERROR): Enable.
5319 * src/Makefile.in: Regenerate.
5320 * bits/sbuf_iter.h: Tweak.
5321 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5322 Use unsigned int as char_traits<char>::int_type.
5324 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5325 * testsuite/27_io/iostream_objects.cc: Terminate string.
5326 Move cin::operator>>(char*) test to extractor_char.cc.
5327 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5328 * bits/std_istream.h (basic_iostream): Make explicit definition
5330 * bits/std_sstream.h: Fix typos.
5331 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5332 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5333 initialized in a consistent manner, no matter if the underlying
5334 FILE/bit bucket is a tty or a text file or some other imaginary
5335 construct. This and setting _M_buf_size to 1 for cin allows
5336 istream::get(char) to work in a manner consistent with what others
5339 * docs/index.html: Link Stroustrup's C++ page.
5341 1999-08-12 Michael Cook <cook@sightpath.com>
5343 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5344 * bits/istream.tcc: ditto.
5345 * bits/sbuf_iter.h: ditto.
5346 * bits/std_istream.h: ditto.
5347 * src/Makefile.am: Add -Wall to CXXFLAGS.
5348 * src/Makefile.in: ditto.
5350 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5351 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5353 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5354 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5356 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5358 * testsuite/27_io/istream_unformatted.cc: New file.
5360 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5361 elaborate tests for int types with noskipws.
5363 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5364 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5365 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5366 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5367 * bits/istream.tcc: Fix operator>>(streambuf*).
5369 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5371 * docs/index.html: Remove references to egcs.
5372 * docs/17_intro/DESIGN: Same.
5373 * docs/17_intro/contribute.html: Same.
5374 * docs/17_intro/RELEASE-NOTES: Ditto.
5375 * docs/17_intro/howto.html: Same here.
5377 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5378 * stl/bits/stl_vector.h (_M_insert_aux):
5379 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5380 decimal/floating point support.
5381 * bits/locale_facets.h: Change _M_extract prototype.
5382 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5383 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5385 1999-08-10 Michael Cook <cook@sightpath.com>
5387 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5388 * bits/ios_base.h: ditto.
5389 * bits/istream.tcc: ditto.
5390 * bits/locale_facets.h: ditto.
5391 * bits/locale_facets.tcc: ditto.
5392 * bits/std_streambuf.h: ditto.
5393 * src/basic_file.cc: ditto.
5394 * src/locale.cc: ditto.
5395 * src/localename.cc: ditto.
5397 1999-08-10 Kirat Singh <singhki@jany.gs.com>
5399 * bits/std_iomanip.h: Inline.
5401 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5403 * bits/std_streambuf.h: Correct member initialization order.
5404 * src/ios.cc: Add definitions for ios_base data members.
5406 1999-08-06 Phil Edwards <pedwards@ball.com>
5408 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5409 * docs/faq/index.html: Ditto. Removed bugs sections that have
5410 been fixed for a long time... Lots of "egcs" references still
5412 * docs/faq/index.txt: Regenerated.
5414 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5415 Andreas Amann <amann@physik.tu-berlin.de>
5417 * testsuite/26_numerics/binary_closure.cc (main): new test.
5419 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5421 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5424 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5426 * docs/index.html (host): Put in testing status.
5428 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5430 * docs/index.html: Update for libstdc++-2.90.6 release.
5431 * docs/17_intro/RELEASE-NOTES (New): Update.
5432 * docs/17_intro/BUGS: Update.
5433 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5434 * README (file): Update.
5436 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5438 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5440 ($(generated_headers)): Same.
5441 * src/gen-c++config.cc: Remove, rename to
5442 * bits/c++config.h.in: New file. Bump version number.
5443 * configure.in: Generate bits/c++config.h at configure time.
5444 * math/mathconf.h: include bits/c++config.h, not config.h.
5446 * bits/std_cmath.h: Fix remaining link error for solaris shared
5447 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5448 being, as on Solaris this silently calls sinf, which does not
5451 * src/complex.cc: More tweaks.
5453 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5455 * src/complex.cc: Same.
5456 * math/complex-stub.h: Change.
5457 * math/c_log10*.c: Change back to clog10*.c.
5459 * configure.in (NEED_C_LOG10): Delete.
5460 * configure: Regenerate.
5461 * math/Makefile.am: Change.
5463 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5465 * math/Makefile.am: Fix, for real.
5466 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5467 * math/clog.c: Move to c_log.c.
5468 * math/clog*: Ditto.
5469 * math/c_log10l.c (c_log10l): Change function name.
5470 * math/c_log10f.c (c_log10f): Change function name.
5471 * math/c_log10.c (c_log10): Change function name.
5473 * math/complex-stub.h: Change to c_log* variants.
5474 * src/complex.cc: And here.
5476 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5478 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5479 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5480 sequence, just the output sequence.
5481 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5482 the original string, all others use complicated heuristic.
5484 * src/complex.cc: Assume c_log10.
5485 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5486 symbols in shared libraries by making c_log/c_log10 part of the
5487 "must cmpile" sources. This may not work on solaris, must check.
5489 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5491 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5492 * bits/std_istream.h: Fix char extractors.
5493 * testsuite/27_io/istream_extractor_char.cc: Change.
5494 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5496 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5498 * bits/std_cctype.h: Fix for solaris2.6 builds.
5500 * bits/istream.tcc: Fix, thanks Alfred.
5501 * bits/std_istream.h: Formatting changes.
5503 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5504 _IO_cleanup will not be undefined.
5505 * libio/*: Regenerate.
5507 * bits/basic_string.h: More namespace-safety stuff.
5508 * testsuite/27_io/istream_extractor_char.cc: Fix.
5509 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5510 * testsuite/27_io/iostream_objects.cc: Fix.
5511 * testsuite/27_io/ios_ctor.cc: Fix.
5512 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5513 * testsuite/27_io/istream_extractor_other.cc: New file.
5515 * mkcheck (TESTS_FILE): Tweaks.
5517 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5519 * src/gen-c++config.cc: Note here, change version.
5520 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5521 * src/locale.cc: Used here.
5522 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5524 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5526 * bits/istream.tcc: Fix.
5527 * bits/std_istream.h: More changes to extractors.
5529 * testsuite/27_io/istream_extractor_char.cc: More.
5530 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5531 error in testsuite construction.
5533 * bits/std_istream.h: Partially revert.
5534 * bits/std_ostream.h: Same.
5535 * bits/std_sstream.h: Revert.
5537 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5539 * bits/std_sstream.h: Change initialization.
5540 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5541 * bits/std_istream.h: Same, also correct sentry args.
5542 * bits/istream.tcc: Add correct sentry args.
5544 * testsuite/27_io/istream_extractor_char.cc: New file.
5545 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5546 name changes making me dizzy.
5548 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5549 Benjamin Kosnik <bkoz@cygnus.com>
5551 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5554 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5556 * bits/std_complex.h: Tweak. Make the primary template class
5557 complex work with user-defined numerical types. Provide member
5558 definitions. Restructure.
5559 (class complex<float>): Uglify. Remove __value(). Rename __val
5560 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5561 private. Remove dependency on __value(). Fix various explicit
5562 specialization syntax. Declare a some functions friend. Now the
5563 implementation is nearly comforming.
5564 (class complex<double>): Likewise.
5565 (class complex<long double>): Likewise.
5567 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5568 (sin, sinh, tan, than): Fix call to corresponding C9x function
5571 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5573 * bits/istream.tcc (ws): Fix error with failbit being set.
5575 Disabled due to egcs/gcc-2_95 internal compiler errors.
5576 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5577 -fnew-exceptions. Compiling with namespaces enabled will now be
5579 * mkcheck (CXX_FLAG): Same.
5580 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5581 * bits/std_cctype.h: Not enough to just define in namespace std if
5582 ctype-isms are macros. Need to also define in namespace std:: if
5583 the C functions are just plain functions.
5585 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5587 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5589 * docs/18_support/howto.html: Start documentation. Need to keep
5590 track of the ongoing discussion in th LWG reflector.
5592 * src/gen-num-limits.cc: Tweak.
5593 (class predicate): New class.
5594 (class value): Likewise.
5595 Make the whole machinery more flexible. Add comments.
5597 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5599 * bits/ios_base.h: Move state/exception functions into basic_ios.
5600 * bits/basic_ios.h: Same.
5601 * src/ios.cc: And here. Callbacks don't attempt to reset
5604 * bits/std_streambuf.h: Separate ios and streambuf locale data
5605 members and cached facets. Using this convention: _M_locale_buf for
5606 the streambuf-related classes, and _M_locale_ios for the ios
5608 * bits/fstream.tcc: And here.
5609 * bits/basic_ios.h: And here. Also, add cached ctype.
5610 * src/ios.cc: Ditto.
5611 * bits/ios_base.h: Ditto.
5612 * bits/std_istream.h: Use cached ctype facet.
5613 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5616 * testsuite/27_io/ios_ctor.cc: New file.
5617 * src/ios.cc: Move _M_state init to basic_ios::init().
5618 * bits/basic_ios.h: To here.
5620 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5621 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5622 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5623 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5624 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5626 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5628 * src/ios.cc: Tweak initializations of standard iostream
5629 objects to closely match the standard. Tie cin/wcin, set flags on
5631 * bits/char_traits.h: Change from size_t to int_type, as per
5632 standard. As per wide streams.
5633 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
5634 for caching a bunch of ctype info. For instance, ctype_base::space
5635 info needs to be stored somewhere, somehow.
5636 * bits/std_istream.h: Also here.
5637 * bits/std_ostream.h: Ditto.
5638 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
5639 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
5642 * bits/istream.tcc (ws): Fix.
5643 * testsuite/27_io/istream_manip.cc: New file, test ws.
5644 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
5646 * bits/basic_string.h: Provide a specialized member function for
5647 _S_find<char> using strchr.
5648 * src/string-inst.cc: Put specializations here.
5649 * bits/string.tcc: Small fix for find, remove typo.
5650 * testsuite/21_strings/find.cc (test01): Add tests to catch this
5653 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5655 * bits/basic_ios.h: Put into basic_ios namespace.
5658 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5660 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
5661 adjust _M_*_cur pointers inside the function, so callee doesn't
5663 * bits/sstream.tcc (stringbuf::overflow): Tweak.
5665 * mkcheck: Tweak. Add execution time field, even though it is not
5666 implemented yet. Simplify pass/fail status notation.
5668 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
5670 * configure.in: Check for float.h and underscored version of
5672 * acconfig.h: Add @BOTTOM@ section for handling underscored
5674 * configure: Regenerate.
5675 * config.h.in: Regenerate.
5676 * math/mathconf.h (float.h): Include conditionally.
5677 (M_PI): Define conditionally.
5678 (INFINITE_P): Define for Mingw.
5679 * bits/locale_facets.tcc: Workaround for compiler crash on
5681 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
5682 * src/locale.cc (bits/std_istream.h): Include.
5683 (bits/std_ostream.h): Likewise.
5685 1999-07-18 Phil Edwards <pedwards@ball.com>
5687 * docs/faq/index.html: Updated __black_count notes, fixed typos.
5688 * docs/faq/index.txt: Regenerated.
5690 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5692 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
5694 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
5695 newly-allocated buffer.
5696 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
5697 overflow condition bits.
5699 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
5701 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
5702 _M_buf_size to initial _M_string.size(), even though for
5703 ostringstreams it is pretty pointless. It's necessary for
5705 (stringbuf::str()): Adjust.
5706 (stringbuf::str()): Adjust, call _M_init_stringbuf.
5707 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
5708 overflow's possible success.
5709 (streambuf::xsputn): Adjust.
5711 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
5713 * testsuite/27_io/stringbuf.cc: Tweak.
5714 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
5716 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
5717 with other constructor tests to. . .
5718 * testsuite/23_containers/vector_ctor.cc: New file.
5720 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
5722 * testsuite/*: Changes to make the testsuit compilable with
5723 -fhonor-std. Contains direct qualification of library names with
5726 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5728 * bits/streambuf.tcc: Tweaks.
5729 (streambuf::xsputn): Optimize, fix for sstreams.
5730 (streambuf::xsgetn): Same.
5731 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
5732 correctly, handle overflow/reallocate conditions correctly.
5733 * bits/std_sstream.h: Fix typo.
5734 _M_init_stringbuf(): Fix _M_buf_size initialization.
5735 (stringbuf::str()): Construct return string if output has occurred.
5737 * bits/basic_string.h: Fix typo from yesterday's patch.
5739 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5741 * bits/string.tcc: _M_mutate - clear _M_state again.
5742 * bits/basic_string.h: In the three functions that return
5743 an iterator set _M_state to -1 before return.
5744 Also optimized two cases of operator+.
5746 1999-07-12 Phil Edwards <pedwards@ball.com>
5748 * docs/index.html: Expand egcs-1.1.2 notes/links.
5749 * docs/faq/index.html: And here. Add links to LWG issues-list.
5750 * docs/faq/index.txt: Regenerate. (lynx rocks)
5751 * docs/21_strings/howto.html: Fix notes on case conversion.
5752 * docs/21_strings/stringtok_h.txt: Goodly spelling...
5753 * docs/23_containers/howto.html: Stub for bitmasks.
5754 * docs/27_io/howto.html: Add section on buffering, stub binary.
5756 1999-07-12 Nathan Myers <ncm@cantrip.org>
5758 * stl/bits/stl_tree.h (__black_count): Optimize.
5760 1999-07-09 Vadim Egorov <egorovv@1c.ru>
5762 * src/basic_file.cc: Cleanup in __basic_file destructor.
5764 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
5766 * bits/std_streambuf.h: Changes. . .
5767 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
5768 basic_streambuf, to be used for both filebufs and streambufs.
5769 * bits/std_fstream.h (_M_init_filebuf): New function.
5770 Take out specialized xsputn, put into basic_streambuf.
5771 * bits/fstream.tcc: Define, call from both ctors.
5772 * bits/std_sstream.h (_M_init_stringbuf): New function.
5773 * bits/sstream.tcc: Tweak.
5775 * docs/27_io/iostreams_heirarchy.pdf: New file.
5777 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
5778 acceptance. Wooo-hoo!
5780 * bits/char_traits.h: Change int_type for char_traits general
5781 template, so that 21_strings/capacity.cc will compile.
5782 * testsuite/21_strings/capacity.cc: Add operators.
5784 * bits/string.tcc (string::compare): Clean up, re-implement.
5785 * testsuite/21_strings/compare.cc: Tweak.
5787 * bits/string.tcc (string:_M_mutate): Keep leaked value in
5788 _M_state, which means that whenever begin() or end() has been
5789 called, the string is unshareable, period. By doing this, insert
5790 and erase member functions that return iterators can remain
5791 footloose and fancy free.
5792 * testsuite/21_strings/invariants.cc: Update.
5794 * bits/basic_string.h (string::append): Fix self-referential
5795 problems, ie when "this" is also an argument to a member function.
5796 * bits/string.tcc: Tweak, same.
5797 * testsuite/21_strings/append.cc: New file.
5799 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
5801 * bits/char_traits.h: Tweaks.
5802 * bits/basic_string.h: Tweak.
5803 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
5805 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
5807 * bits/std_streambuf.h: Absorb/acquire data members previously
5808 working in basic_filebuf.
5809 * bits/streambuf.tcc: Tweaks.
5810 * bits/fstream.tcc: Adjust.
5811 * bits/std_fstream.h: Move and rename the following functions:
5812 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
5813 now declared and defined in the base class, basic_streambuf. Oh
5814 fuck it, move data members _M_buf, and _M_buf_size into
5815 basic_streambuf as well.
5817 * bits/ostream.tcc: Tweak.
5818 * bits/locale_facets.tcc: Fix typo in comments.
5820 * testsuite/21_strings/inserters_extractors.cc (test01): Change
5821 state from good to not good, as eof() is set.
5823 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
5825 * bits/char_traits.h (char_traits::compare). Fix.
5827 * config.guess, config.sub: Update.
5829 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5831 * bits/string.tcc: Check the __res_arg for a length error.
5833 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
5835 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
5836 and related functions into basic_streambuf, from basic_filebuf to
5837 take care of ostringstreams and empty strings. So that's groovy,
5839 * bits/std_istream.h: Tweaks.
5840 * bits/istream.tcc: Implement ws, getline, operator>> for string.
5841 * bits/std_ostream.h: And here.
5842 * bits/ostream.tcc: Same.
5843 * src/misc-inst.cc: Add instantiations for ws.
5845 * src/string-inst.cc: Add instantiations for inserters and
5846 extractors (operators << and >>, getline).
5848 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
5849 a testcase for getline and operators << and >>. Ostream tests are
5850 failing right now, but istream tests should work. . .
5852 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
5853 * bits/std_sstream.h: Revert.
5855 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
5856 istream, ostream, streambuf, fstream, sstream].cc: New files.
5858 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5860 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
5863 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
5864 specializations for _CharT*, iterator and const_iterator.
5865 * src/string-inst.cc: Remove explicit instantiation, as
5866 now explicitly specialized.
5868 * bits/basic_string.h: Add a size_type parameter to _M_clone with
5869 a default value set to 0.
5870 * bits/string.tcc: In _M_clone by the call of _S_create add the
5871 value of the new parameter to _M_length. In reserve check
5872 _M_state and use _M_clone instead of _M_mutate.
5874 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
5876 * bits/basic_string.h: Fix _S_max_size.
5877 * bits/string.tcc: Add def here.
5878 * testsuite/21_strings/insert.cc: Fix.
5880 * bits/sbuf_iter.h: Remove detritus.
5881 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
5883 * src/locale-inst.cc: Elaborate iterator/locale instantiations
5884 to resolve alpha-osf4 build problems.
5886 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
5888 * bits/string.tcc: Fix signed/unsigned issues in compares.
5889 * stl/bits/stl_deque.h: And here.
5890 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
5892 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5894 * bits/string.tcc: New implementation and interface of _M_mutate.
5895 Adapt the change in all functions that call _M_mutate.
5896 * bits/basic_string.h: And here.
5898 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
5900 * testsuite/21_strings/capacity.cc (test01): Fix.
5902 1999-06-29 Phil Edwards <pedwards@ball.com>
5904 * mknumeric_limits: Exit script if gen-num-limits isn't built.
5906 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
5908 * stl/bits/stl_vector.h: Fix.
5909 * testsuite/23_containers/vector_cons.cc: Add.
5911 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5913 * mknumeric_limits (LDFLAGS): fix.
5915 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5917 * mknumeric_limits (LDFLAGS): set it according to the system.
5919 * math/mathconf.h (NAN): Check whether host is running under
5920 Cygwin and make the appropriate definition.
5921 * math/complex-stub.h (nan): protect declaration.
5923 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
5925 * bits/sbuf_iter.h: Rename internal data structure to prevent
5926 confusion between basic_ios and istreambuf_iterators internal
5927 basic_streambuf data member.
5928 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
5930 * bits/basic_string.h: Remove conditionals, add input_iterator
5931 version of S_construct again.
5932 * bits/string.tcc: Same.
5933 * src/string-inst.cc: And add explicit instantiation here.
5935 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
5936 and __USE_GNU macro defines, as single __USE_GNU use leading to
5937 confusion on glibc2.1 systems (ie, RedHat 6.0).
5939 * src/Makefile.am (headers): Add std_utility to installed headers.
5941 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
5943 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
5945 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
5947 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
5949 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5951 * src/gen-c++config.cc (_GLIBCPP_*): Change all
5952 macros to include _GLIBCPP as a distinct namespace.
5956 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
5957 * bits/basic_string.h: Remove __get_c_string.
5958 * src/stdexcept.cc: Define ctor here.
5959 * bits/ios_base.h: And fix ios_base::failure as well.
5960 * src/ios.cc: Define here.
5962 * bits/std_streambuf.h: Add a private copy ctor and assignment
5963 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
5964 * bits/ios_base.h: And here too.
5966 * bits/basic_string.h: Tweak.
5967 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
5969 * src/valarray.cc: Rename to. . .
5970 * src/valarray-inst.cc: This.
5971 * src/Makefile.am (sources): Change here.
5972 * src/Makefile.in: Regenerated.
5974 1999-06-24 Vadim Egorov <egorovv@1c.ru>
5976 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
5979 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5980 Tom Tromey <tromey@cygnus.com>
5982 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
5983 Use AM_CONDITIONAL to get us out of this jam. .
5984 * libio/Makefile.am: Same.
5985 * */Makefile: Regenerated.
5987 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5988 John Potter <jpotter@eagle.lhup.edu>
5990 * stl/bits/stl_tree.h (insert_equal): Fix.
5991 * testsuite/23_containers/multiset.cc: New file.
5993 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
5995 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
5996 this works correctly on glibc-2 systems. This should allow
5997 simplified linking on these systems, and successful linking on Red
5999 * configure, Makefile: Regenerate.
6001 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6003 * testsuite/ext: New directory.
6004 * testsuite/ext/headers.cc: New file.
6006 1999-06-23 Vadim Egorov <egorovv@1c.ru>
6008 * stl/ext/hash_set: include missing headers
6009 * stl/ext/hash_map: Same
6010 * stl/ext/slist: Same
6012 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6014 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6016 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6018 * src/Makefile.am (sources): Regenerate.
6019 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6022 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6024 * src/string-inst.cc: Change _S_construct signature, to
6025 track requested allocation size versus valid input iterator range.
6026 * bits/basic_string.h: Here too.
6027 * bits/string.tcc: And here.
6029 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6031 * mkcheck (LOG_FILE): Correctly append errors.
6033 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6035 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6036 to clarify differences between basic_string::_M_data() calls and
6037 _Rep::_M_data() calls.
6038 * bits/std_string.h: Fix.
6039 Put in check for out_of_range in substr.
6040 * bits/string.tcc: Fix for _S_find.
6042 * testsuite/21_strings/compare.cc: Add tests.
6043 * testsuite/21_strings/find.cc: New file.
6044 * testsuite/21_strings/substr: New file.
6045 * testsuite/21_strings/replace.cc: New file.
6047 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6049 * bits/valarray_array.h: __restrict__ify pointers.
6051 * bits/std_valarray.h: Tweak.
6052 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6054 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6056 * bits/gslice.h: Tweak.
6057 (class gslice::_Indexer): new class.
6058 (gslice::gslice(const gslice&)): implement copy-ctor to support
6060 (gslice::operator=(const gslice&)): support ref-counted index.
6061 (gslice::_M_convert_to_index): delete.
6063 * src/valarray.cc: New file.
6064 (__gslice_to_index): turn a gslice into a valarray<size_t>
6065 (ctor gslice::_Indexer::_Indexer): implement.
6067 * src/Makefile.am (sources): add valarray.cc
6068 * src/Makefile.in: regenerate.
6070 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6072 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6073 ctor): Put in a const_cast.
6075 * testsuite/21_strings/invariants.cc: New file.
6077 * testsuite/21_strings/insert.cc: Add exception handling bits.
6078 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6080 * src/wstring-inst.cc: Add c++config.h include.
6082 * bits/basic_string.h: Fix const operator[] for size == pos.
6083 Add _M_leak for rbegin, non-const.
6084 Add _M_leak for rend, non-const.
6085 Make member function at standards conformant.
6086 Add _S_terminal to _Rep for operator[] const, add this into
6088 * bits/string.tcc: Add static member definition here,
6091 * testsuite/21_strings/element_access.cc: Add tests.
6093 1999-06-08 Vadim Egorov <egorovv@1c.ru>
6095 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6098 1999-06-08 Phil Edwards <pedwards@ball.com>
6100 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6101 caused when __testinit is true.
6102 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6103 using rdbuf()->sputn rather than _M_fnumput->put.
6105 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6107 * testsuite/23_containers/bitset_ctor.cc: New file.
6108 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6110 1999-06-08 Phil Edwards <pedwards@ball.com>
6112 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6114 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6116 * testsuite/21_strings/element_access.cc: Finish off these tests.
6117 * testsuite/21_strings/insert.cc (test01): Uncomment.
6118 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6119 * bits/basic_string.h: Tweak, okay, fix for real this time.
6120 * bits/string.tcc: Same.
6121 * bits/char_traits.h: Tweak.
6123 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6125 * bits/std_cmath.h: Example of how to use the generated macro.
6126 * acconfig.h: Add macro for sinf here.
6127 * configure.in (LIBS): Add test for builtin math function sinf.
6128 * configure: Regenerated.
6130 * bits/basic_string.h: Fix _S_max_size.
6132 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6134 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6135 Remove _S_construct signature for forward_iterator_tag and
6138 * src/string-inst.cc: Same, tweaks.
6139 * bits/string.tcc: Same, tweaks.
6141 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6142 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6143 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6146 * src/locale.cc: Final separation for char/wchar_t bits.
6148 1999-06-05 Phil Edwards <pedwards@ball.com>
6150 * docs/index.html: Added link to book upon request'n'agreement.
6151 * docs/23_containers/wrappers_h.txt: Added.
6152 * docs/{23_containers,27_io}/howto.html: Added sections.
6154 * bits/std_fstream.h: Tweak.
6156 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6158 * src/ios.cc: Same here.
6159 * bits/std_iosfwd.h: More wchar_t defines.
6161 * bits/basic_string.h: Tweaks.
6162 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6163 when doing error checking, as per LWG defect #83.
6165 * src/gen-c++config.cc: Fix comment.
6167 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6169 * testsuite/21_strings/element_access.cc: New file, checks for
6170 operator[], at(...).
6171 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6172 * testsuite/21_strings/char_traits.cc: New file, tests
6173 for char_traits<char>.
6175 * bits/utility.h: Remove, again.
6176 * src/Makefile.am (std_headers): Remove utility.h.
6177 * src/Makefile.in (std_headers): Regenerate.
6179 Alfred Minarik <a8601248@unet.univie.ac.at>
6180 * bits/basic_string.h: Move __out_of_range and __length_error into
6183 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6185 * testsuite/26_numerics/modf_float.cc: New file.
6187 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6188 typo: use ::modff, not ::modf.
6190 1999-06-03 Vadim Egorov <egorovv@1c.ru>
6192 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6194 * testsuite/21_strings/capacity.cc (test01): Test.
6196 1999-06-03 Phil Edwards <pedwards@ball.com>
6198 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6199 unused variables to within #if 0 blocks to do the same.
6200 * bits/std_fstream.h: Fix typos (one prevents compilation).
6202 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6204 * src/wstring-inst.cc: Fix.
6206 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6208 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6209 * stl/bits/stl_string_fwd.h: Same.
6210 * bits/locale_facets.h: Same.
6211 * bits/locale_facets.tcc: Same.
6212 * src/wstring-inst.cc: And here.
6214 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6215 problems on HPUX 10.20.
6216 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6217 here as a temporary hack till the compiler/host problems get
6220 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6221 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6222 converting "long double" to struct long_double. Probably should be
6223 done with one macro (HAVE_STRTOLD) at configure time.
6225 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6226 gives re-declaration under hpux10.20. Revert previous change, as
6227 kills linux/x86, solaris 2.7, hpux builds. These should be done
6228 using autoconf, see std_cctype.h and the solutions started in
6229 configure.in (see config.h for the generated file.)
6231 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6232 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6235 * docs/index.html: Add some useful links.
6236 * docs/17_intro/contribute.html: Fix broken links.
6238 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6240 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6241 paths. The rest of the world should be able to run this script
6244 * src/Makefile.am ($(generated_headers)): Remove comment.
6245 * Makefile*: Regenerate.
6247 * bits/std_locale.h: Remove detritus.
6248 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6251 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6253 * src/gen-c++config.cc: New file. Making c++config.h at configure
6254 time by catting this file (nee bits/config.h) with the build
6255 directories config.h. This is not a complete or perfect solution
6256 but is better than what was in place previously.
6257 * bits/c++config.h: Rename/move to above.
6258 * src/Makefile.am (headers): Remove c++config.h.
6259 (myinstallheaders). Add.
6260 * Makefile*: Regenerated.
6262 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6263 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6264 declared only if not present in the host's wchar.h.
6266 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6268 * bits/std_cmath.h: Define out, for the moment. Linux has no
6269 __buitin_fsqrtl? Probably need some kind of configure trickery
6272 * src/Makefile.*: Regenerate.
6273 * bits/c++config.h: Add config.h include.
6275 * bits/std_cwchar.h: Remove remaining #error guard.
6277 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6279 * configure.in (LIBS): Replace previous effort for mbstate_t and
6280 strtold/strtof with this implementation.
6282 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6284 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6287 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6289 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6290 for determining mbstate_t differences across various hosts not
6293 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6295 * bits/locale_facets.tcc: Change to ifdef.
6297 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6298 * bits/std_fstream.h (filebuf::setbuf): Same.
6300 * bits/std_istream.h: Add ws declaration.
6301 * bits/istream.tcc: Stub out definition.
6303 * docs/index.html: Fix broken link for design.txt.
6305 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6306 then set _G_NEED_MBSTATE_T.
6307 * configure: Regenerate.
6308 * bits/c++config.h: Move mbstate_t define.
6309 * bits/std_cwchar.h: To here.
6311 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6313 * bits/std_sstream.h:
6314 basic_stringbuf<>::basic_stringbuf: fix.
6315 basic_stringbuf<>::setbuf:
6316 remove the temporary __string_type object,
6317 remove the unnecessary dynymic_cast in the return value,
6318 change the type of the returned value from __streambuf_type*
6319 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6321 1999-05-25 Phil Edwards <pedwards@ball.com>
6323 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6325 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6327 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6328 in <math.h>. <cmath> still incomplete and incorrekt.
6330 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6332 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6334 1999-05-23 Phil Edwards <pedwards@ball.com>
6336 * docs/17_intro/howto.html: Added links to text docs,
6338 * docs/21_strings/howto.html: Updated sections and links.
6339 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6340 * docs/faq/index.html: Updated what-works for sixth
6341 snapshot. Also a number of "internal" links have been
6342 fixed, now that the web pages are the docs directory...
6343 * docs/faq/index.txt: Regenerated.
6345 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6347 * bits/basic_string.h: Add Nathan's documentation on the string class.
6349 * testsuite/27_io/ios_members_static.cc: New file, for testing
6350 ios_base::sync_with_stdio.
6352 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6354 * bits/std_locale.h: Simplify includes.
6355 * bits/loccore.h: Delete.
6356 * bits/localefwd.h: Renamed, trimmed.
6357 * bits/locfacets.h: Delete.
6358 * bits/locale_facets.h: Rename, expanded.
6359 * bits/loccore.tcc: Deleted.
6360 * bits/locfacets.tcc: Deleted.
6361 * bits/locale_facets.tcc: Resultant merge.
6362 * bits/std_fstream.h: Modify include.
6363 * bits/ostream.tcc: Same.
6364 * bits/istream.tcc: Same.
6366 * src/locale-inst.cc: And here.
6367 * src/locale.cc: Ditto.
6368 * src/Makefile.am: Updated.
6369 * src/Makefile.in: Rengenerated.
6371 * bits/std_istream.h: Move istream::sentry ctor definition.
6372 * bits/istream.tcc: Move istream::sentry ctor here.
6373 Add more detailed locale include here for ctype member functions.
6374 * bits/ostream.tcc (std): And here.
6376 * bits/sbuf_iter.h: Include std_streambuf.h
6378 * bits/locfacets.h: Start separating this into a localeimp.h file.
6379 * bits/loccore.h: Start separating this into a localefwd.h file.
6380 Add std_climits for CHAR_BIT.
6382 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6384 * bits/char_traits.h: Tweak.
6386 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6388 * bits/std_ostream.h: Remove c++config.h include.
6389 * bits/std_istream.h: Same.
6390 * bits/std_streambuf.h: Same.
6391 * bits/std_fstream.h: Same.
6392 * bits/std_sstream.h: And here.
6394 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6395 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6396 * bits/fpos.h: Tweak, format.
6398 * std/ciso646: New file.
6399 * bits/std_ciso646.h: New file.
6400 * src/Makefile.am (std_headers): Add ciso646.
6401 (headers): Add bits/std_ciso646.h.
6402 * src/Makefile.in: Regenerate.
6403 * testsuite/17_intro/header_ciso646.cc: New file, disable
6406 * bits/fpos.h: Remove libio.h include.
6407 * bits/basic_file.h: And here.
6408 * bits/std_ios.h: Put here.
6410 * src/ios.cc: Simplify includes, tweak.
6411 * bits/std_ios.h: Simplify include order.
6412 * bits/ios_base.h: Modify ios_base::failure.
6414 * stl/bits/std_numeric.h: Change include from stl_iterator to
6417 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6419 * std/iostream: Remove static member __ioint.
6420 * bits/std_iostream.h: Put here.
6422 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6423 * stl/bits/stl_algobase.h: Same.
6424 * testsuite/27_io/iostream_objects.cc: Regression tests.
6425 * testsuite/27_io/hello.cc: Remove, subset of above.
6427 1999-05-19 Phil Edwards <pedwards@ball.com>
6429 * docs/index.html: Tweak, update.
6431 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6433 * docs/17_intro/RELEASE-NOTES: remove outdated
6434 documentation about numeric_limits. Correct CXXINCLUDE setting
6437 1999-05-18 Phil Edwards <pedwards@ball.com>
6439 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6440 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6441 27_io}/howto.html: Created, with some initial entries.
6442 * docs/faq/index.html: Fixed some links.
6443 * docs/faq/index.txt: Regenerated.
6445 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6447 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6449 * docs/17_intro/RELEASE-NOTES: Update.
6450 * docs/index.html: Correct link to mailing list help page, update News.
6451 * docs/faq/index.html: Change fifth to sixth for snapshot.
6453 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6454 install $(top_builddir)/bits/std_limits.h into
6455 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6456 Makefile.am changes.
6457 * *Makefile*: Regenerate using automake.
6459 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6460 * testsuite/27_io/filebuf.cc: Same.
6462 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6464 * docs/17_intro/CHECKLIST: update.
6465 * docs/17_intro/TODO: update.
6467 1999-05-17 Phil Edwards <pedwards@ball.com>
6469 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6470 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6471 27_io}/howto.html: Created, with some initial entries.
6472 * docs/faq/index.html: Fixed some links.
6473 * docs/faq/index.txt: Regenerated.
6475 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6477 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6478 * Makefile.in*: Regenerate.
6480 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6482 * bits/std_streambuf.h: Same.
6484 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6485 * bits/locfacets.h (std): Same.
6486 * bits/sstream.tcc: Same.
6487 * testsuite/27_io/stringstream.cc: Tweak.
6489 * testsuite/27_io/filebuf.cc: Adjust.
6490 * testsuite/21_strings/capacity.cc (test01): Add more
6491 string::reserve tests.
6493 * bits/c++config.h: Remove broken CCTYPE.
6494 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6495 sequestered topper implementation.
6496 * bits/std_cwctype.h: Same.
6498 * bits/missing.h: Remove.
6499 * bits/std_locale.h: Remove missing.h include.
6501 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6503 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6504 INCLUDES: Add top_builddir.
6505 * src/Makefile.in: Regenerate.
6507 * Makefile.am: Add check and check-install as new targets.
6508 * testsuite/make_check_libfree++: Move to. . .
6510 * configure.in: Tweak versions.
6511 * mknumeric_limits: Set paths correctly.
6513 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6515 * src/Makefile.in (myinstallheaders): add rule to install
6518 * bits/slice.h (class slice): don't const-qualify data members
6519 since the copy and assignment operator is implicitly used. The
6520 valarray specification is definitively a bad one.
6522 * Makefile.in (generate-limits-sources): fix typo.
6524 * docs/text/TODO: update.
6525 * docs/text/CHECKLIST: update.
6527 * bits/gslice.h (gslice): fix bugglet.
6528 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6531 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6532 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6533 [Note: **/Makefile.in should be generated from the corresponding
6534 Makefile.am. The current situation is a litte chaotic. ]
6536 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6538 * mknumeric_limits: tweak.
6540 * Makefile.in (all): add target generate-limits-sources.
6541 (generate-limits-sources): make a directory bits/ in top_builddir
6542 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6543 directly under $(top_builddir)/src. Remains to put the appropriate
6544 rule for installing std_limits.h.
6546 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6547 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6548 now generated at build-time in the build directory
6549 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6550 * src/Makefile.am: reflect changes in src/Makefile.in
6552 1999-05-12 Phil Edwards <pedwards@ball.com>
6554 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6555 all but one empty entry. Add links for HOWTOs, but no files yet.
6556 (Corrected HOWTO links are for bkoz's new scheme.)
6557 * docs/faq/index.txt: Regenerated.
6559 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6561 * testsuite/17_intro/headers.cc: New file.
6562 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6563 * bits/std_cwctype.h: New file.
6565 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6567 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6569 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6570 Check __USE_MALLOC before defining specializations containing
6571 __default_alloc_template.
6572 * src/stl-inst.cc: Here too.
6574 * bits/basic_string.h: Change.
6576 * testsuite/make_check_libfree++: More tweaks.
6577 * testsuite/21/capacity.cc: New file.
6579 * src/string.cc: Rename to be consistent with other inst files.
6580 Rename to string-inst.cc.
6581 * src/string*.cc: Change include.
6582 * src/wstring.cc: Rename to wstring-inst.cc.
6583 * src/wstring*.cc: Ditto.
6584 * src/Makefile.in: Also here.
6585 * src/Makefile.am: Ditto.
6587 * src/traits.cc: Remove.
6588 * src/wtraits.cc: Same.
6590 Try a new way of organizing documentation, one with synchronicity
6591 between testsuites and docs subdirectories, and see who yelps.
6592 * docs/html: Remove, use chapter and subject specific directories
6593 instead of forcing things immediately into format of
6597 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6598 directory and sort by filename and extension.
6599 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6600 22_locale, 23_containers, 24_iterators, 25_algorithms,
6601 26_numerics, 27_io: Add.
6602 * docs/17_intro/*: Populate with all the text files. . .
6603 * docs/index.html: Construct.
6605 * testsuite/*: Update with same names as the docs subdir.
6606 * testsuite/results: Where to stash conformance results for the
6607 different snapshots, so that progress/size/speed issues can be
6610 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6612 * src/string.cc: Add _S_copy_chars instantiation, as well as
6613 string::binary operators !=, ==, etc.
6615 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6616 * src/Makefile.in (CXXFLAGS): Same here.
6617 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6619 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6621 * src/string.cc: Add missing member functions to instantiation list.
6623 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6625 * src/misc-inst.cc: Remove unused string instantiations.
6627 * bits/string.tcc: Tweak, fix.
6628 * bits/basic_string.h: Format. Fix reported error with c_str().
6630 * testsuite/make_check_libfree++: Tweak for shared builds.
6631 * testsuite/21/operations.cc: New file for testing c_str() etc.
6633 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
6634 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6636 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
6637 an iterator class. Delineate pointer versus iterator differences
6639 * 23/vector_capacity.cc: New file, tests for above.
6641 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6643 * mknumeric_limits: Fix typo. 'unsigned lont' should read
6645 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
6646 generated by mknumeric_limits to the list. Now std_limits.h is
6648 * src/Makefile.in (generate-numeric-limits): new target to handle
6649 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
6650 (all): add target generate-numeric-limits.
6651 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
6652 (libstdc___la_SOURCES): add limitsMEMBERS.cc
6654 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6657 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
6658 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
6659 * bits/locfacts.h: Here.
6661 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6662 Ulrich Drepper <drepper@cygnus.com>
6664 Solaris build issues.
6665 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
6668 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
6669 float overloads to use the above macros. Account for the lack of
6670 strtold on some systems, and revert back to using sscanf.
6672 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6674 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
6675 Use strtoul/strtoull for unsigned types. Check the ranges for
6676 short/unsigned short and if necessary for int/unsigned int.
6678 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
6680 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
6681 to generate bits/std_limits.h now, as the SGI std_limits.h is
6682 being depricated. Not done, but should be done immediately: need
6683 to make sure this script is run as part of the configuration
6684 process, because without it "make" in a configured build directory
6685 will fail. Also tweaked: added a space for float_round_style, and
6686 used static_cast of zero to default-initialize, which should be ok
6687 according to the standard. (see 8.5 p5 and 20.1.3).
6688 * mknumeric_limits (OUT_C): Need this for x86 long
6691 * bits/basic_file.h: Include libio.h, not libioP.h.
6692 * src/basic_file.cc: And add libioP.h include here, so that
6693 _IO_init, et. al are well-declared.
6695 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
6696 headers, not source directory headers.
6698 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
6699 for ext/*. Also add basic_file.h.
6700 * src/Makefile.in (headers): Same.
6702 * bits/std_string.h: Reduce dependencies for faster
6703 pre-processing. Move istream and ostream specific defines into
6704 istream.tcc and ostream.tcc respectively.
6705 * bits/string.tcc: And here.
6706 * bits/basic_string.h: Move getline inline out-of-line, and to
6708 * bits/istream.tcc: Move string::getline and operator>> here.
6709 * bits/ostream.tcc: And here too.
6711 * bits/utility.h: Remove, as clashes with a standard header. Put
6712 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
6713 being, until this can be combined with SGI's approach.
6714 * bits/string.tcc: Add macros, as above.
6715 * bits/loccore.h: Add _Count_ones defines.
6716 * bits/std_string.h: And here too.
6717 * bits/std_locale.h: And here.
6718 * bits/std_ios.h: Take out include here.
6719 * src/Makefile.am (headers): Remove utility.h
6720 * src/Makefile.in (headers): Remove utility.h
6722 * stl/bits/*: Update to SGI STL 3.20.
6723 * stl/ext/pthread_alloc: Delete this file.
6725 1999-05-04 Phil Edwards <pedwards@ball.com>
6727 * docs/faq/html/index.html: Add more entries
6728 * docs/faq/html/index.txt: regenerated.
6730 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6732 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
6734 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
6736 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
6737 from Ulrich and Nathan. Remove extraneous string class usage,
6738 tweak, clean, simplify and consolidate with a eye towards removing
6739 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
6740 Not done: dealing with leading zeros, wchar_t work.
6741 * bits/locfacets.h: And here too.
6745 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6748 * docs/faq/: New directory.
6749 * docs/faq/html/: Likewise.
6750 * docs/faq/text/: Likewise.
6751 * docs/faq/html/index.html: New file.
6752 * docs/faq/html/index.txt: Likewise. Generated from
6753 docs/faq/html/index.html by lynx.
6755 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
6756 Ryszard Kabatek and Branko Cibej
6758 * bits/locfacets.tcc: Modify.
6760 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
6762 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
6763 conformant to 14882, wrap non-standard extensions with
6764 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
6765 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
6767 * testsuite/27/istringstream_formatted.cc: Add tests.
6769 * bits/locfacets.h: Remove cruft from _Format_cache, continue
6770 commenting, simplify.
6771 * bits/locfacets.tcc: Same.
6773 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6774 * bits/locfacets.tcc (num_get::do_get):
6775 Fix the sscanf format parameter
6776 for long long 'll' (as in C9X) instead of 'l'.
6777 Fix the order of sscanf format parameters: "%dl" --> "%ld".
6778 Change the type of the local variable '__conv' from 'string'
6779 to 'const char*' and adapt the change.
6781 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6783 * bits/locfacets.h: Document _Format_cache, and name data members
6784 after the corresponding functions in numpunct. For instance:
6785 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
6786 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
6787 * bits/locfacets.tcc: Same.
6789 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
6790 stop parsing--store for later analysis.
6791 * testsuite/27/istringstream_formatted.cc: Add cases.
6793 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6795 * bits/valarray_meta.h: tweak.
6796 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
6797 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
6798 happy -- boggus warning.
6799 * bits/std_valarray.h: Fix.
6800 (valarray<T>::shift): Fix. Update comment.
6801 (valarray<T>::cshift): Fix.
6803 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
6805 * testsuite/27filebuf-2.txt: Delete.
6806 * testsuite/27/filebuf.cc: Put output files directly into the
6807 correct subdirectory (27).
6809 Alexandre Petit-Bianco <apbianco@cygnus.com>
6810 * testsuite/make_check_libfree++: Check generated (*.txt) file
6811 against stored results file (*.tst).
6813 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
6815 * bits/locfacets.tcc: Fix.
6817 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
6818 (filebuf::overflow): Simplify.
6819 (filebuf::xsputn): Correctly handle indeterminate state.
6821 * testsuite/27/istringstream_formatted.cc: Tweak.
6822 * testsuite/27/filebuf.cc: Tweak.
6823 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
6824 results file, please use this in the future to guarantee filebuf
6825 positioning accuracy.
6826 * testsuite/27/filebuf-2.tst: Same.
6828 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
6830 * bits/fstream.tcc (filebuf::xsputn): Add.
6831 * bits/std_fstream.h: Declare.
6833 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
6834 calls using ios_base::trunc.
6836 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
6838 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
6839 * testsuite/27/27stringstream.cc: Same.
6840 * testsuite/27/27stringbuf.cc: More tweaks.
6841 * testsuite/27/27filebuf-2.txt: Remove.
6843 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
6844 BUFSIZE so that overflows/underflow can be tested with default
6846 * testsuite/27/27filebuf-1.tst: Add.
6848 * testsuite/*/*: Remove pre-pended chapter names, as they
6849 duplicate the chapter info contained in the enclosing directory
6852 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
6854 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
6855 to sputc conditions.
6857 * bits/ios_base.h: Define here.
6858 * src/ios.cc (ios_base::_M_clear): Remove hack.
6859 * bits/basic_ios.h: Fix rdstate().
6861 * bits/sstream.tcc (streambuf::seekoff): Fix.
6862 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
6864 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
6865 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
6866 * testsuite/27/27stringstream.cc: Same.
6867 * testsuite/27/27stringbuf.cc: Same.
6868 * testsuite/27/27istringstream_formatted.cc: Same.
6869 * testsuite/27/27filebuf.cc: Same.
6871 * bits/locfacets.h: Remove specializations for messages<char> and
6872 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
6873 * src/locale.cc: Remove definitions for above.
6874 * src/misc-inst.cc: Revert, take out iomanip.h include.
6875 * bits/std_iomanip.h: Tweak, format.
6877 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
6879 * bits/loccore.h: Format, move inline.
6880 * bits/locfacets.tcc: Same.
6881 * bits/locfacets.h: Same.
6883 Ulrich Drepper <drepper@cygnus.com>
6884 * aclocal.m4: Re-generate.
6885 * configure, configure.in: Same.
6886 * m4/lc_messages.m4: New file.
6888 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
6890 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
6891 * bits/sstream.tcc: Tweak.
6893 * std/iostream: Put __ioinit inside macro guards.
6895 * src/stlinst.cc: Delete and move to . . .
6896 * src/stl-inst.cc: New file, plus wrapping in namespace std.
6897 * src/Makefile.in: Change.
6898 * src/Makefile.am: Same.
6899 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
6901 * testsuite/make_check_libfree++: Efficiently format for minimal
6902 space. Enforce stricter execution tests by enabling
6905 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
6907 * docs/text/RELEASE-NOTES: Fix include typo.
6909 * src/Makefile.am (headers): Add istream.tcc.
6910 * src/Makefile.in (headers): Add istream.tcc.
6912 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
6914 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
6916 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
6917 * bits/locfacets.h (num_get::_M_extract): New functin:
6918 consolidate logic for do_get(...) members.
6920 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
6921 * testsuite/27/27istringstream_formatted.cc: Add.
6923 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
6925 * src/basic_file.cc (__basic_file::open): Fix thinko in
6926 _G_HAVE_IO_FILE_OPEN bits.
6927 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
6928 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
6929 * src/complex.cc (FCT): Qualify all functions with global namespace.
6930 * src/locale.cc: Don't qualify memcpy and setlocale.
6931 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
6932 (__length_error): Likewise, for length_error.
6933 * src/stlinst.cc: Qualify instantiations with std::.
6935 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
6937 * C++STYLE: Add ChangeLog guidelines for member functions.
6940 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
6941 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
6942 docs/text and made less strident.
6944 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
6945 * bits/std_fstream.h: Same.
6948 * bits/locfacets.h: Touch.
6950 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6952 * math/cexp.c (cexp): Use NAN instead of nan("").
6953 Reported by joel reed <joelreed@yahoo.com>.
6955 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
6956 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
6957 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
6958 instead of #if cascades.
6959 * libio/genops.c: Likewise.
6960 * libio/ioseekoff.c: Likewise.
6961 * libio/ioseekpos.c: Likewise.
6962 * libio/strops.c: Likewise.
6963 Patch by Chip Salzenberg <chip@perlsupport.com>.
6965 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6967 * docs: New directory.
6968 * docs/html: Likewise.
6969 * docs/text: Likewise.
6970 * docs/image: Likewise.
6972 * bits/std_cmath.h: Add new functions.
6973 (abs): overload for long and double.
6974 (div): overload for long.
6976 * bits/valarray_array.h: Fix.
6977 * bits/gslice.h: Adjust friend.
6978 * bits/slice_array.h: likewise.
6979 * bits/valarray_meta.h: likewise.
6981 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6983 * bits/locfacets.h: More changes, for num_get for insertion
6984 operators for integral types. Comment fields in _Format_cache.
6985 * bits/locfacets.tcc: And here too: add preliminary long version.
6986 * testsuite/27/27istringstream_formatted.cc: Add cases.
6988 1999-04-13 Mark Elbrecht <snowball3@usa.net>
6990 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
6991 AC_LC_MESSAGES macro.
6992 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
6993 supports LC_MESSAGES.
6994 * config.h.in: Add entry for HAVE_LC_MESSAGES.
6995 * src/locale.cc (locale::_S_normalize_category): Use the
6996 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
6997 _G_NO_CLOCALE_HAS_MESSAGES.
6998 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
6999 '?:' from '?:\\' so any path beginning with a drive name matches.
7001 1999-04-12 Mark Elbrecht <snowball3@usa.net>
7003 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7005 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7007 * bits/locfacets.h: Tweak.
7008 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7010 * testsuite/21/21nonmember.cc: Same.
7011 * testsuite/21/21compare.cc: Fix license.
7012 * testsuite/27/27istringstream_formatted.cc: New file.
7014 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7016 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7017 _BinBase2: new template classes; put in there to work around a
7018 compiler limitation. The whole valarray architecture is now
7021 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7023 * bits/locfacets.tcc: Fix, format.
7024 * bits/locfacets.h: Fix.
7025 * src/locale.cc: Same, plus format.
7027 * bits/basic_string.h: Re-add definition here.
7028 * src/string.cc: Take out.
7030 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7032 * bits/std_valarray.h: tweak.
7033 * bits/valarray_array.h tweak. use _Expr.
7034 * bits/slice_array.h: likewise.
7035 * bits/gslice_array.h: likewise.
7036 * bits/mask_array.h: likewise.
7037 * bits/indirect_array.h: likewise.
7038 * bits/valarray_meta.h: tweak.
7039 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7040 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7041 _IClos: new template classes.
7042 _Meta: renamed to _Expr. Made template with args.
7043 _Constant: made template with two args.
7045 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7047 * bits/valarray_array.h: tweak.
7049 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7051 * bits/basic_string.h: Whoops--fix blip.
7053 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7055 Update to SGI STL 3.13
7056 * bits/basic_string.h: Add __get_c_string definition.
7057 * stl/bits/stl_range_errors.h: New file.
7058 * stl/bits/std_bvector.h: Same.
7059 * stl/bits/*: Update.
7061 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7063 * bits/slice_array.h: tweak.
7064 * bits/gslice_array.h: tweak.
7065 * bits/mask_array.h: tweak.
7066 * bits/indirect_array.h: tweak.
7067 * bits/valarray_array.h: tweak.
7068 (__valarray_copy): replace copy with memcpy.
7069 * bits/std_valarray.h: use __valarray_copy whenever possible.
7070 use __valarray_fill instead of fill.
7072 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7074 * src/gen-num-limits.cc: new file
7075 * mknumeric_limits: Ditto.
7077 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7079 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7081 * bits/locfacets.h: Add num_get::get methods overloaded for int
7082 and short, to resolve ambiguous overloads in istream insertion
7085 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7087 * bits/std_istream.h: Fix.
7088 * bits/istream.tcc: Fix.
7090 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7092 * testsuite/24/24iterator.cc: fix ++/-- tests
7094 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7096 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7097 * bits/ostream.tcc: Same.
7099 * bits/std_istream.h: Bring over ostream changes, implement member
7100 functions. Baseline.
7101 * bits/istream.tcc: New file.
7103 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7105 * bits/gslice.h (class gslice): fix friends template.
7107 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7109 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7111 * bits/ostream.tcc: Same.
7113 * bits/std_istream.h: Minor tweaks.
7115 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7117 * src/locale-inst.cc: Remove duplicate instantiations.
7118 * bits/locfacets.tcc: Tweak definitions of static member.
7120 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7122 * bits/std_fstream.h: Format: prepend "__" in front of
7123 non-standard typedefs.
7124 * bits/fstream.tcc: Match.
7125 * bits/std_streambuf.h: Format: prepend "__" in front of
7126 non-standard typedefs.
7128 * bits/sstream.tcc: Match.
7129 * bits/std_istream.h: Format.
7130 * src/locale-inst.cc: Add num_get instantiations.
7132 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7133 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7134 _M_streambuf instead. Make initializations sane. Fix
7135 allocation/deallocation of _M_streambuf.
7136 * bits/std_ostream.h: Fix initialization code.
7137 (ctor): Eliminate redundant this->init(), let base class initialize.
7138 (default ctor): New. Assume base classes already initialzed.
7139 * bits/std_istream.h: Parallel work to ostream.
7140 (ctor): Eliminate redundant this->init(), let base class initialize.
7141 (default ctor): New. Assume base classes already initialzed.
7142 Fix initialization of basic_iostream.
7144 * bits/std_fstream.h: While we're at it, make initializations sane
7145 here too. Now matches sstream.h.
7147 * bits/string.tcc: Fix crash in basic_string::compare.
7148 * bits/basic_string.h: And here.
7149 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7151 * testsuite/make_check_libfree++: Check shared as well.
7152 * testsuite/27/27stringstream.cc: Add bits.
7153 * testsuite/27/27boolfmt.cc: Add bits.
7154 * testsuite/27/27octfmt.cc: Add bits.
7156 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7158 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7160 * bits/locfacets.h: Fix errors that cause build problems
7161 with current egcs (template parameters have class scope).
7162 * bits/locfacets.tcc: Same.
7163 * src/locale-inst.cc: Same, clean.
7164 * src/misc-inst.cc: Same, clean.
7166 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7168 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7169 standard. Re-apply this previous patch.
7171 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7173 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7174 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7175 * bits/string.tcc: Ditto.
7176 * src/misc-inst.cc: Ditto.
7177 * src/locale-inst.cc: Ditto.
7178 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7179 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7180 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7183 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7185 * bits/locfacets.tcc: Remove macro hack.
7186 * bits/locfacets.h: Tweaks.
7187 * src/misc-inst.cc: Weed out locale-related instantiations.
7188 * src/locale-inst.cc: Same.
7190 * RELEASE-NOTES: Make more changes.
7191 * bits/c++config.h: Bump version number.
7193 * testsuite/make_check_libfree++: Collect diagnostics.
7195 * bits/std_ostream.h: Fix ostream initialization/destruction
7196 problem, related to dtor cleanup and new cached facets, agggggggh.
7197 * bits/ostream.tcc: Tweak.
7198 * bits/locfacets.h: Remove all friends of iostream classes.
7199 * bits/ios_base.h: Same.
7200 * bits/streambuf.tcc: Tweak.
7201 * bits/std_streambuf.h: Tweak.
7202 * bits/std_fstream.h: Tweak.
7203 * bits/fstream.tcc: Tweak.
7204 * src/stdstreams.cc: Tweak.
7205 * src/ios.cc: Close streams.
7207 * math/Makefile.in: Add missing files for shared link errors.
7208 * math/Makefile.am: Same.
7210 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7212 * src/locale-inst.cc: More wchar_t instantiations.
7213 * src/misc-inst.cc: Missed a few bits.
7214 * testsuite/make_check_libfree++: Add static and shared runs.
7215 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7217 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7219 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7220 facets. Resolve link errors.
7221 * bits/ostream.tcc: Same.
7222 * src/misc-inst.cc: Add ostream, wostream instantiations.
7223 * src/Makefile.am: Add missing bits for stdstreams.cc.
7224 * src/Makefile.in: Same.
7225 * bits/std_iosfwd.h: Format.
7226 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7227 num_put so that cached _M_fnumput pointer can be deleted in
7228 basic_ostream's dtor. Now everybody plays nice.
7230 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7232 * bits/gslice.h (class gslice): Make friends valarray,
7233 gslice_array and _GliceExpression.
7235 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7237 * RELEASE-NOTES: Update.
7238 * src/ios.cc: Use do proper init.
7239 * bits/std_streambuf.h: Tweak.
7240 * bits/std_iostream.h: Take out static member.
7241 * std/iostream: Put here.
7242 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7243 * bits/std_istream.h: Ditto.
7244 * bits/basic_ios.h: Format.
7245 * bits/ostream.tcc(write): Fix.
7246 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7247 initialization of the fstream class.
7248 * src/stdstreams.cc: I'm baaaaaaaack.
7250 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7252 * bits/ios_base.h: Correct comments. Add ios_base::init()
7253 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7254 * src/misc-inst.cc: Add instantiations here.
7255 * src/ios.cc: Clean.
7256 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7257 * src/stdstreams.cc: Delete this file, as now unnecessary.
7258 * bits/fstream.tcc: Add missing initialization bits for ctor.
7259 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7260 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7262 * bits/streambuf.tcc: Tweak.
7263 * bits/sstream.tcc: Here too.
7265 * bits/fstream.tcc: And change definition as well.
7266 * bits/std_fstream.h: Change ctor.
7267 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7268 * bits/basic_file.h: Add declarations.
7270 * testsuite/27/27hello.cc: New file.
7272 * bits/std_ostream.h: Move flush() inline.
7273 * bits/ostream.tcc: From here.
7275 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7276 * bits/std_ios.h: Change include libio to only when necessary.
7277 * bits/fpos.h: Like here.
7278 * ios_base.h: And here.
7280 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7281 * bits/locfacets.tcc: Same.
7282 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7283 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7285 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7287 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7289 * bits/std_streambuf.h: Clean, tweak.
7290 * bits/std_fstream.h: Same.
7291 * bits/std_sstream.h: Same.
7292 * bits/streambuf.tcc: Move most member functions out-of-line.
7293 * bits/fstream.tcc: Same.
7294 * bits/streambuf.tcc: Same.
7296 * bits/basic_file.h(filepos_cur): Set correctly.
7297 (filepos_beg): Same.
7298 (seekpos): Change to __c_streampos.
7299 * src/basic_file.cc (std): Change to __c_streampos.
7301 * testsuite/27/27filebuf.cc: Round one is finished.
7302 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7303 * testsuite/27/27filebuf-3.tst: Same.
7305 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7307 * bits/basic_file.h: Fix typo, add comments about what to expect
7308 from the various member functions in __basic_file.
7310 * bits/std_fstream.h: Re-do sync/underflow to work
7311 together. Change from sys_read to xsgetn and from sys_write to
7312 xsputn. As it should have been from the beginning. . .
7314 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7316 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7318 * bits/basic_file.h(file_beg): New function.
7321 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7322 * bits/std_fstream.h: More _M_mode refinements.
7323 (synch): Add bits for out mode only.
7324 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7325 * bits/std_sstream.h: Ditto.
7327 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7329 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7330 * testsuite/27/27filebuf.cc: Modify.
7331 * bits/c++config.h: Fix.
7333 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7335 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7336 code in place that diverges from the final standard, but has been
7337 brought up on the library mailing list.
7339 * bits/std_fstream.h(underflow): Position all three internal
7340 buffer pointers at the same initial position. Re-implement with
7341 basic_filebuf abstraction.
7345 * bits/std_sstream.h: Move _M_mode down into base class
7347 * bits/sstream.tcc: Ditto.
7348 * bits/std_streambuf.h: Ditto.
7350 * testsuite/27/27filebuf.cc: Tweak.
7352 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7354 * bits/std_sstream.h: Ditto.
7355 * bits/std_fstream.h: Fix blip.
7357 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7359 * C++STYLE: Add cases.
7360 * bits/std_fstream.h: Format.
7361 * bits/std_streambuf.h: Ditto.
7362 * bits/std_sstream.h: Ditto.
7364 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7365 return type for _IO_file_seek and __basic_file::seek the same size.
7366 * bits/basic_file.h: Ditto.
7368 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7370 * bits/fstream.tcc: Add include guards.
7371 * src/misc-inst.cc: Add instantiations for shared libes.
7372 * src/locale-inst.cc: Add instantiaions for use_facet.
7373 * bits/loccore.h: Remove specialization foward decls for
7374 use_facet<ctype>: perhaps add the whole lot of them later on.
7375 * bits/std_fstream.h: Fix.
7376 * bits/locfacets.h: Ditto.
7377 * src/stdstreams.cc: Disable wide streams for now.
7379 * src/Makefile.am (CXXFLAGS): Change up.
7380 * src/Makefile.in (CXXFLAGS): Ditto.
7382 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7384 * src/basic_file.cc: Change to ios_base::seekdir from int.
7385 * bits/basic_file.h: Ditto.
7386 * bits/locfacets.h : Fix blip with new guard macros.
7388 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7390 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7391 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7393 * amm1/locale: Remove unused defines.
7394 * generic/locale: Ditto.
7395 * src/ios.cc: Ditto.
7396 * src/locale.cc: Ditto.
7397 * src/locale-inst.cc: Ditto.
7398 * src/localename.cc: Ditto.
7399 * src/stdstreams.cc: And here.
7401 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7402 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7403 * bits/loccore.tcc: Ditto.
7404 * bits/locfacets.h: Ditto.
7405 * src/locale-inst.cc: Ditto.
7406 * bits/locfacets.tcc: Add do_put long long here.
7408 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7410 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7411 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7412 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7413 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7414 * bits/std_fstream.h: Tweak.
7416 * bits/char_traits.h: Remove fpos definitions from here. . .
7417 * bits/fpos.h: New file, put them here. Eventually, this may allow
7418 the severing of char_traits and fpos dependancies.
7419 * src/Makefile.in: Add fpos.h.
7420 * src/Makefile.am: Ditto.
7421 * bits/std_string.h: Add fpos.h include here.
7422 * bits/std_ios.h: And here.
7424 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7425 * bits/ios_base.h: Remove cstdio include.
7426 * bits/std_ios.h: ... Place here.
7428 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7430 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7431 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7433 * bits/basic_file.h: Comment, adjust arguments.
7434 * src/basic_file.cc: Ditto.
7436 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7437 type: check and convert accordingly. Re-interpet "resultant stream
7438 position" to indicate external byte sequence location, not internal
7441 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7443 * mkcshadow: And change copyright here.
7444 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7445 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7446 stl_thread.h, and stl_iterator_base.h.
7447 * src/Makefile.in (CXXFLAGS): Ditto.
7448 * stl/backward/pthread_alloc.h: Remove.
7450 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7452 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7454 * bits/std_fstream.h (pbackfail): Correct.
7456 (seekoff): Implement.
7458 * testsuite/27/27filebuf.cc: Add test cases.
7460 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7462 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7463 with the external buffers, and stop mucking around with setting
7464 and re-setting the external buf's pointers. Aka, clarity and
7465 simplicity rule the day.
7466 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7467 Remove partial result and support code.
7469 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7471 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7472 list of function which have to be replaced.
7473 Remove expf from list of functions to test for.
7474 Define USE_LONG_DOUBLE in case the libm has partial support for long
7476 * Makefile.in: Regenerated.
7477 * config.h.in: Likewise.
7478 * configure: Likewise.
7479 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7480 * libio/Makefile.in: Regenerated.
7481 * src/Makefile.in: Regenerated.
7482 * string/Makefile.in: Regenerated.
7483 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7484 atan2f.c, expf.c, and $(EXTRA_yes).
7485 (EXTRA_yes): Add signbitl.c mycabsl.c.
7486 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7487 (libmath_la_SOURCES): remove long double versions.
7488 * math/Makefile.in: Regnerated.
7489 * math/atan2f.c: New file.
7490 * math/copysignf.c: New file.
7491 * math/expf.c: New file.
7492 * math/hypot.c: New file.
7493 * math/hypotf.c: New file.
7494 * math/hypotl.c: New file.
7495 * math/cargf.c: Use correct function and macro names.
7496 * math/ccos.c: Likewise.
7497 * math/ccosh.c: Likewise.
7498 * math/ccoshf.c: Likewise.
7499 * math/ccoshl.c: Likewise.
7500 * math/cexp.c: Likewise.
7501 * math/cexpf.c: Likewise.
7502 * math/cexpl.c: Likewise.
7503 * math/clog.c: Likewise.
7504 * math/clog10.c: Likewise.
7505 * math/clog10f.c: Likewise.
7506 * math/clog10l.c: Likewise.
7507 * math/clogf.c: Likewise.
7508 * math/clogl.c: Likewise.
7509 * math/copysignf.c: Likewise.
7510 * math/csin.c: Likewise.
7511 * math/csinf.c: Likewise.
7512 * math/csinh.c: Likewise.
7513 * math/csinhf.c: Likewise.
7514 * math/csinhl.c: Likewise.
7515 * math/csinl.c: Likewise.
7516 * math/csqrt.c: Likewise.
7517 * math/csqrtf.c: Likewise.
7518 * math/csqrtl.c: Likewise.
7519 * math/ctan.c: Likewise.
7520 * math/ctanf.c: Likewise.
7521 * math/ctanh.c: Likewise.
7522 * math/ctanhf.c: Likewise.
7523 * math/ctanhl.c: Likewise.
7524 * math/ctanl.c: Likewise.
7526 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7528 * testsuite/27/27filebuf.cc: Add cases.
7529 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7530 * bits/std_streambuf.h: Simplify, always have one return statement.
7531 * bits/std_fstream.h: Tweak comments in underflow.
7533 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7535 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7536 * ltconfig: Likewise.
7538 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7540 * src/locale.cc: Fix assert.
7542 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7544 FIXME: Still need some kind of solution for undefined math symbols.
7545 * src/Makefile.in (locale-inst.lo): Compile with
7546 -fimplicit-templates to fix Solaris link problem.
7547 * src/Makefile.am: Ditto.
7548 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7549 * libio/Makefile.am: Ditto.
7550 * src/locale.cc: Provide some kind of def for _S_tolower.
7551 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7552 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7554 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7556 * bits/loccore.tcc: Move member-template ctor inline...
7557 * bits/loccore.h: ...here.
7558 * src/locale-inst.cc: Add instantiation here.
7560 * testsuite/27/27stringstream.cc: Tweak.
7562 * bits/ostream.tcc: Include sbuf_iter.h.
7564 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7565 passing to num_put, as num_put's first argument is an interator,
7568 * testsuite/make_check_libfree++: New file, runs through the
7569 existing test files in the testsuite directory and makes sure
7572 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7574 * testsuite/21/21compare.cc: Fix typo.
7575 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7576 Don't try to provide non-linux versions, since it's impossible to
7577 initialize their const references with the integer 0, no matter
7578 how we try to cast it.
7580 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7582 * bits/std_locale.h: Move std_vector.h dependency.
7583 * bits/std_ios.h: ...from here.
7584 * bits/std_string.h: ...and here.
7585 * src/locale.cc: ..to here.
7586 * bits/loccore.h: Ditto, add vector forward declaration,
7587 make locale::_Impl data members pointers not containers.
7588 * bits/loccore.tcc: Move out-of-line for now.
7589 * bits/locfacets.h: Move vector dependency from here...
7590 * bits/locfacets.tcc: ...to here.
7591 * src/localename.cc: ..and here.
7592 * src/locale-inst.cc: Add include of locfacets.tcc here.
7594 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7595 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7596 * bits/string.tcc: Tweak.
7597 * src/string.cc: And add __get_c_string def here.
7599 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7601 * src/stlinst.cc: Add include of stl_config.h.
7603 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7605 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7606 * stl/bits/stl_config.h: Tweak, update.
7607 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7609 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7610 * stl/bits/std_functional.h: Ditto.
7612 * stl/bits/stl_string.h: New file, SGI's string
7613 implementation. For reference only, corresponding to string in
7615 * stl/bits/stl_char_traits.h: As above.
7617 * stl/bits/pthread_allocimpl.h: New file corresponding to
7619 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7621 * stl/bits/stl_threads.h: New file.
7623 Note that SGI STL 3.12's file iterator.h is not used.
7624 * stl/bits/std_iterator.h: Ditto.
7625 * stl/bits/stl_iterator.h: Drop in replace.
7626 * stl/bits/stl_iterator_base.h: New file, drop in replace.
7628 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
7629 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
7630 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
7631 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
7632 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
7633 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
7634 preprocessor guards, but fixup include paths and names according
7635 to new directory layout).
7637 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
7639 * bits/std_fstream.h: Remove _M_open data member.
7640 * bits/fstream.tcc: Ditto.
7642 * src/locale.cc: Tweak.
7644 * bits/std_sstream.h: Simplify.
7646 * bits/std_streambuf.h: Simplify.
7647 (sputc): Use correct definition of "write area."
7649 * bits/std_fstream.h: Fix uflow.
7650 * src/basic_file.cc: Tweak.
7651 * testsuite/27/27filebuf.cc: Add tests.
7652 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
7654 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7656 * bits/ios_base.h: Make protected.
7658 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7660 * bits/ios_base.h: Changes in the class ios_base:
7661 Rename _M_exceptions member to _M_exceptions_data.
7662 Make the member functions rdstate(), clear(), exceptions()
7663 and exceptions(iostate) protected and add the "_M_" prefix.
7664 * src/ios.cc: Ditto.
7665 * bits/basic_ios.h: Adapt the changes from ios_base.
7667 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
7669 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
7670 * bits/fstream.tcc: Ditto.
7672 * bits/std_fstream.h (underflow): Resize deallocates memory and
7673 resets pointers in the internal cache according to new _M_buf. . dooh!
7674 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
7676 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7678 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7681 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
7683 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
7684 into account partial returns.
7685 (codecvt::do_out): Likewise.
7687 * bits/char_traits.h: Change streamsize to be a signed type, as
7688 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
7689 * bits/std_streambuf.h: Make
7690 in_avail() and showmanyc() have streamsize as return types, so
7691 that showmanyc()'s return of eof won't underflow in_avail's return
7692 value and give a bogus result.
7693 * src/misc-inst.cc: And more changes. . .
7695 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
7696 track of joint in/out pointers into the internal buffer.
7697 (sbumpc): Add check for _M_buf_unified.
7701 * testsuite/27/27filebuf.cc: Add cases.
7702 * testsuite/27/27stringbuf.cc: Add showmanyc case.
7704 * bits/std_fstream.h (close): Fix logic error.
7705 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
7706 (showmanyc): Add underflow component, to match the standard.
7708 * bits/fstream.tcc: Ditto.
7710 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7712 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
7713 * src/basic_file.cc: Ditto.
7714 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
7715 format for dealing with _IO_file in libio.
7717 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
7719 * src/basic_file.cc: Include fcntl.h.
7721 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7723 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
7725 * bits/std_streambuf.h: Redefine read posion.
7727 * bits/std_fstream.h: Temporary hack to get vtables working again.
7728 * bits/basic_file.h: Revert.
7729 * src/basic_file.cc: Ditto.
7730 * testsuite/27/27filebuf.cc: Tweak.
7732 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
7734 * bits/basic_file.h: Add showmanyc, underflow. .
7735 * src/basic_file.cc: Ditto.
7737 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
7740 * testsuite/27/27filebuf.cc: Add testcases.
7741 * src/basic_file.cc: Add O_CREAT to open calls with
7742 ios_base::trunc as part of the open mode.
7744 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7746 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
7748 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
7750 * src/ios.cc (clear): Correct typo.
7751 * bits/ios_base.h: Tweak spacing.
7753 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7755 * bits/basic_ios.h: fix basic_ios::fail()
7757 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
7759 * bits/basic_file.h: Include libioP.h from libio instead of here.
7760 * bits/iolibio.h: Remove.
7761 * bits/libio.h: Remove.
7763 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7765 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
7767 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
7769 * Makefile.am (SUBDIRS): Add libio.
7770 * configure.in: Add rule to test for glibc2.
7772 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
7773 (libstdc___la_LIBADD): Add libio.la.
7775 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
7777 * bits/basic_file.h: Make new abstraction for underlying C library
7778 FILE, named __basic_file.
7779 * src/basic_file.cc: New file.
7780 * bits/os_raw.h: Delete.
7781 * src/os_raw.cc: Delete.
7782 * src/Makefile.in: Tweak.
7783 * src/Makefile.am: Tweak.
7784 * bits/iolibio.h: Add this here, for the time being.
7785 * bits/libioP.h: Ditto.
7787 * bits/ios_base.h: Delete unused defines.
7788 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
7789 strcpy to copy between the two buffers.
7791 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
7792 * testsuite/27/27filebuf.cc: New file.
7793 * testsuite/27/27filebuf-1.txt: Data file for above test.
7794 * testsuite/27/27filebuf-2.txt: Ditto.
7796 * bits/std_streambuf.h (uflow): Re-implement default.
7797 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
7798 Re-implement virtual functions.
7799 * bits/fstream.tcc: Delete unused mf's.
7801 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7803 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
7804 * bits/std_fstream.h: Ditto.
7805 * src/stdstreams.cc: Ditto.
7807 * math/cpowl.c: Fix header typo with last change.
7809 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
7811 * COPYING: New file (GPL v 2).
7812 * LICENSE.STD: Remove.
7813 * ./*: Change license.
7815 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
7817 * bits/std_streambuf.h (std): Remove static on _M_init.
7818 * bits/streambuf.tcc (std): Ditto.
7820 * bits/std_fstream.h: Add changes as discussed with Nathan, including
7821 state_type and codecvt_type members, the allocation of an internal
7822 buffer, the streamlined codecvt calls, etc.
7824 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
7826 * bits/std_sstream.h: Tweak.
7827 * bits/fstream.tcc: Remove unused stubs.
7828 * bits/std_fstream.h: Tweak.
7830 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7832 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
7833 Remove unused _IO_* members, possibly put into filebuf, which may
7835 * bits/std_fstream.h: Add _M_flag.
7836 * bits/sbuf_iter.h: Tweak.
7838 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
7839 * bits/ios_base.h: Use.
7841 * src/stdstreams.cc: Modify to reflect standard ctors for
7843 * src/misc-inst.cc: Ditto.
7845 * bits/os_raw.h: Wrap in std namespace. Model parameters on
7846 underlying C library calls instead of the underlying unix
7848 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
7849 string as per p.659.
7850 (_S_os_close): Model on fopen.
7851 (_S_os_read): Model on fread.
7852 (_S_os_write): Model on fwrite.
7853 (_S_os_seek): Model on fseek.
7855 * bits/ios_base.h: Tweak.
7856 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
7857 * bits/std_sstream.h: Tweak.
7858 * bits/sstream.tcc: Remove old, uncalled code.
7859 * bits/std_fstream.h: Major reconstruction.
7860 * bits/fstream.tcc: Disable for the time being.
7862 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
7864 * bits/basic_string.h: Fix insert method.
7865 * stl/bits/stl_iterator.h: Remove previous hack.
7866 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
7867 * bits/std_sstream.h: Fix more regressions.
7868 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
7870 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
7872 * bits/basic_string.h: Tweak.
7874 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
7875 that string::append can be instantiated. HACK--checkin
7876 basic_string::iterator class.
7878 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
7880 * bits/std_sstream.h: Tweak.
7881 * bits/sstream.tcc: Tweak ctors.
7883 FIXME invalid friend defs. . WHERE ARE THEY??
7885 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
7886 names for basic_streambuf data members.
7888 * bits/std_streambuf.h: Add getloc() initialization bits.
7889 basic_streambuf(): Initialize with global locale data.
7890 imbue(): Set _M_init.
7892 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
7893 stream pos == pos_type(off_type(-1)).
7894 in_avail(): Complete default implementation.
7895 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
7896 underflow, uflow, xsgetn, showmany, sync: Ditto.
7898 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
7900 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
7901 re-populate with in-line member functions that are too big. Add
7902 initialization for _M_init.
7904 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
7906 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
7907 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
7910 * src/stdstreams.cc (std): Disable wchar_t instantiations.
7912 * bits/c++config.h (_G_DEPRICATED): Add.
7913 (_G_USE_WCHAR_T): Add.
7914 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
7915 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
7916 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
7917 * bits/std_fstream.h: Add comment for implementation.
7918 * src/streambuf.cc: Remove.
7919 * src/Makefile.in: Remove streambuf.lo.
7920 * src/misc-inst.cc: Tweak.
7922 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
7924 * bits/std_sstream.h: Add const_cast to rdbuf returns.
7925 * testsuite/27stringstream.C: Modify.
7927 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
7929 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
7930 (libstdc___la_SOURCES): Ditto.
7932 * bits/streambuf.tcc: Tweak.
7934 * src/streambuf.cc: New file, add out-of-line definitions for
7937 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
7938 Comment out wchar_t versions of the buffer instantiations, for now.
7940 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
7941 Remove template wrapper around _Streambuf_base.
7942 Move IO_* data members into _Streambuf_base.
7943 Move _Streambuf_base members into streambuf.tcc.
7945 * bits/c++config.h (_G_USE_LIBIO): Enable.
7947 1998-11-02 Nathan Myers <ncm@cantrip.org>
7949 * CHECKLIST: downgrade iterator implementations
7950 * DESIGN: fill out notes about unimplemented features
7952 1998-10-31 Nathan Myers <ncm@cantrip.org>
7954 * CHECKLIST: itemized list of all interfaces, and status of each.
7956 1998-10-30 Nathan Myers <ncm@cantrip.org>
7958 * RELEASE-NOTES: add notes about optional includes, linking, running
7959 * src/Makefile.am: handle header installs properly
7960 * src/Makefile.in: regenerate from new src/Makefile.am
7962 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
7964 * bits/basic_string.h: Revert npos pending ciso646.
7965 * src/Makefile.am: Revert CXX flags for now.
7966 * src/Makefile.in: Ditto.
7968 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
7970 * bits/std_sstream.h: Re-order ctors to put base before member
7973 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7975 * stl/bits/std_memory.h: Fix typo.
7977 1998-10-30 Nathan Myers <ncm@cantrip.org>
7979 * src/string[A-Z]+.cc: change back to include "string.cc".
7980 * src/Makefile.am: revert filename changes. We need a different
7981 way to keep filenames in std/ from confusing Make.
7982 * bits/basic_string.h: define _S_max_size right, return it from
7983 string::max_size(); churn definition of npos again.
7984 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
7985 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
7986 * BUGS: clear cruft.
7987 * C++STYLE: Touchup for release.
7988 * CHECKLIST: Touchup for release.
7990 * LICENSE.STD: Add requirement to retain copyrights and to provide
7991 the license with any copies.
7992 * README: Update for release.
7993 * TODO: Minor touchup for release.
7994 * RELEASE-NOTES: prepare for release
7996 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
7998 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8000 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8002 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8003 CXX to generate the shared object.
8005 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8007 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8009 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8010 2, from npos, solving infinite loop problems.
8012 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8014 * src/Makefile.am: Add rules to install headers.
8016 1998-10-29 Nathan Myers <ncm@cantrip.org>
8018 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8019 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8022 * shadow/bits/wrap_libio.h:
8023 * shadow/bits/wrap_unistd.h: New files.
8025 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
8027 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8028 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8030 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
8032 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8033 is not compiled with -fno-implicit-templates in effect.
8035 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8036 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8037 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8039 * src/stringADDPS.cc: Likewise.
8040 * src/stringADDSC.cc: Likewise.
8041 * src/stringADDSP.cc: Likewise.
8042 * src/stringADDSS.cc: Likewise.
8043 * src/stringBIST.cc: Likewise.
8044 * src/stringBOST.cc: Likewise.
8045 * src/stringCHTR.cc: Likewise.
8046 * src/stringEQPS.cc: Likewise.
8047 * src/stringEQSP.cc: Likewise.
8048 * src/stringEQSS.cc: Likewise.
8049 * src/stringEXTRA.cc: Likewise.
8050 * src/stringGEPS.cc: Likewise.
8051 * src/stringGESP.cc: Likewise.
8052 * src/stringGESS.cc: Likewise.
8053 * src/stringGETLI.cc: Likewise.
8054 * src/stringGTPS.cc: Likewise.
8055 * src/stringGTSP.cc: Likewise.
8056 * src/stringGTSS.cc: Likewise.
8057 * src/stringINSER.cc: Likewise.
8058 * src/stringLEPS.cc: Likewise.
8059 * src/stringLESP.cc: Likewise.
8060 * src/stringLESS.cc: Likewise.
8061 * src/stringLTPS.cc: Likewise.
8062 * src/stringLTSP.cc: Likewise.
8063 * src/stringLTSS.cc: Likewise.
8064 * src/stringMAIN.cc: Likewise.
8065 * src/stringNEPS.cc: Likewise.
8066 * src/stringNESP.cc: Likewise.
8067 * src/stringNESS.cc: Likewise.
8068 * src/stringSCOPY.cc: Likewise.
8069 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8071 * src/wstringADDPS.cc: Likewise.
8072 * src/wstringADDSC.cc: Likewise.
8073 * src/wstringADDSP.cc: Likewise.
8074 * src/wstringADDSS.cc: Likewise.
8075 * src/wstringBIST.cc: Likewise.
8076 * src/wstringBOST.cc: Likewise.
8077 * src/wstringCHTR.cc: Likewise.
8078 * src/wstringEQPS.cc: Likewise.
8079 * src/wstringEQSP.cc: Likewise.
8080 * src/wstringEQSS.cc: Likewise.
8081 * src/wstringEXTRA.cc: Likewise.
8082 * src/wstringGEPS.cc: Likewise.
8083 * src/wstringGESP.cc: Likewise.
8084 * src/wstringGESS.cc: Likewise.
8085 * src/wstringGETLI.cc: Likewise.
8086 * src/wstringGTPS.cc: Likewise.
8087 * src/wstringGTSP.cc: Likewise.
8088 * src/wstringGTSS.cc: Likewise.
8089 * src/wstringINSER.cc: Likewise.
8090 * src/wstringLEPS.cc: Likewise.
8091 * src/wstringLESP.cc: Likewise.
8092 * src/wstringLESS.cc: Likewise.
8093 * src/wstringLTPS.cc: Likewise.
8094 * src/wstringLTSP.cc: Likewise.
8095 * src/wstringLTSS.cc: Likewise.
8096 * src/wstringMAIN.cc: Likewise.
8097 * src/wstringNEPS.cc: Likewise.
8098 * src/wstringNESP.cc: Likewise.
8099 * src/wstringNESS.cc: Likewise.
8100 * src/wstringSCOPY.cc: Likewise.
8101 * src/string.cc: Remove now unneeded #defines now.
8103 1998-10-29 Nathan Myers <ncm@cantrip.org>
8105 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8107 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8108 add definitions for double, long double, const void*.
8109 * bits/std_ostream.h: Move op<<'s back into class ostream,
8110 define some in-line.
8111 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8112 string construction from input iterators that Brendan reported.
8115 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
8117 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8119 * bits/valarray_meta.h (class _Constant): Move declaration to the
8120 top, so the rest of the file can grok it.
8121 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8123 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8125 (basic_stringstream::str, both instances): Likewise.
8127 1998-10-28 Nathan Myers <ncm@cantrip.org>
8129 * bits/locfacets.h: fix num_put<>::falsename()
8130 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8131 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8132 * bits/locfacets.tcc: touch up _S_group_digits.
8133 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8135 1998-10-27 Nathan Myers <ncm@cantrip.org>
8137 * stl/bits/stl_config.h: Turn off long long support, for now.
8138 * src/locale-inst.cc: Instantiate num_put<> only for
8139 ostreambuf_iterator, num_get only for istreambuf_iterator.
8140 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8141 add lots of new instantiations for num_put support function templates;
8142 remove junk about __match_parallel for ostreambuf_iterator.
8144 1998-10-27 Nathan Myers <ncm@cantrip.org>
8146 * bits/locfacets.tcc: Make num_put's digit grouping work.
8147 * bits/string.tcc: More uglification.
8148 * src/ios.cc: initialize format cache right
8150 1998-10-26 Nathan Myers <ncm@cantrip.org>
8152 * bits/basic_string.h: Uglify more names.
8153 * bits/fstream.tcc: Rewrite some filebut output handling.
8154 * bits/ios_base.h: Cosmetic.
8155 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8156 Also, specialize its default ctor for optimal default case.
8157 #ifdef out "long long" prototypes for now.
8158 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8159 implementation for integer types. (Still needs optimized
8160 std::copy() applied to ostreambuf_iterator to be optimal.)
8161 * bits/ostream.tcc: Write operator<< for long, bool types.
8162 Make other operators<< non-members, per spec. (Many still
8163 not implemented.) Identify those that fail to create a sentry.
8164 * bits/sbuf_iter: Cosmetic.
8165 * bits/std_fstream.h: Add some filebuf members.
8166 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8167 * bits/std_ostream.h: Make member operators<< global, per spec.
8168 (Should do the same in std_istream.h.)
8169 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8170 * bits/string.tcc: Uglify names
8171 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8172 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8173 for optimal default behavior.
8175 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8177 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8179 1998-10-21 Nathan Myers <ncm@cantrip.org>
8181 * src/locale.cc: make ctype operations actually work for glibc
8182 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8183 checklist of stdlib facilities. Not filled in yet.
8185 1998-10-20 Nathan Myers <ncm@cantrip.org>
8187 * bits/string.tcc: fix patching NULs on string ends.
8189 1998-10-19 Nathan Myers <ncm@cantrip.org>
8191 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8192 iterator forward declarations
8193 * bits/sbuf_iter.h: eliminate default template argument definitions
8194 on streambuf iterators (rely on <iosfwd> decls).
8195 * TODO: add note about lazy facet construction
8196 * bits/basic_ios.h: hit operator void* again. This should be the
8197 last time we need to touch it.
8198 * bits/basic_ios.h: copyfmt now returns *this.
8199 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8200 * bits/basic_string.h: put back overloaded constructors; adjust
8201 behavior for default allocator on copy constructor.
8202 * bits/char_traits.h: make not_eof return correct type.
8203 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8204 cannot be in non-standard headers or we get include loops (bad)
8205 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8206 * bits/loccore.h: add apparatus to support lazy construction of
8208 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8209 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8210 locale use_facet<> failure.
8211 * bits/std_locale.h: same.
8212 * bits/std_string.h: same.
8213 * bits/std_stdexcept.h: change exception member __msg from a
8214 reference to a regular object.
8215 * bits/string.tcc: add pasting a NUL on the end of strings after
8216 each operation. We had already left room for it, but previously
8217 plugged it only on a call to c_str(), but the WG changed the
8218 requirement when I wasn't looking. (Can't leave them alone for
8219 a second without they break something else.)
8220 * bits/valarray_meta.h: add Gaby's changes from 981018.
8221 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8222 failure of use_facet<>().
8223 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8224 comment out leftover member definitions
8226 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
8228 * string/Makefile.am: Revert last change.
8229 * math/Makefile.am: Likewise.
8231 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8233 * bits/std_sstream.h: Fix typo.
8235 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8237 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8239 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8240 * bits/std_stdexcept.h: Remove.
8242 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8244 * src/misc-inst.cc: Tweak again.
8246 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8247 * bits/sstream.tcc: New file.
8249 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8251 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8252 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8255 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8257 (INFINITE_P): Use IS_INF macro if available.
8259 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8261 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8263 * string/Makefile.am: Likewise.
8265 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
8267 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8269 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8270 endianess is available run AC_C_BIGENDIAN.
8272 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8273 fixincludes is fixed.
8274 * math/clogl.c: Likewise.
8275 * math/csqrtl.c: Likewise.
8276 * math/mycabsl.c: Likewise.
8278 * math/mathconf.h: Include machine/endian.h if possible. If no
8279 header describing endianess is available rely on WORDS_BIGENDIAN
8281 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8282 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8285 * src/complex.cc (polar): Don't use sincos on OSF machines.
8287 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8289 * src/locale-inst.cc: Don't instantiate time_get for
8290 ostreambuf_iterators as time_get::do_get_weekday and
8291 time_get::do_get_monthname use __match_parallel, which is illegal
8292 for ostreambuf_iterators to use, as they don't have operator== or
8294 * bits/std_stdexcept.h: Add dtor definitions.
8295 Use stl/bits/std_stdexcept.h instead of this file?
8296 * bits/sbuf_iter.h : Tweak.
8297 * src/misc-inst.cc: Tweak.
8299 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8301 * bits/std_stdexcept.h: New file.
8302 * src/stdexcept.cc: Define the following:
8304 runtime_error::what()
8306 * src/misc-inst.cc: New file.
8307 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8308 (libstdc___la_OBJECTS): Add misc-inst.lo.
8310 * bits/basic_string.h: Disable non-standard ctor declarations.
8311 * bits/string.tcc: Disable definitions as well.
8312 * src/string.cc: Disable <ios> dependancies.
8313 * bits/sbuf_iter.h (std): Add default to template parameter for
8314 ostreambuf_iterator and istreambuf_iterator.
8315 * bits/std_iosfwd.h: Change istreambuf_iterator to
8316 basic_istreambuf_iterator. Likewise for ostreambuf.
8317 * bits/locfacets.tcc (__match_parallel): Fix typo.
8318 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8320 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8321 * bits/std_istream.h: Define the following:
8322 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8323 get (char_type* __s, streamsize __n, char_type __delim);
8324 getline (char_type* __s, streamsize __n, char_type __delim)
8325 * bits/loccore.h : FIXME friend template code for use_facet.
8326 Add std_stdexcept.h include so that range_error will be defined.
8327 Add explicit conversion to string for range_error throws. (HACK?)
8329 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8331 * configure.in: Check for sincos, sincosf, and sincosl.
8332 * src/complex.cc (polar): Use sincos if available.
8334 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8335 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8337 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8339 * math/cpow.c: Use c_log, not clog.
8340 * math/cpowf.c: Likewise.
8341 * math/cpowl.c: Likewise.
8343 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8346 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8347 isfinite macro if it is available.
8348 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8350 * math/ccosf.c: Use appropriate test macros for this type.
8351 * math/ccoshf.c: Likewise.
8352 * math/ccoshl.c: Likewise.
8353 * math/ccosl.c: Likewise.
8354 * math/cexpf.c: Likewise.
8355 * math/cexpl.c: Likewise.
8356 * math/clog10f.c: Likewise.
8357 * math/clog10l.c: Likewise.
8358 * math/clogf.c: Likewise.
8359 * math/clogl.c: Likewise.
8360 * math/csinf.c: Likewise.
8361 * math/csinhf.c: Likewise.
8362 * math/csinhl.c: Likewise.
8363 * math/csinl.c: Likewise.
8364 * math/csqrtf.c: Likewise.
8365 * math/csqrtl.c: Likewise.
8366 * math/ctanf.c: Likewise.
8367 * math/ctanhf.c: Likewise.
8368 * math/ctanhl.c: Likewise.
8369 * math/ctanl.c: Likewise.
8371 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8373 * bits/basic_ios.h: Fix previous change.
8375 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8377 * bits/basic_ios.h: Add const_cast<basic_ios&>
8378 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8380 * bits/char_traits.h: No _CharT for specialization, change to 0.
8381 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8382 constant-initializer.
8383 * bits/locfacets.tcc: Add template parameter to initialization list.
8385 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8387 * bits/basic_string.h: Should just be <, not <=.
8389 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8391 * bits/string.tcc (compare): Fix for strings that are similar, but
8392 not the same length.
8394 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
8396 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8397 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8398 We can't check for __GLIBC__ here, since this header can be read
8399 before any system one (that would lead to features.h) being used.
8401 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8403 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8404 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8406 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8407 LONGLONG_{MIN,MAX} which I can't find the origin of.
8409 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8411 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8412 should this come from, if not iostream.h?
8413 (class istream_iterator): Make the new operator!= a friend also.
8415 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8416 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8417 _G_config.h like the egcs one does.
8419 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8421 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8423 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8424 _Expr1 (or _Expr_def if it's taken), and change definitions.
8425 Avoids redecl of the template parm.
8427 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8428 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8430 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8433 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8434 be a better way to do this.
8436 * src/stlinst.cc: New file.
8438 * BUGS: New file, with various discovered bugs that need to be
8441 * Makefile.in, math/Makefile.in, string/Makefile.in,
8442 src/Makefile.in: Reran automake.
8444 Workarounds, these may not all be the final fixes:
8446 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8447 not private, for basic_istream::get() in std_istream.h to be able
8449 (basic_ios::operator void*): Don't use static_cast for the false
8451 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8452 This appears to have been in sep94, but didn't get corrected
8455 * bits/basic_string.h (npos): Don't init here.
8456 * bits/string.tcc: Instead, do initialization here, to -1 instead
8457 of the size_type destructor.
8459 * src/traits.cc, src/wtraits.cc: New files.
8460 * bits/char_traits.h: For char_traits<char> and
8461 char_traits<wchar_t>, declare static, but define over in the src
8464 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8465 gslice_array, and _GsliceExpression.
8467 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8468 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8469 stdout, and stderr. Note we do get unresolved refs to stdin, but
8470 that'll get fixed by the "true" solution.
8472 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8473 definition of basic_streambuf.h, which is used in basic_ios.h to
8476 * bits/std_streambuf.h: Don't include libio.h for now.
8477 (class basic_streambuf): Define missing methods pubimbue and
8480 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8481 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8482 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8484 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8486 * src/locale.cc: Come up with munged versions of _S_toupper,
8487 _S_tolower, and _S_table instead of the glibc-specific ones, so
8488 they're at least defined, if not necessarily usable. The glibc
8489 ones on any other system will yield unresolved refs to
8490 __ctype_{b,toupper,tolower}.
8492 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8493 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8494 anymore cuz of the explicit specialization in char_traits.h.
8495 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8496 file for the details.
8498 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8499 * stl/bits/stl_iterator.h (__distance): Likewise.
8501 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8502 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8505 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8507 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8510 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8512 This should really be fixed with __asm__ directives renaming the
8513 symbol, but keeping the function.
8514 * math/clogf.c (c_logf): Renamed from `clogf'.
8515 * math/clogl.c (c_logl): Renamed from `clogl'.
8516 * math/complex-stub.h (c_logf, c_logl): Change decls.
8518 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8519 _CharT and _InIter parms, since they duplicate the enclosing ones.
8521 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8523 Deal with conflict of the iostreams `clog' and our internal
8524 complex number `clog'.
8525 * src/complex.cc: Call `c_log' instead of `clog'.
8526 * math/clog.c (c_log):: Renamed from clog.
8527 * math/complex-stub.h (c_log): Renamed from clog decl.
8529 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8531 (num_put::put): #if 0 long long version, since we don't declare or
8532 define the long long version of do_put.
8534 1998-08-18 Nathan Myers <ncm@cantrip.org>
8536 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8537 type of get_allocator (thanks to Ryszard Kabatek).
8538 * bits/char_traits.h: make init order of fpos<> members
8540 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8541 flags _S_fd_in etc. for special filebuf ctor.
8542 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8543 to work around problems in friend declarations.
8544 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8545 fix random type errors & typos
8546 * bits/std_fstream.h: major refitting to bypass libio (for now),
8547 instrument to use bits/fstream.tcc template definitions
8548 * bits/std_iosfwd.h: mess with wrappers
8549 * bits/std_istream.h: remove meaningless comment
8550 * bits/std_ostream.h: instrument to work with ostream.tcc.
8551 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8552 * bits/fstream.tcc: template defs for <fstream>
8553 * bits/ostream.tcc: template defs for <ostream>
8554 * bits/streambuf.tcc: template defs for <streambuf>
8555 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8556 * Delete .cc files, replace with bits/*.tcc
8562 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8563 src/stdstreams.cc: cout, cin, etc. definitions
8564 (these still need work: must be init'd before user statics.)
8567 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8569 Sent to SGI before checkin:
8570 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8571 operator>=): Define.
8572 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8573 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8574 operator>=): Define.
8575 (operator==, operator<): Add inline.
8576 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8577 operator>=): Define.
8578 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8579 operator>=): Define.
8580 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8581 operator>=): Define.
8582 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8583 operator>=): Define.
8584 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8585 operator>=): Define.
8587 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8590 1998-08-15 Nathan Myers <ncm@cantrip.org>
8592 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8593 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8594 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8595 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8596 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8597 * bits/std_sstream.h: formatting cleanups
8599 1998-08-14 Nathan Myers <ncm@cantrip.org>
8601 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8602 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8603 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8604 * bits/locfacets.h: fix missing argument in do_get_monthname
8605 (this is a bug in the standard, ref. 36 in my list.)
8606 * bits/locfacets.h: make month and day name caches mutable
8607 * bits/locfacets.tcc: various typos in get() functions
8608 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8609 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8611 1998-08-12 Nathan Myers <ncm@cantrip.org>
8612 * move streambuf iterators to bits/sbuf_iter.h
8613 * optimize streambuf iterators
8614 * begin generalizing streambuf
8615 * begin implementing num_get<>::get (starting with bool)
8616 * patch stl/bits/stl_config.h so that relops operators are
8617 contained properly, out of the way.
8619 1998-07-24 Nathan Myers <ncm@cantrip.org>
8620 * Fold in SGI 3.11 changes (uglified names, some algorithm
8621 improvements, very minor bug fixes.)
8622 * Uglify names elsewhere to match (s/_T/_Tp/).
8623 * Begin work on optimized streambuf
8624 * Put complex.cc in namespace std:: (thanks Martin)
8626 1998-07-17 Nathan Myers <ncm@cantrip.org>
8628 * bits/char_traits.h: add _Char_traits_match template.
8629 * bits/string.tcc: fix bugs in various find_last* members.
8630 * bits/basic_string.h: redeclare member _S_find.
8631 * stl/bits/stl_iterator.h: change member names in nonstandard
8632 templates bidirectional_reverse_iterator and
8633 random_access_reverse_iterator to match expected changes
8635 * src/string.cc: fix definitions of stream operators.
8637 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
8639 * Makefile.am (SUBDIRS): Add string.
8641 * configure.in: Test for long double functions separately. Test for
8642 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
8643 Generate string/Makefile.
8645 * bits/c++config.h: Define mbstate_t for Solaris.
8647 * bits/char_traits.h: Remove unused #if.
8649 * bits/std_cwchar.h: Declare wide char string functions.
8651 * m4/stringfcts.m4: New file.
8653 * math/complex-stub.h: Declare nan.
8654 * math/nan.c: New file.
8656 * math/mathconf.h: Hack around missing endian.h file.
8657 Handle missing NAN definition.
8658 Handle missing float math functions.
8660 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
8661 (libstdc___la_LDFLAGS): Set version information.
8663 * src/complexl.cc: Don't compile any code if no long double functions
8666 * string/Makefile.am: New file.
8667 * string/dummy.c: New file.
8668 * string/wmemchr.c: New file.
8669 * string/wmemcmp.c: New file.
8670 * string/wmemcpy.c: New file.
8671 * string/wmemmove.c: New file.
8672 * string/wmemset.c: New file.
8674 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
8676 * configure.in: Make it work.
8677 * install-sh: New file.
8678 * missing: New file.
8679 * mkinstalldirs: New file.
8680 * m4/mathfcts.m4: New file.
8681 * math/Makefile.am: New file.
8683 * bits/std_complex.h (conj): Mark specializations as inline.
8685 * math/carg.c: New file.
8686 * math/cargf.c: New file.
8687 * math/cargl.c: New file.
8688 * math/mycabs.c: New file.
8689 * math/mycabsf.c: New file.
8690 * math/mycabsl.c: New file.
8691 * math/signbit.c: New file.
8692 * math/signbitf.c: New file.
8693 * math/signbitl.c: New file.
8695 * math/ccos.c: Avoid ISO C 9x functionality.
8696 * math/ccosf.c: Likewise.
8697 * math/ccosh.c: Likewise.
8698 * math/ccoshf.c: Likewise.
8699 * math/ccoshl.c: Likewise.
8700 * math/ccosl.c: Likewise.
8701 * math/cexp.c: Likewise.
8702 * math/cexpf.c: Likewise.
8703 * math/cexpl.c: Likewise.
8704 * math/clog.c: Likewise.
8705 * math/clog10.c: Likewise.
8706 * math/clog10f.c: Likewise.
8707 * math/clog10l.c: Likewise.
8708 * math/clogf.c: Likewise.
8709 * math/clogl.c: Likewise.
8710 * math/cpow.c: Likewise.
8711 * math/cpowf.c: Likewise.
8712 * math/cpowl.c: Likewise.
8713 * math/csin.c: Likewise.
8714 * math/csinf.c: Likewise.
8715 * math/csinh.c: Likewise.
8716 * math/csinhf.c: Likewise.
8717 * math/csinhl.c: Likewise.
8718 * math/csinl.c: Likewise.
8719 * math/csqrt.c: Likewise.
8720 * math/csqrtf.c: Likewise.
8721 * math/csqrtl.c: Likewise.
8722 * math/ctan.c: Likewise.
8723 * math/ctanf.c: Likewise.
8724 * math/ctanh.c: Likewise.
8725 * math/ctanhf.c: Likewise.
8726 * math/ctanhl.c: Likewise.
8727 * math/ctanl.c: Likewise.
8729 * math/complex-stub.h: New file.
8731 * math/mathconf.h: New file.
8733 * src/Makefile.am: New file.
8735 * src/complex.cc: Use mathconf.h instead of complex.h.
8736 Don't use cabs, always use __mycabs.
8738 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
8740 * iterator (class reverse_iterator): Do some tweaks to be in sync